2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.52.
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.52'
584 PACKAGE_STRING
='Wine 1.7.52'
585 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
586 PACKAGE_URL
='http://www.winehq.org'
588 ac_unique_file
="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default
="\
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
602 # ifdef HAVE_STDLIB_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
625 ac_subst_vars
='LTLIBOBJS
698 APPLICATIONSERVICES_LIBS
785 program_transform_name
798 enable_option_checking
802 enable_maintainer_mode
859 enable_api_ms_win_core_com_l1_1_0
860 enable_api_ms_win_core_console_l1_1_0
861 enable_api_ms_win_core_datetime_l1_1_0
862 enable_api_ms_win_core_datetime_l1_1_1
863 enable_api_ms_win_core_debug_l1_1_0
864 enable_api_ms_win_core_debug_l1_1_1
865 enable_api_ms_win_core_errorhandling_l1_1_0
866 enable_api_ms_win_core_errorhandling_l1_1_1
867 enable_api_ms_win_core_errorhandling_l1_1_2
868 enable_api_ms_win_core_fibers_l1_1_0
869 enable_api_ms_win_core_fibers_l1_1_1
870 enable_api_ms_win_core_file_l1_1_0
871 enable_api_ms_win_core_file_l1_2_0
872 enable_api_ms_win_core_file_l2_1_0
873 enable_api_ms_win_core_file_l2_1_1
874 enable_api_ms_win_core_handle_l1_1_0
875 enable_api_ms_win_core_heap_l1_1_0
876 enable_api_ms_win_core_heap_l1_2_0
877 enable_api_ms_win_core_heap_obsolete_l1_1_0
878 enable_api_ms_win_core_interlocked_l1_1_0
879 enable_api_ms_win_core_interlocked_l1_2_0
880 enable_api_ms_win_core_io_l1_1_1
881 enable_api_ms_win_core_kernel32_legacy_l1_1_0
882 enable_api_ms_win_core_libraryloader_l1_1_0
883 enable_api_ms_win_core_libraryloader_l1_1_1
884 enable_api_ms_win_core_localization_l1_2_0
885 enable_api_ms_win_core_localization_l1_2_1
886 enable_api_ms_win_core_localization_obsolete_l1_1_0
887 enable_api_ms_win_core_localregistry_l1_1_0
888 enable_api_ms_win_core_memory_l1_1_0
889 enable_api_ms_win_core_memory_l1_1_1
890 enable_api_ms_win_core_misc_l1_1_0
891 enable_api_ms_win_core_namedpipe_l1_1_0
892 enable_api_ms_win_core_namedpipe_l1_2_0
893 enable_api_ms_win_core_processenvironment_l1_1_0
894 enable_api_ms_win_core_processenvironment_l1_2_0
895 enable_api_ms_win_core_processthreads_l1_1_0
896 enable_api_ms_win_core_processthreads_l1_1_1
897 enable_api_ms_win_core_processthreads_l1_1_2
898 enable_api_ms_win_core_profile_l1_1_0
899 enable_api_ms_win_core_psapi_l1_1_0
900 enable_api_ms_win_core_registry_l1_1_0
901 enable_api_ms_win_core_rtlsupport_l1_1_0
902 enable_api_ms_win_core_rtlsupport_l1_2_0
903 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
904 enable_api_ms_win_core_string_l1_1_0
905 enable_api_ms_win_core_synch_l1_1_0
906 enable_api_ms_win_core_synch_l1_2_0
907 enable_api_ms_win_core_sysinfo_l1_1_0
908 enable_api_ms_win_core_sysinfo_l1_2_0
909 enable_api_ms_win_core_sysinfo_l1_2_1
910 enable_api_ms_win_core_threadpool_legacy_l1_1_0
911 enable_api_ms_win_core_timezone_l1_1_0
912 enable_api_ms_win_core_url_l1_1_0
913 enable_api_ms_win_core_util_l1_1_0
914 enable_api_ms_win_core_winrt_error_l1_1_0
915 enable_api_ms_win_core_winrt_error_l1_1_1
916 enable_api_ms_win_core_winrt_l1_1_0
917 enable_api_ms_win_core_winrt_string_l1_1_0
918 enable_api_ms_win_core_xstate_l2_1_0
919 enable_api_ms_win_crt_conio_l1_1_0
920 enable_api_ms_win_crt_convert_l1_1_0
921 enable_api_ms_win_crt_environment_l1_1_0
922 enable_api_ms_win_crt_filesystem_l1_1_0
923 enable_api_ms_win_crt_heap_l1_1_0
924 enable_api_ms_win_crt_locale_l1_1_0
925 enable_api_ms_win_crt_math_l1_1_0
926 enable_api_ms_win_crt_multibyte_l1_1_0
927 enable_api_ms_win_crt_private_l1_1_0
928 enable_api_ms_win_crt_process_l1_1_0
929 enable_api_ms_win_crt_runtime_l1_1_0
930 enable_api_ms_win_crt_stdio_l1_1_0
931 enable_api_ms_win_crt_string_l1_1_0
932 enable_api_ms_win_crt_time_l1_1_0
933 enable_api_ms_win_crt_utility_l1_1_0
934 enable_api_ms_win_downlevel_advapi32_l1_1_0
935 enable_api_ms_win_downlevel_advapi32_l2_1_0
936 enable_api_ms_win_downlevel_normaliz_l1_1_0
937 enable_api_ms_win_downlevel_ole32_l1_1_0
938 enable_api_ms_win_downlevel_shell32_l1_1_0
939 enable_api_ms_win_downlevel_shlwapi_l1_1_0
940 enable_api_ms_win_downlevel_shlwapi_l2_1_0
941 enable_api_ms_win_downlevel_user32_l1_1_0
942 enable_api_ms_win_downlevel_version_l1_1_0
943 enable_api_ms_win_eventing_provider_l1_1_0
944 enable_api_ms_win_ntuser_dc_access_l1_1_0
945 enable_api_ms_win_security_base_l1_1_0
946 enable_api_ms_win_security_base_l1_2_0
947 enable_api_ms_win_security_sddl_l1_1_0
948 enable_api_ms_win_service_core_l1_1_1
949 enable_api_ms_win_service_management_l1_1_0
950 enable_api_ms_win_service_winsvc_l1_2_0
993 enable_d3dcompiler_33
994 enable_d3dcompiler_34
995 enable_d3dcompiler_35
996 enable_d3dcompiler_36
997 enable_d3dcompiler_37
998 enable_d3dcompiler_38
999 enable_d3dcompiler_39
1000 enable_d3dcompiler_40
1001 enable_d3dcompiler_41
1002 enable_d3dcompiler_42
1003 enable_d3dcompiler_43
1004 enable_d3dcompiler_46
1005 enable_d3dcompiler_47
1083 enable_explorerframe
1084 enable_ext_ms_win_gdi_devcaps_l1_1_0
1243 enable_photometadatahandler
1327 enable_windowscodecs
1328 enable_windowscodecsext
1330 enable_winecoreaudio_drv
1332 enable_winegstreamer
1333 enable_winejoystick_drv
1339 enable_wineqtdecoder
1388 enable_documentation
1396 enable_aspnet_regiis
1429 enable_presentationfontcache
1442 enable_servicemodelreg
1463 enable_winemenubuilder
1465 enable_winemsibuilder
1479 ac_precious_vars
='build_alias
1528 # Initialize some variables set by options.
1530 ac_init_version
=false
1531 ac_unrecognized_opts
=
1532 ac_unrecognized_sep
=
1533 # The variables have the same names as the options, with
1534 # dashes changed to underlines.
1535 cache_file
=/dev
/null
1542 program_transform_name
=s
,x
,x
,
1550 # Installation directory options.
1551 # These are left unexpanded so users can "make install exec_prefix=/foo"
1552 # and all the variables that are supposed to be based on exec_prefix
1553 # by default will actually change.
1554 # Use braces instead of parens because sh, perl, etc. also accept them.
1555 # (The list follows the same order as the GNU Coding Standards.)
1556 bindir
='${exec_prefix}/bin'
1557 sbindir
='${exec_prefix}/sbin'
1558 libexecdir
='${exec_prefix}/libexec'
1559 datarootdir
='${prefix}/share'
1560 datadir
='${datarootdir}'
1561 sysconfdir
='${prefix}/etc'
1562 sharedstatedir
='${prefix}/com'
1563 localstatedir
='${prefix}/var'
1564 runstatedir
='${localstatedir}/run'
1565 includedir
='${prefix}/include'
1566 oldincludedir
='/usr/include'
1567 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1568 infodir
='${datarootdir}/info'
1573 libdir
='${exec_prefix}/lib'
1574 localedir
='${datarootdir}/locale'
1575 mandir
='${datarootdir}/man'
1581 # If the previous option needs an argument, assign it.
1582 if test -n "$ac_prev"; then
1583 eval $ac_prev=\
$ac_option
1589 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1594 # Accept the important Cygnus configure options, so we can diagnose typos.
1596 case $ac_dashdash$ac_option in
1600 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1602 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1603 bindir
=$ac_optarg ;;
1605 -build |
--build |
--buil |
--bui |
--bu)
1606 ac_prev
=build_alias
;;
1607 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1608 build_alias
=$ac_optarg ;;
1610 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1611 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1612 ac_prev
=cache_file
;;
1613 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1614 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1615 cache_file
=$ac_optarg ;;
1617 --config-cache |
-C)
1618 cache_file
=config.cache
;;
1620 -datadir |
--datadir |
--datadi |
--datad)
1622 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1623 datadir
=$ac_optarg ;;
1625 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1626 |
--dataroo |
--dataro |
--datar)
1627 ac_prev
=datarootdir
;;
1628 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1629 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1630 datarootdir
=$ac_optarg ;;
1632 -disable-* |
--disable-*)
1633 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1634 # Reject names that are not valid shell variable names.
1635 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1636 as_fn_error $?
"invalid feature name: $ac_useropt"
1637 ac_useropt_orig
=$ac_useropt
1638 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1639 case $ac_user_opts in
1641 "enable_
$ac_useropt"
1643 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1644 ac_unrecognized_sep
=', ';;
1646 eval enable_
$ac_useropt=no
;;
1648 -docdir |
--docdir |
--docdi |
--doc |
--do)
1650 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1651 docdir
=$ac_optarg ;;
1653 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1655 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1656 dvidir
=$ac_optarg ;;
1658 -enable-* |
--enable-*)
1659 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1660 # Reject names that are not valid shell variable names.
1661 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1662 as_fn_error $?
"invalid feature name: $ac_useropt"
1663 ac_useropt_orig
=$ac_useropt
1664 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1665 case $ac_user_opts in
1667 "enable_
$ac_useropt"
1669 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1670 ac_unrecognized_sep
=', ';;
1672 eval enable_
$ac_useropt=\
$ac_optarg ;;
1674 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1675 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1676 |
--exec |
--exe |
--ex)
1677 ac_prev
=exec_prefix
;;
1678 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1679 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1680 |
--exec=* |
--exe=* |
--ex=*)
1681 exec_prefix
=$ac_optarg ;;
1683 -gas |
--gas |
--ga |
--g)
1684 # Obsolete; use --with-gas.
1687 -help |
--help |
--hel |
--he |
-h)
1688 ac_init_help
=long
;;
1689 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1690 ac_init_help
=recursive
;;
1691 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1692 ac_init_help
=short
;;
1694 -host |
--host |
--hos |
--ho)
1695 ac_prev
=host_alias
;;
1696 -host=* |
--host=* |
--hos=* |
--ho=*)
1697 host_alias
=$ac_optarg ;;
1699 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1701 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1703 htmldir
=$ac_optarg ;;
1705 -includedir |
--includedir |
--includedi |
--included |
--include \
1706 |
--includ |
--inclu |
--incl |
--inc)
1707 ac_prev
=includedir
;;
1708 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1709 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1710 includedir
=$ac_optarg ;;
1712 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1714 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1715 infodir
=$ac_optarg ;;
1717 -libdir |
--libdir |
--libdi |
--libd)
1719 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1720 libdir
=$ac_optarg ;;
1722 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1723 |
--libexe |
--libex |
--libe)
1724 ac_prev
=libexecdir
;;
1725 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1726 |
--libexe=* |
--libex=* |
--libe=*)
1727 libexecdir
=$ac_optarg ;;
1729 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1730 ac_prev
=localedir
;;
1731 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1732 localedir
=$ac_optarg ;;
1734 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1735 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1736 ac_prev
=localstatedir
;;
1737 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1738 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1739 localstatedir
=$ac_optarg ;;
1741 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1743 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1744 mandir
=$ac_optarg ;;
1746 -nfp |
--nfp |
--nf)
1747 # Obsolete; use --without-fp.
1750 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1751 |
--no-cr |
--no-c |
-n)
1754 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1755 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1758 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1759 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1760 |
--oldin |
--oldi |
--old |
--ol |
--o)
1761 ac_prev
=oldincludedir
;;
1762 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1763 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1764 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1765 oldincludedir
=$ac_optarg ;;
1767 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1769 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1770 prefix
=$ac_optarg ;;
1772 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1773 |
--program-pre |
--program-pr |
--program-p)
1774 ac_prev
=program_prefix
;;
1775 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1776 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1777 program_prefix
=$ac_optarg ;;
1779 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1780 |
--program-suf |
--program-su |
--program-s)
1781 ac_prev
=program_suffix
;;
1782 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1783 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1784 program_suffix
=$ac_optarg ;;
1786 -program-transform-name |
--program-transform-name \
1787 |
--program-transform-nam |
--program-transform-na \
1788 |
--program-transform-n |
--program-transform- \
1789 |
--program-transform |
--program-transfor \
1790 |
--program-transfo |
--program-transf \
1791 |
--program-trans |
--program-tran \
1792 |
--progr-tra |
--program-tr |
--program-t)
1793 ac_prev
=program_transform_name
;;
1794 -program-transform-name=* |
--program-transform-name=* \
1795 |
--program-transform-nam=* |
--program-transform-na=* \
1796 |
--program-transform-n=* |
--program-transform-=* \
1797 |
--program-transform=* |
--program-transfor=* \
1798 |
--program-transfo=* |
--program-transf=* \
1799 |
--program-trans=* |
--program-tran=* \
1800 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1801 program_transform_name
=$ac_optarg ;;
1803 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1805 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1806 pdfdir
=$ac_optarg ;;
1808 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1810 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1813 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1814 |
-silent |
--silent |
--silen |
--sile |
--sil)
1817 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
1818 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
1819 |
--run |
--ru |
--r)
1820 ac_prev
=runstatedir
;;
1821 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
1822 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
1823 |
--run=* |
--ru=* |
--r=*)
1824 runstatedir
=$ac_optarg ;;
1826 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1828 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1830 sbindir
=$ac_optarg ;;
1832 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1833 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1834 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1836 ac_prev
=sharedstatedir
;;
1837 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1838 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1839 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1841 sharedstatedir
=$ac_optarg ;;
1843 -site |
--site |
--sit)
1845 -site=* |
--site=* |
--sit=*)
1848 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1850 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1851 srcdir
=$ac_optarg ;;
1853 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1854 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1855 ac_prev
=sysconfdir
;;
1856 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1857 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1858 sysconfdir
=$ac_optarg ;;
1860 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1861 ac_prev
=target_alias
;;
1862 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1863 target_alias
=$ac_optarg ;;
1865 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1868 -version |
--version |
--versio |
--versi |
--vers |
-V)
1869 ac_init_version
=: ;;
1872 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1873 # Reject names that are not valid shell variable names.
1874 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1875 as_fn_error $?
"invalid package name: $ac_useropt"
1876 ac_useropt_orig
=$ac_useropt
1877 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1878 case $ac_user_opts in
1882 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1883 ac_unrecognized_sep
=', ';;
1885 eval with_
$ac_useropt=\
$ac_optarg ;;
1887 -without-* |
--without-*)
1888 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1889 # Reject names that are not valid shell variable names.
1890 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1891 as_fn_error $?
"invalid package name: $ac_useropt"
1892 ac_useropt_orig
=$ac_useropt
1893 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1894 case $ac_user_opts in
1898 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1899 ac_unrecognized_sep
=', ';;
1901 eval with_
$ac_useropt=no
;;
1904 # Obsolete; use --with-x.
1907 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1908 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1909 ac_prev
=x_includes
;;
1910 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1911 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1912 x_includes
=$ac_optarg ;;
1914 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1915 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1916 ac_prev
=x_libraries
;;
1917 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1918 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1919 x_libraries
=$ac_optarg ;;
1921 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1922 Try \`$0 --help' for more information"
1926 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1927 # Reject names that are not valid shell variable names.
1928 case $ac_envvar in #(
1929 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1930 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1932 eval $ac_envvar=\
$ac_optarg
1933 export $ac_envvar ;;
1936 # FIXME: should be removed in autoconf 3.0.
1937 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1938 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1939 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1940 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1946 if test -n "$ac_prev"; then
1947 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1948 as_fn_error $?
"missing argument to $ac_option"
1951 if test -n "$ac_unrecognized_opts"; then
1952 case $enable_option_checking in
1954 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1955 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1959 # Check all directory arguments for consistency.
1960 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1961 datadir sysconfdir sharedstatedir localstatedir includedir \
1962 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1963 libdir localedir mandir runstatedir
1965 eval ac_val
=\$
$ac_var
1966 # Remove trailing slashes.
1969 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1970 eval $ac_var=\
$ac_val;;
1972 # Be sure to have absolute directory names.
1974 [\\/$
]* | ?
:[\\/]* ) continue;;
1975 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1977 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1980 # There might be people who depend on the old broken behavior: `$host'
1981 # used to hold the argument of --host etc.
1982 # FIXME: To remove some day.
1985 target
=$target_alias
1987 # FIXME: To remove some day.
1988 if test "x$host_alias" != x
; then
1989 if test "x$build_alias" = x
; then
1990 cross_compiling
=maybe
1991 elif test "x$build_alias" != "x$host_alias"; then
1997 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1999 test "$silent" = yes && exec 6>/dev
/null
2002 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2003 ac_ls_di
=`ls -di .` &&
2004 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2005 as_fn_error $?
"working directory cannot be determined"
2006 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2007 as_fn_error $?
"pwd does not report name of working directory"
2010 # Find the source files, if location was not specified.
2011 if test -z "$srcdir"; then
2012 ac_srcdir_defaulted
=yes
2013 # Try the directory containing this script, then the parent directory.
2014 ac_confdir
=`$as_dirname -- "$as_myself" ||
2015 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2016 X"$as_myself" : 'X\(//\)[^/]' \| \
2017 X"$as_myself" : 'X\(//\)$' \| \
2018 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2019 $as_echo X"$as_myself" |
2020 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2038 if test ! -r "$srcdir/$ac_unique_file"; then
2042 ac_srcdir_defaulted
=no
2044 if test ! -r "$srcdir/$ac_unique_file"; then
2045 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2046 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2048 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2050 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2052 # When building in place, set srcdir=.
2053 if test "$ac_abs_confdir" = "$ac_pwd"; then
2056 # Remove unnecessary trailing slashes from srcdir.
2057 # Double slashes in file names in object file debugging info
2058 # mess up M-x gdb in Emacs.
2060 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2062 for ac_var
in $ac_precious_vars; do
2063 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2064 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2065 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2066 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2070 # Report the --help message.
2072 if test "$ac_init_help" = "long"; then
2073 # Omit some internal or obsolete options to make the list less imposing.
2074 # This message is too long to be a string in the A/UX 3.1 sh.
2076 \`configure' configures Wine 1.7.52 to adapt to many kinds of systems.
2078 Usage: $0 [OPTION]... [VAR=VALUE]...
2080 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2081 VAR=VALUE. See below for descriptions of some of the useful variables.
2083 Defaults for the options are specified in brackets.
2086 -h, --help display this help and exit
2087 --help=short display options specific to this package
2088 --help=recursive display the short help of all the included packages
2089 -V, --version display version information and exit
2090 -q, --quiet, --silent do not print \`checking ...' messages
2091 --cache-file=FILE cache test results in FILE [disabled]
2092 -C, --config-cache alias for \`--cache-file=config.cache'
2093 -n, --no-create do not create output files
2094 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2096 Installation directories:
2097 --prefix=PREFIX install architecture-independent files in PREFIX
2098 [$ac_default_prefix]
2099 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2102 By default, \`make install' will install all the files in
2103 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2104 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2105 for instance \`--prefix=\$HOME'.
2107 For better control, use the options below.
2109 Fine tuning of the installation directories:
2110 --bindir=DIR user executables [EPREFIX/bin]
2111 --sbindir=DIR system admin executables [EPREFIX/sbin]
2112 --libexecdir=DIR program executables [EPREFIX/libexec]
2113 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2114 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2115 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2116 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2117 --libdir=DIR object code libraries [EPREFIX/lib]
2118 --includedir=DIR C header files [PREFIX/include]
2119 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2120 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2121 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2122 --infodir=DIR info documentation [DATAROOTDIR/info]
2123 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2124 --mandir=DIR man documentation [DATAROOTDIR/man]
2125 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2126 --htmldir=DIR html documentation [DOCDIR]
2127 --dvidir=DIR dvi documentation [DOCDIR]
2128 --pdfdir=DIR pdf documentation [DOCDIR]
2129 --psdir=DIR ps documentation [DOCDIR]
2135 --x-includes=DIR X include files are
in DIR
2136 --x-libraries=DIR X library files are
in DIR
2139 --build=BUILD configure
for building on BUILD
[guessed
]
2140 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2144 if test -n "$ac_init_help"; then
2145 case $ac_init_help in
2146 short | recursive
) echo "Configuration of Wine 1.7.52:";;
2151 --disable-option-checking ignore unrecognized
--enable/--with options
2152 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2153 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2154 --disable-win16 do not include Win16 support
2155 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2157 --disable-tests do not build the regression tests
2158 --enable-maintainer-mode
2159 enable maintainer-specific build rules
2160 --disable-largefile omit support for large files
2163 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2164 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2165 --without-alsa do not use the Alsa sound support
2166 --without-capi do not use CAPI (ISDN support)
2167 --without-cms do not use CMS (color management support)
2168 --without-coreaudio do not use the CoreAudio sound support
2169 --without-cups do not use CUPS
2170 --without-curses do not use (n)curses
2171 --without-dbus do not use DBus (dynamic device support)
2172 --without-fontconfig do not use fontconfig
2173 --without-freetype do not use the FreeType library
2174 --without-gettext do not use gettext
2175 --with-gettextpo use the GetTextPO library to rebuild po files
2176 --without-gphoto do not use gphoto (Digital Camera support)
2177 --without-glu do not use the GLU library
2178 --without-gnutls do not use GnuTLS (schannel support)
2179 --without-gsm do not use libgsm (GSM 06.10 codec support)
2180 --without-gstreamer do not use GStreamer (codecs support)
2181 --without-hal do not use HAL (dynamic device support)
2182 --without-jpeg do not use JPEG
2183 --without-ldap do not use LDAP
2184 --without-mpg123 do not use the mpg123 library
2185 --without-netapi do not use the Samba NetAPI library
2186 --without-openal do not use OpenAL
2187 --without-opencl do not use OpenCL
2188 --without-opengl do not use OpenGL
2189 --without-osmesa do not use the OSMesa library
2190 --without-oss do not use the OSS sound support
2191 --without-pcap do not use the Packet Capture library
2192 --without-png do not use PNG
2193 --without-pthread do not use the pthread library
2194 --without-sane do not use SANE (scanner support)
2195 --without-tiff do not use TIFF
2196 --without-v4l do not use v4l1 (v4l support)
2197 --without-xcomposite do not use the Xcomposite extension
2198 --without-xcursor do not use the Xcursor extension
2199 --without-xinerama do not use Xinerama (multi-monitor support)
2200 --without-xinput do not use the Xinput extension
2201 --without-xinput2 do not use the Xinput 2 extension
2202 --without-xml do not use XML
2203 --without-xrandr do not use Xrandr (resolution changes)
2204 --without-xrender do not use the Xrender extension
2205 --without-xshape do not use the Xshape extension
2206 --without-xshm do not use XShm (shared memory extension)
2207 --without-xslt do not use XSLT
2208 --without-xxf86vm do not use XFree video mode extension
2209 --without-zlib do not use Zlib (data compression)
2210 --with-wine-tools=DIR use Wine tools from directory DIR
2211 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2212 --with-x use the X Window System
2214 Some influential environment variables:
2215 CC C compiler command
2216 CFLAGS C compiler flags
2217 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2218 nonstandard directory <lib dir>
2219 LIBS libraries to pass to the linker, e.g. -l<library>
2220 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2221 you have headers in a nonstandard directory <include dir>
2222 CXX C++ compiler command
2223 CXXFLAGS C++ compiler flags
2225 XMKMF Path to xmkmf, Makefile generator for X Window System
2226 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2227 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2228 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2229 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2230 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2231 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2232 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2233 HAL_LIBS Linker flags for hal, overriding pkg-config
2235 C compiler flags for gnutls, overriding pkg-config
2236 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2237 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2238 SANE_LIBS Linker flags for libsane, overriding pkg-config
2240 C compiler flags for libgphoto2, overriding pkg-config
2242 Linker flags for libgphoto2, overriding pkg-config
2244 C compiler flags for libgphoto2_port, overriding pkg-config
2246 Linker flags for libgphoto2_port, overriding pkg-config
2248 C compiler flags for lcms2, overriding pkg-config
2249 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2251 C compiler flags for freetype2, overriding pkg-config
2253 Linker flags for freetype2, overriding pkg-config
2255 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2257 Linker flags for gstreamer-app-0.10, overriding pkg-config
2259 C compiler flags for capi20, overriding pkg-config
2260 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2262 C compiler flags for fontconfig, overriding pkg-config
2264 Linker flags for fontconfig, overriding pkg-config
2265 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2266 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2267 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2268 PNG_LIBS Linker flags for libpng, overriding pkg-config
2269 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2270 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2272 C compiler flags for libmpg123, overriding pkg-config
2273 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2275 Use these variables to override the choices made by `configure' or to
help
2276 it to
find libraries and programs with nonstandard names
/locations.
2278 Report bugs to
<wine-devel@winehq.org
>.
2279 Wine home page
: <http
://www.winehq.org
>.
2284 if test "$ac_init_help" = "recursive"; then
2285 # If there are subdirs, report their specific --help.
2286 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2287 test -d "$ac_dir" ||
2288 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2293 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2295 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2296 # A ".." for each directory in $ac_dir_suffix.
2297 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2298 case $ac_top_builddir_sub in
2299 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2300 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2303 ac_abs_top_builddir
=$ac_pwd
2304 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2305 # for backward compatibility:
2306 ac_top_builddir
=$ac_top_build_prefix
2309 .
) # We are building in place.
2311 ac_top_srcdir
=$ac_top_builddir_sub
2312 ac_abs_top_srcdir
=$ac_pwd ;;
2313 [\\/]* | ?
:[\\/]* ) # Absolute name.
2314 ac_srcdir
=$srcdir$ac_dir_suffix;
2315 ac_top_srcdir
=$srcdir
2316 ac_abs_top_srcdir
=$srcdir ;;
2318 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2319 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2320 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2322 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2324 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2325 # Check for guested configure.
2326 if test -f "$ac_srcdir/configure.gnu"; then
2328 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2329 elif test -f "$ac_srcdir/configure"; then
2331 $SHELL "$ac_srcdir/configure" --help=recursive
2333 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2335 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2339 test -n "$ac_init_help" && exit $ac_status
2340 if $ac_init_version; then
2342 Wine configure
1.7.52
2343 generated by GNU Autoconf
2.69
2345 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2346 This configure
script is free software
; the Free Software Foundation
2347 gives unlimited permission to copy
, distribute and modify it.
2352 ## ------------------------ ##
2353 ## Autoconf initialization. ##
2354 ## ------------------------ ##
2356 # ac_fn_c_try_compile LINENO
2357 # --------------------------
2358 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2359 ac_fn_c_try_compile
()
2361 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2362 rm -f conftest.
$ac_objext
2363 if { { ac_try
="$ac_compile"
2365 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2366 *) ac_try_echo=$ac_try;;
2368 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2369 $as_echo "$ac_try_echo"; } >&5
2370 (eval "$ac_compile") 2>conftest.err
2372 if test -s conftest.err; then
2373 grep -v '^ *+' conftest.err >conftest.er1
2374 cat conftest.er1 >&5
2375 mv -f conftest.er1 conftest.err
2377 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2378 test $ac_status = 0; } && {
2379 test -z "$ac_c_werror_flag" ||
2380 test ! -s conftest.err
2381 } && test -s conftest.$ac_objext; then :
2384 $as_echo "$as_me: failed program was:" >&5
2385 sed 's/^/| /' conftest.$ac_ext >&5
2389 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2390 as_fn_set_status $ac_retval
2392 } # ac_fn_c_try_compile
2394 # ac_fn_cxx_try_compile LINENO
2395 # ----------------------------
2396 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2397 ac_fn_cxx_try_compile ()
2399 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2400 rm -f conftest.$ac_objext
2401 if { { ac_try="$ac_compile"
2403 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2404 *) ac_try_echo
=$ac_try;;
2406 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2407 $as_echo "$ac_try_echo"; } >&5
2408 (eval "$ac_compile") 2>conftest.err
2410 if test -s conftest.err
; then
2411 grep -v '^ *+' conftest.err
>conftest.er1
2412 cat conftest.er1
>&5
2413 mv -f conftest.er1 conftest.err
2415 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2416 test $ac_status = 0; } && {
2417 test -z "$ac_cxx_werror_flag" ||
2418 test ! -s conftest.err
2419 } && test -s conftest.
$ac_objext; then :
2422 $as_echo "$as_me: failed program was:" >&5
2423 sed 's/^/| /' conftest.
$ac_ext >&5
2427 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2428 as_fn_set_status
$ac_retval
2430 } # ac_fn_cxx_try_compile
2432 # ac_fn_c_try_link LINENO
2433 # -----------------------
2434 # Try to link conftest.$ac_ext, and return whether this succeeded.
2437 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2438 rm -f conftest.
$ac_objext conftest
$ac_exeext
2439 if { { ac_try
="$ac_link"
2441 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2442 *) ac_try_echo=$ac_try;;
2444 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2445 $as_echo "$ac_try_echo"; } >&5
2446 (eval "$ac_link") 2>conftest.err
2448 if test -s conftest.err; then
2449 grep -v '^ *+' conftest.err >conftest.er1
2450 cat conftest.er1 >&5
2451 mv -f conftest.er1 conftest.err
2453 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2454 test $ac_status = 0; } && {
2455 test -z "$ac_c_werror_flag" ||
2456 test ! -s conftest.err
2457 } && test -s conftest$ac_exeext && {
2458 test "$cross_compiling" = yes ||
2459 test -x conftest$ac_exeext
2463 $as_echo "$as_me: failed program was:" >&5
2464 sed 's/^/| /' conftest.$ac_ext >&5
2468 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2469 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2470 # interfere with the next link command; also delete a directory that is
2471 # left behind by Apple's compiler. We do this before executing the actions.
2472 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2473 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2474 as_fn_set_status $ac_retval
2476 } # ac_fn_c_try_link
2478 # ac_fn_c_try_cpp LINENO
2479 # ----------------------
2480 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2483 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2484 if { { ac_try="$ac_cpp conftest.$ac_ext"
2486 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2487 *) ac_try_echo
=$ac_try;;
2489 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2490 $as_echo "$ac_try_echo"; } >&5
2491 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2493 if test -s conftest.err
; then
2494 grep -v '^ *+' conftest.err
>conftest.er1
2495 cat conftest.er1
>&5
2496 mv -f conftest.er1 conftest.err
2498 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2499 test $ac_status = 0; } > conftest.i
&& {
2500 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2501 test ! -s conftest.err
2505 $as_echo "$as_me: failed program was:" >&5
2506 sed 's/^/| /' conftest.
$ac_ext >&5
2510 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2511 as_fn_set_status
$ac_retval
2515 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2516 # -------------------------------------------------------
2517 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2518 # the include files in INCLUDES and setting the cache variable VAR
2520 ac_fn_c_check_header_mongrel
()
2522 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2523 if eval \
${$3+:} false
; then :
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2525 $as_echo_n "checking for $2... " >&6; }
2526 if eval \
${$3+:} false
; then :
2527 $as_echo_n "(cached) " >&6
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2531 $as_echo "$ac_res" >&6; }
2533 # Is the header compilable?
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2535 $as_echo_n "checking $2 usability... " >&6; }
2536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2537 /* end confdefs.h. */
2541 if ac_fn_c_try_compile
"$LINENO"; then :
2542 ac_header_compiler
=yes
2544 ac_header_compiler
=no
2546 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2548 $as_echo "$ac_header_compiler" >&6; }
2550 # Is the header present?
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2552 $as_echo_n "checking $2 presence... " >&6; }
2553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2554 /* end confdefs.h. */
2557 if ac_fn_c_try_cpp
"$LINENO"; then :
2558 ac_header_preproc
=yes
2560 ac_header_preproc
=no
2562 rm -f conftest.err conftest.i conftest.
$ac_ext
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2564 $as_echo "$ac_header_preproc" >&6; }
2566 # So? What about this header?
2567 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2570 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2572 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2576 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2578 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2580 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2582 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2584 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2585 ( $as_echo "## ------------------------------------ ##
2586 ## Report this to wine-devel@winehq.org ##
2587 ## ------------------------------------ ##"
2588 ) |
sed "s/^/$as_me: WARNING: /" >&2
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2592 $as_echo_n "checking for $2... " >&6; }
2593 if eval \
${$3+:} false
; then :
2594 $as_echo_n "(cached) " >&6
2596 eval "$3=\$ac_header_compiler"
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2600 $as_echo "$ac_res" >&6; }
2602 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2604 } # ac_fn_c_check_header_mongrel
2606 # ac_fn_c_try_run LINENO
2607 # ----------------------
2608 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2609 # that executables *can* be run.
2612 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2613 if { { ac_try
="$ac_link"
2615 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2616 *) ac_try_echo=$ac_try;;
2618 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2619 $as_echo "$ac_try_echo"; } >&5
2620 (eval "$ac_link") 2>&5
2622 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2623 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2624 { { case "(($ac_try" in
2625 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2626 *) ac_try_echo
=$ac_try;;
2628 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2629 $as_echo "$ac_try_echo"; } >&5
2630 (eval "$ac_try") 2>&5
2632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2633 test $ac_status = 0; }; }; then :
2636 $as_echo "$as_me: program exited with status $ac_status" >&5
2637 $as_echo "$as_me: failed program was:" >&5
2638 sed 's/^/| /' conftest.
$ac_ext >&5
2640 ac_retval
=$ac_status
2642 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2643 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2644 as_fn_set_status
$ac_retval
2648 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2649 # -------------------------------------------------------
2650 # Tests whether HEADER exists and can be compiled using the include files in
2651 # INCLUDES, setting the cache variable VAR accordingly.
2652 ac_fn_c_check_header_compile
()
2654 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2656 $as_echo_n "checking for $2... " >&6; }
2657 if eval \
${$3+:} false
; then :
2658 $as_echo_n "(cached) " >&6
2660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2661 /* end confdefs.h. */
2665 if ac_fn_c_try_compile
"$LINENO"; then :
2670 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2674 $as_echo "$ac_res" >&6; }
2675 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2677 } # ac_fn_c_check_header_compile
2679 # ac_fn_c_check_func LINENO FUNC VAR
2680 # ----------------------------------
2681 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2682 ac_fn_c_check_func
()
2684 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2686 $as_echo_n "checking for $2... " >&6; }
2687 if eval \
${$3+:} false
; then :
2688 $as_echo_n "(cached) " >&6
2690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2691 /* end confdefs.h. */
2692 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2694 #define $2 innocuous_$2
2696 /* System header to define __stub macros and hopefully few prototypes,
2697 which can conflict with char $2 (); below.
2698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2699 <limits.h> exists even on freestanding compilers. */
2702 # include <limits.h>
2704 # include <assert.h>
2709 /* Override any GCC internal prototype to avoid an error.
2710 Use char because int might match the return type of a GCC
2711 builtin and then its argument prototype would still apply. */
2716 /* The GNU C library defines this for functions which it implements
2717 to always fail with ENOSYS. Some functions are actually named
2718 something starting with __ and the normal name is an alias. */
2719 #if defined __stub_$2 || defined __stub___$2
2731 if ac_fn_c_try_link
"$LINENO"; then :
2736 rm -f core conftest.err conftest.
$ac_objext \
2737 conftest
$ac_exeext conftest.
$ac_ext
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2741 $as_echo "$ac_res" >&6; }
2742 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2744 } # ac_fn_c_check_func
2746 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2747 # ----------------------------------------------------
2748 # Tries to find if the field MEMBER exists in type AGGR, after including
2749 # INCLUDES, setting cache variable VAR accordingly.
2750 ac_fn_c_check_member
()
2752 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2754 $as_echo_n "checking for $2.$3... " >&6; }
2755 if eval \
${$4+:} false
; then :
2756 $as_echo_n "(cached) " >&6
2758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2759 /* end confdefs.h. */
2771 if ac_fn_c_try_compile
"$LINENO"; then :
2774 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2775 /* end confdefs.h. */
2781 if (sizeof ac_aggr.$3)
2787 if ac_fn_c_try_compile
"$LINENO"; then :
2792 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2794 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2798 $as_echo "$ac_res" >&6; }
2799 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2801 } # ac_fn_c_check_member
2803 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2804 # -------------------------------------------
2805 # Tests whether TYPE exists after having included INCLUDES, setting cache
2806 # variable VAR accordingly.
2807 ac_fn_c_check_type
()
2809 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2811 $as_echo_n "checking for $2... " >&6; }
2812 if eval \
${$3+:} false
; then :
2813 $as_echo_n "(cached) " >&6
2816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2817 /* end confdefs.h. */
2828 if ac_fn_c_try_compile
"$LINENO"; then :
2829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2830 /* end confdefs.h. */
2841 if ac_fn_c_try_compile
"$LINENO"; then :
2846 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2848 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2852 $as_echo "$ac_res" >&6; }
2853 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2855 } # ac_fn_c_check_type
2856 cat >config.log
<<_ACEOF
2857 This file contains any messages produced by compilers while
2858 running configure, to aid debugging if configure makes a mistake.
2860 It was created by Wine $as_me 1.7.52, which was
2861 generated by GNU Autoconf 2.69. Invocation command line was
2873 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2874 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2875 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2876 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2877 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2879 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2880 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2882 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2883 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2884 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2885 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2886 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2887 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2888 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2896 test -z "$as_dir" && as_dir
=.
2897 $as_echo "PATH: $as_dir"
2913 # Keep a trace of the command line.
2914 # Strip out --no-create and --no-recursion so they do not pile up.
2915 # Strip out --silent because we don't want to record it for future runs.
2916 # Also quote any args containing shell meta-characters.
2917 # Make two passes to allow for proper duplicate-argument suppression.
2921 ac_must_keep_next
=false
2927 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2928 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2929 |
-silent |
--silent |
--silen |
--sile |
--sil)
2932 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2935 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2937 as_fn_append ac_configure_args1
" '$ac_arg'"
2938 if test $ac_must_keep_next = true
; then
2939 ac_must_keep_next
=false
# Got value, back to normal.
2942 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2943 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2944 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2945 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2946 case "$ac_configure_args0 " in
2947 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2950 -* ) ac_must_keep_next
=true
;;
2953 as_fn_append ac_configure_args
" '$ac_arg'"
2958 { ac_configure_args0
=; unset ac_configure_args0
;}
2959 { ac_configure_args1
=; unset ac_configure_args1
;}
2961 # When interrupted or exit'd, cleanup temporary files, and complete
2962 # config.log. We remove comments because anyway the quotes in there
2963 # would cause problems or look ugly.
2964 # WARNING: Use '\'' to represent an apostrophe within the trap.
2965 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2966 trap 'exit_status=$?
2967 # Save into config.log some information that might help in debugging.
2971 $as_echo "## ---------------- ##
2972 ## Cache variables. ##
2973 ## ---------------- ##"
2975 # The following way of writing the cache mishandles newlines in values,
2977 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2978 eval ac_val=\$$ac_var
2982 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2983 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2986 _ | IFS | as_nl) ;; #(
2987 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2988 *) { eval $ac_var=; unset $ac_var;} ;;
2993 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2994 *${as_nl}ac_space=\ *)
2996 "s/'\''/'\''\\\\'\'''\''/g;
2997 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3000 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3007 $as_echo "## ----------------- ##
3008 ## Output variables. ##
3009 ## ----------------- ##"
3011 for ac_var in $ac_subst_vars
3013 eval ac_val=\$$ac_var
3015 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3017 $as_echo "$ac_var='\''$ac_val'\''"
3021 if test -n "$ac_subst_files"; then
3022 $as_echo "## ------------------- ##
3023 ## File substitutions. ##
3024 ## ------------------- ##"
3026 for ac_var
in $ac_subst_files
3028 eval ac_val
=\$
$ac_var
3030 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3032 $as_echo "$ac_var='\''$ac_val'\''"
3037 if test -s confdefs.h; then
3038 $as_echo "## ----------- ##
3045 test "$ac_signal" != 0 &&
3046 $as_echo "$as_me: caught signal $ac_signal"
3047 $as_echo "$as_me: exit $exit_status"
3049 rm -f core *.core core.conftest.* &&
3050 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3053 for ac_signal
in 1 2 13 15; do
3054 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3058 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3059 rm -f -r conftest
* confdefs.h
3061 $as_echo "/* confdefs.h */" > confdefs.h
3063 # Predefined preprocessor variables.
3065 cat >>confdefs.h
<<_ACEOF
3066 #define PACKAGE_NAME "$PACKAGE_NAME"
3069 cat >>confdefs.h
<<_ACEOF
3070 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3073 cat >>confdefs.h
<<_ACEOF
3074 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3077 cat >>confdefs.h
<<_ACEOF
3078 #define PACKAGE_STRING "$PACKAGE_STRING"
3081 cat >>confdefs.h
<<_ACEOF
3082 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3085 cat >>confdefs.h
<<_ACEOF
3086 #define PACKAGE_URL "$PACKAGE_URL"
3090 # Let the site file select an alternate cache file if it wants to.
3091 # Prefer an explicitly selected file to automatically selected ones.
3094 if test -n "$CONFIG_SITE"; then
3095 # We do not want a PATH search for config.site.
3096 case $CONFIG_SITE in #((
3097 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3098 */*) ac_site_file1
=$CONFIG_SITE;;
3099 *) ac_site_file1
=.
/$CONFIG_SITE;;
3101 elif test "x$prefix" != xNONE
; then
3102 ac_site_file1
=$prefix/share
/config.site
3103 ac_site_file2
=$prefix/etc
/config.site
3105 ac_site_file1
=$ac_default_prefix/share
/config.site
3106 ac_site_file2
=$ac_default_prefix/etc
/config.site
3108 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3110 test "x$ac_site_file" = xNONE
&& continue
3111 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3113 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3114 sed 's/^/| /' "$ac_site_file" >&5
3116 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3117 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3118 as_fn_error $?
"failed to load site script $ac_site_file
3119 See \`config.log' for more details" "$LINENO" 5; }
3123 if test -r "$cache_file"; then
3124 # Some versions of bash will fail to source /dev/null (special files
3125 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3126 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3128 $as_echo "$as_me: loading cache $cache_file" >&6;}
3130 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3131 *) .
"./$cache_file";;
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3136 $as_echo "$as_me: creating cache $cache_file" >&6;}
3140 # Check that the precious variables saved in the cache have kept the same
3142 ac_cache_corrupted
=false
3143 for ac_var
in $ac_precious_vars; do
3144 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3145 eval ac_new_set
=\
$ac_env_${ac_var}_set
3146 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3147 eval ac_new_val
=\
$ac_env_${ac_var}_value
3148 case $ac_old_set,$ac_new_set in
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3151 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3152 ac_cache_corrupted
=: ;;
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3155 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3156 ac_cache_corrupted
=: ;;
3159 if test "x$ac_old_val" != "x$ac_new_val"; then
3160 # differences in whitespace do not lead to failure.
3161 ac_old_val_w
=`echo x $ac_old_val`
3162 ac_new_val_w
=`echo x $ac_new_val`
3163 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3165 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3166 ac_cache_corrupted
=:
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3169 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3170 eval $ac_var=\
$ac_old_val
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3173 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3175 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3178 # Pass precious variables to config.status.
3179 if test "$ac_new_set" = set; then
3181 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3182 *) ac_arg
=$ac_var=$ac_new_val ;;
3184 case " $ac_configure_args " in
3185 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3186 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3190 if $ac_cache_corrupted; then
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3192 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3194 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3195 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3197 ## -------------------- ##
3198 ## Main body of script. ##
3199 ## -------------------- ##
3202 ac_cpp
='$CPP $CPPFLAGS'
3203 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3204 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3205 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3209 ac_config_headers
="$ac_config_headers include/config.h"
3212 for ac_dir
in tools
"$srcdir"/tools
; do
3213 if test -f "$ac_dir/install-sh"; then
3215 ac_install_sh
="$ac_aux_dir/install-sh -c"
3217 elif test -f "$ac_dir/install.sh"; then
3219 ac_install_sh
="$ac_aux_dir/install.sh -c"
3221 elif test -f "$ac_dir/shtool"; then
3223 ac_install_sh
="$ac_aux_dir/shtool install -c"
3227 if test -z "$ac_aux_dir"; then
3228 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3231 # These three variables are undocumented and unsupported,
3232 # and are intended to be withdrawn in a future Autoconf release.
3233 # They can cause serious problems if a builder's source tree is in a directory
3234 # whose full name contains unusual characters.
3235 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3236 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3237 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3241 libwine_version
="1.0"
3245 # Check whether --enable-win16 was given.
3246 if test "${enable_win16+set}" = set; then :
3247 enableval
=$enable_win16;
3250 # Check whether --enable-win64 was given.
3251 if test "${enable_win64+set}" = set; then :
3252 enableval
=$enable_win64;
3255 # Check whether --enable-tests was given.
3256 if test "${enable_tests+set}" = set; then :
3257 enableval
=$enable_tests;
3260 # Check whether --enable-maintainer-mode was given.
3261 if test "${enable_maintainer_mode+set}" = set; then :
3262 enableval
=$enable_maintainer_mode;
3267 # Check whether --with-alsa was given.
3268 if test "${with_alsa+set}" = set; then :
3269 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3273 # Check whether --with-capi was given.
3274 if test "${with_capi+set}" = set; then :
3279 # Check whether --with-cms was given.
3280 if test "${with_cms+set}" = set; then :
3285 # Check whether --with-coreaudio was given.
3286 if test "${with_coreaudio+set}" = set; then :
3287 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3291 # Check whether --with-cups was given.
3292 if test "${with_cups+set}" = set; then :
3297 # Check whether --with-curses was given.
3298 if test "${with_curses+set}" = set; then :
3299 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3303 # Check whether --with-dbus was given.
3304 if test "${with_dbus+set}" = set; then :
3309 # Check whether --with-fontconfig was given.
3310 if test "${with_fontconfig+set}" = set; then :
3311 withval
=$with_fontconfig;
3315 # Check whether --with-freetype was given.
3316 if test "${with_freetype+set}" = set; then :
3317 withval
=$with_freetype;
3321 # Check whether --with-gettext was given.
3322 if test "${with_gettext+set}" = set; then :
3323 withval
=$with_gettext;
3327 # Check whether --with-gettextpo was given.
3328 if test "${with_gettextpo+set}" = set; then :
3329 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3333 # Check whether --with-gphoto was given.
3334 if test "${with_gphoto+set}" = set; then :
3335 withval
=$with_gphoto;
3339 # Check whether --with-glu was given.
3340 if test "${with_glu+set}" = set; then :
3345 # Check whether --with-gnutls was given.
3346 if test "${with_gnutls+set}" = set; then :
3347 withval
=$with_gnutls;
3351 # Check whether --with-gsm was given.
3352 if test "${with_gsm+set}" = set; then :
3353 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3357 # Check whether --with-gstreamer was given.
3358 if test "${with_gstreamer+set}" = set; then :
3359 withval
=$with_gstreamer;
3363 # Check whether --with-hal was given.
3364 if test "${with_hal+set}" = set; then :
3369 # Check whether --with-jpeg was given.
3370 if test "${with_jpeg+set}" = set; then :
3375 # Check whether --with-ldap was given.
3376 if test "${with_ldap+set}" = set; then :
3377 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3381 # Check whether --with-mpg123 was given.
3382 if test "${with_mpg123+set}" = set; then :
3383 withval
=$with_mpg123;
3387 # Check whether --with-netapi was given.
3388 if test "${with_netapi+set}" = set; then :
3389 withval
=$with_netapi;
3393 # Check whether --with-openal was given.
3394 if test "${with_openal+set}" = set; then :
3395 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3399 # Check whether --with-opencl was given.
3400 if test "${with_opencl+set}" = set; then :
3401 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3405 # Check whether --with-opengl was given.
3406 if test "${with_opengl+set}" = set; then :
3407 withval
=$with_opengl;
3411 # Check whether --with-osmesa was given.
3412 if test "${with_osmesa+set}" = set; then :
3413 withval
=$with_osmesa;
3417 # Check whether --with-oss was given.
3418 if test "${with_oss+set}" = set; then :
3423 # Check whether --with-pcap was given.
3424 if test "${with_pcap+set}" = set; then :
3425 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3429 # Check whether --with-png was given.
3430 if test "${with_png+set}" = set; then :
3435 # Check whether --with-pthread was given.
3436 if test "${with_pthread+set}" = set; then :
3437 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3441 # Check whether --with-sane was given.
3442 if test "${with_sane+set}" = set; then :
3447 # Check whether --with-tiff was given.
3448 if test "${with_tiff+set}" = set; then :
3453 # Check whether --with-v4l was given.
3454 if test "${with_v4l+set}" = set; then :
3459 # Check whether --with-xcomposite was given.
3460 if test "${with_xcomposite+set}" = set; then :
3461 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3465 # Check whether --with-xcursor was given.
3466 if test "${with_xcursor+set}" = set; then :
3467 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3471 # Check whether --with-xinerama was given.
3472 if test "${with_xinerama+set}" = set; then :
3473 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3477 # Check whether --with-xinput was given.
3478 if test "${with_xinput+set}" = set; then :
3479 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3483 # Check whether --with-xinput2 was given.
3484 if test "${with_xinput2+set}" = set; then :
3485 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3489 # Check whether --with-xml was given.
3490 if test "${with_xml+set}" = set; then :
3495 # Check whether --with-xrandr was given.
3496 if test "${with_xrandr+set}" = set; then :
3497 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3501 # Check whether --with-xrender was given.
3502 if test "${with_xrender+set}" = set; then :
3503 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3507 # Check whether --with-xshape was given.
3508 if test "${with_xshape+set}" = set; then :
3509 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3513 # Check whether --with-xshm was given.
3514 if test "${with_xshm+set}" = set; then :
3515 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3519 # Check whether --with-xslt was given.
3520 if test "${with_xslt+set}" = set; then :
3525 # Check whether --with-xxf86vm was given.
3526 if test "${with_xxf86vm+set}" = set; then :
3527 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
3531 # Check whether --with-zlib was given.
3532 if test "${with_zlib+set}" = set; then :
3533 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3538 # Check whether --with-wine-tools was given.
3539 if test "${with_wine_tools+set}" = set; then :
3540 withval
=$with_wine_tools;
3544 # Check whether --with-wine64 was given.
3545 if test "${with_wine64+set}" = set; then :
3546 withval
=$with_wine64;
3550 # Make sure we can run config.sub.
3551 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3552 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3555 $as_echo_n "checking build system type... " >&6; }
3556 if ${ac_cv_build+:} false
; then :
3557 $as_echo_n "(cached) " >&6
3559 ac_build_alias
=$build_alias
3560 test "x$ac_build_alias" = x
&&
3561 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3562 test "x$ac_build_alias" = x
&&
3563 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3564 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3565 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3569 $as_echo "$ac_cv_build" >&6; }
3570 case $ac_cv_build in
3572 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3575 ac_save_IFS
=$IFS; IFS
='-'
3581 # Remember, the first character of IFS is used to create $*,
3582 # except with old shells:
3585 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3589 $as_echo_n "checking host system type... " >&6; }
3590 if ${ac_cv_host+:} false
; then :
3591 $as_echo_n "(cached) " >&6
3593 if test "x$host_alias" = x
; then
3594 ac_cv_host
=$ac_cv_build
3596 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3597 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3602 $as_echo "$ac_cv_host" >&6; }
3605 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3608 ac_save_IFS
=$IFS; IFS
='-'
3614 # Remember, the first character of IFS is used to create $*,
3615 # except with old shells:
3618 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3624 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3625 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3626 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3632 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3634 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3635 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3636 $as_echo_n "(cached) " >&6
3638 cat >conftest.
make <<\_ACEOF
3641 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3643 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3644 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3646 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3648 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3652 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3654 $as_echo "yes" >&6; }
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3658 $as_echo "no" >&6; }
3659 SET_MAKE
="MAKE=${MAKE-make}"
3663 ac_cpp
='$CPP $CPPFLAGS'
3664 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3665 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3666 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3667 if test -n "$ac_tool_prefix"; then
3668 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3669 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3671 $as_echo_n "checking for $ac_word... " >&6; }
3672 if ${ac_cv_prog_CC+:} false
; then :
3673 $as_echo_n "(cached) " >&6
3675 if test -n "$CC"; then
3676 ac_cv_prog_CC
="$CC" # Let the user override the test.
3678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3682 test -z "$as_dir" && as_dir
=.
3683 for ac_exec_ext
in '' $ac_executable_extensions; do
3684 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3685 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3696 if test -n "$CC"; then
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3698 $as_echo "$CC" >&6; }
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3701 $as_echo "no" >&6; }
3706 if test -z "$ac_cv_prog_CC"; then
3708 # Extract the first word of "gcc", so it can be a program name with args.
3709 set dummy gcc
; ac_word
=$2
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3711 $as_echo_n "checking for $ac_word... " >&6; }
3712 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3713 $as_echo_n "(cached) " >&6
3715 if test -n "$ac_ct_CC"; then
3716 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3718 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3722 test -z "$as_dir" && as_dir
=.
3723 for ac_exec_ext
in '' $ac_executable_extensions; do
3724 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3725 ac_cv_prog_ac_ct_CC
="gcc"
3726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3735 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3736 if test -n "$ac_ct_CC"; then
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3738 $as_echo "$ac_ct_CC" >&6; }
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3741 $as_echo "no" >&6; }
3744 if test "x$ac_ct_CC" = x
; then
3747 case $cross_compiling:$ac_tool_warned in
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3750 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3751 ac_tool_warned
=yes ;;
3759 if test -z "$CC"; then
3760 if test -n "$ac_tool_prefix"; then
3761 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3762 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3764 $as_echo_n "checking for $ac_word... " >&6; }
3765 if ${ac_cv_prog_CC+:} false
; then :
3766 $as_echo_n "(cached) " >&6
3768 if test -n "$CC"; then
3769 ac_cv_prog_CC
="$CC" # Let the user override the test.
3771 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3775 test -z "$as_dir" && as_dir
=.
3776 for ac_exec_ext
in '' $ac_executable_extensions; do
3777 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3778 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3789 if test -n "$CC"; then
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3791 $as_echo "$CC" >&6; }
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3794 $as_echo "no" >&6; }
3800 if test -z "$CC"; then
3801 # Extract the first word of "cc", so it can be a program name with args.
3802 set dummy cc
; ac_word
=$2
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3804 $as_echo_n "checking for $ac_word... " >&6; }
3805 if ${ac_cv_prog_CC+:} false
; then :
3806 $as_echo_n "(cached) " >&6
3808 if test -n "$CC"; then
3809 ac_cv_prog_CC
="$CC" # Let the user override the test.
3812 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3816 test -z "$as_dir" && as_dir
=.
3817 for ac_exec_ext
in '' $ac_executable_extensions; do
3818 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3819 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3820 ac_prog_rejected
=yes
3824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3831 if test $ac_prog_rejected = yes; then
3832 # We found a bogon in the path, so make sure we never use it.
3833 set dummy
$ac_cv_prog_CC
3835 if test $# != 0; then
3836 # We chose a different compiler from the bogus one.
3837 # However, it has the same basename, so the bogon will be chosen
3838 # first if we set CC to just the basename; use the full file name.
3840 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3846 if test -n "$CC"; then
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3848 $as_echo "$CC" >&6; }
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3851 $as_echo "no" >&6; }
3856 if test -z "$CC"; then
3857 if test -n "$ac_tool_prefix"; then
3858 for ac_prog
in cl.exe
3860 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3861 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3863 $as_echo_n "checking for $ac_word... " >&6; }
3864 if ${ac_cv_prog_CC+:} false
; then :
3865 $as_echo_n "(cached) " >&6
3867 if test -n "$CC"; then
3868 ac_cv_prog_CC
="$CC" # Let the user override the test.
3870 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3874 test -z "$as_dir" && as_dir
=.
3875 for ac_exec_ext
in '' $ac_executable_extensions; do
3876 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3877 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3888 if test -n "$CC"; then
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3890 $as_echo "$CC" >&6; }
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3893 $as_echo "no" >&6; }
3897 test -n "$CC" && break
3900 if test -z "$CC"; then
3902 for ac_prog
in cl.exe
3904 # Extract the first word of "$ac_prog", so it can be a program name with args.
3905 set dummy
$ac_prog; ac_word
=$2
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3907 $as_echo_n "checking for $ac_word... " >&6; }
3908 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3909 $as_echo_n "(cached) " >&6
3911 if test -n "$ac_ct_CC"; then
3912 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3914 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3918 test -z "$as_dir" && as_dir
=.
3919 for ac_exec_ext
in '' $ac_executable_extensions; do
3920 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3921 ac_cv_prog_ac_ct_CC
="$ac_prog"
3922 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3931 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3932 if test -n "$ac_ct_CC"; then
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3934 $as_echo "$ac_ct_CC" >&6; }
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3937 $as_echo "no" >&6; }
3941 test -n "$ac_ct_CC" && break
3944 if test "x$ac_ct_CC" = x
; then
3947 case $cross_compiling:$ac_tool_warned in
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3950 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3951 ac_tool_warned
=yes ;;
3960 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3961 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3962 as_fn_error $?
"no acceptable C compiler found in \$PATH
3963 See \`config.log' for more details" "$LINENO" 5; }
3965 # Provide some information about the compiler.
3966 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3969 for ac_option
in --version -v -V -qversion; do
3970 { { ac_try
="$ac_compiler $ac_option >&5"
3972 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3973 *) ac_try_echo=$ac_try;;
3975 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3976 $as_echo "$ac_try_echo"; } >&5
3977 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3979 if test -s conftest.err; then
3981 ... rest of stderr output deleted ...
3982 10q' conftest.err >conftest.er1
3983 cat conftest.er1 >&5
3985 rm -f conftest.er1 conftest.err
3986 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3987 test $ac_status = 0; }
3990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3991 /* end confdefs.h. */
4001 ac_clean_files_save=$ac_clean_files
4002 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4003 # Try to create an executable without -o first, disregard a.out.
4004 # It will help us diagnose broken compilers, and finding out an intuition
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4007 $as_echo_n "checking whether the C compiler works... " >&6; }
4008 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4010 # The possible output files:
4011 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4014 for ac_file in $ac_files
4017 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4018 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4023 if { { ac_try="$ac_link_default"
4025 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4026 *) ac_try_echo
=$ac_try;;
4028 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4029 $as_echo "$ac_try_echo"; } >&5
4030 (eval "$ac_link_default") 2>&5
4032 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4033 test $ac_status = 0; }; then :
4034 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4035 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4036 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4037 # so that the user can short-circuit this test for compilers unknown to
4039 for ac_file
in $ac_files ''
4041 test -f "$ac_file" ||
continue
4043 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4046 # We found the default executable, but exeext='' is most
4050 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4052 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4054 # We set ac_cv_exeext here because the later test for it is not
4055 # safe: cross compilers may not add the suffix if given an `-o'
4056 # argument, so we may need to know it at that point already.
4057 # Even if this section looks crufty: it has the advantage of
4064 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4069 if test -z "$ac_file"; then :
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4071 $as_echo "no" >&6; }
4072 $as_echo "$as_me: failed program was:" >&5
4073 sed 's/^/| /' conftest.
$ac_ext >&5
4075 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4076 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4077 as_fn_error
77 "C compiler cannot create executables
4078 See \`config.log' for more details" "$LINENO" 5; }
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4081 $as_echo "yes" >&6; }
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4084 $as_echo_n "checking for C compiler default output file name... " >&6; }
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4086 $as_echo "$ac_file" >&6; }
4087 ac_exeext
=$ac_cv_exeext
4089 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4090 ac_clean_files
=$ac_clean_files_save
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4092 $as_echo_n "checking for suffix of executables... " >&6; }
4093 if { { ac_try
="$ac_link"
4095 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4096 *) ac_try_echo=$ac_try;;
4098 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4099 $as_echo "$ac_try_echo"; } >&5
4100 (eval "$ac_link") 2>&5
4102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4103 test $ac_status = 0; }; then :
4104 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4105 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4106 # work properly (i.e., refer to `conftest.exe'), while it won't with
4108 for ac_file
in conftest.exe conftest conftest.
*; do
4109 test -f "$ac_file" ||
continue
4111 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4112 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4118 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4119 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4120 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4121 See \`config.log' for more details" "$LINENO" 5; }
4123 rm -f conftest conftest
$ac_cv_exeext
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4125 $as_echo "$ac_cv_exeext" >&6; }
4127 rm -f conftest.
$ac_ext
4128 EXEEXT
=$ac_cv_exeext
4130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4131 /* end confdefs.h. */
4136 FILE *f = fopen ("conftest.out", "w");
4137 return ferror (f) || fclose (f) != 0;
4143 ac_clean_files
="$ac_clean_files conftest.out"
4144 # Check that the compiler produces executables we can run. If not, either
4145 # the compiler is broken, or we cross compile.
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4147 $as_echo_n "checking whether we are cross compiling... " >&6; }
4148 if test "$cross_compiling" != yes; then
4149 { { ac_try
="$ac_link"
4151 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4152 *) ac_try_echo=$ac_try;;
4154 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4155 $as_echo "$ac_try_echo"; } >&5
4156 (eval "$ac_link") 2>&5
4158 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4159 test $ac_status = 0; }
4160 if { ac_try='./conftest$ac_cv_exeext'
4161 { { case "(($ac_try" in
4162 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4163 *) ac_try_echo
=$ac_try;;
4165 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4166 $as_echo "$ac_try_echo"; } >&5
4167 (eval "$ac_try") 2>&5
4169 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4170 test $ac_status = 0; }; }; then
4173 if test "$cross_compiling" = maybe
; then
4176 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4177 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4178 as_fn_error $?
"cannot run C compiled programs.
4179 If you meant to cross compile, use \`--host'.
4180 See \`config.log' for more details" "$LINENO" 5; }
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4185 $as_echo "$cross_compiling" >&6; }
4187 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4188 ac_clean_files
=$ac_clean_files_save
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4190 $as_echo_n "checking for suffix of object files... " >&6; }
4191 if ${ac_cv_objext+:} false
; then :
4192 $as_echo_n "(cached) " >&6
4194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4195 /* end confdefs.h. */
4205 rm -f conftest.o conftest.obj
4206 if { { ac_try
="$ac_compile"
4208 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4209 *) ac_try_echo=$ac_try;;
4211 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4212 $as_echo "$ac_try_echo"; } >&5
4213 (eval "$ac_compile") 2>&5
4215 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4216 test $ac_status = 0; }; then :
4217 for ac_file in conftest.o conftest.obj conftest.*; do
4218 test -f "$ac_file" || continue;
4220 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4221 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4226 $as_echo "$as_me: failed program was:" >&5
4227 sed 's/^/| /' conftest.$ac_ext >&5
4229 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4230 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4231 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4232 See \
`config.log' for more details" "$LINENO" 5; }
4234 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4237 $as_echo "$ac_cv_objext" >&6; }
4238 OBJEXT=$ac_cv_objext
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4241 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4242 if ${ac_cv_c_compiler_gnu+:} false; then :
4243 $as_echo_n "(cached) " >&6
4245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4246 /* end confdefs.h. */
4259 if ac_fn_c_try_compile "$LINENO"; then :
4264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4265 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4269 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4270 if test $ac_compiler_gnu = yes; then
4275 ac_test_CFLAGS=${CFLAGS+set}
4276 ac_save_CFLAGS=$CFLAGS
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4278 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4279 if ${ac_cv_prog_cc_g+:} false; then :
4280 $as_echo_n "(cached) " >&6
4282 ac_save_c_werror_flag=$ac_c_werror_flag
4283 ac_c_werror_flag=yes
4286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4287 /* end confdefs.h. */
4297 if ac_fn_c_try_compile "$LINENO"; then :
4301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4302 /* end confdefs.h. */
4312 if ac_fn_c_try_compile "$LINENO"; then :
4315 ac_c_werror_flag=$ac_save_c_werror_flag
4317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4318 /* end confdefs.h. */
4328 if ac_fn_c_try_compile "$LINENO"; then :
4331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4336 ac_c_werror_flag=$ac_save_c_werror_flag
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4339 $as_echo "$ac_cv_prog_cc_g" >&6; }
4340 if test "$ac_test_CFLAGS" = set; then
4341 CFLAGS=$ac_save_CFLAGS
4342 elif test $ac_cv_prog_cc_g = yes; then
4343 if test "$GCC" = yes; then
4349 if test "$GCC" = yes; then
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4356 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4357 if ${ac_cv_prog_cc_c89+:} false; then :
4358 $as_echo_n "(cached) " >&6
4360 ac_cv_prog_cc_c89=no
4362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4363 /* end confdefs.h. */
4367 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4368 struct buf { int x; };
4369 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4370 static char *e (p, i)
4376 static char *f (char * (*g) (char **, int), char **p, ...)
4381 s = g (p, va_arg (v,int));
4386 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4387 function prototypes and stuff, but not '\xHH' hex character constants.
4388 These don't provoke an error unfortunately, instead are silently treated
4389 as 'x'. The following induces an error, until -std is added to get
4390 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4391 array size at least. It's necessary to write '\x00'==0 to get something
4392 that's true only with -std. */
4393 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4395 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4396 inside strings and character constants. */
4398 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4400 int test (int i, double x);
4401 struct s1 {int (*f) (int a);};
4402 struct s2 {int (*f) (double a);};
4403 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4409 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4414 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4415 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4417 CC="$ac_save_CC $ac_arg"
4418 if ac_fn_c_try_compile "$LINENO"; then :
4419 ac_cv_prog_cc_c89=$ac_arg
4421 rm -f core conftest.err conftest.$ac_objext
4422 test "x$ac_cv_prog_cc_c89" != "xno" && break
4424 rm -f conftest.$ac_ext
4429 case "x$ac_cv_prog_cc_c89" in
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4432 $as_echo "none needed" >&6; } ;;
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4435 $as_echo "unsupported" >&6; } ;;
4437 CC="$CC $ac_cv_prog_cc_c89"
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4439 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4441 if test "x$ac_cv_prog_cc_c89" != xno; then :
4446 ac_cpp='$CPP $CPPFLAGS'
4447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4452 ac_cpp='$CXXCPP $CPPFLAGS'
4453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4456 if test -z "$CXX"; then
4457 if test -n "$CCC"; then
4460 if test -n "$ac_tool_prefix"; then
4461 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4463 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4464 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4466 $as_echo_n "checking for $ac_word... " >&6; }
4467 if ${ac_cv_prog_CXX+:} false; then :
4468 $as_echo_n "(cached) " >&6
4470 if test -n "$CXX"; then
4471 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4477 test -z "$as_dir" && as_dir=.
4478 for ac_exec_ext in '' $ac_executable_extensions; do
4479 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4480 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4491 if test -n "$CXX"; then
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4493 $as_echo "$CXX" >&6; }
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4496 $as_echo "no" >&6; }
4500 test -n "$CXX" && break
4503 if test -z "$CXX"; then
4505 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4507 # Extract the first word of "$ac_prog", so it can be a program name with args.
4508 set dummy $ac_prog; ac_word=$2
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4510 $as_echo_n "checking for $ac_word... " >&6; }
4511 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4512 $as_echo_n "(cached) " >&6
4514 if test -n "$ac_ct_CXX"; then
4515 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4521 test -z "$as_dir" && as_dir=.
4522 for ac_exec_ext in '' $ac_executable_extensions; do
4523 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4524 ac_cv_prog_ac_ct_CXX="$ac_prog"
4525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4534 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4535 if test -n "$ac_ct_CXX"; then
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4537 $as_echo "$ac_ct_CXX" >&6; }
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4540 $as_echo "no" >&6; }
4544 test -n "$ac_ct_CXX" && break
4547 if test "x$ac_ct_CXX" = x; then
4550 case $cross_compiling:$ac_tool_warned in
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4553 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4554 ac_tool_warned=yes ;;
4562 # Provide some information about the compiler.
4563 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4566 for ac_option in --version -v -V -qversion; do
4567 { { ac_try="$ac_compiler $ac_option >&5"
4569 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4570 *) ac_try_echo
=$ac_try;;
4572 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4573 $as_echo "$ac_try_echo"; } >&5
4574 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4576 if test -s conftest.err
; then
4578 ... rest of stderr output deleted ...
4579 10q' conftest.err
>conftest.er1
4580 cat conftest.er1
>&5
4582 rm -f conftest.er1 conftest.err
4583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4584 test $ac_status = 0; }
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4588 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4589 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4590 $as_echo_n "(cached) " >&6
4592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4593 /* end confdefs.h. */
4606 if ac_fn_cxx_try_compile
"$LINENO"; then :
4611 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4612 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4616 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4617 if test $ac_compiler_gnu = yes; then
4622 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4623 ac_save_CXXFLAGS
=$CXXFLAGS
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4625 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4626 if ${ac_cv_prog_cxx_g+:} false
; then :
4627 $as_echo_n "(cached) " >&6
4629 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4630 ac_cxx_werror_flag
=yes
4633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4634 /* end confdefs.h. */
4644 if ac_fn_cxx_try_compile
"$LINENO"; then :
4645 ac_cv_prog_cxx_g
=yes
4648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4649 /* end confdefs.h. */
4659 if ac_fn_cxx_try_compile
"$LINENO"; then :
4662 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4665 /* end confdefs.h. */
4675 if ac_fn_cxx_try_compile
"$LINENO"; then :
4676 ac_cv_prog_cxx_g
=yes
4678 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4680 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4682 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4683 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4686 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4687 if test "$ac_test_CXXFLAGS" = set; then
4688 CXXFLAGS
=$ac_save_CXXFLAGS
4689 elif test $ac_cv_prog_cxx_g = yes; then
4690 if test "$GXX" = yes; then
4696 if test "$GXX" = yes; then
4703 ac_cpp
='$CPP $CPPFLAGS'
4704 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4705 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4706 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4708 if test -n "$ac_tool_prefix"; then
4709 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4710 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4712 $as_echo_n "checking for $ac_word... " >&6; }
4713 if ${ac_cv_prog_CPPBIN+:} false
; then :
4714 $as_echo_n "(cached) " >&6
4716 if test -n "$CPPBIN"; then
4717 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4723 test -z "$as_dir" && as_dir
=.
4724 for ac_exec_ext
in '' $ac_executable_extensions; do
4725 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4726 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4736 CPPBIN
=$ac_cv_prog_CPPBIN
4737 if test -n "$CPPBIN"; then
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4739 $as_echo "$CPPBIN" >&6; }
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4742 $as_echo "no" >&6; }
4747 if test -z "$ac_cv_prog_CPPBIN"; then
4748 ac_ct_CPPBIN
=$CPPBIN
4749 # Extract the first word of "cpp", so it can be a program name with args.
4750 set dummy cpp
; ac_word
=$2
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4752 $as_echo_n "checking for $ac_word... " >&6; }
4753 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4754 $as_echo_n "(cached) " >&6
4756 if test -n "$ac_ct_CPPBIN"; then
4757 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4763 test -z "$as_dir" && as_dir
=.
4764 for ac_exec_ext
in '' $ac_executable_extensions; do
4765 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4766 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4776 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4777 if test -n "$ac_ct_CPPBIN"; then
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4779 $as_echo "$ac_ct_CPPBIN" >&6; }
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4782 $as_echo "no" >&6; }
4785 if test "x$ac_ct_CPPBIN" = x
; then
4788 case $cross_compiling:$ac_tool_warned in
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4791 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4792 ac_tool_warned
=yes ;;
4794 CPPBIN
=$ac_ct_CPPBIN
4797 CPPBIN
="$ac_cv_prog_CPPBIN"
4801 cat >>confdefs.h
<<_ACEOF
4802 #define EXEEXT "$ac_exeext"
4805 if test -n "$ac_tool_prefix"; then
4806 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4807 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4809 $as_echo_n "checking for $ac_word... " >&6; }
4810 if ${ac_cv_prog_LD+:} false
; then :
4811 $as_echo_n "(cached) " >&6
4813 if test -n "$LD"; then
4814 ac_cv_prog_LD
="$LD" # Let the user override the test.
4816 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4820 test -z "$as_dir" && as_dir
=.
4821 for ac_exec_ext
in '' $ac_executable_extensions; do
4822 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4823 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4834 if test -n "$LD"; then
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4836 $as_echo "$LD" >&6; }
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4839 $as_echo "no" >&6; }
4844 if test -z "$ac_cv_prog_LD"; then
4846 # Extract the first word of "ld", so it can be a program name with args.
4847 set dummy ld
; ac_word
=$2
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4849 $as_echo_n "checking for $ac_word... " >&6; }
4850 if ${ac_cv_prog_ac_ct_LD+:} false
; then :
4851 $as_echo_n "(cached) " >&6
4853 if test -n "$ac_ct_LD"; then
4854 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
4856 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4860 test -z "$as_dir" && as_dir
=.
4861 for ac_exec_ext
in '' $ac_executable_extensions; do
4862 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4863 ac_cv_prog_ac_ct_LD
="ld"
4864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4873 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
4874 if test -n "$ac_ct_LD"; then
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4876 $as_echo "$ac_ct_LD" >&6; }
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4879 $as_echo "no" >&6; }
4882 if test "x$ac_ct_LD" = x
; then
4885 case $cross_compiling:$ac_tool_warned in
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4888 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4889 ac_tool_warned
=yes ;;
4900 if test "x$enable_win64" = "xyes"
4905 notice_platform
="64-bit "
4912 notice_platform
="32-bit "
4915 enable_win16
=${enable_win16:-yes}
4917 with_fontconfig
=${with_fontconfig:-no}
4920 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4925 $as_echo_n "checking whether $CC works... " >&6; }
4927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4928 /* end confdefs.h. */
4938 if ac_fn_c_try_link
"$LINENO"; then :
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4940 $as_echo "yes" >&6; }
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4943 $as_echo "no" >&6; }
4944 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4946 rm -f core conftest.err conftest.
$ac_objext \
4947 conftest
$ac_exeext conftest.
$ac_ext
4949 notice_platform
="32-bit "
4952 enable_win16
=${enable_win16:-yes}
4954 if test "x${GCC}" = "xyes"
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4957 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4959 /* end confdefs.h. */
4964 void func(__builtin_ms_va_list *args);
4969 if ac_fn_c_try_compile
"$LINENO"; then :
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4971 $as_echo "yes" >&6; }
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4974 $as_echo "no" >&6; }
4975 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4977 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4986 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4988 /* end confdefs.h. */
4989 int ac_test(int i) { return i; }
4993 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4998 if ac_fn_c_try_link
"$LINENO"; then :
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5000 $as_echo "yes" >&6; }
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5003 $as_echo "no" >&6; }
5004 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5006 rm -f core conftest.err conftest.
$ac_objext \
5007 conftest
$ac_exeext conftest.
$ac_ext
5008 CFLAGS
="$CFLAGS -marm"
5012 *-mingw32*|
*-cygwin*)
5013 enable_win16
=${enable_win16:-no}
5014 CFLAGS
="$CFLAGS -D_WIN32"
5017 enable_win16
=${enable_win16:-yes}
5021 enable_win16
=${enable_win16:-no}
5022 enable_win64
=${enable_win64:-no}
5024 enable_winetest
=${enable_winetest:-$enable_tests}
5026 if test -n "$with_wine64"
5028 if test "x$enable_win64" = "xyes"
5030 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
5031 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5033 enable_fonts
=${enable_fonts:-no}
5034 enable_server
=${enable_server:-no}
5035 elif test "x$enable_win64" = "xyes"
5037 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5041 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5042 if ${wine_cv_toolsdir+:} false
; then :
5043 $as_echo_n "(cached) " >&6
5045 wine_cv_toolsdir
="$with_wine_tools"
5046 if test -z "$with_wine_tools"; then
5047 if test "$cross_compiling" = "yes"; then
5048 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5049 elif test -n "$with_wine64"; then
5050 wine_cv_toolsdir
="$with_wine64"
5053 if test -z "$wine_cv_toolsdir"; then
5054 wine_makedep
=tools
/makedep
5055 wine_cv_toolsdir
="\$(top_builddir)"
5056 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5057 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
5058 case "$wine_cv_toolsdir" in
5060 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
5062 enable_tools
=${enable_tools:-no}
5063 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5065 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5069 $as_echo "$wine_cv_toolsdir" >&6; }
5070 TOOLSDIR
=$wine_cv_toolsdir
5072 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5074 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
5080 # Extract the first word of "$ac_prog", so it can be a program name with args.
5081 set dummy
$ac_prog; ac_word
=$2
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5083 $as_echo_n "checking for $ac_word... " >&6; }
5084 if ${ac_cv_prog_FLEX+:} false
; then :
5085 $as_echo_n "(cached) " >&6
5087 if test -n "$FLEX"; then
5088 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5090 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5094 test -z "$as_dir" && as_dir
=.
5095 for ac_exec_ext
in '' $ac_executable_extensions; do
5096 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5097 ac_cv_prog_FLEX
="$ac_prog"
5098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5107 FLEX
=$ac_cv_prog_FLEX
5108 if test -n "$FLEX"; then
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5110 $as_echo "$FLEX" >&6; }
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5113 $as_echo "no" >&6; }
5117 test -n "$FLEX" && break
5119 test -n "$FLEX" || FLEX
="none"
5121 if test "$FLEX" = "none"
5123 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5126 $as_echo_n "checking whether flex is recent enough... " >&6; }
5127 cat >conftest.l
<<EOF
5129 #include "prediluvian.h"
5133 if $FLEX -t conftest.l
>/dev
/null
2>&5
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5136 $as_echo "yes" >&6; }
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5139 $as_echo "no" >&6; }
5140 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5143 for ac_prog
in bison
5145 # Extract the first word of "$ac_prog", so it can be a program name with args.
5146 set dummy
$ac_prog; ac_word
=$2
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5148 $as_echo_n "checking for $ac_word... " >&6; }
5149 if ${ac_cv_prog_BISON+:} false
; then :
5150 $as_echo_n "(cached) " >&6
5152 if test -n "$BISON"; then
5153 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5159 test -z "$as_dir" && as_dir
=.
5160 for ac_exec_ext
in '' $ac_executable_extensions; do
5161 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5162 ac_cv_prog_BISON
="$ac_prog"
5163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5172 BISON
=$ac_cv_prog_BISON
5173 if test -n "$BISON"; then
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5175 $as_echo "$BISON" >&6; }
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5178 $as_echo "no" >&6; }
5182 test -n "$BISON" && break
5184 test -n "$BISON" || BISON
="none"
5186 if test "$BISON" = "none"
5188 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5191 if test -n "$ac_tool_prefix"; then
5192 for ac_prog
in ar gar
5194 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5195 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5197 $as_echo_n "checking for $ac_word... " >&6; }
5198 if ${ac_cv_prog_AR+:} false
; then :
5199 $as_echo_n "(cached) " >&6
5201 if test -n "$AR"; then
5202 ac_cv_prog_AR
="$AR" # Let the user override the test.
5204 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5208 test -z "$as_dir" && as_dir
=.
5209 for ac_exec_ext
in '' $ac_executable_extensions; do
5210 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5211 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5222 if test -n "$AR"; then
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5224 $as_echo "$AR" >&6; }
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5227 $as_echo "no" >&6; }
5231 test -n "$AR" && break
5234 if test -z "$AR"; then
5236 for ac_prog
in ar gar
5238 # Extract the first word of "$ac_prog", so it can be a program name with args.
5239 set dummy
$ac_prog; ac_word
=$2
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5241 $as_echo_n "checking for $ac_word... " >&6; }
5242 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5243 $as_echo_n "(cached) " >&6
5245 if test -n "$ac_ct_AR"; then
5246 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5248 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5252 test -z "$as_dir" && as_dir
=.
5253 for ac_exec_ext
in '' $ac_executable_extensions; do
5254 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5255 ac_cv_prog_ac_ct_AR
="$ac_prog"
5256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5265 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5266 if test -n "$ac_ct_AR"; then
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5268 $as_echo "$ac_ct_AR" >&6; }
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5271 $as_echo "no" >&6; }
5275 test -n "$ac_ct_AR" && break
5278 if test "x$ac_ct_AR" = x
; then
5281 case $cross_compiling:$ac_tool_warned in
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5284 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5285 ac_tool_warned
=yes ;;
5291 if test -n "$ac_tool_prefix"; then
5292 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5293 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5295 $as_echo_n "checking for $ac_word... " >&6; }
5296 if ${ac_cv_prog_STRIP+:} false
; then :
5297 $as_echo_n "(cached) " >&6
5299 if test -n "$STRIP"; then
5300 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5302 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5306 test -z "$as_dir" && as_dir
=.
5307 for ac_exec_ext
in '' $ac_executable_extensions; do
5308 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5309 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5319 STRIP
=$ac_cv_prog_STRIP
5320 if test -n "$STRIP"; then
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5322 $as_echo "$STRIP" >&6; }
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5325 $as_echo "no" >&6; }
5330 if test -z "$ac_cv_prog_STRIP"; then
5332 # Extract the first word of "strip", so it can be a program name with args.
5333 set dummy strip
; ac_word
=$2
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5335 $as_echo_n "checking for $ac_word... " >&6; }
5336 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5337 $as_echo_n "(cached) " >&6
5339 if test -n "$ac_ct_STRIP"; then
5340 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5342 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5346 test -z "$as_dir" && as_dir
=.
5347 for ac_exec_ext
in '' $ac_executable_extensions; do
5348 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5349 ac_cv_prog_ac_ct_STRIP
="strip"
5350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5359 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5360 if test -n "$ac_ct_STRIP"; then
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5362 $as_echo "$ac_ct_STRIP" >&6; }
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5365 $as_echo "no" >&6; }
5368 if test "x$ac_ct_STRIP" = x
; then
5371 case $cross_compiling:$ac_tool_warned in
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5374 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5375 ac_tool_warned
=yes ;;
5380 STRIP
="$ac_cv_prog_STRIP"
5385 if test -n "$ac_tool_prefix"; then
5386 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5387 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5389 $as_echo_n "checking for $ac_word... " >&6; }
5390 if ${ac_cv_prog_RANLIB+:} false
; then :
5391 $as_echo_n "(cached) " >&6
5393 if test -n "$RANLIB"; then
5394 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5396 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5400 test -z "$as_dir" && as_dir
=.
5401 for ac_exec_ext
in '' $ac_executable_extensions; do
5402 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5403 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5413 RANLIB
=$ac_cv_prog_RANLIB
5414 if test -n "$RANLIB"; then
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5416 $as_echo "$RANLIB" >&6; }
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5419 $as_echo "no" >&6; }
5424 if test -z "$ac_cv_prog_RANLIB"; then
5425 ac_ct_RANLIB
=$RANLIB
5426 # Extract the first word of "ranlib", so it can be a program name with args.
5427 set dummy ranlib
; ac_word
=$2
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5429 $as_echo_n "checking for $ac_word... " >&6; }
5430 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5431 $as_echo_n "(cached) " >&6
5433 if test -n "$ac_ct_RANLIB"; then
5434 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5440 test -z "$as_dir" && as_dir
=.
5441 for ac_exec_ext
in '' $ac_executable_extensions; do
5442 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5443 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5453 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5454 if test -n "$ac_ct_RANLIB"; then
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5456 $as_echo "$ac_ct_RANLIB" >&6; }
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5459 $as_echo "no" >&6; }
5462 if test "x$ac_ct_RANLIB" = x
; then
5465 case $cross_compiling:$ac_tool_warned in
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5468 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5469 ac_tool_warned
=yes ;;
5471 RANLIB
=$ac_ct_RANLIB
5474 RANLIB
="$ac_cv_prog_RANLIB"
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5478 $as_echo_n "checking whether ln -s works... " >&6; }
5480 if test "$LN_S" = "ln -s"; then
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5482 $as_echo "yes" >&6; }
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5485 $as_echo "no, using $LN_S" >&6; }
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5489 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5490 if ${ac_cv_path_GREP+:} false
; then :
5491 $as_echo_n "(cached) " >&6
5493 if test -z "$GREP"; then
5494 ac_path_GREP_found
=false
5495 # Loop through the user's path and test for each of PROGNAME-LIST
5496 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5497 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5500 test -z "$as_dir" && as_dir
=.
5501 for ac_prog
in grep ggrep
; do
5502 for ac_exec_ext
in '' $ac_executable_extensions; do
5503 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5504 as_fn_executable_p
"$ac_path_GREP" ||
continue
5505 # Check for GNU ac_path_GREP and select it if it is found.
5506 # Check for GNU $ac_path_GREP
5507 case `"$ac_path_GREP" --version 2>&1` in
5509 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5512 $as_echo_n 0123456789 >"conftest.in"
5515 cat "conftest.in" "conftest.in" >"conftest.tmp"
5516 mv "conftest.tmp" "conftest.in"
5517 cp "conftest.in" "conftest.nl"
5518 $as_echo 'GREP' >> "conftest.nl"
5519 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5520 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5521 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5522 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5523 # Best one so far, save it but keep looking for a better one
5524 ac_cv_path_GREP
="$ac_path_GREP"
5525 ac_path_GREP_max
=$ac_count
5527 # 10*(2^10) chars as input seems more than enough
5528 test $ac_count -gt 10 && break
5530 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5533 $ac_path_GREP_found && break 3
5538 if test -z "$ac_cv_path_GREP"; then
5539 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5542 ac_cv_path_GREP
=$GREP
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5547 $as_echo "$ac_cv_path_GREP" >&6; }
5548 GREP
="$ac_cv_path_GREP"
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5552 $as_echo_n "checking for egrep... " >&6; }
5553 if ${ac_cv_path_EGREP+:} false
; then :
5554 $as_echo_n "(cached) " >&6
5556 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5557 then ac_cv_path_EGREP
="$GREP -E"
5559 if test -z "$EGREP"; then
5560 ac_path_EGREP_found
=false
5561 # Loop through the user's path and test for each of PROGNAME-LIST
5562 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5563 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5566 test -z "$as_dir" && as_dir
=.
5567 for ac_prog
in egrep; do
5568 for ac_exec_ext
in '' $ac_executable_extensions; do
5569 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5570 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5571 # Check for GNU ac_path_EGREP and select it if it is found.
5572 # Check for GNU $ac_path_EGREP
5573 case `"$ac_path_EGREP" --version 2>&1` in
5575 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5578 $as_echo_n 0123456789 >"conftest.in"
5581 cat "conftest.in" "conftest.in" >"conftest.tmp"
5582 mv "conftest.tmp" "conftest.in"
5583 cp "conftest.in" "conftest.nl"
5584 $as_echo 'EGREP' >> "conftest.nl"
5585 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5586 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5587 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5588 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5589 # Best one so far, save it but keep looking for a better one
5590 ac_cv_path_EGREP
="$ac_path_EGREP"
5591 ac_path_EGREP_max
=$ac_count
5593 # 10*(2^10) chars as input seems more than enough
5594 test $ac_count -gt 10 && break
5596 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5599 $ac_path_EGREP_found && break 3
5604 if test -z "$ac_cv_path_EGREP"; then
5605 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5608 ac_cv_path_EGREP
=$EGREP
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5614 $as_echo "$ac_cv_path_EGREP" >&6; }
5615 EGREP
="$ac_cv_path_EGREP"
5618 # Extract the first word of "ldconfig", so it can be a program name with args.
5619 set dummy ldconfig
; ac_word
=$2
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5621 $as_echo_n "checking for $ac_word... " >&6; }
5622 if ${ac_cv_path_LDCONFIG+:} false
; then :
5623 $as_echo_n "(cached) " >&6
5627 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5630 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5631 for as_dir
in /sbin
/usr
/sbin
$PATH
5634 test -z "$as_dir" && as_dir
=.
5635 for ac_exec_ext
in '' $ac_executable_extensions; do
5636 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5637 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5645 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5649 LDCONFIG
=$ac_cv_path_LDCONFIG
5650 if test -n "$LDCONFIG"; then
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5652 $as_echo "$LDCONFIG" >&6; }
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5655 $as_echo "no" >&6; }
5659 for ac_prog
in msgfmt
5661 # Extract the first word of "$ac_prog", so it can be a program name with args.
5662 set dummy
$ac_prog; ac_word
=$2
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5664 $as_echo_n "checking for $ac_word... " >&6; }
5665 if ${ac_cv_prog_MSGFMT+:} false
; then :
5666 $as_echo_n "(cached) " >&6
5668 if test -n "$MSGFMT"; then
5669 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5675 test -z "$as_dir" && as_dir
=.
5676 for ac_exec_ext
in '' $ac_executable_extensions; do
5677 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5678 ac_cv_prog_MSGFMT
="$ac_prog"
5679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5688 MSGFMT
=$ac_cv_prog_MSGFMT
5689 if test -n "$MSGFMT"; then
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5691 $as_echo "$MSGFMT" >&6; }
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5694 $as_echo "no" >&6; }
5698 test -n "$MSGFMT" && break
5700 test -n "$MSGFMT" || MSGFMT
="false"
5702 if ${ac_tool_prefix+:} false
; then :
5703 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5704 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5706 $as_echo_n "checking for $ac_word... " >&6; }
5707 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5708 $as_echo_n "(cached) " >&6
5710 if test -n "$PKG_CONFIG"; then
5711 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5717 test -z "$as_dir" && as_dir
=.
5718 for ac_exec_ext
in '' $ac_executable_extensions; do
5719 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5720 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5730 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5731 if test -n "$PKG_CONFIG"; then
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5733 $as_echo "$PKG_CONFIG" >&6; }
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5736 $as_echo "no" >&6; }
5741 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5742 if test "x$cross_compiling" = xyes
; then :
5745 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5746 # Extract the first word of "pkg-config", so it can be a program name with args.
5747 set dummy pkg-config
; ac_word
=$2
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5749 $as_echo_n "checking for $ac_word... " >&6; }
5750 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5751 $as_echo_n "(cached) " >&6
5753 if test -n "$PKG_CONFIG"; then
5754 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5760 test -z "$as_dir" && as_dir
=.
5761 for ac_exec_ext
in '' $ac_executable_extensions; do
5762 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5763 ac_cv_prog_PKG_CONFIG
="pkg-config"
5764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5773 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5774 if test -n "$PKG_CONFIG"; then
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5776 $as_echo "$PKG_CONFIG" >&6; }
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5779 $as_echo "no" >&6; }
5785 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5788 if test "x$enable_maintainer_mode" != "xyes"
5795 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5796 for ac_prog
in fontforge
5798 # Extract the first word of "$ac_prog", so it can be a program name with args.
5799 set dummy
$ac_prog; ac_word
=$2
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5801 $as_echo_n "checking for $ac_word... " >&6; }
5802 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5803 $as_echo_n "(cached) " >&6
5805 if test -n "$FONTFORGE"; then
5806 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5812 test -z "$as_dir" && as_dir
=.
5813 for ac_exec_ext
in '' $ac_executable_extensions; do
5814 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5815 ac_cv_prog_FONTFORGE
="$ac_prog"
5816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5825 FONTFORGE
=$ac_cv_prog_FONTFORGE
5826 if test -n "$FONTFORGE"; then
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5828 $as_echo "$FONTFORGE" >&6; }
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5831 $as_echo "no" >&6; }
5835 test -n "$FONTFORGE" && break
5837 test -n "$FONTFORGE" || FONTFORGE
="false"
5839 for ac_prog
in rsvg-convert rsvg
5841 # Extract the first word of "$ac_prog", so it can be a program name with args.
5842 set dummy
$ac_prog; ac_word
=$2
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5844 $as_echo_n "checking for $ac_word... " >&6; }
5845 if ${ac_cv_prog_RSVG+:} false
; then :
5846 $as_echo_n "(cached) " >&6
5848 if test -n "$RSVG"; then
5849 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5851 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5855 test -z "$as_dir" && as_dir
=.
5856 for ac_exec_ext
in '' $ac_executable_extensions; do
5857 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5858 ac_cv_prog_RSVG
="$ac_prog"
5859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5868 RSVG
=$ac_cv_prog_RSVG
5869 if test -n "$RSVG"; then
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5871 $as_echo "$RSVG" >&6; }
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5874 $as_echo "no" >&6; }
5878 test -n "$RSVG" && break
5880 test -n "$RSVG" || RSVG
="false"
5882 for ac_prog
in convert
5884 # Extract the first word of "$ac_prog", so it can be a program name with args.
5885 set dummy
$ac_prog; ac_word
=$2
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5887 $as_echo_n "checking for $ac_word... " >&6; }
5888 if ${ac_cv_prog_CONVERT+:} false
; then :
5889 $as_echo_n "(cached) " >&6
5891 if test -n "$CONVERT"; then
5892 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5898 test -z "$as_dir" && as_dir
=.
5899 for ac_exec_ext
in '' $ac_executable_extensions; do
5900 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5901 ac_cv_prog_CONVERT
="$ac_prog"
5902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5911 CONVERT
=$ac_cv_prog_CONVERT
5912 if test -n "$CONVERT"; then
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5914 $as_echo "$CONVERT" >&6; }
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5917 $as_echo "no" >&6; }
5921 test -n "$CONVERT" && break
5923 test -n "$CONVERT" || CONVERT
="false"
5925 for ac_prog
in icotool
5927 # Extract the first word of "$ac_prog", so it can be a program name with args.
5928 set dummy
$ac_prog; ac_word
=$2
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5930 $as_echo_n "checking for $ac_word... " >&6; }
5931 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5932 $as_echo_n "(cached) " >&6
5934 if test -n "$ICOTOOL"; then
5935 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5941 test -z "$as_dir" && as_dir
=.
5942 for ac_exec_ext
in '' $ac_executable_extensions; do
5943 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5944 ac_cv_prog_ICOTOOL
="$ac_prog"
5945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5954 ICOTOOL
=$ac_cv_prog_ICOTOOL
5955 if test -n "$ICOTOOL"; then
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5957 $as_echo "$ICOTOOL" >&6; }
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5960 $as_echo "no" >&6; }
5964 test -n "$ICOTOOL" && break
5966 test -n "$ICOTOOL" || ICOTOOL
="false"
5968 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5969 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5971 if test "$CONVERT" = false
5973 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5976 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5977 convert_version
=`convert --version | head -n1`
5978 if test "x$convert_version" != "x"
5980 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5981 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5982 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5987 if test "$CONVERT" = false
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5990 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5991 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5994 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5998 if test "$ICOTOOL" = false
6000 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6003 $as_echo_n "checking for recent enough icotool... " >&6; }
6004 icotool_version
=`icotool --version | head -n1`
6005 if test "x$icotool_version" != "x"
6007 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6008 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6009 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6012 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
6015 if test "$ICOTOOL" = false
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6018 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6019 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6022 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6028 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
6031 test "x$with_gettext" != xno || MSGFMT
=false
6032 if test "$MSGFMT" != "false"
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6035 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6036 cat >conftest.po
<<EOF
6042 if $MSGFMT -o /dev
/null conftest.po
2>&5
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6045 $as_echo "yes" >&6; }
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6048 $as_echo "no" >&6; }
6052 if test "$MSGFMT" = false
; then :
6053 case "x$with_gettext" in
6054 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
6056 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
6057 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6063 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6064 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
6065 $as_echo_n "(cached) " >&6
6067 ac_check_lib_save_LIBS
=$LIBS
6069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6070 /* end confdefs.h. */
6072 /* Override any GCC internal prototype to avoid an error.
6073 Use char because int might match the return type of a GCC
6074 builtin and then its argument prototype would still apply. */
6078 char i386_set_ldt ();
6082 return i386_set_ldt ();
6087 if ac_fn_c_try_link
"$LINENO"; then :
6088 ac_cv_lib_i386_i386_set_ldt
=yes
6090 ac_cv_lib_i386_i386_set_ldt
=no
6092 rm -f core conftest.err conftest.
$ac_objext \
6093 conftest
$ac_exeext conftest.
$ac_ext
6094 LIBS
=$ac_check_lib_save_LIBS
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6097 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6098 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
6099 cat >>confdefs.h
<<_ACEOF
6100 #define HAVE_LIBI386 1
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6108 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6109 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
6110 $as_echo_n "(cached) " >&6
6112 ac_check_lib_save_LIBS
=$LIBS
6113 LIBS
="-lossaudio $LIBS"
6114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6115 /* end confdefs.h. */
6117 /* Override any GCC internal prototype to avoid an error.
6118 Use char because int might match the return type of a GCC
6119 builtin and then its argument prototype would still apply. */
6127 return _oss_ioctl ();
6132 if ac_fn_c_try_link
"$LINENO"; then :
6133 ac_cv_lib_ossaudio__oss_ioctl
=yes
6135 ac_cv_lib_ossaudio__oss_ioctl
=no
6137 rm -f core conftest.err conftest.
$ac_objext \
6138 conftest
$ac_exeext conftest.
$ac_ext
6139 LIBS
=$ac_check_lib_save_LIBS
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6142 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6143 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
6144 cat >>confdefs.h
<<_ACEOF
6145 #define HAVE_LIBOSSAUDIO 1
6148 LIBS
="-lossaudio $LIBS"
6157 # Check whether --enable-largefile was given.
6158 if test "${enable_largefile+set}" = set; then :
6159 enableval
=$enable_largefile;
6162 if test "$enable_largefile" != no
; then
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6165 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6166 if ${ac_cv_sys_largefile_CC+:} false
; then :
6167 $as_echo_n "(cached) " >&6
6169 ac_cv_sys_largefile_CC
=no
6170 if test "$GCC" != yes; then
6173 # IRIX 6.2 and later do not support large files by default,
6174 # so use the C compiler's -n32 option if that helps.
6175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6176 /* end confdefs.h. */
6177 #include <sys/types.h>
6178 /* Check that off_t can represent 2**63 - 1 correctly.
6179 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6180 since some C++ compilers masquerading as C compilers
6181 incorrectly reject 9223372036854775807. */
6182 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6183 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6184 && LARGE_OFF_T % 2147483647 == 1)
6194 if ac_fn_c_try_compile
"$LINENO"; then :
6197 rm -f core conftest.err conftest.
$ac_objext
6199 if ac_fn_c_try_compile
"$LINENO"; then :
6200 ac_cv_sys_largefile_CC
=' -n32'; break
6202 rm -f core conftest.err conftest.
$ac_objext
6206 rm -f conftest.
$ac_ext
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6210 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6211 if test "$ac_cv_sys_largefile_CC" != no
; then
6212 CC
=$CC$ac_cv_sys_largefile_CC
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6216 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6217 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6218 $as_echo_n "(cached) " >&6
6221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6222 /* end confdefs.h. */
6223 #include <sys/types.h>
6224 /* Check that off_t can represent 2**63 - 1 correctly.
6225 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6226 since some C++ compilers masquerading as C compilers
6227 incorrectly reject 9223372036854775807. */
6228 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6229 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6230 && LARGE_OFF_T % 2147483647 == 1)
6240 if ac_fn_c_try_compile
"$LINENO"; then :
6241 ac_cv_sys_file_offset_bits
=no
; break
6243 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6245 /* end confdefs.h. */
6246 #define _FILE_OFFSET_BITS 64
6247 #include <sys/types.h>
6248 /* Check that off_t can represent 2**63 - 1 correctly.
6249 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6250 since some C++ compilers masquerading as C compilers
6251 incorrectly reject 9223372036854775807. */
6252 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6253 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6254 && LARGE_OFF_T % 2147483647 == 1)
6264 if ac_fn_c_try_compile
"$LINENO"; then :
6265 ac_cv_sys_file_offset_bits
=64; break
6267 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6268 ac_cv_sys_file_offset_bits
=unknown
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6273 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6274 case $ac_cv_sys_file_offset_bits in #(
6277 cat >>confdefs.h
<<_ACEOF
6278 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6283 if test $ac_cv_sys_file_offset_bits = unknown
; then
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6285 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6286 if ${ac_cv_sys_large_files+:} false
; then :
6287 $as_echo_n "(cached) " >&6
6290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6291 /* end confdefs.h. */
6292 #include <sys/types.h>
6293 /* Check that off_t can represent 2**63 - 1 correctly.
6294 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6295 since some C++ compilers masquerading as C compilers
6296 incorrectly reject 9223372036854775807. */
6297 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6298 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6299 && LARGE_OFF_T % 2147483647 == 1)
6309 if ac_fn_c_try_compile
"$LINENO"; then :
6310 ac_cv_sys_large_files
=no
; break
6312 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6314 /* end confdefs.h. */
6315 #define _LARGE_FILES 1
6316 #include <sys/types.h>
6317 /* Check that off_t can represent 2**63 - 1 correctly.
6318 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6319 since some C++ compilers masquerading as C compilers
6320 incorrectly reject 9223372036854775807. */
6321 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6322 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6323 && LARGE_OFF_T % 2147483647 == 1)
6333 if ac_fn_c_try_compile
"$LINENO"; then :
6334 ac_cv_sys_large_files
=1; break
6336 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6337 ac_cv_sys_large_files
=unknown
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6342 $as_echo "$ac_cv_sys_large_files" >&6; }
6343 case $ac_cv_sys_large_files in #(
6346 cat >>confdefs.h
<<_ACEOF
6347 #define _LARGE_FILES $ac_cv_sys_large_files
6359 ac_cpp
='$CPP $CPPFLAGS'
6360 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6361 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6362 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6364 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6365 # On Suns, sometimes $CPP names a directory.
6366 if test -n "$CPP" && test -d "$CPP"; then
6369 if test -z "$CPP"; then
6370 if ${ac_cv_prog_CPP+:} false
; then :
6371 $as_echo_n "(cached) " >&6
6373 # Double quotes because CPP needs to be expanded
6374 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6377 for ac_c_preproc_warn_flag
in '' yes
6379 # Use a header file that comes with gcc, so configuring glibc
6380 # with a fresh cross-compiler works.
6381 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6382 # <limits.h> exists even on freestanding compilers.
6383 # On the NeXT, cc -E runs the code through the compiler's parser,
6384 # not just through cpp. "Syntax error" is here to catch this case.
6385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6386 /* end confdefs.h. */
6388 # include <limits.h>
6390 # include <assert.h>
6394 if ac_fn_c_try_cpp
"$LINENO"; then :
6397 # Broken: fails on valid input.
6400 rm -f conftest.err conftest.i conftest.
$ac_ext
6402 # OK, works on sane cases. Now check whether nonexistent headers
6403 # can be detected and how.
6404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6405 /* end confdefs.h. */
6406 #include <ac_nonexistent.h>
6408 if ac_fn_c_try_cpp
"$LINENO"; then :
6409 # Broken: success on invalid input.
6412 # Passes both tests.
6416 rm -f conftest.err conftest.i conftest.
$ac_ext
6419 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6420 rm -f conftest.i conftest.err conftest.
$ac_ext
6421 if $ac_preproc_ok; then :
6433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6434 $as_echo "$CPP" >&6; }
6436 for ac_c_preproc_warn_flag
in '' yes
6438 # Use a header file that comes with gcc, so configuring glibc
6439 # with a fresh cross-compiler works.
6440 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6441 # <limits.h> exists even on freestanding compilers.
6442 # On the NeXT, cc -E runs the code through the compiler's parser,
6443 # not just through cpp. "Syntax error" is here to catch this case.
6444 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6445 /* end confdefs.h. */
6447 # include <limits.h>
6449 # include <assert.h>
6453 if ac_fn_c_try_cpp
"$LINENO"; then :
6456 # Broken: fails on valid input.
6459 rm -f conftest.err conftest.i conftest.
$ac_ext
6461 # OK, works on sane cases. Now check whether nonexistent headers
6462 # can be detected and how.
6463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6464 /* end confdefs.h. */
6465 #include <ac_nonexistent.h>
6467 if ac_fn_c_try_cpp
"$LINENO"; then :
6468 # Broken: success on invalid input.
6471 # Passes both tests.
6475 rm -f conftest.err conftest.i conftest.
$ac_ext
6478 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6479 rm -f conftest.i conftest.err conftest.
$ac_ext
6480 if $ac_preproc_ok; then :
6483 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6484 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6485 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6486 See \`config.log' for more details" "$LINENO" 5; }
6490 ac_cpp
='$CPP $CPPFLAGS'
6491 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6492 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6493 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6497 $as_echo_n "checking for ANSI C header files... " >&6; }
6498 if ${ac_cv_header_stdc+:} false
; then :
6499 $as_echo_n "(cached) " >&6
6501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6502 /* end confdefs.h. */
6516 if ac_fn_c_try_compile
"$LINENO"; then :
6517 ac_cv_header_stdc
=yes
6519 ac_cv_header_stdc
=no
6521 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6523 if test $ac_cv_header_stdc = yes; then
6524 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6525 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6526 /* end confdefs.h. */
6530 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6531 $EGREP "memchr" >/dev
/null
2>&1; then :
6534 ac_cv_header_stdc
=no
6540 if test $ac_cv_header_stdc = yes; then
6541 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6542 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6543 /* end confdefs.h. */
6547 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6548 $EGREP "free" >/dev
/null
2>&1; then :
6551 ac_cv_header_stdc
=no
6557 if test $ac_cv_header_stdc = yes; then
6558 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6559 if test "$cross_compiling" = yes; then :
6562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6563 /* end confdefs.h. */
6566 #if ((' ' & 0x0FF) == 0x020)
6567 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6568 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6570 # define ISLOWER(c) \
6571 (('a' <= (c) && (c) <= 'i') \
6572 || ('j' <= (c) && (c) <= 'r') \
6573 || ('s' <= (c) && (c) <= 'z'))
6574 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6577 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6582 for (i = 0; i < 256; i++)
6583 if (XOR (islower (i), ISLOWER (i))
6584 || toupper (i) != TOUPPER (i))
6589 if ac_fn_c_try_run
"$LINENO"; then :
6592 ac_cv_header_stdc
=no
6594 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6595 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6601 $as_echo "$ac_cv_header_stdc" >&6; }
6602 if test $ac_cv_header_stdc = yes; then
6604 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6608 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6609 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6610 inttypes.h stdint.h unistd.h
6612 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6613 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6615 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6616 cat >>confdefs.h
<<_ACEOF
6617 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6627 ApplicationServices
/ApplicationServices.h \
6628 AudioToolbox
/AudioConverter.h \
6629 AudioUnit
/AudioUnit.h \
6630 AudioUnit
/AudioComponent.h \
6633 CoreAudio
/CoreAudio.h \
6634 CoreServices
/CoreServices.h \
6635 DiskArbitration
/DiskArbitration.h \
6637 IOKit
/hid
/IOHIDLib.h \
6640 QuickTime
/ImageCompression.h \
6641 Security
/Security.h \
6692 netinet
/in_systm.h \
6755 valgrind
/memcheck.h \
6756 valgrind
/valgrind.h \
6760 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6761 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6762 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6763 cat >>confdefs.h
<<_ACEOF
6764 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6772 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6773 if ${ac_cv_header_stat_broken+:} false
; then :
6774 $as_echo_n "(cached) " >&6
6776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6777 /* end confdefs.h. */
6778 #include <sys/types.h>
6779 #include <sys/stat.h>
6781 #if defined S_ISBLK && defined S_IFDIR
6782 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6785 #if defined S_ISBLK && defined S_IFCHR
6786 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6789 #if defined S_ISLNK && defined S_IFREG
6790 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6793 #if defined S_ISSOCK && defined S_IFREG
6794 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6798 if ac_fn_c_try_compile
"$LINENO"; then :
6799 ac_cv_header_stat_broken
=no
6801 ac_cv_header_stat_broken
=yes
6803 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6806 $as_echo "$ac_cv_header_stat_broken" >&6; }
6807 if test $ac_cv_header_stat_broken = yes; then
6809 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6815 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6817 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6818 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6819 #ifdef HAVE_SYS_PARAM_H
6820 # include <sys/param.h>
6823 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6824 cat >>confdefs.h
<<_ACEOF
6825 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6840 netinet
/if_ether.h \
6841 netinet
/if_inarp.h \
6850 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6851 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6852 #ifdef HAVE_SYS_SOCKET_H
6853 # include <sys/socket.h>
6855 #ifdef HAVE_SYS_SOCKETVAR_H
6856 # include <sys/socketvar.h>
6858 #ifdef HAVE_NET_ROUTE_H
6859 # include <net/route.h>
6861 #ifdef HAVE_NETINET_IN_H
6862 # include <netinet/in.h>
6864 #ifdef HAVE_NETINET_IN_SYSTM_H
6865 # include <netinet/in_systm.h>
6867 #ifdef HAVE_NET_IF_H
6868 # include <net/if.h>
6870 #ifdef HAVE_NETINET_IP_H
6871 # include <netinet/ip.h>
6874 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6875 cat >>confdefs.h
<<_ACEOF
6876 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6884 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6886 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6887 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6891 #ifdef HAVE_SYS_SOCKET_H
6892 # include <sys/socket.h>
6894 #ifdef HAVE_SYS_SOCKETVAR_H
6895 # include <sys/socketvar.h>
6897 #ifdef HAVE_SYS_TIMEOUT_H
6898 # include <sys/timeout.h>
6900 #ifdef HAVE_NETINET_IN_H
6901 # include <netinet/in.h>
6903 #ifdef HAVE_NETINET_IN_SYSTM_H
6904 # include <netinet/in_systm.h>
6906 #ifdef HAVE_NETINET_IP_H
6907 # include <netinet/ip.h>
6909 #ifdef HAVE_NETINET_IP_VAR_H
6910 # include <netinet/ip_var.h>
6912 #ifdef HAVE_NETINET_IP_ICMP_H
6913 # include <netinet/ip_icmp.h>
6915 #ifdef HAVE_NETINET_UDP_H
6916 # include <netinet/udp.h>
6918 #ifdef HAVE_NETINET_TCP_H
6919 # include <netinet/tcp.h>
6921 #ifdef HAVE_NETINET_TCP_TIMER_H
6922 #include <netinet/tcp_timer.h>
6925 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6926 cat >>confdefs.h
<<_ACEOF
6927 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6935 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6937 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6938 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6939 #ifdef HAVE_ASM_TYPES_H
6940 # include <asm/types.h>
6942 #ifdef HAVE_SYS_SOCKET_H
6943 # include <sys/socket.h>
6945 #ifdef HAVE_LINUX_TYPES_H
6946 # include <linux/types.h>
6949 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6950 cat >>confdefs.h
<<_ACEOF
6951 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6959 for ac_header
in mach-o
/dyld_images.h
6961 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6962 # include <stdbool.h>
6964 #ifdef HAVE_STDINT_H
6965 # include <stdint.h>
6968 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6969 cat >>confdefs.h
<<_ACEOF
6970 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6978 for ac_header
in resolv.h
6980 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6981 #ifdef HAVE_SYS_SOCKET_H
6982 # include <sys/socket.h>
6984 #ifdef HAVE_NETINET_IN_H
6985 # include <netinet/in.h>
6987 #ifdef HAVE_ARPA_NAMESER_H
6988 # include <arpa/nameser.h>
6991 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6992 cat >>confdefs.h
<<_ACEOF
6993 #define HAVE_RESOLV_H 1
7001 for ac_header
in ifaddrs.h
7003 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7005 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
7006 cat >>confdefs.h
<<_ACEOF
7007 #define HAVE_IFADDRS_H 1
7015 for ac_header
in sys
/ucontext.h
7017 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7019 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
7020 cat >>confdefs.h
<<_ACEOF
7021 #define HAVE_SYS_UCONTEXT_H 1
7029 for ac_header
in sys
/thr.h
7031 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7032 #ifdef HAVE_SYS_UCONTEXT_H
7033 #include <sys/ucontext.h>
7036 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
7037 cat >>confdefs.h
<<_ACEOF
7038 #define HAVE_SYS_THR_H 1
7046 for ac_header
in pthread_np.h
7048 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7049 #include <pthread.h>
7052 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
7053 cat >>confdefs.h
<<_ACEOF
7054 #define HAVE_PTHREAD_NP_H 1
7062 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
7064 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7065 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7066 #include <sys/time.h>
7068 #include <sys/types.h>
7069 #ifdef HAVE_ASM_TYPES_H
7070 #include <asm/types.h>
7073 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7074 cat >>confdefs.h
<<_ACEOF
7075 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7083 for ac_header
in libprocstat.h
7085 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7086 #include <sys/param.h>
7088 #ifdef HAVE_SYS_QUEUE_H
7089 #include <sys/queue.h>
7091 #ifdef HAVE_SYS_SOCKET_H
7092 #include <sys/socket.h>
7095 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
7096 cat >>confdefs.h
<<_ACEOF
7097 #define HAVE_LIBPROCSTAT_H 1
7106 dlldir
="\${libdir}/wine"
7110 DLLFLAGS
="-D_REENTRANT"
7119 STATIC_IMPLIBEXT
="def.a"
7120 # Extract the first word of "ldd", so it can be a program name with args.
7121 set dummy ldd
; ac_word
=$2
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7123 $as_echo_n "checking for $ac_word... " >&6; }
7124 if ${ac_cv_path_LDD+:} false
; then :
7125 $as_echo_n "(cached) " >&6
7129 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7133 as_dummy
="/sbin:/usr/sbin:$PATH"
7134 for as_dir
in $as_dummy
7137 test -z "$as_dir" && as_dir
=.
7138 for ac_exec_ext
in '' $ac_executable_extensions; do
7139 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7140 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7148 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7153 if test -n "$LDD"; then
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7155 $as_echo "$LDD" >&6; }
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7158 $as_echo "no" >&6; }
7162 if test -n "$ac_tool_prefix"; then
7163 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7164 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7166 $as_echo_n "checking for $ac_word... " >&6; }
7167 if ${ac_cv_prog_OTOOL+:} false
; then :
7168 $as_echo_n "(cached) " >&6
7170 if test -n "$OTOOL"; then
7171 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7173 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7177 test -z "$as_dir" && as_dir
=.
7178 for ac_exec_ext
in '' $ac_executable_extensions; do
7179 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7180 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7190 OTOOL
=$ac_cv_prog_OTOOL
7191 if test -n "$OTOOL"; then
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7193 $as_echo "$OTOOL" >&6; }
7195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7196 $as_echo "no" >&6; }
7201 if test -z "$ac_cv_prog_OTOOL"; then
7203 # Extract the first word of "otool", so it can be a program name with args.
7204 set dummy otool
; ac_word
=$2
7205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7206 $as_echo_n "checking for $ac_word... " >&6; }
7207 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
7208 $as_echo_n "(cached) " >&6
7210 if test -n "$ac_ct_OTOOL"; then
7211 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7213 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7217 test -z "$as_dir" && as_dir
=.
7218 for ac_exec_ext
in '' $ac_executable_extensions; do
7219 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7220 ac_cv_prog_ac_ct_OTOOL
="otool"
7221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7230 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7231 if test -n "$ac_ct_OTOOL"; then
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7233 $as_echo "$ac_ct_OTOOL" >&6; }
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7236 $as_echo "no" >&6; }
7239 if test "x$ac_ct_OTOOL" = x
; then
7242 case $cross_compiling:$ac_tool_warned in
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7245 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7246 ac_tool_warned
=yes ;;
7251 OTOOL
="$ac_cv_prog_OTOOL"
7254 if test -n "$ac_tool_prefix"; then
7255 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7256 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7258 $as_echo_n "checking for $ac_word... " >&6; }
7259 if ${ac_cv_prog_READELF+:} false
; then :
7260 $as_echo_n "(cached) " >&6
7262 if test -n "$READELF"; then
7263 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7265 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7269 test -z "$as_dir" && as_dir
=.
7270 for ac_exec_ext
in '' $ac_executable_extensions; do
7271 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7272 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7282 READELF
=$ac_cv_prog_READELF
7283 if test -n "$READELF"; then
7284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7285 $as_echo "$READELF" >&6; }
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7288 $as_echo "no" >&6; }
7293 if test -z "$ac_cv_prog_READELF"; then
7294 ac_ct_READELF
=$READELF
7295 # Extract the first word of "readelf", so it can be a program name with args.
7296 set dummy readelf
; ac_word
=$2
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7298 $as_echo_n "checking for $ac_word... " >&6; }
7299 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7300 $as_echo_n "(cached) " >&6
7302 if test -n "$ac_ct_READELF"; then
7303 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7305 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7309 test -z "$as_dir" && as_dir
=.
7310 for ac_exec_ext
in '' $ac_executable_extensions; do
7311 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7312 ac_cv_prog_ac_ct_READELF
="readelf"
7313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7322 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7323 if test -n "$ac_ct_READELF"; then
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7325 $as_echo "$ac_ct_READELF" >&6; }
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7328 $as_echo "no" >&6; }
7331 if test "x$ac_ct_READELF" = x
; then
7334 case $cross_compiling:$ac_tool_warned in
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7337 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7338 ac_tool_warned
=yes ;;
7340 READELF
=$ac_ct_READELF
7343 READELF
="$ac_cv_prog_READELF"
7346 wine_rules_file
=conf$
$rules.
make
7347 rm -f $wine_rules_file
7349 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7350 ALL_TEST_RESOURCES
=""
7353 wine_fn_append_file
()
7355 as_fn_append
$1 " \\$as_nl $2"
7358 wine_fn_ignore_file
()
7361 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7362 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7363 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7367 wine_fn_append_rule
()
7369 $as_echo "$1" >>$wine_rules_file
7374 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7377 wine_fn_depend_rules
()
7379 wine_fn_append_rule \
7380 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7381 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7382 depend: $ac_dir/depend
7383 .PHONY: $ac_dir/depend
7384 $ac_dir/depend: \$(MAKEDEP) dummy
7385 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7388 wine_fn_pot_rules
()
7390 test "x$with_gettextpo" = xyes ||
return
7392 if wine_fn_has_flag mc
7394 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7395 wine_fn_append_rule \
7396 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7397 @cd $ac_dir && \$(MAKE) msg.pot
7398 $ac_dir/msg.pot: tools/wmc include"
7400 if wine_fn_has_flag po
7402 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7403 wine_fn_append_rule \
7404 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7405 @cd $ac_dir && \$(MAKE) rsrc.pot
7406 $ac_dir/rsrc.pot: tools/wrc include"
7410 wine_fn_all_rules
()
7412 wine_fn_depend_rules
7413 wine_fn_append_rule \
7416 $ac_dir: $ac_dir/Makefile dummy
7417 @cd $ac_dir && \$(MAKE)"
7420 wine_fn_install_rules
()
7422 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7424 wine_fn_append_rule \
7425 ".PHONY: $ac_dir/install $ac_dir/uninstall
7426 $ac_dir/install:: $ac_dir
7427 @cd $ac_dir && \$(MAKE) install
7428 $ac_dir/uninstall:: $ac_dir/Makefile
7429 @cd $ac_dir && \$(MAKE) uninstall
7430 install:: $ac_dir/install
7431 __uninstall__: $ac_dir/uninstall"
7433 if wine_fn_has_flag install-lib
7435 wine_fn_append_rule \
7436 ".PHONY: $ac_dir/install-lib
7437 $ac_dir/install-lib:: $ac_dir
7438 @cd $ac_dir && \$(MAKE) install-lib
7439 install-lib:: $ac_dir/install-lib"
7442 if wine_fn_has_flag install-dev
7444 wine_fn_append_rule \
7445 ".PHONY: $ac_dir/install-dev
7446 $ac_dir/install-dev:: $ac_dir
7447 @cd $ac_dir && \$(MAKE) install-dev
7448 install-dev:: $ac_dir/install-dev"
7452 wine_fn_clean_rules
()
7455 ac_extraclean
="$ac_dir/Makefile"
7456 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7458 */tests
) ac_extraclean
="$ac_extraclean $ac_dir/testlist.c" ;;
7461 if wine_fn_has_flag clean
7463 wine_fn_append_rule \
7464 "__clean__: $ac_dir/clean
7465 .PHONY: $ac_dir/clean
7466 $ac_dir/clean: $ac_dir/Makefile
7467 @cd $ac_dir && \$(MAKE) clean
7468 \$(RM) $ac_extraclean"
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"
7478 wine_fn_disabled_rules
()
7481 ac_extraclean
="$ac_dir/Makefile"
7482 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7484 wine_fn_append_rule \
7485 "__clean__: $ac_dir/clean
7486 .PHONY: $ac_dir/clean
7487 $ac_dir/clean: dummy
7488 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7491 wine_fn_config_makefile
()
7497 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7498 wine_fn_disabled_rules
; return
7501 wine_fn_install_rules
7505 wine_fn_config_lib
()
7509 ac_dir
=dlls
/$ac_name
7512 if test "x$enable_tools" = xno
; then :
7515 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7520 wine_fn_append_rule \
7521 ".PHONY: $ac_dir/install $ac_dir/uninstall
7522 $ac_dir/install:: $ac_dir
7523 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7525 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7526 install install-dev:: $ac_dir/install
7527 __uninstall__: $ac_dir/uninstall
7528 __builddeps__: $ac_dir
7532 wine_fn_config_dll
()
7535 ac_dir
=dlls
/$ac_name
7538 ac_implib
=${4:-$ac_name}
7539 ac_file
=$ac_dir/lib
$ac_implib
7544 if test "x$enable_tools" = xno
; then :
7547 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7550 *16) ac_implibflags
=" -m16" ;;
7552 *) ac_dll
=$ac_dll.dll
;;
7556 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7557 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7558 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7559 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7561 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7562 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
7564 wine_fn_depend_rules
7565 wine_fn_clean_rules
$ac_clean
7567 wine_fn_disabled_rules
$ac_clean
7572 wine_fn_clean_rules
$ac_clean
7573 wine_fn_append_rule \
7574 "$ac_dir: __builddeps__
7575 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7576 @cd $ac_dir && \$(MAKE) \$@
7577 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7578 install install-lib:: $ac_dir/install-lib
7579 __uninstall__: $ac_dir/uninstall"
7580 if test -n "$DLLEXT"
7582 wine_fn_append_rule \
7583 "$ac_dir/install-lib:: $ac_dir
7584 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7585 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7587 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7589 wine_fn_append_rule \
7590 "$ac_dir/install-lib:: $ac_dir
7591 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7593 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7599 if wine_fn_has_flag staticimplib
7601 wine_fn_append_rule \
7602 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7603 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7604 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7605 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7606 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7607 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7608 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7609 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7610 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7612 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7613 install install-dev:: $ac_dir/install-dev
7614 __uninstall__: $ac_dir/uninstall"
7616 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7618 wine_fn_append_rule \
7619 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7620 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7622 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7625 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7627 wine_fn_append_rule \
7628 "__builddeps__: $ac_file.cross.a
7629 $ac_file.cross.a: $ac_dir/Makefile dummy
7630 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7633 elif wine_fn_has_flag implib
7635 wine_fn_append_rule \
7636 "__builddeps__: $ac_file.$IMPLIBEXT
7637 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7638 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7639 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7640 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7641 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7642 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7643 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7645 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7646 install install-dev:: $ac_dir/install-dev
7647 __uninstall__: $ac_dir/uninstall"
7648 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7650 wine_fn_append_rule \
7651 "__builddeps__: $ac_file.cross.a
7652 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7653 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7656 if test "$ac_name" != "$ac_implib"
7658 wine_fn_append_rule \
7659 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7660 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7661 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7663 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7664 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7665 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7667 wine_fn_append_rule \
7668 "__builddeps__: dlls/lib$ac_implib.cross.a
7669 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7670 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7672 \$(RM) dlls/lib$ac_implib.cross.a"
7673 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7679 wine_fn_config_program
()
7682 ac_dir
=programs
/$ac_name
7689 *) ac_program
=$ac_program.exe
;;
7693 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7694 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7695 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7696 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7698 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7699 wine_fn_disabled_rules
$ac_clean; return
7703 wine_fn_clean_rules
$ac_clean
7704 wine_fn_append_rule
"$ac_dir: __builddeps__"
7707 wine_fn_has_flag
install ||
return
7708 wine_fn_append_rule \
7709 ".PHONY: $ac_dir/install $ac_dir/uninstall
7710 install install-lib:: $ac_dir/install
7711 __uninstall__: $ac_dir/uninstall"
7713 if test -n "$DLLEXT"
7715 wine_fn_append_rule \
7716 "$ac_dir/install:: $ac_dir
7717 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7718 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7720 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7722 if test -z "$with_wine64" && wine_fn_has_flag installbin
7724 wine_fn_append_rule \
7725 "$ac_dir/install:: __tooldeps__
7726 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7728 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7731 wine_fn_append_rule \
7732 "$ac_dir/install:: $ac_dir
7733 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7735 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7738 if test -z "$with_wine64" && wine_fn_has_flag manpage
7740 wine_fn_append_rule \
7741 "$ac_dir/install:: $ac_dir
7742 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7744 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7748 wine_fn_config_test
()
7755 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7756 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7758 if test "x$enable_tests" = xno
; then :
7759 wine_fn_disabled_rules
$ac_clean; return
7762 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7764 wine_fn_clean_rules
$ac_clean
7766 wine_fn_append_rule \
7767 "$ac_dir: programs/winetest/Makefile __builddeps__
7768 programs/winetest: $ac_dir
7769 check test: $ac_dir/test
7770 .PHONY: $ac_dir/test
7772 @cd $ac_dir && \$(MAKE) test
7774 \$(RM) $ac_dir/*.ok"
7776 if test -n "$CROSSTARGET"
7778 wine_fn_append_rule \
7779 "crosstest: $ac_dir/crosstest
7780 .PHONY: $ac_dir/crosstest
7781 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7782 @cd $ac_dir && \$(MAKE) crosstest"
7786 wine_fn_config_tool
()
7790 if test "x$enable_tools" = xno
; then :
7795 wine_fn_install_rules
7798 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7799 wine_fn_append_rule
"$ac_dir: libs/port"
7801 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7805 wine_fn_config_symlink
()
7808 if test "x$1" = "x-d"
7814 wine_fn_append_rule \
7816 @./config.status \$@
7819 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7820 test -n "$ac_linkdir" ||
return
7821 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7825 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7826 loader_programs
="$wine_binary wine-installed"
7827 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7832 install install-lib:: wine-installed
7833 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7836 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7842 if test -n "$ac_tool_prefix"; then
7843 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7844 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7846 $as_echo_n "checking for $ac_word... " >&6; }
7847 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7848 $as_echo_n "(cached) " >&6
7850 if test -n "$DLLTOOL"; then
7851 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7853 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7857 test -z "$as_dir" && as_dir
=.
7858 for ac_exec_ext
in '' $ac_executable_extensions; do
7859 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7860 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7870 DLLTOOL
=$ac_cv_prog_DLLTOOL
7871 if test -n "$DLLTOOL"; then
7872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7873 $as_echo "$DLLTOOL" >&6; }
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7876 $as_echo "no" >&6; }
7881 if test -z "$ac_cv_prog_DLLTOOL"; then
7882 ac_ct_DLLTOOL
=$DLLTOOL
7883 # Extract the first word of "dlltool", so it can be a program name with args.
7884 set dummy dlltool
; ac_word
=$2
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7886 $as_echo_n "checking for $ac_word... " >&6; }
7887 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7888 $as_echo_n "(cached) " >&6
7890 if test -n "$ac_ct_DLLTOOL"; then
7891 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7893 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7897 test -z "$as_dir" && as_dir
=.
7898 for ac_exec_ext
in '' $ac_executable_extensions; do
7899 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7900 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7910 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7911 if test -n "$ac_ct_DLLTOOL"; then
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7913 $as_echo "$ac_ct_DLLTOOL" >&6; }
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7916 $as_echo "no" >&6; }
7919 if test "x$ac_ct_DLLTOOL" = x
; then
7922 case $cross_compiling:$ac_tool_warned in
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7925 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7926 ac_tool_warned
=yes ;;
7928 DLLTOOL
=$ac_ct_DLLTOOL
7931 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7937 STATIC_IMPLIBEXT
="a"
7938 enable_iphlpapi
=${enable_iphlpapi:-no}
7939 enable_kernel32
=${enable_kernel32:-no}
7940 enable_msvcrt
=${enable_msvcrt:-no}
7941 enable_ntdll
=${enable_ntdll:-no}
7942 enable_ws2_32
=${enable_ws2_32:-no}
7943 enable_loader
=${enable_loader:-no}
7944 enable_server
=${enable_server:-no}
7945 with_x
=${with_x:-no}
7946 with_pthread
=${with_pthread:-no}
7952 SOCKET_LIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7956 libwine_targets
="libwine.dll libwine.a"
7958 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7960 all: libwine.dll libwine.a
7962 libwine.a: \$(srcdir)/wine.def
7963 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7965 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7966 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7968 install install-lib:: libwine.dll
7969 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7971 install install-dev:: libwine.a
7972 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7975 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7981 for ac_header
in libunwind.h
7983 ac_fn_c_check_header_mongrel
"$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7984 if test "x$ac_cv_header_libunwind_h" = xyes
; then :
7985 cat >>confdefs.h
<<_ACEOF
7986 #define HAVE_LIBUNWIND_H 1
7994 DLLFLAGS
="$DLLFLAGS -fPIC"
7995 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7996 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7997 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7998 COREFOUNDATION_LIBS
="-framework CoreFoundation"
8000 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
8002 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
8004 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
8006 CORESERVICES_LIBS
="-framework CoreServices"
8008 APPKIT_LIBS
="-framework AppKit"
8010 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8012 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8013 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
8014 $as_echo_n "(cached) " >&6
8016 ac_wine_try_cflags_saved
=$CFLAGS
8017 CFLAGS
="$CFLAGS -Wl,-no_pie"
8018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8019 /* end confdefs.h. */
8020 int main(int argc, char **argv) { return 0; }
8022 if ac_fn_c_try_link
"$LINENO"; then :
8023 ac_cv_cflags__Wl__no_pie
=yes
8025 ac_cv_cflags__Wl__no_pie
=no
8027 rm -f core conftest.err conftest.
$ac_objext \
8028 conftest
$ac_exeext conftest.
$ac_ext
8029 CFLAGS
=$ac_wine_try_cflags_saved
8031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8032 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8033 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
8034 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
8036 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8038 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
8041 if test "$ac_cv_header_Security_Security_h" = "yes"
8043 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
8045 ac_save_LIBS
="$LIBS"
8046 LIBS
="$LIBS $SECURITY_LIBS"
8047 for ac_func
in SSLCopyPeerCertificates
8049 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8050 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
8051 cat >>confdefs.h
<<_ACEOF
8052 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8058 LIBS
="$ac_save_LIBS"
8059 with_gnutls
=${with_gnutls:-no}
8061 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8063 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8065 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8068 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8071 ac_save_LIBS
="$LIBS"
8072 LIBS
="$LIBS $COREAUDIO_LIBS"
8073 for ac_func
in AUGraphAddNode
8075 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8076 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
8077 cat >>confdefs.h
<<_ACEOF
8078 #define HAVE_AUGRAPHADDNODE 1
8084 LIBS
="$ac_save_LIBS"
8086 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8088 OPENAL_LIBS
="-framework OpenAL"
8091 cat >>confdefs.h
<<_ACEOF
8092 #define HAVE_OPENAL 1
8095 ac_cv_lib_openal
=yes
8097 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8099 OPENCL_LIBS
="-framework OpenCL"
8101 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
8103 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8105 ac_save_LIBS
="$LIBS"
8106 LIBS
="$LIBS $IOKIT_LIBS"
8107 for ac_func
in IOHIDManagerCreate
8109 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8110 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
8111 cat >>confdefs.h
<<_ACEOF
8112 #define HAVE_IOHIDMANAGERCREATE 1
8118 LIBS
="$ac_save_LIBS"
8120 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8122 ac_save_LIBS
="$LIBS"
8123 LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8125 $as_echo_n "checking for the QuickTime framework... " >&6; }
8126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8127 /* end confdefs.h. */
8128 #include <QuickTime/ImageCompression.h>
8132 CodecManagerVersion(NULL);
8137 if ac_fn_c_try_link
"$LINENO"; then :
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8139 $as_echo "yes" >&6; }
8140 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8142 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8145 $as_echo "no" >&6; }
8146 ac_cv_header_QuickTime_ImageCompression_h
=no
8148 rm -f core conftest.err conftest.
$ac_objext \
8149 conftest
$ac_exeext conftest.
$ac_ext
8150 LIBS
="$ac_save_LIBS"
8152 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8154 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8156 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8158 CARBON_LIBS
="-framework Carbon"
8162 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8164 ac_save_LIBS
="$LIBS"
8165 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
8166 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8167 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
8168 enable_winemac_drv
=${enable_winemac_drv:-yes}
8171 LIBS
="$ac_save_LIBS"
8174 if test "x$enable_win16" = "xyes"
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8177 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8178 if test "$cross_compiling" = yes; then :
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8180 $as_echo "cross-compiling, assuming yes" >&6; }
8182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8183 /* end confdefs.h. */
8186 "good:\tnop;nop\n\t"
8187 ".globl _testfunc\n"
8188 "_testfunc:\tcallw good");
8189 extern void testfunc();
8193 unsigned short *p = (unsigned short *)testfunc;
8194 return p[0] != 0xe866 || p[1] != 0xfffa
8199 if ac_fn_c_try_run
"$LINENO"; then :
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8201 $as_echo "yes" >&6; }
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8204 $as_echo "no" >&6; }
8205 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
8207 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8208 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8213 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
8215 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8219 libwine.$libwine_version.dylib: \$(OBJS)
8220 \$(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 \$@
8222 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
8223 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
8225 libwine.dylib: libwine.$libwine_soversion.dylib
8226 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
8228 install install-lib:: libwine.$libwine_version.dylib
8229 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
8230 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
8232 install install-dev::
8233 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
8236 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
8240 as_fn_append LOADER_RULES
"
8241 $wine_binary: main.o wine_info.plist
8242 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8244 wine-installed: main.o wine_info.plist
8245 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8250 DLLFLAGS
="$DLLFLAGS -fPIC"
8254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8255 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8256 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8257 $as_echo_n "(cached) " >&6
8259 ac_wine_try_cflags_saved
=$CFLAGS
8260 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8262 /* end confdefs.h. */
8263 int main(int argc, char **argv) { return 0; }
8265 if ac_fn_c_try_link
"$LINENO"; then :
8266 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8268 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8270 rm -f core conftest.err conftest.
$ac_objext \
8271 conftest
$ac_exeext conftest.
$ac_ext
8272 CFLAGS
=$ac_wine_try_cflags_saved
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8275 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8276 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8277 LDEXECFLAGS
="-Wl,--export-dynamic"
8279 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8281 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8282 if eval \
${$as_ac_var+:} false
; then :
8283 $as_echo_n "(cached) " >&6
8285 ac_wine_try_cflags_saved
=$CFLAGS
8286 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8288 /* end confdefs.h. */
8289 int main(int argc, char **argv) { return 0; }
8291 if ac_fn_c_try_link
"$LINENO"; then :
8292 eval "$as_ac_var=yes"
8294 eval "$as_ac_var=no"
8296 rm -f core conftest.err conftest.
$ac_objext \
8297 conftest
$ac_exeext conftest.
$ac_ext
8298 CFLAGS
=$ac_wine_try_cflags_saved
8300 eval ac_res
=\$
$as_ac_var
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8302 $as_echo "$ac_res" >&6; }
8303 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8304 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8305 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8307 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8309 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8310 if eval \
${$as_ac_var+:} false
; then :
8311 $as_echo_n "(cached) " >&6
8313 ac_wine_try_cflags_saved
=$CFLAGS
8314 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8316 /* end confdefs.h. */
8317 int main(int argc, char **argv) { return 0; }
8319 if ac_fn_c_try_link
"$LINENO"; then :
8320 eval "$as_ac_var=yes"
8322 eval "$as_ac_var=no"
8324 rm -f core conftest.err conftest.
$ac_objext \
8325 conftest
$ac_exeext conftest.
$ac_ext
8326 CFLAGS
=$ac_wine_try_cflags_saved
8328 eval ac_res
=\$
$as_ac_var
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8330 $as_echo "$ac_res" >&6; }
8331 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8332 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8333 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8338 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8339 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8340 $as_echo_n "(cached) " >&6
8342 ac_wine_try_cflags_saved
=$CFLAGS
8343 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8345 /* end confdefs.h. */
8346 int main(int argc, char **argv) { return 0; }
8348 if ac_fn_c_try_link
"$LINENO"; then :
8349 ac_cv_cflags__Wl___enable_new_dtags
=yes
8351 ac_cv_cflags__Wl___enable_new_dtags
=no
8353 rm -f core conftest.err conftest.
$ac_objext \
8354 conftest
$ac_exeext conftest.
$ac_ext
8355 CFLAGS
=$ac_wine_try_cflags_saved
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8358 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8359 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8360 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8364 *i
[3456789]86* | x86_64
)
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8366 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8367 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8368 $as_echo_n "(cached) " >&6
8370 ac_wine_try_cflags_saved
=$CFLAGS
8371 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8372 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8373 /* end confdefs.h. */
8374 int main(int argc, char **argv) { return 0; }
8376 if ac_fn_c_try_link
"$LINENO"; then :
8377 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8379 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8381 rm -f core conftest.err conftest.
$ac_objext \
8382 conftest
$ac_exeext conftest.
$ac_ext
8383 CFLAGS
=$ac_wine_try_cflags_saved
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8386 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8387 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8388 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8393 libwine_targets
="libwine.so"
8395 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8399 libwine.so: \$(OBJS)
8400 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8402 install install-lib:: libwine.so
8403 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8406 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8410 as_fn_append LOADER_RULES
"
8411 $wine_binary: main.o
8412 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8414 wine-installed: main.o
8415 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8420 DLLFLAGS
="$DLLFLAGS -fPIC"
8422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8423 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8424 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8425 $as_echo_n "(cached) " >&6
8427 ac_wine_try_cflags_saved
=$CFLAGS
8428 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8430 /* end confdefs.h. */
8433 if ac_fn_c_try_link
"$LINENO"; then :
8434 ac_cv_c_dll_gnuelf
="yes"
8436 ac_cv_c_dll_gnuelf
="no"
8438 rm -f core conftest.err conftest.
$ac_objext \
8439 conftest
$ac_exeext conftest.
$ac_ext
8440 CFLAGS
=$ac_wine_try_cflags_saved
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8443 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8444 if test "$ac_cv_c_dll_gnuelf" = "yes"
8446 LDSHARED
="\$(CC) -shared"
8447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8448 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8449 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8450 $as_echo_n "(cached) " >&6
8452 ac_wine_try_cflags_saved
=$CFLAGS
8453 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8454 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8455 /* end confdefs.h. */
8456 int main(int argc, char **argv) { return 0; }
8458 if ac_fn_c_try_link
"$LINENO"; then :
8459 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8461 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8463 rm -f core conftest.err conftest.
$ac_objext \
8464 conftest
$ac_exeext conftest.
$ac_ext
8465 CFLAGS
=$ac_wine_try_cflags_saved
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8468 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8469 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8470 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8473 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8474 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8475 $as_echo_n "(cached) " >&6
8477 ac_wine_try_cflags_saved
=$CFLAGS
8478 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8480 /* end confdefs.h. */
8481 int main(int argc, char **argv) { return 0; }
8483 if ac_fn_c_try_link
"$LINENO"; then :
8484 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8486 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8488 rm -f core conftest.err conftest.
$ac_objext \
8489 conftest
$ac_exeext conftest.
$ac_ext
8490 CFLAGS
=$ac_wine_try_cflags_saved
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8493 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8494 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8495 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8499 echo '{ global: *; };' >conftest.map
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8501 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8502 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8503 $as_echo_n "(cached) " >&6
8505 ac_wine_try_cflags_saved
=$CFLAGS
8506 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8508 /* end confdefs.h. */
8509 int main(int argc, char **argv) { return 0; }
8511 if ac_fn_c_try_link
"$LINENO"; then :
8512 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8514 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8516 rm -f core conftest.err conftest.
$ac_objext \
8517 conftest
$ac_exeext conftest.
$ac_ext
8518 CFLAGS
=$ac_wine_try_cflags_saved
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8521 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8522 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8523 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8528 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8529 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8530 $as_echo_n "(cached) " >&6
8532 ac_wine_try_cflags_saved
=$CFLAGS
8533 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8535 /* end confdefs.h. */
8536 int main(int argc, char **argv) { return 0; }
8538 if ac_fn_c_try_link
"$LINENO"; then :
8539 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8541 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8543 rm -f core conftest.err conftest.
$ac_objext \
8544 conftest
$ac_exeext conftest.
$ac_ext
8545 CFLAGS
=$ac_wine_try_cflags_saved
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8548 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8549 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8550 LDEXECFLAGS
="-Wl,--export-dynamic"
8553 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8555 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8556 if eval \
${$as_ac_var+:} false
; then :
8557 $as_echo_n "(cached) " >&6
8559 ac_wine_try_cflags_saved
=$CFLAGS
8560 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8562 /* end confdefs.h. */
8563 int main(int argc, char **argv) { return 0; }
8565 if ac_fn_c_try_link
"$LINENO"; then :
8566 eval "$as_ac_var=yes"
8568 eval "$as_ac_var=no"
8570 rm -f core conftest.err conftest.
$ac_objext \
8571 conftest
$ac_exeext conftest.
$ac_ext
8572 CFLAGS
=$ac_wine_try_cflags_saved
8574 eval ac_res
=\$
$as_ac_var
8575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8576 $as_echo "$ac_res" >&6; }
8577 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8578 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8579 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8581 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8583 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8584 if eval \
${$as_ac_var+:} false
; then :
8585 $as_echo_n "(cached) " >&6
8587 ac_wine_try_cflags_saved
=$CFLAGS
8588 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8590 /* end confdefs.h. */
8591 int main(int argc, char **argv) { return 0; }
8593 if ac_fn_c_try_link
"$LINENO"; then :
8594 eval "$as_ac_var=yes"
8596 eval "$as_ac_var=no"
8598 rm -f core conftest.err conftest.
$ac_objext \
8599 conftest
$ac_exeext conftest.
$ac_ext
8600 CFLAGS
=$ac_wine_try_cflags_saved
8602 eval ac_res
=\$
$as_ac_var
8603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8604 $as_echo "$ac_res" >&6; }
8605 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8606 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8607 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8612 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8613 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8614 $as_echo_n "(cached) " >&6
8616 ac_wine_try_cflags_saved
=$CFLAGS
8617 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8619 /* end confdefs.h. */
8620 int main(int argc, char **argv) { return 0; }
8622 if ac_fn_c_try_link
"$LINENO"; then :
8623 ac_cv_cflags__Wl___enable_new_dtags
=yes
8625 ac_cv_cflags__Wl___enable_new_dtags
=no
8627 rm -f core conftest.err conftest.
$ac_objext \
8628 conftest
$ac_exeext conftest.
$ac_ext
8629 CFLAGS
=$ac_wine_try_cflags_saved
8631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8632 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8633 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8634 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8638 *i
[3456789]86* | x86_64
)
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8640 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8641 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8642 $as_echo_n "(cached) " >&6
8644 ac_wine_try_cflags_saved
=$CFLAGS
8645 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8647 /* end confdefs.h. */
8648 int main(int argc, char **argv) { return 0; }
8650 if ac_fn_c_try_link
"$LINENO"; then :
8651 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8653 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8655 rm -f core conftest.err conftest.
$ac_objext \
8656 conftest
$ac_exeext conftest.
$ac_ext
8657 CFLAGS
=$ac_wine_try_cflags_saved
8659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8660 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8661 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8663 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8664 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8668 # Extract the first word of "prelink", so it can be a program name with args.
8669 set dummy prelink
; ac_word
=$2
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8671 $as_echo_n "checking for $ac_word... " >&6; }
8672 if ${ac_cv_path_PRELINK+:} false
; then :
8673 $as_echo_n "(cached) " >&6
8677 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8680 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8681 for as_dir
in /sbin
/usr
/sbin
$PATH
8684 test -z "$as_dir" && as_dir
=.
8685 for ac_exec_ext
in '' $ac_executable_extensions; do
8686 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8687 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8695 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8699 PRELINK
=$ac_cv_path_PRELINK
8700 if test -n "$PRELINK"; then
8701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8702 $as_echo "$PRELINK" >&6; }
8704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8705 $as_echo "no" >&6; }
8709 if test "x$PRELINK" = xfalse
8711 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8718 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8719 if ${ac_cv_c_dll_unixware+:} false
; then :
8720 $as_echo_n "(cached) " >&6
8722 ac_wine_try_cflags_saved
=$CFLAGS
8723 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8725 /* end confdefs.h. */
8728 if ac_fn_c_try_link
"$LINENO"; then :
8729 ac_cv_c_dll_unixware
="yes"
8731 ac_cv_c_dll_unixware
="no"
8733 rm -f core conftest.err conftest.
$ac_objext \
8734 conftest
$ac_exeext conftest.
$ac_ext
8735 CFLAGS
=$ac_wine_try_cflags_saved
8737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8738 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8739 if test "$ac_cv_c_dll_unixware" = "yes"
8741 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8744 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8746 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8750 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8751 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8753 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8754 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8756 libwine.so: libwine.so.$libwine_soversion
8757 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8759 install install-lib:: libwine.so.$libwine_version
8760 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8761 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8763 install install-dev::
8764 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8767 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8771 as_fn_append LOADER_RULES
"
8772 $wine_binary: main.o
8773 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8775 wine-installed: main.o
8776 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8781 as_fn_append LIBWINE_RULES
"
8782 EXTRA_TARGETS = $libwine_targets
8785 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8786 enable_winemac_drv
=${enable_winemac_drv:-no}
8790 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8794 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
8797 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 " ;;
8799 ac_prefix_list
="" ;;
8801 for ac_prog
in $ac_prefix_list
8803 # Extract the first word of "$ac_prog", so it can be a program name with args.
8804 set dummy
$ac_prog; ac_word
=$2
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8806 $as_echo_n "checking for $ac_word... " >&6; }
8807 if ${ac_cv_prog_CROSSCC+:} false
; then :
8808 $as_echo_n "(cached) " >&6
8810 if test -n "$CROSSCC"; then
8811 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8813 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8817 test -z "$as_dir" && as_dir
=.
8818 for ac_exec_ext
in '' $ac_executable_extensions; do
8819 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8820 ac_cv_prog_CROSSCC
="$ac_prog"
8821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8830 CROSSCC
=$ac_cv_prog_CROSSCC
8831 if test -n "$CROSSCC"; then
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8833 $as_echo "$CROSSCC" >&6; }
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8836 $as_echo "no" >&6; }
8840 test -n "$CROSSCC" && break
8842 test -n "$CROSSCC" || CROSSCC
="false"
8844 if test "$CROSSCC" != "false"
8848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8849 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8851 /* end confdefs.h. */
8861 if ac_fn_c_try_compile
"$LINENO"; then :
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8863 $as_echo "yes" >&6; }
8869 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8875 $as_echo "no" >&6; }
8877 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8883 if test "$ac_cv_header_pthread_h" = "yes"
8885 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8886 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8890 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8891 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8892 $as_echo_n "(cached) " >&6
8894 ac_check_lib_save_LIBS
=$LIBS
8895 LIBS
="-lpthread $LIBS"
8896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8897 /* end confdefs.h. */
8899 /* Override any GCC internal prototype to avoid an error.
8900 Use char because int might match the return type of a GCC
8901 builtin and then its argument prototype would still apply. */
8905 char pthread_create ();
8909 return pthread_create ();
8914 if ac_fn_c_try_link
"$LINENO"; then :
8915 ac_cv_lib_pthread_pthread_create
=yes
8917 ac_cv_lib_pthread_pthread_create
=no
8919 rm -f core conftest.err conftest.
$ac_objext \
8920 conftest
$ac_exeext conftest.
$ac_ext
8921 LIBS
=$ac_check_lib_save_LIBS
8923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8924 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8925 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8926 PTHREAD_LIBS
="-lpthread"
8933 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8934 case "x$with_pthread" in
8936 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8937 Wine cannot support threads without libpthread.
8938 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8944 $as_echo_n "checking for X... " >&6; }
8947 # Check whether --with-x was given.
8948 if test "${with_x+set}" = set; then :
8952 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8953 if test "x$with_x" = xno
; then
8954 # The user explicitly disabled X.
8957 case $x_includes,$x_libraries in #(
8958 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8959 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8960 $as_echo_n "(cached) " >&6
8962 # One or both of the vars are not set, and there is no cached value.
8963 ac_x_includes
=no ac_x_libraries
=no
8964 rm -f -r conftest.dir
8965 if mkdir conftest.dir
; then
8967 cat >Imakefile
<<'_ACEOF'
8969 @echo incroot='${INCROOT}'
8971 @echo usrlibdir='${USRLIBDIR}'
8973 @echo libdir='${LIBDIR}'
8975 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8976 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8977 for ac_var
in incroot usrlibdir libdir
; do
8978 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8980 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8981 for ac_extension
in a so sl dylib la dll
; do
8982 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8983 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8984 ac_im_usrlibdir
=$ac_im_libdir; break
8987 # Screen out bogus values from the imake configuration. They are
8988 # bogus both because they are the default anyway, and because
8989 # using them would break gcc on systems where it needs fixed includes.
8990 case $ac_im_incroot in
8991 /usr
/include
) ac_x_includes
= ;;
8992 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8994 case $ac_im_usrlibdir in
8995 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8996 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
9000 rm -f -r conftest.dir
9003 # Standard set of common directories for X headers.
9004 # Check X11 before X11Rn because it is often a symlink to the current release.
9018 /usr/local/X11/include
9019 /usr/local/X11R7/include
9020 /usr/local/X11R6/include
9021 /usr/local/X11R5/include
9022 /usr/local/X11R4/include
9024 /usr/local/include/X11
9025 /usr/local/include/X11R7
9026 /usr/local/include/X11R6
9027 /usr/local/include/X11R5
9028 /usr/local/include/X11R4
9032 /usr/XFree86/include/X11
9036 /usr/unsupported/include
9038 /usr/local/x11r5/include
9039 /usr/lpp/Xamples/include
9041 /usr/openwin/include
9042 /usr/openwin/share/include'
9044 if test "$ac_x_includes" = no
; then
9045 # Guess where to find include files, by looking for Xlib.h.
9046 # First, try using that file with no special directory specified.
9047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9048 /* end confdefs.h. */
9049 #include <X11/Xlib.h>
9051 if ac_fn_c_try_cpp
"$LINENO"; then :
9052 # We can compile using X headers with no special include directory.
9055 for ac_dir
in $ac_x_header_dirs; do
9056 if test -r "$ac_dir/X11/Xlib.h"; then
9057 ac_x_includes
=$ac_dir
9062 rm -f conftest.err conftest.i conftest.
$ac_ext
9063 fi # $ac_x_includes = no
9065 if test "$ac_x_libraries" = no
; then
9066 # Check for the libraries.
9067 # See if we find them without any special options.
9068 # Don't add to $LIBS permanently.
9071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9072 /* end confdefs.h. */
9073 #include <X11/Xlib.h>
9082 if ac_fn_c_try_link
"$LINENO"; then :
9084 # We can link X programs with no special library path.
9088 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9090 # Don't even attempt the hair of trying to link an X program!
9091 for ac_extension
in a so sl dylib la dll
; do
9092 if test -r "$ac_dir/libX11.$ac_extension"; then
9093 ac_x_libraries
=$ac_dir
9099 rm -f core conftest.err conftest.
$ac_objext \
9100 conftest
$ac_exeext conftest.
$ac_ext
9101 fi # $ac_x_libraries = no
9103 case $ac_x_includes,$ac_x_libraries in #(
9105 # Didn't find X, or a directory has "'" in its name.
9106 ac_cv_have_x
="have_x=no";; #(
9108 # Record where we found X for the cache.
9109 ac_cv_have_x
="have_x=yes\
9110 ac_x_includes='$ac_x_includes'\
9111 ac_x_libraries='$ac_x_libraries'"
9117 eval "$ac_cv_have_x"
9120 if test "$have_x" != yes; then
9121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9122 $as_echo "$have_x" >&6; }
9125 # If each of the values was on the command line, it overrides each guess.
9126 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
9127 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
9128 # Update the cache value to reflect the command line values.
9129 ac_cv_have_x
="have_x=yes\
9130 ac_x_includes='$x_includes'\
9131 ac_x_libraries='$x_libraries'"
9132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9133 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9136 if test "$no_x" = yes; then
9137 # Not all programs may use this symbol, but it does not hurt to define it.
9139 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9141 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
9143 if test -n "$x_includes"; then
9144 X_CFLAGS
="$X_CFLAGS -I$x_includes"
9147 # It would also be nice to do this for all -L options, not just this one.
9148 if test -n "$x_libraries"; then
9149 X_LIBS
="$X_LIBS -L$x_libraries"
9150 # For Solaris; some versions of Sun CC require a space after -R and
9151 # others require no space. Words are not sufficient . . . .
9152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9153 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9154 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
9155 ac_xsave_c_werror_flag
=$ac_c_werror_flag
9156 ac_c_werror_flag
=yes
9157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9158 /* end confdefs.h. */
9168 if ac_fn_c_try_link
"$LINENO"; then :
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9170 $as_echo "no" >&6; }
9171 X_LIBS
="$X_LIBS -R$x_libraries"
9173 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9175 /* end confdefs.h. */
9185 if ac_fn_c_try_link
"$LINENO"; then :
9186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9187 $as_echo "yes" >&6; }
9188 X_LIBS
="$X_LIBS -R $x_libraries"
9190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9191 $as_echo "neither works" >&6; }
9193 rm -f core conftest.err conftest.
$ac_objext \
9194 conftest
$ac_exeext conftest.
$ac_ext
9196 rm -f core conftest.err conftest.
$ac_objext \
9197 conftest
$ac_exeext conftest.
$ac_ext
9198 ac_c_werror_flag
=$ac_xsave_c_werror_flag
9202 # Check for system-dependent libraries X programs must link with.
9203 # Do this before checking for the system-independent R6 libraries
9204 # (-lICE), since we may need -lsocket or whatever for X linking.
9206 if test "$ISC" = yes; then
9207 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9209 # Martyn Johnson says this is needed for Ultrix, if the X
9210 # libraries were built with DECnet support. And Karl Berry says
9211 # the Alpha needs dnet_stub (dnet does not exist).
9212 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
9213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9214 /* end confdefs.h. */
9216 /* Override any GCC internal prototype to avoid an error.
9217 Use char because int might match the return type of a GCC
9218 builtin and then its argument prototype would still apply. */
9222 char XOpenDisplay ();
9226 return XOpenDisplay ();
9231 if ac_fn_c_try_link
"$LINENO"; then :
9234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9235 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9236 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
9237 $as_echo_n "(cached) " >&6
9239 ac_check_lib_save_LIBS
=$LIBS
9241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9242 /* end confdefs.h. */
9244 /* Override any GCC internal prototype to avoid an error.
9245 Use char because int might match the return type of a GCC
9246 builtin and then its argument prototype would still apply. */
9254 return dnet_ntoa ();
9259 if ac_fn_c_try_link
"$LINENO"; then :
9260 ac_cv_lib_dnet_dnet_ntoa
=yes
9262 ac_cv_lib_dnet_dnet_ntoa
=no
9264 rm -f core conftest.err conftest.
$ac_objext \
9265 conftest
$ac_exeext conftest.
$ac_ext
9266 LIBS
=$ac_check_lib_save_LIBS
9268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9269 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9270 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
9271 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9274 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9276 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9277 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
9278 $as_echo_n "(cached) " >&6
9280 ac_check_lib_save_LIBS
=$LIBS
9281 LIBS
="-ldnet_stub $LIBS"
9282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9283 /* end confdefs.h. */
9285 /* Override any GCC internal prototype to avoid an error.
9286 Use char because int might match the return type of a GCC
9287 builtin and then its argument prototype would still apply. */
9295 return dnet_ntoa ();
9300 if ac_fn_c_try_link
"$LINENO"; then :
9301 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
9303 ac_cv_lib_dnet_stub_dnet_ntoa
=no
9305 rm -f core conftest.err conftest.
$ac_objext \
9306 conftest
$ac_exeext conftest.
$ac_ext
9307 LIBS
=$ac_check_lib_save_LIBS
9309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9310 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9311 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9312 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9317 rm -f core conftest.err conftest.
$ac_objext \
9318 conftest
$ac_exeext conftest.
$ac_ext
9319 LIBS
="$ac_xsave_LIBS"
9321 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9322 # to get the SysV transport functions.
9323 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9325 # The nsl library prevents programs from opening the X display
9326 # on Irix 5.2, according to T.E. Dickey.
9327 # The functions gethostbyname, getservbyname, and inet_addr are
9328 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9329 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9330 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9334 if test $ac_cv_func_gethostbyname = no
; then
9335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9336 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9337 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9338 $as_echo_n "(cached) " >&6
9340 ac_check_lib_save_LIBS
=$LIBS
9342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9343 /* end confdefs.h. */
9345 /* Override any GCC internal prototype to avoid an error.
9346 Use char because int might match the return type of a GCC
9347 builtin and then its argument prototype would still apply. */
9351 char gethostbyname ();
9355 return gethostbyname ();
9360 if ac_fn_c_try_link
"$LINENO"; then :
9361 ac_cv_lib_nsl_gethostbyname
=yes
9363 ac_cv_lib_nsl_gethostbyname
=no
9365 rm -f core conftest.err conftest.
$ac_objext \
9366 conftest
$ac_exeext conftest.
$ac_ext
9367 LIBS
=$ac_check_lib_save_LIBS
9369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9370 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9371 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9372 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9375 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9377 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9378 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9379 $as_echo_n "(cached) " >&6
9381 ac_check_lib_save_LIBS
=$LIBS
9383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9384 /* end confdefs.h. */
9386 /* Override any GCC internal prototype to avoid an error.
9387 Use char because int might match the return type of a GCC
9388 builtin and then its argument prototype would still apply. */
9392 char gethostbyname ();
9396 return gethostbyname ();
9401 if ac_fn_c_try_link
"$LINENO"; then :
9402 ac_cv_lib_bsd_gethostbyname
=yes
9404 ac_cv_lib_bsd_gethostbyname
=no
9406 rm -f core conftest.err conftest.
$ac_objext \
9407 conftest
$ac_exeext conftest.
$ac_ext
9408 LIBS
=$ac_check_lib_save_LIBS
9410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9411 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9412 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9413 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9419 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9420 # socket/setsockopt and other routines are undefined under SCO ODT
9421 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9422 # on later versions), says Simon Leinen: it contains gethostby*
9423 # variants that don't use the name server (or something). -lsocket
9424 # must be given before -lnsl if both are needed. We assume that
9425 # if connect needs -lnsl, so does gethostbyname.
9426 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9427 if test "x$ac_cv_func_connect" = xyes
; then :
9431 if test $ac_cv_func_connect = no
; then
9432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9433 $as_echo_n "checking for connect in -lsocket... " >&6; }
9434 if ${ac_cv_lib_socket_connect+:} false
; then :
9435 $as_echo_n "(cached) " >&6
9437 ac_check_lib_save_LIBS
=$LIBS
9438 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9440 /* end confdefs.h. */
9442 /* Override any GCC internal prototype to avoid an error.
9443 Use char because int might match the return type of a GCC
9444 builtin and then its argument prototype would still apply. */
9457 if ac_fn_c_try_link
"$LINENO"; then :
9458 ac_cv_lib_socket_connect
=yes
9460 ac_cv_lib_socket_connect
=no
9462 rm -f core conftest.err conftest.
$ac_objext \
9463 conftest
$ac_exeext conftest.
$ac_ext
9464 LIBS
=$ac_check_lib_save_LIBS
9466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9467 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9468 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9469 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9474 # Guillermo Gomez says -lposix is necessary on A/UX.
9475 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9476 if test "x$ac_cv_func_remove" = xyes
; then :
9480 if test $ac_cv_func_remove = no
; then
9481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9482 $as_echo_n "checking for remove in -lposix... " >&6; }
9483 if ${ac_cv_lib_posix_remove+:} false
; then :
9484 $as_echo_n "(cached) " >&6
9486 ac_check_lib_save_LIBS
=$LIBS
9487 LIBS
="-lposix $LIBS"
9488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9489 /* end confdefs.h. */
9491 /* Override any GCC internal prototype to avoid an error.
9492 Use char because int might match the return type of a GCC
9493 builtin and then its argument prototype would still apply. */
9506 if ac_fn_c_try_link
"$LINENO"; then :
9507 ac_cv_lib_posix_remove
=yes
9509 ac_cv_lib_posix_remove
=no
9511 rm -f core conftest.err conftest.
$ac_objext \
9512 conftest
$ac_exeext conftest.
$ac_ext
9513 LIBS
=$ac_check_lib_save_LIBS
9515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9516 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9517 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9518 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9523 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9524 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9525 if test "x$ac_cv_func_shmat" = xyes
; then :
9529 if test $ac_cv_func_shmat = no
; then
9530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9531 $as_echo_n "checking for shmat in -lipc... " >&6; }
9532 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9533 $as_echo_n "(cached) " >&6
9535 ac_check_lib_save_LIBS
=$LIBS
9537 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9538 /* end confdefs.h. */
9540 /* Override any GCC internal prototype to avoid an error.
9541 Use char because int might match the return type of a GCC
9542 builtin and then its argument prototype would still apply. */
9555 if ac_fn_c_try_link
"$LINENO"; then :
9556 ac_cv_lib_ipc_shmat
=yes
9558 ac_cv_lib_ipc_shmat
=no
9560 rm -f core conftest.err conftest.
$ac_objext \
9561 conftest
$ac_exeext conftest.
$ac_ext
9562 LIBS
=$ac_check_lib_save_LIBS
9564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9565 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9566 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9567 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9573 # Check for libraries that X11R6 Xt/Xaw programs need.
9574 ac_save_LDFLAGS
=$LDFLAGS
9575 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9576 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9577 # check for ICE first), but we must link in the order -lSM -lICE or
9578 # we get undefined symbols. So assume we have SM if we have ICE.
9579 # These have to be linked with before -lX11, unlike the other
9580 # libraries we check for below, so use a different variable.
9581 # John Interrante, Karl Berry
9582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9583 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9584 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9585 $as_echo_n "(cached) " >&6
9587 ac_check_lib_save_LIBS
=$LIBS
9588 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9590 /* end confdefs.h. */
9592 /* Override any GCC internal prototype to avoid an error.
9593 Use char because int might match the return type of a GCC
9594 builtin and then its argument prototype would still apply. */
9598 char IceConnectionNumber ();
9602 return IceConnectionNumber ();
9607 if ac_fn_c_try_link
"$LINENO"; then :
9608 ac_cv_lib_ICE_IceConnectionNumber
=yes
9610 ac_cv_lib_ICE_IceConnectionNumber
=no
9612 rm -f core conftest.err conftest.
$ac_objext \
9613 conftest
$ac_exeext conftest.
$ac_ext
9614 LIBS
=$ac_check_lib_save_LIBS
9616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9617 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9618 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9619 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9622 LDFLAGS
=$ac_save_LDFLAGS
9627 if test "$have_x" = "yes"
9629 ac_save_CPPFLAGS
="$CPPFLAGS"
9630 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9633 $as_echo_n "checking for -lX11... " >&6; }
9634 if ${ac_cv_lib_soname_X11+:} false
; then :
9635 $as_echo_n "(cached) " >&6
9637 ac_check_soname_save_LIBS
=$LIBS
9638 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9640 /* end confdefs.h. */
9642 /* Override any GCC internal prototype to avoid an error.
9643 Use char because int might match the return type of a GCC
9644 builtin and then its argument prototype would still apply. */
9648 char XCreateWindow ();
9652 return XCreateWindow ();
9657 if ac_fn_c_try_link
"$LINENO"; then :
9659 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9660 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'` ;;
9661 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9662 if ${ac_cv_lib_soname_X11:+false} :; then :
9663 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9667 rm -f core conftest.err conftest.
$ac_objext \
9668 conftest
$ac_exeext conftest.
$ac_ext
9669 LIBS
=$ac_check_soname_save_LIBS
9671 if ${ac_cv_lib_soname_X11:+false} :; then :
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9673 $as_echo "not found" >&6; }
9676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9677 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9679 cat >>confdefs.h
<<_ACEOF
9680 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9686 $as_echo_n "checking for -lXext... " >&6; }
9687 if ${ac_cv_lib_soname_Xext+:} false
; then :
9688 $as_echo_n "(cached) " >&6
9690 ac_check_soname_save_LIBS
=$LIBS
9691 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9692 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9693 /* end confdefs.h. */
9695 /* Override any GCC internal prototype to avoid an error.
9696 Use char because int might match the return type of a GCC
9697 builtin and then its argument prototype would still apply. */
9701 char XextCreateExtension ();
9705 return XextCreateExtension ();
9710 if ac_fn_c_try_link
"$LINENO"; then :
9712 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9713 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'` ;;
9714 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9715 if ${ac_cv_lib_soname_Xext:+false} :; then :
9716 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9720 rm -f core conftest.err conftest.
$ac_objext \
9721 conftest
$ac_exeext conftest.
$ac_ext
9722 LIBS
=$ac_check_soname_save_LIBS
9724 if ${ac_cv_lib_soname_Xext:+false} :; then :
9725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9726 $as_echo "not found" >&6; }
9729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9730 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9732 cat >>confdefs.h
<<_ACEOF
9733 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9736 X_LIBS
="$X_LIBS -lXext"
9738 X_LIBS
="$X_LIBS -lX11"
9740 for ac_header
in X11
/Xlib.h \
9743 X11
/Xcursor
/Xcursor.h \
9744 X11
/extensions
/shape.h \
9745 X11
/extensions
/XInput.h \
9746 X11
/extensions
/XInput2.h \
9747 X11
/extensions
/XShm.h \
9748 X11
/extensions
/Xcomposite.h \
9749 X11
/extensions
/Xinerama.h \
9750 X11
/extensions
/Xrandr.h \
9751 X11
/extensions
/Xrender.h \
9752 X11
/extensions
/xf86vmode.h \
9753 X11
/extensions
/xf86vmproto.h
9755 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9756 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9757 # include <X11/Xlib.h>
9759 #ifdef HAVE_X11_XUTIL_H
9760 # include <X11/Xutil.h>
9763 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9764 cat >>confdefs.h
<<_ACEOF
9765 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9773 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9776 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9777 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9778 $as_echo_n "(cached) " >&6
9780 ac_check_lib_save_LIBS
=$LIBS
9781 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9783 /* end confdefs.h. */
9785 /* Override any GCC internal prototype to avoid an error.
9786 Use char because int might match the return type of a GCC
9787 builtin and then its argument prototype would still apply. */
9791 char XkbQueryExtension ();
9795 return XkbQueryExtension ();
9800 if ac_fn_c_try_link
"$LINENO"; then :
9801 ac_cv_lib_X11_XkbQueryExtension
=yes
9803 ac_cv_lib_X11_XkbQueryExtension
=no
9805 rm -f core conftest.err conftest.
$ac_objext \
9806 conftest
$ac_exeext conftest.
$ac_ext
9807 LIBS
=$ac_check_lib_save_LIBS
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9810 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9811 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9813 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9819 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9822 $as_echo_n "checking for -lXcursor... " >&6; }
9823 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9824 $as_echo_n "(cached) " >&6
9826 ac_check_soname_save_LIBS
=$LIBS
9827 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9829 /* end confdefs.h. */
9831 /* Override any GCC internal prototype to avoid an error.
9832 Use char because int might match the return type of a GCC
9833 builtin and then its argument prototype would still apply. */
9837 char XcursorImageLoadCursor ();
9841 return XcursorImageLoadCursor ();
9846 if ac_fn_c_try_link
"$LINENO"; then :
9848 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9849 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'` ;;
9850 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9851 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9852 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9856 rm -f core conftest.err conftest.
$ac_objext \
9857 conftest
$ac_exeext conftest.
$ac_ext
9858 LIBS
=$ac_check_soname_save_LIBS
9860 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9862 $as_echo "not found" >&6; }
9865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9866 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9868 cat >>confdefs.h
<<_ACEOF
9869 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9875 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9876 case "x$with_xcursor" in
9877 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9879 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9880 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9884 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9887 $as_echo_n "checking for -lXi... " >&6; }
9888 if ${ac_cv_lib_soname_Xi+:} false
; then :
9889 $as_echo_n "(cached) " >&6
9891 ac_check_soname_save_LIBS
=$LIBS
9892 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9894 /* end confdefs.h. */
9896 /* Override any GCC internal prototype to avoid an error.
9897 Use char because int might match the return type of a GCC
9898 builtin and then its argument prototype would still apply. */
9902 char XOpenDevice ();
9906 return XOpenDevice ();
9911 if ac_fn_c_try_link
"$LINENO"; then :
9913 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9914 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'` ;;
9915 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9916 if ${ac_cv_lib_soname_Xi:+false} :; then :
9917 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9921 rm -f core conftest.err conftest.
$ac_objext \
9922 conftest
$ac_exeext conftest.
$ac_ext
9923 LIBS
=$ac_check_soname_save_LIBS
9925 if ${ac_cv_lib_soname_Xi:+false} :; then :
9926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9927 $as_echo "not found" >&6; }
9930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9931 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9933 cat >>confdefs.h
<<_ACEOF
9934 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9940 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9941 case "x$with_xinput" in
9942 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9944 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9945 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9949 if test "x$ac_cv_lib_soname_Xi" != x
9951 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9952 case "x$with_xinput2" in
9953 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9955 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9956 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9961 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9964 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9965 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9966 $as_echo_n "(cached) " >&6
9968 ac_check_lib_save_LIBS
=$LIBS
9969 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9971 /* end confdefs.h. */
9973 /* Override any GCC internal prototype to avoid an error.
9974 Use char because int might match the return type of a GCC
9975 builtin and then its argument prototype would still apply. */
9979 char XShmQueryExtension ();
9983 return XShmQueryExtension ();
9988 if ac_fn_c_try_link
"$LINENO"; then :
9989 ac_cv_lib_Xext_XShmQueryExtension
=yes
9991 ac_cv_lib_Xext_XShmQueryExtension
=no
9993 rm -f core conftest.err conftest.
$ac_objext \
9994 conftest
$ac_exeext conftest.
$ac_ext
9995 LIBS
=$ac_check_lib_save_LIBS
9997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9998 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9999 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
10001 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10006 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10007 case "x$with_xshm" in
10008 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10010 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10011 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10015 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10018 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10019 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
10020 $as_echo_n "(cached) " >&6
10022 ac_check_lib_save_LIBS
=$LIBS
10023 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10025 /* end confdefs.h. */
10027 /* Override any GCC internal prototype to avoid an error.
10028 Use char because int might match the return type of a GCC
10029 builtin and then its argument prototype would still apply. */
10033 char XShapeQueryExtension ();
10037 return XShapeQueryExtension ();
10042 if ac_fn_c_try_link
"$LINENO"; then :
10043 ac_cv_lib_Xext_XShapeQueryExtension
=yes
10045 ac_cv_lib_Xext_XShapeQueryExtension
=no
10047 rm -f core conftest.err conftest.
$ac_objext \
10048 conftest
$ac_exeext conftest.
$ac_ext
10049 LIBS
=$ac_check_lib_save_LIBS
10051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10052 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10053 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
10055 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10060 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10061 case "x$with_xshape" in
10062 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10064 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
10065 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10069 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10072 $as_echo_n "checking for -lXxf86vm... " >&6; }
10073 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
10074 $as_echo_n "(cached) " >&6
10076 ac_check_soname_save_LIBS
=$LIBS
10077 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10079 /* end confdefs.h. */
10081 /* Override any GCC internal prototype to avoid an error.
10082 Use char because int might match the return type of a GCC
10083 builtin and then its argument prototype would still apply. */
10087 char XF86VidModeQueryExtension ();
10091 return XF86VidModeQueryExtension ();
10096 if ac_fn_c_try_link
"$LINENO"; then :
10098 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10099 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'` ;;
10100 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10101 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10102 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10106 rm -f core conftest.err conftest.
$ac_objext \
10107 conftest
$ac_exeext conftest.
$ac_ext
10108 LIBS
=$ac_check_soname_save_LIBS
10110 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10112 $as_echo "not found" >&6; }
10115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10116 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10118 cat >>confdefs.h
<<_ACEOF
10119 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10125 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10126 case "x$with_xxf86vm" in
10127 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10129 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10130 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10134 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10137 $as_echo_n "checking for -lXrender... " >&6; }
10138 if ${ac_cv_lib_soname_Xrender+:} false
; then :
10139 $as_echo_n "(cached) " >&6
10141 ac_check_soname_save_LIBS
=$LIBS
10142 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10144 /* end confdefs.h. */
10146 /* Override any GCC internal prototype to avoid an error.
10147 Use char because int might match the return type of a GCC
10148 builtin and then its argument prototype would still apply. */
10152 char XRenderQueryExtension ();
10156 return XRenderQueryExtension ();
10161 if ac_fn_c_try_link
"$LINENO"; then :
10163 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10164 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'` ;;
10165 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10166 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10167 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10171 rm -f core conftest.err conftest.
$ac_objext \
10172 conftest
$ac_exeext conftest.
$ac_ext
10173 LIBS
=$ac_check_soname_save_LIBS
10175 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10177 $as_echo "not found" >&6; }
10180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10181 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10183 cat >>confdefs.h
<<_ACEOF
10184 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10188 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10189 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
10190 $as_echo_n "(cached) " >&6
10192 ac_check_lib_save_LIBS
=$LIBS
10193 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10195 /* end confdefs.h. */
10197 /* Override any GCC internal prototype to avoid an error.
10198 Use char because int might match the return type of a GCC
10199 builtin and then its argument prototype would still apply. */
10203 char XRenderSetPictureTransform ();
10207 return XRenderSetPictureTransform ();
10212 if ac_fn_c_try_link
"$LINENO"; then :
10213 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10215 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10217 rm -f core conftest.err conftest.
$ac_objext \
10218 conftest
$ac_exeext conftest.
$ac_ext
10219 LIBS
=$ac_check_lib_save_LIBS
10221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10222 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10223 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
10225 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10230 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10231 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
10232 $as_echo_n "(cached) " >&6
10234 ac_check_lib_save_LIBS
=$LIBS
10235 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10237 /* end confdefs.h. */
10239 /* Override any GCC internal prototype to avoid an error.
10240 Use char because int might match the return type of a GCC
10241 builtin and then its argument prototype would still apply. */
10245 char XRenderCreateLinearGradient ();
10249 return XRenderCreateLinearGradient ();
10254 if ac_fn_c_try_link
"$LINENO"; then :
10255 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
10257 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
10259 rm -f core conftest.err conftest.
$ac_objext \
10260 conftest
$ac_exeext conftest.
$ac_ext
10261 LIBS
=$ac_check_lib_save_LIBS
10263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10264 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10265 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
10267 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10274 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10275 case "x$with_xrender" in
10276 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10278 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
10279 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10283 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10286 /* end confdefs.h. */
10287 #include <X11/Xlib.h>
10288 #include <X11/extensions/Xrandr.h>
10292 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10297 if ac_fn_c_try_compile
"$LINENO"; then :
10298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10299 $as_echo_n "checking for -lXrandr... " >&6; }
10300 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
10301 $as_echo_n "(cached) " >&6
10303 ac_check_soname_save_LIBS
=$LIBS
10304 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10306 /* end confdefs.h. */
10308 /* Override any GCC internal prototype to avoid an error.
10309 Use char because int might match the return type of a GCC
10310 builtin and then its argument prototype would still apply. */
10314 char XRRQueryExtension ();
10318 return XRRQueryExtension ();
10323 if ac_fn_c_try_link
"$LINENO"; then :
10325 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10326 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'` ;;
10327 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10328 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10329 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10333 rm -f core conftest.err conftest.
$ac_objext \
10334 conftest
$ac_exeext conftest.
$ac_ext
10335 LIBS
=$ac_check_soname_save_LIBS
10337 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10339 $as_echo "not found" >&6; }
10342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10343 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10345 cat >>confdefs.h
<<_ACEOF
10346 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10349 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10350 /* end confdefs.h. */
10351 #include <X11/Xlib.h>
10352 #include <X11/extensions/Xrandr.h>
10356 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10361 if ac_fn_c_try_compile
"$LINENO"; then :
10363 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10366 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10369 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10371 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10372 case "x$with_xrandr" in
10373 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10375 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10376 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10380 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10383 /* end confdefs.h. */
10384 #include <X11/Xlib.h>
10385 #include <X11/extensions/Xinerama.h>
10389 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10394 if ac_fn_c_try_compile
"$LINENO"; then :
10395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10396 $as_echo_n "checking for -lXinerama... " >&6; }
10397 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10398 $as_echo_n "(cached) " >&6
10400 ac_check_soname_save_LIBS
=$LIBS
10401 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10403 /* end confdefs.h. */
10405 /* Override any GCC internal prototype to avoid an error.
10406 Use char because int might match the return type of a GCC
10407 builtin and then its argument prototype would still apply. */
10411 char XineramaQueryScreens ();
10415 return XineramaQueryScreens ();
10420 if ac_fn_c_try_link
"$LINENO"; then :
10422 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10423 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'` ;;
10424 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10425 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10426 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10430 rm -f core conftest.err conftest.
$ac_objext \
10431 conftest
$ac_exeext conftest.
$ac_ext
10432 LIBS
=$ac_check_soname_save_LIBS
10434 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10436 $as_echo "not found" >&6; }
10439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10440 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10442 cat >>confdefs.h
<<_ACEOF
10443 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10449 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10451 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10452 case "x$with_xinerama" in
10453 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10455 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10456 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10460 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10463 $as_echo_n "checking for -lXcomposite... " >&6; }
10464 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10465 $as_echo_n "(cached) " >&6
10467 ac_check_soname_save_LIBS
=$LIBS
10468 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10470 /* end confdefs.h. */
10472 /* Override any GCC internal prototype to avoid an error.
10473 Use char because int might match the return type of a GCC
10474 builtin and then its argument prototype would still apply. */
10478 char XCompositeRedirectWindow ();
10482 return XCompositeRedirectWindow ();
10487 if ac_fn_c_try_link
"$LINENO"; then :
10489 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10490 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'` ;;
10491 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10492 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10493 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10497 rm -f core conftest.err conftest.
$ac_objext \
10498 conftest
$ac_exeext conftest.
$ac_ext
10499 LIBS
=$ac_check_soname_save_LIBS
10501 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10503 $as_echo "not found" >&6; }
10506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10507 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10509 cat >>confdefs.h
<<_ACEOF
10510 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10516 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10517 case "x$with_xcomposite" in
10518 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10520 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10521 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10525 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10526 #include <X11/Xlib.h>
10529 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10531 cat >>confdefs.h
<<_ACEOF
10532 #define HAVE_XICCALLBACK_CALLBACK 1
10537 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10538 #include <X11/Xlib.h>
10541 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10543 cat >>confdefs.h
<<_ACEOF
10544 #define HAVE_XEVENT_XCOOKIE 1
10553 if test "x$with_opengl" != "xno"
10555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10556 $as_echo_n "checking for -lGL... " >&6; }
10557 if ${ac_cv_lib_soname_GL+:} false
; then :
10558 $as_echo_n "(cached) " >&6
10560 ac_check_soname_save_LIBS
=$LIBS
10561 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10563 /* end confdefs.h. */
10565 /* Override any GCC internal prototype to avoid an error.
10566 Use char because int might match the return type of a GCC
10567 builtin and then its argument prototype would still apply. */
10571 char glXCreateContext ();
10575 return glXCreateContext ();
10580 if ac_fn_c_try_link
"$LINENO"; then :
10582 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10583 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'` ;;
10584 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10585 if ${ac_cv_lib_soname_GL:+false} :; then :
10586 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10590 rm -f core conftest.err conftest.
$ac_objext \
10591 conftest
$ac_exeext conftest.
$ac_ext
10592 LIBS
=$ac_check_soname_save_LIBS
10594 if ${ac_cv_lib_soname_GL:+false} :; then :
10595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10596 $as_echo "not found" >&6; }
10597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10598 $as_echo_n "checking for -lGL... " >&6; }
10599 if ${ac_cv_lib_soname_GL+:} false
; then :
10600 $as_echo_n "(cached) " >&6
10602 ac_check_soname_save_LIBS
=$LIBS
10603 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"
10604 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10605 /* end confdefs.h. */
10607 /* Override any GCC internal prototype to avoid an error.
10608 Use char because int might match the return type of a GCC
10609 builtin and then its argument prototype would still apply. */
10613 char glXCreateContext ();
10617 return glXCreateContext ();
10622 if ac_fn_c_try_link
"$LINENO"; then :
10624 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10625 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'` ;;
10626 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10627 if ${ac_cv_lib_soname_GL:+false} :; then :
10628 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10632 rm -f core conftest.err conftest.
$ac_objext \
10633 conftest
$ac_exeext conftest.
$ac_ext
10634 LIBS
=$ac_check_soname_save_LIBS
10636 if ${ac_cv_lib_soname_GL:+false} :; then :
10637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10638 $as_echo "not found" >&6; }
10639 if test -f /usr
/X11R
6/lib
/libGL.a
10641 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10642 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10644 opengl_msg
="No OpenGL library found on this system."
10647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10648 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10650 cat >>confdefs.h
<<_ACEOF
10651 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10654 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"
10657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10658 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10660 cat >>confdefs.h
<<_ACEOF
10661 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10666 if test "x$with_glu" != "xno"
10668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10669 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10670 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10671 $as_echo_n "(cached) " >&6
10673 ac_check_lib_save_LIBS
=$LIBS
10674 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10676 /* end confdefs.h. */
10678 /* Override any GCC internal prototype to avoid an error.
10679 Use char because int might match the return type of a GCC
10680 builtin and then its argument prototype would still apply. */
10688 return gluLookAt ();
10693 if ac_fn_c_try_link
"$LINENO"; then :
10694 ac_cv_lib_GLU_gluLookAt
=yes
10696 ac_cv_lib_GLU_gluLookAt
=no
10698 rm -f core conftest.err conftest.
$ac_objext \
10699 conftest
$ac_exeext conftest.
$ac_ext
10700 LIBS
=$ac_check_lib_save_LIBS
10702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10703 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10704 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10708 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10709 case "x$with_glu" in
10710 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10712 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10713 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10718 if test "x$with_osmesa" != "xno"
10720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10721 $as_echo_n "checking for -lOSMesa... " >&6; }
10722 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10723 $as_echo_n "(cached) " >&6
10725 ac_check_soname_save_LIBS
=$LIBS
10726 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10728 /* end confdefs.h. */
10730 /* Override any GCC internal prototype to avoid an error.
10731 Use char because int might match the return type of a GCC
10732 builtin and then its argument prototype would still apply. */
10745 if ac_fn_c_try_link
"$LINENO"; then :
10747 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10748 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'` ;;
10749 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10750 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10751 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10755 rm -f core conftest.err conftest.
$ac_objext \
10756 conftest
$ac_exeext conftest.
$ac_ext
10757 LIBS
=$ac_check_soname_save_LIBS
10759 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10761 $as_echo "not found" >&6; }
10764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10765 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10767 cat >>confdefs.h
<<_ACEOF
10768 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10773 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10774 case "x$with_osmesa" in
10775 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10777 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10778 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10783 if test -n "$opengl_msg"; then :
10784 case "x$with_opengl" in
10785 x
) as_fn_append wine_warnings
"|$opengl_msg
10786 OpenGL and Direct3D won't be supported." ;;
10788 *) as_fn_error $?
"$opengl_msg
10789 OpenGL and Direct3D won't be supported.
10790 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10794 CPPFLAGS
="$ac_save_CPPFLAGS"
10798 enable_winex11_drv
=${enable_winex11_drv:-no}
10800 if test "x$X_LIBS" = "x"; then :
10803 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10804 without X support, which probably isn't what you want. You will need
10805 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10806 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10810 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10812 if test "$ac_cv_header_CL_cl_h" = "yes"
10814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10815 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10816 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10817 $as_echo_n "(cached) " >&6
10819 ac_check_lib_save_LIBS
=$LIBS
10820 LIBS
="-lOpenCL $LIBS"
10821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10822 /* end confdefs.h. */
10824 /* Override any GCC internal prototype to avoid an error.
10825 Use char because int might match the return type of a GCC
10826 builtin and then its argument prototype would still apply. */
10830 char clGetPlatformInfo ();
10834 return clGetPlatformInfo ();
10839 if ac_fn_c_try_link
"$LINENO"; then :
10840 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10842 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10844 rm -f core conftest.err conftest.
$ac_objext \
10845 conftest
$ac_exeext conftest.
$ac_ext
10846 LIBS
=$ac_check_lib_save_LIBS
10848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10849 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10850 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10851 OPENCL_LIBS
="-lOpenCL"
10856 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10857 case "x$with_opencl" in
10858 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10860 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10861 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10864 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10866 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10869 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10870 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10871 $as_echo_n "(cached) " >&6
10873 ac_check_lib_save_LIBS
=$LIBS
10874 LIBS
="-lpcap $LIBS"
10875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10876 /* end confdefs.h. */
10878 /* Override any GCC internal prototype to avoid an error.
10879 Use char because int might match the return type of a GCC
10880 builtin and then its argument prototype would still apply. */
10884 char pcap_create ();
10888 return pcap_create ();
10893 if ac_fn_c_try_link
"$LINENO"; then :
10894 ac_cv_lib_pcap_pcap_create
=yes
10896 ac_cv_lib_pcap_pcap_create
=no
10898 rm -f core conftest.err conftest.
$ac_objext \
10899 conftest
$ac_exeext conftest.
$ac_ext
10900 LIBS
=$ac_check_lib_save_LIBS
10902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10903 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10904 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10910 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10911 case "x$with_pcap" in
10912 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10914 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10915 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10918 test "x$ac_cv_lib_pcap_pcap_create" != xyes
&& enable_wpcap
=${enable_wpcap:-no}
10921 if test "x$with_xml" != "xno"
10923 if ${XML2_CFLAGS:+false} :; then :
10924 if ${PKG_CONFIG+:} false
; then :
10925 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10928 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10929 if ${XML2_LIBS:+false} :; then :
10930 if ${PKG_CONFIG+:} false
; then :
10931 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10934 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10935 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10936 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10937 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10938 ac_save_CPPFLAGS
=$CPPFLAGS
10939 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10940 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10942 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10943 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10944 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10945 cat >>confdefs.h
<<_ACEOF
10946 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10953 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"
10955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10956 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10957 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10958 $as_echo_n "(cached) " >&6
10960 ac_check_lib_save_LIBS
=$LIBS
10961 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10963 /* end confdefs.h. */
10965 /* Override any GCC internal prototype to avoid an error.
10966 Use char because int might match the return type of a GCC
10967 builtin and then its argument prototype would still apply. */
10971 char xmlParseMemory ();
10975 return xmlParseMemory ();
10980 if ac_fn_c_try_link
"$LINENO"; then :
10981 ac_cv_lib_xml2_xmlParseMemory
=yes
10983 ac_cv_lib_xml2_xmlParseMemory
=no
10985 rm -f core conftest.err conftest.
$ac_objext \
10986 conftest
$ac_exeext conftest.
$ac_ext
10987 LIBS
=$ac_check_lib_save_LIBS
10989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10990 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10991 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10993 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11000 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11001 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
11002 $as_echo_n "(cached) " >&6
11004 ac_check_lib_save_LIBS
=$LIBS
11005 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11007 /* end confdefs.h. */
11009 /* Override any GCC internal prototype to avoid an error.
11010 Use char because int might match the return type of a GCC
11011 builtin and then its argument prototype would still apply. */
11015 char xmlReadMemory ();
11019 return xmlReadMemory ();
11024 if ac_fn_c_try_link
"$LINENO"; then :
11025 ac_cv_lib_xml2_xmlReadMemory
=yes
11027 ac_cv_lib_xml2_xmlReadMemory
=no
11029 rm -f core conftest.err conftest.
$ac_objext \
11030 conftest
$ac_exeext conftest.
$ac_ext
11031 LIBS
=$ac_check_lib_save_LIBS
11033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11034 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11035 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
11037 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11042 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11043 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
11044 $as_echo_n "(cached) " >&6
11046 ac_check_lib_save_LIBS
=$LIBS
11047 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11049 /* end confdefs.h. */
11051 /* Override any GCC internal prototype to avoid an error.
11052 Use char because int might match the return type of a GCC
11053 builtin and then its argument prototype would still apply. */
11057 char xmlNewDocPI ();
11061 return xmlNewDocPI ();
11066 if ac_fn_c_try_link
"$LINENO"; then :
11067 ac_cv_lib_xml2_xmlNewDocPI
=yes
11069 ac_cv_lib_xml2_xmlNewDocPI
=no
11071 rm -f core conftest.err conftest.
$ac_objext \
11072 conftest
$ac_exeext conftest.
$ac_ext
11073 LIBS
=$ac_check_lib_save_LIBS
11075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11076 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11077 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
11079 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11084 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11085 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
11086 $as_echo_n "(cached) " >&6
11088 ac_check_lib_save_LIBS
=$LIBS
11089 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11091 /* end confdefs.h. */
11093 /* Override any GCC internal prototype to avoid an error.
11094 Use char because int might match the return type of a GCC
11095 builtin and then its argument prototype would still apply. */
11099 char xmlSchemaSetParserStructuredErrors ();
11103 return xmlSchemaSetParserStructuredErrors ();
11108 if ac_fn_c_try_link
"$LINENO"; then :
11109 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
11111 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
11113 rm -f core conftest.err conftest.
$ac_objext \
11114 conftest
$ac_exeext conftest.
$ac_ext
11115 LIBS
=$ac_check_lib_save_LIBS
11117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11118 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11119 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
11121 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11126 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11127 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
11128 $as_echo_n "(cached) " >&6
11130 ac_check_lib_save_LIBS
=$LIBS
11131 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11133 /* end confdefs.h. */
11135 /* Override any GCC internal prototype to avoid an error.
11136 Use char because int might match the return type of a GCC
11137 builtin and then its argument prototype would still apply. */
11141 char xmlSchemaSetValidStructuredErrors ();
11145 return xmlSchemaSetValidStructuredErrors ();
11150 if ac_fn_c_try_link
"$LINENO"; then :
11151 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
11153 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
11155 rm -f core conftest.err conftest.
$ac_objext \
11156 conftest
$ac_exeext conftest.
$ac_ext
11157 LIBS
=$ac_check_lib_save_LIBS
11159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11160 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11161 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
11163 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11168 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11169 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
11170 $as_echo_n "(cached) " >&6
11172 ac_check_lib_save_LIBS
=$LIBS
11173 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11175 /* end confdefs.h. */
11177 /* Override any GCC internal prototype to avoid an error.
11178 Use char because int might match the return type of a GCC
11179 builtin and then its argument prototype would still apply. */
11183 char xmlFirstElementChild ();
11187 return xmlFirstElementChild ();
11192 if ac_fn_c_try_link
"$LINENO"; then :
11193 ac_cv_lib_xml2_xmlFirstElementChild
=yes
11195 ac_cv_lib_xml2_xmlFirstElementChild
=no
11197 rm -f core conftest.err conftest.
$ac_objext \
11198 conftest
$ac_exeext conftest.
$ac_ext
11199 LIBS
=$ac_check_lib_save_LIBS
11201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11202 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11203 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
11205 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11209 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11211 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
11213 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11221 CPPFLAGS
=$ac_save_CPPFLAGS
11222 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11223 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11226 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11227 case "x$with_xml" in
11228 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11230 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11231 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11235 if test "x$with_xslt" != "xno"
11237 if ${XSLT_CFLAGS:+false} :; then :
11238 if ${PKG_CONFIG+:} false
; then :
11239 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11242 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
11243 if ${XSLT_LIBS:+false} :; then :
11244 if ${PKG_CONFIG+:} false
; then :
11245 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11248 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
11249 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
11250 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11251 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11252 ac_save_CPPFLAGS
=$CPPFLAGS
11253 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
11254 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11256 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11257 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11258 # include <libxslt/pattern.h>
11261 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11262 cat >>confdefs.h
<<_ACEOF
11263 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11270 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11273 $as_echo_n "checking for -lxslt... " >&6; }
11274 if ${ac_cv_lib_soname_xslt+:} false
; then :
11275 $as_echo_n "(cached) " >&6
11277 ac_check_soname_save_LIBS
=$LIBS
11278 LIBS
="-lxslt $XSLT_LIBS $LIBS"
11279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11280 /* end confdefs.h. */
11282 /* Override any GCC internal prototype to avoid an error.
11283 Use char because int might match the return type of a GCC
11284 builtin and then its argument prototype would still apply. */
11288 char xsltCompilePattern ();
11292 return xsltCompilePattern ();
11297 if ac_fn_c_try_link
"$LINENO"; then :
11299 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11300 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'` ;;
11301 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11302 if ${ac_cv_lib_soname_xslt:+false} :; then :
11303 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11307 rm -f core conftest.err conftest.
$ac_objext \
11308 conftest
$ac_exeext conftest.
$ac_ext
11309 LIBS
=$ac_check_soname_save_LIBS
11311 if ${ac_cv_lib_soname_xslt:+false} :; then :
11312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11313 $as_echo "not found" >&6; }
11316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11317 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11319 cat >>confdefs.h
<<_ACEOF
11320 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11328 CPPFLAGS
=$ac_save_CPPFLAGS
11329 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11330 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11333 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11334 case "x$with_xslt" in
11335 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11337 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11338 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11342 if test "x$with_dbus" != "xno"
11344 if ${DBUS_CFLAGS:+false} :; then :
11345 if ${PKG_CONFIG+:} false
; then :
11346 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11350 if ${DBUS_LIBS:+false} :; then :
11351 if ${PKG_CONFIG+:} false
; then :
11352 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11357 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11358 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11359 ac_save_CPPFLAGS
=$CPPFLAGS
11360 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11361 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11362 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11364 $as_echo_n "checking for -ldbus-1... " >&6; }
11365 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11366 $as_echo_n "(cached) " >&6
11368 ac_check_soname_save_LIBS
=$LIBS
11369 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11370 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11371 /* end confdefs.h. */
11373 /* Override any GCC internal prototype to avoid an error.
11374 Use char because int might match the return type of a GCC
11375 builtin and then its argument prototype would still apply. */
11379 char dbus_connection_close ();
11383 return dbus_connection_close ();
11388 if ac_fn_c_try_link
"$LINENO"; then :
11390 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11391 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'` ;;
11392 *) 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'`
11393 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11394 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11398 rm -f core conftest.err conftest.
$ac_objext \
11399 conftest
$ac_exeext conftest.
$ac_ext
11400 LIBS
=$ac_check_soname_save_LIBS
11402 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11404 $as_echo "not found" >&6; }
11407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11408 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11410 cat >>confdefs.h
<<_ACEOF
11411 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11421 CPPFLAGS
=$ac_save_CPPFLAGS
11422 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11423 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11426 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11427 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11428 case "x$with_dbus" in
11429 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11431 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11432 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11436 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11438 if ${HAL_CFLAGS:+false} :; then :
11439 if ${PKG_CONFIG+:} false
; then :
11440 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11444 if ${HAL_LIBS:+false} :; then :
11445 if ${PKG_CONFIG+:} false
; then :
11446 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11450 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11451 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11452 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11453 ac_save_CPPFLAGS
=$CPPFLAGS
11454 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11455 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11456 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11458 $as_echo_n "checking for -lhal... " >&6; }
11459 if ${ac_cv_lib_soname_hal+:} false
; then :
11460 $as_echo_n "(cached) " >&6
11462 ac_check_soname_save_LIBS
=$LIBS
11463 LIBS
="-lhal $HAL_LIBS $LIBS"
11464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11465 /* end confdefs.h. */
11467 /* Override any GCC internal prototype to avoid an error.
11468 Use char because int might match the return type of a GCC
11469 builtin and then its argument prototype would still apply. */
11473 char libhal_ctx_new ();
11477 return libhal_ctx_new ();
11482 if ac_fn_c_try_link
"$LINENO"; then :
11484 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11485 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'` ;;
11486 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11487 if ${ac_cv_lib_soname_hal:+false} :; then :
11488 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11492 rm -f core conftest.err conftest.
$ac_objext \
11493 conftest
$ac_exeext conftest.
$ac_ext
11494 LIBS
=$ac_check_soname_save_LIBS
11496 if ${ac_cv_lib_soname_hal:+false} :; then :
11497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11498 $as_echo "not found" >&6; }
11501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11502 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11504 cat >>confdefs.h
<<_ACEOF
11505 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11515 CPPFLAGS
=$ac_save_CPPFLAGS
11516 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11517 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11519 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11520 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11521 case "x$with_hal" in
11522 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11524 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11525 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11530 if test "x$with_gnutls" != "xno"
11532 if ${GNUTLS_CFLAGS:+false} :; then :
11533 if ${PKG_CONFIG+:} false
; then :
11534 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11538 if ${GNUTLS_LIBS:+false} :; then :
11539 if ${PKG_CONFIG+:} false
; then :
11540 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11545 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11546 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11547 ac_save_CPPFLAGS
=$CPPFLAGS
11548 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11549 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11550 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11552 /* end confdefs.h. */
11553 #include <gnutls/gnutls.h>
11554 #include <gnutls/crypto.h>
11558 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11563 if ac_fn_c_try_compile
"$LINENO"; then :
11564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11565 $as_echo_n "checking for -lgnutls... " >&6; }
11566 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11567 $as_echo_n "(cached) " >&6
11569 ac_check_soname_save_LIBS
=$LIBS
11570 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11572 /* end confdefs.h. */
11574 /* Override any GCC internal prototype to avoid an error.
11575 Use char because int might match the return type of a GCC
11576 builtin and then its argument prototype would still apply. */
11580 char gnutls_global_init ();
11584 return gnutls_global_init ();
11589 if ac_fn_c_try_link
"$LINENO"; then :
11591 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11592 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'` ;;
11593 *) 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'`
11594 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11595 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'`
11599 rm -f core conftest.err conftest.
$ac_objext \
11600 conftest
$ac_exeext conftest.
$ac_ext
11601 LIBS
=$ac_check_soname_save_LIBS
11603 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11605 $as_echo "not found" >&6; }
11608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11609 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11611 cat >>confdefs.h
<<_ACEOF
11612 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11618 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11624 CPPFLAGS
=$ac_save_CPPFLAGS
11625 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11626 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11629 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11630 case "x$with_gnutls" in
11631 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11633 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11634 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11639 if test "$ac_cv_header_ncurses_h" = "yes"
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11642 $as_echo_n "checking for -lncurses... " >&6; }
11643 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11644 $as_echo_n "(cached) " >&6
11646 ac_check_soname_save_LIBS
=$LIBS
11647 LIBS
="-lncurses $LIBS"
11648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11649 /* end confdefs.h. */
11651 /* Override any GCC internal prototype to avoid an error.
11652 Use char because int might match the return type of a GCC
11653 builtin and then its argument prototype would still apply. */
11666 if ac_fn_c_try_link
"$LINENO"; then :
11668 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11669 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'` ;;
11670 *) 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'`
11671 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11672 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11676 rm -f core conftest.err conftest.
$ac_objext \
11677 conftest
$ac_exeext conftest.
$ac_ext
11678 LIBS
=$ac_check_soname_save_LIBS
11680 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11682 $as_echo "not found" >&6; }
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11686 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11688 cat >>confdefs.h
<<_ACEOF
11689 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11692 CURSES_LIBS
="-lncurses"
11694 elif test "$ac_cv_header_curses_h" = "yes"
11696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11697 $as_echo_n "checking for -lcurses... " >&6; }
11698 if ${ac_cv_lib_soname_curses+:} false
; then :
11699 $as_echo_n "(cached) " >&6
11701 ac_check_soname_save_LIBS
=$LIBS
11702 LIBS
="-lcurses $LIBS"
11703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11704 /* end confdefs.h. */
11706 /* Override any GCC internal prototype to avoid an error.
11707 Use char because int might match the return type of a GCC
11708 builtin and then its argument prototype would still apply. */
11721 if ac_fn_c_try_link
"$LINENO"; then :
11723 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11724 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'` ;;
11725 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11726 if ${ac_cv_lib_soname_curses:+false} :; then :
11727 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11731 rm -f core conftest.err conftest.
$ac_objext \
11732 conftest
$ac_exeext conftest.
$ac_ext
11733 LIBS
=$ac_check_soname_save_LIBS
11735 if ${ac_cv_lib_soname_curses:+false} :; then :
11736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11737 $as_echo "not found" >&6; }
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11741 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11743 cat >>confdefs.h
<<_ACEOF
11744 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11747 CURSES_LIBS
="-lcurses"
11750 ac_save_LIBS
="$LIBS"
11751 LIBS
="$LIBS $CURSES_LIBS"
11752 for ac_func
in mousemask
11754 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11755 if test "x$ac_cv_func_mousemask" = xyes
; then :
11756 cat >>confdefs.h
<<_ACEOF
11757 #define HAVE_MOUSEMASK 1
11763 LIBS
="$ac_save_LIBS"
11764 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11765 case "x$with_curses" in
11766 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11768 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11769 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11773 if test "x$with_sane" != "xno"
11775 if ${SANE_CFLAGS:+false} :; then :
11776 if ${PKG_CONFIG+:} false
; then :
11777 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11780 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11781 if ${SANE_LIBS:+false} :; then :
11782 if ${PKG_CONFIG+:} false
; then :
11783 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11786 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11788 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11789 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11790 ac_save_CPPFLAGS
=$CPPFLAGS
11791 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11792 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11793 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11795 $as_echo_n "checking for -lsane... " >&6; }
11796 if ${ac_cv_lib_soname_sane+:} false
; then :
11797 $as_echo_n "(cached) " >&6
11799 ac_check_soname_save_LIBS
=$LIBS
11800 LIBS
="-lsane $SANE_LIBS $LIBS"
11801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11802 /* end confdefs.h. */
11804 /* Override any GCC internal prototype to avoid an error.
11805 Use char because int might match the return type of a GCC
11806 builtin and then its argument prototype would still apply. */
11814 return sane_init ();
11819 if ac_fn_c_try_link
"$LINENO"; then :
11821 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11822 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'` ;;
11823 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11824 if ${ac_cv_lib_soname_sane:+false} :; then :
11825 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11829 rm -f core conftest.err conftest.
$ac_objext \
11830 conftest
$ac_exeext conftest.
$ac_ext
11831 LIBS
=$ac_check_soname_save_LIBS
11833 if ${ac_cv_lib_soname_sane:+false} :; then :
11834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11835 $as_echo "not found" >&6; }
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11839 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11841 cat >>confdefs.h
<<_ACEOF
11842 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11852 CPPFLAGS
=$ac_save_CPPFLAGS
11853 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11854 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11857 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11858 case "x$with_sane" in
11859 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11861 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11862 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11866 if test "x$with_v4l" != "xno"
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11869 $as_echo_n "checking for -lv4l1... " >&6; }
11870 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11871 $as_echo_n "(cached) " >&6
11873 ac_check_soname_save_LIBS
=$LIBS
11874 LIBS
="-lv4l1 $LIBS"
11875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11876 /* end confdefs.h. */
11878 /* Override any GCC internal prototype to avoid an error.
11879 Use char because int might match the return type of a GCC
11880 builtin and then its argument prototype would still apply. */
11888 return v4l1_open ();
11893 if ac_fn_c_try_link
"$LINENO"; then :
11895 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11896 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'` ;;
11897 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11898 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11899 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11903 rm -f core conftest.err conftest.
$ac_objext \
11904 conftest
$ac_exeext conftest.
$ac_ext
11905 LIBS
=$ac_check_soname_save_LIBS
11907 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11909 $as_echo "not found" >&6; }
11912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11913 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11915 cat >>confdefs.h
<<_ACEOF
11916 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11922 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11923 case "x$with_v4l" in
11924 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11926 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11927 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11931 if test "x$with_gphoto" != "xno"
11933 if ${GPHOTO2_CFLAGS:+false} :; then :
11934 if ${PKG_CONFIG+:} false
; then :
11935 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11938 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11939 if ${GPHOTO2_LIBS:+false} :; then :
11940 if ${PKG_CONFIG+:} false
; then :
11941 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11944 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11945 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11946 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11947 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11948 ac_save_CPPFLAGS
=$CPPFLAGS
11949 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11950 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11951 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11953 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11954 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11955 $as_echo_n "(cached) " >&6
11957 ac_check_lib_save_LIBS
=$LIBS
11958 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11960 /* end confdefs.h. */
11962 /* Override any GCC internal prototype to avoid an error.
11963 Use char because int might match the return type of a GCC
11964 builtin and then its argument prototype would still apply. */
11968 char gp_camera_new ();
11972 return gp_camera_new ();
11977 if ac_fn_c_try_link
"$LINENO"; then :
11978 ac_cv_lib_gphoto2_gp_camera_new
=yes
11980 ac_cv_lib_gphoto2_gp_camera_new
=no
11982 rm -f core conftest.err conftest.
$ac_objext \
11983 conftest
$ac_exeext conftest.
$ac_ext
11984 LIBS
=$ac_check_lib_save_LIBS
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11987 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11988 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11990 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11993 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11997 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
12001 CPPFLAGS
=$ac_save_CPPFLAGS
12002 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12003 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12005 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12006 if ${PKG_CONFIG+:} false
; then :
12007 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12010 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
12011 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12012 if ${PKG_CONFIG+:} false
; then :
12013 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12016 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
12017 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12018 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12019 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12020 ac_save_CPPFLAGS
=$CPPFLAGS
12021 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12022 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12023 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12025 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12026 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
12027 $as_echo_n "(cached) " >&6
12029 ac_check_lib_save_LIBS
=$LIBS
12030 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12032 /* end confdefs.h. */
12034 /* Override any GCC internal prototype to avoid an error.
12035 Use char because int might match the return type of a GCC
12036 builtin and then its argument prototype would still apply. */
12040 char gp_port_info_list_new ();
12044 return gp_port_info_list_new ();
12049 if ac_fn_c_try_link
"$LINENO"; then :
12050 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
12052 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
12054 rm -f core conftest.err conftest.
$ac_objext \
12055 conftest
$ac_exeext conftest.
$ac_ext
12056 LIBS
=$ac_check_lib_save_LIBS
12058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12059 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12060 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
12062 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12065 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12069 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12073 CPPFLAGS
=$ac_save_CPPFLAGS
12074 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12075 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12078 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12079 case "x$with_gphoto" in
12080 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12082 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12083 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12086 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12087 case "x$with_gphoto" in
12088 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12090 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12091 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12096 if test "$ac_cv_header_resolv_h" = "yes"
12098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12099 $as_echo_n "checking for resolver library... " >&6; }
12100 if ${ac_cv_have_resolv+:} false
; then :
12101 $as_echo_n "(cached) " >&6
12103 ac_save_LIBS
="$LIBS"
12104 for lib
in '' -lresolv
12106 LIBS
="$lib $ac_save_LIBS"
12107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12108 /* end confdefs.h. */
12109 #ifdef HAVE_NETINET_IN_H
12110 #include <netinet/in.h>
12112 #include <resolv.h>
12116 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12121 if ac_fn_c_try_link
"$LINENO"; then :
12122 ac_cv_have_resolv
=${lib:-"none required"}
12124 ac_cv_have_resolv
="not found"
12126 rm -f core conftest.err conftest.
$ac_objext \
12127 conftest
$ac_exeext conftest.
$ac_ext
12128 test "x$ac_cv_have_resolv" = "xnot found" ||
break
12130 LIBS
="$ac_save_LIBS"
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12133 $as_echo "$ac_cv_have_resolv" >&6; }
12135 case "$ac_cv_have_resolv" in
12139 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12142 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12144 RESOLV_LIBS
=$ac_cv_have_resolv
12149 if test "x$with_cms" != "xno"
12151 if ${LCMS2_CFLAGS:+false} :; then :
12152 if ${PKG_CONFIG+:} false
; then :
12153 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12157 if ${LCMS2_LIBS:+false} :; then :
12158 if ${PKG_CONFIG+:} false
; then :
12159 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12163 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
12164 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12165 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12166 ac_save_CPPFLAGS
=$CPPFLAGS
12167 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
12168 for ac_header
in lcms2.h
12170 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12171 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
12172 cat >>confdefs.h
<<_ACEOF
12173 #define HAVE_LCMS2_H 1
12180 if test "$ac_cv_header_lcms2_h" = "yes"
12182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12183 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12184 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
12185 $as_echo_n "(cached) " >&6
12187 ac_check_lib_save_LIBS
=$LIBS
12188 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
12189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12190 /* end confdefs.h. */
12192 /* Override any GCC internal prototype to avoid an error.
12193 Use char because int might match the return type of a GCC
12194 builtin and then its argument prototype would still apply. */
12198 char cmsOpenProfileFromFile ();
12202 return cmsOpenProfileFromFile ();
12207 if ac_fn_c_try_link
"$LINENO"; then :
12208 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
12210 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
12212 rm -f core conftest.err conftest.
$ac_objext \
12213 conftest
$ac_exeext conftest.
$ac_ext
12214 LIBS
=$ac_check_lib_save_LIBS
12216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12217 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12218 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
12220 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12230 CPPFLAGS
=$ac_save_CPPFLAGS
12231 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12232 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12235 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12236 case "x$with_cms" in
12237 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12239 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12240 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12244 if test "x$with_freetype" != "xno"
12246 if ${FREETYPE_CFLAGS:+false} :; then :
12247 if ${PKG_CONFIG+:} false
; then :
12248 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12251 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
12252 if ${FREETYPE_LIBS:+false} :; then :
12253 if ${PKG_CONFIG+:} false
; then :
12254 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12257 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
12258 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
12259 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12260 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12261 ac_save_CPPFLAGS
=$CPPFLAGS
12262 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
12263 for ac_header
in ft2build.h
12265 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12266 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
12267 cat >>confdefs.h
<<_ACEOF
12268 #define HAVE_FT2BUILD_H 1
12275 if test "$ac_cv_header_ft2build_h" = "yes"
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12278 $as_echo_n "checking for -lfreetype... " >&6; }
12279 if ${ac_cv_lib_soname_freetype+:} false
; then :
12280 $as_echo_n "(cached) " >&6
12282 ac_check_soname_save_LIBS
=$LIBS
12283 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
12284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12285 /* end confdefs.h. */
12287 /* Override any GCC internal prototype to avoid an error.
12288 Use char because int might match the return type of a GCC
12289 builtin and then its argument prototype would still apply. */
12293 char FT_Init_FreeType ();
12297 return FT_Init_FreeType ();
12302 if ac_fn_c_try_link
"$LINENO"; then :
12304 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12305 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'` ;;
12306 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12307 if ${ac_cv_lib_soname_freetype:+false} :; then :
12308 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12312 rm -f core conftest.err conftest.
$ac_objext \
12313 conftest
$ac_exeext conftest.
$ac_ext
12314 LIBS
=$ac_check_soname_save_LIBS
12316 if ${ac_cv_lib_soname_freetype:+false} :; then :
12317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12318 $as_echo "not found" >&6; }
12321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12322 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12324 cat >>confdefs.h
<<_ACEOF
12325 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12329 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12331 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12332 #include FT_MODULE_H
12334 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12336 cat >>confdefs.h
<<_ACEOF
12337 #define HAVE_FT_TRUETYPEENGINETYPE 1
12348 CPPFLAGS
=$ac_save_CPPFLAGS
12349 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12350 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12353 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12354 case "x$with_freetype" in
12356 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12357 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12360 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
12362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12363 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12364 if ${ac_cv_c_ppdev+:} false
; then :
12365 $as_echo_n "(cached) " >&6
12367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12368 /* end confdefs.h. */
12369 #ifdef HAVE_SYS_IOCTL_H
12370 # include <sys/ioctl.h>
12372 #include <linux/ppdev.h>
12376 ioctl (1,PPCLAIM,0)
12381 if ac_fn_c_try_compile
"$LINENO"; then :
12382 ac_cv_c_ppdev
="yes"
12386 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12389 $as_echo "$ac_cv_c_ppdev" >&6; }
12390 if test "$ac_cv_c_ppdev" = "yes"
12393 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12397 ac_wine_check_funcs_save_LIBS
="$LIBS"
12398 LIBS
="$LIBS $PTHREAD_LIBS"
12400 pthread_attr_get_np \
12401 pthread_getattr_np \
12402 pthread_getthreadid_np \
12403 pthread_get_stackaddr_np \
12404 pthread_get_stacksize_np
12406 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12407 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12408 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12409 cat >>confdefs.h
<<_ACEOF
12410 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12416 LIBS
="$ac_wine_check_funcs_save_LIBS"
12418 if test "$ac_cv_header_zlib_h" = "yes"
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12421 $as_echo_n "checking for inflate in -lz... " >&6; }
12422 if ${ac_cv_lib_z_inflate+:} false
; then :
12423 $as_echo_n "(cached) " >&6
12425 ac_check_lib_save_LIBS
=$LIBS
12427 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12428 /* end confdefs.h. */
12430 /* Override any GCC internal prototype to avoid an error.
12431 Use char because int might match the return type of a GCC
12432 builtin and then its argument prototype would still apply. */
12445 if ac_fn_c_try_link
"$LINENO"; then :
12446 ac_cv_lib_z_inflate
=yes
12448 ac_cv_lib_z_inflate
=no
12450 rm -f core conftest.err conftest.
$ac_objext \
12451 conftest
$ac_exeext conftest.
$ac_ext
12452 LIBS
=$ac_check_lib_save_LIBS
12454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12455 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12456 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12458 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12465 if test "x$Z_LIBS" = "x"; then :
12466 case "x$with_zlib" in
12467 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12469 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12470 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12474 if test "x$enable_tools" != xno
12476 if test "$ac_cv_header_gettext_po_h" = "yes"
12478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12479 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12480 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12481 $as_echo_n "(cached) " >&6
12483 ac_check_lib_save_LIBS
=$LIBS
12484 LIBS
="-lgettextpo $LIBS"
12485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12486 /* end confdefs.h. */
12488 /* Override any GCC internal prototype to avoid an error.
12489 Use char because int might match the return type of a GCC
12490 builtin and then its argument prototype would still apply. */
12494 char po_message_msgctxt ();
12498 return po_message_msgctxt ();
12503 if ac_fn_c_try_link
"$LINENO"; then :
12504 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12506 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12508 rm -f core conftest.err conftest.
$ac_objext \
12509 conftest
$ac_exeext conftest.
$ac_ext
12510 LIBS
=$ac_check_lib_save_LIBS
12512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12513 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12514 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12516 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12518 GETTEXTPO_LIBS
="-lgettextpo"
12523 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12524 case "x$with_gettextpo" in
12525 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12527 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12528 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12533 if test "x$with_gstreamer" != "xno"
12535 if ${GSTREAMER_CFLAGS:+false} :; then :
12536 if ${PKG_CONFIG+:} false
; then :
12537 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12541 if ${GSTREAMER_LIBS:+false} :; then :
12542 if ${PKG_CONFIG+:} false
; then :
12543 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12548 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12549 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12550 ac_save_CPPFLAGS
=$CPPFLAGS
12551 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12553 for i
in $GSTREAMER_CFLAGS
12556 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12559 GSTREAMER_CFLAGS
=$ac_gst_incl
12560 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12561 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12562 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12563 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12564 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12566 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12568 /* end confdefs.h. */
12569 #include <gst/app/gstappsink.h>
12573 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12578 if ac_fn_c_try_compile
"$LINENO"; then :
12579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12580 $as_echo "yes" >&6; }
12581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12582 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12583 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12584 $as_echo_n "(cached) " >&6
12586 ac_check_lib_save_LIBS
=$LIBS
12587 LIBS
="-lgstreamer-0.10 $LIBS"
12588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12589 /* end confdefs.h. */
12591 /* Override any GCC internal prototype to avoid an error.
12592 Use char because int might match the return type of a GCC
12593 builtin and then its argument prototype would still apply. */
12597 char gst_pad_get_caps_reffed ();
12601 return gst_pad_get_caps_reffed ();
12606 if ac_fn_c_try_link
"$LINENO"; then :
12607 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12609 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12611 rm -f core conftest.err conftest.
$ac_objext \
12612 conftest
$ac_exeext conftest.
$ac_ext
12613 LIBS
=$ac_check_lib_save_LIBS
12615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12616 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12617 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12619 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12620 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12621 $as_echo_n "(cached) " >&6
12623 ac_check_lib_save_LIBS
=$LIBS
12624 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12625 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12626 /* end confdefs.h. */
12628 /* Override any GCC internal prototype to avoid an error.
12629 Use char because int might match the return type of a GCC
12630 builtin and then its argument prototype would still apply. */
12634 char gst_app_buffer_new ();
12638 return gst_app_buffer_new ();
12643 if ac_fn_c_try_link
"$LINENO"; then :
12644 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12646 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12648 rm -f core conftest.err conftest.
$ac_objext \
12649 conftest
$ac_exeext conftest.
$ac_ext
12650 LIBS
=$ac_check_lib_save_LIBS
12652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12653 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12654 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12662 $as_echo "no" >&6; }
12664 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12669 GSTREAMER_CFLAGS
=""
12673 CPPFLAGS
=$ac_save_CPPFLAGS
12674 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12675 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12678 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12679 case "x$with_gstreamer" in
12680 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12682 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12683 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12686 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12690 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12693 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12694 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12695 $as_echo_n "(cached) " >&6
12697 ac_check_lib_save_LIBS
=$LIBS
12698 LIBS
="-lasound $LIBS"
12699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12700 /* end confdefs.h. */
12702 /* Override any GCC internal prototype to avoid an error.
12703 Use char because int might match the return type of a GCC
12704 builtin and then its argument prototype would still apply. */
12708 char snd_pcm_hw_params_get_access_mask ();
12712 return snd_pcm_hw_params_get_access_mask ();
12717 if ac_fn_c_try_link
"$LINENO"; then :
12718 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12720 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12722 rm -f core conftest.err conftest.
$ac_objext \
12723 conftest
$ac_exeext conftest.
$ac_ext
12724 LIBS
=$ac_check_lib_save_LIBS
12726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12727 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12728 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12730 /* end confdefs.h. */
12731 #ifdef HAVE_ALSA_ASOUNDLIB_H
12732 #include <alsa/asoundlib.h>
12733 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12734 #include <sys/asoundlib.h>
12739 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12744 if ac_fn_c_try_compile
"$LINENO"; then :
12745 ALSA_LIBS
="-lasound"
12747 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12752 if test "x$with_oss" != xno
12754 ac_save_CPPFLAGS
="$CPPFLAGS"
12755 if test -f /etc
/oss.conf
12759 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12760 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12761 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12762 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12763 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12765 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12767 cat >>confdefs.h
<<_ACEOF
12768 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12771 OSS4_CFLAGS
="$ac_oss_incl"
12778 CPPFLAGS
="$ac_save_CPPFLAGS"
12779 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12781 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12785 if test "x$with_capi" != "xno"
12787 if ${CAPI20_CFLAGS:+false} :; then :
12788 if ${PKG_CONFIG+:} false
; then :
12789 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12793 if ${CAPI20_LIBS:+false} :; then :
12794 if ${PKG_CONFIG+:} false
; then :
12795 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12800 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12801 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12802 ac_save_CPPFLAGS
=$CPPFLAGS
12803 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12804 for ac_header
in capi20.h linux
/capi.h
12806 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12807 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12809 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12810 cat >>confdefs.h
<<_ACEOF
12811 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12818 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12821 $as_echo_n "checking for -lcapi20... " >&6; }
12822 if ${ac_cv_lib_soname_capi20+:} false
; then :
12823 $as_echo_n "(cached) " >&6
12825 ac_check_soname_save_LIBS
=$LIBS
12826 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12827 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12828 /* end confdefs.h. */
12830 /* Override any GCC internal prototype to avoid an error.
12831 Use char because int might match the return type of a GCC
12832 builtin and then its argument prototype would still apply. */
12836 char capi20_register ();
12840 return capi20_register ();
12845 if ac_fn_c_try_link
"$LINENO"; then :
12847 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12848 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'` ;;
12849 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12850 if ${ac_cv_lib_soname_capi20:+false} :; then :
12851 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12855 rm -f core conftest.err conftest.
$ac_objext \
12856 conftest
$ac_exeext conftest.
$ac_ext
12857 LIBS
=$ac_check_soname_save_LIBS
12859 if ${ac_cv_lib_soname_capi20:+false} :; then :
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12861 $as_echo "not found" >&6; }
12864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12865 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12867 cat >>confdefs.h
<<_ACEOF
12868 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12874 CPPFLAGS
=$ac_save_CPPFLAGS
12875 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12876 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12879 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12880 case "x$with_capi" in
12881 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12883 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12884 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12890 if test "x$with_cups" != "xno"
12892 ac_save_CPPFLAGS
="$CPPFLAGS"
12893 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12894 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12895 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12896 for ac_header
in cups
/cups.h
12898 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12899 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12900 cat >>confdefs.h
<<_ACEOF
12901 #define HAVE_CUPS_CUPS_H 1
12903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12904 $as_echo_n "checking for -lcups... " >&6; }
12905 if ${ac_cv_lib_soname_cups+:} false
; then :
12906 $as_echo_n "(cached) " >&6
12908 ac_check_soname_save_LIBS
=$LIBS
12909 LIBS
="-lcups $ac_cups_libs $LIBS"
12910 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12911 /* end confdefs.h. */
12913 /* Override any GCC internal prototype to avoid an error.
12914 Use char because int might match the return type of a GCC
12915 builtin and then its argument prototype would still apply. */
12919 char cupsGetDefault ();
12923 return cupsGetDefault ();
12928 if ac_fn_c_try_link
"$LINENO"; then :
12930 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12931 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'` ;;
12932 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12933 if ${ac_cv_lib_soname_cups:+false} :; then :
12934 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12938 rm -f core conftest.err conftest.
$ac_objext \
12939 conftest
$ac_exeext conftest.
$ac_ext
12940 LIBS
=$ac_check_soname_save_LIBS
12942 if ${ac_cv_lib_soname_cups:+false} :; then :
12943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12944 $as_echo "not found" >&6; }
12947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12948 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12950 cat >>confdefs.h
<<_ACEOF
12951 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12954 CUPS_CFLAGS
="$ac_cups_cflags"
12960 CPPFLAGS
="$ac_save_CPPFLAGS"
12962 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12963 case "x$with_cups" in
12964 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12966 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12967 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12971 if test "x$with_fontconfig" != "xno"
12973 if ${FONTCONFIG_CFLAGS:+false} :; then :
12974 if ${PKG_CONFIG+:} false
; then :
12975 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12978 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12979 if ${FONTCONFIG_LIBS:+false} :; then :
12980 if ${PKG_CONFIG+:} false
; then :
12981 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12984 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
12986 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12987 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12988 ac_save_CPPFLAGS
=$CPPFLAGS
12989 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
12990 for ac_header
in fontconfig
/fontconfig.h
12992 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12993 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12994 cat >>confdefs.h
<<_ACEOF
12995 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13002 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13005 $as_echo_n "checking for -lfontconfig... " >&6; }
13006 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
13007 $as_echo_n "(cached) " >&6
13009 ac_check_soname_save_LIBS
=$LIBS
13010 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13012 /* end confdefs.h. */
13014 /* Override any GCC internal prototype to avoid an error.
13015 Use char because int might match the return type of a GCC
13016 builtin and then its argument prototype would still apply. */
13029 if ac_fn_c_try_link
"$LINENO"; then :
13031 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13032 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'` ;;
13033 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13034 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13035 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13039 rm -f core conftest.err conftest.
$ac_objext \
13040 conftest
$ac_exeext conftest.
$ac_ext
13041 LIBS
=$ac_check_soname_save_LIBS
13043 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13045 $as_echo "not found" >&6; }
13046 FONTCONFIG_CFLAGS
=""
13048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13049 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13051 cat >>confdefs.h
<<_ACEOF
13052 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13058 FONTCONFIG_CFLAGS
=""
13060 CPPFLAGS
=$ac_save_CPPFLAGS
13061 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13062 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13065 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13066 case "x$with_fontconfig" in
13067 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13069 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13070 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13074 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13077 $as_echo_n "checking for -lgsm... " >&6; }
13078 if ${ac_cv_lib_soname_gsm+:} false
; then :
13079 $as_echo_n "(cached) " >&6
13081 ac_check_soname_save_LIBS
=$LIBS
13083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13084 /* end confdefs.h. */
13086 /* Override any GCC internal prototype to avoid an error.
13087 Use char because int might match the return type of a GCC
13088 builtin and then its argument prototype would still apply. */
13092 char gsm_create ();
13096 return gsm_create ();
13101 if ac_fn_c_try_link
"$LINENO"; then :
13103 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13104 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'` ;;
13105 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13106 if ${ac_cv_lib_soname_gsm:+false} :; then :
13107 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13111 rm -f core conftest.err conftest.
$ac_objext \
13112 conftest
$ac_exeext conftest.
$ac_ext
13113 LIBS
=$ac_check_soname_save_LIBS
13115 if ${ac_cv_lib_soname_gsm:+false} :; then :
13116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13117 $as_echo "not found" >&6; }
13120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13121 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13123 cat >>confdefs.h
<<_ACEOF
13124 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13130 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13131 case "x$with_gsm" in
13132 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13134 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13135 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13139 if test "x$with_jpeg" != "xno"
13141 if ${JPEG_CFLAGS:+false} :; then :
13142 if ${PKG_CONFIG+:} false
; then :
13143 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13147 if ${JPEG_LIBS:+false} :; then :
13148 if ${PKG_CONFIG+:} false
; then :
13149 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13154 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13155 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13156 ac_save_CPPFLAGS
=$CPPFLAGS
13157 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
13158 for ac_header
in jpeglib.h
13160 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13161 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
13162 cat >>confdefs.h
<<_ACEOF
13163 #define HAVE_JPEGLIB_H 1
13170 if test "$ac_cv_header_jpeglib_h" = "yes"
13172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13173 $as_echo_n "checking for -ljpeg... " >&6; }
13174 if ${ac_cv_lib_soname_jpeg+:} false
; then :
13175 $as_echo_n "(cached) " >&6
13177 ac_check_soname_save_LIBS
=$LIBS
13178 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
13179 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13180 /* end confdefs.h. */
13182 /* Override any GCC internal prototype to avoid an error.
13183 Use char because int might match the return type of a GCC
13184 builtin and then its argument prototype would still apply. */
13188 char jpeg_start_decompress ();
13192 return jpeg_start_decompress ();
13197 if ac_fn_c_try_link
"$LINENO"; then :
13199 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13200 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'` ;;
13201 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13202 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13203 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13207 rm -f core conftest.err conftest.
$ac_objext \
13208 conftest
$ac_exeext conftest.
$ac_ext
13209 LIBS
=$ac_check_soname_save_LIBS
13211 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13213 $as_echo "not found" >&6; }
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13217 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13219 cat >>confdefs.h
<<_ACEOF
13220 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13228 CPPFLAGS
=$ac_save_CPPFLAGS
13229 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13230 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13233 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13234 case "x$with_jpeg" in
13235 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13237 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13238 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13242 if test "x$with_png" != "xno"
13244 if ${PNG_CFLAGS:+false} :; then :
13245 if ${PKG_CONFIG+:} false
; then :
13246 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13249 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
13250 if ${PNG_LIBS:+false} :; then :
13251 if ${PKG_CONFIG+:} false
; then :
13252 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
13255 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
13257 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13258 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13259 ac_save_CPPFLAGS
=$CPPFLAGS
13260 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
13261 for ac_header
in png.h
13263 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13264 if test "x$ac_cv_header_png_h" = xyes
; then :
13265 cat >>confdefs.h
<<_ACEOF
13266 #define HAVE_PNG_H 1
13273 if test "$ac_cv_header_png_h" = "yes"
13275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13276 $as_echo_n "checking for -lpng... " >&6; }
13277 if ${ac_cv_lib_soname_png+:} false
; then :
13278 $as_echo_n "(cached) " >&6
13280 ac_check_soname_save_LIBS
=$LIBS
13281 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
13282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13283 /* end confdefs.h. */
13285 /* Override any GCC internal prototype to avoid an error.
13286 Use char because int might match the return type of a GCC
13287 builtin and then its argument prototype would still apply. */
13291 char png_create_read_struct ();
13295 return png_create_read_struct ();
13300 if ac_fn_c_try_link
"$LINENO"; then :
13302 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13303 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'` ;;
13304 *) 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'`
13305 if ${ac_cv_lib_soname_png:+false} :; then :
13306 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13310 rm -f core conftest.err conftest.
$ac_objext \
13311 conftest
$ac_exeext conftest.
$ac_ext
13312 LIBS
=$ac_check_soname_save_LIBS
13314 if ${ac_cv_lib_soname_png:+false} :; then :
13315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13316 $as_echo "not found" >&6; }
13319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13320 $as_echo "$ac_cv_lib_soname_png" >&6; }
13322 cat >>confdefs.h
<<_ACEOF
13323 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13327 /* end confdefs.h. */
13332 typeof(png_set_expand_gray_1_2_4_to_8) *p
13337 if ac_fn_c_try_compile
"$LINENO"; then :
13339 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13342 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13347 CPPFLAGS
=$ac_save_CPPFLAGS
13348 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13349 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13352 if test "x$ac_cv_lib_soname_png" = "x"; then :
13353 case "x$with_png" in
13354 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13356 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13357 This is an error since --with-png was requested." "$LINENO" 5 ;;
13361 if test "x$with_tiff" != "xno"
13363 if ${TIFF_CFLAGS:+false} :; then :
13364 if ${PKG_CONFIG+:} false
; then :
13365 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13369 if ${TIFF_LIBS:+false} :; then :
13370 if ${PKG_CONFIG+:} false
; then :
13371 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13376 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13377 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13378 ac_save_CPPFLAGS
=$CPPFLAGS
13379 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13380 for ac_header
in tiffio.h
13382 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13383 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13384 cat >>confdefs.h
<<_ACEOF
13385 #define HAVE_TIFFIO_H 1
13392 if test "$ac_cv_header_tiffio_h" = "yes"
13394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13395 $as_echo_n "checking for -ltiff... " >&6; }
13396 if ${ac_cv_lib_soname_tiff+:} false
; then :
13397 $as_echo_n "(cached) " >&6
13399 ac_check_soname_save_LIBS
=$LIBS
13400 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13402 /* end confdefs.h. */
13404 /* Override any GCC internal prototype to avoid an error.
13405 Use char because int might match the return type of a GCC
13406 builtin and then its argument prototype would still apply. */
13410 char TIFFClientOpen ();
13414 return TIFFClientOpen ();
13419 if ac_fn_c_try_link
"$LINENO"; then :
13421 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13422 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'` ;;
13423 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13424 if ${ac_cv_lib_soname_tiff:+false} :; then :
13425 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13429 rm -f core conftest.err conftest.
$ac_objext \
13430 conftest
$ac_exeext conftest.
$ac_ext
13431 LIBS
=$ac_check_soname_save_LIBS
13433 if ${ac_cv_lib_soname_tiff:+false} :; then :
13434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13435 $as_echo "not found" >&6; }
13438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13439 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13441 cat >>confdefs.h
<<_ACEOF
13442 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13448 CPPFLAGS
=$ac_save_CPPFLAGS
13449 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13450 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13453 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13454 case "x$with_tiff" in
13455 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13457 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13458 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13462 if test "x$with_mpg123" != "xno"
13464 if ${MPG123_CFLAGS:+false} :; then :
13465 if ${PKG_CONFIG+:} false
; then :
13466 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13470 if ${MPG123_LIBS:+false} :; then :
13471 if ${PKG_CONFIG+:} false
; then :
13472 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13476 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13477 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13478 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13479 ac_save_CPPFLAGS
=$CPPFLAGS
13480 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13481 for ac_header
in mpg123.h
13483 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13484 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13485 cat >>confdefs.h
<<_ACEOF
13486 #define HAVE_MPG123_H 1
13493 if test "$ac_cv_header_mpg123_h" = "yes"
13495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13496 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13497 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13498 $as_echo_n "(cached) " >&6
13500 ac_check_lib_save_LIBS
=$LIBS
13501 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13502 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13503 /* end confdefs.h. */
13505 /* Override any GCC internal prototype to avoid an error.
13506 Use char because int might match the return type of a GCC
13507 builtin and then its argument prototype would still apply. */
13511 char mpg123_feed ();
13515 return mpg123_feed ();
13520 if ac_fn_c_try_link
"$LINENO"; then :
13521 ac_cv_lib_mpg123_mpg123_feed
=yes
13523 ac_cv_lib_mpg123_mpg123_feed
=no
13525 rm -f core conftest.err conftest.
$ac_objext \
13526 conftest
$ac_exeext conftest.
$ac_ext
13527 LIBS
=$ac_check_lib_save_LIBS
13529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13530 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13531 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13541 CPPFLAGS
=$ac_save_CPPFLAGS
13542 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13543 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13546 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13547 case "x$with_mpg123" in
13548 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13550 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13551 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13554 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}
13556 if test "$ac_cv_header_AL_al_h" = "yes"
13558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13559 $as_echo_n "checking for -lopenal... " >&6; }
13560 if ${ac_cv_lib_soname_openal+:} false
; then :
13561 $as_echo_n "(cached) " >&6
13563 ac_check_soname_save_LIBS
=$LIBS
13564 LIBS
="-lopenal $LIBS"
13565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13566 /* end confdefs.h. */
13568 /* Override any GCC internal prototype to avoid an error.
13569 Use char because int might match the return type of a GCC
13570 builtin and then its argument prototype would still apply. */
13574 char alGetSource3i ();
13578 return alGetSource3i ();
13583 if ac_fn_c_try_link
"$LINENO"; then :
13585 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13586 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'` ;;
13587 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13588 if ${ac_cv_lib_soname_openal:+false} :; then :
13589 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13593 rm -f core conftest.err conftest.
$ac_objext \
13594 conftest
$ac_exeext conftest.
$ac_ext
13595 LIBS
=$ac_check_soname_save_LIBS
13597 if ${ac_cv_lib_soname_openal:+false} :; then :
13598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13599 $as_echo "not found" >&6; }
13602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13603 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13605 cat >>confdefs.h
<<_ACEOF
13606 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13609 OPENAL_LIBS
="-lopenal"
13611 ac_cv_lib_openal
=yes
13613 cat >>confdefs.h
<<_ACEOF
13614 #define HAVE_OPENAL 1
13619 if test "x$ac_cv_lib_openal" != xyes
; then :
13620 case "x$with_openal" in
13621 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13623 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13624 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13627 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13629 if test "x$ac_cv_lib_openal" = xyes
13631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13632 $as_echo_n "checking for openal-soft... " >&6; }
13633 if ${ac_cv_have_openalsoft+:} false
; then :
13634 $as_echo_n "(cached) " >&6
13636 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13637 /* end confdefs.h. */
13638 #include <AL/alext.h>
13639 LPALCRENDERSAMPLESSOFT x;
13648 if ac_fn_c_try_compile
"$LINENO"; then :
13649 ac_cv_have_openalsoft
=yes
13651 ac_cv_have_openalsoft
=no
13653 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13656 $as_echo "$ac_cv_have_openalsoft" >&6; }
13658 if test "x$ac_cv_have_openalsoft" != xyes
13660 as_fn_append wine_notices
"|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13661 enable_xaudio2_7
=${enable_xaudio2_7:-no}
13664 if test "$ac_cv_header_kstat_h" = "yes"
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13667 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13668 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13669 $as_echo_n "(cached) " >&6
13671 ac_check_lib_save_LIBS
=$LIBS
13672 LIBS
="-lkstat $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 kstat_open ();
13686 return kstat_open ();
13691 if ac_fn_c_try_link
"$LINENO"; then :
13692 ac_cv_lib_kstat_kstat_open
=yes
13694 ac_cv_lib_kstat_kstat_open
=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_kstat_kstat_open" >&5
13701 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13702 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13704 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13706 KSTAT_LIBS
="-lkstat"
13712 if test "$ac_cv_header_libprocstat_h" = "yes"
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13715 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13716 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13717 $as_echo_n "(cached) " >&6
13719 ac_check_lib_save_LIBS
=$LIBS
13720 LIBS
="-lprocstat $LIBS"
13721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13722 /* end confdefs.h. */
13724 /* Override any GCC internal prototype to avoid an error.
13725 Use char because int might match the return type of a GCC
13726 builtin and then its argument prototype would still apply. */
13730 char procstat_open_sysctl ();
13734 return procstat_open_sysctl ();
13739 if ac_fn_c_try_link
"$LINENO"; then :
13740 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13742 ac_cv_lib_procstat_procstat_open_sysctl
=no
13744 rm -f core conftest.err conftest.
$ac_objext \
13745 conftest
$ac_exeext conftest.
$ac_ext
13746 LIBS
=$ac_check_lib_save_LIBS
13748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13749 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13750 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13752 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13754 PROCSTAT_LIBS
="-lprocstat"
13760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13761 $as_echo_n "checking for -lodbc... " >&6; }
13762 if ${ac_cv_lib_soname_odbc+:} false
; then :
13763 $as_echo_n "(cached) " >&6
13765 ac_check_soname_save_LIBS
=$LIBS
13766 LIBS
="-lodbc $LIBS"
13767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13768 /* end confdefs.h. */
13770 /* Override any GCC internal prototype to avoid an error.
13771 Use char because int might match the return type of a GCC
13772 builtin and then its argument prototype would still apply. */
13776 char SQLConnect ();
13780 return SQLConnect ();
13785 if ac_fn_c_try_link
"$LINENO"; then :
13787 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13788 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'` ;;
13789 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13790 if ${ac_cv_lib_soname_odbc:+false} :; then :
13791 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13795 rm -f core conftest.err conftest.
$ac_objext \
13796 conftest
$ac_exeext conftest.
$ac_ext
13797 LIBS
=$ac_check_soname_save_LIBS
13799 if ${ac_cv_lib_soname_odbc:+false} :; then :
13800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13801 $as_echo "not found" >&6; }
13802 cat >>confdefs.h
<<_ACEOF
13803 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13808 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13810 cat >>confdefs.h
<<_ACEOF
13811 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13817 if test "x$with_netapi" != "xno"
13819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13820 $as_echo_n "checking for -lnetapi... " >&6; }
13821 if ${ac_cv_lib_soname_netapi+:} false
; then :
13822 $as_echo_n "(cached) " >&6
13824 ac_check_soname_save_LIBS
=$LIBS
13825 LIBS
="-lnetapi $LIBS"
13826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13827 /* end confdefs.h. */
13829 /* Override any GCC internal prototype to avoid an error.
13830 Use char because int might match the return type of a GCC
13831 builtin and then its argument prototype would still apply. */
13835 char libnetapi_init ();
13839 return libnetapi_init ();
13844 if ac_fn_c_try_link
"$LINENO"; then :
13846 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13847 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'` ;;
13848 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13849 if ${ac_cv_lib_soname_netapi:+false} :; then :
13850 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13854 rm -f core conftest.err conftest.
$ac_objext \
13855 conftest
$ac_exeext conftest.
$ac_ext
13856 LIBS
=$ac_check_soname_save_LIBS
13858 if ${ac_cv_lib_soname_netapi:+false} :; then :
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13860 $as_echo "not found" >&6; }
13861 cat >>confdefs.h
<<_ACEOF
13862 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13867 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13869 cat >>confdefs.h
<<_ACEOF
13870 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13877 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13878 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13879 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13880 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13882 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13883 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13884 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13886 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13892 if test "x${GCC}" = "xyes"
13894 EXTRACFLAGS
="-Wall -pipe"
13896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13897 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13898 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13899 $as_echo_n "(cached) " >&6
13901 if test "$cross_compiling" = yes; then :
13902 ac_cv_c_gcc_strength_bug
="no"
13904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13905 /* end confdefs.h. */
13906 int L[4] = {0,1,2,3};
13910 static int Array[3];
13911 unsigned int B = 3;
13913 for(i=0; i<B; i++) Array[i] = i - 3;
13914 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13916 return (Array[1] != -2 || L[2] != 3)
13921 if ac_fn_c_try_run
"$LINENO"; then :
13922 ac_cv_c_gcc_strength_bug
="no"
13924 ac_cv_c_gcc_strength_bug
="yes"
13926 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13927 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13932 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13933 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13935 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13939 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13940 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13941 $as_echo_n "(cached) " >&6
13943 ac_wine_try_cflags_saved
=$CFLAGS
13944 CFLAGS
="$CFLAGS -fno-builtin"
13945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13946 /* end confdefs.h. */
13947 int main(int argc, char **argv) { return 0; }
13949 if ac_fn_c_try_link
"$LINENO"; then :
13950 ac_cv_cflags__fno_builtin
=yes
13952 ac_cv_cflags__fno_builtin
=no
13954 rm -f core conftest.err conftest.
$ac_objext \
13955 conftest
$ac_exeext conftest.
$ac_ext
13956 CFLAGS
=$ac_wine_try_cflags_saved
13958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13959 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13960 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
13961 BUILTINFLAG
="-fno-builtin"
13964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13965 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13966 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13967 $as_echo_n "(cached) " >&6
13969 ac_wine_try_cflags_saved
=$CFLAGS
13970 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13972 /* end confdefs.h. */
13973 int main(int argc, char **argv) { return 0; }
13975 if ac_fn_c_try_link
"$LINENO"; then :
13976 ac_cv_cflags__fno_strict_aliasing
=yes
13978 ac_cv_cflags__fno_strict_aliasing
=no
13980 rm -f core conftest.err conftest.
$ac_objext \
13981 conftest
$ac_exeext conftest.
$ac_ext
13982 CFLAGS
=$ac_wine_try_cflags_saved
13984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13985 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13986 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
13987 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13989 saved_CFLAGS
=$CFLAGS
13990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13991 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13992 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13993 $as_echo_n "(cached) " >&6
13995 ac_wine_try_cflags_saved
=$CFLAGS
13996 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13998 /* end confdefs.h. */
13999 int main(int argc, char **argv) { return 0; }
14001 if ac_fn_c_try_link
"$LINENO"; then :
14002 ac_cv_cflags__Werror_unknown_warning_option
=yes
14004 ac_cv_cflags__Werror_unknown_warning_option
=no
14006 rm -f core conftest.err conftest.
$ac_objext \
14007 conftest
$ac_exeext conftest.
$ac_ext
14008 CFLAGS
=$ac_wine_try_cflags_saved
14010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14011 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14012 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
14013 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14016 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14017 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
14018 $as_echo_n "(cached) " >&6
14020 ac_wine_try_cflags_saved
=$CFLAGS
14021 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
14022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14023 /* end confdefs.h. */
14024 int main(int argc, char **argv) { return 0; }
14026 if ac_fn_c_try_link
"$LINENO"; then :
14027 ac_cv_cflags__Wdeclaration_after_statement
=yes
14029 ac_cv_cflags__Wdeclaration_after_statement
=no
14031 rm -f core conftest.err conftest.
$ac_objext \
14032 conftest
$ac_exeext conftest.
$ac_ext
14033 CFLAGS
=$ac_wine_try_cflags_saved
14035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14036 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14037 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
14038 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14041 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14042 if ${ac_cv_cflags__Wempty_body+:} false
; then :
14043 $as_echo_n "(cached) " >&6
14045 ac_wine_try_cflags_saved
=$CFLAGS
14046 CFLAGS
="$CFLAGS -Wempty-body"
14047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14048 /* end confdefs.h. */
14049 int main(int argc, char **argv) { return 0; }
14051 if ac_fn_c_try_link
"$LINENO"; then :
14052 ac_cv_cflags__Wempty_body
=yes
14054 ac_cv_cflags__Wempty_body
=no
14056 rm -f core conftest.err conftest.
$ac_objext \
14057 conftest
$ac_exeext conftest.
$ac_ext
14058 CFLAGS
=$ac_wine_try_cflags_saved
14060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14061 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14062 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
14063 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
14065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14066 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14067 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
14068 $as_echo_n "(cached) " >&6
14070 ac_wine_try_cflags_saved
=$CFLAGS
14071 CFLAGS
="$CFLAGS -Wignored-qualifiers"
14072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14073 /* end confdefs.h. */
14074 int main(int argc, char **argv) { return 0; }
14076 if ac_fn_c_try_link
"$LINENO"; then :
14077 ac_cv_cflags__Wignored_qualifiers
=yes
14079 ac_cv_cflags__Wignored_qualifiers
=no
14081 rm -f core conftest.err conftest.
$ac_objext \
14082 conftest
$ac_exeext conftest.
$ac_ext
14083 CFLAGS
=$ac_wine_try_cflags_saved
14085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14086 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14087 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
14088 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
14090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14091 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14092 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
14093 $as_echo_n "(cached) " >&6
14095 ac_wine_try_cflags_saved
=$CFLAGS
14096 CFLAGS
="$CFLAGS -Wstrict-prototypes"
14097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14098 /* end confdefs.h. */
14099 int main(int argc, char **argv) { return 0; }
14101 if ac_fn_c_try_link
"$LINENO"; then :
14102 ac_cv_cflags__Wstrict_prototypes
=yes
14104 ac_cv_cflags__Wstrict_prototypes
=no
14106 rm -f core conftest.err conftest.
$ac_objext \
14107 conftest
$ac_exeext conftest.
$ac_ext
14108 CFLAGS
=$ac_wine_try_cflags_saved
14110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14111 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14112 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
14113 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
14115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14116 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14117 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
14118 $as_echo_n "(cached) " >&6
14120 ac_wine_try_cflags_saved
=$CFLAGS
14121 CFLAGS
="$CFLAGS -Wtype-limits"
14122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14123 /* end confdefs.h. */
14124 int main(int argc, char **argv) { return 0; }
14126 if ac_fn_c_try_link
"$LINENO"; then :
14127 ac_cv_cflags__Wtype_limits
=yes
14129 ac_cv_cflags__Wtype_limits
=no
14131 rm -f core conftest.err conftest.
$ac_objext \
14132 conftest
$ac_exeext conftest.
$ac_ext
14133 CFLAGS
=$ac_wine_try_cflags_saved
14135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14136 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14137 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
14138 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
14140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14141 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14142 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
14143 $as_echo_n "(cached) " >&6
14145 ac_wine_try_cflags_saved
=$CFLAGS
14146 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
14147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14148 /* end confdefs.h. */
14149 int main(int argc, char **argv) { return 0; }
14151 if ac_fn_c_try_link
"$LINENO"; then :
14152 ac_cv_cflags__Wunused_but_set_parameter
=yes
14154 ac_cv_cflags__Wunused_but_set_parameter
=no
14156 rm -f core conftest.err conftest.
$ac_objext \
14157 conftest
$ac_exeext conftest.
$ac_ext
14158 CFLAGS
=$ac_wine_try_cflags_saved
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14161 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14162 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
14163 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
14165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14166 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14167 if ${ac_cv_cflags__Wvla+:} false
; then :
14168 $as_echo_n "(cached) " >&6
14170 ac_wine_try_cflags_saved
=$CFLAGS
14171 CFLAGS
="$CFLAGS -Wvla"
14172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14173 /* end confdefs.h. */
14174 int main(int argc, char **argv) { return 0; }
14176 if ac_fn_c_try_link
"$LINENO"; then :
14177 ac_cv_cflags__Wvla
=yes
14179 ac_cv_cflags__Wvla
=no
14181 rm -f core conftest.err conftest.
$ac_objext \
14182 conftest
$ac_exeext conftest.
$ac_ext
14183 CFLAGS
=$ac_wine_try_cflags_saved
14185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14186 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14187 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
14188 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
14190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14191 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14192 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
14193 $as_echo_n "(cached) " >&6
14195 ac_wine_try_cflags_saved
=$CFLAGS
14196 CFLAGS
="$CFLAGS -Wwrite-strings"
14197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14198 /* end confdefs.h. */
14199 int main(int argc, char **argv) { return 0; }
14201 if ac_fn_c_try_link
"$LINENO"; then :
14202 ac_cv_cflags__Wwrite_strings
=yes
14204 ac_cv_cflags__Wwrite_strings
=no
14206 rm -f core conftest.err conftest.
$ac_objext \
14207 conftest
$ac_exeext conftest.
$ac_ext
14208 CFLAGS
=$ac_wine_try_cflags_saved
14210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14211 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14212 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
14213 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
14216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14217 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14218 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
14219 $as_echo_n "(cached) " >&6
14221 ac_wine_try_cflags_saved
=$CFLAGS
14222 CFLAGS
="$CFLAGS -Wpointer-arith"
14223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14224 /* end confdefs.h. */
14225 int main(int argc, char **argv) { return 0; }
14227 if ac_fn_c_try_link
"$LINENO"; then :
14228 ac_cv_cflags__Wpointer_arith
=yes
14230 ac_cv_cflags__Wpointer_arith
=no
14232 rm -f core conftest.err conftest.
$ac_objext \
14233 conftest
$ac_exeext conftest.
$ac_ext
14234 CFLAGS
=$ac_wine_try_cflags_saved
14236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14237 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14238 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
14239 saved_string_h_CFLAGS
=$CFLAGS
14240 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
14241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14242 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14243 if ${ac_cv_c_string_h_warnings+:} false
; then :
14244 $as_echo_n "(cached) " >&6
14246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14247 /* end confdefs.h. */
14248 #include <string.h>
14257 if ac_fn_c_try_compile
"$LINENO"; then :
14258 ac_cv_c_string_h_warnings
=no
14260 ac_cv_c_string_h_warnings
=yes
14262 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14265 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14266 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
14267 CFLAGS
=$saved_string_h_CFLAGS
14270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14271 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14272 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
14273 $as_echo_n "(cached) " >&6
14275 ac_wine_try_cflags_saved
=$CFLAGS
14276 CFLAGS
="$CFLAGS -Wlogical-op"
14277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14278 /* end confdefs.h. */
14279 int main(int argc, char **argv) { return 0; }
14281 if ac_fn_c_try_link
"$LINENO"; then :
14282 ac_cv_cflags__Wlogical_op
=yes
14284 ac_cv_cflags__Wlogical_op
=no
14286 rm -f core conftest.err conftest.
$ac_objext \
14287 conftest
$ac_exeext conftest.
$ac_ext
14288 CFLAGS
=$ac_wine_try_cflags_saved
14290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14291 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14292 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
14293 saved_string_h_CFLAGS
=$CFLAGS
14294 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
14295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14296 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14297 if ${ac_cv_c_logicalop_noisy+:} false
; then :
14298 $as_echo_n "(cached) " >&6
14300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14301 /* end confdefs.h. */
14302 #include <string.h>
14303 char*f(const char *h,char n) {return strchr(h,n);}
14312 if ac_fn_c_try_compile
"$LINENO"; then :
14313 ac_cv_c_logicalop_noisy
=no
14315 ac_cv_c_logicalop_noisy
=yes
14317 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14320 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14321 CFLAGS
=$saved_string_h_CFLAGS
14322 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
14325 CFLAGS
=$saved_CFLAGS
14327 for ac_flag
in $CFLAGS; do
14329 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14330 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14331 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14332 $as_echo_n "(cached) " >&6
14334 ac_wine_try_cflags_saved
=$CFLAGS
14335 CFLAGS
="$CFLAGS -gdwarf-2"
14336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14337 /* end confdefs.h. */
14338 int main(int argc, char **argv) { return 0; }
14340 if ac_fn_c_try_link
"$LINENO"; then :
14341 ac_cv_cflags__gdwarf_2
=yes
14343 ac_cv_cflags__gdwarf_2
=no
14345 rm -f core conftest.err conftest.
$ac_objext \
14346 conftest
$ac_exeext conftest.
$ac_ext
14347 CFLAGS
=$ac_wine_try_cflags_saved
14349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14350 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14351 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14352 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14355 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14356 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14357 $as_echo_n "(cached) " >&6
14359 ac_wine_try_cflags_saved
=$CFLAGS
14360 CFLAGS
="$CFLAGS -gstrict-dwarf"
14361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14362 /* end confdefs.h. */
14363 int main(int argc, char **argv) { return 0; }
14365 if ac_fn_c_try_link
"$LINENO"; then :
14366 ac_cv_cflags__gstrict_dwarf
=yes
14368 ac_cv_cflags__gstrict_dwarf
=no
14370 rm -f core conftest.err conftest.
$ac_objext \
14371 conftest
$ac_exeext conftest.
$ac_ext
14372 CFLAGS
=$ac_wine_try_cflags_saved
14374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14375 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14376 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14377 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14383 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14384 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14385 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14386 $as_echo_n "(cached) " >&6
14388 ac_wine_try_cflags_saved
=$CFLAGS
14389 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14391 /* end confdefs.h. */
14392 int main(int argc, char **argv) { return 0; }
14394 if ac_fn_c_try_link
"$LINENO"; then :
14395 ac_cv_cflags__fno_omit_frame_pointer
=yes
14397 ac_cv_cflags__fno_omit_frame_pointer
=no
14399 rm -f core conftest.err conftest.
$ac_objext \
14400 conftest
$ac_exeext conftest.
$ac_ext
14401 CFLAGS
=$ac_wine_try_cflags_saved
14403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14404 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14405 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14406 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14411 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14412 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14413 if ${ac_cv_cflags__Wno_format+:} false
; then :
14414 $as_echo_n "(cached) " >&6
14416 ac_wine_try_cflags_saved
=$CFLAGS
14417 CFLAGS
="$CFLAGS -Wno-format"
14418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14419 /* end confdefs.h. */
14420 int main(int argc, char **argv) { return 0; }
14422 if ac_fn_c_try_link
"$LINENO"; then :
14423 ac_cv_cflags__Wno_format
=yes
14425 ac_cv_cflags__Wno_format
=no
14427 rm -f core conftest.err conftest.
$ac_objext \
14428 conftest
$ac_exeext conftest.
$ac_ext
14429 CFLAGS
=$ac_wine_try_cflags_saved
14431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14432 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14433 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14434 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14438 if test "x$enable_maintainer_mode" = "xyes"
14440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14441 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14442 if ${ac_cv_cflags__Werror+:} false
; then :
14443 $as_echo_n "(cached) " >&6
14445 ac_wine_try_cflags_saved
=$CFLAGS
14446 CFLAGS
="$CFLAGS -Werror"
14447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14448 /* end confdefs.h. */
14449 int main(int argc, char **argv) { return 0; }
14451 if ac_fn_c_try_link
"$LINENO"; then :
14452 ac_cv_cflags__Werror
=yes
14454 ac_cv_cflags__Werror
=no
14456 rm -f core conftest.err conftest.
$ac_objext \
14457 conftest
$ac_exeext conftest.
$ac_ext
14458 CFLAGS
=$ac_wine_try_cflags_saved
14460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14461 $as_echo "$ac_cv_cflags__Werror" >&6; }
14462 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14463 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14467 saved_CFLAGS
="$CFLAGS"
14468 CFLAGS
="$CFLAGS -Werror"
14469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14470 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14471 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14472 $as_echo_n "(cached) " >&6
14474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14475 /* end confdefs.h. */
14476 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14485 if ac_fn_c_try_compile
"$LINENO"; then :
14486 ac_cv_have_ms_hook_prologue
="yes"
14488 ac_cv_have_ms_hook_prologue
="no"
14490 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14493 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14494 CFLAGS
="$saved_CFLAGS"
14495 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14498 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14501 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14508 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14509 if ${ac_cv_c_fortify_enabled+:} false
; then :
14510 $as_echo_n "(cached) " >&6
14512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14513 /* end confdefs.h. */
14514 #include <string.h>
14518 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14519 #error Fortify enabled
14525 if ac_fn_c_try_compile
"$LINENO"; then :
14526 ac_cv_c_fortify_enabled
=no
14528 ac_cv_c_fortify_enabled
=yes
14530 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14533 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14534 if test "$ac_cv_c_fortify_enabled" = yes
14536 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14541 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14542 if ${ac_cv_c_extern_prefix+:} false
; then :
14543 $as_echo_n "(cached) " >&6
14545 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14546 /* end confdefs.h. */
14547 extern int ac_test;
14551 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14556 if ac_fn_c_try_link
"$LINENO"; then :
14557 ac_cv_c_extern_prefix
="yes"
14559 ac_cv_c_extern_prefix
="no"
14561 rm -f core conftest.err conftest.
$ac_objext \
14562 conftest
$ac_exeext conftest.
$ac_ext
14564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14565 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14570 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14571 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14572 $as_echo_n "(cached) " >&6
14574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14575 /* end confdefs.h. */
14577 #define __stdcall __attribute__((__stdcall__))
14579 int __stdcall ac_test(int i) { return i; }
14583 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14588 if ac_fn_c_try_link
"$LINENO"; then :
14589 ac_cv_c_stdcall_suffix
="yes"
14591 ac_cv_c_stdcall_suffix
="no"
14593 rm -f core conftest.err conftest.
$ac_objext \
14594 conftest
$ac_exeext conftest.
$ac_ext
14596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14597 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14598 *) ac_cv_c_stdcall_suffix
="no" ;;
14602 if test "$ac_cv_c_extern_prefix" = "yes"
14604 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14606 asm_name_prefix
="_"
14608 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14614 if test "$ac_cv_c_stdcall_suffix" = "yes"
14616 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14619 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14625 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14626 if ${ac_cv_asm_func_def+:} false
; then :
14627 $as_echo_n "(cached) " >&6
14629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14630 /* end confdefs.h. */
14635 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14640 if ac_fn_c_try_link
"$LINENO"; then :
14641 ac_cv_asm_func_def
=".def"
14643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14644 /* end confdefs.h. */
14649 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14654 if ac_fn_c_try_link
"$LINENO"; then :
14655 ac_cv_asm_func_def
=".type @function"
14657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14658 /* end confdefs.h. */
14663 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14668 if ac_fn_c_try_link
"$LINENO"; then :
14669 ac_cv_asm_func_def
=".type 2"
14671 ac_cv_asm_func_def
="unknown"
14673 rm -f core conftest.err conftest.
$ac_objext \
14674 conftest
$ac_exeext conftest.
$ac_ext
14676 rm -f core conftest.err conftest.
$ac_objext \
14677 conftest
$ac_exeext conftest.
$ac_ext
14679 rm -f core conftest.err conftest.
$ac_objext \
14680 conftest
$ac_exeext conftest.
$ac_ext
14682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14683 $as_echo "$ac_cv_asm_func_def" >&6; }
14686 case "$ac_cv_asm_func_def" in
14688 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14690 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14692 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14694 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14696 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14698 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14700 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14702 asm_func_header
="" ;;
14705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14706 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14707 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14708 $as_echo_n "(cached) " >&6
14710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14711 /* end confdefs.h. */
14712 asm(".text\n\t.long 0");
14721 if ac_fn_c_try_compile
"$LINENO"; then :
14722 ac_cv_c_asm_outside_funcs
="yes"
14724 ac_cv_c_asm_outside_funcs
="no"
14726 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14729 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14732 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14733 if ${ac_cv_c_dot_previous+:} false
; then :
14734 $as_echo_n "(cached) " >&6
14736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14737 /* end confdefs.h. */
14742 asm(".text\nac_test:\t.long 0\n\t.previous");
14747 if ac_fn_c_try_link
"$LINENO"; then :
14748 ac_cv_c_dot_previous
="yes"
14750 ac_cv_c_dot_previous
="no"
14752 rm -f core conftest.err conftest.
$ac_objext \
14753 conftest
$ac_exeext conftest.
$ac_ext
14755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14756 $as_echo "$ac_cv_c_dot_previous" >&6; }
14758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14759 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14760 if ${ac_cv_c_cfi_support+:} false
; then :
14761 $as_echo_n "(cached) " >&6
14763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14764 /* end confdefs.h. */
14765 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14774 if ac_fn_c_try_compile
"$LINENO"; then :
14775 ac_cv_c_cfi_support
="yes"
14777 ac_cv_c_cfi_support
="no"
14779 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14782 $as_echo "$ac_cv_c_cfi_support" >&6; }
14784 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14785 asm_func_trailer
=""
14786 if test "$ac_cv_c_dot_previous" = "yes"
14788 asm_func_trailer
="\\n\\t.previous"
14790 if test "$ac_cv_c_cfi_support" = "yes"
14792 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14793 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14795 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14797 UNWINDFLAGS
=-fasynchronous-unwind-tables
14800 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14802 if test "x$enable_win64" = "xyes"
14804 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
14808 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14811 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14813 cat >>confdefs.h
<<_ACEOF
14814 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14818 cat >>confdefs.h
<<_ACEOF
14819 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14824 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14827 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14832 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14839 *i
[3456789]86*|x86_64
*)
14840 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14841 loader_programs
="$loader_programs $wine_binary-preloader"
14842 as_fn_append LOADER_RULES
"
14843 $wine_binary-preloader: preloader.o
14844 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14846 install install-lib:: $wine_binary-preloader
14847 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14850 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14852 preloader_EXTRADEFS = $BUILTINFLAG
14857 as_fn_append LOADER_RULES
"
14858 PROGRAMS = $loader_programs
14862 ac_save_CFLAGS
="$CFLAGS"
14863 CFLAGS
="$CFLAGS $BUILTINFLAG"
14942 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14943 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14944 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14945 cat >>confdefs.h
<<_ACEOF
14946 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14952 CFLAGS
="$ac_save_CFLAGS"
14954 if test "$ac_cv_func_dlopen" = no
14956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14957 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14958 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14959 $as_echo_n "(cached) " >&6
14961 ac_check_lib_save_LIBS
=$LIBS
14963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14964 /* end confdefs.h. */
14966 /* Override any GCC internal prototype to avoid an error.
14967 Use char because int might match the return type of a GCC
14968 builtin and then its argument prototype would still apply. */
14981 if ac_fn_c_try_link
"$LINENO"; then :
14982 ac_cv_lib_dl_dlopen
=yes
14984 ac_cv_lib_dl_dlopen
=no
14986 rm -f core conftest.err conftest.
$ac_objext \
14987 conftest
$ac_exeext conftest.
$ac_ext
14988 LIBS
=$ac_check_lib_save_LIBS
14990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14991 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14992 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14993 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14999 ac_wine_check_funcs_save_LIBS
="$LIBS"
15000 LIBS
="$LIBS $DL_LIBS"
15001 for ac_func
in dladdr
15003 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
15004 if test "x$ac_cv_func_dladdr" = xyes
; then :
15005 cat >>confdefs.h
<<_ACEOF
15006 #define HAVE_DLADDR 1
15012 LIBS
="$ac_wine_check_funcs_save_LIBS"
15014 if test "$ac_cv_func_poll" = no
15016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15017 $as_echo_n "checking for poll in -lpoll... " >&6; }
15018 if ${ac_cv_lib_poll_poll+:} false
; then :
15019 $as_echo_n "(cached) " >&6
15021 ac_check_lib_save_LIBS
=$LIBS
15022 LIBS
="-lpoll $LIBS"
15023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15024 /* end confdefs.h. */
15026 /* Override any GCC internal prototype to avoid an error.
15027 Use char because int might match the return type of a GCC
15028 builtin and then its argument prototype would still apply. */
15041 if ac_fn_c_try_link
"$LINENO"; then :
15042 ac_cv_lib_poll_poll
=yes
15044 ac_cv_lib_poll_poll
=no
15046 rm -f core conftest.err conftest.
$ac_objext \
15047 conftest
$ac_exeext conftest.
$ac_ext
15048 LIBS
=$ac_check_lib_save_LIBS
15050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15051 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15052 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
15053 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15061 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15062 if ${ac_cv_search_gethostbyname+:} false
; then :
15063 $as_echo_n "(cached) " >&6
15065 ac_func_search_save_LIBS
=$LIBS
15066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15067 /* end confdefs.h. */
15069 /* Override any GCC internal prototype to avoid an error.
15070 Use char because int might match the return type of a GCC
15071 builtin and then its argument prototype would still apply. */
15075 char gethostbyname ();
15079 return gethostbyname ();
15084 for ac_lib
in '' nsl
; do
15085 if test -z "$ac_lib"; then
15086 ac_res
="none required"
15089 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15091 if ac_fn_c_try_link
"$LINENO"; then :
15092 ac_cv_search_gethostbyname
=$ac_res
15094 rm -f core conftest.err conftest.
$ac_objext \
15096 if ${ac_cv_search_gethostbyname+:} false
; then :
15100 if ${ac_cv_search_gethostbyname+:} false
; then :
15103 ac_cv_search_gethostbyname
=no
15105 rm conftest.
$ac_ext
15106 LIBS
=$ac_func_search_save_LIBS
15108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15109 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15110 ac_res
=$ac_cv_search_gethostbyname
15111 if test "$ac_res" != no
; then :
15112 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15118 $as_echo_n "checking for library containing connect... " >&6; }
15119 if ${ac_cv_search_connect+:} false
; then :
15120 $as_echo_n "(cached) " >&6
15122 ac_func_search_save_LIBS
=$LIBS
15123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15124 /* end confdefs.h. */
15126 /* Override any GCC internal prototype to avoid an error.
15127 Use char because int might match the return type of a GCC
15128 builtin and then its argument prototype would still apply. */
15141 for ac_lib
in '' socket
; do
15142 if test -z "$ac_lib"; then
15143 ac_res
="none required"
15146 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15148 if ac_fn_c_try_link
"$LINENO"; then :
15149 ac_cv_search_connect
=$ac_res
15151 rm -f core conftest.err conftest.
$ac_objext \
15153 if ${ac_cv_search_connect+:} false
; then :
15157 if ${ac_cv_search_connect+:} false
; then :
15160 ac_cv_search_connect
=no
15162 rm conftest.
$ac_ext
15163 LIBS
=$ac_func_search_save_LIBS
15165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15166 $as_echo "$ac_cv_search_connect" >&6; }
15167 ac_res
=$ac_cv_search_connect
15168 if test "$ac_res" != no
; then :
15169 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15175 $as_echo_n "checking for library containing inet_aton... " >&6; }
15176 if ${ac_cv_search_inet_aton+:} false
; then :
15177 $as_echo_n "(cached) " >&6
15179 ac_func_search_save_LIBS
=$LIBS
15180 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15181 /* end confdefs.h. */
15183 /* Override any GCC internal prototype to avoid an error.
15184 Use char because int might match the return type of a GCC
15185 builtin and then its argument prototype would still apply. */
15193 return inet_aton ();
15198 for ac_lib
in '' resolv
; do
15199 if test -z "$ac_lib"; then
15200 ac_res
="none required"
15203 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15205 if ac_fn_c_try_link
"$LINENO"; then :
15206 ac_cv_search_inet_aton
=$ac_res
15208 rm -f core conftest.err conftest.
$ac_objext \
15210 if ${ac_cv_search_inet_aton+:} false
; then :
15214 if ${ac_cv_search_inet_aton+:} false
; then :
15217 ac_cv_search_inet_aton
=no
15219 rm conftest.
$ac_ext
15220 LIBS
=$ac_func_search_save_LIBS
15222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15223 $as_echo "$ac_cv_search_inet_aton" >&6; }
15224 ac_res
=$ac_cv_search_inet_aton
15225 if test "$ac_res" != no
; then :
15226 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15246 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15247 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15248 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15249 cat >>confdefs.h
<<_ACEOF
15250 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15259 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15260 if ${ac_cv_search_clock_gettime+:} false
; then :
15261 $as_echo_n "(cached) " >&6
15263 ac_func_search_save_LIBS
=$LIBS
15264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15265 /* end confdefs.h. */
15267 /* Override any GCC internal prototype to avoid an error.
15268 Use char because int might match the return type of a GCC
15269 builtin and then its argument prototype would still apply. */
15273 char clock_gettime ();
15277 return clock_gettime ();
15282 for ac_lib
in '' rt
; do
15283 if test -z "$ac_lib"; then
15284 ac_res
="none required"
15287 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15289 if ac_fn_c_try_link
"$LINENO"; then :
15290 ac_cv_search_clock_gettime
=$ac_res
15292 rm -f core conftest.err conftest.
$ac_objext \
15294 if ${ac_cv_search_clock_gettime+:} false
; then :
15298 if ${ac_cv_search_clock_gettime+:} false
; then :
15301 ac_cv_search_clock_gettime
=no
15303 rm conftest.
$ac_ext
15304 LIBS
=$ac_func_search_save_LIBS
15306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15307 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15308 ac_res
=$ac_cv_search_clock_gettime
15309 if test "$ac_res" != no
; then :
15310 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15312 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15314 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
15322 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15324 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15326 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15328 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15329 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15330 $as_echo_n "(cached) " >&6
15332 ac_check_lib_save_LIBS
=$LIBS
15333 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15335 /* end confdefs.h. */
15337 /* Override any GCC internal prototype to avoid an error.
15338 Use char because int might match the return type of a GCC
15339 builtin and then its argument prototype would still apply. */
15343 char ldap_initialize ();
15347 return ldap_initialize ();
15352 if ac_fn_c_try_link
"$LINENO"; then :
15353 ac_cv_lib_ldap_r_ldap_initialize
=yes
15355 ac_cv_lib_ldap_r_ldap_initialize
=no
15357 rm -f core conftest.err conftest.
$ac_objext \
15358 conftest
$ac_exeext conftest.
$ac_ext
15359 LIBS
=$ac_check_lib_save_LIBS
15361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15362 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15363 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15365 $as_echo_n "checking for ber_init in -llber... " >&6; }
15366 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15367 $as_echo_n "(cached) " >&6
15369 ac_check_lib_save_LIBS
=$LIBS
15370 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15372 /* end confdefs.h. */
15374 /* Override any GCC internal prototype to avoid an error.
15375 Use char because int might match the return type of a GCC
15376 builtin and then its argument prototype would still apply. */
15384 return ber_init ();
15389 if ac_fn_c_try_link
"$LINENO"; then :
15390 ac_cv_lib_lber_ber_init
=yes
15392 ac_cv_lib_lber_ber_init
=no
15394 rm -f core conftest.err conftest.
$ac_objext \
15395 conftest
$ac_exeext conftest.
$ac_ext
15396 LIBS
=$ac_check_lib_save_LIBS
15398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15399 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15400 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15402 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15404 LDAP_LIBS
="-lldap_r -llber"
15411 ac_wine_check_funcs_save_LIBS
="$LIBS"
15412 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15414 ldap_count_references \
15415 ldap_first_reference \
15416 ldap_next_reference \
15417 ldap_parse_reference \
15418 ldap_parse_sort_control \
15419 ldap_parse_sortresponse_control \
15420 ldap_parse_vlv_control \
15421 ldap_parse_vlvresponse_control
15423 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15424 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15425 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15426 cat >>confdefs.h
<<_ACEOF
15427 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15433 LIBS
="$ac_wine_check_funcs_save_LIBS"
15435 if test "x$LDAP_LIBS" = "x"; then :
15436 case "x$with_ldap" in
15437 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15439 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15440 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15445 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15446 if ${wine_cv_one_arg_mkdir+:} false
; then :
15447 $as_echo_n "(cached) " >&6
15449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15450 /* end confdefs.h. */
15451 #include <sys/stat.h>
15460 if ac_fn_c_try_compile
"$LINENO"; then :
15461 wine_cv_one_arg_mkdir
=yes
15463 wine_cv_one_arg_mkdir
=no
15465 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15468 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15469 if test "$wine_cv_one_arg_mkdir" = "yes"
15472 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15477 $as_echo_n "checking for sched_setaffinity... " >&6; }
15478 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15479 $as_echo_n "(cached) " >&6
15481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15482 /* end confdefs.h. */
15483 #define _GNU_SOURCE
15488 sched_setaffinity(0, 0, 0);
15493 if ac_fn_c_try_link
"$LINENO"; then :
15494 wine_cv_have_sched_setaffinity
=yes
15496 wine_cv_have_sched_setaffinity
=no
15498 rm -f core conftest.err conftest.
$ac_objext \
15499 conftest
$ac_exeext conftest.
$ac_ext
15501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15502 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15503 if test "$wine_cv_have_sched_setaffinity" = "yes"
15506 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15511 $as_echo_n "checking for fallocate... " >&6; }
15512 if ${wine_cv_have_fallocate+:} false
; then :
15513 $as_echo_n "(cached) " >&6
15515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15516 /* end confdefs.h. */
15517 #define _GNU_SOURCE
15522 fallocate(-1, 0, 0, 0);
15527 if ac_fn_c_try_link
"$LINENO"; then :
15528 wine_cv_have_fallocate
=yes
15530 wine_cv_have_fallocate
=no
15532 rm -f core conftest.err conftest.
$ac_objext \
15533 conftest
$ac_exeext conftest.
$ac_ext
15535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15536 $as_echo "$wine_cv_have_fallocate" >&6; }
15537 if test "$wine_cv_have_fallocate" = "yes"
15540 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15546 $as_echo_n "checking for inline... " >&6; }
15547 if ${ac_cv_c_inline+:} false
; then :
15548 $as_echo_n "(cached) " >&6
15551 for ac_kw
in inline __inline__ __inline
; do
15552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15553 /* end confdefs.h. */
15554 #ifndef __cplusplus
15556 static $ac_kw foo_t static_foo () {return 0; }
15557 $ac_kw foo_t foo () {return 0; }
15561 if ac_fn_c_try_compile
"$LINENO"; then :
15562 ac_cv_c_inline
=$ac_kw
15564 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15565 test "$ac_cv_c_inline" != no
&& break
15569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15570 $as_echo "$ac_cv_c_inline" >&6; }
15572 case $ac_cv_c_inline in
15575 case $ac_cv_c_inline in
15577 *) ac_val
=$ac_cv_c_inline;;
15579 cat >>confdefs.h
<<_ACEOF
15580 #ifndef __cplusplus
15581 #define inline $ac_val
15587 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15588 if test "x$ac_cv_type_mode_t" = xyes
; then :
15590 cat >>confdefs.h
<<_ACEOF
15591 #define HAVE_MODE_T 1
15596 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15597 if test "x$ac_cv_type_off_t" = xyes
; then :
15599 cat >>confdefs.h
<<_ACEOF
15600 #define HAVE_OFF_T 1
15605 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15606 if test "x$ac_cv_type_pid_t" = xyes
; then :
15608 cat >>confdefs.h
<<_ACEOF
15609 #define HAVE_PID_T 1
15614 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15615 if test "x$ac_cv_type_size_t" = xyes
; then :
15617 cat >>confdefs.h
<<_ACEOF
15618 #define HAVE_SIZE_T 1
15623 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15624 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15626 cat >>confdefs.h
<<_ACEOF
15627 #define HAVE_SSIZE_T 1
15632 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15633 if test "x$ac_cv_type_long_long" = xyes
; then :
15635 cat >>confdefs.h
<<_ACEOF
15636 #define HAVE_LONG_LONG 1
15641 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15642 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15644 cat >>confdefs.h
<<_ACEOF
15645 #define HAVE_FSBLKCNT_T 1
15650 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15651 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15653 cat >>confdefs.h
<<_ACEOF
15654 #define HAVE_FSFILCNT_T 1
15660 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15661 #include <signal.h>
15663 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15665 cat >>confdefs.h
<<_ACEOF
15666 #define HAVE_SIGSET_T 1
15672 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15674 if test "x$ac_cv_type_request_sense" = xyes
; then :
15676 cat >>confdefs.h
<<_ACEOF
15677 #define HAVE_REQUEST_SENSE 1
15684 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15685 #ifdef HAVE_SYS_SOCKET_H
15686 #include <sys/socket.h>
15688 #ifdef HAVE_SYS_SOCKETVAR_H
15689 #include <sys/socketvar.h>
15691 #ifdef HAVE_NET_ROUTE_H
15692 #include <net/route.h>
15694 #ifdef HAVE_NETINET_IN_H
15695 #include <netinet/in.h>
15697 #ifdef HAVE_NETINET_IN_SYSTM_H
15698 #include <netinet/in_systm.h>
15700 #ifdef HAVE_NETINET_IP_H
15701 #include <netinet/ip.h>
15703 #ifdef HAVE_NETINET_IN_PCB_H
15704 #include <netinet/in_pcb.h>
15707 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15709 cat >>confdefs.h
<<_ACEOF
15710 #define HAVE_STRUCT_XINPGEN 1
15717 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15720 #ifdef HAVE_SYS_LINK_H
15721 #include <sys/link.h>
15724 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15726 cat >>confdefs.h
<<_ACEOF
15727 #define HAVE_STRUCT_R_DEBUG 1
15732 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15735 #ifdef HAVE_SYS_LINK_H
15736 #include <sys/link.h>
15739 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15741 cat >>confdefs.h
<<_ACEOF
15742 #define HAVE_STRUCT_LINK_MAP 1
15749 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15750 #include <linux/input.h>
15753 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15755 cat >>confdefs.h
<<_ACEOF
15756 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15764 $as_echo_n "checking for sigaddset... " >&6; }
15765 if ${wine_cv_have_sigaddset+:} false
; then :
15766 $as_echo_n "(cached) " >&6
15768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15769 /* end confdefs.h. */
15770 #include <signal.h>
15774 sigset_t set; sigaddset(&set,SIGTERM);
15779 if ac_fn_c_try_link
"$LINENO"; then :
15780 wine_cv_have_sigaddset
=yes
15782 wine_cv_have_sigaddset
=no
15784 rm -f core conftest.err conftest.
$ac_objext \
15785 conftest
$ac_exeext conftest.
$ac_ext
15787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15788 $as_echo "$wine_cv_have_sigaddset" >&6; }
15789 if test "$wine_cv_have_sigaddset" = "yes"
15792 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15798 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15799 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15800 $as_echo_n "(cached) " >&6
15802 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15803 /* end confdefs.h. */
15811 struct hostent *result;
15818 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15819 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15825 if ac_fn_c_try_link
"$LINENO"; then :
15826 wine_cv_linux_gethostbyname_r_6
=yes
15828 wine_cv_linux_gethostbyname_r_6
=no
15831 rm -f core conftest.err conftest.
$ac_objext \
15832 conftest
$ac_exeext conftest.
$ac_ext
15835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15836 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15837 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15840 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15844 if test "$ac_cv_header_linux_joystick_h" = "yes"
15846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15847 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15848 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15849 $as_echo_n "(cached) " >&6
15851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15852 /* end confdefs.h. */
15854 #include <sys/ioctl.h>
15855 #include <sys/types.h>
15856 #include <linux/joystick.h>
15858 struct js_event blub;
15859 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15860 #error "no 2.2 header"
15871 if ac_fn_c_try_compile
"$LINENO"; then :
15872 wine_cv_linux_joystick_22_api
=yes
15874 wine_cv_linux_joystick_22_api
=no
15876 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15880 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15881 if test "$wine_cv_linux_joystick_22_api" = "yes"
15884 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15890 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15891 #ifdef HAVE_SYS_PARAM_H
15892 # include <sys/param.h>
15894 #ifdef HAVE_SYS_MOUNT_H
15895 # include <sys/mount.h>
15897 #ifdef HAVE_SYS_VFS_H
15898 # include <sys/vfs.h>
15900 #ifdef HAVE_SYS_STATFS_H
15901 # include <sys/statfs.h>
15904 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15906 cat >>confdefs.h
<<_ACEOF
15907 #define HAVE_STRUCT_STATFS_F_BFREE 1
15912 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15913 #ifdef HAVE_SYS_PARAM_H
15914 # include <sys/param.h>
15916 #ifdef HAVE_SYS_MOUNT_H
15917 # include <sys/mount.h>
15919 #ifdef HAVE_SYS_VFS_H
15920 # include <sys/vfs.h>
15922 #ifdef HAVE_SYS_STATFS_H
15923 # include <sys/statfs.h>
15926 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15928 cat >>confdefs.h
<<_ACEOF
15929 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15934 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15935 #ifdef HAVE_SYS_PARAM_H
15936 # include <sys/param.h>
15938 #ifdef HAVE_SYS_MOUNT_H
15939 # include <sys/mount.h>
15941 #ifdef HAVE_SYS_VFS_H
15942 # include <sys/vfs.h>
15944 #ifdef HAVE_SYS_STATFS_H
15945 # include <sys/statfs.h>
15948 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15950 cat >>confdefs.h
<<_ACEOF
15951 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15956 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15957 #ifdef HAVE_SYS_PARAM_H
15958 # include <sys/param.h>
15960 #ifdef HAVE_SYS_MOUNT_H
15961 # include <sys/mount.h>
15963 #ifdef HAVE_SYS_VFS_H
15964 # include <sys/vfs.h>
15966 #ifdef HAVE_SYS_STATFS_H
15967 # include <sys/statfs.h>
15970 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15972 cat >>confdefs.h
<<_ACEOF
15973 #define HAVE_STRUCT_STATFS_F_FFREE 1
15978 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15979 #ifdef HAVE_SYS_PARAM_H
15980 # include <sys/param.h>
15982 #ifdef HAVE_SYS_MOUNT_H
15983 # include <sys/mount.h>
15985 #ifdef HAVE_SYS_VFS_H
15986 # include <sys/vfs.h>
15988 #ifdef HAVE_SYS_STATFS_H
15989 # include <sys/statfs.h>
15992 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15994 cat >>confdefs.h
<<_ACEOF
15995 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16000 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16001 #ifdef HAVE_SYS_PARAM_H
16002 # include <sys/param.h>
16004 #ifdef HAVE_SYS_MOUNT_H
16005 # include <sys/mount.h>
16007 #ifdef HAVE_SYS_VFS_H
16008 # include <sys/vfs.h>
16010 #ifdef HAVE_SYS_STATFS_H
16011 # include <sys/statfs.h>
16014 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
16016 cat >>confdefs.h
<<_ACEOF
16017 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16024 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16025 #include <sys/statvfs.h>
16028 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
16030 cat >>confdefs.h
<<_ACEOF
16031 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16038 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16039 #include <dirent.h>
16042 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
16044 cat >>confdefs.h
<<_ACEOF
16045 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16052 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16053 #ifdef HAVE_SYS_SOCKET_H
16054 # include <sys/socket.h>
16056 #ifdef HAVE_SYS_UN_H
16057 # include <sys/un.h>
16060 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
16062 cat >>confdefs.h
<<_ACEOF
16063 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16068 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16069 #ifdef HAVE_SYS_SOCKET_H
16070 # include <sys/socket.h>
16072 #ifdef HAVE_SYS_UN_H
16073 # include <sys/un.h>
16076 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
16078 cat >>confdefs.h
<<_ACEOF
16079 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16084 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16085 #ifdef HAVE_SYS_SOCKET_H
16086 # include <sys/socket.h>
16088 #ifdef HAVE_SYS_UN_H
16089 # include <sys/un.h>
16092 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
16094 cat >>confdefs.h
<<_ACEOF
16095 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16102 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16103 #ifdef HAVE_SCSI_SG_H
16104 #include <scsi/sg.h>
16107 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
16109 cat >>confdefs.h
<<_ACEOF
16110 #define HAVE_SCSIREQ_T_CMD 1
16115 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>
16116 #ifdef HAVE_SCSI_SG_H
16117 #include <scsi/sg.h>
16120 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
16122 cat >>confdefs.h
<<_ACEOF
16123 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16130 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16132 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
16134 cat >>confdefs.h
<<_ACEOF
16135 #define HAVE_SIGINFO_T_SI_FD 1
16142 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16143 #ifdef HAVE_SYS_MTIO_H
16144 #include <sys/mtio.h>
16147 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
16149 cat >>confdefs.h
<<_ACEOF
16150 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16155 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16156 #ifdef HAVE_SYS_MTIO_H
16157 #include <sys/mtio.h>
16160 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
16162 cat >>confdefs.h
<<_ACEOF
16163 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16168 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16169 #ifdef HAVE_SYS_MTIO_H
16170 #include <sys/mtio.h>
16173 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
16175 cat >>confdefs.h
<<_ACEOF
16176 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16183 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16184 #include <getopt.h>
16187 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
16189 cat >>confdefs.h
<<_ACEOF
16190 #define HAVE_STRUCT_OPTION_NAME 1
16197 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16198 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
16200 cat >>confdefs.h
<<_ACEOF
16201 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16206 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16207 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
16209 cat >>confdefs.h
<<_ACEOF
16210 #define HAVE_STRUCT_STAT_ST_MTIM 1
16215 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16216 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
16218 cat >>confdefs.h
<<_ACEOF
16219 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16224 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16225 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
16227 cat >>confdefs.h
<<_ACEOF
16228 #define HAVE_STRUCT_STAT_ST_CTIM 1
16233 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16234 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
16236 cat >>confdefs.h
<<_ACEOF
16237 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16242 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16243 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
16245 cat >>confdefs.h
<<_ACEOF
16246 #define HAVE_STRUCT_STAT_ST_ATIM 1
16251 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16252 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
16254 cat >>confdefs.h
<<_ACEOF
16255 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16260 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16261 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
16263 cat >>confdefs.h
<<_ACEOF
16264 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16269 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16270 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
16272 cat >>confdefs.h
<<_ACEOF
16273 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16278 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16279 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
16281 cat >>confdefs.h
<<_ACEOF
16282 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16287 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16288 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
16290 cat >>confdefs.h
<<_ACEOF
16291 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16296 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16297 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
16299 cat >>confdefs.h
<<_ACEOF
16300 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16307 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
16308 #include <sys/types.h>
16310 #ifdef HAVE_NETINET_IN_H
16311 #include <netinet/in.h>
16314 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
16316 cat >>confdefs.h
<<_ACEOF
16317 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16324 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16325 #include <resolv.h>
16328 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
16330 cat >>confdefs.h
<<_ACEOF
16331 #define HAVE_STRUCT___RES_STATE 1
16338 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
16339 #include <resolv.h>
16342 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16344 cat >>confdefs.h
<<_ACEOF
16345 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16352 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16353 #include <sys/types.h>
16355 #ifdef HAVE_NETINET_IN_H
16356 # include <netinet/in.h>
16358 #ifdef HAVE_ARPA_NAMESER_H
16359 # include <arpa/nameser.h>
16362 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16364 cat >>confdefs.h
<<_ACEOF
16365 #define HAVE_NS_MSG__MSG_PTR 1
16372 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16373 #include <sys/types.h>
16375 #ifdef HAVE_NETINET_IP_H
16376 #include <netinet/ip.h>
16378 #ifdef HAVE_NETINET_IP_ICMP_H
16379 #include <netinet/ip_icmp.h>
16381 #ifdef HAVE_NETINET_ICMP_VAR_H
16382 #include <netinet/icmp_var.h>
16385 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16387 cat >>confdefs.h
<<_ACEOF
16388 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16395 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16396 #include <sys/types.h>
16398 #ifdef HAVE_ALIAS_H
16401 #ifdef HAVE_SYS_SOCKET_H
16402 #include <sys/socket.h>
16404 #ifdef HAVE_SYS_SOCKETVAR_H
16405 #include <sys/socketvar.h>
16407 #ifdef HAVE_SYS_TIMEOUT_H
16408 #include <sys/timeout.h>
16410 #ifdef HAVE_NETINET_IN_H
16411 #include <netinet/in.h>
16413 #ifdef HAVE_NETINET_IN_SYSTM_H
16414 #include <netinet/in_systm.h>
16416 #ifdef HAVE_NETINET_IP_H
16417 #include <netinet/ip.h>
16419 #ifdef HAVE_NETINET_IP_VAR_H
16420 #include <netinet/ip_var.h>
16422 #ifdef HAVE_NETINET_IP_ICMP_H
16423 #include <netinet/ip_icmp.h>
16425 #ifdef HAVE_NETINET_ICMP_VAR_H
16426 #include <netinet/icmp_var.h>
16429 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16431 cat >>confdefs.h
<<_ACEOF
16432 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16439 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16440 #include <sys/types.h>
16442 #ifdef HAVE_SYS_SOCKETVAR_H
16443 #include <sys/socketvar.h>
16445 #ifdef HAVE_NETINET_IN_H
16446 #include <netinet/in.h>
16448 #ifdef HAVE_NETINET_IP_VAR_H
16449 #include <netinet/ip_var.h>
16452 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16454 cat >>confdefs.h
<<_ACEOF
16455 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16462 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
16463 #include <netinet/ip_var.h>
16466 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16468 cat >>confdefs.h
<<_ACEOF
16469 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16476 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16477 #include <sys/types.h>
16479 #ifdef HAVE_SYS_SOCKETVAR_H
16480 #include <sys/socketvar.h>
16482 #ifdef HAVE_NETINET_IN_H
16483 #include <netinet/in.h>
16485 #ifdef HAVE_NETINET_TCP_H
16486 #include <netinet/tcp.h>
16488 #ifdef HAVE_NETINET_TCP_VAR_H
16489 #include <netinet/tcp_var.h>
16492 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16494 cat >>confdefs.h
<<_ACEOF
16495 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16502 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
16503 #include <netinet/tcp_var.h>
16506 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16508 cat >>confdefs.h
<<_ACEOF
16509 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16516 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16517 #include <sys/types.h>
16519 #ifdef HAVE_NETINET_IN_H
16520 #include <netinet/in.h>
16522 #ifdef HAVE_NETINET_IP_VAR_H
16523 #include <netinet/ip_var.h>
16525 #ifdef HAVE_NETINET_UDP_H
16526 #include <netinet/udp.h>
16528 #ifdef HAVE_NETINET_UDP_VAR_H
16529 #include <netinet/udp_var.h>
16532 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16534 cat >>confdefs.h
<<_ACEOF
16535 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16542 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16543 #include <sys/types.h>
16545 #ifdef HAVE_NET_IF_H
16546 # include <net/if.h>
16549 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16551 cat >>confdefs.h
<<_ACEOF
16552 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16560 $as_echo_n "checking for timezone variable... " >&6; }
16561 if ${ac_cv_have_timezone+:} false
; then :
16562 $as_echo_n "(cached) " >&6
16564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16565 /* end confdefs.h. */
16575 if ac_fn_c_try_link
"$LINENO"; then :
16576 ac_cv_have_timezone
="yes"
16578 ac_cv_have_timezone
="no"
16580 rm -f core conftest.err conftest.
$ac_objext \
16581 conftest
$ac_exeext conftest.
$ac_ext
16583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16584 $as_echo "$ac_cv_have_timezone" >&6; }
16585 if test "$ac_cv_have_timezone" = "yes"
16588 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16592 $as_echo_n "checking for daylight variable... " >&6; }
16593 if ${ac_cv_have_daylight+:} false
; then :
16594 $as_echo_n "(cached) " >&6
16596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16597 /* end confdefs.h. */
16607 if ac_fn_c_try_link
"$LINENO"; then :
16608 ac_cv_have_daylight
="yes"
16610 ac_cv_have_daylight
="no"
16612 rm -f core conftest.err conftest.
$ac_objext \
16613 conftest
$ac_exeext conftest.
$ac_ext
16615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16616 $as_echo "$ac_cv_have_daylight" >&6; }
16617 if test "$ac_cv_have_daylight" = "yes"
16620 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16624 ac_save_LIBS
="$LIBS"
16626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16627 $as_echo_n "checking for isfinite... " >&6; }
16628 if ${ac_cv_have_isfinite+:} false
; then :
16629 $as_echo_n "(cached) " >&6
16631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16632 /* end confdefs.h. */
16633 #define _GNU_SOURCE
16638 float f = 0.0; return isfinite(f)
16643 if ac_fn_c_try_link
"$LINENO"; then :
16644 ac_cv_have_isfinite
="yes"
16646 ac_cv_have_isfinite
="no"
16648 rm -f core conftest.err conftest.
$ac_objext \
16649 conftest
$ac_exeext conftest.
$ac_ext
16651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16652 $as_echo "$ac_cv_have_isfinite" >&6; }
16653 if test "$ac_cv_have_isfinite" = "yes"
16656 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16661 $as_echo_n "checking for isinf... " >&6; }
16662 if ${ac_cv_have_isinf+:} false
; then :
16663 $as_echo_n "(cached) " >&6
16665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16666 /* end confdefs.h. */
16671 float f = 0.0; return isinf(f)
16676 if ac_fn_c_try_link
"$LINENO"; then :
16677 ac_cv_have_isinf
="yes"
16679 ac_cv_have_isinf
="no"
16681 rm -f core conftest.err conftest.
$ac_objext \
16682 conftest
$ac_exeext conftest.
$ac_ext
16684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16685 $as_echo "$ac_cv_have_isinf" >&6; }
16686 if test "$ac_cv_have_isinf" = "yes"
16689 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16694 $as_echo_n "checking for isnan... " >&6; }
16695 if ${ac_cv_have_isnan+:} false
; then :
16696 $as_echo_n "(cached) " >&6
16698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16699 /* end confdefs.h. */
16704 float f = 0.0; return isnan(f)
16709 if ac_fn_c_try_link
"$LINENO"; then :
16710 ac_cv_have_isnan
="yes"
16712 ac_cv_have_isnan
="no"
16714 rm -f core conftest.err conftest.
$ac_objext \
16715 conftest
$ac_exeext conftest.
$ac_ext
16717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16718 $as_echo "$ac_cv_have_isnan" >&6; }
16719 if test "$ac_cv_have_isnan" = "yes"
16722 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16751 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16752 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16753 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16754 cat >>confdefs.h
<<_ACEOF
16755 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16761 LIBS
="$ac_save_LIBS"
16763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16764 $as_echo_n "checking for __builtin_clz... " >&6; }
16765 if ${ac_cv_have___builtin_clz+:} false
; then :
16766 $as_echo_n "(cached) " >&6
16768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16769 /* end confdefs.h. */
16774 return __builtin_clz(1)
16779 if ac_fn_c_try_link
"$LINENO"; then :
16780 ac_cv_have___builtin_clz
="yes"
16782 ac_cv_have___builtin_clz
="no"
16784 rm -f core conftest.err conftest.
$ac_objext \
16785 conftest
$ac_exeext conftest.
$ac_ext
16787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16788 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16789 if test "$ac_cv_have___builtin_clz" = "yes"
16792 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16798 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16799 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16800 if ${ac_cv_cpp_def___i386__+:} false
; then :
16801 $as_echo_n "(cached) " >&6
16803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16804 /* end confdefs.h. */
16809 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16810 $EGREP "yes" >/dev
/null
2>&1; then :
16811 ac_cv_cpp_def___i386__
=yes
16813 ac_cv_cpp_def___i386__
=no
16818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16819 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16820 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16821 CFLAGS
="$CFLAGS -D__i386__"
16822 LINTFLAGS
="$LINTFLAGS -D__i386__"
16824 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16825 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16826 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16827 $as_echo_n "(cached) " >&6
16829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16830 /* end confdefs.h. */
16835 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16836 $EGREP "yes" >/dev
/null
2>&1; then :
16837 ac_cv_cpp_def___x86_64__
=yes
16839 ac_cv_cpp_def___x86_64__
=no
16844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16845 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16846 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16847 CFLAGS
="$CFLAGS -D__x86_64__"
16848 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16850 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16851 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16852 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16853 $as_echo_n "(cached) " >&6
16855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16856 /* end confdefs.h. */
16857 #ifndef __sparc64__
16861 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16862 $EGREP "yes" >/dev
/null
2>&1; then :
16863 ac_cv_cpp_def___sparc64__
=yes
16865 ac_cv_cpp_def___sparc64__
=no
16870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16871 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16872 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16873 CFLAGS
="$CFLAGS -D__sparc64__"
16874 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16876 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16877 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16878 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16879 $as_echo_n "(cached) " >&6
16881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16882 /* end confdefs.h. */
16887 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16888 $EGREP "yes" >/dev
/null
2>&1; then :
16889 ac_cv_cpp_def___sparc__
=yes
16891 ac_cv_cpp_def___sparc__
=no
16896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16897 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16898 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16899 CFLAGS
="$CFLAGS -D__sparc__"
16900 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16902 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16903 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16904 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16905 $as_echo_n "(cached) " >&6
16907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16908 /* end confdefs.h. */
16909 #ifndef __powerpc64__
16913 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16914 $EGREP "yes" >/dev
/null
2>&1; then :
16915 ac_cv_cpp_def___powerpc64__
=yes
16917 ac_cv_cpp_def___powerpc64__
=no
16922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16923 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16924 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
16925 CFLAGS
="$CFLAGS -D__powerpc64__"
16926 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16928 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16929 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16930 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16931 $as_echo_n "(cached) " >&6
16933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16934 /* end confdefs.h. */
16935 #ifndef __powerpc__
16939 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16940 $EGREP "yes" >/dev
/null
2>&1; then :
16941 ac_cv_cpp_def___powerpc__
=yes
16943 ac_cv_cpp_def___powerpc__
=no
16948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16949 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16950 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
16951 CFLAGS
="$CFLAGS -D__powerpc__"
16952 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16954 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16955 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16956 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16957 $as_echo_n "(cached) " >&6
16959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16960 /* end confdefs.h. */
16961 #ifndef __aarch64__
16965 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16966 $EGREP "yes" >/dev
/null
2>&1; then :
16967 ac_cv_cpp_def___aarch64__
=yes
16969 ac_cv_cpp_def___aarch64__
=no
16974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16975 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16976 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
16977 CFLAGS
="$CFLAGS -D__aarch64__"
16978 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16980 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16981 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16982 if ${ac_cv_cpp_def___arm__+:} false
; then :
16983 $as_echo_n "(cached) " >&6
16985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16986 /* end confdefs.h. */
16991 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16992 $EGREP "yes" >/dev
/null
2>&1; then :
16993 ac_cv_cpp_def___arm__
=yes
16995 ac_cv_cpp_def___arm__
=no
17000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17001 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17002 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
17003 CFLAGS
="$CFLAGS -D__arm__"
17004 LINTFLAGS
="$LINTFLAGS -D__arm__"
17008 case $host_vendor in
17009 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17010 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17011 if ${ac_cv_cpp_def___sun__+:} false
; then :
17012 $as_echo_n "(cached) " >&6
17014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17015 /* end confdefs.h. */
17020 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17021 $EGREP "yes" >/dev
/null
2>&1; then :
17022 ac_cv_cpp_def___sun__
=yes
17024 ac_cv_cpp_def___sun__
=no
17029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17030 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17031 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
17032 CFLAGS
="$CFLAGS -D__sun__"
17033 LINTFLAGS
="$LINTFLAGS -D__sun__"
17041 ac_config_commands
="$ac_config_commands include/stamp-h"
17043 $as_echo_n "creating Makefile rules..." >&6
17045 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
17046 SOCKET_LIBS = $SOCKET_LIBS
17047 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17048 IOKIT_LIBS = $IOKIT_LIBS
17049 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17050 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17051 CORESERVICES_LIBS = $CORESERVICES_LIBS
17052 APPKIT_LIBS = $APPKIT_LIBS
17053 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17054 SECURITY_LIBS = $SECURITY_LIBS
17055 COREAUDIO_LIBS = $COREAUDIO_LIBS
17056 OPENAL_LIBS = $OPENAL_LIBS
17057 OPENCL_LIBS = $OPENCL_LIBS
17058 QUICKTIME_LIBS = $QUICKTIME_LIBS
17059 CARBON_LIBS = $CARBON_LIBS
17060 PTHREAD_LIBS = $PTHREAD_LIBS
17061 X_CFLAGS = $X_CFLAGS
17062 X_PRE_LIBS = $X_PRE_LIBS
17064 X_EXTRA_LIBS = $X_EXTRA_LIBS
17065 XML2_CFLAGS = $XML2_CFLAGS
17066 XML2_LIBS = $XML2_LIBS
17067 XSLT_CFLAGS = $XSLT_CFLAGS
17068 XSLT_LIBS = $XSLT_LIBS
17069 DBUS_CFLAGS = $DBUS_CFLAGS
17070 DBUS_LIBS = $DBUS_LIBS
17071 HAL_CFLAGS = $HAL_CFLAGS
17072 HAL_LIBS = $HAL_LIBS
17073 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17074 GNUTLS_LIBS = $GNUTLS_LIBS
17075 SANE_CFLAGS = $SANE_CFLAGS
17076 SANE_LIBS = $SANE_LIBS
17077 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17078 GPHOTO2_LIBS = $GPHOTO2_LIBS
17079 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17080 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17081 RESOLV_LIBS = $RESOLV_LIBS
17082 LCMS2_CFLAGS = $LCMS2_CFLAGS
17083 LCMS2_LIBS = $LCMS2_LIBS
17084 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17085 FREETYPE_LIBS = $FREETYPE_LIBS
17087 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17088 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17089 GSTREAMER_LIBS = $GSTREAMER_LIBS
17090 ALSA_LIBS = $ALSA_LIBS
17091 OSS4_CFLAGS = $OSS4_CFLAGS
17092 CAPI20_CFLAGS = $CAPI20_CFLAGS
17093 CAPI20_LIBS = $CAPI20_LIBS
17094 CUPS_CFLAGS = $CUPS_CFLAGS
17095 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17096 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17097 JPEG_CFLAGS = $JPEG_CFLAGS
17098 JPEG_LIBS = $JPEG_LIBS
17099 PNG_CFLAGS = $PNG_CFLAGS
17100 PNG_LIBS = $PNG_LIBS
17101 TIFF_CFLAGS = $TIFF_CFLAGS
17102 TIFF_LIBS = $TIFF_LIBS
17103 MPG123_CFLAGS = $MPG123_CFLAGS
17104 MPG123_LIBS = $MPG123_LIBS
17105 KSTAT_LIBS = $KSTAT_LIBS
17106 PROCSTAT_LIBS = $PROCSTAT_LIBS
17108 POLL_LIBS = $POLL_LIBS
17110 LDAP_LIBS = $LDAP_LIBS
17115 wine_fn_append_rule
"
17116 # Rules automatically generated by configure
17118 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17123 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
17124 @./config.status Make.tmp Makefile"
17126 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
17127 .gitignore: config.status
17128 @./config.status .gitignore"
17130 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
17131 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17133 if test "x$enable_fonts" != xno
; then
17134 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17135 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17136 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17137 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17138 ac_config_links
="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17139 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf fonts
/wingding.ttf
17141 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17142 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
17143 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
17144 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
17145 ac_config_links
="$ac_config_links wine:tools/winewrapper"
17146 wine_fn_config_symlink wine
17147 if test "x$enable_win64" != xno
; then
17148 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
17149 wine_fn_config_symlink wine64
17152 wine_fn_config_dll acledit enable_acledit
17153 wine_fn_config_dll aclui enable_aclui implib
17154 wine_fn_config_dll activeds enable_activeds implib
17155 wine_fn_config_dll actxprxy enable_actxprxy clean
17156 wine_fn_config_lib adsiid
17157 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
17158 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
17159 wine_fn_config_dll advpack enable_advpack implib
17160 wine_fn_config_test dlls
/advpack
/tests advpack_test
17161 wine_fn_config_dll amstream enable_amstream clean
17162 wine_fn_config_test dlls
/amstream
/tests amstream_test
17163 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17164 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17165 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17166 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17167 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17168 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17169 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17170 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17171 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17172 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17173 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17174 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17175 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17176 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17177 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17178 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17179 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17180 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17181 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17182 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17183 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17184 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17185 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17186 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17187 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17188 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17189 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17190 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17191 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17192 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17193 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17194 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17195 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17196 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17197 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17198 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17199 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17200 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17201 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17202 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17203 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17204 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17205 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17206 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17207 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17208 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17209 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17210 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17211 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17212 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17213 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17214 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17215 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17216 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17217 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17218 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17219 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17220 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17221 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17222 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17223 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17224 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17225 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17226 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17227 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17228 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17229 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17230 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17231 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17232 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17233 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17234 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17235 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17236 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17237 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17238 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17239 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17240 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17241 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17242 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17243 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17244 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17245 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17246 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17247 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17248 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17249 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17250 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17251 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17252 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17253 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17254 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17255 wine_fn_config_dll apphelp enable_apphelp
17256 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
17257 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17258 wine_fn_config_dll atl enable_atl clean
,implib
17259 wine_fn_config_test dlls
/atl
/tests atl_test
17260 wine_fn_config_dll atl100 enable_atl100 clean
,implib
17261 wine_fn_config_test dlls
/atl100
/tests atl100_test
17262 wine_fn_config_dll atl110 enable_atl110 clean
17263 wine_fn_config_dll atl80 enable_atl80 clean
,implib
17264 wine_fn_config_test dlls
/atl80
/tests atl80_test
17265 wine_fn_config_dll atl90 enable_atl90 clean
17266 wine_fn_config_dll authz enable_authz
17267 wine_fn_config_dll avicap32 enable_avicap32 implib
17268 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
17269 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
17270 wine_fn_config_dll avifile.dll16 enable_win16
17271 wine_fn_config_dll avrt enable_avrt implib
17272 wine_fn_config_dll bcrypt enable_bcrypt
17273 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
17274 wine_fn_config_dll browseui enable_browseui clean
,po
17275 wine_fn_config_test dlls
/browseui
/tests browseui_test
17276 wine_fn_config_dll cabinet enable_cabinet implib
17277 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
17278 wine_fn_config_dll capi2032 enable_capi2032 implib
17279 wine_fn_config_dll cards enable_cards implib
17280 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17281 wine_fn_config_dll clusapi enable_clusapi implib
17282 wine_fn_config_dll combase enable_combase
17283 wine_fn_config_test dlls
/combase
/tests combase_test
17284 wine_fn_config_dll comcat enable_comcat
17285 wine_fn_config_test dlls
/comcat
/tests comcat_test
17286 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
17287 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
17288 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
17289 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
17290 wine_fn_config_dll
comm.drv16 enable_win16
17291 wine_fn_config_dll commdlg.dll16 enable_win16
17292 wine_fn_config_dll compobj.dll16 enable_win16
17293 wine_fn_config_dll compstui enable_compstui implib
17294 wine_fn_config_dll comsvcs enable_comsvcs implib
17295 wine_fn_config_dll connect enable_connect
17296 wine_fn_config_dll credui enable_credui implib
,po
17297 wine_fn_config_test dlls
/credui
/tests credui_test
17298 wine_fn_config_dll crtdll enable_crtdll implib
17299 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
17300 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
17301 wine_fn_config_dll cryptdlg enable_cryptdlg po
17302 wine_fn_config_dll cryptdll enable_cryptdll implib
17303 wine_fn_config_dll cryptext enable_cryptext
17304 wine_fn_config_dll cryptnet enable_cryptnet implib
17305 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
17306 wine_fn_config_dll cryptui enable_cryptui implib
,po
17307 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
17308 wine_fn_config_dll ctapi32 enable_ctapi32
17309 wine_fn_config_dll ctl3d.dll16 enable_win16
17310 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17311 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17312 wine_fn_config_dll d2d1 enable_d2d1 implib
17313 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
17314 wine_fn_config_dll d3d10 enable_d3d10 implib
17315 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
17316 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17317 wine_fn_config_dll d3d10core enable_d3d10core implib
17318 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
17319 wine_fn_config_dll d3d11 enable_d3d11 implib
17320 wine_fn_config_test dlls
/d3d11
/tests d3d11_test
17321 wine_fn_config_dll d3d8 enable_d3d8 implib
17322 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
17323 wine_fn_config_dll d3d9 enable_d3d9 implib
17324 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
17325 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17326 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17327 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17328 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17329 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17330 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17331 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17332 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17333 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17334 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17335 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17336 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
17337 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17338 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17339 wine_fn_config_dll d3dim enable_d3dim implib
17340 wine_fn_config_dll d3drm enable_d3drm implib
17341 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
17342 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17343 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17344 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17345 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17346 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17347 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17348 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17349 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17350 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17351 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17352 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17353 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17354 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17355 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17356 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17357 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17358 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17359 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17360 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17361 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17362 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17363 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17364 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17365 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17366 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17367 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17368 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
17369 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17370 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17371 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17372 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17373 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17374 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17375 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17376 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
17377 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
17378 wine_fn_config_dll davclnt enable_davclnt
17379 wine_fn_config_dll dbgeng enable_dbgeng implib
17380 wine_fn_config_dll dbghelp enable_dbghelp implib
17381 wine_fn_config_dll dciman32 enable_dciman32 implib
17382 wine_fn_config_dll ddeml.dll16 enable_win16
17383 wine_fn_config_dll ddraw enable_ddraw clean
,implib
17384 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
17385 wine_fn_config_dll ddrawex enable_ddrawex clean
17386 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
17387 wine_fn_config_dll devenum enable_devenum clean
,po
17388 wine_fn_config_test dlls
/devenum
/tests devenum_test
17389 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17390 wine_fn_config_dll difxapi enable_difxapi
17391 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
17392 wine_fn_config_test dlls
/dinput
/tests dinput_test
17393 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
17394 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
17395 wine_fn_config_dll dispdib.dll16 enable_win16
17396 wine_fn_config_dll dispex enable_dispex clean
17397 wine_fn_config_test dlls
/dispex
/tests dispex_test
17398 wine_fn_config_dll display.drv16 enable_win16
17399 wine_fn_config_dll dmband enable_dmband clean
17400 wine_fn_config_test dlls
/dmband
/tests dmband_test
17401 wine_fn_config_dll dmcompos enable_dmcompos clean
17402 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
17403 wine_fn_config_dll dmime enable_dmime clean
17404 wine_fn_config_test dlls
/dmime
/tests dmime_test
17405 wine_fn_config_dll dmloader enable_dmloader clean
17406 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
17407 wine_fn_config_dll dmscript enable_dmscript clean
17408 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
17409 wine_fn_config_dll dmstyle enable_dmstyle clean
17410 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
17411 wine_fn_config_dll dmsynth enable_dmsynth clean
17412 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
17413 wine_fn_config_dll dmusic enable_dmusic clean
17414 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
17415 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17416 wine_fn_config_dll dnsapi enable_dnsapi implib
17417 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
17418 wine_fn_config_dll dplay enable_dplay implib
17419 wine_fn_config_dll dplayx enable_dplayx clean
,implib
17420 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
17421 wine_fn_config_dll dpnaddr enable_dpnaddr
17422 wine_fn_config_dll dpnet enable_dpnet clean
,implib
17423 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
17424 wine_fn_config_dll dpnhpast enable_dpnhpast
17425 wine_fn_config_dll dpnlobby enable_dpnlobby
17426 wine_fn_config_dll dpvoice enable_dpvoice clean
17427 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
17428 wine_fn_config_dll dpwsockx enable_dpwsockx
17429 wine_fn_config_dll drmclien enable_drmclien
17430 wine_fn_config_dll dsound enable_dsound clean
,implib
17431 wine_fn_config_test dlls
/dsound
/tests dsound_test
17432 wine_fn_config_dll dssenh enable_dssenh
17433 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
17434 wine_fn_config_dll dswave enable_dswave clean
17435 wine_fn_config_test dlls
/dswave
/tests dswave_test
17436 wine_fn_config_dll dwmapi enable_dwmapi implib
17437 wine_fn_config_dll dwrite enable_dwrite implib
17438 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
17439 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
17440 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
17441 wine_fn_config_lib dxerr8
17442 wine_fn_config_lib dxerr9
17443 wine_fn_config_dll dxgi enable_dxgi implib
17444 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
17445 wine_fn_config_lib dxguid
17446 wine_fn_config_dll dxva2 enable_dxva2
17447 wine_fn_config_dll esent enable_esent
17448 wine_fn_config_dll evr enable_evr
17449 wine_fn_config_dll explorerframe enable_explorerframe clean
17450 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17451 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17452 wine_fn_config_dll faultrep enable_faultrep implib
17453 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17454 wine_fn_config_dll fltlib enable_fltlib
17455 wine_fn_config_dll fntcache enable_fntcache
17456 wine_fn_config_dll fontsub enable_fontsub
17457 wine_fn_config_dll fusion enable_fusion
17458 wine_fn_config_test dlls
/fusion
/tests fusion_test
17459 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17460 wine_fn_config_dll gameux enable_gameux clean
17461 wine_fn_config_test dlls
/gameux
/tests gameux_test
17462 wine_fn_config_dll gdi.exe16 enable_win16
17463 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
17464 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
17465 wine_fn_config_dll gdiplus enable_gdiplus implib
17466 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
17467 wine_fn_config_dll glu32 enable_glu32 implib
17468 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17469 wine_fn_config_dll gpkcsp enable_gpkcsp
17470 wine_fn_config_dll hal enable_hal
17471 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
17472 wine_fn_config_dll hid enable_hid implib
17473 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17474 wine_fn_config_dll hlink enable_hlink clean
,implib
17475 wine_fn_config_test dlls
/hlink
/tests hlink_test
17476 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17477 wine_fn_config_dll httpapi enable_httpapi
17478 wine_fn_config_dll iccvid enable_iccvid po
17479 wine_fn_config_dll icmp enable_icmp
17480 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
17481 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17482 wine_fn_config_dll ifsmgr.vxd enable_win16
17483 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17484 wine_fn_config_dll imagehlp enable_imagehlp implib
17485 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17486 wine_fn_config_dll imm.dll16 enable_win16
17487 wine_fn_config_dll imm32 enable_imm32 implib
17488 wine_fn_config_test dlls
/imm32
/tests imm32_test
17489 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17490 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17491 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17492 wine_fn_config_dll inetmib1 enable_inetmib1
17493 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17494 wine_fn_config_dll infosoft enable_infosoft clean
17495 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17496 wine_fn_config_dll initpki enable_initpki
17497 wine_fn_config_dll inkobj enable_inkobj
17498 wine_fn_config_dll inseng enable_inseng clean
17499 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17500 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17501 wine_fn_config_dll itircl enable_itircl
17502 wine_fn_config_dll itss enable_itss clean
17503 wine_fn_config_test dlls
/itss
/tests itss_test
17504 wine_fn_config_dll joy.cpl enable_joy_cpl po
17505 wine_fn_config_dll jscript enable_jscript clean
,po
17506 wine_fn_config_test dlls
/jscript
/tests jscript_test
17507 wine_fn_config_dll jsproxy enable_jsproxy implib
17508 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
17509 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17510 wine_fn_config_dll keyboard.drv16 enable_win16
17511 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17512 wine_fn_config_dll ksuser enable_ksuser
17513 wine_fn_config_dll ktmw32 enable_ktmw32
17514 wine_fn_config_dll loadperf enable_loadperf implib
17515 wine_fn_config_dll localspl enable_localspl po
17516 wine_fn_config_test dlls
/localspl
/tests localspl_test
17517 wine_fn_config_dll localui enable_localui po
17518 wine_fn_config_test dlls
/localui
/tests localui_test
17519 wine_fn_config_dll lz32 enable_lz32 implib
17520 wine_fn_config_test dlls
/lz32
/tests lz32_test
17521 wine_fn_config_dll lzexpand.dll16 enable_win16
17522 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
17523 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17524 wine_fn_config_dll mapistub enable_mapistub
17525 wine_fn_config_dll mciavi32 enable_mciavi32
17526 wine_fn_config_dll mcicda enable_mcicda
17527 wine_fn_config_dll mciqtz32 enable_mciqtz32
17528 wine_fn_config_dll mciseq enable_mciseq
17529 wine_fn_config_dll mciwave enable_mciwave
17530 wine_fn_config_dll mf enable_mf
17531 wine_fn_config_dll mfplat enable_mfplat
17532 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17533 wine_fn_config_dll mgmtapi enable_mgmtapi
17534 wine_fn_config_dll midimap enable_midimap
17535 wine_fn_config_dll mlang enable_mlang clean
,implib
17536 wine_fn_config_test dlls
/mlang
/tests mlang_test
17537 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17538 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
17539 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17540 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
17541 wine_fn_config_dll mmdevldr.vxd enable_win16
17542 wine_fn_config_dll mmsystem.dll16 enable_win16
17543 wine_fn_config_dll monodebg.vxd enable_win16
17544 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17545 wine_fn_config_dll mouse.drv16 enable_win16
17546 wine_fn_config_dll mpr enable_mpr implib
,po
17547 wine_fn_config_test dlls
/mpr
/tests mpr_test
17548 wine_fn_config_dll mprapi enable_mprapi implib
17549 wine_fn_config_dll msacm.dll16 enable_win16
17550 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17551 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
17552 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
17553 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17554 wine_fn_config_dll msasn1 enable_msasn1 implib
17555 wine_fn_config_dll mscat32 enable_mscat32
17556 wine_fn_config_dll mscms enable_mscms implib
17557 wine_fn_config_test dlls
/mscms
/tests mscms_test
17558 wine_fn_config_dll mscoree enable_mscoree clean
17559 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
17560 wine_fn_config_dll msctf enable_msctf clean
17561 wine_fn_config_test dlls
/msctf
/tests msctf_test
17562 wine_fn_config_dll msctfp enable_msctfp clean
17563 wine_fn_config_dll msdaps enable_msdaps clean
17564 wine_fn_config_dll msdelta enable_msdelta
17565 wine_fn_config_dll msdmo enable_msdmo implib
17566 wine_fn_config_test dlls
/msdmo
/tests msdmo_test
17567 wine_fn_config_dll msftedit enable_msftedit
17568 wine_fn_config_dll msg711.acm enable_msg711_acm
17569 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17570 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17571 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
17572 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
17573 wine_fn_config_dll msi enable_msi clean
,implib
,po
17574 wine_fn_config_test dlls
/msi
/tests msi_test
17575 wine_fn_config_dll msident enable_msident clean
17576 wine_fn_config_dll msimg32 enable_msimg32 implib
17577 wine_fn_config_dll msimsg enable_msimsg
17578 wine_fn_config_dll msimtf enable_msimtf clean
17579 wine_fn_config_dll msisip enable_msisip
17580 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17581 wine_fn_config_dll msls31 enable_msls31
17582 wine_fn_config_dll msnet32 enable_msnet32
17583 wine_fn_config_dll mspatcha enable_mspatcha implib
17584 wine_fn_config_dll msrle32 enable_msrle32 po
17585 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
17586 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17587 wine_fn_config_dll mssign32 enable_mssign32
17588 wine_fn_config_dll mssip32 enable_mssip32
17589 wine_fn_config_dll mstask enable_mstask clean
17590 wine_fn_config_test dlls
/mstask
/tests mstask_test
17591 wine_fn_config_dll msvcirt enable_msvcirt
17592 wine_fn_config_test dlls
/msvcirt
/tests msvcirt_test
17593 wine_fn_config_dll msvcm80 enable_msvcm80
17594 wine_fn_config_dll msvcm90 enable_msvcm90
17595 wine_fn_config_dll msvcp100 enable_msvcp100
17596 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
17597 wine_fn_config_dll msvcp110 enable_msvcp110
17598 wine_fn_config_test dlls
/msvcp110
/tests msvcp110_test
17599 wine_fn_config_dll msvcp120 enable_msvcp120
17600 wine_fn_config_test dlls
/msvcp120
/tests msvcp120_test
17601 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17602 wine_fn_config_dll msvcp60 enable_msvcp60
17603 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
17604 wine_fn_config_dll msvcp70 enable_msvcp70
17605 wine_fn_config_dll msvcp71 enable_msvcp71
17606 wine_fn_config_dll msvcp80 enable_msvcp80
17607 wine_fn_config_dll msvcp90 enable_msvcp90
17608 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
17609 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17610 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
17611 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17612 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17613 wine_fn_config_test dlls
/msvcr120
/tests msvcr120_test
17614 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17615 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17616 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17617 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17618 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17619 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17620 wine_fn_config_dll msvcrt enable_msvcrt implib
17621 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17622 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17623 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17624 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17625 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17626 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17627 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17628 wine_fn_config_dll msvidc32 enable_msvidc32 po
17629 wine_fn_config_dll msvideo.dll16 enable_win16
17630 wine_fn_config_dll mswsock enable_mswsock implib
17631 wine_fn_config_dll msxml enable_msxml clean
17632 wine_fn_config_dll msxml2 enable_msxml2 clean
17633 wine_fn_config_dll msxml3 enable_msxml3 clean
17634 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17635 wine_fn_config_dll msxml4 enable_msxml4 clean
17636 wine_fn_config_dll msxml6 enable_msxml6 clean
17637 wine_fn_config_dll nddeapi enable_nddeapi implib
17638 wine_fn_config_dll ndis.sys enable_ndis_sys
17639 wine_fn_config_dll netapi32 enable_netapi32 implib
17640 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17641 wine_fn_config_dll netcfgx enable_netcfgx clean
17642 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
17643 wine_fn_config_dll netprofm enable_netprofm clean
17644 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
17645 wine_fn_config_dll newdev enable_newdev implib
17646 wine_fn_config_dll normaliz enable_normaliz implib
17647 wine_fn_config_dll npmshtml enable_npmshtml
17648 wine_fn_config_dll npptools enable_npptools
17649 wine_fn_config_dll ntdll enable_ntdll implib
17650 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17651 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17652 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17653 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17654 wine_fn_config_dll ntprint enable_ntprint
17655 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17656 wine_fn_config_dll objsel enable_objsel clean
17657 wine_fn_config_dll odbc32 enable_odbc32 implib
17658 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17659 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17660 wine_fn_config_dll odbccu32 enable_odbccu32
17661 wine_fn_config_dll ole2.dll16 enable_win16
17662 wine_fn_config_dll ole2conv.dll16 enable_win16
17663 wine_fn_config_dll ole2disp.dll16 enable_win16
17664 wine_fn_config_dll ole2nls.dll16 enable_win16
17665 wine_fn_config_dll ole2prox.dll16 enable_win16
17666 wine_fn_config_dll ole2thk.dll16 enable_win16
17667 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17668 wine_fn_config_test dlls
/ole32
/tests ole32_test
17669 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17670 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17671 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17672 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17673 wine_fn_config_dll olecli.dll16 enable_win16
17674 wine_fn_config_dll olecli32 enable_olecli32 implib
17675 wine_fn_config_dll oledb32 enable_oledb32 clean
17676 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17677 wine_fn_config_dll oledlg enable_oledlg implib
,po
17678 wine_fn_config_test dlls
/oledlg
/tests oledlg_test
17679 wine_fn_config_dll olepro32 enable_olepro32 implib
17680 wine_fn_config_dll olesvr.dll16 enable_win16
17681 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17682 wine_fn_config_dll olethk32 enable_olethk32
17683 wine_fn_config_dll openal32 enable_openal32
17684 wine_fn_config_dll opencl enable_opencl
17685 wine_fn_config_dll opengl32 enable_opengl32 implib
17686 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17687 wine_fn_config_dll packager enable_packager clean
17688 wine_fn_config_test dlls
/packager
/tests packager_test
17689 wine_fn_config_dll pdh enable_pdh implib
17690 wine_fn_config_test dlls
/pdh
/tests pdh_test
17691 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17692 wine_fn_config_dll pidgen enable_pidgen
17693 wine_fn_config_dll powrprof enable_powrprof implib
17694 wine_fn_config_dll printui enable_printui
17695 wine_fn_config_dll prntvpt enable_prntvpt
17696 wine_fn_config_dll propsys enable_propsys clean
,implib
17697 wine_fn_config_test dlls
/propsys
/tests propsys_test
17698 wine_fn_config_dll psapi enable_psapi implib
17699 wine_fn_config_test dlls
/psapi
/tests psapi_test
17700 wine_fn_config_dll pstorec enable_pstorec clean
17701 wine_fn_config_dll qcap enable_qcap
17702 wine_fn_config_test dlls
/qcap
/tests qcap_test
17703 wine_fn_config_dll qedit enable_qedit clean
17704 wine_fn_config_test dlls
/qedit
/tests qedit_test
17705 wine_fn_config_dll qmgr enable_qmgr clean
17706 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17707 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17708 wine_fn_config_dll quartz enable_quartz clean
,implib
17709 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17710 wine_fn_config_dll query enable_query
17711 wine_fn_config_dll rasapi16.dll16 enable_win16
17712 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17713 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17714 wine_fn_config_dll rasdlg enable_rasdlg implib
17715 wine_fn_config_dll regapi enable_regapi
17716 wine_fn_config_dll resutils enable_resutils implib
17717 wine_fn_config_dll riched20 enable_riched20 clean
,implib
17718 wine_fn_config_test dlls
/riched20
/tests riched20_test
17719 wine_fn_config_dll riched32 enable_riched32
17720 wine_fn_config_test dlls
/riched32
/tests riched32_test
17721 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17722 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17723 wine_fn_config_dll rsabase enable_rsabase
17724 wine_fn_config_dll rsaenh enable_rsaenh implib
17725 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17726 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17727 wine_fn_config_dll rtutils enable_rtutils implib
17728 wine_fn_config_dll samlib enable_samlib
17729 wine_fn_config_dll sane.ds enable_sane_ds po
17730 wine_fn_config_dll scarddlg enable_scarddlg
17731 wine_fn_config_dll sccbase enable_sccbase
17732 wine_fn_config_dll schannel enable_schannel
17733 wine_fn_config_test dlls
/schannel
/tests schannel_test
17734 wine_fn_config_dll schedsvc enable_schedsvc clean
17735 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
17736 wine_fn_config_dll scrrun enable_scrrun clean
17737 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17738 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17739 wine_fn_config_dll secur32 enable_secur32 implib
17740 wine_fn_config_test dlls
/secur32
/tests secur32_test
17741 wine_fn_config_dll security enable_security
17742 wine_fn_config_dll sensapi enable_sensapi implib
17743 wine_fn_config_dll serialui enable_serialui implib
,po
17744 wine_fn_config_test dlls
/serialui
/tests serialui_test
17745 wine_fn_config_dll setupapi enable_setupapi implib
,po
17746 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17747 wine_fn_config_dll setupx.dll16 enable_win16
17748 wine_fn_config_dll sfc enable_sfc implib
17749 wine_fn_config_dll sfc_os enable_sfc_os implib
17750 wine_fn_config_dll shdoclc enable_shdoclc po
17751 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17752 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17753 wine_fn_config_dll shell.dll16 enable_win16
17754 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17755 wine_fn_config_test dlls
/shell32
/tests shell32_test
17756 wine_fn_config_dll shfolder enable_shfolder implib
17757 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17758 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17759 wine_fn_config_dll slbcsp enable_slbcsp
17760 wine_fn_config_dll slc enable_slc implib
17761 wine_fn_config_test dlls
/slc
/tests slc_test
17762 wine_fn_config_dll snmpapi enable_snmpapi implib
17763 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17764 wine_fn_config_dll softpub enable_softpub
17765 wine_fn_config_dll sound.drv16 enable_win16
17766 wine_fn_config_dll spoolss enable_spoolss implib
17767 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17768 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17769 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17770 wine_fn_config_dll sti enable_sti clean
,implib
17771 wine_fn_config_test dlls
/sti
/tests sti_test
17772 wine_fn_config_dll storage.dll16 enable_win16
17773 wine_fn_config_dll stress.dll16 enable_win16
17774 wine_fn_config_lib strmbase
17775 wine_fn_config_lib strmiids
17776 wine_fn_config_dll svrapi enable_svrapi
17777 wine_fn_config_dll sxs enable_sxs implib
17778 wine_fn_config_test dlls
/sxs
/tests sxs_test
17779 wine_fn_config_dll system.drv16 enable_win16
17780 wine_fn_config_dll t2embed enable_t2embed
17781 wine_fn_config_dll tapi32 enable_tapi32 implib
17782 wine_fn_config_dll taskschd enable_taskschd clean
17783 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17784 wine_fn_config_dll toolhelp.dll16 enable_win16
17785 wine_fn_config_dll traffic enable_traffic
17786 wine_fn_config_dll twain.dll16 enable_win16
17787 wine_fn_config_dll twain_32 enable_twain_32
17788 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17789 wine_fn_config_dll typelib.dll16 enable_win16
17790 wine_fn_config_dll ucrtbase enable_ucrtbase
17791 wine_fn_config_test dlls
/ucrtbase
/tests ucrtbase_test
17792 wine_fn_config_dll unicows enable_unicows implib
17793 wine_fn_config_dll updspapi enable_updspapi
17794 wine_fn_config_dll url enable_url implib
17795 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17796 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17797 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17798 wine_fn_config_dll user.exe16 enable_win16
17799 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17800 wine_fn_config_test dlls
/user32
/tests user32_test
17801 wine_fn_config_dll userenv enable_userenv implib
17802 wine_fn_config_test dlls
/userenv
/tests userenv_test
17803 wine_fn_config_dll usp10 enable_usp10 implib
17804 wine_fn_config_test dlls
/usp10
/tests usp10_test
17805 wine_fn_config_lib uuid
17806 wine_fn_config_dll uxtheme enable_uxtheme implib
17807 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17808 wine_fn_config_dll vbscript enable_vbscript clean
17809 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17810 wine_fn_config_dll vcomp enable_vcomp
17811 wine_fn_config_test dlls
/vcomp
/tests vcomp_test
17812 wine_fn_config_dll vcomp100 enable_vcomp100
17813 wine_fn_config_dll vcomp110 enable_vcomp110
17814 wine_fn_config_dll vcomp90 enable_vcomp90
17815 wine_fn_config_dll vdhcp.vxd enable_win16
17816 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17817 wine_fn_config_dll ver.dll16 enable_win16
17818 wine_fn_config_dll version enable_version implib
17819 wine_fn_config_test dlls
/version
/tests version_test
17820 wine_fn_config_dll vmm.vxd enable_win16
17821 wine_fn_config_dll vnbt.vxd enable_win16
17822 wine_fn_config_dll vnetbios.vxd enable_win16
17823 wine_fn_config_dll vssapi enable_vssapi
17824 wine_fn_config_dll vtdapi.vxd enable_win16
17825 wine_fn_config_dll vwin32.vxd enable_win16
17826 wine_fn_config_dll w32skrnl enable_win16
17827 wine_fn_config_dll w32sys.dll16 enable_win16
17828 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17829 wine_fn_config_test dlls
/wbemdisp
/tests wbemdisp_test
17830 wine_fn_config_dll wbemprox enable_wbemprox clean
17831 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17832 wine_fn_config_dll webservices enable_webservices implib
17833 wine_fn_config_test dlls
/webservices
/tests webservices_test
17834 wine_fn_config_dll wer enable_wer implib
17835 wine_fn_config_test dlls
/wer
/tests wer_test
17836 wine_fn_config_dll wevtapi enable_wevtapi
17837 wine_fn_config_dll wiaservc enable_wiaservc clean
17838 wine_fn_config_dll win32s16.dll16 enable_win16
17839 wine_fn_config_dll win87em.dll16 enable_win16
17840 wine_fn_config_dll winaspi.dll16 enable_win16
17841 wine_fn_config_dll windebug.dll16 enable_win16
17842 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17843 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17844 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17845 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17846 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17847 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17848 wine_fn_config_lib winecrt0
17849 wine_fn_config_dll wined3d enable_wined3d implib
17850 wine_fn_config_dll winegstreamer enable_winegstreamer
17851 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17852 wine_fn_config_dll winemac.drv enable_winemac_drv
17853 wine_fn_config_dll winemapi enable_winemapi
17854 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17855 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17856 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17857 wine_fn_config_dll wineps16.drv16 enable_win16
17858 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17859 wine_fn_config_dll winex11.drv enable_winex11_drv
17860 wine_fn_config_dll wing.dll16 enable_win16
17861 wine_fn_config_dll wing32 enable_wing32
17862 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17863 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17864 wine_fn_config_dll wininet enable_wininet implib
,po
17865 wine_fn_config_test dlls
/wininet
/tests wininet_test
17866 wine_fn_config_dll winmm enable_winmm implib
,po
17867 wine_fn_config_test dlls
/winmm
/tests winmm_test
17868 wine_fn_config_dll winnls.dll16 enable_win16
17869 wine_fn_config_dll winnls32 enable_winnls32 implib
17870 wine_fn_config_dll winscard enable_winscard implib
17871 wine_fn_config_dll winsock.dll16 enable_win16
17872 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17873 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17874 wine_fn_config_dll winsta enable_winsta
17875 wine_fn_config_dll wintab.dll16 enable_win16
17876 wine_fn_config_dll wintab32 enable_wintab32 implib
17877 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17878 wine_fn_config_dll wintrust enable_wintrust implib
17879 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17880 wine_fn_config_dll wlanapi enable_wlanapi
17881 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17882 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17883 wine_fn_config_dll wmi enable_wmi
17884 wine_fn_config_dll wmiutils enable_wmiutils clean
17885 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17886 wine_fn_config_dll wmp enable_wmp clean
17887 wine_fn_config_test dlls
/wmp
/tests wmp_test
17888 wine_fn_config_dll wmvcore enable_wmvcore
17889 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17890 wine_fn_config_dll wow32 enable_win16 implib
17891 wine_fn_config_dll wpcap enable_wpcap
17892 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17893 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17894 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17895 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17896 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17897 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17898 wine_fn_config_dll wsock32 enable_wsock32 implib
17899 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17900 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
17901 wine_fn_config_dll wuapi enable_wuapi clean
17902 wine_fn_config_dll wuaueng enable_wuaueng
17903 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
17904 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
17905 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
17906 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
17907 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
17908 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
17909 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
17910 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17911 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
17912 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
17913 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
17914 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
17915 wine_fn_config_test dlls
/xaudio2_
7/tests xaudio2_7_test
17916 wine_fn_config_dll xaudio2_8 enable_xaudio2_8
17917 wine_fn_config_dll xinput1_1 enable_xinput1_1
17918 wine_fn_config_dll xinput1_2 enable_xinput1_2
17919 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17920 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17921 wine_fn_config_dll xinput1_4 enable_xinput1_4
17922 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17923 wine_fn_config_dll xmllite enable_xmllite implib
17924 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17925 wine_fn_config_dll xolehlp enable_xolehlp
17926 wine_fn_config_dll xpsprint enable_xpsprint
17927 wine_fn_config_dll xpssvcs enable_xpssvcs
17928 wine_fn_config_makefile documentation enable_documentation clean
17929 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17930 wine_fn_config_makefile include enable_include clean
,install-dev
17931 wine_fn_config_makefile libs
/port enable_libs_port
17932 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17933 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17934 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17935 wine_fn_config_program arp enable_arp
install
17936 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17937 wine_fn_config_program attrib enable_attrib
install,po
17938 wine_fn_config_program cabarc enable_cabarc
install
17939 wine_fn_config_program cacls enable_cacls
install
17940 wine_fn_config_program
clock enable_clock
install,po
17941 wine_fn_config_program cmd enable_cmd
install,po
17942 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17943 wine_fn_config_program conhost enable_conhost
install
17944 wine_fn_config_program control enable_control
install
17945 wine_fn_config_program cscript enable_cscript clean
,install
17946 wine_fn_config_program dpnsvr enable_dpnsvr
install
17947 wine_fn_config_program dxdiag enable_dxdiag
install,po
17948 wine_fn_config_program eject enable_eject
install
17949 wine_fn_config_program
expand enable_expand
install
17950 wine_fn_config_program explorer enable_explorer
install,po
17951 wine_fn_config_program extrac32 enable_extrac32
install
17952 wine_fn_config_program findstr enable_findstr
install
17953 wine_fn_config_program hh enable_hh
install
17954 wine_fn_config_program hostname enable_hostname
install,po
17955 wine_fn_config_program icinfo enable_icinfo
install
17956 wine_fn_config_program iexplore enable_iexplore
install
17957 wine_fn_config_program ipconfig enable_ipconfig
install,po
17958 wine_fn_config_program lodctr enable_lodctr
install
17959 wine_fn_config_program mofcomp enable_mofcomp
install
17960 wine_fn_config_program mshta enable_mshta
install
17961 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17962 wine_fn_config_program net enable_net
install,po
17963 wine_fn_config_program netsh enable_netsh
install
17964 wine_fn_config_program netstat enable_netstat
install,po
17965 wine_fn_config_program ngen enable_ngen
install
17966 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17967 wine_fn_config_program oleview enable_oleview
install,po
17968 wine_fn_config_program
ping enable_ping
install
17969 wine_fn_config_program plugplay enable_plugplay
install
17970 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17971 wine_fn_config_program progman enable_progman
install,po
17972 wine_fn_config_program reg enable_reg
install,po
17973 wine_fn_config_test programs
/reg
/tests reg.exe_test
17974 wine_fn_config_program regasm enable_regasm
install
17975 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17976 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17977 wine_fn_config_program regsvcs enable_regsvcs
install
17978 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
,po
17979 wine_fn_config_program rpcss enable_rpcss clean
,install
17980 wine_fn_config_program rundll.exe16 enable_win16
install
17981 wine_fn_config_program rundll32 enable_rundll32
install
17982 wine_fn_config_program sc enable_sc
install
17983 wine_fn_config_program schtasks enable_schtasks
install
17984 wine_fn_config_program sdbinst enable_sdbinst
install
17985 wine_fn_config_program secedit enable_secedit
install
17986 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17987 wine_fn_config_program services enable_services clean
,install
17988 wine_fn_config_test programs
/services
/tests services.exe_test
17989 wine_fn_config_program spoolsv enable_spoolsv
install
17990 wine_fn_config_program start enable_start
install,po
17991 wine_fn_config_program svchost enable_svchost
install
17992 wine_fn_config_program systeminfo enable_systeminfo
install
17993 wine_fn_config_program taskkill enable_taskkill
install,po
17994 wine_fn_config_program tasklist enable_tasklist
install
17995 wine_fn_config_program taskmgr enable_taskmgr
install,po
17996 wine_fn_config_program termsv enable_termsv
install
17997 wine_fn_config_program uninstaller enable_uninstaller
install,po
17998 wine_fn_config_program unlodctr enable_unlodctr
install
17999 wine_fn_config_program view enable_view
install,po
18000 wine_fn_config_program wevtutil enable_wevtutil
install
18001 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
18002 wine_fn_config_program winebrowser enable_winebrowser
install
18003 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
18004 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
18005 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
18006 wine_fn_config_program winedevice enable_winedevice
install
18007 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
18008 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
18009 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
18010 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
18011 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
18012 wine_fn_config_program winetest enable_winetest clean
18013 wine_fn_config_program winevdm enable_win16
install
18014 wine_fn_config_program winhelp.exe16 enable_win16
install
18015 wine_fn_config_program winhlp32 enable_winhlp32
install,po
18016 wine_fn_config_program winoldap.mod16 enable_win16
install
18017 wine_fn_config_program winver enable_winver
install
18018 wine_fn_config_program wmic enable_wmic
install,po
18019 wine_fn_config_program wordpad enable_wordpad
install,po
18020 wine_fn_config_program
write enable_write
install,po
18021 wine_fn_config_program wscript enable_wscript clean
,install
18022 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
18023 wine_fn_config_program wusa enable_wusa
install
18024 wine_fn_config_program xcopy enable_xcopy
install,po
18025 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
18026 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
18027 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
18028 wine_fn_config_tool tools
/sfnt2fon clean
18029 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
18030 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
18031 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
18032 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
18033 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
18034 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
18086 wine_fn_ignore_file
".gitignore"
18087 wine_fn_ignore_file
"Makefile"
18088 wine_fn_ignore_file
"TAGS"
18089 wine_fn_ignore_file
"tags"
18090 wine_fn_ignore_file
"autom4te.cache"
18091 wine_fn_ignore_file
"config.cache"
18092 wine_fn_ignore_file
"config.log"
18093 wine_fn_ignore_file
"config.status"
18094 wine_fn_ignore_file
"configure.lineno"
18095 wine_fn_ignore_file
"include/config.h"
18096 wine_fn_ignore_file
"include/stamp-h"
18097 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
18099 if test "x$enable_tools" != xno
18101 wine_fn_ignore_file
"tools/makedep$ac_exeext"
18102 ac_config_commands
="$ac_config_commands tools/makedep"
18106 ac_config_commands
="$ac_config_commands Makefile"
18109 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
18113 if test "x$enable_maintainer_mode" = xyes
18115 wine_fn_append_rule
"configure: configure.ac aclocal.m4
18116 autoconf --warnings=all
18117 include/config.h.in: include/stamp-h.in
18118 include/stamp-h.in: configure.ac aclocal.m4
18119 autoheader --warnings=all
18120 @echo timestamp > \$@"
18123 if test "x$with_gettextpo" = xyes
18125 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
18126 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
18127 \$(LINGUAS:%=po/%.po): po/wine.pot
18128 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
18129 po/wine.pot: \$(ALL_POT_FILES)
18130 msgcat -o \$@ \$(ALL_POT_FILES)"
18133 if test "$MSGFMT" != false
18135 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
18137 \$(RM) \$(LINGUAS:%=po/%.mo)"
18140 test "$srcdir" = . || posrc
="$srcdir/po"
18143 wine_fn_ignore_file
"po/$i.mo"
18144 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
18145 \$(MSGFMT) -o \$@ $posrc/$i.po"
18151 if test "x$enable_tools" != xno
18153 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18154 @./config.status tools/makedep
18155 Makefile: tools/makedep$ac_exeext
18157 \$(RM) tools/makedep$ac_exeext"
18159 wine_fn_append_rule
"\$(MAKEDEP):
18160 @echo \"You need to run make in $TOOLSDIR first\" && false"
18163 if test -n "$with_wine64"
18165 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18166 fonts server tools:
18167 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18168 $with_wine64/loader/wine:
18169 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18170 $with_wine64/loader/wine-preloader:
18171 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18173 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18175 as_fn_append LOADER_RULES
"
18176 install install-lib:: wine.inf install-man-pages
18177 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
18178 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18181 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18185 if test "$srcdir" = .
18187 ac_config_commands
="$ac_config_commands .gitignore"
18191 $as_echo " done" >&6
18192 cat >confcache
<<\_ACEOF
18193 # This file is a shell script that caches the results of configure
18194 # tests run on this system so they can be shared between configure
18195 # scripts and configure runs, see configure's option --config-cache.
18196 # It is not useful on other systems. If it contains results you don't
18197 # want to keep, you may remove or edit it.
18199 # config.status only pays attention to the cache file if you give it
18200 # the --recheck option to rerun configure.
18202 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18203 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18204 # following values.
18208 # The following way of writing the cache mishandles newlines in values,
18209 # but we know of no workaround that is simple, portable, and efficient.
18210 # So, we kill variables containing newlines.
18211 # Ultrix sh set writes to stderr and can't be redirected directly,
18212 # and sets the high bit in the cache file unless we assign to the vars.
18214 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18215 eval ac_val
=\$
$ac_var
18219 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18220 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18223 _ | IFS | as_nl
) ;; #(
18224 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
18225 *) { eval $ac_var=; unset $ac_var;} ;;
18231 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18232 *${as_nl}ac_space
=\
*)
18233 # `set' does not quote correctly, so add quotes: double-quote
18234 # substitution turns \\\\ into \\, and sed turns \\ into \.
18237 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18240 # `set' quotes correctly as required by POSIX, so do not add quotes.
18241 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18250 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18252 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18254 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18255 if test -w "$cache_file"; then
18256 if test "x$cache_file" != "x/dev/null"; then
18257 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18258 $as_echo "$as_me: updating cache $cache_file" >&6;}
18259 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
18260 cat confcache
>"$cache_file"
18262 case $cache_file in #(
18264 mv -f confcache
"$cache_file"$$
&&
18265 mv -f "$cache_file"$$
"$cache_file" ;; #(
18267 mv -f confcache
"$cache_file" ;;
18272 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18273 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18278 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18279 # Let make expand exec_prefix.
18280 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18282 DEFS
=-DHAVE_CONFIG_H
18287 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18288 # 1. Remove the extension, and $U if already installed.
18289 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18290 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18291 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18292 # will be set to the directory where LIBOBJS objects are built.
18293 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18294 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
18296 LIBOBJS
=$ac_libobjs
18298 LTLIBOBJS
=$ac_ltlibobjs
18302 : "${CONFIG_STATUS=./config.status}"
18304 ac_clean_files_save
=$ac_clean_files
18305 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18306 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18307 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18309 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18311 # Generated by $as_me.
18312 # Run this file to recreate the current configuration.
18313 # Compiler output produced by configure, useful for debugging
18314 # configure, is in config.log if it exists.
18317 ac_cs_recheck=false
18320 SHELL=\${CONFIG_SHELL-$SHELL}
18323 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
18324 ## -------------------- ##
18325 ## M4sh Initialization. ##
18326 ## -------------------- ##
18328 # Be more Bourne compatible
18329 DUALCASE
=1; export DUALCASE
# for MKS sh
18330 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
18333 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18334 # is contrary to our usage. Disable this feature.
18335 alias -g '${1+"$@"}'='"$@"'
18336 setopt NO_GLOB_SUBST
18338 case `(set -o) 2>/dev/null` in #(
18350 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18351 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18352 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18353 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18354 # Prefer a ksh shell builtin over an external printf program on Solaris,
18355 # but without wasting forks for bash or zsh.
18356 if test -z "$BASH_VERSION$ZSH_VERSION" \
18357 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18358 as_echo='print
-r --'
18359 as_echo_n='print
-rn --'
18360 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18361 as_echo='printf %s
\n'
18362 as_echo_n='printf %s
'
18364 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18365 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18366 as_echo_n='/usr
/ucb
/echo -n'
18368 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18369 as_echo_n_body='eval
18373 expr "X$arg" : "X\\(.*\\)$as_nl";
18374 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18376 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18378 export as_echo_n_body
18379 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18381 export as_echo_body
18382 as_echo='sh
-c $as_echo_body as_echo
'
18385 # The user is always right.
18386 if test "${PATH_SEPARATOR+set}" != set; then
18388 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18389 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18396 # We need space, tab and new line, in precisely that order. Quoting is
18397 # there to prevent editors from complaining about space-tab.
18398 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18399 # splitting by setting IFS to empty value.)
18402 # Find who we are. Look in the path if we contain no directory separator.
18405 *[\\/]* ) as_myself=$0 ;;
18406 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18407 for as_dir in $PATH
18410 test -z "$as_dir" && as_dir=.
18411 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18417 # We did not find ourselves, most probably we were run as `sh COMMAND'
18418 # in which case we are not to be found in the path.
18419 if test "x$as_myself" = x
; then
18422 if test ! -f "$as_myself"; then
18423 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18427 # Unset variables that we do not need and which cause bugs (e.g. in
18428 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18429 # suppresses any "Segmentation fault" message there. '((' could
18430 # trigger a bug in pdksh 5.2.14.
18431 for as_var
in BASH_ENV ENV MAIL MAILPATH
18432 do eval test x\
${$as_var+set} = xset \
18433 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18446 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18449 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18450 # ----------------------------------------
18451 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18452 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18453 # script with STATUS, using 1 if that was 0.
18456 as_status
=$1; test $as_status -eq 0 && as_status
=1
18458 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18459 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18461 $as_echo "$as_me: error: $2" >&2
18462 as_fn_exit
$as_status
18466 # as_fn_set_status STATUS
18467 # -----------------------
18468 # Set $? to STATUS, without forking.
18469 as_fn_set_status
()
18472 } # as_fn_set_status
18474 # as_fn_exit STATUS
18475 # -----------------
18476 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18480 as_fn_set_status
$1
18486 # Portably unset VAR.
18489 { eval $1=; unset $1;}
18491 as_unset
=as_fn_unset
18492 # as_fn_append VAR VALUE
18493 # ----------------------
18494 # Append the text in VALUE to the end of the definition contained in VAR. Take
18495 # advantage of any shell optimizations that allow amortized linear growth over
18496 # repeated appends, instead of the typical quadratic growth present in naive
18498 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18499 eval 'as_fn_append ()
18510 # as_fn_arith ARG...
18511 # ------------------
18512 # Perform arithmetic evaluation on the ARGs, and store the result in the
18513 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18514 # must be portable across $(()) and expr.
18515 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18516 eval 'as_fn_arith ()
18523 as_val
=`expr "$@" || test $? -eq 1`
18528 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18529 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18535 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18536 as_basename
=basename
18541 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18547 as_me
=`$as_basename -- "$0" ||
18548 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18549 X"$0" : 'X\(//\)$' \| \
18550 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18552 sed '/^.*\/\([^/][^/]*\)\/*$/{
18566 # Avoid depending upon Character Ranges.
18567 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18568 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18569 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18570 as_cr_digits
='0123456789'
18571 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18573 ECHO_C
= ECHO_N
= ECHO_T
=
18574 case `echo -n x` in #(((((
18576 case `echo 'xy\c'` in
18577 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18579 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18586 rm -f conf$$ conf$$.exe conf$$.
file
18587 if test -d conf$$.dir
; then
18588 rm -f conf$$.dir
/conf$$.
file
18591 mkdir conf$$.dir
2>/dev
/null
18593 if (echo >conf$$.
file) 2>/dev
/null
; then
18594 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18596 # ... but there are two gotchas:
18597 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18598 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18599 # In both cases, we have to default to `cp -pR'.
18600 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18602 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18610 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18611 rmdir conf$$.dir
2>/dev
/null
18616 # Create "$as_dir" as a directory, including parents if necessary.
18621 -*) as_dir
=.
/$as_dir;;
18623 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18627 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18628 *) as_qdir
=$as_dir;;
18630 as_dirs
="'$as_qdir' $as_dirs"
18631 as_dir
=`$as_dirname -- "$as_dir" ||
18632 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18633 X"$as_dir" : 'X\(//\)[^/]' \| \
18634 X"$as_dir" : 'X\(//\)$' \| \
18635 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18636 $as_echo X"$as_dir" |
18637 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18641 /^X\(\/\/\)[^/].*/{
18654 test -d "$as_dir" && break
18656 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18657 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18661 if mkdir
-p .
2>/dev
/null
; then
18662 as_mkdir_p
='mkdir -p "$as_dir"'
18664 test -d .
/-p && rmdir .
/-p
18669 # as_fn_executable_p FILE
18670 # -----------------------
18671 # Test if FILE is an executable regular file.
18672 as_fn_executable_p
()
18674 test -f "$1" && test -x "$1"
18675 } # as_fn_executable_p
18676 as_test_x
='test -x'
18677 as_executable_p
=as_fn_executable_p
18679 # Sed expression to map a string onto a valid CPP name.
18680 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18682 # Sed expression to map a string onto a valid variable name.
18683 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18687 ## ----------------------------------- ##
18688 ## Main body of $CONFIG_STATUS script. ##
18689 ## ----------------------------------- ##
18691 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18693 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18694 # Save the log message, to keep $0 and so on meaningful, and to
18695 # report actual input values of CONFIG_FILES etc. instead of their
18696 # values after options handling.
18698 This file was extended by Wine $as_me 1.7.52, which was
18699 generated by GNU Autoconf 2.69. Invocation command line was
18701 CONFIG_FILES = $CONFIG_FILES
18702 CONFIG_HEADERS = $CONFIG_HEADERS
18703 CONFIG_LINKS = $CONFIG_LINKS
18704 CONFIG_COMMANDS = $CONFIG_COMMANDS
18707 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18712 case $ac_config_files in *"
18713 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18716 case $ac_config_headers in *"
18717 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18721 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18722 # Files that config.status was made for.
18723 config_files="$ac_config_files"
18724 config_headers="$ac_config_headers"
18725 config_links="$ac_config_links"
18726 config_commands="$ac_config_commands"
18730 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18732 \`$as_me' instantiates files and other configuration actions
18733 from templates according to the current configuration. Unless the files
18734 and actions are specified as TAGs, all are instantiated by default.
18736 Usage: $0 [OPTION]... [TAG]...
18738 -h, --help print this help, then exit
18739 -V, --version print version number and configuration settings, then exit
18740 --config print configuration, then exit
18741 -q, --quiet, --silent
18742 do not print progress messages
18743 -d, --debug don't remove temporary files
18744 --recheck update $as_me by reconfiguring in the same conditions
18745 --file=FILE[:TEMPLATE]
18746 instantiate the configuration file FILE
18747 --header=FILE[:TEMPLATE]
18748 instantiate the configuration header FILE
18750 Configuration files:
18753 Configuration headers:
18756 Configuration links:
18759 Configuration commands:
18762 Report bugs to <wine-devel@winehq.org>.
18763 Wine home page: <http://www.winehq.org>."
18766 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18767 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18769 Wine config.status 1.7.52
18770 configured by $0, generated by GNU Autoconf 2.69,
18771 with options \\"\$ac_cs_config\\"
18773 Copyright (C) 2012 Free Software Foundation, Inc.
18774 This config.status script is free software; the Free Software Foundation
18775 gives unlimited permission to copy, distribute and modify it."
18779 test -n "\$AWK" || AWK=awk
18782 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18783 # The default lists apply if the user does not specify any file.
18789 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18790 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18794 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18806 # Handling of the options.
18807 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18809 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18810 $as_echo "$ac_cs_version"; exit ;;
18811 --config |
--confi |
--conf |
--con |
--co |
--c )
18812 $as_echo "$ac_cs_config"; exit ;;
18813 --debug |
--debu |
--deb |
--de |
--d |
-d )
18815 --file |
--fil |
--fi |
--f )
18818 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18819 '') as_fn_error $?
"missing file argument" ;;
18821 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18822 ac_need_defaults
=false
;;
18823 --header |
--heade |
--head |
--hea )
18826 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18828 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18829 ac_need_defaults
=false
;;
18831 # Conflict between --help and --header
18832 as_fn_error $?
"ambiguous option: \`$1'
18833 Try \`$0 --help' for more information.";;
18834 --help |
--hel |
-h )
18835 $as_echo "$ac_cs_usage"; exit ;;
18836 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18837 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18840 # This is an error.
18841 -*) as_fn_error $?
"unrecognized option: \`$1'
18842 Try \`$0 --help' for more information." ;;
18844 *) as_fn_append ac_config_targets
" $1"
18845 ac_need_defaults
=false
;;
18851 ac_configure_extra_args
=
18853 if $ac_cs_silent; then
18855 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18859 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18860 if \$ac_cs_recheck; then
18861 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18863 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18864 CONFIG_SHELL='$SHELL'
18865 export CONFIG_SHELL
18870 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18874 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18875 ## Running $as_me. ##
18881 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18885 wine_fn_output_makedep ()
18887 as_dir=tools; as_fn_mkdir_p
18888 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18890 wine_fn_output_makefile ()
18892 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18893 `cat $wine_rules_file`
18895 as_fn_error $? "could not create Makefile" "$LINENO" 5
18897 wine_fn_output_gitignore ()
18899 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18902 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18907 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18909 # Handling of arguments.
18910 for ac_config_target
in $ac_config_targets
18912 case $ac_config_target in
18913 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18914 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18915 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18916 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18917 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18918 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18919 "fonts/wingding.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
18920 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18921 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18922 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18923 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18924 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
18925 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18926 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18927 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18929 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18934 # If the user did not use the arguments to specify the items to instantiate,
18935 # then the envvar interface is used. Set only those that are not.
18936 # We use the long form for the default assignment because of an extremely
18937 # bizarre bug on SunOS 4.1.3.
18938 if $ac_need_defaults; then
18939 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18940 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18941 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18942 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18945 # Have a temporary directory for convenience. Make it in the build tree
18946 # simply because there is no reason against having it here, and in addition,
18947 # creating and moving files from /tmp can sometimes cause problems.
18948 # Hook for its removal unless debugging.
18949 # Note that there is a small window in which the directory will not be cleaned:
18950 # after its creation but before its name has been assigned to `$tmp'.
18954 trap 'exit_status=$?
18955 : "${ac_tmp:=$tmp}"
18956 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18958 trap 'as_fn_exit 1' 1 2 13 15
18960 # Create a (secure) tmp directory for tmp files.
18963 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18967 tmp
=.
/conf$$
-$RANDOM
18968 (umask 077 && mkdir
"$tmp")
18969 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18972 # Set up the scripts for CONFIG_FILES section.
18973 # No need to generate them if there are no CONFIG_FILES.
18974 # This happens for instance with `./config.status config.h'.
18975 if test -n "$CONFIG_FILES"; then
18978 ac_cr
=`echo X | tr X '\015'`
18979 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18980 # But we know of no other shell where ac_cr would be empty at this
18981 # point, so we can use a bashism as a fallback.
18982 if test "x$ac_cr" = x
; then
18983 eval ac_cr
=\$
\'\\r
\'
18985 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18986 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18989 ac_cs_awk_cr
=$ac_cr
18992 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18997 echo "cat >conf$$subs.awk <<_ACEOF" &&
18998 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19000 } >conf$$subs.sh ||
19001 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19002 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19004 for ac_last_try in false false false false false :; do
19005 . ./conf$$subs.sh ||
19006 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19008 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
19009 if test $ac_delim_n = $ac_delim_num; then
19011 elif $ac_last_try; then
19012 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19014 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19017 rm -f conf$$subs.sh
19019 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19020 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
19024 s/^/S["/; s
/!.
*/"]=/
19034 s/\(.\{148\}\)..*/\1/
19036 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
19041 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19048 s/\(.\{148\}\)..*/\1/
19050 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
19054 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19059 ' <conf$$subs.awk | sed '
19064 ' >>$CONFIG_STATUS || ac_write_fail=1
19065 rm -f conf$$subs.awk
19066 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19068 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
19069 for (key in S) S_is_set[key] = 1
19075 nfields = split(line, field, "@
")
19077 len = length(field[1])
19078 for (i = 2; i < nfields; i++) {
19080 keylen = length(key)
19081 if (S_is_set[key]) {
19083 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19084 len += length(value) + length(field[++i])
19095 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19096 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19097 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
19100 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
19101 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
19104 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19105 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
19106 # trailing colons and then remove the whole line if VPATH becomes empty
19107 # (actually we leave an empty line to preserve line numbers).
19108 if test "x
$srcdir" = x.; then
19109 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19127 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19128 fi # test -n "$CONFIG_FILES"
19130 # Set up the scripts for CONFIG_HEADERS section.
19131 # No need to generate them if there are no CONFIG_HEADERS.
19132 # This happens for instance with `./config.status Makefile'.
19133 if test -n "$CONFIG_HEADERS"; then
19134 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
19138 # Transform confdefs.h into an awk script `defines.awk', embedded as
19139 # here-document in config.status, that substitutes the proper values into
19140 # config.h.in to produce config.h.
19142 # Create a delimiter string that does not exist in confdefs.h, to ease
19143 # handling of long lines.
19145 for ac_last_try in false false :; do
19146 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
19147 if test -z "$ac_tt"; then
19149 elif $ac_last_try; then
19150 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
19152 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19156 # For the awk script, D is an array of macro values keyed by name,
19157 # likewise P contains macro parameters if any. Preserve backslash
19158 # newline sequences.
19160 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19162 s/.\{148\}/&'"$ac_delim"'/g
19165 s/^[ ]*#[ ]*define[ ][ ]*/ /
19172 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
19174 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
19178 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
19179 D["\
1"]=" \
3\\\\\\n
"\\/p
19181 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
19186 s/.\{148\}/&'"$ac_delim"'/g
19191 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
19194 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
19196 ' <confdefs.h | sed '
19197 s/'"$ac_delim"'/"\\\
19198 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19200 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19201 for (key in D) D_is_set[key] = 1
19204 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19206 split(line, arg, " ")
19207 if (arg[1] == "#") {
19211 defundef
= substr
(arg
[1], 2)
19214 split(mac1
, mac2
, "(") #)
19216 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
19217 if (D_is_set
[macro
]) {
19218 # Preserve the white space surrounding the "#".
19219 print prefix
"define", macro P
[macro
] D
[macro
]
19222 # Replace #undef with comments. This is necessary, for example,
19223 # in the case of _POSIX_SOURCE, which is predefined and required
19224 # on some systems where configure will not decide to define it.
19225 if (defundef
== "undef") {
19226 print
"/*", prefix defundef
, macro
, "*/"
19234 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19235 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
19236 fi # test -n "$CONFIG_HEADERS"
19239 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19244 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19246 case $ac_mode$ac_tag in
19248 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
19249 :[FH
]-) ac_tag
=-:-;;
19250 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19267 -) ac_f
="$ac_tmp/stdin";;
19268 *) # Look for the file first in the build tree, then in the source tree
19269 # (if the path is not absolute). The absolute path cannot be DOS-style,
19270 # because $ac_f cannot contain `:'.
19274 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19276 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19278 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19279 as_fn_append ac_file_inputs
" '$ac_f'"
19282 # Let's still pretend it is `configure' which instantiates (i.e., don't
19283 # use $as_me), people would be surprised to read:
19284 # /* config.h. Generated by config.status. */
19285 configure_input
='Generated from '`
19286 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19288 if test x
"$ac_file" != x-
; then
19289 configure_input
="$ac_file. $configure_input"
19290 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19291 $as_echo "$as_me: creating $ac_file" >&6;}
19293 # Neutralize special characters interpreted by sed in replacement strings.
19294 case $configure_input in #(
19295 *\
&* |
*\|
* |
*\\* )
19296 ac_sed_conf_input
=`$as_echo "$configure_input" |
19297 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19298 *) ac_sed_conf_input
=$configure_input;;
19302 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
19303 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
19308 ac_dir
=`$as_dirname -- "$ac_file" ||
19309 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19310 X"$ac_file" : 'X\(//\)[^/]' \| \
19311 X"$ac_file" : 'X\(//\)$' \| \
19312 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19313 $as_echo X"$ac_file" |
19314 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19318 /^X\(\/\/\)[^/].*/{
19331 as_dir
="$ac_dir"; as_fn_mkdir_p
19335 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19337 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19338 # A ".." for each directory in $ac_dir_suffix.
19339 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19340 case $ac_top_builddir_sub in
19341 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19342 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19345 ac_abs_top_builddir
=$ac_pwd
19346 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19347 # for backward compatibility:
19348 ac_top_builddir
=$ac_top_build_prefix
19351 .
) # We are building in place.
19353 ac_top_srcdir
=$ac_top_builddir_sub
19354 ac_abs_top_srcdir
=$ac_pwd ;;
19355 [\\/]* | ?
:[\\/]* ) # Absolute name.
19356 ac_srcdir
=$srcdir$ac_dir_suffix;
19357 ac_top_srcdir
=$srcdir
19358 ac_abs_top_srcdir
=$srcdir ;;
19359 *) # Relative name.
19360 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19361 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19362 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19364 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19375 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19376 # If the template does not know about datarootdir, expand it.
19377 # FIXME: This hack should be removed a few years after 2.60.
19378 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19389 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19390 *datarootdir
*) ac_datarootdir_seen
=yes;;
19391 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19392 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19393 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19395 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19396 ac_datarootdir_hack='
19397 s&@datadir@&$datadir&g
19398 s&@docdir@&$docdir&g
19399 s&@infodir@&$infodir&g
19400 s&@localedir@&$localedir&g
19401 s&@mandir@&$mandir&g
19402 s&\\\${datarootdir}&$datarootdir&g' ;;
19406 # Neutralize VPATH when `$srcdir' = `.'.
19407 # Shell code in configure.ac might set extrasub.
19408 # FIXME: do we really want to maintain this feature?
19409 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19410 ac_sed_extra="$ac_vpsub
19413 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19415 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19416 s|@configure_input@|
$ac_sed_conf_input|
;t t
19417 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19418 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19419 s
&@srcdir@
&$ac_srcdir&;t t
19420 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19421 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19422 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19423 s
&@builddir@
&$ac_builddir&;t t
19424 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19425 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19426 $ac_datarootdir_hack
19428 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19429 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19431 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19432 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19433 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19434 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19436 which seems to be undefined. Please make sure it is defined" >&5
19437 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19438 which seems to be undefined. Please make sure it is defined" >&2;}
19440 rm -f "$ac_tmp/stdin"
19442 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19443 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19445 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19451 if test x"$ac_file" != x-; then
19453 $as_echo "/* $configure_input */" \
19454 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19455 } >"$ac_tmp/config.h" \
19456 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19457 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19458 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19459 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19462 mv "$ac_tmp/config.h" "$ac_file" \
19463 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19466 $as_echo "/* $configure_input */" \
19467 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19468 || as_fn_error $? "could not create -" "$LINENO" 5
19476 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
19479 # Prefer the file from the source tree if names are identical.
19480 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19481 ac_source=$srcdir/$ac_source
19484 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19485 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19487 if test ! -r "$ac_source"; then
19488 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19492 # Try a relative symlink, then a hard link, then a copy.
19494 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19495 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19497 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19498 ln "$ac_source" "$ac_file" 2>/dev/null ||
19499 cp -p "$ac_source" "$ac_file" ||
19500 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19503 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19504 $as_echo "$as_me: executing $ac_file commands" >&6;}
19509 case $ac_file$ac_mode in
19510 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19511 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19512 "Makefile":C) wine_fn_output_makefile Makefile ;;
19513 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19521 ac_clean_files=$ac_clean_files_save
19523 test $ac_write_fail = 0 ||
19524 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19527 # configure is writing to config.log, and then calls config.status.
19528 # config.status does its own redirection, appending to config.log.
19529 # Unfortunately, on DOS this fails, as config.log is still kept open
19530 # by configure, so config.status won't be able to
write to it
; its
19531 # output is simply discarded. So we exec the FD to /dev/null,
19532 # effectively closing config.log, so it can be properly (re)opened and
19533 # appended to by config.status. When coming back to configure, we
19534 # need to make the FD available again.
19535 if test "$no_create" != yes; then
19537 ac_config_status_args
=
19538 test "$silent" = yes &&
19539 ac_config_status_args
="$ac_config_status_args --quiet"
19541 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19543 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19544 # would make configure fail if this is the last instruction.
19545 $ac_cs_success || as_fn_exit
1
19547 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19548 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19549 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19553 if test "$no_create" = "yes"
19559 if test "x$wine_notices != "x
; then
19562 for msg
in $wine_notices; do
19564 if ${msg:+false} :; then :
19567 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19568 $as_echo "$as_me: $msg" >&6;}
19573 for msg
in $wine_warnings; do
19575 if ${msg:+false} :; then :
19579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19580 $as_echo "$as_me: WARNING: $msg" >&2;}
19586 $as_me: Finished. Do '${ac_make}' to compile Wine.