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
635 EXCESS_PRECISION_CFLAGS
699 APPLICATIONSERVICES_LIBS
786 program_transform_name
799 enable_option_checking
803 enable_maintainer_mode
860 enable_api_ms_win_core_com_l1_1_0
861 enable_api_ms_win_core_console_l1_1_0
862 enable_api_ms_win_core_datetime_l1_1_0
863 enable_api_ms_win_core_datetime_l1_1_1
864 enable_api_ms_win_core_debug_l1_1_0
865 enable_api_ms_win_core_debug_l1_1_1
866 enable_api_ms_win_core_errorhandling_l1_1_0
867 enable_api_ms_win_core_errorhandling_l1_1_1
868 enable_api_ms_win_core_errorhandling_l1_1_2
869 enable_api_ms_win_core_fibers_l1_1_0
870 enable_api_ms_win_core_fibers_l1_1_1
871 enable_api_ms_win_core_file_l1_1_0
872 enable_api_ms_win_core_file_l1_2_0
873 enable_api_ms_win_core_file_l2_1_0
874 enable_api_ms_win_core_file_l2_1_1
875 enable_api_ms_win_core_handle_l1_1_0
876 enable_api_ms_win_core_heap_l1_1_0
877 enable_api_ms_win_core_heap_l1_2_0
878 enable_api_ms_win_core_heap_obsolete_l1_1_0
879 enable_api_ms_win_core_interlocked_l1_1_0
880 enable_api_ms_win_core_interlocked_l1_2_0
881 enable_api_ms_win_core_io_l1_1_1
882 enable_api_ms_win_core_kernel32_legacy_l1_1_0
883 enable_api_ms_win_core_libraryloader_l1_1_0
884 enable_api_ms_win_core_libraryloader_l1_1_1
885 enable_api_ms_win_core_localization_l1_2_0
886 enable_api_ms_win_core_localization_l1_2_1
887 enable_api_ms_win_core_localization_obsolete_l1_1_0
888 enable_api_ms_win_core_localregistry_l1_1_0
889 enable_api_ms_win_core_memory_l1_1_0
890 enable_api_ms_win_core_memory_l1_1_1
891 enable_api_ms_win_core_misc_l1_1_0
892 enable_api_ms_win_core_namedpipe_l1_1_0
893 enable_api_ms_win_core_namedpipe_l1_2_0
894 enable_api_ms_win_core_processenvironment_l1_1_0
895 enable_api_ms_win_core_processenvironment_l1_2_0
896 enable_api_ms_win_core_processthreads_l1_1_0
897 enable_api_ms_win_core_processthreads_l1_1_1
898 enable_api_ms_win_core_processthreads_l1_1_2
899 enable_api_ms_win_core_profile_l1_1_0
900 enable_api_ms_win_core_psapi_l1_1_0
901 enable_api_ms_win_core_registry_l1_1_0
902 enable_api_ms_win_core_rtlsupport_l1_1_0
903 enable_api_ms_win_core_rtlsupport_l1_2_0
904 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
905 enable_api_ms_win_core_string_l1_1_0
906 enable_api_ms_win_core_synch_l1_1_0
907 enable_api_ms_win_core_synch_l1_2_0
908 enable_api_ms_win_core_sysinfo_l1_1_0
909 enable_api_ms_win_core_sysinfo_l1_2_0
910 enable_api_ms_win_core_sysinfo_l1_2_1
911 enable_api_ms_win_core_threadpool_legacy_l1_1_0
912 enable_api_ms_win_core_timezone_l1_1_0
913 enable_api_ms_win_core_url_l1_1_0
914 enable_api_ms_win_core_util_l1_1_0
915 enable_api_ms_win_core_winrt_error_l1_1_0
916 enable_api_ms_win_core_winrt_error_l1_1_1
917 enable_api_ms_win_core_winrt_l1_1_0
918 enable_api_ms_win_core_winrt_string_l1_1_0
919 enable_api_ms_win_core_xstate_l2_1_0
920 enable_api_ms_win_crt_conio_l1_1_0
921 enable_api_ms_win_crt_convert_l1_1_0
922 enable_api_ms_win_crt_environment_l1_1_0
923 enable_api_ms_win_crt_filesystem_l1_1_0
924 enable_api_ms_win_crt_heap_l1_1_0
925 enable_api_ms_win_crt_locale_l1_1_0
926 enable_api_ms_win_crt_math_l1_1_0
927 enable_api_ms_win_crt_multibyte_l1_1_0
928 enable_api_ms_win_crt_private_l1_1_0
929 enable_api_ms_win_crt_process_l1_1_0
930 enable_api_ms_win_crt_runtime_l1_1_0
931 enable_api_ms_win_crt_stdio_l1_1_0
932 enable_api_ms_win_crt_string_l1_1_0
933 enable_api_ms_win_crt_time_l1_1_0
934 enable_api_ms_win_crt_utility_l1_1_0
935 enable_api_ms_win_downlevel_advapi32_l1_1_0
936 enable_api_ms_win_downlevel_advapi32_l2_1_0
937 enable_api_ms_win_downlevel_normaliz_l1_1_0
938 enable_api_ms_win_downlevel_ole32_l1_1_0
939 enable_api_ms_win_downlevel_shell32_l1_1_0
940 enable_api_ms_win_downlevel_shlwapi_l1_1_0
941 enable_api_ms_win_downlevel_shlwapi_l2_1_0
942 enable_api_ms_win_downlevel_user32_l1_1_0
943 enable_api_ms_win_downlevel_version_l1_1_0
944 enable_api_ms_win_eventing_provider_l1_1_0
945 enable_api_ms_win_ntuser_dc_access_l1_1_0
946 enable_api_ms_win_security_base_l1_1_0
947 enable_api_ms_win_security_base_l1_2_0
948 enable_api_ms_win_security_sddl_l1_1_0
949 enable_api_ms_win_service_core_l1_1_1
950 enable_api_ms_win_service_management_l1_1_0
951 enable_api_ms_win_service_winsvc_l1_2_0
994 enable_d3dcompiler_33
995 enable_d3dcompiler_34
996 enable_d3dcompiler_35
997 enable_d3dcompiler_36
998 enable_d3dcompiler_37
999 enable_d3dcompiler_38
1000 enable_d3dcompiler_39
1001 enable_d3dcompiler_40
1002 enable_d3dcompiler_41
1003 enable_d3dcompiler_42
1004 enable_d3dcompiler_43
1005 enable_d3dcompiler_46
1006 enable_d3dcompiler_47
1084 enable_explorerframe
1085 enable_ext_ms_win_gdi_devcaps_l1_1_0
1244 enable_photometadatahandler
1329 enable_windowscodecs
1330 enable_windowscodecsext
1332 enable_winecoreaudio_drv
1334 enable_winegstreamer
1335 enable_winejoystick_drv
1341 enable_wineqtdecoder
1399 enable_documentation
1407 enable_aspnet_regiis
1440 enable_presentationfontcache
1453 enable_servicemodelreg
1474 enable_winemenubuilder
1476 enable_winemsibuilder
1490 ac_precious_vars
='build_alias
1539 # Initialize some variables set by options.
1541 ac_init_version
=false
1542 ac_unrecognized_opts
=
1543 ac_unrecognized_sep
=
1544 # The variables have the same names as the options, with
1545 # dashes changed to underlines.
1546 cache_file
=/dev
/null
1553 program_transform_name
=s
,x
,x
,
1561 # Installation directory options.
1562 # These are left unexpanded so users can "make install exec_prefix=/foo"
1563 # and all the variables that are supposed to be based on exec_prefix
1564 # by default will actually change.
1565 # Use braces instead of parens because sh, perl, etc. also accept them.
1566 # (The list follows the same order as the GNU Coding Standards.)
1567 bindir
='${exec_prefix}/bin'
1568 sbindir
='${exec_prefix}/sbin'
1569 libexecdir
='${exec_prefix}/libexec'
1570 datarootdir
='${prefix}/share'
1571 datadir
='${datarootdir}'
1572 sysconfdir
='${prefix}/etc'
1573 sharedstatedir
='${prefix}/com'
1574 localstatedir
='${prefix}/var'
1575 runstatedir
='${localstatedir}/run'
1576 includedir
='${prefix}/include'
1577 oldincludedir
='/usr/include'
1578 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1579 infodir
='${datarootdir}/info'
1584 libdir
='${exec_prefix}/lib'
1585 localedir
='${datarootdir}/locale'
1586 mandir
='${datarootdir}/man'
1592 # If the previous option needs an argument, assign it.
1593 if test -n "$ac_prev"; then
1594 eval $ac_prev=\
$ac_option
1600 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1605 # Accept the important Cygnus configure options, so we can diagnose typos.
1607 case $ac_dashdash$ac_option in
1611 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1613 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1614 bindir
=$ac_optarg ;;
1616 -build |
--build |
--buil |
--bui |
--bu)
1617 ac_prev
=build_alias
;;
1618 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1619 build_alias
=$ac_optarg ;;
1621 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1622 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1623 ac_prev
=cache_file
;;
1624 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1625 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1626 cache_file
=$ac_optarg ;;
1628 --config-cache |
-C)
1629 cache_file
=config.cache
;;
1631 -datadir |
--datadir |
--datadi |
--datad)
1633 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1634 datadir
=$ac_optarg ;;
1636 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1637 |
--dataroo |
--dataro |
--datar)
1638 ac_prev
=datarootdir
;;
1639 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1640 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1641 datarootdir
=$ac_optarg ;;
1643 -disable-* |
--disable-*)
1644 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1645 # Reject names that are not valid shell variable names.
1646 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1647 as_fn_error $?
"invalid feature name: $ac_useropt"
1648 ac_useropt_orig
=$ac_useropt
1649 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1650 case $ac_user_opts in
1652 "enable_
$ac_useropt"
1654 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1655 ac_unrecognized_sep
=', ';;
1657 eval enable_
$ac_useropt=no
;;
1659 -docdir |
--docdir |
--docdi |
--doc |
--do)
1661 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1662 docdir
=$ac_optarg ;;
1664 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1666 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1667 dvidir
=$ac_optarg ;;
1669 -enable-* |
--enable-*)
1670 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1671 # Reject names that are not valid shell variable names.
1672 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1673 as_fn_error $?
"invalid feature name: $ac_useropt"
1674 ac_useropt_orig
=$ac_useropt
1675 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1676 case $ac_user_opts in
1678 "enable_
$ac_useropt"
1680 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1681 ac_unrecognized_sep
=', ';;
1683 eval enable_
$ac_useropt=\
$ac_optarg ;;
1685 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1686 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1687 |
--exec |
--exe |
--ex)
1688 ac_prev
=exec_prefix
;;
1689 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1690 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1691 |
--exec=* |
--exe=* |
--ex=*)
1692 exec_prefix
=$ac_optarg ;;
1694 -gas |
--gas |
--ga |
--g)
1695 # Obsolete; use --with-gas.
1698 -help |
--help |
--hel |
--he |
-h)
1699 ac_init_help
=long
;;
1700 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1701 ac_init_help
=recursive
;;
1702 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1703 ac_init_help
=short
;;
1705 -host |
--host |
--hos |
--ho)
1706 ac_prev
=host_alias
;;
1707 -host=* |
--host=* |
--hos=* |
--ho=*)
1708 host_alias
=$ac_optarg ;;
1710 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1712 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1714 htmldir
=$ac_optarg ;;
1716 -includedir |
--includedir |
--includedi |
--included |
--include \
1717 |
--includ |
--inclu |
--incl |
--inc)
1718 ac_prev
=includedir
;;
1719 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1720 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1721 includedir
=$ac_optarg ;;
1723 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1725 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1726 infodir
=$ac_optarg ;;
1728 -libdir |
--libdir |
--libdi |
--libd)
1730 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1731 libdir
=$ac_optarg ;;
1733 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1734 |
--libexe |
--libex |
--libe)
1735 ac_prev
=libexecdir
;;
1736 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1737 |
--libexe=* |
--libex=* |
--libe=*)
1738 libexecdir
=$ac_optarg ;;
1740 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1741 ac_prev
=localedir
;;
1742 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1743 localedir
=$ac_optarg ;;
1745 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1746 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1747 ac_prev
=localstatedir
;;
1748 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1749 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1750 localstatedir
=$ac_optarg ;;
1752 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1754 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1755 mandir
=$ac_optarg ;;
1757 -nfp |
--nfp |
--nf)
1758 # Obsolete; use --without-fp.
1761 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1762 |
--no-cr |
--no-c |
-n)
1765 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1766 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1769 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1770 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1771 |
--oldin |
--oldi |
--old |
--ol |
--o)
1772 ac_prev
=oldincludedir
;;
1773 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1774 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1775 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1776 oldincludedir
=$ac_optarg ;;
1778 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1780 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1781 prefix
=$ac_optarg ;;
1783 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1784 |
--program-pre |
--program-pr |
--program-p)
1785 ac_prev
=program_prefix
;;
1786 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1787 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1788 program_prefix
=$ac_optarg ;;
1790 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1791 |
--program-suf |
--program-su |
--program-s)
1792 ac_prev
=program_suffix
;;
1793 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1794 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1795 program_suffix
=$ac_optarg ;;
1797 -program-transform-name |
--program-transform-name \
1798 |
--program-transform-nam |
--program-transform-na \
1799 |
--program-transform-n |
--program-transform- \
1800 |
--program-transform |
--program-transfor \
1801 |
--program-transfo |
--program-transf \
1802 |
--program-trans |
--program-tran \
1803 |
--progr-tra |
--program-tr |
--program-t)
1804 ac_prev
=program_transform_name
;;
1805 -program-transform-name=* |
--program-transform-name=* \
1806 |
--program-transform-nam=* |
--program-transform-na=* \
1807 |
--program-transform-n=* |
--program-transform-=* \
1808 |
--program-transform=* |
--program-transfor=* \
1809 |
--program-transfo=* |
--program-transf=* \
1810 |
--program-trans=* |
--program-tran=* \
1811 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1812 program_transform_name
=$ac_optarg ;;
1814 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1816 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1817 pdfdir
=$ac_optarg ;;
1819 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1821 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1824 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1825 |
-silent |
--silent |
--silen |
--sile |
--sil)
1828 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
1829 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
1830 |
--run |
--ru |
--r)
1831 ac_prev
=runstatedir
;;
1832 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
1833 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
1834 |
--run=* |
--ru=* |
--r=*)
1835 runstatedir
=$ac_optarg ;;
1837 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1839 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1841 sbindir
=$ac_optarg ;;
1843 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1844 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1845 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1847 ac_prev
=sharedstatedir
;;
1848 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1849 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1850 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1852 sharedstatedir
=$ac_optarg ;;
1854 -site |
--site |
--sit)
1856 -site=* |
--site=* |
--sit=*)
1859 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1861 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1862 srcdir
=$ac_optarg ;;
1864 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1865 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1866 ac_prev
=sysconfdir
;;
1867 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1868 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1869 sysconfdir
=$ac_optarg ;;
1871 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1872 ac_prev
=target_alias
;;
1873 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1874 target_alias
=$ac_optarg ;;
1876 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1879 -version |
--version |
--versio |
--versi |
--vers |
-V)
1880 ac_init_version
=: ;;
1883 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1884 # Reject names that are not valid shell variable names.
1885 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1886 as_fn_error $?
"invalid package name: $ac_useropt"
1887 ac_useropt_orig
=$ac_useropt
1888 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1889 case $ac_user_opts in
1893 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1894 ac_unrecognized_sep
=', ';;
1896 eval with_
$ac_useropt=\
$ac_optarg ;;
1898 -without-* |
--without-*)
1899 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1900 # Reject names that are not valid shell variable names.
1901 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1902 as_fn_error $?
"invalid package name: $ac_useropt"
1903 ac_useropt_orig
=$ac_useropt
1904 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1905 case $ac_user_opts in
1909 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1910 ac_unrecognized_sep
=', ';;
1912 eval with_
$ac_useropt=no
;;
1915 # Obsolete; use --with-x.
1918 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1919 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1920 ac_prev
=x_includes
;;
1921 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1922 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1923 x_includes
=$ac_optarg ;;
1925 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1926 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1927 ac_prev
=x_libraries
;;
1928 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1929 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1930 x_libraries
=$ac_optarg ;;
1932 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1933 Try \`$0 --help' for more information"
1937 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1938 # Reject names that are not valid shell variable names.
1939 case $ac_envvar in #(
1940 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1941 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1943 eval $ac_envvar=\
$ac_optarg
1944 export $ac_envvar ;;
1947 # FIXME: should be removed in autoconf 3.0.
1948 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1949 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1950 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1951 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1957 if test -n "$ac_prev"; then
1958 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1959 as_fn_error $?
"missing argument to $ac_option"
1962 if test -n "$ac_unrecognized_opts"; then
1963 case $enable_option_checking in
1965 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1966 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1970 # Check all directory arguments for consistency.
1971 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1972 datadir sysconfdir sharedstatedir localstatedir includedir \
1973 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1974 libdir localedir mandir runstatedir
1976 eval ac_val
=\$
$ac_var
1977 # Remove trailing slashes.
1980 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1981 eval $ac_var=\
$ac_val;;
1983 # Be sure to have absolute directory names.
1985 [\\/$
]* | ?
:[\\/]* ) continue;;
1986 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1988 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1991 # There might be people who depend on the old broken behavior: `$host'
1992 # used to hold the argument of --host etc.
1993 # FIXME: To remove some day.
1996 target
=$target_alias
1998 # FIXME: To remove some day.
1999 if test "x$host_alias" != x
; then
2000 if test "x$build_alias" = x
; then
2001 cross_compiling
=maybe
2002 elif test "x$build_alias" != "x$host_alias"; then
2008 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2010 test "$silent" = yes && exec 6>/dev
/null
2013 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2014 ac_ls_di
=`ls -di .` &&
2015 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2016 as_fn_error $?
"working directory cannot be determined"
2017 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2018 as_fn_error $?
"pwd does not report name of working directory"
2021 # Find the source files, if location was not specified.
2022 if test -z "$srcdir"; then
2023 ac_srcdir_defaulted
=yes
2024 # Try the directory containing this script, then the parent directory.
2025 ac_confdir
=`$as_dirname -- "$as_myself" ||
2026 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2027 X"$as_myself" : 'X\(//\)[^/]' \| \
2028 X"$as_myself" : 'X\(//\)$' \| \
2029 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2030 $as_echo X"$as_myself" |
2031 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2049 if test ! -r "$srcdir/$ac_unique_file"; then
2053 ac_srcdir_defaulted
=no
2055 if test ! -r "$srcdir/$ac_unique_file"; then
2056 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2057 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2059 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2061 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2063 # When building in place, set srcdir=.
2064 if test "$ac_abs_confdir" = "$ac_pwd"; then
2067 # Remove unnecessary trailing slashes from srcdir.
2068 # Double slashes in file names in object file debugging info
2069 # mess up M-x gdb in Emacs.
2071 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2073 for ac_var
in $ac_precious_vars; do
2074 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2075 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2076 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2077 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2081 # Report the --help message.
2083 if test "$ac_init_help" = "long"; then
2084 # Omit some internal or obsolete options to make the list less imposing.
2085 # This message is too long to be a string in the A/UX 3.1 sh.
2087 \`configure' configures Wine 1.7.52 to adapt to many kinds of systems.
2089 Usage: $0 [OPTION]... [VAR=VALUE]...
2091 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2092 VAR=VALUE. See below for descriptions of some of the useful variables.
2094 Defaults for the options are specified in brackets.
2097 -h, --help display this help and exit
2098 --help=short display options specific to this package
2099 --help=recursive display the short help of all the included packages
2100 -V, --version display version information and exit
2101 -q, --quiet, --silent do not print \`checking ...' messages
2102 --cache-file=FILE cache test results in FILE [disabled]
2103 -C, --config-cache alias for \`--cache-file=config.cache'
2104 -n, --no-create do not create output files
2105 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2107 Installation directories:
2108 --prefix=PREFIX install architecture-independent files in PREFIX
2109 [$ac_default_prefix]
2110 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2113 By default, \`make install' will install all the files in
2114 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2115 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2116 for instance \`--prefix=\$HOME'.
2118 For better control, use the options below.
2120 Fine tuning of the installation directories:
2121 --bindir=DIR user executables [EPREFIX/bin]
2122 --sbindir=DIR system admin executables [EPREFIX/sbin]
2123 --libexecdir=DIR program executables [EPREFIX/libexec]
2124 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2125 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2126 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2127 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2128 --libdir=DIR object code libraries [EPREFIX/lib]
2129 --includedir=DIR C header files [PREFIX/include]
2130 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2131 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2132 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2133 --infodir=DIR info documentation [DATAROOTDIR/info]
2134 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2135 --mandir=DIR man documentation [DATAROOTDIR/man]
2136 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2137 --htmldir=DIR html documentation [DOCDIR]
2138 --dvidir=DIR dvi documentation [DOCDIR]
2139 --pdfdir=DIR pdf documentation [DOCDIR]
2140 --psdir=DIR ps documentation [DOCDIR]
2146 --x-includes=DIR X include files are
in DIR
2147 --x-libraries=DIR X library files are
in DIR
2150 --build=BUILD configure
for building on BUILD
[guessed
]
2151 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2155 if test -n "$ac_init_help"; then
2156 case $ac_init_help in
2157 short | recursive
) echo "Configuration of Wine 1.7.52:";;
2162 --disable-option-checking ignore unrecognized
--enable/--with options
2163 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2164 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2165 --disable-win16 do not include Win16 support
2166 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2168 --disable-tests do not build the regression tests
2169 --enable-maintainer-mode
2170 enable maintainer-specific build rules
2171 --disable-largefile omit support for large files
2174 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2175 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2176 --without-alsa do not use the Alsa sound support
2177 --without-capi do not use CAPI (ISDN support)
2178 --without-cms do not use CMS (color management support)
2179 --without-coreaudio do not use the CoreAudio sound support
2180 --without-cups do not use CUPS
2181 --without-curses do not use (n)curses
2182 --without-dbus do not use DBus (dynamic device support)
2183 --without-fontconfig do not use fontconfig
2184 --without-freetype do not use the FreeType library
2185 --without-gettext do not use gettext
2186 --with-gettextpo use the GetTextPO library to rebuild po files
2187 --without-gphoto do not use gphoto (Digital Camera support)
2188 --without-glu do not use the GLU library
2189 --without-gnutls do not use GnuTLS (schannel support)
2190 --without-gsm do not use libgsm (GSM 06.10 codec support)
2191 --without-gstreamer do not use GStreamer (codecs support)
2192 --without-hal do not use HAL (dynamic device support)
2193 --without-jpeg do not use JPEG
2194 --without-ldap do not use LDAP
2195 --without-mpg123 do not use the mpg123 library
2196 --without-netapi do not use the Samba NetAPI library
2197 --without-openal do not use OpenAL
2198 --without-opencl do not use OpenCL
2199 --without-opengl do not use OpenGL
2200 --without-osmesa do not use the OSMesa library
2201 --without-oss do not use the OSS sound support
2202 --without-pcap do not use the Packet Capture library
2203 --without-png do not use PNG
2204 --without-pthread do not use the pthread library
2205 --without-sane do not use SANE (scanner support)
2206 --without-tiff do not use TIFF
2207 --without-v4l do not use v4l1 (v4l support)
2208 --without-xcomposite do not use the Xcomposite extension
2209 --without-xcursor do not use the Xcursor extension
2210 --without-xinerama do not use Xinerama (multi-monitor support)
2211 --without-xinput do not use the Xinput extension
2212 --without-xinput2 do not use the Xinput 2 extension
2213 --without-xml do not use XML
2214 --without-xrandr do not use Xrandr (resolution changes)
2215 --without-xrender do not use the Xrender extension
2216 --without-xshape do not use the Xshape extension
2217 --without-xshm do not use XShm (shared memory extension)
2218 --without-xslt do not use XSLT
2219 --without-xxf86vm do not use XFree video mode extension
2220 --without-zlib do not use Zlib (data compression)
2221 --with-wine-tools=DIR use Wine tools from directory DIR
2222 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2223 --with-x use the X Window System
2225 Some influential environment variables:
2226 CC C compiler command
2227 CFLAGS C compiler flags
2228 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2229 nonstandard directory <lib dir>
2230 LIBS libraries to pass to the linker, e.g. -l<library>
2231 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2232 you have headers in a nonstandard directory <include dir>
2233 CXX C++ compiler command
2234 CXXFLAGS C++ compiler flags
2236 XMKMF Path to xmkmf, Makefile generator for X Window System
2237 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2238 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2239 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2240 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2241 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2242 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2243 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2244 HAL_LIBS Linker flags for hal, overriding pkg-config
2246 C compiler flags for gnutls, overriding pkg-config
2247 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2248 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2249 SANE_LIBS Linker flags for libsane, overriding pkg-config
2251 C compiler flags for libgphoto2, overriding pkg-config
2253 Linker flags for libgphoto2, overriding pkg-config
2255 C compiler flags for libgphoto2_port, overriding pkg-config
2257 Linker flags for libgphoto2_port, overriding pkg-config
2259 C compiler flags for lcms2, overriding pkg-config
2260 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2262 C compiler flags for freetype2, overriding pkg-config
2264 Linker flags for freetype2, overriding pkg-config
2266 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2268 Linker flags for gstreamer-app-0.10, overriding pkg-config
2270 C compiler flags for capi20, overriding pkg-config
2271 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2273 C compiler flags for fontconfig, overriding pkg-config
2275 Linker flags for fontconfig, overriding pkg-config
2276 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2277 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2278 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2279 PNG_LIBS Linker flags for libpng, overriding pkg-config
2280 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2281 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2283 C compiler flags for libmpg123, overriding pkg-config
2284 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2286 Use these variables to override the choices made by `configure' or to
help
2287 it to
find libraries and programs with nonstandard names
/locations.
2289 Report bugs to
<wine-devel@winehq.org
>.
2290 Wine home page
: <http
://www.winehq.org
>.
2295 if test "$ac_init_help" = "recursive"; then
2296 # If there are subdirs, report their specific --help.
2297 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2298 test -d "$ac_dir" ||
2299 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2304 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2306 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2307 # A ".." for each directory in $ac_dir_suffix.
2308 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2309 case $ac_top_builddir_sub in
2310 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2311 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2314 ac_abs_top_builddir
=$ac_pwd
2315 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2316 # for backward compatibility:
2317 ac_top_builddir
=$ac_top_build_prefix
2320 .
) # We are building in place.
2322 ac_top_srcdir
=$ac_top_builddir_sub
2323 ac_abs_top_srcdir
=$ac_pwd ;;
2324 [\\/]* | ?
:[\\/]* ) # Absolute name.
2325 ac_srcdir
=$srcdir$ac_dir_suffix;
2326 ac_top_srcdir
=$srcdir
2327 ac_abs_top_srcdir
=$srcdir ;;
2329 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2330 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2331 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2333 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2335 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2336 # Check for guested configure.
2337 if test -f "$ac_srcdir/configure.gnu"; then
2339 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2340 elif test -f "$ac_srcdir/configure"; then
2342 $SHELL "$ac_srcdir/configure" --help=recursive
2344 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2346 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2350 test -n "$ac_init_help" && exit $ac_status
2351 if $ac_init_version; then
2353 Wine configure
1.7.52
2354 generated by GNU Autoconf
2.69
2356 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2357 This configure
script is free software
; the Free Software Foundation
2358 gives unlimited permission to copy
, distribute and modify it.
2363 ## ------------------------ ##
2364 ## Autoconf initialization. ##
2365 ## ------------------------ ##
2367 # ac_fn_c_try_compile LINENO
2368 # --------------------------
2369 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2370 ac_fn_c_try_compile
()
2372 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2373 rm -f conftest.
$ac_objext
2374 if { { ac_try
="$ac_compile"
2376 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2377 *) ac_try_echo=$ac_try;;
2379 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2380 $as_echo "$ac_try_echo"; } >&5
2381 (eval "$ac_compile") 2>conftest.err
2383 if test -s conftest.err; then
2384 grep -v '^ *+' conftest.err >conftest.er1
2385 cat conftest.er1 >&5
2386 mv -f conftest.er1 conftest.err
2388 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2389 test $ac_status = 0; } && {
2390 test -z "$ac_c_werror_flag" ||
2391 test ! -s conftest.err
2392 } && test -s conftest.$ac_objext; then :
2395 $as_echo "$as_me: failed program was:" >&5
2396 sed 's/^/| /' conftest.$ac_ext >&5
2400 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2401 as_fn_set_status $ac_retval
2403 } # ac_fn_c_try_compile
2405 # ac_fn_cxx_try_compile LINENO
2406 # ----------------------------
2407 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2408 ac_fn_cxx_try_compile ()
2410 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2411 rm -f conftest.$ac_objext
2412 if { { ac_try="$ac_compile"
2414 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2415 *) ac_try_echo
=$ac_try;;
2417 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2418 $as_echo "$ac_try_echo"; } >&5
2419 (eval "$ac_compile") 2>conftest.err
2421 if test -s conftest.err
; then
2422 grep -v '^ *+' conftest.err
>conftest.er1
2423 cat conftest.er1
>&5
2424 mv -f conftest.er1 conftest.err
2426 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2427 test $ac_status = 0; } && {
2428 test -z "$ac_cxx_werror_flag" ||
2429 test ! -s conftest.err
2430 } && test -s conftest.
$ac_objext; then :
2433 $as_echo "$as_me: failed program was:" >&5
2434 sed 's/^/| /' conftest.
$ac_ext >&5
2438 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2439 as_fn_set_status
$ac_retval
2441 } # ac_fn_cxx_try_compile
2443 # ac_fn_c_try_link LINENO
2444 # -----------------------
2445 # Try to link conftest.$ac_ext, and return whether this succeeded.
2448 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2449 rm -f conftest.
$ac_objext conftest
$ac_exeext
2450 if { { ac_try
="$ac_link"
2452 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2453 *) ac_try_echo=$ac_try;;
2455 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2456 $as_echo "$ac_try_echo"; } >&5
2457 (eval "$ac_link") 2>conftest.err
2459 if test -s conftest.err; then
2460 grep -v '^ *+' conftest.err >conftest.er1
2461 cat conftest.er1 >&5
2462 mv -f conftest.er1 conftest.err
2464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2465 test $ac_status = 0; } && {
2466 test -z "$ac_c_werror_flag" ||
2467 test ! -s conftest.err
2468 } && test -s conftest$ac_exeext && {
2469 test "$cross_compiling" = yes ||
2470 test -x conftest$ac_exeext
2474 $as_echo "$as_me: failed program was:" >&5
2475 sed 's/^/| /' conftest.$ac_ext >&5
2479 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2480 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2481 # interfere with the next link command; also delete a directory that is
2482 # left behind by Apple's compiler. We do this before executing the actions.
2483 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2484 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2485 as_fn_set_status $ac_retval
2487 } # ac_fn_c_try_link
2489 # ac_fn_c_try_cpp LINENO
2490 # ----------------------
2491 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2494 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2495 if { { ac_try="$ac_cpp conftest.$ac_ext"
2497 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2498 *) ac_try_echo
=$ac_try;;
2500 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2501 $as_echo "$ac_try_echo"; } >&5
2502 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2504 if test -s conftest.err
; then
2505 grep -v '^ *+' conftest.err
>conftest.er1
2506 cat conftest.er1
>&5
2507 mv -f conftest.er1 conftest.err
2509 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2510 test $ac_status = 0; } > conftest.i
&& {
2511 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2512 test ! -s conftest.err
2516 $as_echo "$as_me: failed program was:" >&5
2517 sed 's/^/| /' conftest.
$ac_ext >&5
2521 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2522 as_fn_set_status
$ac_retval
2526 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2527 # -------------------------------------------------------
2528 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2529 # the include files in INCLUDES and setting the cache variable VAR
2531 ac_fn_c_check_header_mongrel
()
2533 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2534 if eval \
${$3+:} false
; then :
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2536 $as_echo_n "checking for $2... " >&6; }
2537 if eval \
${$3+:} false
; then :
2538 $as_echo_n "(cached) " >&6
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2542 $as_echo "$ac_res" >&6; }
2544 # Is the header compilable?
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2546 $as_echo_n "checking $2 usability... " >&6; }
2547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2548 /* end confdefs.h. */
2552 if ac_fn_c_try_compile
"$LINENO"; then :
2553 ac_header_compiler
=yes
2555 ac_header_compiler
=no
2557 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2559 $as_echo "$ac_header_compiler" >&6; }
2561 # Is the header present?
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2563 $as_echo_n "checking $2 presence... " >&6; }
2564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2565 /* end confdefs.h. */
2568 if ac_fn_c_try_cpp
"$LINENO"; then :
2569 ac_header_preproc
=yes
2571 ac_header_preproc
=no
2573 rm -f conftest.err conftest.i conftest.
$ac_ext
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2575 $as_echo "$ac_header_preproc" >&6; }
2577 # So? What about this header?
2578 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2581 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2583 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2587 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2589 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2591 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2593 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2595 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2596 ( $as_echo "## ------------------------------------ ##
2597 ## Report this to wine-devel@winehq.org ##
2598 ## ------------------------------------ ##"
2599 ) |
sed "s/^/$as_me: WARNING: /" >&2
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2603 $as_echo_n "checking for $2... " >&6; }
2604 if eval \
${$3+:} false
; then :
2605 $as_echo_n "(cached) " >&6
2607 eval "$3=\$ac_header_compiler"
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2611 $as_echo "$ac_res" >&6; }
2613 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2615 } # ac_fn_c_check_header_mongrel
2617 # ac_fn_c_try_run LINENO
2618 # ----------------------
2619 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2620 # that executables *can* be run.
2623 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2624 if { { ac_try
="$ac_link"
2626 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2627 *) ac_try_echo=$ac_try;;
2629 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2630 $as_echo "$ac_try_echo"; } >&5
2631 (eval "$ac_link") 2>&5
2633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2634 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2635 { { case "(($ac_try" in
2636 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2637 *) ac_try_echo
=$ac_try;;
2639 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2640 $as_echo "$ac_try_echo"; } >&5
2641 (eval "$ac_try") 2>&5
2643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2644 test $ac_status = 0; }; }; then :
2647 $as_echo "$as_me: program exited with status $ac_status" >&5
2648 $as_echo "$as_me: failed program was:" >&5
2649 sed 's/^/| /' conftest.
$ac_ext >&5
2651 ac_retval
=$ac_status
2653 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2654 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2655 as_fn_set_status
$ac_retval
2659 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2660 # -------------------------------------------------------
2661 # Tests whether HEADER exists and can be compiled using the include files in
2662 # INCLUDES, setting the cache variable VAR accordingly.
2663 ac_fn_c_check_header_compile
()
2665 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2667 $as_echo_n "checking for $2... " >&6; }
2668 if eval \
${$3+:} false
; then :
2669 $as_echo_n "(cached) " >&6
2671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2672 /* end confdefs.h. */
2676 if ac_fn_c_try_compile
"$LINENO"; then :
2681 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2685 $as_echo "$ac_res" >&6; }
2686 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2688 } # ac_fn_c_check_header_compile
2690 # ac_fn_c_check_func LINENO FUNC VAR
2691 # ----------------------------------
2692 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2693 ac_fn_c_check_func
()
2695 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2697 $as_echo_n "checking for $2... " >&6; }
2698 if eval \
${$3+:} false
; then :
2699 $as_echo_n "(cached) " >&6
2701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2702 /* end confdefs.h. */
2703 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2704 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2705 #define $2 innocuous_$2
2707 /* System header to define __stub macros and hopefully few prototypes,
2708 which can conflict with char $2 (); below.
2709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2710 <limits.h> exists even on freestanding compilers. */
2713 # include <limits.h>
2715 # include <assert.h>
2720 /* Override any GCC internal prototype to avoid an error.
2721 Use char because int might match the return type of a GCC
2722 builtin and then its argument prototype would still apply. */
2727 /* The GNU C library defines this for functions which it implements
2728 to always fail with ENOSYS. Some functions are actually named
2729 something starting with __ and the normal name is an alias. */
2730 #if defined __stub_$2 || defined __stub___$2
2742 if ac_fn_c_try_link
"$LINENO"; then :
2747 rm -f core conftest.err conftest.
$ac_objext \
2748 conftest
$ac_exeext conftest.
$ac_ext
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2752 $as_echo "$ac_res" >&6; }
2753 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2755 } # ac_fn_c_check_func
2757 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2758 # ----------------------------------------------------
2759 # Tries to find if the field MEMBER exists in type AGGR, after including
2760 # INCLUDES, setting cache variable VAR accordingly.
2761 ac_fn_c_check_member
()
2763 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2765 $as_echo_n "checking for $2.$3... " >&6; }
2766 if eval \
${$4+:} false
; then :
2767 $as_echo_n "(cached) " >&6
2769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2770 /* end confdefs.h. */
2782 if ac_fn_c_try_compile
"$LINENO"; then :
2785 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2786 /* end confdefs.h. */
2792 if (sizeof ac_aggr.$3)
2798 if ac_fn_c_try_compile
"$LINENO"; then :
2803 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2805 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2809 $as_echo "$ac_res" >&6; }
2810 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2812 } # ac_fn_c_check_member
2814 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2815 # -------------------------------------------
2816 # Tests whether TYPE exists after having included INCLUDES, setting cache
2817 # variable VAR accordingly.
2818 ac_fn_c_check_type
()
2820 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2822 $as_echo_n "checking for $2... " >&6; }
2823 if eval \
${$3+:} false
; then :
2824 $as_echo_n "(cached) " >&6
2827 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2828 /* end confdefs.h. */
2839 if ac_fn_c_try_compile
"$LINENO"; then :
2840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2841 /* end confdefs.h. */
2852 if ac_fn_c_try_compile
"$LINENO"; then :
2857 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2859 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2863 $as_echo "$ac_res" >&6; }
2864 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2866 } # ac_fn_c_check_type
2867 cat >config.log
<<_ACEOF
2868 This file contains any messages produced by compilers while
2869 running configure, to aid debugging if configure makes a mistake.
2871 It was created by Wine $as_me 1.7.52, which was
2872 generated by GNU Autoconf 2.69. Invocation command line was
2884 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2885 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2886 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2887 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2888 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2890 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2891 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2893 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2894 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2895 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2896 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2897 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2898 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2899 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2903 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2907 test -z "$as_dir" && as_dir
=.
2908 $as_echo "PATH: $as_dir"
2924 # Keep a trace of the command line.
2925 # Strip out --no-create and --no-recursion so they do not pile up.
2926 # Strip out --silent because we don't want to record it for future runs.
2927 # Also quote any args containing shell meta-characters.
2928 # Make two passes to allow for proper duplicate-argument suppression.
2932 ac_must_keep_next
=false
2938 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2939 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2940 |
-silent |
--silent |
--silen |
--sile |
--sil)
2943 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2946 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2948 as_fn_append ac_configure_args1
" '$ac_arg'"
2949 if test $ac_must_keep_next = true
; then
2950 ac_must_keep_next
=false
# Got value, back to normal.
2953 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2954 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2955 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2956 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2957 case "$ac_configure_args0 " in
2958 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2961 -* ) ac_must_keep_next
=true
;;
2964 as_fn_append ac_configure_args
" '$ac_arg'"
2969 { ac_configure_args0
=; unset ac_configure_args0
;}
2970 { ac_configure_args1
=; unset ac_configure_args1
;}
2972 # When interrupted or exit'd, cleanup temporary files, and complete
2973 # config.log. We remove comments because anyway the quotes in there
2974 # would cause problems or look ugly.
2975 # WARNING: Use '\'' to represent an apostrophe within the trap.
2976 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2977 trap 'exit_status=$?
2978 # Save into config.log some information that might help in debugging.
2982 $as_echo "## ---------------- ##
2983 ## Cache variables. ##
2984 ## ---------------- ##"
2986 # The following way of writing the cache mishandles newlines in values,
2988 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2989 eval ac_val=\$$ac_var
2993 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2994 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2997 _ | IFS | as_nl) ;; #(
2998 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2999 *) { eval $ac_var=; unset $ac_var;} ;;
3004 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3005 *${as_nl}ac_space=\ *)
3007 "s/'\''/'\''\\\\'\'''\''/g;
3008 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3011 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3018 $as_echo "## ----------------- ##
3019 ## Output variables. ##
3020 ## ----------------- ##"
3022 for ac_var in $ac_subst_vars
3024 eval ac_val=\$$ac_var
3026 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3028 $as_echo "$ac_var='\''$ac_val'\''"
3032 if test -n "$ac_subst_files"; then
3033 $as_echo "## ------------------- ##
3034 ## File substitutions. ##
3035 ## ------------------- ##"
3037 for ac_var
in $ac_subst_files
3039 eval ac_val
=\$
$ac_var
3041 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3043 $as_echo "$ac_var='\''$ac_val'\''"
3048 if test -s confdefs.h; then
3049 $as_echo "## ----------- ##
3056 test "$ac_signal" != 0 &&
3057 $as_echo "$as_me: caught signal $ac_signal"
3058 $as_echo "$as_me: exit $exit_status"
3060 rm -f core *.core core.conftest.* &&
3061 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3064 for ac_signal
in 1 2 13 15; do
3065 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3069 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3070 rm -f -r conftest
* confdefs.h
3072 $as_echo "/* confdefs.h */" > confdefs.h
3074 # Predefined preprocessor variables.
3076 cat >>confdefs.h
<<_ACEOF
3077 #define PACKAGE_NAME "$PACKAGE_NAME"
3080 cat >>confdefs.h
<<_ACEOF
3081 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3084 cat >>confdefs.h
<<_ACEOF
3085 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3088 cat >>confdefs.h
<<_ACEOF
3089 #define PACKAGE_STRING "$PACKAGE_STRING"
3092 cat >>confdefs.h
<<_ACEOF
3093 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3096 cat >>confdefs.h
<<_ACEOF
3097 #define PACKAGE_URL "$PACKAGE_URL"
3101 # Let the site file select an alternate cache file if it wants to.
3102 # Prefer an explicitly selected file to automatically selected ones.
3105 if test -n "$CONFIG_SITE"; then
3106 # We do not want a PATH search for config.site.
3107 case $CONFIG_SITE in #((
3108 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3109 */*) ac_site_file1
=$CONFIG_SITE;;
3110 *) ac_site_file1
=.
/$CONFIG_SITE;;
3112 elif test "x$prefix" != xNONE
; then
3113 ac_site_file1
=$prefix/share
/config.site
3114 ac_site_file2
=$prefix/etc
/config.site
3116 ac_site_file1
=$ac_default_prefix/share
/config.site
3117 ac_site_file2
=$ac_default_prefix/etc
/config.site
3119 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3121 test "x$ac_site_file" = xNONE
&& continue
3122 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3124 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3125 sed 's/^/| /' "$ac_site_file" >&5
3127 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3128 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3129 as_fn_error $?
"failed to load site script $ac_site_file
3130 See \`config.log' for more details" "$LINENO" 5; }
3134 if test -r "$cache_file"; then
3135 # Some versions of bash will fail to source /dev/null (special files
3136 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3137 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3139 $as_echo "$as_me: loading cache $cache_file" >&6;}
3141 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3142 *) .
"./$cache_file";;
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3147 $as_echo "$as_me: creating cache $cache_file" >&6;}
3151 # Check that the precious variables saved in the cache have kept the same
3153 ac_cache_corrupted
=false
3154 for ac_var
in $ac_precious_vars; do
3155 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3156 eval ac_new_set
=\
$ac_env_${ac_var}_set
3157 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3158 eval ac_new_val
=\
$ac_env_${ac_var}_value
3159 case $ac_old_set,$ac_new_set in
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3162 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3163 ac_cache_corrupted
=: ;;
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3166 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3167 ac_cache_corrupted
=: ;;
3170 if test "x$ac_old_val" != "x$ac_new_val"; then
3171 # differences in whitespace do not lead to failure.
3172 ac_old_val_w
=`echo x $ac_old_val`
3173 ac_new_val_w
=`echo x $ac_new_val`
3174 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3176 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3177 ac_cache_corrupted
=:
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3180 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3181 eval $ac_var=\
$ac_old_val
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3184 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3186 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3189 # Pass precious variables to config.status.
3190 if test "$ac_new_set" = set; then
3192 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3193 *) ac_arg
=$ac_var=$ac_new_val ;;
3195 case " $ac_configure_args " in
3196 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3197 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3201 if $ac_cache_corrupted; then
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3203 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3205 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3206 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3208 ## -------------------- ##
3209 ## Main body of script. ##
3210 ## -------------------- ##
3213 ac_cpp
='$CPP $CPPFLAGS'
3214 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3215 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3216 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3220 ac_config_headers
="$ac_config_headers include/config.h"
3223 for ac_dir
in tools
"$srcdir"/tools
; do
3224 if test -f "$ac_dir/install-sh"; then
3226 ac_install_sh
="$ac_aux_dir/install-sh -c"
3228 elif test -f "$ac_dir/install.sh"; then
3230 ac_install_sh
="$ac_aux_dir/install.sh -c"
3232 elif test -f "$ac_dir/shtool"; then
3234 ac_install_sh
="$ac_aux_dir/shtool install -c"
3238 if test -z "$ac_aux_dir"; then
3239 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3242 # These three variables are undocumented and unsupported,
3243 # and are intended to be withdrawn in a future Autoconf release.
3244 # They can cause serious problems if a builder's source tree is in a directory
3245 # whose full name contains unusual characters.
3246 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3247 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3248 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3252 libwine_version
="1.0"
3256 # Check whether --enable-win16 was given.
3257 if test "${enable_win16+set}" = set; then :
3258 enableval
=$enable_win16;
3261 # Check whether --enable-win64 was given.
3262 if test "${enable_win64+set}" = set; then :
3263 enableval
=$enable_win64;
3266 # Check whether --enable-tests was given.
3267 if test "${enable_tests+set}" = set; then :
3268 enableval
=$enable_tests;
3271 # Check whether --enable-maintainer-mode was given.
3272 if test "${enable_maintainer_mode+set}" = set; then :
3273 enableval
=$enable_maintainer_mode;
3278 # Check whether --with-alsa was given.
3279 if test "${with_alsa+set}" = set; then :
3280 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3284 # Check whether --with-capi was given.
3285 if test "${with_capi+set}" = set; then :
3290 # Check whether --with-cms was given.
3291 if test "${with_cms+set}" = set; then :
3296 # Check whether --with-coreaudio was given.
3297 if test "${with_coreaudio+set}" = set; then :
3298 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3302 # Check whether --with-cups was given.
3303 if test "${with_cups+set}" = set; then :
3308 # Check whether --with-curses was given.
3309 if test "${with_curses+set}" = set; then :
3310 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3314 # Check whether --with-dbus was given.
3315 if test "${with_dbus+set}" = set; then :
3320 # Check whether --with-fontconfig was given.
3321 if test "${with_fontconfig+set}" = set; then :
3322 withval
=$with_fontconfig;
3326 # Check whether --with-freetype was given.
3327 if test "${with_freetype+set}" = set; then :
3328 withval
=$with_freetype;
3332 # Check whether --with-gettext was given.
3333 if test "${with_gettext+set}" = set; then :
3334 withval
=$with_gettext;
3338 # Check whether --with-gettextpo was given.
3339 if test "${with_gettextpo+set}" = set; then :
3340 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3344 # Check whether --with-gphoto was given.
3345 if test "${with_gphoto+set}" = set; then :
3346 withval
=$with_gphoto;
3350 # Check whether --with-glu was given.
3351 if test "${with_glu+set}" = set; then :
3356 # Check whether --with-gnutls was given.
3357 if test "${with_gnutls+set}" = set; then :
3358 withval
=$with_gnutls;
3362 # Check whether --with-gsm was given.
3363 if test "${with_gsm+set}" = set; then :
3364 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3368 # Check whether --with-gstreamer was given.
3369 if test "${with_gstreamer+set}" = set; then :
3370 withval
=$with_gstreamer;
3374 # Check whether --with-hal was given.
3375 if test "${with_hal+set}" = set; then :
3380 # Check whether --with-jpeg was given.
3381 if test "${with_jpeg+set}" = set; then :
3386 # Check whether --with-ldap was given.
3387 if test "${with_ldap+set}" = set; then :
3388 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3392 # Check whether --with-mpg123 was given.
3393 if test "${with_mpg123+set}" = set; then :
3394 withval
=$with_mpg123;
3398 # Check whether --with-netapi was given.
3399 if test "${with_netapi+set}" = set; then :
3400 withval
=$with_netapi;
3404 # Check whether --with-openal was given.
3405 if test "${with_openal+set}" = set; then :
3406 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3410 # Check whether --with-opencl was given.
3411 if test "${with_opencl+set}" = set; then :
3412 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3416 # Check whether --with-opengl was given.
3417 if test "${with_opengl+set}" = set; then :
3418 withval
=$with_opengl;
3422 # Check whether --with-osmesa was given.
3423 if test "${with_osmesa+set}" = set; then :
3424 withval
=$with_osmesa;
3428 # Check whether --with-oss was given.
3429 if test "${with_oss+set}" = set; then :
3434 # Check whether --with-pcap was given.
3435 if test "${with_pcap+set}" = set; then :
3436 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3440 # Check whether --with-png was given.
3441 if test "${with_png+set}" = set; then :
3446 # Check whether --with-pthread was given.
3447 if test "${with_pthread+set}" = set; then :
3448 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3452 # Check whether --with-sane was given.
3453 if test "${with_sane+set}" = set; then :
3458 # Check whether --with-tiff was given.
3459 if test "${with_tiff+set}" = set; then :
3464 # Check whether --with-v4l was given.
3465 if test "${with_v4l+set}" = set; then :
3470 # Check whether --with-xcomposite was given.
3471 if test "${with_xcomposite+set}" = set; then :
3472 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3476 # Check whether --with-xcursor was given.
3477 if test "${with_xcursor+set}" = set; then :
3478 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3482 # Check whether --with-xinerama was given.
3483 if test "${with_xinerama+set}" = set; then :
3484 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3488 # Check whether --with-xinput was given.
3489 if test "${with_xinput+set}" = set; then :
3490 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3494 # Check whether --with-xinput2 was given.
3495 if test "${with_xinput2+set}" = set; then :
3496 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3500 # Check whether --with-xml was given.
3501 if test "${with_xml+set}" = set; then :
3506 # Check whether --with-xrandr was given.
3507 if test "${with_xrandr+set}" = set; then :
3508 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3512 # Check whether --with-xrender was given.
3513 if test "${with_xrender+set}" = set; then :
3514 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3518 # Check whether --with-xshape was given.
3519 if test "${with_xshape+set}" = set; then :
3520 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3524 # Check whether --with-xshm was given.
3525 if test "${with_xshm+set}" = set; then :
3526 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3530 # Check whether --with-xslt was given.
3531 if test "${with_xslt+set}" = set; then :
3536 # Check whether --with-xxf86vm was given.
3537 if test "${with_xxf86vm+set}" = set; then :
3538 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
3542 # Check whether --with-zlib was given.
3543 if test "${with_zlib+set}" = set; then :
3544 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3549 # Check whether --with-wine-tools was given.
3550 if test "${with_wine_tools+set}" = set; then :
3551 withval
=$with_wine_tools;
3555 # Check whether --with-wine64 was given.
3556 if test "${with_wine64+set}" = set; then :
3557 withval
=$with_wine64;
3561 # Make sure we can run config.sub.
3562 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3563 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3566 $as_echo_n "checking build system type... " >&6; }
3567 if ${ac_cv_build+:} false
; then :
3568 $as_echo_n "(cached) " >&6
3570 ac_build_alias
=$build_alias
3571 test "x$ac_build_alias" = x
&&
3572 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3573 test "x$ac_build_alias" = x
&&
3574 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3575 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3576 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3580 $as_echo "$ac_cv_build" >&6; }
3581 case $ac_cv_build in
3583 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3586 ac_save_IFS
=$IFS; IFS
='-'
3592 # Remember, the first character of IFS is used to create $*,
3593 # except with old shells:
3596 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3600 $as_echo_n "checking host system type... " >&6; }
3601 if ${ac_cv_host+:} false
; then :
3602 $as_echo_n "(cached) " >&6
3604 if test "x$host_alias" = x
; then
3605 ac_cv_host
=$ac_cv_build
3607 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3608 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3613 $as_echo "$ac_cv_host" >&6; }
3616 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3619 ac_save_IFS
=$IFS; IFS
='-'
3625 # Remember, the first character of IFS is used to create $*,
3626 # except with old shells:
3629 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3635 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3636 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3637 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3643 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3645 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3646 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3647 $as_echo_n "(cached) " >&6
3649 cat >conftest.
make <<\_ACEOF
3652 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3654 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3655 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3657 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3659 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3663 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3665 $as_echo "yes" >&6; }
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3669 $as_echo "no" >&6; }
3670 SET_MAKE
="MAKE=${MAKE-make}"
3674 ac_cpp
='$CPP $CPPFLAGS'
3675 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3676 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3677 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3678 if test -n "$ac_tool_prefix"; then
3679 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3680 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3682 $as_echo_n "checking for $ac_word... " >&6; }
3683 if ${ac_cv_prog_CC+:} false
; then :
3684 $as_echo_n "(cached) " >&6
3686 if test -n "$CC"; then
3687 ac_cv_prog_CC
="$CC" # Let the user override the test.
3689 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3693 test -z "$as_dir" && as_dir
=.
3694 for ac_exec_ext
in '' $ac_executable_extensions; do
3695 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3696 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3707 if test -n "$CC"; then
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3709 $as_echo "$CC" >&6; }
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3712 $as_echo "no" >&6; }
3717 if test -z "$ac_cv_prog_CC"; then
3719 # Extract the first word of "gcc", so it can be a program name with args.
3720 set dummy gcc
; ac_word
=$2
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3722 $as_echo_n "checking for $ac_word... " >&6; }
3723 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3724 $as_echo_n "(cached) " >&6
3726 if test -n "$ac_ct_CC"; then
3727 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3729 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3733 test -z "$as_dir" && as_dir
=.
3734 for ac_exec_ext
in '' $ac_executable_extensions; do
3735 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3736 ac_cv_prog_ac_ct_CC
="gcc"
3737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3746 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3747 if test -n "$ac_ct_CC"; then
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3749 $as_echo "$ac_ct_CC" >&6; }
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3752 $as_echo "no" >&6; }
3755 if test "x$ac_ct_CC" = x
; then
3758 case $cross_compiling:$ac_tool_warned in
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3761 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3762 ac_tool_warned
=yes ;;
3770 if test -z "$CC"; then
3771 if test -n "$ac_tool_prefix"; then
3772 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3773 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3775 $as_echo_n "checking for $ac_word... " >&6; }
3776 if ${ac_cv_prog_CC+:} false
; then :
3777 $as_echo_n "(cached) " >&6
3779 if test -n "$CC"; then
3780 ac_cv_prog_CC
="$CC" # Let the user override the test.
3782 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3786 test -z "$as_dir" && as_dir
=.
3787 for ac_exec_ext
in '' $ac_executable_extensions; do
3788 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3789 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3800 if test -n "$CC"; then
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3802 $as_echo "$CC" >&6; }
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3805 $as_echo "no" >&6; }
3811 if test -z "$CC"; then
3812 # Extract the first word of "cc", so it can be a program name with args.
3813 set dummy cc
; ac_word
=$2
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3815 $as_echo_n "checking for $ac_word... " >&6; }
3816 if ${ac_cv_prog_CC+:} false
; then :
3817 $as_echo_n "(cached) " >&6
3819 if test -n "$CC"; then
3820 ac_cv_prog_CC
="$CC" # Let the user override the test.
3823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3827 test -z "$as_dir" && as_dir
=.
3828 for ac_exec_ext
in '' $ac_executable_extensions; do
3829 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3830 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3831 ac_prog_rejected
=yes
3835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3842 if test $ac_prog_rejected = yes; then
3843 # We found a bogon in the path, so make sure we never use it.
3844 set dummy
$ac_cv_prog_CC
3846 if test $# != 0; then
3847 # We chose a different compiler from the bogus one.
3848 # However, it has the same basename, so the bogon will be chosen
3849 # first if we set CC to just the basename; use the full file name.
3851 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3857 if test -n "$CC"; then
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3859 $as_echo "$CC" >&6; }
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3862 $as_echo "no" >&6; }
3867 if test -z "$CC"; then
3868 if test -n "$ac_tool_prefix"; then
3869 for ac_prog
in cl.exe
3871 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3872 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3874 $as_echo_n "checking for $ac_word... " >&6; }
3875 if ${ac_cv_prog_CC+:} false
; then :
3876 $as_echo_n "(cached) " >&6
3878 if test -n "$CC"; then
3879 ac_cv_prog_CC
="$CC" # Let the user override the test.
3881 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3885 test -z "$as_dir" && as_dir
=.
3886 for ac_exec_ext
in '' $ac_executable_extensions; do
3887 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3888 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3899 if test -n "$CC"; then
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3901 $as_echo "$CC" >&6; }
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3904 $as_echo "no" >&6; }
3908 test -n "$CC" && break
3911 if test -z "$CC"; then
3913 for ac_prog
in cl.exe
3915 # Extract the first word of "$ac_prog", so it can be a program name with args.
3916 set dummy
$ac_prog; ac_word
=$2
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3918 $as_echo_n "checking for $ac_word... " >&6; }
3919 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3920 $as_echo_n "(cached) " >&6
3922 if test -n "$ac_ct_CC"; then
3923 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3929 test -z "$as_dir" && as_dir
=.
3930 for ac_exec_ext
in '' $ac_executable_extensions; do
3931 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3932 ac_cv_prog_ac_ct_CC
="$ac_prog"
3933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3942 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3943 if test -n "$ac_ct_CC"; then
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3945 $as_echo "$ac_ct_CC" >&6; }
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3948 $as_echo "no" >&6; }
3952 test -n "$ac_ct_CC" && break
3955 if test "x$ac_ct_CC" = x
; then
3958 case $cross_compiling:$ac_tool_warned in
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3961 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3962 ac_tool_warned
=yes ;;
3971 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3972 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3973 as_fn_error $?
"no acceptable C compiler found in \$PATH
3974 See \`config.log' for more details" "$LINENO" 5; }
3976 # Provide some information about the compiler.
3977 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3980 for ac_option
in --version -v -V -qversion; do
3981 { { ac_try
="$ac_compiler $ac_option >&5"
3983 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3984 *) ac_try_echo=$ac_try;;
3986 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3987 $as_echo "$ac_try_echo"; } >&5
3988 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3990 if test -s conftest.err; then
3992 ... rest of stderr output deleted ...
3993 10q' conftest.err >conftest.er1
3994 cat conftest.er1 >&5
3996 rm -f conftest.er1 conftest.err
3997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3998 test $ac_status = 0; }
4001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4002 /* end confdefs.h. */
4012 ac_clean_files_save=$ac_clean_files
4013 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4014 # Try to create an executable without -o first, disregard a.out.
4015 # It will help us diagnose broken compilers, and finding out an intuition
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4018 $as_echo_n "checking whether the C compiler works... " >&6; }
4019 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4021 # The possible output files:
4022 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4025 for ac_file in $ac_files
4028 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4029 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4034 if { { ac_try="$ac_link_default"
4036 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4037 *) ac_try_echo
=$ac_try;;
4039 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4040 $as_echo "$ac_try_echo"; } >&5
4041 (eval "$ac_link_default") 2>&5
4043 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4044 test $ac_status = 0; }; then :
4045 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4046 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4047 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4048 # so that the user can short-circuit this test for compilers unknown to
4050 for ac_file
in $ac_files ''
4052 test -f "$ac_file" ||
continue
4054 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4057 # We found the default executable, but exeext='' is most
4061 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4063 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4065 # We set ac_cv_exeext here because the later test for it is not
4066 # safe: cross compilers may not add the suffix if given an `-o'
4067 # argument, so we may need to know it at that point already.
4068 # Even if this section looks crufty: it has the advantage of
4075 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4080 if test -z "$ac_file"; then :
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4082 $as_echo "no" >&6; }
4083 $as_echo "$as_me: failed program was:" >&5
4084 sed 's/^/| /' conftest.
$ac_ext >&5
4086 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4087 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4088 as_fn_error
77 "C compiler cannot create executables
4089 See \`config.log' for more details" "$LINENO" 5; }
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4092 $as_echo "yes" >&6; }
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4095 $as_echo_n "checking for C compiler default output file name... " >&6; }
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4097 $as_echo "$ac_file" >&6; }
4098 ac_exeext
=$ac_cv_exeext
4100 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4101 ac_clean_files
=$ac_clean_files_save
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4103 $as_echo_n "checking for suffix of executables... " >&6; }
4104 if { { ac_try
="$ac_link"
4106 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4107 *) ac_try_echo=$ac_try;;
4109 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4110 $as_echo "$ac_try_echo"; } >&5
4111 (eval "$ac_link") 2>&5
4113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4114 test $ac_status = 0; }; then :
4115 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4116 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4117 # work properly (i.e., refer to `conftest.exe'), while it won't with
4119 for ac_file
in conftest.exe conftest conftest.
*; do
4120 test -f "$ac_file" ||
continue
4122 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4123 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4129 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4130 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4131 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4132 See \`config.log' for more details" "$LINENO" 5; }
4134 rm -f conftest conftest
$ac_cv_exeext
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4136 $as_echo "$ac_cv_exeext" >&6; }
4138 rm -f conftest.
$ac_ext
4139 EXEEXT
=$ac_cv_exeext
4141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4142 /* end confdefs.h. */
4147 FILE *f = fopen ("conftest.out", "w");
4148 return ferror (f) || fclose (f) != 0;
4154 ac_clean_files
="$ac_clean_files conftest.out"
4155 # Check that the compiler produces executables we can run. If not, either
4156 # the compiler is broken, or we cross compile.
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4158 $as_echo_n "checking whether we are cross compiling... " >&6; }
4159 if test "$cross_compiling" != yes; then
4160 { { ac_try
="$ac_link"
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_link") 2>&5
4169 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4170 test $ac_status = 0; }
4171 if { ac_try='./conftest$ac_cv_exeext'
4172 { { case "(($ac_try" in
4173 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4174 *) ac_try_echo
=$ac_try;;
4176 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4177 $as_echo "$ac_try_echo"; } >&5
4178 (eval "$ac_try") 2>&5
4180 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4181 test $ac_status = 0; }; }; then
4184 if test "$cross_compiling" = maybe
; then
4187 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4188 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4189 as_fn_error $?
"cannot run C compiled programs.
4190 If you meant to cross compile, use \`--host'.
4191 See \`config.log' for more details" "$LINENO" 5; }
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4196 $as_echo "$cross_compiling" >&6; }
4198 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4199 ac_clean_files
=$ac_clean_files_save
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4201 $as_echo_n "checking for suffix of object files... " >&6; }
4202 if ${ac_cv_objext+:} false
; then :
4203 $as_echo_n "(cached) " >&6
4205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4206 /* end confdefs.h. */
4216 rm -f conftest.o conftest.obj
4217 if { { ac_try
="$ac_compile"
4219 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4220 *) ac_try_echo=$ac_try;;
4222 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4223 $as_echo "$ac_try_echo"; } >&5
4224 (eval "$ac_compile") 2>&5
4226 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4227 test $ac_status = 0; }; then :
4228 for ac_file in conftest.o conftest.obj conftest.*; do
4229 test -f "$ac_file" || continue;
4231 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4232 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4237 $as_echo "$as_me: failed program was:" >&5
4238 sed 's/^/| /' conftest.$ac_ext >&5
4240 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4241 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4242 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4243 See \
`config.log' for more details" "$LINENO" 5; }
4245 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4248 $as_echo "$ac_cv_objext" >&6; }
4249 OBJEXT=$ac_cv_objext
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4252 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4253 if ${ac_cv_c_compiler_gnu+:} false; then :
4254 $as_echo_n "(cached) " >&6
4256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4257 /* end confdefs.h. */
4270 if ac_fn_c_try_compile "$LINENO"; then :
4275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4276 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4280 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4281 if test $ac_compiler_gnu = yes; then
4286 ac_test_CFLAGS=${CFLAGS+set}
4287 ac_save_CFLAGS=$CFLAGS
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4289 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4290 if ${ac_cv_prog_cc_g+:} false; then :
4291 $as_echo_n "(cached) " >&6
4293 ac_save_c_werror_flag=$ac_c_werror_flag
4294 ac_c_werror_flag=yes
4297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4298 /* end confdefs.h. */
4308 if ac_fn_c_try_compile "$LINENO"; then :
4312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4313 /* end confdefs.h. */
4323 if ac_fn_c_try_compile "$LINENO"; then :
4326 ac_c_werror_flag=$ac_save_c_werror_flag
4328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4329 /* end confdefs.h. */
4339 if ac_fn_c_try_compile "$LINENO"; then :
4342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4347 ac_c_werror_flag=$ac_save_c_werror_flag
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4350 $as_echo "$ac_cv_prog_cc_g" >&6; }
4351 if test "$ac_test_CFLAGS" = set; then
4352 CFLAGS=$ac_save_CFLAGS
4353 elif test $ac_cv_prog_cc_g = yes; then
4354 if test "$GCC" = yes; then
4360 if test "$GCC" = yes; then
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4367 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4368 if ${ac_cv_prog_cc_c89+:} false; then :
4369 $as_echo_n "(cached) " >&6
4371 ac_cv_prog_cc_c89=no
4373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4374 /* end confdefs.h. */
4378 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4379 struct buf { int x; };
4380 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4381 static char *e (p, i)
4387 static char *f (char * (*g) (char **, int), char **p, ...)
4392 s = g (p, va_arg (v,int));
4397 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4398 function prototypes and stuff, but not '\xHH' hex character constants.
4399 These don't provoke an error unfortunately, instead are silently treated
4400 as 'x'. The following induces an error, until -std is added to get
4401 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4402 array size at least. It's necessary to write '\x00'==0 to get something
4403 that's true only with -std. */
4404 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4406 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4407 inside strings and character constants. */
4409 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4411 int test (int i, double x);
4412 struct s1 {int (*f) (int a);};
4413 struct s2 {int (*f) (double a);};
4414 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4420 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4425 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4426 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4428 CC="$ac_save_CC $ac_arg"
4429 if ac_fn_c_try_compile "$LINENO"; then :
4430 ac_cv_prog_cc_c89=$ac_arg
4432 rm -f core conftest.err conftest.$ac_objext
4433 test "x$ac_cv_prog_cc_c89" != "xno" && break
4435 rm -f conftest.$ac_ext
4440 case "x$ac_cv_prog_cc_c89" in
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4443 $as_echo "none needed" >&6; } ;;
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4446 $as_echo "unsupported" >&6; } ;;
4448 CC="$CC $ac_cv_prog_cc_c89"
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4450 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4452 if test "x$ac_cv_prog_cc_c89" != xno; then :
4457 ac_cpp='$CPP $CPPFLAGS'
4458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4463 ac_cpp='$CXXCPP $CPPFLAGS'
4464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4467 if test -z "$CXX"; then
4468 if test -n "$CCC"; then
4471 if test -n "$ac_tool_prefix"; then
4472 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4474 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4475 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4477 $as_echo_n "checking for $ac_word... " >&6; }
4478 if ${ac_cv_prog_CXX+:} false; then :
4479 $as_echo_n "(cached) " >&6
4481 if test -n "$CXX"; then
4482 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4488 test -z "$as_dir" && as_dir=.
4489 for ac_exec_ext in '' $ac_executable_extensions; do
4490 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4491 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4502 if test -n "$CXX"; then
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4504 $as_echo "$CXX" >&6; }
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4507 $as_echo "no" >&6; }
4511 test -n "$CXX" && break
4514 if test -z "$CXX"; then
4516 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4518 # Extract the first word of "$ac_prog", so it can be a program name with args.
4519 set dummy $ac_prog; ac_word=$2
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4521 $as_echo_n "checking for $ac_word... " >&6; }
4522 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4523 $as_echo_n "(cached) " >&6
4525 if test -n "$ac_ct_CXX"; then
4526 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4532 test -z "$as_dir" && as_dir=.
4533 for ac_exec_ext in '' $ac_executable_extensions; do
4534 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4535 ac_cv_prog_ac_ct_CXX="$ac_prog"
4536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4545 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4546 if test -n "$ac_ct_CXX"; then
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4548 $as_echo "$ac_ct_CXX" >&6; }
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4551 $as_echo "no" >&6; }
4555 test -n "$ac_ct_CXX" && break
4558 if test "x$ac_ct_CXX" = x; then
4561 case $cross_compiling:$ac_tool_warned in
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4564 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4565 ac_tool_warned=yes ;;
4573 # Provide some information about the compiler.
4574 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4577 for ac_option in --version -v -V -qversion; do
4578 { { ac_try="$ac_compiler $ac_option >&5"
4580 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4581 *) ac_try_echo
=$ac_try;;
4583 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4584 $as_echo "$ac_try_echo"; } >&5
4585 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4587 if test -s conftest.err
; then
4589 ... rest of stderr output deleted ...
4590 10q' conftest.err
>conftest.er1
4591 cat conftest.er1
>&5
4593 rm -f conftest.er1 conftest.err
4594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4595 test $ac_status = 0; }
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4599 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4600 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4601 $as_echo_n "(cached) " >&6
4603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4604 /* end confdefs.h. */
4617 if ac_fn_cxx_try_compile
"$LINENO"; then :
4622 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4623 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4627 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4628 if test $ac_compiler_gnu = yes; then
4633 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4634 ac_save_CXXFLAGS
=$CXXFLAGS
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4636 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4637 if ${ac_cv_prog_cxx_g+:} false
; then :
4638 $as_echo_n "(cached) " >&6
4640 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4641 ac_cxx_werror_flag
=yes
4644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4645 /* end confdefs.h. */
4655 if ac_fn_cxx_try_compile
"$LINENO"; then :
4656 ac_cv_prog_cxx_g
=yes
4659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4660 /* end confdefs.h. */
4670 if ac_fn_cxx_try_compile
"$LINENO"; then :
4673 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4676 /* end confdefs.h. */
4686 if ac_fn_cxx_try_compile
"$LINENO"; then :
4687 ac_cv_prog_cxx_g
=yes
4689 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4691 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4693 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4694 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4697 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4698 if test "$ac_test_CXXFLAGS" = set; then
4699 CXXFLAGS
=$ac_save_CXXFLAGS
4700 elif test $ac_cv_prog_cxx_g = yes; then
4701 if test "$GXX" = yes; then
4707 if test "$GXX" = yes; then
4714 ac_cpp
='$CPP $CPPFLAGS'
4715 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4716 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4717 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4719 if test -n "$ac_tool_prefix"; then
4720 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4721 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4723 $as_echo_n "checking for $ac_word... " >&6; }
4724 if ${ac_cv_prog_CPPBIN+:} false
; then :
4725 $as_echo_n "(cached) " >&6
4727 if test -n "$CPPBIN"; then
4728 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4730 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4734 test -z "$as_dir" && as_dir
=.
4735 for ac_exec_ext
in '' $ac_executable_extensions; do
4736 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4737 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4747 CPPBIN
=$ac_cv_prog_CPPBIN
4748 if test -n "$CPPBIN"; then
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4750 $as_echo "$CPPBIN" >&6; }
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4753 $as_echo "no" >&6; }
4758 if test -z "$ac_cv_prog_CPPBIN"; then
4759 ac_ct_CPPBIN
=$CPPBIN
4760 # Extract the first word of "cpp", so it can be a program name with args.
4761 set dummy cpp
; ac_word
=$2
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4763 $as_echo_n "checking for $ac_word... " >&6; }
4764 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4765 $as_echo_n "(cached) " >&6
4767 if test -n "$ac_ct_CPPBIN"; then
4768 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4770 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4774 test -z "$as_dir" && as_dir
=.
4775 for ac_exec_ext
in '' $ac_executable_extensions; do
4776 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4777 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4787 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4788 if test -n "$ac_ct_CPPBIN"; then
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4790 $as_echo "$ac_ct_CPPBIN" >&6; }
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4793 $as_echo "no" >&6; }
4796 if test "x$ac_ct_CPPBIN" = x
; then
4799 case $cross_compiling:$ac_tool_warned in
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4802 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4803 ac_tool_warned
=yes ;;
4805 CPPBIN
=$ac_ct_CPPBIN
4808 CPPBIN
="$ac_cv_prog_CPPBIN"
4812 cat >>confdefs.h
<<_ACEOF
4813 #define EXEEXT "$ac_exeext"
4816 if test -n "$ac_tool_prefix"; then
4817 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4818 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4820 $as_echo_n "checking for $ac_word... " >&6; }
4821 if ${ac_cv_prog_LD+:} false
; then :
4822 $as_echo_n "(cached) " >&6
4824 if test -n "$LD"; then
4825 ac_cv_prog_LD
="$LD" # Let the user override the test.
4827 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4831 test -z "$as_dir" && as_dir
=.
4832 for ac_exec_ext
in '' $ac_executable_extensions; do
4833 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4834 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4845 if test -n "$LD"; then
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4847 $as_echo "$LD" >&6; }
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4850 $as_echo "no" >&6; }
4855 if test -z "$ac_cv_prog_LD"; then
4857 # Extract the first word of "ld", so it can be a program name with args.
4858 set dummy ld
; ac_word
=$2
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4860 $as_echo_n "checking for $ac_word... " >&6; }
4861 if ${ac_cv_prog_ac_ct_LD+:} false
; then :
4862 $as_echo_n "(cached) " >&6
4864 if test -n "$ac_ct_LD"; then
4865 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
4867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4871 test -z "$as_dir" && as_dir
=.
4872 for ac_exec_ext
in '' $ac_executable_extensions; do
4873 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4874 ac_cv_prog_ac_ct_LD
="ld"
4875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4884 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
4885 if test -n "$ac_ct_LD"; then
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4887 $as_echo "$ac_ct_LD" >&6; }
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4890 $as_echo "no" >&6; }
4893 if test "x$ac_ct_LD" = x
; then
4896 case $cross_compiling:$ac_tool_warned in
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4899 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4900 ac_tool_warned
=yes ;;
4911 if test "x$enable_win64" = "xyes"
4916 notice_platform
="64-bit "
4923 notice_platform
="32-bit "
4926 enable_win16
=${enable_win16:-yes}
4928 with_fontconfig
=${with_fontconfig:-no}
4931 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4936 $as_echo_n "checking whether $CC works... " >&6; }
4938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4939 /* end confdefs.h. */
4949 if ac_fn_c_try_link
"$LINENO"; then :
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4951 $as_echo "yes" >&6; }
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4954 $as_echo "no" >&6; }
4955 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4957 rm -f core conftest.err conftest.
$ac_objext \
4958 conftest
$ac_exeext conftest.
$ac_ext
4960 notice_platform
="32-bit "
4963 enable_win16
=${enable_win16:-yes}
4965 if test "x${GCC}" = "xyes"
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4968 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4970 /* end confdefs.h. */
4975 void func(__builtin_ms_va_list *args);
4980 if ac_fn_c_try_compile
"$LINENO"; then :
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4982 $as_echo "yes" >&6; }
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4985 $as_echo "no" >&6; }
4986 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4988 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4997 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4999 /* end confdefs.h. */
5000 int ac_test(int i) { return i; }
5004 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5009 if ac_fn_c_try_link
"$LINENO"; then :
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5011 $as_echo "yes" >&6; }
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5014 $as_echo "no" >&6; }
5015 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5017 rm -f core conftest.err conftest.
$ac_objext \
5018 conftest
$ac_exeext conftest.
$ac_ext
5019 CFLAGS
="$CFLAGS -marm"
5023 *-mingw32*|
*-cygwin*)
5024 enable_win16
=${enable_win16:-no}
5025 CFLAGS
="$CFLAGS -D_WIN32"
5028 enable_win16
=${enable_win16:-yes}
5032 enable_win16
=${enable_win16:-no}
5033 enable_win64
=${enable_win64:-no}
5035 enable_winetest
=${enable_winetest:-$enable_tests}
5037 if test -n "$with_wine64"
5039 if test "x$enable_win64" = "xyes"
5041 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
5042 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5044 enable_fonts
=${enable_fonts:-no}
5045 enable_server
=${enable_server:-no}
5046 elif test "x$enable_win64" = "xyes"
5048 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5052 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5053 if ${wine_cv_toolsdir+:} false
; then :
5054 $as_echo_n "(cached) " >&6
5056 wine_cv_toolsdir
="$with_wine_tools"
5057 if test -z "$with_wine_tools"; then
5058 if test "$cross_compiling" = "yes"; then
5059 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5060 elif test -n "$with_wine64"; then
5061 wine_cv_toolsdir
="$with_wine64"
5064 if test -z "$wine_cv_toolsdir"; then
5065 wine_makedep
=tools
/makedep
5066 wine_cv_toolsdir
="\$(top_builddir)"
5067 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5068 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
5069 case "$wine_cv_toolsdir" in
5071 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
5073 enable_tools
=${enable_tools:-no}
5074 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5076 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5080 $as_echo "$wine_cv_toolsdir" >&6; }
5081 TOOLSDIR
=$wine_cv_toolsdir
5083 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5085 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
5091 # Extract the first word of "$ac_prog", so it can be a program name with args.
5092 set dummy
$ac_prog; ac_word
=$2
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5094 $as_echo_n "checking for $ac_word... " >&6; }
5095 if ${ac_cv_prog_FLEX+:} false
; then :
5096 $as_echo_n "(cached) " >&6
5098 if test -n "$FLEX"; then
5099 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5105 test -z "$as_dir" && as_dir
=.
5106 for ac_exec_ext
in '' $ac_executable_extensions; do
5107 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5108 ac_cv_prog_FLEX
="$ac_prog"
5109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5118 FLEX
=$ac_cv_prog_FLEX
5119 if test -n "$FLEX"; then
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5121 $as_echo "$FLEX" >&6; }
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5124 $as_echo "no" >&6; }
5128 test -n "$FLEX" && break
5130 test -n "$FLEX" || FLEX
="none"
5132 if test "$FLEX" = "none"
5134 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5137 $as_echo_n "checking whether flex is recent enough... " >&6; }
5138 cat >conftest.l
<<EOF
5140 #include "prediluvian.h"
5144 if $FLEX -t conftest.l
>/dev
/null
2>&5
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5147 $as_echo "yes" >&6; }
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5150 $as_echo "no" >&6; }
5151 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5154 for ac_prog
in bison
5156 # Extract the first word of "$ac_prog", so it can be a program name with args.
5157 set dummy
$ac_prog; ac_word
=$2
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5159 $as_echo_n "checking for $ac_word... " >&6; }
5160 if ${ac_cv_prog_BISON+:} false
; then :
5161 $as_echo_n "(cached) " >&6
5163 if test -n "$BISON"; then
5164 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5166 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5170 test -z "$as_dir" && as_dir
=.
5171 for ac_exec_ext
in '' $ac_executable_extensions; do
5172 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5173 ac_cv_prog_BISON
="$ac_prog"
5174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5183 BISON
=$ac_cv_prog_BISON
5184 if test -n "$BISON"; then
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5186 $as_echo "$BISON" >&6; }
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5189 $as_echo "no" >&6; }
5193 test -n "$BISON" && break
5195 test -n "$BISON" || BISON
="none"
5197 if test "$BISON" = "none"
5199 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5202 if test -n "$ac_tool_prefix"; then
5203 for ac_prog
in ar gar
5205 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5206 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5208 $as_echo_n "checking for $ac_word... " >&6; }
5209 if ${ac_cv_prog_AR+:} false
; then :
5210 $as_echo_n "(cached) " >&6
5212 if test -n "$AR"; then
5213 ac_cv_prog_AR
="$AR" # Let the user override the test.
5215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5219 test -z "$as_dir" && as_dir
=.
5220 for ac_exec_ext
in '' $ac_executable_extensions; do
5221 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5222 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5233 if test -n "$AR"; then
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5235 $as_echo "$AR" >&6; }
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5238 $as_echo "no" >&6; }
5242 test -n "$AR" && break
5245 if test -z "$AR"; then
5247 for ac_prog
in ar gar
5249 # Extract the first word of "$ac_prog", so it can be a program name with args.
5250 set dummy
$ac_prog; ac_word
=$2
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5252 $as_echo_n "checking for $ac_word... " >&6; }
5253 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5254 $as_echo_n "(cached) " >&6
5256 if test -n "$ac_ct_AR"; then
5257 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5259 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5263 test -z "$as_dir" && as_dir
=.
5264 for ac_exec_ext
in '' $ac_executable_extensions; do
5265 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5266 ac_cv_prog_ac_ct_AR
="$ac_prog"
5267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5276 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5277 if test -n "$ac_ct_AR"; then
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5279 $as_echo "$ac_ct_AR" >&6; }
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5282 $as_echo "no" >&6; }
5286 test -n "$ac_ct_AR" && break
5289 if test "x$ac_ct_AR" = x
; then
5292 case $cross_compiling:$ac_tool_warned in
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5295 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5296 ac_tool_warned
=yes ;;
5302 if test -n "$ac_tool_prefix"; then
5303 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5304 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5306 $as_echo_n "checking for $ac_word... " >&6; }
5307 if ${ac_cv_prog_STRIP+:} false
; then :
5308 $as_echo_n "(cached) " >&6
5310 if test -n "$STRIP"; then
5311 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5313 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5317 test -z "$as_dir" && as_dir
=.
5318 for ac_exec_ext
in '' $ac_executable_extensions; do
5319 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5320 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5330 STRIP
=$ac_cv_prog_STRIP
5331 if test -n "$STRIP"; then
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5333 $as_echo "$STRIP" >&6; }
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5336 $as_echo "no" >&6; }
5341 if test -z "$ac_cv_prog_STRIP"; then
5343 # Extract the first word of "strip", so it can be a program name with args.
5344 set dummy strip
; ac_word
=$2
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5346 $as_echo_n "checking for $ac_word... " >&6; }
5347 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5348 $as_echo_n "(cached) " >&6
5350 if test -n "$ac_ct_STRIP"; then
5351 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5357 test -z "$as_dir" && as_dir
=.
5358 for ac_exec_ext
in '' $ac_executable_extensions; do
5359 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5360 ac_cv_prog_ac_ct_STRIP
="strip"
5361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5370 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5371 if test -n "$ac_ct_STRIP"; then
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5373 $as_echo "$ac_ct_STRIP" >&6; }
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5376 $as_echo "no" >&6; }
5379 if test "x$ac_ct_STRIP" = x
; then
5382 case $cross_compiling:$ac_tool_warned in
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5385 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5386 ac_tool_warned
=yes ;;
5391 STRIP
="$ac_cv_prog_STRIP"
5396 if test -n "$ac_tool_prefix"; then
5397 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5398 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5400 $as_echo_n "checking for $ac_word... " >&6; }
5401 if ${ac_cv_prog_RANLIB+:} false
; then :
5402 $as_echo_n "(cached) " >&6
5404 if test -n "$RANLIB"; then
5405 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5407 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5411 test -z "$as_dir" && as_dir
=.
5412 for ac_exec_ext
in '' $ac_executable_extensions; do
5413 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5414 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5424 RANLIB
=$ac_cv_prog_RANLIB
5425 if test -n "$RANLIB"; then
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5427 $as_echo "$RANLIB" >&6; }
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5430 $as_echo "no" >&6; }
5435 if test -z "$ac_cv_prog_RANLIB"; then
5436 ac_ct_RANLIB
=$RANLIB
5437 # Extract the first word of "ranlib", so it can be a program name with args.
5438 set dummy ranlib
; ac_word
=$2
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5440 $as_echo_n "checking for $ac_word... " >&6; }
5441 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5442 $as_echo_n "(cached) " >&6
5444 if test -n "$ac_ct_RANLIB"; then
5445 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5447 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5451 test -z "$as_dir" && as_dir
=.
5452 for ac_exec_ext
in '' $ac_executable_extensions; do
5453 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5454 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5464 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5465 if test -n "$ac_ct_RANLIB"; then
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5467 $as_echo "$ac_ct_RANLIB" >&6; }
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5470 $as_echo "no" >&6; }
5473 if test "x$ac_ct_RANLIB" = x
; then
5476 case $cross_compiling:$ac_tool_warned in
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5479 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5480 ac_tool_warned
=yes ;;
5482 RANLIB
=$ac_ct_RANLIB
5485 RANLIB
="$ac_cv_prog_RANLIB"
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5489 $as_echo_n "checking whether ln -s works... " >&6; }
5491 if test "$LN_S" = "ln -s"; then
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5493 $as_echo "yes" >&6; }
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5496 $as_echo "no, using $LN_S" >&6; }
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5500 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5501 if ${ac_cv_path_GREP+:} false
; then :
5502 $as_echo_n "(cached) " >&6
5504 if test -z "$GREP"; then
5505 ac_path_GREP_found
=false
5506 # Loop through the user's path and test for each of PROGNAME-LIST
5507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5508 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5511 test -z "$as_dir" && as_dir
=.
5512 for ac_prog
in grep ggrep
; do
5513 for ac_exec_ext
in '' $ac_executable_extensions; do
5514 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5515 as_fn_executable_p
"$ac_path_GREP" ||
continue
5516 # Check for GNU ac_path_GREP and select it if it is found.
5517 # Check for GNU $ac_path_GREP
5518 case `"$ac_path_GREP" --version 2>&1` in
5520 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5523 $as_echo_n 0123456789 >"conftest.in"
5526 cat "conftest.in" "conftest.in" >"conftest.tmp"
5527 mv "conftest.tmp" "conftest.in"
5528 cp "conftest.in" "conftest.nl"
5529 $as_echo 'GREP' >> "conftest.nl"
5530 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5531 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5532 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5533 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5534 # Best one so far, save it but keep looking for a better one
5535 ac_cv_path_GREP
="$ac_path_GREP"
5536 ac_path_GREP_max
=$ac_count
5538 # 10*(2^10) chars as input seems more than enough
5539 test $ac_count -gt 10 && break
5541 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5544 $ac_path_GREP_found && break 3
5549 if test -z "$ac_cv_path_GREP"; then
5550 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5553 ac_cv_path_GREP
=$GREP
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5558 $as_echo "$ac_cv_path_GREP" >&6; }
5559 GREP
="$ac_cv_path_GREP"
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5563 $as_echo_n "checking for egrep... " >&6; }
5564 if ${ac_cv_path_EGREP+:} false
; then :
5565 $as_echo_n "(cached) " >&6
5567 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5568 then ac_cv_path_EGREP
="$GREP -E"
5570 if test -z "$EGREP"; then
5571 ac_path_EGREP_found
=false
5572 # Loop through the user's path and test for each of PROGNAME-LIST
5573 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5574 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5577 test -z "$as_dir" && as_dir
=.
5578 for ac_prog
in egrep; do
5579 for ac_exec_ext
in '' $ac_executable_extensions; do
5580 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5581 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5582 # Check for GNU ac_path_EGREP and select it if it is found.
5583 # Check for GNU $ac_path_EGREP
5584 case `"$ac_path_EGREP" --version 2>&1` in
5586 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5589 $as_echo_n 0123456789 >"conftest.in"
5592 cat "conftest.in" "conftest.in" >"conftest.tmp"
5593 mv "conftest.tmp" "conftest.in"
5594 cp "conftest.in" "conftest.nl"
5595 $as_echo 'EGREP' >> "conftest.nl"
5596 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5597 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5598 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5599 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5600 # Best one so far, save it but keep looking for a better one
5601 ac_cv_path_EGREP
="$ac_path_EGREP"
5602 ac_path_EGREP_max
=$ac_count
5604 # 10*(2^10) chars as input seems more than enough
5605 test $ac_count -gt 10 && break
5607 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5610 $ac_path_EGREP_found && break 3
5615 if test -z "$ac_cv_path_EGREP"; then
5616 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5619 ac_cv_path_EGREP
=$EGREP
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5625 $as_echo "$ac_cv_path_EGREP" >&6; }
5626 EGREP
="$ac_cv_path_EGREP"
5629 # Extract the first word of "ldconfig", so it can be a program name with args.
5630 set dummy ldconfig
; ac_word
=$2
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5632 $as_echo_n "checking for $ac_word... " >&6; }
5633 if ${ac_cv_path_LDCONFIG+:} false
; then :
5634 $as_echo_n "(cached) " >&6
5638 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5641 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5642 for as_dir
in /sbin
/usr
/sbin
$PATH
5645 test -z "$as_dir" && as_dir
=.
5646 for ac_exec_ext
in '' $ac_executable_extensions; do
5647 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5648 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5656 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5660 LDCONFIG
=$ac_cv_path_LDCONFIG
5661 if test -n "$LDCONFIG"; then
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5663 $as_echo "$LDCONFIG" >&6; }
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5666 $as_echo "no" >&6; }
5670 for ac_prog
in msgfmt
5672 # Extract the first word of "$ac_prog", so it can be a program name with args.
5673 set dummy
$ac_prog; ac_word
=$2
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5675 $as_echo_n "checking for $ac_word... " >&6; }
5676 if ${ac_cv_prog_MSGFMT+:} false
; then :
5677 $as_echo_n "(cached) " >&6
5679 if test -n "$MSGFMT"; then
5680 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5682 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5686 test -z "$as_dir" && as_dir
=.
5687 for ac_exec_ext
in '' $ac_executable_extensions; do
5688 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5689 ac_cv_prog_MSGFMT
="$ac_prog"
5690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5699 MSGFMT
=$ac_cv_prog_MSGFMT
5700 if test -n "$MSGFMT"; then
5701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5702 $as_echo "$MSGFMT" >&6; }
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5705 $as_echo "no" >&6; }
5709 test -n "$MSGFMT" && break
5711 test -n "$MSGFMT" || MSGFMT
="false"
5713 if ${ac_tool_prefix+:} false
; then :
5714 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5715 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5717 $as_echo_n "checking for $ac_word... " >&6; }
5718 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5719 $as_echo_n "(cached) " >&6
5721 if test -n "$PKG_CONFIG"; then
5722 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5728 test -z "$as_dir" && as_dir
=.
5729 for ac_exec_ext
in '' $ac_executable_extensions; do
5730 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5731 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5741 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5742 if test -n "$PKG_CONFIG"; then
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5744 $as_echo "$PKG_CONFIG" >&6; }
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5747 $as_echo "no" >&6; }
5752 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5753 if test "x$cross_compiling" = xyes
; then :
5756 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5757 # Extract the first word of "pkg-config", so it can be a program name with args.
5758 set dummy pkg-config
; ac_word
=$2
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5760 $as_echo_n "checking for $ac_word... " >&6; }
5761 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5762 $as_echo_n "(cached) " >&6
5764 if test -n "$PKG_CONFIG"; then
5765 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5771 test -z "$as_dir" && as_dir
=.
5772 for ac_exec_ext
in '' $ac_executable_extensions; do
5773 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5774 ac_cv_prog_PKG_CONFIG
="pkg-config"
5775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5784 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5785 if test -n "$PKG_CONFIG"; then
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5787 $as_echo "$PKG_CONFIG" >&6; }
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5790 $as_echo "no" >&6; }
5796 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5799 if test "x$enable_maintainer_mode" != "xyes"
5806 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5807 for ac_prog
in fontforge
5809 # Extract the first word of "$ac_prog", so it can be a program name with args.
5810 set dummy
$ac_prog; ac_word
=$2
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5812 $as_echo_n "checking for $ac_word... " >&6; }
5813 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5814 $as_echo_n "(cached) " >&6
5816 if test -n "$FONTFORGE"; then
5817 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5823 test -z "$as_dir" && as_dir
=.
5824 for ac_exec_ext
in '' $ac_executable_extensions; do
5825 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5826 ac_cv_prog_FONTFORGE
="$ac_prog"
5827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5836 FONTFORGE
=$ac_cv_prog_FONTFORGE
5837 if test -n "$FONTFORGE"; then
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5839 $as_echo "$FONTFORGE" >&6; }
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5842 $as_echo "no" >&6; }
5846 test -n "$FONTFORGE" && break
5848 test -n "$FONTFORGE" || FONTFORGE
="false"
5850 for ac_prog
in rsvg-convert rsvg
5852 # Extract the first word of "$ac_prog", so it can be a program name with args.
5853 set dummy
$ac_prog; ac_word
=$2
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5855 $as_echo_n "checking for $ac_word... " >&6; }
5856 if ${ac_cv_prog_RSVG+:} false
; then :
5857 $as_echo_n "(cached) " >&6
5859 if test -n "$RSVG"; then
5860 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5862 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5866 test -z "$as_dir" && as_dir
=.
5867 for ac_exec_ext
in '' $ac_executable_extensions; do
5868 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5869 ac_cv_prog_RSVG
="$ac_prog"
5870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5879 RSVG
=$ac_cv_prog_RSVG
5880 if test -n "$RSVG"; then
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5882 $as_echo "$RSVG" >&6; }
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5885 $as_echo "no" >&6; }
5889 test -n "$RSVG" && break
5891 test -n "$RSVG" || RSVG
="false"
5893 for ac_prog
in convert
5895 # Extract the first word of "$ac_prog", so it can be a program name with args.
5896 set dummy
$ac_prog; ac_word
=$2
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5898 $as_echo_n "checking for $ac_word... " >&6; }
5899 if ${ac_cv_prog_CONVERT+:} false
; then :
5900 $as_echo_n "(cached) " >&6
5902 if test -n "$CONVERT"; then
5903 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5909 test -z "$as_dir" && as_dir
=.
5910 for ac_exec_ext
in '' $ac_executable_extensions; do
5911 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5912 ac_cv_prog_CONVERT
="$ac_prog"
5913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5922 CONVERT
=$ac_cv_prog_CONVERT
5923 if test -n "$CONVERT"; then
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5925 $as_echo "$CONVERT" >&6; }
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5928 $as_echo "no" >&6; }
5932 test -n "$CONVERT" && break
5934 test -n "$CONVERT" || CONVERT
="false"
5936 for ac_prog
in icotool
5938 # Extract the first word of "$ac_prog", so it can be a program name with args.
5939 set dummy
$ac_prog; ac_word
=$2
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5941 $as_echo_n "checking for $ac_word... " >&6; }
5942 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5943 $as_echo_n "(cached) " >&6
5945 if test -n "$ICOTOOL"; then
5946 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5952 test -z "$as_dir" && as_dir
=.
5953 for ac_exec_ext
in '' $ac_executable_extensions; do
5954 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5955 ac_cv_prog_ICOTOOL
="$ac_prog"
5956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5965 ICOTOOL
=$ac_cv_prog_ICOTOOL
5966 if test -n "$ICOTOOL"; then
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5968 $as_echo "$ICOTOOL" >&6; }
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5971 $as_echo "no" >&6; }
5975 test -n "$ICOTOOL" && break
5977 test -n "$ICOTOOL" || ICOTOOL
="false"
5979 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5980 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5982 if test "$CONVERT" = false
5984 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5987 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5988 convert_version
=`convert --version | head -n1`
5989 if test "x$convert_version" != "x"
5991 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5992 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5993 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5998 if test "$CONVERT" = false
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6001 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6002 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6005 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6009 if test "$ICOTOOL" = false
6011 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6014 $as_echo_n "checking for recent enough icotool... " >&6; }
6015 icotool_version
=`icotool --version | head -n1`
6016 if test "x$icotool_version" != "x"
6018 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6019 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6020 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6023 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
6026 if test "$ICOTOOL" = false
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6029 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6030 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6033 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6039 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
6042 test "x$with_gettext" != xno || MSGFMT
=false
6043 if test "$MSGFMT" != "false"
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6046 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6047 cat >conftest.po
<<EOF
6053 if $MSGFMT -o /dev
/null conftest.po
2>&5
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6056 $as_echo "yes" >&6; }
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6059 $as_echo "no" >&6; }
6063 if test "$MSGFMT" = false
; then :
6064 case "x$with_gettext" in
6065 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
6067 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
6068 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6074 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6075 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
6076 $as_echo_n "(cached) " >&6
6078 ac_check_lib_save_LIBS
=$LIBS
6080 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6081 /* end confdefs.h. */
6083 /* Override any GCC internal prototype to avoid an error.
6084 Use char because int might match the return type of a GCC
6085 builtin and then its argument prototype would still apply. */
6089 char i386_set_ldt ();
6093 return i386_set_ldt ();
6098 if ac_fn_c_try_link
"$LINENO"; then :
6099 ac_cv_lib_i386_i386_set_ldt
=yes
6101 ac_cv_lib_i386_i386_set_ldt
=no
6103 rm -f core conftest.err conftest.
$ac_objext \
6104 conftest
$ac_exeext conftest.
$ac_ext
6105 LIBS
=$ac_check_lib_save_LIBS
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6108 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6109 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
6110 cat >>confdefs.h
<<_ACEOF
6111 #define HAVE_LIBI386 1
6118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6119 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6120 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
6121 $as_echo_n "(cached) " >&6
6123 ac_check_lib_save_LIBS
=$LIBS
6124 LIBS
="-lossaudio $LIBS"
6125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6126 /* end confdefs.h. */
6128 /* Override any GCC internal prototype to avoid an error.
6129 Use char because int might match the return type of a GCC
6130 builtin and then its argument prototype would still apply. */
6138 return _oss_ioctl ();
6143 if ac_fn_c_try_link
"$LINENO"; then :
6144 ac_cv_lib_ossaudio__oss_ioctl
=yes
6146 ac_cv_lib_ossaudio__oss_ioctl
=no
6148 rm -f core conftest.err conftest.
$ac_objext \
6149 conftest
$ac_exeext conftest.
$ac_ext
6150 LIBS
=$ac_check_lib_save_LIBS
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6153 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6154 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
6155 cat >>confdefs.h
<<_ACEOF
6156 #define HAVE_LIBOSSAUDIO 1
6159 LIBS
="-lossaudio $LIBS"
6168 # Check whether --enable-largefile was given.
6169 if test "${enable_largefile+set}" = set; then :
6170 enableval
=$enable_largefile;
6173 if test "$enable_largefile" != no
; then
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6176 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6177 if ${ac_cv_sys_largefile_CC+:} false
; then :
6178 $as_echo_n "(cached) " >&6
6180 ac_cv_sys_largefile_CC
=no
6181 if test "$GCC" != yes; then
6184 # IRIX 6.2 and later do not support large files by default,
6185 # so use the C compiler's -n32 option if that helps.
6186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6187 /* end confdefs.h. */
6188 #include <sys/types.h>
6189 /* Check that off_t can represent 2**63 - 1 correctly.
6190 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6191 since some C++ compilers masquerading as C compilers
6192 incorrectly reject 9223372036854775807. */
6193 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6194 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6195 && LARGE_OFF_T % 2147483647 == 1)
6205 if ac_fn_c_try_compile
"$LINENO"; then :
6208 rm -f core conftest.err conftest.
$ac_objext
6210 if ac_fn_c_try_compile
"$LINENO"; then :
6211 ac_cv_sys_largefile_CC
=' -n32'; break
6213 rm -f core conftest.err conftest.
$ac_objext
6217 rm -f conftest.
$ac_ext
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6221 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6222 if test "$ac_cv_sys_largefile_CC" != no
; then
6223 CC
=$CC$ac_cv_sys_largefile_CC
6226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6227 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6228 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6229 $as_echo_n "(cached) " >&6
6232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6233 /* end confdefs.h. */
6234 #include <sys/types.h>
6235 /* Check that off_t can represent 2**63 - 1 correctly.
6236 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6237 since some C++ compilers masquerading as C compilers
6238 incorrectly reject 9223372036854775807. */
6239 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6240 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6241 && LARGE_OFF_T % 2147483647 == 1)
6251 if ac_fn_c_try_compile
"$LINENO"; then :
6252 ac_cv_sys_file_offset_bits
=no
; break
6254 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6256 /* end confdefs.h. */
6257 #define _FILE_OFFSET_BITS 64
6258 #include <sys/types.h>
6259 /* Check that off_t can represent 2**63 - 1 correctly.
6260 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6261 since some C++ compilers masquerading as C compilers
6262 incorrectly reject 9223372036854775807. */
6263 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6264 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6265 && LARGE_OFF_T % 2147483647 == 1)
6275 if ac_fn_c_try_compile
"$LINENO"; then :
6276 ac_cv_sys_file_offset_bits
=64; break
6278 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6279 ac_cv_sys_file_offset_bits
=unknown
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6284 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6285 case $ac_cv_sys_file_offset_bits in #(
6288 cat >>confdefs.h
<<_ACEOF
6289 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6294 if test $ac_cv_sys_file_offset_bits = unknown
; then
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6296 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6297 if ${ac_cv_sys_large_files+:} false
; then :
6298 $as_echo_n "(cached) " >&6
6301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6302 /* end confdefs.h. */
6303 #include <sys/types.h>
6304 /* Check that off_t can represent 2**63 - 1 correctly.
6305 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6306 since some C++ compilers masquerading as C compilers
6307 incorrectly reject 9223372036854775807. */
6308 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6309 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6310 && LARGE_OFF_T % 2147483647 == 1)
6320 if ac_fn_c_try_compile
"$LINENO"; then :
6321 ac_cv_sys_large_files
=no
; break
6323 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6325 /* end confdefs.h. */
6326 #define _LARGE_FILES 1
6327 #include <sys/types.h>
6328 /* Check that off_t can represent 2**63 - 1 correctly.
6329 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6330 since some C++ compilers masquerading as C compilers
6331 incorrectly reject 9223372036854775807. */
6332 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6333 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6334 && LARGE_OFF_T % 2147483647 == 1)
6344 if ac_fn_c_try_compile
"$LINENO"; then :
6345 ac_cv_sys_large_files
=1; break
6347 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6348 ac_cv_sys_large_files
=unknown
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6353 $as_echo "$ac_cv_sys_large_files" >&6; }
6354 case $ac_cv_sys_large_files in #(
6357 cat >>confdefs.h
<<_ACEOF
6358 #define _LARGE_FILES $ac_cv_sys_large_files
6370 ac_cpp
='$CPP $CPPFLAGS'
6371 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6372 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6373 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6375 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6376 # On Suns, sometimes $CPP names a directory.
6377 if test -n "$CPP" && test -d "$CPP"; then
6380 if test -z "$CPP"; then
6381 if ${ac_cv_prog_CPP+:} false
; then :
6382 $as_echo_n "(cached) " >&6
6384 # Double quotes because CPP needs to be expanded
6385 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6388 for ac_c_preproc_warn_flag
in '' yes
6390 # Use a header file that comes with gcc, so configuring glibc
6391 # with a fresh cross-compiler works.
6392 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6393 # <limits.h> exists even on freestanding compilers.
6394 # On the NeXT, cc -E runs the code through the compiler's parser,
6395 # not just through cpp. "Syntax error" is here to catch this case.
6396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6397 /* end confdefs.h. */
6399 # include <limits.h>
6401 # include <assert.h>
6405 if ac_fn_c_try_cpp
"$LINENO"; then :
6408 # Broken: fails on valid input.
6411 rm -f conftest.err conftest.i conftest.
$ac_ext
6413 # OK, works on sane cases. Now check whether nonexistent headers
6414 # can be detected and how.
6415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6416 /* end confdefs.h. */
6417 #include <ac_nonexistent.h>
6419 if ac_fn_c_try_cpp
"$LINENO"; then :
6420 # Broken: success on invalid input.
6423 # Passes both tests.
6427 rm -f conftest.err conftest.i conftest.
$ac_ext
6430 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6431 rm -f conftest.i conftest.err conftest.
$ac_ext
6432 if $ac_preproc_ok; then :
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6445 $as_echo "$CPP" >&6; }
6447 for ac_c_preproc_warn_flag
in '' yes
6449 # Use a header file that comes with gcc, so configuring glibc
6450 # with a fresh cross-compiler works.
6451 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6452 # <limits.h> exists even on freestanding compilers.
6453 # On the NeXT, cc -E runs the code through the compiler's parser,
6454 # not just through cpp. "Syntax error" is here to catch this case.
6455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6456 /* end confdefs.h. */
6458 # include <limits.h>
6460 # include <assert.h>
6464 if ac_fn_c_try_cpp
"$LINENO"; then :
6467 # Broken: fails on valid input.
6470 rm -f conftest.err conftest.i conftest.
$ac_ext
6472 # OK, works on sane cases. Now check whether nonexistent headers
6473 # can be detected and how.
6474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6475 /* end confdefs.h. */
6476 #include <ac_nonexistent.h>
6478 if ac_fn_c_try_cpp
"$LINENO"; then :
6479 # Broken: success on invalid input.
6482 # Passes both tests.
6486 rm -f conftest.err conftest.i conftest.
$ac_ext
6489 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6490 rm -f conftest.i conftest.err conftest.
$ac_ext
6491 if $ac_preproc_ok; then :
6494 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6495 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6496 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6497 See \`config.log' for more details" "$LINENO" 5; }
6501 ac_cpp
='$CPP $CPPFLAGS'
6502 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6503 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6504 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6508 $as_echo_n "checking for ANSI C header files... " >&6; }
6509 if ${ac_cv_header_stdc+:} false
; then :
6510 $as_echo_n "(cached) " >&6
6512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6513 /* end confdefs.h. */
6527 if ac_fn_c_try_compile
"$LINENO"; then :
6528 ac_cv_header_stdc
=yes
6530 ac_cv_header_stdc
=no
6532 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6534 if test $ac_cv_header_stdc = yes; then
6535 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6537 /* end confdefs.h. */
6541 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6542 $EGREP "memchr" >/dev
/null
2>&1; then :
6545 ac_cv_header_stdc
=no
6551 if test $ac_cv_header_stdc = yes; then
6552 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6554 /* end confdefs.h. */
6558 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6559 $EGREP "free" >/dev
/null
2>&1; then :
6562 ac_cv_header_stdc
=no
6568 if test $ac_cv_header_stdc = yes; then
6569 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6570 if test "$cross_compiling" = yes; then :
6573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6574 /* end confdefs.h. */
6577 #if ((' ' & 0x0FF) == 0x020)
6578 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6579 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6581 # define ISLOWER(c) \
6582 (('a' <= (c) && (c) <= 'i') \
6583 || ('j' <= (c) && (c) <= 'r') \
6584 || ('s' <= (c) && (c) <= 'z'))
6585 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6588 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6593 for (i = 0; i < 256; i++)
6594 if (XOR (islower (i), ISLOWER (i))
6595 || toupper (i) != TOUPPER (i))
6600 if ac_fn_c_try_run
"$LINENO"; then :
6603 ac_cv_header_stdc
=no
6605 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6606 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6612 $as_echo "$ac_cv_header_stdc" >&6; }
6613 if test $ac_cv_header_stdc = yes; then
6615 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6619 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6620 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6621 inttypes.h stdint.h unistd.h
6623 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6624 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6626 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6627 cat >>confdefs.h
<<_ACEOF
6628 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6638 ApplicationServices
/ApplicationServices.h \
6639 AudioToolbox
/AudioConverter.h \
6640 AudioUnit
/AudioUnit.h \
6641 AudioUnit
/AudioComponent.h \
6644 CoreAudio
/CoreAudio.h \
6645 CoreServices
/CoreServices.h \
6646 DiskArbitration
/DiskArbitration.h \
6648 IOKit
/hid
/IOHIDLib.h \
6651 QuickTime
/ImageCompression.h \
6652 Security
/Security.h \
6703 netinet
/in_systm.h \
6766 valgrind
/memcheck.h \
6767 valgrind
/valgrind.h \
6771 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6772 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6773 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6774 cat >>confdefs.h
<<_ACEOF
6775 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6783 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6784 if ${ac_cv_header_stat_broken+:} false
; then :
6785 $as_echo_n "(cached) " >&6
6787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6788 /* end confdefs.h. */
6789 #include <sys/types.h>
6790 #include <sys/stat.h>
6792 #if defined S_ISBLK && defined S_IFDIR
6793 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6796 #if defined S_ISBLK && defined S_IFCHR
6797 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6800 #if defined S_ISLNK && defined S_IFREG
6801 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6804 #if defined S_ISSOCK && defined S_IFREG
6805 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6809 if ac_fn_c_try_compile
"$LINENO"; then :
6810 ac_cv_header_stat_broken
=no
6812 ac_cv_header_stat_broken
=yes
6814 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6817 $as_echo "$ac_cv_header_stat_broken" >&6; }
6818 if test $ac_cv_header_stat_broken = yes; then
6820 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6826 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6828 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6829 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6830 #ifdef HAVE_SYS_PARAM_H
6831 # include <sys/param.h>
6834 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6835 cat >>confdefs.h
<<_ACEOF
6836 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6851 netinet
/if_ether.h \
6852 netinet
/if_inarp.h \
6861 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6862 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6863 #ifdef HAVE_SYS_SOCKET_H
6864 # include <sys/socket.h>
6866 #ifdef HAVE_SYS_SOCKETVAR_H
6867 # include <sys/socketvar.h>
6869 #ifdef HAVE_NET_ROUTE_H
6870 # include <net/route.h>
6872 #ifdef HAVE_NETINET_IN_H
6873 # include <netinet/in.h>
6875 #ifdef HAVE_NETINET_IN_SYSTM_H
6876 # include <netinet/in_systm.h>
6878 #ifdef HAVE_NET_IF_H
6879 # include <net/if.h>
6881 #ifdef HAVE_NETINET_IP_H
6882 # include <netinet/ip.h>
6885 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6886 cat >>confdefs.h
<<_ACEOF
6887 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6895 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6897 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6898 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6902 #ifdef HAVE_SYS_SOCKET_H
6903 # include <sys/socket.h>
6905 #ifdef HAVE_SYS_SOCKETVAR_H
6906 # include <sys/socketvar.h>
6908 #ifdef HAVE_SYS_TIMEOUT_H
6909 # include <sys/timeout.h>
6911 #ifdef HAVE_NETINET_IN_H
6912 # include <netinet/in.h>
6914 #ifdef HAVE_NETINET_IN_SYSTM_H
6915 # include <netinet/in_systm.h>
6917 #ifdef HAVE_NETINET_IP_H
6918 # include <netinet/ip.h>
6920 #ifdef HAVE_NETINET_IP_VAR_H
6921 # include <netinet/ip_var.h>
6923 #ifdef HAVE_NETINET_IP_ICMP_H
6924 # include <netinet/ip_icmp.h>
6926 #ifdef HAVE_NETINET_UDP_H
6927 # include <netinet/udp.h>
6929 #ifdef HAVE_NETINET_TCP_H
6930 # include <netinet/tcp.h>
6932 #ifdef HAVE_NETINET_TCP_TIMER_H
6933 #include <netinet/tcp_timer.h>
6936 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6937 cat >>confdefs.h
<<_ACEOF
6938 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6946 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6948 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6949 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6950 #ifdef HAVE_ASM_TYPES_H
6951 # include <asm/types.h>
6953 #ifdef HAVE_SYS_SOCKET_H
6954 # include <sys/socket.h>
6956 #ifdef HAVE_LINUX_TYPES_H
6957 # include <linux/types.h>
6960 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6961 cat >>confdefs.h
<<_ACEOF
6962 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6970 for ac_header
in mach-o
/dyld_images.h
6972 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6973 # include <stdbool.h>
6975 #ifdef HAVE_STDINT_H
6976 # include <stdint.h>
6979 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6980 cat >>confdefs.h
<<_ACEOF
6981 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6989 for ac_header
in resolv.h
6991 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6992 #ifdef HAVE_SYS_SOCKET_H
6993 # include <sys/socket.h>
6995 #ifdef HAVE_NETINET_IN_H
6996 # include <netinet/in.h>
6998 #ifdef HAVE_ARPA_NAMESER_H
6999 # include <arpa/nameser.h>
7002 if test "x$ac_cv_header_resolv_h" = xyes
; then :
7003 cat >>confdefs.h
<<_ACEOF
7004 #define HAVE_RESOLV_H 1
7012 for ac_header
in ifaddrs.h
7014 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7016 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
7017 cat >>confdefs.h
<<_ACEOF
7018 #define HAVE_IFADDRS_H 1
7026 for ac_header
in sys
/ucontext.h
7028 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7030 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
7031 cat >>confdefs.h
<<_ACEOF
7032 #define HAVE_SYS_UCONTEXT_H 1
7040 for ac_header
in sys
/thr.h
7042 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7043 #ifdef HAVE_SYS_UCONTEXT_H
7044 #include <sys/ucontext.h>
7047 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
7048 cat >>confdefs.h
<<_ACEOF
7049 #define HAVE_SYS_THR_H 1
7057 for ac_header
in pthread_np.h
7059 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7060 #include <pthread.h>
7063 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
7064 cat >>confdefs.h
<<_ACEOF
7065 #define HAVE_PTHREAD_NP_H 1
7073 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
7075 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7076 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7077 #include <sys/time.h>
7079 #include <sys/types.h>
7080 #ifdef HAVE_ASM_TYPES_H
7081 #include <asm/types.h>
7084 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7085 cat >>confdefs.h
<<_ACEOF
7086 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7094 for ac_header
in libprocstat.h
7096 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7097 #include <sys/param.h>
7099 #ifdef HAVE_SYS_QUEUE_H
7100 #include <sys/queue.h>
7102 #ifdef HAVE_SYS_SOCKET_H
7103 #include <sys/socket.h>
7106 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
7107 cat >>confdefs.h
<<_ACEOF
7108 #define HAVE_LIBPROCSTAT_H 1
7117 dlldir
="\${libdir}/wine"
7121 DLLFLAGS
="-D_REENTRANT"
7130 STATIC_IMPLIBEXT
="def.a"
7131 # Extract the first word of "ldd", so it can be a program name with args.
7132 set dummy ldd
; ac_word
=$2
7133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7134 $as_echo_n "checking for $ac_word... " >&6; }
7135 if ${ac_cv_path_LDD+:} false
; then :
7136 $as_echo_n "(cached) " >&6
7140 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7143 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7144 as_dummy
="/sbin:/usr/sbin:$PATH"
7145 for as_dir
in $as_dummy
7148 test -z "$as_dir" && as_dir
=.
7149 for ac_exec_ext
in '' $ac_executable_extensions; do
7150 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7151 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7159 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7164 if test -n "$LDD"; then
7165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7166 $as_echo "$LDD" >&6; }
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7169 $as_echo "no" >&6; }
7173 if test -n "$ac_tool_prefix"; then
7174 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7175 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7177 $as_echo_n "checking for $ac_word... " >&6; }
7178 if ${ac_cv_prog_OTOOL+:} false
; then :
7179 $as_echo_n "(cached) " >&6
7181 if test -n "$OTOOL"; then
7182 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7188 test -z "$as_dir" && as_dir
=.
7189 for ac_exec_ext
in '' $ac_executable_extensions; do
7190 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7191 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7201 OTOOL
=$ac_cv_prog_OTOOL
7202 if test -n "$OTOOL"; then
7203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7204 $as_echo "$OTOOL" >&6; }
7206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7207 $as_echo "no" >&6; }
7212 if test -z "$ac_cv_prog_OTOOL"; then
7214 # Extract the first word of "otool", so it can be a program name with args.
7215 set dummy otool
; ac_word
=$2
7216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7217 $as_echo_n "checking for $ac_word... " >&6; }
7218 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
7219 $as_echo_n "(cached) " >&6
7221 if test -n "$ac_ct_OTOOL"; then
7222 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7228 test -z "$as_dir" && as_dir
=.
7229 for ac_exec_ext
in '' $ac_executable_extensions; do
7230 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7231 ac_cv_prog_ac_ct_OTOOL
="otool"
7232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7241 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7242 if test -n "$ac_ct_OTOOL"; then
7243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7244 $as_echo "$ac_ct_OTOOL" >&6; }
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7247 $as_echo "no" >&6; }
7250 if test "x$ac_ct_OTOOL" = x
; then
7253 case $cross_compiling:$ac_tool_warned in
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7256 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7257 ac_tool_warned
=yes ;;
7262 OTOOL
="$ac_cv_prog_OTOOL"
7265 if test -n "$ac_tool_prefix"; then
7266 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7267 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7269 $as_echo_n "checking for $ac_word... " >&6; }
7270 if ${ac_cv_prog_READELF+:} false
; then :
7271 $as_echo_n "(cached) " >&6
7273 if test -n "$READELF"; then
7274 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7276 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7280 test -z "$as_dir" && as_dir
=.
7281 for ac_exec_ext
in '' $ac_executable_extensions; do
7282 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7283 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7293 READELF
=$ac_cv_prog_READELF
7294 if test -n "$READELF"; then
7295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7296 $as_echo "$READELF" >&6; }
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7299 $as_echo "no" >&6; }
7304 if test -z "$ac_cv_prog_READELF"; then
7305 ac_ct_READELF
=$READELF
7306 # Extract the first word of "readelf", so it can be a program name with args.
7307 set dummy readelf
; ac_word
=$2
7308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7309 $as_echo_n "checking for $ac_word... " >&6; }
7310 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7311 $as_echo_n "(cached) " >&6
7313 if test -n "$ac_ct_READELF"; then
7314 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7316 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7320 test -z "$as_dir" && as_dir
=.
7321 for ac_exec_ext
in '' $ac_executable_extensions; do
7322 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7323 ac_cv_prog_ac_ct_READELF
="readelf"
7324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7333 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7334 if test -n "$ac_ct_READELF"; then
7335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7336 $as_echo "$ac_ct_READELF" >&6; }
7338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7339 $as_echo "no" >&6; }
7342 if test "x$ac_ct_READELF" = x
; then
7345 case $cross_compiling:$ac_tool_warned in
7347 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7348 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7349 ac_tool_warned
=yes ;;
7351 READELF
=$ac_ct_READELF
7354 READELF
="$ac_cv_prog_READELF"
7357 wine_rules_file
=conf$
$rules.
make
7358 rm -f $wine_rules_file
7360 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7361 ALL_TEST_RESOURCES
=""
7364 wine_fn_append_file
()
7366 as_fn_append
$1 " \\$as_nl $2"
7369 wine_fn_ignore_file
()
7372 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7373 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7374 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7378 wine_fn_append_rule
()
7380 $as_echo "$1" >>$wine_rules_file
7385 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7388 wine_fn_depend_rules
()
7390 wine_fn_append_rule \
7391 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7392 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7393 depend: $ac_dir/depend
7394 .PHONY: $ac_dir/depend
7395 $ac_dir/depend: \$(MAKEDEP) dummy
7396 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7399 wine_fn_pot_rules
()
7401 test "x$with_gettextpo" = xyes ||
return
7403 if wine_fn_has_flag mc
7405 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7406 wine_fn_append_rule \
7407 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7408 @cd $ac_dir && \$(MAKE) msg.pot
7409 $ac_dir/msg.pot: tools/wmc include"
7411 if wine_fn_has_flag po
7413 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7414 wine_fn_append_rule \
7415 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7416 @cd $ac_dir && \$(MAKE) rsrc.pot
7417 $ac_dir/rsrc.pot: tools/wrc include"
7421 wine_fn_all_rules
()
7423 wine_fn_depend_rules
7424 wine_fn_append_rule \
7427 $ac_dir: $ac_dir/Makefile dummy
7428 @cd $ac_dir && \$(MAKE)"
7431 wine_fn_install_rules
()
7433 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7435 wine_fn_append_rule \
7436 ".PHONY: $ac_dir/install $ac_dir/uninstall
7437 $ac_dir/install:: $ac_dir
7438 @cd $ac_dir && \$(MAKE) install
7439 $ac_dir/uninstall:: $ac_dir/Makefile
7440 @cd $ac_dir && \$(MAKE) uninstall
7441 install:: $ac_dir/install
7442 __uninstall__: $ac_dir/uninstall"
7444 if wine_fn_has_flag install-lib
7446 wine_fn_append_rule \
7447 ".PHONY: $ac_dir/install-lib
7448 $ac_dir/install-lib:: $ac_dir
7449 @cd $ac_dir && \$(MAKE) install-lib
7450 install-lib:: $ac_dir/install-lib"
7453 if wine_fn_has_flag install-dev
7455 wine_fn_append_rule \
7456 ".PHONY: $ac_dir/install-dev
7457 $ac_dir/install-dev:: $ac_dir
7458 @cd $ac_dir && \$(MAKE) install-dev
7459 install-dev:: $ac_dir/install-dev"
7463 wine_fn_clean_rules
()
7466 ac_extraclean
="$ac_dir/Makefile"
7467 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7469 */tests
) ac_extraclean
="$ac_extraclean $ac_dir/testlist.c" ;;
7472 if wine_fn_has_flag clean
7474 wine_fn_append_rule \
7475 "__clean__: $ac_dir/clean
7476 .PHONY: $ac_dir/clean
7477 $ac_dir/clean: $ac_dir/Makefile
7478 @cd $ac_dir && \$(MAKE) clean
7479 \$(RM) $ac_extraclean"
7481 wine_fn_append_rule \
7482 "__clean__: $ac_dir/clean
7483 .PHONY: $ac_dir/clean
7484 $ac_dir/clean: dummy
7485 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7489 wine_fn_disabled_rules
()
7492 ac_extraclean
="$ac_dir/Makefile"
7493 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7495 wine_fn_append_rule \
7496 "__clean__: $ac_dir/clean
7497 .PHONY: $ac_dir/clean
7498 $ac_dir/clean: dummy
7499 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7502 wine_fn_config_makefile
()
7508 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7509 wine_fn_disabled_rules
; return
7512 wine_fn_install_rules
7516 wine_fn_config_lib
()
7520 ac_dir
=dlls
/$ac_name
7523 if test "x$enable_tools" = xno
; then :
7526 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7531 wine_fn_append_rule \
7532 ".PHONY: $ac_dir/install $ac_dir/uninstall
7533 $ac_dir/install:: $ac_dir
7534 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7536 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7537 install install-dev:: $ac_dir/install
7538 __uninstall__: $ac_dir/uninstall
7539 __builddeps__: $ac_dir
7543 wine_fn_config_dll
()
7546 ac_dir
=dlls
/$ac_name
7549 ac_implib
=${4:-$ac_name}
7550 ac_file
=$ac_dir/lib
$ac_implib
7555 if test "x$enable_tools" = xno
; then :
7558 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7561 *16) ac_implibflags
=" -m16" ;;
7563 *) ac_dll
=$ac_dll.dll
;;
7567 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7568 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7569 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7570 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7572 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7573 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
7575 wine_fn_depend_rules
7576 wine_fn_clean_rules
$ac_clean
7578 wine_fn_disabled_rules
$ac_clean
7583 wine_fn_clean_rules
$ac_clean
7584 wine_fn_append_rule \
7585 "$ac_dir: __builddeps__
7586 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7587 @cd $ac_dir && \$(MAKE) \$@
7588 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7589 install install-lib:: $ac_dir/install-lib
7590 __uninstall__: $ac_dir/uninstall"
7591 if test -n "$DLLEXT"
7593 wine_fn_append_rule \
7594 "$ac_dir/install-lib:: $ac_dir
7595 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7596 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7598 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7600 wine_fn_append_rule \
7601 "$ac_dir/install-lib:: $ac_dir
7602 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7604 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7610 if wine_fn_has_flag staticimplib
7612 wine_fn_append_rule \
7613 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7614 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7615 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7616 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7617 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7618 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7619 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7620 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7621 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7623 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7624 install install-dev:: $ac_dir/install-dev
7625 __uninstall__: $ac_dir/uninstall"
7627 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7629 wine_fn_append_rule \
7630 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7631 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7633 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7636 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7638 wine_fn_append_rule \
7639 "__builddeps__: $ac_file.cross.a
7640 $ac_file.cross.a: $ac_dir/Makefile dummy
7641 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7644 elif wine_fn_has_flag implib
7646 wine_fn_append_rule \
7647 "__builddeps__: $ac_file.$IMPLIBEXT
7648 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7649 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7650 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7651 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7652 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7653 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7654 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7656 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7657 install install-dev:: $ac_dir/install-dev
7658 __uninstall__: $ac_dir/uninstall"
7659 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7661 wine_fn_append_rule \
7662 "__builddeps__: $ac_file.cross.a
7663 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7664 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7667 if test "$ac_name" != "$ac_implib"
7669 wine_fn_append_rule \
7670 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7671 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7672 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7674 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7675 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7676 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7678 wine_fn_append_rule \
7679 "__builddeps__: dlls/lib$ac_implib.cross.a
7680 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7681 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7683 \$(RM) dlls/lib$ac_implib.cross.a"
7684 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7690 wine_fn_config_program
()
7693 ac_dir
=programs
/$ac_name
7700 *) ac_program
=$ac_program.exe
;;
7704 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7705 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7706 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7707 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7709 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7710 wine_fn_disabled_rules
$ac_clean; return
7714 wine_fn_clean_rules
$ac_clean
7715 wine_fn_append_rule
"$ac_dir: __builddeps__"
7718 wine_fn_has_flag
install ||
return
7719 wine_fn_append_rule \
7720 ".PHONY: $ac_dir/install $ac_dir/uninstall
7721 install install-lib:: $ac_dir/install
7722 __uninstall__: $ac_dir/uninstall"
7724 if test -n "$DLLEXT"
7726 wine_fn_append_rule \
7727 "$ac_dir/install:: $ac_dir
7728 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7729 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7731 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7733 if test -z "$with_wine64" && wine_fn_has_flag installbin
7735 wine_fn_append_rule \
7736 "$ac_dir/install:: __tooldeps__
7737 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7739 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7742 wine_fn_append_rule \
7743 "$ac_dir/install:: $ac_dir
7744 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7746 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7749 if test -z "$with_wine64" && wine_fn_has_flag manpage
7751 wine_fn_append_rule \
7752 "$ac_dir/install:: $ac_dir
7753 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7755 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7759 wine_fn_config_test
()
7766 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7767 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7769 if test "x$enable_tests" = xno
; then :
7770 wine_fn_disabled_rules
$ac_clean; return
7773 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7775 wine_fn_clean_rules
$ac_clean
7777 wine_fn_append_rule \
7778 "$ac_dir: programs/winetest/Makefile __builddeps__
7779 programs/winetest: $ac_dir
7780 check test: $ac_dir/test
7781 .PHONY: $ac_dir/test
7783 @cd $ac_dir && \$(MAKE) test
7785 \$(RM) $ac_dir/*.ok"
7787 if test -n "$CROSSTARGET"
7789 wine_fn_append_rule \
7790 "crosstest: $ac_dir/crosstest
7791 .PHONY: $ac_dir/crosstest
7792 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7793 @cd $ac_dir && \$(MAKE) crosstest"
7797 wine_fn_config_tool
()
7801 if test "x$enable_tools" = xno
; then :
7806 wine_fn_install_rules
7809 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7810 wine_fn_append_rule
"$ac_dir: libs/port"
7812 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7816 wine_fn_config_symlink
()
7819 if test "x$1" = "x-d"
7825 wine_fn_append_rule \
7827 @./config.status \$@
7830 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7831 test -n "$ac_linkdir" ||
return
7832 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7836 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7837 loader_programs
="$wine_binary wine-installed"
7838 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7843 install install-lib:: wine-installed
7844 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7847 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7853 if test -n "$ac_tool_prefix"; then
7854 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7855 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7857 $as_echo_n "checking for $ac_word... " >&6; }
7858 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7859 $as_echo_n "(cached) " >&6
7861 if test -n "$DLLTOOL"; then
7862 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7864 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7868 test -z "$as_dir" && as_dir
=.
7869 for ac_exec_ext
in '' $ac_executable_extensions; do
7870 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7871 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7881 DLLTOOL
=$ac_cv_prog_DLLTOOL
7882 if test -n "$DLLTOOL"; then
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7884 $as_echo "$DLLTOOL" >&6; }
7886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7887 $as_echo "no" >&6; }
7892 if test -z "$ac_cv_prog_DLLTOOL"; then
7893 ac_ct_DLLTOOL
=$DLLTOOL
7894 # Extract the first word of "dlltool", so it can be a program name with args.
7895 set dummy dlltool
; ac_word
=$2
7896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7897 $as_echo_n "checking for $ac_word... " >&6; }
7898 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7899 $as_echo_n "(cached) " >&6
7901 if test -n "$ac_ct_DLLTOOL"; then
7902 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7904 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7908 test -z "$as_dir" && as_dir
=.
7909 for ac_exec_ext
in '' $ac_executable_extensions; do
7910 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7911 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7921 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7922 if test -n "$ac_ct_DLLTOOL"; then
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7924 $as_echo "$ac_ct_DLLTOOL" >&6; }
7926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7927 $as_echo "no" >&6; }
7930 if test "x$ac_ct_DLLTOOL" = x
; then
7933 case $cross_compiling:$ac_tool_warned in
7935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7936 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7937 ac_tool_warned
=yes ;;
7939 DLLTOOL
=$ac_ct_DLLTOOL
7942 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7948 STATIC_IMPLIBEXT
="a"
7949 enable_iphlpapi
=${enable_iphlpapi:-no}
7950 enable_kernel32
=${enable_kernel32:-no}
7951 enable_msvcrt
=${enable_msvcrt:-no}
7952 enable_ntdll
=${enable_ntdll:-no}
7953 enable_ws2_32
=${enable_ws2_32:-no}
7954 enable_loader
=${enable_loader:-no}
7955 enable_server
=${enable_server:-no}
7956 with_x
=${with_x:-no}
7957 with_pthread
=${with_pthread:-no}
7963 SOCKET_LIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7967 libwine_targets
="libwine.dll libwine.a"
7969 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7971 all: libwine.dll libwine.a
7973 libwine.a: \$(srcdir)/wine.def
7974 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7976 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7977 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7979 install install-lib:: libwine.dll
7980 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7982 install install-dev:: libwine.a
7983 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7986 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7992 for ac_header
in libunwind.h
7994 ac_fn_c_check_header_mongrel
"$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7995 if test "x$ac_cv_header_libunwind_h" = xyes
; then :
7996 cat >>confdefs.h
<<_ACEOF
7997 #define HAVE_LIBUNWIND_H 1
8005 DLLFLAGS
="$DLLFLAGS -fPIC"
8006 LIBWINE_LDFLAGS
="-multiply_defined suppress"
8007 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8008 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8009 COREFOUNDATION_LIBS
="-framework CoreFoundation"
8011 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
8013 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
8015 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
8017 CORESERVICES_LIBS
="-framework CoreServices"
8019 APPKIT_LIBS
="-framework AppKit"
8021 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8023 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8024 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
8025 $as_echo_n "(cached) " >&6
8027 ac_wine_try_cflags_saved
=$CFLAGS
8028 CFLAGS
="$CFLAGS -Wl,-no_pie"
8029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8030 /* end confdefs.h. */
8031 int main(int argc, char **argv) { return 0; }
8033 if ac_fn_c_try_link
"$LINENO"; then :
8034 ac_cv_cflags__Wl__no_pie
=yes
8036 ac_cv_cflags__Wl__no_pie
=no
8038 rm -f core conftest.err conftest.
$ac_objext \
8039 conftest
$ac_exeext conftest.
$ac_ext
8040 CFLAGS
=$ac_wine_try_cflags_saved
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8043 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8044 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
8045 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
8047 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8049 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
8052 if test "$ac_cv_header_Security_Security_h" = "yes"
8054 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
8056 ac_save_LIBS
="$LIBS"
8057 LIBS
="$LIBS $SECURITY_LIBS"
8058 for ac_func
in SSLCopyPeerCertificates
8060 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8061 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
8062 cat >>confdefs.h
<<_ACEOF
8063 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8069 LIBS
="$ac_save_LIBS"
8070 with_gnutls
=${with_gnutls:-no}
8072 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8074 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8076 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8079 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8082 ac_save_LIBS
="$LIBS"
8083 LIBS
="$LIBS $COREAUDIO_LIBS"
8084 for ac_func
in AUGraphAddNode
8086 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8087 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
8088 cat >>confdefs.h
<<_ACEOF
8089 #define HAVE_AUGRAPHADDNODE 1
8095 LIBS
="$ac_save_LIBS"
8097 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8099 OPENAL_LIBS
="-framework OpenAL"
8102 cat >>confdefs.h
<<_ACEOF
8103 #define HAVE_OPENAL 1
8106 ac_cv_lib_openal
=yes
8108 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8110 OPENCL_LIBS
="-framework OpenCL"
8112 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
8114 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8116 ac_save_LIBS
="$LIBS"
8117 LIBS
="$LIBS $IOKIT_LIBS"
8118 for ac_func
in IOHIDManagerCreate
8120 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8121 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
8122 cat >>confdefs.h
<<_ACEOF
8123 #define HAVE_IOHIDMANAGERCREATE 1
8129 LIBS
="$ac_save_LIBS"
8131 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8133 ac_save_LIBS
="$LIBS"
8134 LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8136 $as_echo_n "checking for the QuickTime framework... " >&6; }
8137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8138 /* end confdefs.h. */
8139 #include <QuickTime/ImageCompression.h>
8143 CodecManagerVersion(NULL);
8148 if ac_fn_c_try_link
"$LINENO"; then :
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8150 $as_echo "yes" >&6; }
8151 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8153 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
8155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8156 $as_echo "no" >&6; }
8157 ac_cv_header_QuickTime_ImageCompression_h
=no
8159 rm -f core conftest.err conftest.
$ac_objext \
8160 conftest
$ac_exeext conftest.
$ac_ext
8161 LIBS
="$ac_save_LIBS"
8163 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8165 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8167 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8169 CARBON_LIBS
="-framework Carbon"
8173 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8175 ac_save_LIBS
="$LIBS"
8176 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
8177 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8178 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
8179 enable_winemac_drv
=${enable_winemac_drv:-yes}
8182 LIBS
="$ac_save_LIBS"
8185 if test "x$enable_win16" = "xyes"
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8188 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8189 if test "$cross_compiling" = yes; then :
8190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8191 $as_echo "cross-compiling, assuming yes" >&6; }
8193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8194 /* end confdefs.h. */
8197 "good:\tnop;nop\n\t"
8198 ".globl _testfunc\n"
8199 "_testfunc:\tcallw good");
8200 extern void testfunc();
8204 unsigned short *p = (unsigned short *)testfunc;
8205 return p[0] != 0xe866 || p[1] != 0xfffa
8210 if ac_fn_c_try_run
"$LINENO"; then :
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8212 $as_echo "yes" >&6; }
8214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8215 $as_echo "no" >&6; }
8216 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
8218 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8219 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8224 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
8226 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8230 libwine.$libwine_version.dylib: \$(OBJS)
8231 \$(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 \$@
8233 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
8234 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
8236 libwine.dylib: libwine.$libwine_soversion.dylib
8237 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
8239 install install-lib:: libwine.$libwine_version.dylib
8240 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
8241 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
8243 install install-dev::
8244 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
8247 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
8251 as_fn_append LOADER_RULES
"
8252 $wine_binary: main.o wine_info.plist
8253 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8255 wine-installed: main.o wine_info.plist
8256 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8261 DLLFLAGS
="$DLLFLAGS -fPIC"
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8266 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8267 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8268 $as_echo_n "(cached) " >&6
8270 ac_wine_try_cflags_saved
=$CFLAGS
8271 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8273 /* end confdefs.h. */
8274 int main(int argc, char **argv) { return 0; }
8276 if ac_fn_c_try_link
"$LINENO"; then :
8277 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8279 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8281 rm -f core conftest.err conftest.
$ac_objext \
8282 conftest
$ac_exeext conftest.
$ac_ext
8283 CFLAGS
=$ac_wine_try_cflags_saved
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8286 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8287 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8288 LDEXECFLAGS
="-Wl,--export-dynamic"
8290 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8292 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8293 if eval \
${$as_ac_var+:} false
; then :
8294 $as_echo_n "(cached) " >&6
8296 ac_wine_try_cflags_saved
=$CFLAGS
8297 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8299 /* end confdefs.h. */
8300 int main(int argc, char **argv) { return 0; }
8302 if ac_fn_c_try_link
"$LINENO"; then :
8303 eval "$as_ac_var=yes"
8305 eval "$as_ac_var=no"
8307 rm -f core conftest.err conftest.
$ac_objext \
8308 conftest
$ac_exeext conftest.
$ac_ext
8309 CFLAGS
=$ac_wine_try_cflags_saved
8311 eval ac_res
=\$
$as_ac_var
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8313 $as_echo "$ac_res" >&6; }
8314 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8315 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8316 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8318 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8320 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8321 if eval \
${$as_ac_var+:} false
; then :
8322 $as_echo_n "(cached) " >&6
8324 ac_wine_try_cflags_saved
=$CFLAGS
8325 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8327 /* end confdefs.h. */
8328 int main(int argc, char **argv) { return 0; }
8330 if ac_fn_c_try_link
"$LINENO"; then :
8331 eval "$as_ac_var=yes"
8333 eval "$as_ac_var=no"
8335 rm -f core conftest.err conftest.
$ac_objext \
8336 conftest
$ac_exeext conftest.
$ac_ext
8337 CFLAGS
=$ac_wine_try_cflags_saved
8339 eval ac_res
=\$
$as_ac_var
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8341 $as_echo "$ac_res" >&6; }
8342 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8343 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8344 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8349 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8350 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8351 $as_echo_n "(cached) " >&6
8353 ac_wine_try_cflags_saved
=$CFLAGS
8354 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8356 /* end confdefs.h. */
8357 int main(int argc, char **argv) { return 0; }
8359 if ac_fn_c_try_link
"$LINENO"; then :
8360 ac_cv_cflags__Wl___enable_new_dtags
=yes
8362 ac_cv_cflags__Wl___enable_new_dtags
=no
8364 rm -f core conftest.err conftest.
$ac_objext \
8365 conftest
$ac_exeext conftest.
$ac_ext
8366 CFLAGS
=$ac_wine_try_cflags_saved
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8369 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8370 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8371 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8375 *i
[3456789]86* | x86_64
)
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8377 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8378 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8379 $as_echo_n "(cached) " >&6
8381 ac_wine_try_cflags_saved
=$CFLAGS
8382 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8384 /* end confdefs.h. */
8385 int main(int argc, char **argv) { return 0; }
8387 if ac_fn_c_try_link
"$LINENO"; then :
8388 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8390 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8392 rm -f core conftest.err conftest.
$ac_objext \
8393 conftest
$ac_exeext conftest.
$ac_ext
8394 CFLAGS
=$ac_wine_try_cflags_saved
8396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8397 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8398 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8399 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8404 libwine_targets
="libwine.so"
8406 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8410 libwine.so: \$(OBJS)
8411 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8413 install install-lib:: libwine.so
8414 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8417 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8421 as_fn_append LOADER_RULES
"
8422 $wine_binary: main.o
8423 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8425 wine-installed: main.o
8426 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8431 DLLFLAGS
="$DLLFLAGS -fPIC"
8433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8434 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8435 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8436 $as_echo_n "(cached) " >&6
8438 ac_wine_try_cflags_saved
=$CFLAGS
8439 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8440 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8441 /* end confdefs.h. */
8444 if ac_fn_c_try_link
"$LINENO"; then :
8445 ac_cv_c_dll_gnuelf
="yes"
8447 ac_cv_c_dll_gnuelf
="no"
8449 rm -f core conftest.err conftest.
$ac_objext \
8450 conftest
$ac_exeext conftest.
$ac_ext
8451 CFLAGS
=$ac_wine_try_cflags_saved
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8454 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8455 if test "$ac_cv_c_dll_gnuelf" = "yes"
8457 LDSHARED
="\$(CC) -shared"
8458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8459 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8460 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8461 $as_echo_n "(cached) " >&6
8463 ac_wine_try_cflags_saved
=$CFLAGS
8464 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8465 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8466 /* end confdefs.h. */
8467 int main(int argc, char **argv) { return 0; }
8469 if ac_fn_c_try_link
"$LINENO"; then :
8470 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8472 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8474 rm -f core conftest.err conftest.
$ac_objext \
8475 conftest
$ac_exeext conftest.
$ac_ext
8476 CFLAGS
=$ac_wine_try_cflags_saved
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8479 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8480 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8481 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8484 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8485 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8486 $as_echo_n "(cached) " >&6
8488 ac_wine_try_cflags_saved
=$CFLAGS
8489 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8491 /* end confdefs.h. */
8492 int main(int argc, char **argv) { return 0; }
8494 if ac_fn_c_try_link
"$LINENO"; then :
8495 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8497 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8499 rm -f core conftest.err conftest.
$ac_objext \
8500 conftest
$ac_exeext conftest.
$ac_ext
8501 CFLAGS
=$ac_wine_try_cflags_saved
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8504 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8505 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8506 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8510 echo '{ global: *; };' >conftest.map
8511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8512 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8513 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8514 $as_echo_n "(cached) " >&6
8516 ac_wine_try_cflags_saved
=$CFLAGS
8517 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8519 /* end confdefs.h. */
8520 int main(int argc, char **argv) { return 0; }
8522 if ac_fn_c_try_link
"$LINENO"; then :
8523 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8525 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8527 rm -f core conftest.err conftest.
$ac_objext \
8528 conftest
$ac_exeext conftest.
$ac_ext
8529 CFLAGS
=$ac_wine_try_cflags_saved
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8532 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8533 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8534 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8539 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8540 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8541 $as_echo_n "(cached) " >&6
8543 ac_wine_try_cflags_saved
=$CFLAGS
8544 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8545 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8546 /* end confdefs.h. */
8547 int main(int argc, char **argv) { return 0; }
8549 if ac_fn_c_try_link
"$LINENO"; then :
8550 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8552 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8554 rm -f core conftest.err conftest.
$ac_objext \
8555 conftest
$ac_exeext conftest.
$ac_ext
8556 CFLAGS
=$ac_wine_try_cflags_saved
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8559 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8560 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8561 LDEXECFLAGS
="-Wl,--export-dynamic"
8564 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8566 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8567 if eval \
${$as_ac_var+:} false
; then :
8568 $as_echo_n "(cached) " >&6
8570 ac_wine_try_cflags_saved
=$CFLAGS
8571 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8573 /* end confdefs.h. */
8574 int main(int argc, char **argv) { return 0; }
8576 if ac_fn_c_try_link
"$LINENO"; then :
8577 eval "$as_ac_var=yes"
8579 eval "$as_ac_var=no"
8581 rm -f core conftest.err conftest.
$ac_objext \
8582 conftest
$ac_exeext conftest.
$ac_ext
8583 CFLAGS
=$ac_wine_try_cflags_saved
8585 eval ac_res
=\$
$as_ac_var
8586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8587 $as_echo "$ac_res" >&6; }
8588 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8589 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8590 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8592 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8594 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8595 if eval \
${$as_ac_var+:} false
; then :
8596 $as_echo_n "(cached) " >&6
8598 ac_wine_try_cflags_saved
=$CFLAGS
8599 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8601 /* end confdefs.h. */
8602 int main(int argc, char **argv) { return 0; }
8604 if ac_fn_c_try_link
"$LINENO"; then :
8605 eval "$as_ac_var=yes"
8607 eval "$as_ac_var=no"
8609 rm -f core conftest.err conftest.
$ac_objext \
8610 conftest
$ac_exeext conftest.
$ac_ext
8611 CFLAGS
=$ac_wine_try_cflags_saved
8613 eval ac_res
=\$
$as_ac_var
8614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8615 $as_echo "$ac_res" >&6; }
8616 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8617 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8618 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8623 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8624 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8625 $as_echo_n "(cached) " >&6
8627 ac_wine_try_cflags_saved
=$CFLAGS
8628 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8630 /* end confdefs.h. */
8631 int main(int argc, char **argv) { return 0; }
8633 if ac_fn_c_try_link
"$LINENO"; then :
8634 ac_cv_cflags__Wl___enable_new_dtags
=yes
8636 ac_cv_cflags__Wl___enable_new_dtags
=no
8638 rm -f core conftest.err conftest.
$ac_objext \
8639 conftest
$ac_exeext conftest.
$ac_ext
8640 CFLAGS
=$ac_wine_try_cflags_saved
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8643 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8644 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8645 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8649 *i
[3456789]86* | x86_64
)
8650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8651 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8652 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8653 $as_echo_n "(cached) " >&6
8655 ac_wine_try_cflags_saved
=$CFLAGS
8656 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8658 /* end confdefs.h. */
8659 int main(int argc, char **argv) { return 0; }
8661 if ac_fn_c_try_link
"$LINENO"; then :
8662 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8664 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8666 rm -f core conftest.err conftest.
$ac_objext \
8667 conftest
$ac_exeext conftest.
$ac_ext
8668 CFLAGS
=$ac_wine_try_cflags_saved
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8671 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8672 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8674 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8675 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8679 # Extract the first word of "prelink", so it can be a program name with args.
8680 set dummy prelink
; ac_word
=$2
8681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8682 $as_echo_n "checking for $ac_word... " >&6; }
8683 if ${ac_cv_path_PRELINK+:} false
; then :
8684 $as_echo_n "(cached) " >&6
8688 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8691 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8692 for as_dir
in /sbin
/usr
/sbin
$PATH
8695 test -z "$as_dir" && as_dir
=.
8696 for ac_exec_ext
in '' $ac_executable_extensions; do
8697 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8698 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8706 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8710 PRELINK
=$ac_cv_path_PRELINK
8711 if test -n "$PRELINK"; then
8712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8713 $as_echo "$PRELINK" >&6; }
8715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8716 $as_echo "no" >&6; }
8720 if test "x$PRELINK" = xfalse
8722 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8729 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8730 if ${ac_cv_c_dll_unixware+:} false
; then :
8731 $as_echo_n "(cached) " >&6
8733 ac_wine_try_cflags_saved
=$CFLAGS
8734 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8736 /* end confdefs.h. */
8739 if ac_fn_c_try_link
"$LINENO"; then :
8740 ac_cv_c_dll_unixware
="yes"
8742 ac_cv_c_dll_unixware
="no"
8744 rm -f core conftest.err conftest.
$ac_objext \
8745 conftest
$ac_exeext conftest.
$ac_ext
8746 CFLAGS
=$ac_wine_try_cflags_saved
8748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8749 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8750 if test "$ac_cv_c_dll_unixware" = "yes"
8752 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8755 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8757 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8761 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8762 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8764 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8765 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8767 libwine.so: libwine.so.$libwine_soversion
8768 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8770 install install-lib:: libwine.so.$libwine_version
8771 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8772 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8774 install install-dev::
8775 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8778 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8782 as_fn_append LOADER_RULES
"
8783 $wine_binary: main.o
8784 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8786 wine-installed: main.o
8787 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8792 as_fn_append LIBWINE_RULES
"
8793 EXTRA_TARGETS = $libwine_targets
8796 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8797 enable_winemac_drv
=${enable_winemac_drv:-no}
8801 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8805 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
8808 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 " ;;
8810 ac_prefix_list
="" ;;
8812 for ac_prog
in $ac_prefix_list
8814 # Extract the first word of "$ac_prog", so it can be a program name with args.
8815 set dummy
$ac_prog; ac_word
=$2
8816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8817 $as_echo_n "checking for $ac_word... " >&6; }
8818 if ${ac_cv_prog_CROSSCC+:} false
; then :
8819 $as_echo_n "(cached) " >&6
8821 if test -n "$CROSSCC"; then
8822 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8824 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8828 test -z "$as_dir" && as_dir
=.
8829 for ac_exec_ext
in '' $ac_executable_extensions; do
8830 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8831 ac_cv_prog_CROSSCC
="$ac_prog"
8832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8841 CROSSCC
=$ac_cv_prog_CROSSCC
8842 if test -n "$CROSSCC"; then
8843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8844 $as_echo "$CROSSCC" >&6; }
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8847 $as_echo "no" >&6; }
8851 test -n "$CROSSCC" && break
8853 test -n "$CROSSCC" || CROSSCC
="false"
8855 if test "$CROSSCC" != "false"
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8860 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8862 /* end confdefs.h. */
8872 if ac_fn_c_try_compile
"$LINENO"; then :
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8874 $as_echo "yes" >&6; }
8880 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8886 $as_echo "no" >&6; }
8888 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8894 if test "$ac_cv_header_pthread_h" = "yes"
8896 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8897 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8901 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8902 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8903 $as_echo_n "(cached) " >&6
8905 ac_check_lib_save_LIBS
=$LIBS
8906 LIBS
="-lpthread $LIBS"
8907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8908 /* end confdefs.h. */
8910 /* Override any GCC internal prototype to avoid an error.
8911 Use char because int might match the return type of a GCC
8912 builtin and then its argument prototype would still apply. */
8916 char pthread_create ();
8920 return pthread_create ();
8925 if ac_fn_c_try_link
"$LINENO"; then :
8926 ac_cv_lib_pthread_pthread_create
=yes
8928 ac_cv_lib_pthread_pthread_create
=no
8930 rm -f core conftest.err conftest.
$ac_objext \
8931 conftest
$ac_exeext conftest.
$ac_ext
8932 LIBS
=$ac_check_lib_save_LIBS
8934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8935 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8936 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8937 PTHREAD_LIBS
="-lpthread"
8944 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8945 case "x$with_pthread" in
8947 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8948 Wine cannot support threads without libpthread.
8949 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8955 $as_echo_n "checking for X... " >&6; }
8958 # Check whether --with-x was given.
8959 if test "${with_x+set}" = set; then :
8963 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8964 if test "x$with_x" = xno
; then
8965 # The user explicitly disabled X.
8968 case $x_includes,$x_libraries in #(
8969 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8970 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8971 $as_echo_n "(cached) " >&6
8973 # One or both of the vars are not set, and there is no cached value.
8974 ac_x_includes
=no ac_x_libraries
=no
8975 rm -f -r conftest.dir
8976 if mkdir conftest.dir
; then
8978 cat >Imakefile
<<'_ACEOF'
8980 @echo incroot='${INCROOT}'
8982 @echo usrlibdir='${USRLIBDIR}'
8984 @echo libdir='${LIBDIR}'
8986 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8987 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8988 for ac_var
in incroot usrlibdir libdir
; do
8989 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8991 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8992 for ac_extension
in a so sl dylib la dll
; do
8993 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8994 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8995 ac_im_usrlibdir
=$ac_im_libdir; break
8998 # Screen out bogus values from the imake configuration. They are
8999 # bogus both because they are the default anyway, and because
9000 # using them would break gcc on systems where it needs fixed includes.
9001 case $ac_im_incroot in
9002 /usr
/include
) ac_x_includes
= ;;
9003 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
9005 case $ac_im_usrlibdir in
9006 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
9007 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
9011 rm -f -r conftest.dir
9014 # Standard set of common directories for X headers.
9015 # Check X11 before X11Rn because it is often a symlink to the current release.
9029 /usr/local/X11/include
9030 /usr/local/X11R7/include
9031 /usr/local/X11R6/include
9032 /usr/local/X11R5/include
9033 /usr/local/X11R4/include
9035 /usr/local/include/X11
9036 /usr/local/include/X11R7
9037 /usr/local/include/X11R6
9038 /usr/local/include/X11R5
9039 /usr/local/include/X11R4
9043 /usr/XFree86/include/X11
9047 /usr/unsupported/include
9049 /usr/local/x11r5/include
9050 /usr/lpp/Xamples/include
9052 /usr/openwin/include
9053 /usr/openwin/share/include'
9055 if test "$ac_x_includes" = no
; then
9056 # Guess where to find include files, by looking for Xlib.h.
9057 # First, try using that file with no special directory specified.
9058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9059 /* end confdefs.h. */
9060 #include <X11/Xlib.h>
9062 if ac_fn_c_try_cpp
"$LINENO"; then :
9063 # We can compile using X headers with no special include directory.
9066 for ac_dir
in $ac_x_header_dirs; do
9067 if test -r "$ac_dir/X11/Xlib.h"; then
9068 ac_x_includes
=$ac_dir
9073 rm -f conftest.err conftest.i conftest.
$ac_ext
9074 fi # $ac_x_includes = no
9076 if test "$ac_x_libraries" = no
; then
9077 # Check for the libraries.
9078 # See if we find them without any special options.
9079 # Don't add to $LIBS permanently.
9082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9083 /* end confdefs.h. */
9084 #include <X11/Xlib.h>
9093 if ac_fn_c_try_link
"$LINENO"; then :
9095 # We can link X programs with no special library path.
9099 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9101 # Don't even attempt the hair of trying to link an X program!
9102 for ac_extension
in a so sl dylib la dll
; do
9103 if test -r "$ac_dir/libX11.$ac_extension"; then
9104 ac_x_libraries
=$ac_dir
9110 rm -f core conftest.err conftest.
$ac_objext \
9111 conftest
$ac_exeext conftest.
$ac_ext
9112 fi # $ac_x_libraries = no
9114 case $ac_x_includes,$ac_x_libraries in #(
9116 # Didn't find X, or a directory has "'" in its name.
9117 ac_cv_have_x
="have_x=no";; #(
9119 # Record where we found X for the cache.
9120 ac_cv_have_x
="have_x=yes\
9121 ac_x_includes='$ac_x_includes'\
9122 ac_x_libraries='$ac_x_libraries'"
9128 eval "$ac_cv_have_x"
9131 if test "$have_x" != yes; then
9132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9133 $as_echo "$have_x" >&6; }
9136 # If each of the values was on the command line, it overrides each guess.
9137 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
9138 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
9139 # Update the cache value to reflect the command line values.
9140 ac_cv_have_x
="have_x=yes\
9141 ac_x_includes='$x_includes'\
9142 ac_x_libraries='$x_libraries'"
9143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9144 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9147 if test "$no_x" = yes; then
9148 # Not all programs may use this symbol, but it does not hurt to define it.
9150 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9152 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
9154 if test -n "$x_includes"; then
9155 X_CFLAGS
="$X_CFLAGS -I$x_includes"
9158 # It would also be nice to do this for all -L options, not just this one.
9159 if test -n "$x_libraries"; then
9160 X_LIBS
="$X_LIBS -L$x_libraries"
9161 # For Solaris; some versions of Sun CC require a space after -R and
9162 # others require no space. Words are not sufficient . . . .
9163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9164 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9165 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
9166 ac_xsave_c_werror_flag
=$ac_c_werror_flag
9167 ac_c_werror_flag
=yes
9168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9169 /* end confdefs.h. */
9179 if ac_fn_c_try_link
"$LINENO"; then :
9180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9181 $as_echo "no" >&6; }
9182 X_LIBS
="$X_LIBS -R$x_libraries"
9184 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9186 /* end confdefs.h. */
9196 if ac_fn_c_try_link
"$LINENO"; then :
9197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9198 $as_echo "yes" >&6; }
9199 X_LIBS
="$X_LIBS -R $x_libraries"
9201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9202 $as_echo "neither works" >&6; }
9204 rm -f core conftest.err conftest.
$ac_objext \
9205 conftest
$ac_exeext conftest.
$ac_ext
9207 rm -f core conftest.err conftest.
$ac_objext \
9208 conftest
$ac_exeext conftest.
$ac_ext
9209 ac_c_werror_flag
=$ac_xsave_c_werror_flag
9213 # Check for system-dependent libraries X programs must link with.
9214 # Do this before checking for the system-independent R6 libraries
9215 # (-lICE), since we may need -lsocket or whatever for X linking.
9217 if test "$ISC" = yes; then
9218 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9220 # Martyn Johnson says this is needed for Ultrix, if the X
9221 # libraries were built with DECnet support. And Karl Berry says
9222 # the Alpha needs dnet_stub (dnet does not exist).
9223 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
9224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9225 /* end confdefs.h. */
9227 /* Override any GCC internal prototype to avoid an error.
9228 Use char because int might match the return type of a GCC
9229 builtin and then its argument prototype would still apply. */
9233 char XOpenDisplay ();
9237 return XOpenDisplay ();
9242 if ac_fn_c_try_link
"$LINENO"; then :
9245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9246 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9247 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
9248 $as_echo_n "(cached) " >&6
9250 ac_check_lib_save_LIBS
=$LIBS
9252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9253 /* end confdefs.h. */
9255 /* Override any GCC internal prototype to avoid an error.
9256 Use char because int might match the return type of a GCC
9257 builtin and then its argument prototype would still apply. */
9265 return dnet_ntoa ();
9270 if ac_fn_c_try_link
"$LINENO"; then :
9271 ac_cv_lib_dnet_dnet_ntoa
=yes
9273 ac_cv_lib_dnet_dnet_ntoa
=no
9275 rm -f core conftest.err conftest.
$ac_objext \
9276 conftest
$ac_exeext conftest.
$ac_ext
9277 LIBS
=$ac_check_lib_save_LIBS
9279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9280 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9281 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
9282 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9285 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9287 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9288 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
9289 $as_echo_n "(cached) " >&6
9291 ac_check_lib_save_LIBS
=$LIBS
9292 LIBS
="-ldnet_stub $LIBS"
9293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9294 /* end confdefs.h. */
9296 /* Override any GCC internal prototype to avoid an error.
9297 Use char because int might match the return type of a GCC
9298 builtin and then its argument prototype would still apply. */
9306 return dnet_ntoa ();
9311 if ac_fn_c_try_link
"$LINENO"; then :
9312 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
9314 ac_cv_lib_dnet_stub_dnet_ntoa
=no
9316 rm -f core conftest.err conftest.
$ac_objext \
9317 conftest
$ac_exeext conftest.
$ac_ext
9318 LIBS
=$ac_check_lib_save_LIBS
9320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9321 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9322 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9323 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9328 rm -f core conftest.err conftest.
$ac_objext \
9329 conftest
$ac_exeext conftest.
$ac_ext
9330 LIBS
="$ac_xsave_LIBS"
9332 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9333 # to get the SysV transport functions.
9334 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9336 # The nsl library prevents programs from opening the X display
9337 # on Irix 5.2, according to T.E. Dickey.
9338 # The functions gethostbyname, getservbyname, and inet_addr are
9339 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9340 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9341 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9345 if test $ac_cv_func_gethostbyname = no
; then
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9347 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9348 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9349 $as_echo_n "(cached) " >&6
9351 ac_check_lib_save_LIBS
=$LIBS
9353 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9354 /* end confdefs.h. */
9356 /* Override any GCC internal prototype to avoid an error.
9357 Use char because int might match the return type of a GCC
9358 builtin and then its argument prototype would still apply. */
9362 char gethostbyname ();
9366 return gethostbyname ();
9371 if ac_fn_c_try_link
"$LINENO"; then :
9372 ac_cv_lib_nsl_gethostbyname
=yes
9374 ac_cv_lib_nsl_gethostbyname
=no
9376 rm -f core conftest.err conftest.
$ac_objext \
9377 conftest
$ac_exeext conftest.
$ac_ext
9378 LIBS
=$ac_check_lib_save_LIBS
9380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9381 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9382 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9383 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9386 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9388 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9389 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9390 $as_echo_n "(cached) " >&6
9392 ac_check_lib_save_LIBS
=$LIBS
9394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9395 /* end confdefs.h. */
9397 /* Override any GCC internal prototype to avoid an error.
9398 Use char because int might match the return type of a GCC
9399 builtin and then its argument prototype would still apply. */
9403 char gethostbyname ();
9407 return gethostbyname ();
9412 if ac_fn_c_try_link
"$LINENO"; then :
9413 ac_cv_lib_bsd_gethostbyname
=yes
9415 ac_cv_lib_bsd_gethostbyname
=no
9417 rm -f core conftest.err conftest.
$ac_objext \
9418 conftest
$ac_exeext conftest.
$ac_ext
9419 LIBS
=$ac_check_lib_save_LIBS
9421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9422 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9423 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9424 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9430 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9431 # socket/setsockopt and other routines are undefined under SCO ODT
9432 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9433 # on later versions), says Simon Leinen: it contains gethostby*
9434 # variants that don't use the name server (or something). -lsocket
9435 # must be given before -lnsl if both are needed. We assume that
9436 # if connect needs -lnsl, so does gethostbyname.
9437 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9438 if test "x$ac_cv_func_connect" = xyes
; then :
9442 if test $ac_cv_func_connect = no
; then
9443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9444 $as_echo_n "checking for connect in -lsocket... " >&6; }
9445 if ${ac_cv_lib_socket_connect+:} false
; then :
9446 $as_echo_n "(cached) " >&6
9448 ac_check_lib_save_LIBS
=$LIBS
9449 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9451 /* end confdefs.h. */
9453 /* Override any GCC internal prototype to avoid an error.
9454 Use char because int might match the return type of a GCC
9455 builtin and then its argument prototype would still apply. */
9468 if ac_fn_c_try_link
"$LINENO"; then :
9469 ac_cv_lib_socket_connect
=yes
9471 ac_cv_lib_socket_connect
=no
9473 rm -f core conftest.err conftest.
$ac_objext \
9474 conftest
$ac_exeext conftest.
$ac_ext
9475 LIBS
=$ac_check_lib_save_LIBS
9477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9478 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9479 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9480 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9485 # Guillermo Gomez says -lposix is necessary on A/UX.
9486 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9487 if test "x$ac_cv_func_remove" = xyes
; then :
9491 if test $ac_cv_func_remove = no
; then
9492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9493 $as_echo_n "checking for remove in -lposix... " >&6; }
9494 if ${ac_cv_lib_posix_remove+:} false
; then :
9495 $as_echo_n "(cached) " >&6
9497 ac_check_lib_save_LIBS
=$LIBS
9498 LIBS
="-lposix $LIBS"
9499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9500 /* end confdefs.h. */
9502 /* Override any GCC internal prototype to avoid an error.
9503 Use char because int might match the return type of a GCC
9504 builtin and then its argument prototype would still apply. */
9517 if ac_fn_c_try_link
"$LINENO"; then :
9518 ac_cv_lib_posix_remove
=yes
9520 ac_cv_lib_posix_remove
=no
9522 rm -f core conftest.err conftest.
$ac_objext \
9523 conftest
$ac_exeext conftest.
$ac_ext
9524 LIBS
=$ac_check_lib_save_LIBS
9526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9527 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9528 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9529 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9534 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9535 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9536 if test "x$ac_cv_func_shmat" = xyes
; then :
9540 if test $ac_cv_func_shmat = no
; then
9541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9542 $as_echo_n "checking for shmat in -lipc... " >&6; }
9543 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9544 $as_echo_n "(cached) " >&6
9546 ac_check_lib_save_LIBS
=$LIBS
9548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9549 /* end confdefs.h. */
9551 /* Override any GCC internal prototype to avoid an error.
9552 Use char because int might match the return type of a GCC
9553 builtin and then its argument prototype would still apply. */
9566 if ac_fn_c_try_link
"$LINENO"; then :
9567 ac_cv_lib_ipc_shmat
=yes
9569 ac_cv_lib_ipc_shmat
=no
9571 rm -f core conftest.err conftest.
$ac_objext \
9572 conftest
$ac_exeext conftest.
$ac_ext
9573 LIBS
=$ac_check_lib_save_LIBS
9575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9576 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9577 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9578 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9584 # Check for libraries that X11R6 Xt/Xaw programs need.
9585 ac_save_LDFLAGS
=$LDFLAGS
9586 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9587 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9588 # check for ICE first), but we must link in the order -lSM -lICE or
9589 # we get undefined symbols. So assume we have SM if we have ICE.
9590 # These have to be linked with before -lX11, unlike the other
9591 # libraries we check for below, so use a different variable.
9592 # John Interrante, Karl Berry
9593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9594 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9595 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9596 $as_echo_n "(cached) " >&6
9598 ac_check_lib_save_LIBS
=$LIBS
9599 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9601 /* end confdefs.h. */
9603 /* Override any GCC internal prototype to avoid an error.
9604 Use char because int might match the return type of a GCC
9605 builtin and then its argument prototype would still apply. */
9609 char IceConnectionNumber ();
9613 return IceConnectionNumber ();
9618 if ac_fn_c_try_link
"$LINENO"; then :
9619 ac_cv_lib_ICE_IceConnectionNumber
=yes
9621 ac_cv_lib_ICE_IceConnectionNumber
=no
9623 rm -f core conftest.err conftest.
$ac_objext \
9624 conftest
$ac_exeext conftest.
$ac_ext
9625 LIBS
=$ac_check_lib_save_LIBS
9627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9628 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9629 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9630 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9633 LDFLAGS
=$ac_save_LDFLAGS
9638 if test "$have_x" = "yes"
9640 ac_save_CPPFLAGS
="$CPPFLAGS"
9641 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9644 $as_echo_n "checking for -lX11... " >&6; }
9645 if ${ac_cv_lib_soname_X11+:} false
; then :
9646 $as_echo_n "(cached) " >&6
9648 ac_check_soname_save_LIBS
=$LIBS
9649 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9651 /* end confdefs.h. */
9653 /* Override any GCC internal prototype to avoid an error.
9654 Use char because int might match the return type of a GCC
9655 builtin and then its argument prototype would still apply. */
9659 char XCreateWindow ();
9663 return XCreateWindow ();
9668 if ac_fn_c_try_link
"$LINENO"; then :
9670 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9671 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'` ;;
9672 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9673 if ${ac_cv_lib_soname_X11:+false} :; then :
9674 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9678 rm -f core conftest.err conftest.
$ac_objext \
9679 conftest
$ac_exeext conftest.
$ac_ext
9680 LIBS
=$ac_check_soname_save_LIBS
9682 if ${ac_cv_lib_soname_X11:+false} :; then :
9683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9684 $as_echo "not found" >&6; }
9687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9688 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9690 cat >>confdefs.h
<<_ACEOF
9691 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9697 $as_echo_n "checking for -lXext... " >&6; }
9698 if ${ac_cv_lib_soname_Xext+:} false
; then :
9699 $as_echo_n "(cached) " >&6
9701 ac_check_soname_save_LIBS
=$LIBS
9702 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9704 /* end confdefs.h. */
9706 /* Override any GCC internal prototype to avoid an error.
9707 Use char because int might match the return type of a GCC
9708 builtin and then its argument prototype would still apply. */
9712 char XextCreateExtension ();
9716 return XextCreateExtension ();
9721 if ac_fn_c_try_link
"$LINENO"; then :
9723 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9724 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'` ;;
9725 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9726 if ${ac_cv_lib_soname_Xext:+false} :; then :
9727 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9731 rm -f core conftest.err conftest.
$ac_objext \
9732 conftest
$ac_exeext conftest.
$ac_ext
9733 LIBS
=$ac_check_soname_save_LIBS
9735 if ${ac_cv_lib_soname_Xext:+false} :; then :
9736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9737 $as_echo "not found" >&6; }
9740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9741 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9743 cat >>confdefs.h
<<_ACEOF
9744 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9747 X_LIBS
="$X_LIBS -lXext"
9749 X_LIBS
="$X_LIBS -lX11"
9751 for ac_header
in X11
/Xlib.h \
9754 X11
/Xcursor
/Xcursor.h \
9755 X11
/extensions
/shape.h \
9756 X11
/extensions
/XInput.h \
9757 X11
/extensions
/XInput2.h \
9758 X11
/extensions
/XShm.h \
9759 X11
/extensions
/Xcomposite.h \
9760 X11
/extensions
/Xinerama.h \
9761 X11
/extensions
/Xrandr.h \
9762 X11
/extensions
/Xrender.h \
9763 X11
/extensions
/xf86vmode.h \
9764 X11
/extensions
/xf86vmproto.h
9766 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9767 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9768 # include <X11/Xlib.h>
9770 #ifdef HAVE_X11_XUTIL_H
9771 # include <X11/Xutil.h>
9774 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9775 cat >>confdefs.h
<<_ACEOF
9776 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9784 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9787 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9788 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9789 $as_echo_n "(cached) " >&6
9791 ac_check_lib_save_LIBS
=$LIBS
9792 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9794 /* end confdefs.h. */
9796 /* Override any GCC internal prototype to avoid an error.
9797 Use char because int might match the return type of a GCC
9798 builtin and then its argument prototype would still apply. */
9802 char XkbQueryExtension ();
9806 return XkbQueryExtension ();
9811 if ac_fn_c_try_link
"$LINENO"; then :
9812 ac_cv_lib_X11_XkbQueryExtension
=yes
9814 ac_cv_lib_X11_XkbQueryExtension
=no
9816 rm -f core conftest.err conftest.
$ac_objext \
9817 conftest
$ac_exeext conftest.
$ac_ext
9818 LIBS
=$ac_check_lib_save_LIBS
9820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9821 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9822 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9824 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9830 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9833 $as_echo_n "checking for -lXcursor... " >&6; }
9834 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9835 $as_echo_n "(cached) " >&6
9837 ac_check_soname_save_LIBS
=$LIBS
9838 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9840 /* end confdefs.h. */
9842 /* Override any GCC internal prototype to avoid an error.
9843 Use char because int might match the return type of a GCC
9844 builtin and then its argument prototype would still apply. */
9848 char XcursorImageLoadCursor ();
9852 return XcursorImageLoadCursor ();
9857 if ac_fn_c_try_link
"$LINENO"; then :
9859 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9860 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'` ;;
9861 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9862 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9863 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9867 rm -f core conftest.err conftest.
$ac_objext \
9868 conftest
$ac_exeext conftest.
$ac_ext
9869 LIBS
=$ac_check_soname_save_LIBS
9871 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9873 $as_echo "not found" >&6; }
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9877 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9879 cat >>confdefs.h
<<_ACEOF
9880 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9886 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9887 case "x$with_xcursor" in
9888 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9890 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9891 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9895 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9898 $as_echo_n "checking for -lXi... " >&6; }
9899 if ${ac_cv_lib_soname_Xi+:} false
; then :
9900 $as_echo_n "(cached) " >&6
9902 ac_check_soname_save_LIBS
=$LIBS
9903 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9905 /* end confdefs.h. */
9907 /* Override any GCC internal prototype to avoid an error.
9908 Use char because int might match the return type of a GCC
9909 builtin and then its argument prototype would still apply. */
9913 char XOpenDevice ();
9917 return XOpenDevice ();
9922 if ac_fn_c_try_link
"$LINENO"; then :
9924 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9925 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'` ;;
9926 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9927 if ${ac_cv_lib_soname_Xi:+false} :; then :
9928 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9932 rm -f core conftest.err conftest.
$ac_objext \
9933 conftest
$ac_exeext conftest.
$ac_ext
9934 LIBS
=$ac_check_soname_save_LIBS
9936 if ${ac_cv_lib_soname_Xi:+false} :; then :
9937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9938 $as_echo "not found" >&6; }
9941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9942 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9944 cat >>confdefs.h
<<_ACEOF
9945 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9951 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9952 case "x$with_xinput" in
9953 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9955 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9956 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9960 if test "x$ac_cv_lib_soname_Xi" != x
9962 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9963 case "x$with_xinput2" in
9964 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9966 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9967 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9972 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9975 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9976 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9977 $as_echo_n "(cached) " >&6
9979 ac_check_lib_save_LIBS
=$LIBS
9980 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9982 /* end confdefs.h. */
9984 /* Override any GCC internal prototype to avoid an error.
9985 Use char because int might match the return type of a GCC
9986 builtin and then its argument prototype would still apply. */
9990 char XShmQueryExtension ();
9994 return XShmQueryExtension ();
9999 if ac_fn_c_try_link
"$LINENO"; then :
10000 ac_cv_lib_Xext_XShmQueryExtension
=yes
10002 ac_cv_lib_Xext_XShmQueryExtension
=no
10004 rm -f core conftest.err conftest.
$ac_objext \
10005 conftest
$ac_exeext conftest.
$ac_ext
10006 LIBS
=$ac_check_lib_save_LIBS
10008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10009 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10010 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
10012 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10017 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10018 case "x$with_xshm" in
10019 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10021 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10022 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10026 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10029 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10030 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
10031 $as_echo_n "(cached) " >&6
10033 ac_check_lib_save_LIBS
=$LIBS
10034 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10036 /* end confdefs.h. */
10038 /* Override any GCC internal prototype to avoid an error.
10039 Use char because int might match the return type of a GCC
10040 builtin and then its argument prototype would still apply. */
10044 char XShapeQueryExtension ();
10048 return XShapeQueryExtension ();
10053 if ac_fn_c_try_link
"$LINENO"; then :
10054 ac_cv_lib_Xext_XShapeQueryExtension
=yes
10056 ac_cv_lib_Xext_XShapeQueryExtension
=no
10058 rm -f core conftest.err conftest.
$ac_objext \
10059 conftest
$ac_exeext conftest.
$ac_ext
10060 LIBS
=$ac_check_lib_save_LIBS
10062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10063 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10064 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
10066 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10071 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10072 case "x$with_xshape" in
10073 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10075 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
10076 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10080 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10083 $as_echo_n "checking for -lXxf86vm... " >&6; }
10084 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
10085 $as_echo_n "(cached) " >&6
10087 ac_check_soname_save_LIBS
=$LIBS
10088 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10090 /* end confdefs.h. */
10092 /* Override any GCC internal prototype to avoid an error.
10093 Use char because int might match the return type of a GCC
10094 builtin and then its argument prototype would still apply. */
10098 char XF86VidModeQueryExtension ();
10102 return XF86VidModeQueryExtension ();
10107 if ac_fn_c_try_link
"$LINENO"; then :
10109 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10110 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'` ;;
10111 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10112 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10113 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10117 rm -f core conftest.err conftest.
$ac_objext \
10118 conftest
$ac_exeext conftest.
$ac_ext
10119 LIBS
=$ac_check_soname_save_LIBS
10121 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10123 $as_echo "not found" >&6; }
10126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10127 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10129 cat >>confdefs.h
<<_ACEOF
10130 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10136 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10137 case "x$with_xxf86vm" in
10138 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10140 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10141 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10145 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10148 $as_echo_n "checking for -lXrender... " >&6; }
10149 if ${ac_cv_lib_soname_Xrender+:} false
; then :
10150 $as_echo_n "(cached) " >&6
10152 ac_check_soname_save_LIBS
=$LIBS
10153 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10154 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10155 /* end confdefs.h. */
10157 /* Override any GCC internal prototype to avoid an error.
10158 Use char because int might match the return type of a GCC
10159 builtin and then its argument prototype would still apply. */
10163 char XRenderQueryExtension ();
10167 return XRenderQueryExtension ();
10172 if ac_fn_c_try_link
"$LINENO"; then :
10174 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10175 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'` ;;
10176 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10177 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10178 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10182 rm -f core conftest.err conftest.
$ac_objext \
10183 conftest
$ac_exeext conftest.
$ac_ext
10184 LIBS
=$ac_check_soname_save_LIBS
10186 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10188 $as_echo "not found" >&6; }
10191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10192 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10194 cat >>confdefs.h
<<_ACEOF
10195 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10199 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10200 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
10201 $as_echo_n "(cached) " >&6
10203 ac_check_lib_save_LIBS
=$LIBS
10204 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10206 /* end confdefs.h. */
10208 /* Override any GCC internal prototype to avoid an error.
10209 Use char because int might match the return type of a GCC
10210 builtin and then its argument prototype would still apply. */
10214 char XRenderSetPictureTransform ();
10218 return XRenderSetPictureTransform ();
10223 if ac_fn_c_try_link
"$LINENO"; then :
10224 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10226 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10228 rm -f core conftest.err conftest.
$ac_objext \
10229 conftest
$ac_exeext conftest.
$ac_ext
10230 LIBS
=$ac_check_lib_save_LIBS
10232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10233 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10234 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
10236 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10241 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10242 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
10243 $as_echo_n "(cached) " >&6
10245 ac_check_lib_save_LIBS
=$LIBS
10246 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10248 /* end confdefs.h. */
10250 /* Override any GCC internal prototype to avoid an error.
10251 Use char because int might match the return type of a GCC
10252 builtin and then its argument prototype would still apply. */
10256 char XRenderCreateLinearGradient ();
10260 return XRenderCreateLinearGradient ();
10265 if ac_fn_c_try_link
"$LINENO"; then :
10266 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
10268 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
10270 rm -f core conftest.err conftest.
$ac_objext \
10271 conftest
$ac_exeext conftest.
$ac_ext
10272 LIBS
=$ac_check_lib_save_LIBS
10274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10275 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10276 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
10278 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10285 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10286 case "x$with_xrender" in
10287 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10289 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
10290 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10294 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10296 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10297 /* end confdefs.h. */
10298 #include <X11/Xlib.h>
10299 #include <X11/extensions/Xrandr.h>
10303 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10308 if ac_fn_c_try_compile
"$LINENO"; then :
10309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10310 $as_echo_n "checking for -lXrandr... " >&6; }
10311 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
10312 $as_echo_n "(cached) " >&6
10314 ac_check_soname_save_LIBS
=$LIBS
10315 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10317 /* end confdefs.h. */
10319 /* Override any GCC internal prototype to avoid an error.
10320 Use char because int might match the return type of a GCC
10321 builtin and then its argument prototype would still apply. */
10325 char XRRQueryExtension ();
10329 return XRRQueryExtension ();
10334 if ac_fn_c_try_link
"$LINENO"; then :
10336 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10337 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'` ;;
10338 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10339 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10340 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10344 rm -f core conftest.err conftest.
$ac_objext \
10345 conftest
$ac_exeext conftest.
$ac_ext
10346 LIBS
=$ac_check_soname_save_LIBS
10348 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10350 $as_echo "not found" >&6; }
10353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10354 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10356 cat >>confdefs.h
<<_ACEOF
10357 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10361 /* end confdefs.h. */
10362 #include <X11/Xlib.h>
10363 #include <X11/extensions/Xrandr.h>
10367 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10372 if ac_fn_c_try_compile
"$LINENO"; then :
10374 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10377 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10380 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10382 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10383 case "x$with_xrandr" in
10384 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10386 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10387 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10391 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10394 /* end confdefs.h. */
10395 #include <X11/Xlib.h>
10396 #include <X11/extensions/Xinerama.h>
10400 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10405 if ac_fn_c_try_compile
"$LINENO"; then :
10406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10407 $as_echo_n "checking for -lXinerama... " >&6; }
10408 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10409 $as_echo_n "(cached) " >&6
10411 ac_check_soname_save_LIBS
=$LIBS
10412 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10414 /* end confdefs.h. */
10416 /* Override any GCC internal prototype to avoid an error.
10417 Use char because int might match the return type of a GCC
10418 builtin and then its argument prototype would still apply. */
10422 char XineramaQueryScreens ();
10426 return XineramaQueryScreens ();
10431 if ac_fn_c_try_link
"$LINENO"; then :
10433 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10434 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'` ;;
10435 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10436 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10437 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10441 rm -f core conftest.err conftest.
$ac_objext \
10442 conftest
$ac_exeext conftest.
$ac_ext
10443 LIBS
=$ac_check_soname_save_LIBS
10445 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10447 $as_echo "not found" >&6; }
10450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10451 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10453 cat >>confdefs.h
<<_ACEOF
10454 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10460 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10462 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10463 case "x$with_xinerama" in
10464 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10466 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10467 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10471 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10474 $as_echo_n "checking for -lXcomposite... " >&6; }
10475 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10476 $as_echo_n "(cached) " >&6
10478 ac_check_soname_save_LIBS
=$LIBS
10479 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10480 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10481 /* end confdefs.h. */
10483 /* Override any GCC internal prototype to avoid an error.
10484 Use char because int might match the return type of a GCC
10485 builtin and then its argument prototype would still apply. */
10489 char XCompositeRedirectWindow ();
10493 return XCompositeRedirectWindow ();
10498 if ac_fn_c_try_link
"$LINENO"; then :
10500 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10501 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'` ;;
10502 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10503 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10504 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10508 rm -f core conftest.err conftest.
$ac_objext \
10509 conftest
$ac_exeext conftest.
$ac_ext
10510 LIBS
=$ac_check_soname_save_LIBS
10512 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10514 $as_echo "not found" >&6; }
10517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10518 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10520 cat >>confdefs.h
<<_ACEOF
10521 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10527 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10528 case "x$with_xcomposite" in
10529 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10531 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10532 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10536 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10537 #include <X11/Xlib.h>
10540 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10542 cat >>confdefs.h
<<_ACEOF
10543 #define HAVE_XICCALLBACK_CALLBACK 1
10548 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10549 #include <X11/Xlib.h>
10552 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10554 cat >>confdefs.h
<<_ACEOF
10555 #define HAVE_XEVENT_XCOOKIE 1
10564 if test "x$with_opengl" != "xno"
10566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10567 $as_echo_n "checking for -lGL... " >&6; }
10568 if ${ac_cv_lib_soname_GL+:} false
; then :
10569 $as_echo_n "(cached) " >&6
10571 ac_check_soname_save_LIBS
=$LIBS
10572 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10574 /* end confdefs.h. */
10576 /* Override any GCC internal prototype to avoid an error.
10577 Use char because int might match the return type of a GCC
10578 builtin and then its argument prototype would still apply. */
10582 char glXCreateContext ();
10586 return glXCreateContext ();
10591 if ac_fn_c_try_link
"$LINENO"; then :
10593 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10594 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'` ;;
10595 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10596 if ${ac_cv_lib_soname_GL:+false} :; then :
10597 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10601 rm -f core conftest.err conftest.
$ac_objext \
10602 conftest
$ac_exeext conftest.
$ac_ext
10603 LIBS
=$ac_check_soname_save_LIBS
10605 if ${ac_cv_lib_soname_GL:+false} :; then :
10606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10607 $as_echo "not found" >&6; }
10608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10609 $as_echo_n "checking for -lGL... " >&6; }
10610 if ${ac_cv_lib_soname_GL+:} false
; then :
10611 $as_echo_n "(cached) " >&6
10613 ac_check_soname_save_LIBS
=$LIBS
10614 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"
10615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10616 /* end confdefs.h. */
10618 /* Override any GCC internal prototype to avoid an error.
10619 Use char because int might match the return type of a GCC
10620 builtin and then its argument prototype would still apply. */
10624 char glXCreateContext ();
10628 return glXCreateContext ();
10633 if ac_fn_c_try_link
"$LINENO"; then :
10635 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10636 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'` ;;
10637 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10638 if ${ac_cv_lib_soname_GL:+false} :; then :
10639 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10643 rm -f core conftest.err conftest.
$ac_objext \
10644 conftest
$ac_exeext conftest.
$ac_ext
10645 LIBS
=$ac_check_soname_save_LIBS
10647 if ${ac_cv_lib_soname_GL:+false} :; then :
10648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10649 $as_echo "not found" >&6; }
10650 if test -f /usr
/X11R
6/lib
/libGL.a
10652 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10653 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10655 opengl_msg
="No OpenGL library found on this system."
10658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10659 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10661 cat >>confdefs.h
<<_ACEOF
10662 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10665 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"
10668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10669 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10671 cat >>confdefs.h
<<_ACEOF
10672 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10677 if test "x$with_glu" != "xno"
10679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10680 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10681 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10682 $as_echo_n "(cached) " >&6
10684 ac_check_lib_save_LIBS
=$LIBS
10685 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10687 /* end confdefs.h. */
10689 /* Override any GCC internal prototype to avoid an error.
10690 Use char because int might match the return type of a GCC
10691 builtin and then its argument prototype would still apply. */
10699 return gluLookAt ();
10704 if ac_fn_c_try_link
"$LINENO"; then :
10705 ac_cv_lib_GLU_gluLookAt
=yes
10707 ac_cv_lib_GLU_gluLookAt
=no
10709 rm -f core conftest.err conftest.
$ac_objext \
10710 conftest
$ac_exeext conftest.
$ac_ext
10711 LIBS
=$ac_check_lib_save_LIBS
10713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10714 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10715 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10719 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10720 case "x$with_glu" in
10721 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10723 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10724 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10729 if test "x$with_osmesa" != "xno"
10731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10732 $as_echo_n "checking for -lOSMesa... " >&6; }
10733 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10734 $as_echo_n "(cached) " >&6
10736 ac_check_soname_save_LIBS
=$LIBS
10737 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10739 /* end confdefs.h. */
10741 /* Override any GCC internal prototype to avoid an error.
10742 Use char because int might match the return type of a GCC
10743 builtin and then its argument prototype would still apply. */
10756 if ac_fn_c_try_link
"$LINENO"; then :
10758 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10759 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'` ;;
10760 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10761 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10762 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10766 rm -f core conftest.err conftest.
$ac_objext \
10767 conftest
$ac_exeext conftest.
$ac_ext
10768 LIBS
=$ac_check_soname_save_LIBS
10770 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10772 $as_echo "not found" >&6; }
10775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10776 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10778 cat >>confdefs.h
<<_ACEOF
10779 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10784 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10785 case "x$with_osmesa" in
10786 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10788 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10789 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10794 if test -n "$opengl_msg"; then :
10795 case "x$with_opengl" in
10796 x
) as_fn_append wine_warnings
"|$opengl_msg
10797 OpenGL and Direct3D won't be supported." ;;
10799 *) as_fn_error $?
"$opengl_msg
10800 OpenGL and Direct3D won't be supported.
10801 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10805 CPPFLAGS
="$ac_save_CPPFLAGS"
10809 enable_winex11_drv
=${enable_winex11_drv:-no}
10811 if test "x$X_LIBS" = "x"; then :
10814 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10815 without X support, which probably isn't what you want. You will need
10816 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10817 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10821 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10823 if test "$ac_cv_header_CL_cl_h" = "yes"
10825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10826 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10827 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10828 $as_echo_n "(cached) " >&6
10830 ac_check_lib_save_LIBS
=$LIBS
10831 LIBS
="-lOpenCL $LIBS"
10832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10833 /* end confdefs.h. */
10835 /* Override any GCC internal prototype to avoid an error.
10836 Use char because int might match the return type of a GCC
10837 builtin and then its argument prototype would still apply. */
10841 char clGetPlatformInfo ();
10845 return clGetPlatformInfo ();
10850 if ac_fn_c_try_link
"$LINENO"; then :
10851 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10853 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10855 rm -f core conftest.err conftest.
$ac_objext \
10856 conftest
$ac_exeext conftest.
$ac_ext
10857 LIBS
=$ac_check_lib_save_LIBS
10859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10860 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10861 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10862 OPENCL_LIBS
="-lOpenCL"
10867 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10868 case "x$with_opencl" in
10869 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10871 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10872 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10875 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10877 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10880 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10881 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10882 $as_echo_n "(cached) " >&6
10884 ac_check_lib_save_LIBS
=$LIBS
10885 LIBS
="-lpcap $LIBS"
10886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10887 /* end confdefs.h. */
10889 /* Override any GCC internal prototype to avoid an error.
10890 Use char because int might match the return type of a GCC
10891 builtin and then its argument prototype would still apply. */
10895 char pcap_create ();
10899 return pcap_create ();
10904 if ac_fn_c_try_link
"$LINENO"; then :
10905 ac_cv_lib_pcap_pcap_create
=yes
10907 ac_cv_lib_pcap_pcap_create
=no
10909 rm -f core conftest.err conftest.
$ac_objext \
10910 conftest
$ac_exeext conftest.
$ac_ext
10911 LIBS
=$ac_check_lib_save_LIBS
10913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10914 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10915 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10921 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10922 case "x$with_pcap" in
10923 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10925 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10926 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10929 test "x$ac_cv_lib_pcap_pcap_create" != xyes
&& enable_wpcap
=${enable_wpcap:-no}
10932 if test "x$with_xml" != "xno"
10934 if ${XML2_CFLAGS:+false} :; then :
10935 if ${PKG_CONFIG+:} false
; then :
10936 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10939 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10940 if ${XML2_LIBS:+false} :; then :
10941 if ${PKG_CONFIG+:} false
; then :
10942 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10945 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10946 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10947 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10948 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10949 ac_save_CPPFLAGS
=$CPPFLAGS
10950 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10951 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10953 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10954 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10955 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10956 cat >>confdefs.h
<<_ACEOF
10957 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10964 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"
10966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10967 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10968 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10969 $as_echo_n "(cached) " >&6
10971 ac_check_lib_save_LIBS
=$LIBS
10972 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10974 /* end confdefs.h. */
10976 /* Override any GCC internal prototype to avoid an error.
10977 Use char because int might match the return type of a GCC
10978 builtin and then its argument prototype would still apply. */
10982 char xmlParseMemory ();
10986 return xmlParseMemory ();
10991 if ac_fn_c_try_link
"$LINENO"; then :
10992 ac_cv_lib_xml2_xmlParseMemory
=yes
10994 ac_cv_lib_xml2_xmlParseMemory
=no
10996 rm -f core conftest.err conftest.
$ac_objext \
10997 conftest
$ac_exeext conftest.
$ac_ext
10998 LIBS
=$ac_check_lib_save_LIBS
11000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11001 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11002 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
11004 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11011 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11012 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
11013 $as_echo_n "(cached) " >&6
11015 ac_check_lib_save_LIBS
=$LIBS
11016 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11018 /* end confdefs.h. */
11020 /* Override any GCC internal prototype to avoid an error.
11021 Use char because int might match the return type of a GCC
11022 builtin and then its argument prototype would still apply. */
11026 char xmlReadMemory ();
11030 return xmlReadMemory ();
11035 if ac_fn_c_try_link
"$LINENO"; then :
11036 ac_cv_lib_xml2_xmlReadMemory
=yes
11038 ac_cv_lib_xml2_xmlReadMemory
=no
11040 rm -f core conftest.err conftest.
$ac_objext \
11041 conftest
$ac_exeext conftest.
$ac_ext
11042 LIBS
=$ac_check_lib_save_LIBS
11044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11045 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11046 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
11048 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11053 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11054 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
11055 $as_echo_n "(cached) " >&6
11057 ac_check_lib_save_LIBS
=$LIBS
11058 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11060 /* end confdefs.h. */
11062 /* Override any GCC internal prototype to avoid an error.
11063 Use char because int might match the return type of a GCC
11064 builtin and then its argument prototype would still apply. */
11068 char xmlNewDocPI ();
11072 return xmlNewDocPI ();
11077 if ac_fn_c_try_link
"$LINENO"; then :
11078 ac_cv_lib_xml2_xmlNewDocPI
=yes
11080 ac_cv_lib_xml2_xmlNewDocPI
=no
11082 rm -f core conftest.err conftest.
$ac_objext \
11083 conftest
$ac_exeext conftest.
$ac_ext
11084 LIBS
=$ac_check_lib_save_LIBS
11086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11087 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11088 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
11090 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11095 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11096 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
11097 $as_echo_n "(cached) " >&6
11099 ac_check_lib_save_LIBS
=$LIBS
11100 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11102 /* end confdefs.h. */
11104 /* Override any GCC internal prototype to avoid an error.
11105 Use char because int might match the return type of a GCC
11106 builtin and then its argument prototype would still apply. */
11110 char xmlSchemaSetParserStructuredErrors ();
11114 return xmlSchemaSetParserStructuredErrors ();
11119 if ac_fn_c_try_link
"$LINENO"; then :
11120 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
11122 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
11124 rm -f core conftest.err conftest.
$ac_objext \
11125 conftest
$ac_exeext conftest.
$ac_ext
11126 LIBS
=$ac_check_lib_save_LIBS
11128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11129 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11130 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
11132 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11137 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11138 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
11139 $as_echo_n "(cached) " >&6
11141 ac_check_lib_save_LIBS
=$LIBS
11142 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11144 /* end confdefs.h. */
11146 /* Override any GCC internal prototype to avoid an error.
11147 Use char because int might match the return type of a GCC
11148 builtin and then its argument prototype would still apply. */
11152 char xmlSchemaSetValidStructuredErrors ();
11156 return xmlSchemaSetValidStructuredErrors ();
11161 if ac_fn_c_try_link
"$LINENO"; then :
11162 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
11164 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
11166 rm -f core conftest.err conftest.
$ac_objext \
11167 conftest
$ac_exeext conftest.
$ac_ext
11168 LIBS
=$ac_check_lib_save_LIBS
11170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11171 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11172 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
11174 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11179 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11180 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
11181 $as_echo_n "(cached) " >&6
11183 ac_check_lib_save_LIBS
=$LIBS
11184 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11186 /* end confdefs.h. */
11188 /* Override any GCC internal prototype to avoid an error.
11189 Use char because int might match the return type of a GCC
11190 builtin and then its argument prototype would still apply. */
11194 char xmlFirstElementChild ();
11198 return xmlFirstElementChild ();
11203 if ac_fn_c_try_link
"$LINENO"; then :
11204 ac_cv_lib_xml2_xmlFirstElementChild
=yes
11206 ac_cv_lib_xml2_xmlFirstElementChild
=no
11208 rm -f core conftest.err conftest.
$ac_objext \
11209 conftest
$ac_exeext conftest.
$ac_ext
11210 LIBS
=$ac_check_lib_save_LIBS
11212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11213 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11214 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
11216 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11220 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11222 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
11224 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11232 CPPFLAGS
=$ac_save_CPPFLAGS
11233 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11234 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11237 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11238 case "x$with_xml" in
11239 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11241 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11242 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11246 if test "x$with_xslt" != "xno"
11248 if ${XSLT_CFLAGS:+false} :; then :
11249 if ${PKG_CONFIG+:} false
; then :
11250 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11253 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
11254 if ${XSLT_LIBS:+false} :; then :
11255 if ${PKG_CONFIG+:} false
; then :
11256 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11259 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
11260 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
11261 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11262 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11263 ac_save_CPPFLAGS
=$CPPFLAGS
11264 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
11265 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11267 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11268 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11269 # include <libxslt/pattern.h>
11272 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11273 cat >>confdefs.h
<<_ACEOF
11274 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11281 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11284 $as_echo_n "checking for -lxslt... " >&6; }
11285 if ${ac_cv_lib_soname_xslt+:} false
; then :
11286 $as_echo_n "(cached) " >&6
11288 ac_check_soname_save_LIBS
=$LIBS
11289 LIBS
="-lxslt $XSLT_LIBS $LIBS"
11290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11291 /* end confdefs.h. */
11293 /* Override any GCC internal prototype to avoid an error.
11294 Use char because int might match the return type of a GCC
11295 builtin and then its argument prototype would still apply. */
11299 char xsltCompilePattern ();
11303 return xsltCompilePattern ();
11308 if ac_fn_c_try_link
"$LINENO"; then :
11310 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11311 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'` ;;
11312 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11313 if ${ac_cv_lib_soname_xslt:+false} :; then :
11314 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11318 rm -f core conftest.err conftest.
$ac_objext \
11319 conftest
$ac_exeext conftest.
$ac_ext
11320 LIBS
=$ac_check_soname_save_LIBS
11322 if ${ac_cv_lib_soname_xslt:+false} :; then :
11323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11324 $as_echo "not found" >&6; }
11327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11328 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11330 cat >>confdefs.h
<<_ACEOF
11331 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11339 CPPFLAGS
=$ac_save_CPPFLAGS
11340 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11341 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11344 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11345 case "x$with_xslt" in
11346 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11348 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11349 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11353 if test "x$with_dbus" != "xno"
11355 if ${DBUS_CFLAGS:+false} :; then :
11356 if ${PKG_CONFIG+:} false
; then :
11357 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11361 if ${DBUS_LIBS:+false} :; then :
11362 if ${PKG_CONFIG+:} false
; then :
11363 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11368 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11369 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11370 ac_save_CPPFLAGS
=$CPPFLAGS
11371 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11372 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11373 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11375 $as_echo_n "checking for -ldbus-1... " >&6; }
11376 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11377 $as_echo_n "(cached) " >&6
11379 ac_check_soname_save_LIBS
=$LIBS
11380 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11381 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11382 /* end confdefs.h. */
11384 /* Override any GCC internal prototype to avoid an error.
11385 Use char because int might match the return type of a GCC
11386 builtin and then its argument prototype would still apply. */
11390 char dbus_connection_close ();
11394 return dbus_connection_close ();
11399 if ac_fn_c_try_link
"$LINENO"; then :
11401 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11402 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'` ;;
11403 *) 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'`
11404 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11405 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11409 rm -f core conftest.err conftest.
$ac_objext \
11410 conftest
$ac_exeext conftest.
$ac_ext
11411 LIBS
=$ac_check_soname_save_LIBS
11413 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11415 $as_echo "not found" >&6; }
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11419 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11421 cat >>confdefs.h
<<_ACEOF
11422 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11432 CPPFLAGS
=$ac_save_CPPFLAGS
11433 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11434 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11437 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11438 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11439 case "x$with_dbus" in
11440 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11442 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11443 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11447 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11449 if ${HAL_CFLAGS:+false} :; then :
11450 if ${PKG_CONFIG+:} false
; then :
11451 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11455 if ${HAL_LIBS:+false} :; then :
11456 if ${PKG_CONFIG+:} false
; then :
11457 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11461 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11462 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11463 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11464 ac_save_CPPFLAGS
=$CPPFLAGS
11465 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11466 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11467 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11469 $as_echo_n "checking for -lhal... " >&6; }
11470 if ${ac_cv_lib_soname_hal+:} false
; then :
11471 $as_echo_n "(cached) " >&6
11473 ac_check_soname_save_LIBS
=$LIBS
11474 LIBS
="-lhal $HAL_LIBS $LIBS"
11475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11476 /* end confdefs.h. */
11478 /* Override any GCC internal prototype to avoid an error.
11479 Use char because int might match the return type of a GCC
11480 builtin and then its argument prototype would still apply. */
11484 char libhal_ctx_new ();
11488 return libhal_ctx_new ();
11493 if ac_fn_c_try_link
"$LINENO"; then :
11495 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11496 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'` ;;
11497 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11498 if ${ac_cv_lib_soname_hal:+false} :; then :
11499 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11503 rm -f core conftest.err conftest.
$ac_objext \
11504 conftest
$ac_exeext conftest.
$ac_ext
11505 LIBS
=$ac_check_soname_save_LIBS
11507 if ${ac_cv_lib_soname_hal:+false} :; then :
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11509 $as_echo "not found" >&6; }
11512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11513 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11515 cat >>confdefs.h
<<_ACEOF
11516 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11526 CPPFLAGS
=$ac_save_CPPFLAGS
11527 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11528 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11530 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11531 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11532 case "x$with_hal" in
11533 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11535 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11536 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11541 if test "x$with_gnutls" != "xno"
11543 if ${GNUTLS_CFLAGS:+false} :; then :
11544 if ${PKG_CONFIG+:} false
; then :
11545 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11549 if ${GNUTLS_LIBS:+false} :; then :
11550 if ${PKG_CONFIG+:} false
; then :
11551 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11556 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11557 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11558 ac_save_CPPFLAGS
=$CPPFLAGS
11559 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11560 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11561 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11563 /* end confdefs.h. */
11564 #include <gnutls/gnutls.h>
11565 #include <gnutls/crypto.h>
11569 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11574 if ac_fn_c_try_compile
"$LINENO"; then :
11575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11576 $as_echo_n "checking for -lgnutls... " >&6; }
11577 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11578 $as_echo_n "(cached) " >&6
11580 ac_check_soname_save_LIBS
=$LIBS
11581 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11582 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11583 /* end confdefs.h. */
11585 /* Override any GCC internal prototype to avoid an error.
11586 Use char because int might match the return type of a GCC
11587 builtin and then its argument prototype would still apply. */
11591 char gnutls_global_init ();
11595 return gnutls_global_init ();
11600 if ac_fn_c_try_link
"$LINENO"; then :
11602 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11603 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'` ;;
11604 *) 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'`
11605 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11606 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'`
11610 rm -f core conftest.err conftest.
$ac_objext \
11611 conftest
$ac_exeext conftest.
$ac_ext
11612 LIBS
=$ac_check_soname_save_LIBS
11614 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11616 $as_echo "not found" >&6; }
11619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11620 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11622 cat >>confdefs.h
<<_ACEOF
11623 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11629 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11635 CPPFLAGS
=$ac_save_CPPFLAGS
11636 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11637 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11640 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11641 case "x$with_gnutls" in
11642 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11644 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11645 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11650 if test "$ac_cv_header_ncurses_h" = "yes"
11652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11653 $as_echo_n "checking for -lncurses... " >&6; }
11654 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11655 $as_echo_n "(cached) " >&6
11657 ac_check_soname_save_LIBS
=$LIBS
11658 LIBS
="-lncurses $LIBS"
11659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11660 /* end confdefs.h. */
11662 /* Override any GCC internal prototype to avoid an error.
11663 Use char because int might match the return type of a GCC
11664 builtin and then its argument prototype would still apply. */
11677 if ac_fn_c_try_link
"$LINENO"; then :
11679 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11680 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'` ;;
11681 *) 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'`
11682 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11683 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11687 rm -f core conftest.err conftest.
$ac_objext \
11688 conftest
$ac_exeext conftest.
$ac_ext
11689 LIBS
=$ac_check_soname_save_LIBS
11691 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11693 $as_echo "not found" >&6; }
11696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11697 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11699 cat >>confdefs.h
<<_ACEOF
11700 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11703 CURSES_LIBS
="-lncurses"
11705 elif test "$ac_cv_header_curses_h" = "yes"
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11708 $as_echo_n "checking for -lcurses... " >&6; }
11709 if ${ac_cv_lib_soname_curses+:} false
; then :
11710 $as_echo_n "(cached) " >&6
11712 ac_check_soname_save_LIBS
=$LIBS
11713 LIBS
="-lcurses $LIBS"
11714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11715 /* end confdefs.h. */
11717 /* Override any GCC internal prototype to avoid an error.
11718 Use char because int might match the return type of a GCC
11719 builtin and then its argument prototype would still apply. */
11732 if ac_fn_c_try_link
"$LINENO"; then :
11734 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11735 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'` ;;
11736 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11737 if ${ac_cv_lib_soname_curses:+false} :; then :
11738 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11742 rm -f core conftest.err conftest.
$ac_objext \
11743 conftest
$ac_exeext conftest.
$ac_ext
11744 LIBS
=$ac_check_soname_save_LIBS
11746 if ${ac_cv_lib_soname_curses:+false} :; then :
11747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11748 $as_echo "not found" >&6; }
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11752 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11754 cat >>confdefs.h
<<_ACEOF
11755 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11758 CURSES_LIBS
="-lcurses"
11761 ac_save_LIBS
="$LIBS"
11762 LIBS
="$LIBS $CURSES_LIBS"
11763 for ac_func
in mousemask
11765 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11766 if test "x$ac_cv_func_mousemask" = xyes
; then :
11767 cat >>confdefs.h
<<_ACEOF
11768 #define HAVE_MOUSEMASK 1
11774 LIBS
="$ac_save_LIBS"
11775 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11776 case "x$with_curses" in
11777 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11779 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11780 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11784 if test "x$with_sane" != "xno"
11786 if ${SANE_CFLAGS:+false} :; then :
11787 if ${PKG_CONFIG+:} false
; then :
11788 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11791 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11792 if ${SANE_LIBS:+false} :; then :
11793 if ${PKG_CONFIG+:} false
; then :
11794 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11797 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11799 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11800 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11801 ac_save_CPPFLAGS
=$CPPFLAGS
11802 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11803 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11804 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11806 $as_echo_n "checking for -lsane... " >&6; }
11807 if ${ac_cv_lib_soname_sane+:} false
; then :
11808 $as_echo_n "(cached) " >&6
11810 ac_check_soname_save_LIBS
=$LIBS
11811 LIBS
="-lsane $SANE_LIBS $LIBS"
11812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11813 /* end confdefs.h. */
11815 /* Override any GCC internal prototype to avoid an error.
11816 Use char because int might match the return type of a GCC
11817 builtin and then its argument prototype would still apply. */
11825 return sane_init ();
11830 if ac_fn_c_try_link
"$LINENO"; then :
11832 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11833 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'` ;;
11834 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11835 if ${ac_cv_lib_soname_sane:+false} :; then :
11836 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11840 rm -f core conftest.err conftest.
$ac_objext \
11841 conftest
$ac_exeext conftest.
$ac_ext
11842 LIBS
=$ac_check_soname_save_LIBS
11844 if ${ac_cv_lib_soname_sane:+false} :; then :
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11846 $as_echo "not found" >&6; }
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11850 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11852 cat >>confdefs.h
<<_ACEOF
11853 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11863 CPPFLAGS
=$ac_save_CPPFLAGS
11864 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11865 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11868 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11869 case "x$with_sane" in
11870 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11872 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11873 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11877 if test "x$with_v4l" != "xno"
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11880 $as_echo_n "checking for -lv4l1... " >&6; }
11881 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11882 $as_echo_n "(cached) " >&6
11884 ac_check_soname_save_LIBS
=$LIBS
11885 LIBS
="-lv4l1 $LIBS"
11886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11887 /* end confdefs.h. */
11889 /* Override any GCC internal prototype to avoid an error.
11890 Use char because int might match the return type of a GCC
11891 builtin and then its argument prototype would still apply. */
11899 return v4l1_open ();
11904 if ac_fn_c_try_link
"$LINENO"; then :
11906 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11907 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'` ;;
11908 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11909 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11910 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11914 rm -f core conftest.err conftest.
$ac_objext \
11915 conftest
$ac_exeext conftest.
$ac_ext
11916 LIBS
=$ac_check_soname_save_LIBS
11918 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11920 $as_echo "not found" >&6; }
11923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11924 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11926 cat >>confdefs.h
<<_ACEOF
11927 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11933 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11934 case "x$with_v4l" in
11935 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11937 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11938 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11942 if test "x$with_gphoto" != "xno"
11944 if ${GPHOTO2_CFLAGS:+false} :; then :
11945 if ${PKG_CONFIG+:} false
; then :
11946 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11949 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11950 if ${GPHOTO2_LIBS:+false} :; then :
11951 if ${PKG_CONFIG+:} false
; then :
11952 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11955 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11956 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11957 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11958 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11959 ac_save_CPPFLAGS
=$CPPFLAGS
11960 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11961 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11962 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11964 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11965 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11966 $as_echo_n "(cached) " >&6
11968 ac_check_lib_save_LIBS
=$LIBS
11969 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11971 /* end confdefs.h. */
11973 /* Override any GCC internal prototype to avoid an error.
11974 Use char because int might match the return type of a GCC
11975 builtin and then its argument prototype would still apply. */
11979 char gp_camera_new ();
11983 return gp_camera_new ();
11988 if ac_fn_c_try_link
"$LINENO"; then :
11989 ac_cv_lib_gphoto2_gp_camera_new
=yes
11991 ac_cv_lib_gphoto2_gp_camera_new
=no
11993 rm -f core conftest.err conftest.
$ac_objext \
11994 conftest
$ac_exeext conftest.
$ac_ext
11995 LIBS
=$ac_check_lib_save_LIBS
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11998 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11999 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
12001 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12004 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
12008 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
12012 CPPFLAGS
=$ac_save_CPPFLAGS
12013 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12014 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12016 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12017 if ${PKG_CONFIG+:} false
; then :
12018 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12021 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
12022 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12023 if ${PKG_CONFIG+:} false
; then :
12024 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12027 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
12028 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12029 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12030 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12031 ac_save_CPPFLAGS
=$CPPFLAGS
12032 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12033 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12034 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
12035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12036 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12037 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
12038 $as_echo_n "(cached) " >&6
12040 ac_check_lib_save_LIBS
=$LIBS
12041 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12043 /* end confdefs.h. */
12045 /* Override any GCC internal prototype to avoid an error.
12046 Use char because int might match the return type of a GCC
12047 builtin and then its argument prototype would still apply. */
12051 char gp_port_info_list_new ();
12055 return gp_port_info_list_new ();
12060 if ac_fn_c_try_link
"$LINENO"; then :
12061 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
12063 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
12065 rm -f core conftest.err conftest.
$ac_objext \
12066 conftest
$ac_exeext conftest.
$ac_ext
12067 LIBS
=$ac_check_lib_save_LIBS
12069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12070 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12071 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
12073 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12076 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12080 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12084 CPPFLAGS
=$ac_save_CPPFLAGS
12085 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12086 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12089 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12090 case "x$with_gphoto" in
12091 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12093 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12094 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12097 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12098 case "x$with_gphoto" in
12099 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12101 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12102 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12107 if test "$ac_cv_header_resolv_h" = "yes"
12109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12110 $as_echo_n "checking for resolver library... " >&6; }
12111 if ${ac_cv_have_resolv+:} false
; then :
12112 $as_echo_n "(cached) " >&6
12114 ac_save_LIBS
="$LIBS"
12115 for lib
in '' -lresolv
12117 LIBS
="$lib $ac_save_LIBS"
12118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12119 /* end confdefs.h. */
12120 #ifdef HAVE_NETINET_IN_H
12121 #include <netinet/in.h>
12123 #include <resolv.h>
12127 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12132 if ac_fn_c_try_link
"$LINENO"; then :
12133 ac_cv_have_resolv
=${lib:-"none required"}
12135 ac_cv_have_resolv
="not found"
12137 rm -f core conftest.err conftest.
$ac_objext \
12138 conftest
$ac_exeext conftest.
$ac_ext
12139 test "x$ac_cv_have_resolv" = "xnot found" ||
break
12141 LIBS
="$ac_save_LIBS"
12143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12144 $as_echo "$ac_cv_have_resolv" >&6; }
12146 case "$ac_cv_have_resolv" in
12150 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12153 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12155 RESOLV_LIBS
=$ac_cv_have_resolv
12160 if test "x$with_cms" != "xno"
12162 if ${LCMS2_CFLAGS:+false} :; then :
12163 if ${PKG_CONFIG+:} false
; then :
12164 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12168 if ${LCMS2_LIBS:+false} :; then :
12169 if ${PKG_CONFIG+:} false
; then :
12170 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12174 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
12175 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12176 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12177 ac_save_CPPFLAGS
=$CPPFLAGS
12178 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
12179 for ac_header
in lcms2.h
12181 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12182 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
12183 cat >>confdefs.h
<<_ACEOF
12184 #define HAVE_LCMS2_H 1
12191 if test "$ac_cv_header_lcms2_h" = "yes"
12193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12194 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12195 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
12196 $as_echo_n "(cached) " >&6
12198 ac_check_lib_save_LIBS
=$LIBS
12199 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
12200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12201 /* end confdefs.h. */
12203 /* Override any GCC internal prototype to avoid an error.
12204 Use char because int might match the return type of a GCC
12205 builtin and then its argument prototype would still apply. */
12209 char cmsOpenProfileFromFile ();
12213 return cmsOpenProfileFromFile ();
12218 if ac_fn_c_try_link
"$LINENO"; then :
12219 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
12221 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
12223 rm -f core conftest.err conftest.
$ac_objext \
12224 conftest
$ac_exeext conftest.
$ac_ext
12225 LIBS
=$ac_check_lib_save_LIBS
12227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12228 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12229 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
12231 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12241 CPPFLAGS
=$ac_save_CPPFLAGS
12242 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12243 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12246 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12247 case "x$with_cms" in
12248 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12250 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12251 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12255 if test "x$with_freetype" != "xno"
12257 if ${FREETYPE_CFLAGS:+false} :; then :
12258 if ${PKG_CONFIG+:} false
; then :
12259 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12262 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
12263 if ${FREETYPE_LIBS:+false} :; then :
12264 if ${PKG_CONFIG+:} false
; then :
12265 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12268 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
12269 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
12270 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12271 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12272 ac_save_CPPFLAGS
=$CPPFLAGS
12273 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
12274 for ac_header
in ft2build.h
12276 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12277 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
12278 cat >>confdefs.h
<<_ACEOF
12279 #define HAVE_FT2BUILD_H 1
12286 if test "$ac_cv_header_ft2build_h" = "yes"
12288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12289 $as_echo_n "checking for -lfreetype... " >&6; }
12290 if ${ac_cv_lib_soname_freetype+:} false
; then :
12291 $as_echo_n "(cached) " >&6
12293 ac_check_soname_save_LIBS
=$LIBS
12294 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
12295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12296 /* end confdefs.h. */
12298 /* Override any GCC internal prototype to avoid an error.
12299 Use char because int might match the return type of a GCC
12300 builtin and then its argument prototype would still apply. */
12304 char FT_Init_FreeType ();
12308 return FT_Init_FreeType ();
12313 if ac_fn_c_try_link
"$LINENO"; then :
12315 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12316 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'` ;;
12317 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12318 if ${ac_cv_lib_soname_freetype:+false} :; then :
12319 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12323 rm -f core conftest.err conftest.
$ac_objext \
12324 conftest
$ac_exeext conftest.
$ac_ext
12325 LIBS
=$ac_check_soname_save_LIBS
12327 if ${ac_cv_lib_soname_freetype:+false} :; then :
12328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12329 $as_echo "not found" >&6; }
12332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12333 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12335 cat >>confdefs.h
<<_ACEOF
12336 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12340 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12342 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12343 #include FT_MODULE_H
12345 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12347 cat >>confdefs.h
<<_ACEOF
12348 #define HAVE_FT_TRUETYPEENGINETYPE 1
12359 CPPFLAGS
=$ac_save_CPPFLAGS
12360 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12361 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12364 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12365 case "x$with_freetype" in
12367 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12368 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12371 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
12373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12374 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12375 if ${ac_cv_c_ppdev+:} false
; then :
12376 $as_echo_n "(cached) " >&6
12378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12379 /* end confdefs.h. */
12380 #ifdef HAVE_SYS_IOCTL_H
12381 # include <sys/ioctl.h>
12383 #include <linux/ppdev.h>
12387 ioctl (1,PPCLAIM,0)
12392 if ac_fn_c_try_compile
"$LINENO"; then :
12393 ac_cv_c_ppdev
="yes"
12397 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12400 $as_echo "$ac_cv_c_ppdev" >&6; }
12401 if test "$ac_cv_c_ppdev" = "yes"
12404 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12408 ac_wine_check_funcs_save_LIBS
="$LIBS"
12409 LIBS
="$LIBS $PTHREAD_LIBS"
12411 pthread_attr_get_np \
12412 pthread_getattr_np \
12413 pthread_getthreadid_np \
12414 pthread_get_stackaddr_np \
12415 pthread_get_stacksize_np
12417 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12418 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12419 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12420 cat >>confdefs.h
<<_ACEOF
12421 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12427 LIBS
="$ac_wine_check_funcs_save_LIBS"
12429 if test "$ac_cv_header_zlib_h" = "yes"
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12432 $as_echo_n "checking for inflate in -lz... " >&6; }
12433 if ${ac_cv_lib_z_inflate+:} false
; then :
12434 $as_echo_n "(cached) " >&6
12436 ac_check_lib_save_LIBS
=$LIBS
12438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12439 /* end confdefs.h. */
12441 /* Override any GCC internal prototype to avoid an error.
12442 Use char because int might match the return type of a GCC
12443 builtin and then its argument prototype would still apply. */
12456 if ac_fn_c_try_link
"$LINENO"; then :
12457 ac_cv_lib_z_inflate
=yes
12459 ac_cv_lib_z_inflate
=no
12461 rm -f core conftest.err conftest.
$ac_objext \
12462 conftest
$ac_exeext conftest.
$ac_ext
12463 LIBS
=$ac_check_lib_save_LIBS
12465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12466 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12467 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12469 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12476 if test "x$Z_LIBS" = "x"; then :
12477 case "x$with_zlib" in
12478 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12480 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12481 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12485 if test "x$enable_tools" != xno
12487 if test "$ac_cv_header_gettext_po_h" = "yes"
12489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12490 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12491 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12492 $as_echo_n "(cached) " >&6
12494 ac_check_lib_save_LIBS
=$LIBS
12495 LIBS
="-lgettextpo $LIBS"
12496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12497 /* end confdefs.h. */
12499 /* Override any GCC internal prototype to avoid an error.
12500 Use char because int might match the return type of a GCC
12501 builtin and then its argument prototype would still apply. */
12505 char po_message_msgctxt ();
12509 return po_message_msgctxt ();
12514 if ac_fn_c_try_link
"$LINENO"; then :
12515 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12517 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12519 rm -f core conftest.err conftest.
$ac_objext \
12520 conftest
$ac_exeext conftest.
$ac_ext
12521 LIBS
=$ac_check_lib_save_LIBS
12523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12524 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12525 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12527 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12529 GETTEXTPO_LIBS
="-lgettextpo"
12534 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12535 case "x$with_gettextpo" in
12536 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12538 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12539 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12544 if test "x$with_gstreamer" != "xno"
12546 if ${GSTREAMER_CFLAGS:+false} :; then :
12547 if ${PKG_CONFIG+:} false
; then :
12548 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12552 if ${GSTREAMER_LIBS:+false} :; then :
12553 if ${PKG_CONFIG+:} false
; then :
12554 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12559 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12560 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12561 ac_save_CPPFLAGS
=$CPPFLAGS
12562 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12564 for i
in $GSTREAMER_CFLAGS
12567 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12570 GSTREAMER_CFLAGS
=$ac_gst_incl
12571 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12572 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12573 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12574 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12575 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12577 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12579 /* end confdefs.h. */
12580 #include <gst/app/gstappsink.h>
12584 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12589 if ac_fn_c_try_compile
"$LINENO"; then :
12590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12591 $as_echo "yes" >&6; }
12592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12593 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12594 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12595 $as_echo_n "(cached) " >&6
12597 ac_check_lib_save_LIBS
=$LIBS
12598 LIBS
="-lgstreamer-0.10 $LIBS"
12599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12600 /* end confdefs.h. */
12602 /* Override any GCC internal prototype to avoid an error.
12603 Use char because int might match the return type of a GCC
12604 builtin and then its argument prototype would still apply. */
12608 char gst_pad_get_caps_reffed ();
12612 return gst_pad_get_caps_reffed ();
12617 if ac_fn_c_try_link
"$LINENO"; then :
12618 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12620 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12622 rm -f core conftest.err conftest.
$ac_objext \
12623 conftest
$ac_exeext conftest.
$ac_ext
12624 LIBS
=$ac_check_lib_save_LIBS
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12627 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12628 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12630 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12631 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12632 $as_echo_n "(cached) " >&6
12634 ac_check_lib_save_LIBS
=$LIBS
12635 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12636 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12637 /* end confdefs.h. */
12639 /* Override any GCC internal prototype to avoid an error.
12640 Use char because int might match the return type of a GCC
12641 builtin and then its argument prototype would still apply. */
12645 char gst_app_buffer_new ();
12649 return gst_app_buffer_new ();
12654 if ac_fn_c_try_link
"$LINENO"; then :
12655 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12657 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12659 rm -f core conftest.err conftest.
$ac_objext \
12660 conftest
$ac_exeext conftest.
$ac_ext
12661 LIBS
=$ac_check_lib_save_LIBS
12663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12664 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12665 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12673 $as_echo "no" >&6; }
12675 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12680 GSTREAMER_CFLAGS
=""
12684 CPPFLAGS
=$ac_save_CPPFLAGS
12685 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12686 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12689 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12690 case "x$with_gstreamer" in
12691 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12693 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12694 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12697 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12701 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12704 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12705 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12706 $as_echo_n "(cached) " >&6
12708 ac_check_lib_save_LIBS
=$LIBS
12709 LIBS
="-lasound $LIBS"
12710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12711 /* end confdefs.h. */
12713 /* Override any GCC internal prototype to avoid an error.
12714 Use char because int might match the return type of a GCC
12715 builtin and then its argument prototype would still apply. */
12719 char snd_pcm_hw_params_get_access_mask ();
12723 return snd_pcm_hw_params_get_access_mask ();
12728 if ac_fn_c_try_link
"$LINENO"; then :
12729 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12731 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12733 rm -f core conftest.err conftest.
$ac_objext \
12734 conftest
$ac_exeext conftest.
$ac_ext
12735 LIBS
=$ac_check_lib_save_LIBS
12737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12738 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12739 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12741 /* end confdefs.h. */
12742 #ifdef HAVE_ALSA_ASOUNDLIB_H
12743 #include <alsa/asoundlib.h>
12744 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12745 #include <sys/asoundlib.h>
12750 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12755 if ac_fn_c_try_compile
"$LINENO"; then :
12756 ALSA_LIBS
="-lasound"
12758 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12763 if test "x$with_oss" != xno
12765 ac_save_CPPFLAGS
="$CPPFLAGS"
12766 if test -f /etc
/oss.conf
12770 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12771 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12772 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12773 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12774 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12776 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12778 cat >>confdefs.h
<<_ACEOF
12779 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12782 OSS4_CFLAGS
="$ac_oss_incl"
12789 CPPFLAGS
="$ac_save_CPPFLAGS"
12790 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12792 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12796 if test "x$with_capi" != "xno"
12798 if ${CAPI20_CFLAGS:+false} :; then :
12799 if ${PKG_CONFIG+:} false
; then :
12800 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12804 if ${CAPI20_LIBS:+false} :; then :
12805 if ${PKG_CONFIG+:} false
; then :
12806 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12811 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12812 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12813 ac_save_CPPFLAGS
=$CPPFLAGS
12814 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12815 for ac_header
in capi20.h linux
/capi.h
12817 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12818 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12820 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12821 cat >>confdefs.h
<<_ACEOF
12822 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12829 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12832 $as_echo_n "checking for -lcapi20... " >&6; }
12833 if ${ac_cv_lib_soname_capi20+:} false
; then :
12834 $as_echo_n "(cached) " >&6
12836 ac_check_soname_save_LIBS
=$LIBS
12837 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12839 /* end confdefs.h. */
12841 /* Override any GCC internal prototype to avoid an error.
12842 Use char because int might match the return type of a GCC
12843 builtin and then its argument prototype would still apply. */
12847 char capi20_register ();
12851 return capi20_register ();
12856 if ac_fn_c_try_link
"$LINENO"; then :
12858 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12859 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'` ;;
12860 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12861 if ${ac_cv_lib_soname_capi20:+false} :; then :
12862 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12866 rm -f core conftest.err conftest.
$ac_objext \
12867 conftest
$ac_exeext conftest.
$ac_ext
12868 LIBS
=$ac_check_soname_save_LIBS
12870 if ${ac_cv_lib_soname_capi20:+false} :; then :
12871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12872 $as_echo "not found" >&6; }
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12876 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12878 cat >>confdefs.h
<<_ACEOF
12879 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12885 CPPFLAGS
=$ac_save_CPPFLAGS
12886 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12887 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12890 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12891 case "x$with_capi" in
12892 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12894 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12895 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12901 if test "x$with_cups" != "xno"
12903 ac_save_CPPFLAGS
="$CPPFLAGS"
12904 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12905 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12906 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12907 for ac_header
in cups
/cups.h
12909 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12910 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12911 cat >>confdefs.h
<<_ACEOF
12912 #define HAVE_CUPS_CUPS_H 1
12914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12915 $as_echo_n "checking for -lcups... " >&6; }
12916 if ${ac_cv_lib_soname_cups+:} false
; then :
12917 $as_echo_n "(cached) " >&6
12919 ac_check_soname_save_LIBS
=$LIBS
12920 LIBS
="-lcups $ac_cups_libs $LIBS"
12921 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12922 /* end confdefs.h. */
12924 /* Override any GCC internal prototype to avoid an error.
12925 Use char because int might match the return type of a GCC
12926 builtin and then its argument prototype would still apply. */
12930 char cupsGetDefault ();
12934 return cupsGetDefault ();
12939 if ac_fn_c_try_link
"$LINENO"; then :
12941 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12942 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'` ;;
12943 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12944 if ${ac_cv_lib_soname_cups:+false} :; then :
12945 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12949 rm -f core conftest.err conftest.
$ac_objext \
12950 conftest
$ac_exeext conftest.
$ac_ext
12951 LIBS
=$ac_check_soname_save_LIBS
12953 if ${ac_cv_lib_soname_cups:+false} :; then :
12954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12955 $as_echo "not found" >&6; }
12958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12959 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12961 cat >>confdefs.h
<<_ACEOF
12962 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12965 CUPS_CFLAGS
="$ac_cups_cflags"
12971 CPPFLAGS
="$ac_save_CPPFLAGS"
12973 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12974 case "x$with_cups" in
12975 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12977 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12978 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12982 if test "x$with_fontconfig" != "xno"
12984 if ${FONTCONFIG_CFLAGS:+false} :; then :
12985 if ${PKG_CONFIG+:} false
; then :
12986 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12989 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12990 if ${FONTCONFIG_LIBS:+false} :; then :
12991 if ${PKG_CONFIG+:} false
; then :
12992 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12995 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
12997 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12998 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12999 ac_save_CPPFLAGS
=$CPPFLAGS
13000 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
13001 for ac_header
in fontconfig
/fontconfig.h
13003 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13004 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
13005 cat >>confdefs.h
<<_ACEOF
13006 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13013 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13016 $as_echo_n "checking for -lfontconfig... " >&6; }
13017 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
13018 $as_echo_n "(cached) " >&6
13020 ac_check_soname_save_LIBS
=$LIBS
13021 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13023 /* end confdefs.h. */
13025 /* Override any GCC internal prototype to avoid an error.
13026 Use char because int might match the return type of a GCC
13027 builtin and then its argument prototype would still apply. */
13040 if ac_fn_c_try_link
"$LINENO"; then :
13042 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13043 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'` ;;
13044 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13045 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13046 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13050 rm -f core conftest.err conftest.
$ac_objext \
13051 conftest
$ac_exeext conftest.
$ac_ext
13052 LIBS
=$ac_check_soname_save_LIBS
13054 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13056 $as_echo "not found" >&6; }
13057 FONTCONFIG_CFLAGS
=""
13059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13060 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13062 cat >>confdefs.h
<<_ACEOF
13063 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13069 FONTCONFIG_CFLAGS
=""
13071 CPPFLAGS
=$ac_save_CPPFLAGS
13072 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13073 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13076 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13077 case "x$with_fontconfig" in
13078 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13080 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13081 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13085 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13088 $as_echo_n "checking for -lgsm... " >&6; }
13089 if ${ac_cv_lib_soname_gsm+:} false
; then :
13090 $as_echo_n "(cached) " >&6
13092 ac_check_soname_save_LIBS
=$LIBS
13094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13095 /* end confdefs.h. */
13097 /* Override any GCC internal prototype to avoid an error.
13098 Use char because int might match the return type of a GCC
13099 builtin and then its argument prototype would still apply. */
13103 char gsm_create ();
13107 return gsm_create ();
13112 if ac_fn_c_try_link
"$LINENO"; then :
13114 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13115 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'` ;;
13116 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13117 if ${ac_cv_lib_soname_gsm:+false} :; then :
13118 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13122 rm -f core conftest.err conftest.
$ac_objext \
13123 conftest
$ac_exeext conftest.
$ac_ext
13124 LIBS
=$ac_check_soname_save_LIBS
13126 if ${ac_cv_lib_soname_gsm:+false} :; then :
13127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13128 $as_echo "not found" >&6; }
13131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13132 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13134 cat >>confdefs.h
<<_ACEOF
13135 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13141 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13142 case "x$with_gsm" in
13143 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13145 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13146 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13150 if test "x$with_jpeg" != "xno"
13152 if ${JPEG_CFLAGS:+false} :; then :
13153 if ${PKG_CONFIG+:} false
; then :
13154 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13158 if ${JPEG_LIBS:+false} :; then :
13159 if ${PKG_CONFIG+:} false
; then :
13160 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13165 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13166 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13167 ac_save_CPPFLAGS
=$CPPFLAGS
13168 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
13169 for ac_header
in jpeglib.h
13171 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13172 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
13173 cat >>confdefs.h
<<_ACEOF
13174 #define HAVE_JPEGLIB_H 1
13181 if test "$ac_cv_header_jpeglib_h" = "yes"
13183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13184 $as_echo_n "checking for -ljpeg... " >&6; }
13185 if ${ac_cv_lib_soname_jpeg+:} false
; then :
13186 $as_echo_n "(cached) " >&6
13188 ac_check_soname_save_LIBS
=$LIBS
13189 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
13190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13191 /* end confdefs.h. */
13193 /* Override any GCC internal prototype to avoid an error.
13194 Use char because int might match the return type of a GCC
13195 builtin and then its argument prototype would still apply. */
13199 char jpeg_start_decompress ();
13203 return jpeg_start_decompress ();
13208 if ac_fn_c_try_link
"$LINENO"; then :
13210 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13211 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'` ;;
13212 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13213 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13214 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13218 rm -f core conftest.err conftest.
$ac_objext \
13219 conftest
$ac_exeext conftest.
$ac_ext
13220 LIBS
=$ac_check_soname_save_LIBS
13222 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13224 $as_echo "not found" >&6; }
13227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13228 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13230 cat >>confdefs.h
<<_ACEOF
13231 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13239 CPPFLAGS
=$ac_save_CPPFLAGS
13240 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13241 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13244 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13245 case "x$with_jpeg" in
13246 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13248 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13249 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13253 if test "x$with_png" != "xno"
13255 if ${PNG_CFLAGS:+false} :; then :
13256 if ${PKG_CONFIG+:} false
; then :
13257 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13260 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
13261 if ${PNG_LIBS:+false} :; then :
13262 if ${PKG_CONFIG+:} false
; then :
13263 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
13266 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
13268 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13269 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13270 ac_save_CPPFLAGS
=$CPPFLAGS
13271 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
13272 for ac_header
in png.h
13274 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13275 if test "x$ac_cv_header_png_h" = xyes
; then :
13276 cat >>confdefs.h
<<_ACEOF
13277 #define HAVE_PNG_H 1
13284 if test "$ac_cv_header_png_h" = "yes"
13286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13287 $as_echo_n "checking for -lpng... " >&6; }
13288 if ${ac_cv_lib_soname_png+:} false
; then :
13289 $as_echo_n "(cached) " >&6
13291 ac_check_soname_save_LIBS
=$LIBS
13292 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
13293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13294 /* end confdefs.h. */
13296 /* Override any GCC internal prototype to avoid an error.
13297 Use char because int might match the return type of a GCC
13298 builtin and then its argument prototype would still apply. */
13302 char png_create_read_struct ();
13306 return png_create_read_struct ();
13311 if ac_fn_c_try_link
"$LINENO"; then :
13313 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13314 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'` ;;
13315 *) 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'`
13316 if ${ac_cv_lib_soname_png:+false} :; then :
13317 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13321 rm -f core conftest.err conftest.
$ac_objext \
13322 conftest
$ac_exeext conftest.
$ac_ext
13323 LIBS
=$ac_check_soname_save_LIBS
13325 if ${ac_cv_lib_soname_png:+false} :; then :
13326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13327 $as_echo "not found" >&6; }
13330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13331 $as_echo "$ac_cv_lib_soname_png" >&6; }
13333 cat >>confdefs.h
<<_ACEOF
13334 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13338 /* end confdefs.h. */
13343 typeof(png_set_expand_gray_1_2_4_to_8) *p
13348 if ac_fn_c_try_compile
"$LINENO"; then :
13350 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13353 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13358 CPPFLAGS
=$ac_save_CPPFLAGS
13359 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13360 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13363 if test "x$ac_cv_lib_soname_png" = "x"; then :
13364 case "x$with_png" in
13365 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13367 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13368 This is an error since --with-png was requested." "$LINENO" 5 ;;
13372 if test "x$with_tiff" != "xno"
13374 if ${TIFF_CFLAGS:+false} :; then :
13375 if ${PKG_CONFIG+:} false
; then :
13376 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13380 if ${TIFF_LIBS:+false} :; then :
13381 if ${PKG_CONFIG+:} false
; then :
13382 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13387 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13388 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13389 ac_save_CPPFLAGS
=$CPPFLAGS
13390 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13391 for ac_header
in tiffio.h
13393 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13394 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13395 cat >>confdefs.h
<<_ACEOF
13396 #define HAVE_TIFFIO_H 1
13403 if test "$ac_cv_header_tiffio_h" = "yes"
13405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13406 $as_echo_n "checking for -ltiff... " >&6; }
13407 if ${ac_cv_lib_soname_tiff+:} false
; then :
13408 $as_echo_n "(cached) " >&6
13410 ac_check_soname_save_LIBS
=$LIBS
13411 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13413 /* end confdefs.h. */
13415 /* Override any GCC internal prototype to avoid an error.
13416 Use char because int might match the return type of a GCC
13417 builtin and then its argument prototype would still apply. */
13421 char TIFFClientOpen ();
13425 return TIFFClientOpen ();
13430 if ac_fn_c_try_link
"$LINENO"; then :
13432 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13433 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'` ;;
13434 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13435 if ${ac_cv_lib_soname_tiff:+false} :; then :
13436 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13440 rm -f core conftest.err conftest.
$ac_objext \
13441 conftest
$ac_exeext conftest.
$ac_ext
13442 LIBS
=$ac_check_soname_save_LIBS
13444 if ${ac_cv_lib_soname_tiff:+false} :; then :
13445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13446 $as_echo "not found" >&6; }
13449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13450 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13452 cat >>confdefs.h
<<_ACEOF
13453 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13459 CPPFLAGS
=$ac_save_CPPFLAGS
13460 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13461 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13464 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13465 case "x$with_tiff" in
13466 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13468 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13469 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13473 if test "x$with_mpg123" != "xno"
13475 if ${MPG123_CFLAGS:+false} :; then :
13476 if ${PKG_CONFIG+:} false
; then :
13477 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13481 if ${MPG123_LIBS:+false} :; then :
13482 if ${PKG_CONFIG+:} false
; then :
13483 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13487 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13488 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13489 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13490 ac_save_CPPFLAGS
=$CPPFLAGS
13491 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13492 for ac_header
in mpg123.h
13494 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13495 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13496 cat >>confdefs.h
<<_ACEOF
13497 #define HAVE_MPG123_H 1
13504 if test "$ac_cv_header_mpg123_h" = "yes"
13506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13507 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13508 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13509 $as_echo_n "(cached) " >&6
13511 ac_check_lib_save_LIBS
=$LIBS
13512 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13514 /* end confdefs.h. */
13516 /* Override any GCC internal prototype to avoid an error.
13517 Use char because int might match the return type of a GCC
13518 builtin and then its argument prototype would still apply. */
13522 char mpg123_feed ();
13526 return mpg123_feed ();
13531 if ac_fn_c_try_link
"$LINENO"; then :
13532 ac_cv_lib_mpg123_mpg123_feed
=yes
13534 ac_cv_lib_mpg123_mpg123_feed
=no
13536 rm -f core conftest.err conftest.
$ac_objext \
13537 conftest
$ac_exeext conftest.
$ac_ext
13538 LIBS
=$ac_check_lib_save_LIBS
13540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13541 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13542 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13552 CPPFLAGS
=$ac_save_CPPFLAGS
13553 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13554 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13557 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13558 case "x$with_mpg123" in
13559 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13561 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13562 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13565 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}
13567 if test "$ac_cv_header_AL_al_h" = "yes"
13569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13570 $as_echo_n "checking for -lopenal... " >&6; }
13571 if ${ac_cv_lib_soname_openal+:} false
; then :
13572 $as_echo_n "(cached) " >&6
13574 ac_check_soname_save_LIBS
=$LIBS
13575 LIBS
="-lopenal $LIBS"
13576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13577 /* end confdefs.h. */
13579 /* Override any GCC internal prototype to avoid an error.
13580 Use char because int might match the return type of a GCC
13581 builtin and then its argument prototype would still apply. */
13585 char alGetSource3i ();
13589 return alGetSource3i ();
13594 if ac_fn_c_try_link
"$LINENO"; then :
13596 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13597 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'` ;;
13598 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13599 if ${ac_cv_lib_soname_openal:+false} :; then :
13600 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13604 rm -f core conftest.err conftest.
$ac_objext \
13605 conftest
$ac_exeext conftest.
$ac_ext
13606 LIBS
=$ac_check_soname_save_LIBS
13608 if ${ac_cv_lib_soname_openal:+false} :; then :
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13610 $as_echo "not found" >&6; }
13613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13614 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13616 cat >>confdefs.h
<<_ACEOF
13617 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13620 OPENAL_LIBS
="-lopenal"
13622 ac_cv_lib_openal
=yes
13624 cat >>confdefs.h
<<_ACEOF
13625 #define HAVE_OPENAL 1
13630 if test "x$ac_cv_lib_openal" != xyes
; then :
13631 case "x$with_openal" in
13632 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13634 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13635 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13638 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13640 if test "x$ac_cv_lib_openal" = xyes
13642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13643 $as_echo_n "checking for openal-soft... " >&6; }
13644 if ${ac_cv_have_openalsoft+:} false
; then :
13645 $as_echo_n "(cached) " >&6
13647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13648 /* end confdefs.h. */
13649 #include <AL/alext.h>
13650 LPALCRENDERSAMPLESSOFT x;
13659 if ac_fn_c_try_compile
"$LINENO"; then :
13660 ac_cv_have_openalsoft
=yes
13662 ac_cv_have_openalsoft
=no
13664 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13667 $as_echo "$ac_cv_have_openalsoft" >&6; }
13669 if test "x$ac_cv_have_openalsoft" != xyes
13671 as_fn_append wine_notices
"|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13672 enable_xaudio2_7
=${enable_xaudio2_7:-no}
13675 if test "$ac_cv_header_kstat_h" = "yes"
13677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13678 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13679 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13680 $as_echo_n "(cached) " >&6
13682 ac_check_lib_save_LIBS
=$LIBS
13683 LIBS
="-lkstat $LIBS"
13684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13685 /* end confdefs.h. */
13687 /* Override any GCC internal prototype to avoid an error.
13688 Use char because int might match the return type of a GCC
13689 builtin and then its argument prototype would still apply. */
13693 char kstat_open ();
13697 return kstat_open ();
13702 if ac_fn_c_try_link
"$LINENO"; then :
13703 ac_cv_lib_kstat_kstat_open
=yes
13705 ac_cv_lib_kstat_kstat_open
=no
13707 rm -f core conftest.err conftest.
$ac_objext \
13708 conftest
$ac_exeext conftest.
$ac_ext
13709 LIBS
=$ac_check_lib_save_LIBS
13711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13712 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13713 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13715 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13717 KSTAT_LIBS
="-lkstat"
13723 if test "$ac_cv_header_libprocstat_h" = "yes"
13725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13726 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13727 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13728 $as_echo_n "(cached) " >&6
13730 ac_check_lib_save_LIBS
=$LIBS
13731 LIBS
="-lprocstat $LIBS"
13732 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13733 /* end confdefs.h. */
13735 /* Override any GCC internal prototype to avoid an error.
13736 Use char because int might match the return type of a GCC
13737 builtin and then its argument prototype would still apply. */
13741 char procstat_open_sysctl ();
13745 return procstat_open_sysctl ();
13750 if ac_fn_c_try_link
"$LINENO"; then :
13751 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13753 ac_cv_lib_procstat_procstat_open_sysctl
=no
13755 rm -f core conftest.err conftest.
$ac_objext \
13756 conftest
$ac_exeext conftest.
$ac_ext
13757 LIBS
=$ac_check_lib_save_LIBS
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13760 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13761 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13763 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13765 PROCSTAT_LIBS
="-lprocstat"
13771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13772 $as_echo_n "checking for -lodbc... " >&6; }
13773 if ${ac_cv_lib_soname_odbc+:} false
; then :
13774 $as_echo_n "(cached) " >&6
13776 ac_check_soname_save_LIBS
=$LIBS
13777 LIBS
="-lodbc $LIBS"
13778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13779 /* end confdefs.h. */
13781 /* Override any GCC internal prototype to avoid an error.
13782 Use char because int might match the return type of a GCC
13783 builtin and then its argument prototype would still apply. */
13787 char SQLConnect ();
13791 return SQLConnect ();
13796 if ac_fn_c_try_link
"$LINENO"; then :
13798 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13799 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'` ;;
13800 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13801 if ${ac_cv_lib_soname_odbc:+false} :; then :
13802 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13806 rm -f core conftest.err conftest.
$ac_objext \
13807 conftest
$ac_exeext conftest.
$ac_ext
13808 LIBS
=$ac_check_soname_save_LIBS
13810 if ${ac_cv_lib_soname_odbc:+false} :; then :
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13812 $as_echo "not found" >&6; }
13813 cat >>confdefs.h
<<_ACEOF
13814 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13819 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13821 cat >>confdefs.h
<<_ACEOF
13822 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13828 if test "x$with_netapi" != "xno"
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13831 $as_echo_n "checking for -lnetapi... " >&6; }
13832 if ${ac_cv_lib_soname_netapi+:} false
; then :
13833 $as_echo_n "(cached) " >&6
13835 ac_check_soname_save_LIBS
=$LIBS
13836 LIBS
="-lnetapi $LIBS"
13837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13838 /* end confdefs.h. */
13840 /* Override any GCC internal prototype to avoid an error.
13841 Use char because int might match the return type of a GCC
13842 builtin and then its argument prototype would still apply. */
13846 char libnetapi_init ();
13850 return libnetapi_init ();
13855 if ac_fn_c_try_link
"$LINENO"; then :
13857 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13858 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'` ;;
13859 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13860 if ${ac_cv_lib_soname_netapi:+false} :; then :
13861 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13865 rm -f core conftest.err conftest.
$ac_objext \
13866 conftest
$ac_exeext conftest.
$ac_ext
13867 LIBS
=$ac_check_soname_save_LIBS
13869 if ${ac_cv_lib_soname_netapi:+false} :; then :
13870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13871 $as_echo "not found" >&6; }
13872 cat >>confdefs.h
<<_ACEOF
13873 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13878 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13880 cat >>confdefs.h
<<_ACEOF
13881 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13888 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13889 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13890 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13891 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13893 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13894 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13895 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13897 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13903 if test "x${GCC}" = "xyes"
13905 EXTRACFLAGS
="-Wall -pipe"
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13908 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13909 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13910 $as_echo_n "(cached) " >&6
13912 if test "$cross_compiling" = yes; then :
13913 ac_cv_c_gcc_strength_bug
="no"
13915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13916 /* end confdefs.h. */
13917 int L[4] = {0,1,2,3};
13921 static int Array[3];
13922 unsigned int B = 3;
13924 for(i=0; i<B; i++) Array[i] = i - 3;
13925 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13927 return (Array[1] != -2 || L[2] != 3)
13932 if ac_fn_c_try_run
"$LINENO"; then :
13933 ac_cv_c_gcc_strength_bug
="no"
13935 ac_cv_c_gcc_strength_bug
="yes"
13937 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13938 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13943 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13944 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13946 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13950 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13951 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13952 $as_echo_n "(cached) " >&6
13954 ac_wine_try_cflags_saved
=$CFLAGS
13955 CFLAGS
="$CFLAGS -fno-builtin"
13956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13957 /* end confdefs.h. */
13958 int main(int argc, char **argv) { return 0; }
13960 if ac_fn_c_try_link
"$LINENO"; then :
13961 ac_cv_cflags__fno_builtin
=yes
13963 ac_cv_cflags__fno_builtin
=no
13965 rm -f core conftest.err conftest.
$ac_objext \
13966 conftest
$ac_exeext conftest.
$ac_ext
13967 CFLAGS
=$ac_wine_try_cflags_saved
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13970 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13971 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
13972 BUILTINFLAG
="-fno-builtin"
13975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13976 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13977 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13978 $as_echo_n "(cached) " >&6
13980 ac_wine_try_cflags_saved
=$CFLAGS
13981 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13983 /* end confdefs.h. */
13984 int main(int argc, char **argv) { return 0; }
13986 if ac_fn_c_try_link
"$LINENO"; then :
13987 ac_cv_cflags__fno_strict_aliasing
=yes
13989 ac_cv_cflags__fno_strict_aliasing
=no
13991 rm -f core conftest.err conftest.
$ac_objext \
13992 conftest
$ac_exeext conftest.
$ac_ext
13993 CFLAGS
=$ac_wine_try_cflags_saved
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13996 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13997 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
13998 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
14000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14001 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14002 if ${ac_cv_cflags__fexcess_precision_standard+:} false
; then :
14003 $as_echo_n "(cached) " >&6
14005 ac_wine_try_cflags_saved
=$CFLAGS
14006 CFLAGS
="$CFLAGS -fexcess-precision=standard"
14007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14008 /* end confdefs.h. */
14009 int main(int argc, char **argv) { return 0; }
14011 if ac_fn_c_try_link
"$LINENO"; then :
14012 ac_cv_cflags__fexcess_precision_standard
=yes
14014 ac_cv_cflags__fexcess_precision_standard
=no
14016 rm -f core conftest.err conftest.
$ac_objext \
14017 conftest
$ac_exeext conftest.
$ac_ext
14018 CFLAGS
=$ac_wine_try_cflags_saved
14020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14021 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14022 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
; then :
14023 EXCESS_PRECISION_CFLAGS
="-fexcess-precision=standard"
14026 saved_CFLAGS
=$CFLAGS
14027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14028 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14029 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
14030 $as_echo_n "(cached) " >&6
14032 ac_wine_try_cflags_saved
=$CFLAGS
14033 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14035 /* end confdefs.h. */
14036 int main(int argc, char **argv) { return 0; }
14038 if ac_fn_c_try_link
"$LINENO"; then :
14039 ac_cv_cflags__Werror_unknown_warning_option
=yes
14041 ac_cv_cflags__Werror_unknown_warning_option
=no
14043 rm -f core conftest.err conftest.
$ac_objext \
14044 conftest
$ac_exeext conftest.
$ac_ext
14045 CFLAGS
=$ac_wine_try_cflags_saved
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14048 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14049 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
14050 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14053 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14054 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
14055 $as_echo_n "(cached) " >&6
14057 ac_wine_try_cflags_saved
=$CFLAGS
14058 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
14059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14060 /* end confdefs.h. */
14061 int main(int argc, char **argv) { return 0; }
14063 if ac_fn_c_try_link
"$LINENO"; then :
14064 ac_cv_cflags__Wdeclaration_after_statement
=yes
14066 ac_cv_cflags__Wdeclaration_after_statement
=no
14068 rm -f core conftest.err conftest.
$ac_objext \
14069 conftest
$ac_exeext conftest.
$ac_ext
14070 CFLAGS
=$ac_wine_try_cflags_saved
14072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14073 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14074 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
14075 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
14077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14078 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14079 if ${ac_cv_cflags__Wempty_body+:} false
; then :
14080 $as_echo_n "(cached) " >&6
14082 ac_wine_try_cflags_saved
=$CFLAGS
14083 CFLAGS
="$CFLAGS -Wempty-body"
14084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14085 /* end confdefs.h. */
14086 int main(int argc, char **argv) { return 0; }
14088 if ac_fn_c_try_link
"$LINENO"; then :
14089 ac_cv_cflags__Wempty_body
=yes
14091 ac_cv_cflags__Wempty_body
=no
14093 rm -f core conftest.err conftest.
$ac_objext \
14094 conftest
$ac_exeext conftest.
$ac_ext
14095 CFLAGS
=$ac_wine_try_cflags_saved
14097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14098 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14099 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
14100 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
14102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14103 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14104 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
14105 $as_echo_n "(cached) " >&6
14107 ac_wine_try_cflags_saved
=$CFLAGS
14108 CFLAGS
="$CFLAGS -Wignored-qualifiers"
14109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14110 /* end confdefs.h. */
14111 int main(int argc, char **argv) { return 0; }
14113 if ac_fn_c_try_link
"$LINENO"; then :
14114 ac_cv_cflags__Wignored_qualifiers
=yes
14116 ac_cv_cflags__Wignored_qualifiers
=no
14118 rm -f core conftest.err conftest.
$ac_objext \
14119 conftest
$ac_exeext conftest.
$ac_ext
14120 CFLAGS
=$ac_wine_try_cflags_saved
14122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14123 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14124 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
14125 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
14127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14128 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14129 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
14130 $as_echo_n "(cached) " >&6
14132 ac_wine_try_cflags_saved
=$CFLAGS
14133 CFLAGS
="$CFLAGS -Wstrict-prototypes"
14134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14135 /* end confdefs.h. */
14136 int main(int argc, char **argv) { return 0; }
14138 if ac_fn_c_try_link
"$LINENO"; then :
14139 ac_cv_cflags__Wstrict_prototypes
=yes
14141 ac_cv_cflags__Wstrict_prototypes
=no
14143 rm -f core conftest.err conftest.
$ac_objext \
14144 conftest
$ac_exeext conftest.
$ac_ext
14145 CFLAGS
=$ac_wine_try_cflags_saved
14147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14148 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14149 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
14150 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
14152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14153 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14154 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
14155 $as_echo_n "(cached) " >&6
14157 ac_wine_try_cflags_saved
=$CFLAGS
14158 CFLAGS
="$CFLAGS -Wtype-limits"
14159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14160 /* end confdefs.h. */
14161 int main(int argc, char **argv) { return 0; }
14163 if ac_fn_c_try_link
"$LINENO"; then :
14164 ac_cv_cflags__Wtype_limits
=yes
14166 ac_cv_cflags__Wtype_limits
=no
14168 rm -f core conftest.err conftest.
$ac_objext \
14169 conftest
$ac_exeext conftest.
$ac_ext
14170 CFLAGS
=$ac_wine_try_cflags_saved
14172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14173 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14174 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
14175 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
14177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14178 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14179 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
14180 $as_echo_n "(cached) " >&6
14182 ac_wine_try_cflags_saved
=$CFLAGS
14183 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
14184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14185 /* end confdefs.h. */
14186 int main(int argc, char **argv) { return 0; }
14188 if ac_fn_c_try_link
"$LINENO"; then :
14189 ac_cv_cflags__Wunused_but_set_parameter
=yes
14191 ac_cv_cflags__Wunused_but_set_parameter
=no
14193 rm -f core conftest.err conftest.
$ac_objext \
14194 conftest
$ac_exeext conftest.
$ac_ext
14195 CFLAGS
=$ac_wine_try_cflags_saved
14197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14198 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14199 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
14200 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
14202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14203 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14204 if ${ac_cv_cflags__Wvla+:} false
; then :
14205 $as_echo_n "(cached) " >&6
14207 ac_wine_try_cflags_saved
=$CFLAGS
14208 CFLAGS
="$CFLAGS -Wvla"
14209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14210 /* end confdefs.h. */
14211 int main(int argc, char **argv) { return 0; }
14213 if ac_fn_c_try_link
"$LINENO"; then :
14214 ac_cv_cflags__Wvla
=yes
14216 ac_cv_cflags__Wvla
=no
14218 rm -f core conftest.err conftest.
$ac_objext \
14219 conftest
$ac_exeext conftest.
$ac_ext
14220 CFLAGS
=$ac_wine_try_cflags_saved
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14223 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14224 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
14225 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
14227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14228 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14229 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
14230 $as_echo_n "(cached) " >&6
14232 ac_wine_try_cflags_saved
=$CFLAGS
14233 CFLAGS
="$CFLAGS -Wwrite-strings"
14234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14235 /* end confdefs.h. */
14236 int main(int argc, char **argv) { return 0; }
14238 if ac_fn_c_try_link
"$LINENO"; then :
14239 ac_cv_cflags__Wwrite_strings
=yes
14241 ac_cv_cflags__Wwrite_strings
=no
14243 rm -f core conftest.err conftest.
$ac_objext \
14244 conftest
$ac_exeext conftest.
$ac_ext
14245 CFLAGS
=$ac_wine_try_cflags_saved
14247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14248 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14249 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
14250 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
14253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14254 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14255 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
14256 $as_echo_n "(cached) " >&6
14258 ac_wine_try_cflags_saved
=$CFLAGS
14259 CFLAGS
="$CFLAGS -Wpointer-arith"
14260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14261 /* end confdefs.h. */
14262 int main(int argc, char **argv) { return 0; }
14264 if ac_fn_c_try_link
"$LINENO"; then :
14265 ac_cv_cflags__Wpointer_arith
=yes
14267 ac_cv_cflags__Wpointer_arith
=no
14269 rm -f core conftest.err conftest.
$ac_objext \
14270 conftest
$ac_exeext conftest.
$ac_ext
14271 CFLAGS
=$ac_wine_try_cflags_saved
14273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14274 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14275 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
14276 saved_string_h_CFLAGS
=$CFLAGS
14277 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
14278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14279 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14280 if ${ac_cv_c_string_h_warnings+:} false
; then :
14281 $as_echo_n "(cached) " >&6
14283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14284 /* end confdefs.h. */
14285 #include <string.h>
14294 if ac_fn_c_try_compile
"$LINENO"; then :
14295 ac_cv_c_string_h_warnings
=no
14297 ac_cv_c_string_h_warnings
=yes
14299 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14302 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14303 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
14304 CFLAGS
=$saved_string_h_CFLAGS
14307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14308 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14309 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
14310 $as_echo_n "(cached) " >&6
14312 ac_wine_try_cflags_saved
=$CFLAGS
14313 CFLAGS
="$CFLAGS -Wlogical-op"
14314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14315 /* end confdefs.h. */
14316 int main(int argc, char **argv) { return 0; }
14318 if ac_fn_c_try_link
"$LINENO"; then :
14319 ac_cv_cflags__Wlogical_op
=yes
14321 ac_cv_cflags__Wlogical_op
=no
14323 rm -f core conftest.err conftest.
$ac_objext \
14324 conftest
$ac_exeext conftest.
$ac_ext
14325 CFLAGS
=$ac_wine_try_cflags_saved
14327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14328 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14329 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
14330 saved_string_h_CFLAGS
=$CFLAGS
14331 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
14332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14333 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14334 if ${ac_cv_c_logicalop_noisy+:} false
; then :
14335 $as_echo_n "(cached) " >&6
14337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14338 /* end confdefs.h. */
14339 #include <string.h>
14340 char*f(const char *h,char n) {return strchr(h,n);}
14349 if ac_fn_c_try_compile
"$LINENO"; then :
14350 ac_cv_c_logicalop_noisy
=no
14352 ac_cv_c_logicalop_noisy
=yes
14354 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14357 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14358 CFLAGS
=$saved_string_h_CFLAGS
14359 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
14362 CFLAGS
=$saved_CFLAGS
14364 for ac_flag
in $CFLAGS; do
14366 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14367 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14368 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14369 $as_echo_n "(cached) " >&6
14371 ac_wine_try_cflags_saved
=$CFLAGS
14372 CFLAGS
="$CFLAGS -gdwarf-2"
14373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14374 /* end confdefs.h. */
14375 int main(int argc, char **argv) { return 0; }
14377 if ac_fn_c_try_link
"$LINENO"; then :
14378 ac_cv_cflags__gdwarf_2
=yes
14380 ac_cv_cflags__gdwarf_2
=no
14382 rm -f core conftest.err conftest.
$ac_objext \
14383 conftest
$ac_exeext conftest.
$ac_ext
14384 CFLAGS
=$ac_wine_try_cflags_saved
14386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14387 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14388 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14389 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14392 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14393 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14394 $as_echo_n "(cached) " >&6
14396 ac_wine_try_cflags_saved
=$CFLAGS
14397 CFLAGS
="$CFLAGS -gstrict-dwarf"
14398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14399 /* end confdefs.h. */
14400 int main(int argc, char **argv) { return 0; }
14402 if ac_fn_c_try_link
"$LINENO"; then :
14403 ac_cv_cflags__gstrict_dwarf
=yes
14405 ac_cv_cflags__gstrict_dwarf
=no
14407 rm -f core conftest.err conftest.
$ac_objext \
14408 conftest
$ac_exeext conftest.
$ac_ext
14409 CFLAGS
=$ac_wine_try_cflags_saved
14411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14412 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14413 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14414 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14420 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14421 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14422 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14423 $as_echo_n "(cached) " >&6
14425 ac_wine_try_cflags_saved
=$CFLAGS
14426 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14427 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14428 /* end confdefs.h. */
14429 int main(int argc, char **argv) { return 0; }
14431 if ac_fn_c_try_link
"$LINENO"; then :
14432 ac_cv_cflags__fno_omit_frame_pointer
=yes
14434 ac_cv_cflags__fno_omit_frame_pointer
=no
14436 rm -f core conftest.err conftest.
$ac_objext \
14437 conftest
$ac_exeext conftest.
$ac_ext
14438 CFLAGS
=$ac_wine_try_cflags_saved
14440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14441 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14442 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14443 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14448 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14449 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14450 if ${ac_cv_cflags__Wno_format+:} false
; then :
14451 $as_echo_n "(cached) " >&6
14453 ac_wine_try_cflags_saved
=$CFLAGS
14454 CFLAGS
="$CFLAGS -Wno-format"
14455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14456 /* end confdefs.h. */
14457 int main(int argc, char **argv) { return 0; }
14459 if ac_fn_c_try_link
"$LINENO"; then :
14460 ac_cv_cflags__Wno_format
=yes
14462 ac_cv_cflags__Wno_format
=no
14464 rm -f core conftest.err conftest.
$ac_objext \
14465 conftest
$ac_exeext conftest.
$ac_ext
14466 CFLAGS
=$ac_wine_try_cflags_saved
14468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14469 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14470 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14471 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14475 if test "x$enable_maintainer_mode" = "xyes"
14477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14478 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14479 if ${ac_cv_cflags__Werror+:} false
; then :
14480 $as_echo_n "(cached) " >&6
14482 ac_wine_try_cflags_saved
=$CFLAGS
14483 CFLAGS
="$CFLAGS -Werror"
14484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14485 /* end confdefs.h. */
14486 int main(int argc, char **argv) { return 0; }
14488 if ac_fn_c_try_link
"$LINENO"; then :
14489 ac_cv_cflags__Werror
=yes
14491 ac_cv_cflags__Werror
=no
14493 rm -f core conftest.err conftest.
$ac_objext \
14494 conftest
$ac_exeext conftest.
$ac_ext
14495 CFLAGS
=$ac_wine_try_cflags_saved
14497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14498 $as_echo "$ac_cv_cflags__Werror" >&6; }
14499 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14500 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14504 saved_CFLAGS
="$CFLAGS"
14505 CFLAGS
="$CFLAGS -Werror"
14506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14507 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14508 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14509 $as_echo_n "(cached) " >&6
14511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14512 /* end confdefs.h. */
14513 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14522 if ac_fn_c_try_compile
"$LINENO"; then :
14523 ac_cv_have_ms_hook_prologue
="yes"
14525 ac_cv_have_ms_hook_prologue
="no"
14527 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14530 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14531 CFLAGS
="$saved_CFLAGS"
14532 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14535 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14538 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14545 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14546 if ${ac_cv_c_fortify_enabled+:} false
; then :
14547 $as_echo_n "(cached) " >&6
14549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14550 /* end confdefs.h. */
14551 #include <string.h>
14555 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14556 #error Fortify enabled
14562 if ac_fn_c_try_compile
"$LINENO"; then :
14563 ac_cv_c_fortify_enabled
=no
14565 ac_cv_c_fortify_enabled
=yes
14567 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14570 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14571 if test "$ac_cv_c_fortify_enabled" = yes
14573 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14578 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14579 if ${ac_cv_c_extern_prefix+:} false
; then :
14580 $as_echo_n "(cached) " >&6
14582 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14583 /* end confdefs.h. */
14584 extern int ac_test;
14588 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14593 if ac_fn_c_try_link
"$LINENO"; then :
14594 ac_cv_c_extern_prefix
="yes"
14596 ac_cv_c_extern_prefix
="no"
14598 rm -f core conftest.err conftest.
$ac_objext \
14599 conftest
$ac_exeext conftest.
$ac_ext
14601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14602 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14607 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14608 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14609 $as_echo_n "(cached) " >&6
14611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14612 /* end confdefs.h. */
14614 #define __stdcall __attribute__((__stdcall__))
14616 int __stdcall ac_test(int i) { return i; }
14620 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14625 if ac_fn_c_try_link
"$LINENO"; then :
14626 ac_cv_c_stdcall_suffix
="yes"
14628 ac_cv_c_stdcall_suffix
="no"
14630 rm -f core conftest.err conftest.
$ac_objext \
14631 conftest
$ac_exeext conftest.
$ac_ext
14633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14634 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14635 *) ac_cv_c_stdcall_suffix
="no" ;;
14639 if test "$ac_cv_c_extern_prefix" = "yes"
14641 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14643 asm_name_prefix
="_"
14645 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14651 if test "$ac_cv_c_stdcall_suffix" = "yes"
14653 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14656 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14662 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14663 if ${ac_cv_asm_func_def+:} false
; then :
14664 $as_echo_n "(cached) " >&6
14666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14667 /* end confdefs.h. */
14672 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14677 if ac_fn_c_try_link
"$LINENO"; then :
14678 ac_cv_asm_func_def
=".def"
14680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14681 /* end confdefs.h. */
14686 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14691 if ac_fn_c_try_link
"$LINENO"; then :
14692 ac_cv_asm_func_def
=".type @function"
14694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14695 /* end confdefs.h. */
14700 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14705 if ac_fn_c_try_link
"$LINENO"; then :
14706 ac_cv_asm_func_def
=".type 2"
14708 ac_cv_asm_func_def
="unknown"
14710 rm -f core conftest.err conftest.
$ac_objext \
14711 conftest
$ac_exeext conftest.
$ac_ext
14713 rm -f core conftest.err conftest.
$ac_objext \
14714 conftest
$ac_exeext conftest.
$ac_ext
14716 rm -f core conftest.err conftest.
$ac_objext \
14717 conftest
$ac_exeext conftest.
$ac_ext
14719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14720 $as_echo "$ac_cv_asm_func_def" >&6; }
14723 case "$ac_cv_asm_func_def" in
14725 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14727 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14729 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14731 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14733 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14735 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14737 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14739 asm_func_header
="" ;;
14742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14743 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14744 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14745 $as_echo_n "(cached) " >&6
14747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14748 /* end confdefs.h. */
14749 asm(".text\n\t.long 0");
14758 if ac_fn_c_try_compile
"$LINENO"; then :
14759 ac_cv_c_asm_outside_funcs
="yes"
14761 ac_cv_c_asm_outside_funcs
="no"
14763 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14766 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14769 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14770 if ${ac_cv_c_dot_previous+:} false
; then :
14771 $as_echo_n "(cached) " >&6
14773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14774 /* end confdefs.h. */
14779 asm(".text\nac_test:\t.long 0\n\t.previous");
14784 if ac_fn_c_try_link
"$LINENO"; then :
14785 ac_cv_c_dot_previous
="yes"
14787 ac_cv_c_dot_previous
="no"
14789 rm -f core conftest.err conftest.
$ac_objext \
14790 conftest
$ac_exeext conftest.
$ac_ext
14792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14793 $as_echo "$ac_cv_c_dot_previous" >&6; }
14795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14796 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14797 if ${ac_cv_c_cfi_support+:} false
; then :
14798 $as_echo_n "(cached) " >&6
14800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14801 /* end confdefs.h. */
14802 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14811 if ac_fn_c_try_compile
"$LINENO"; then :
14812 ac_cv_c_cfi_support
="yes"
14814 ac_cv_c_cfi_support
="no"
14816 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14819 $as_echo "$ac_cv_c_cfi_support" >&6; }
14821 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14822 asm_func_trailer
=""
14823 if test "$ac_cv_c_dot_previous" = "yes"
14825 asm_func_trailer
="\\n\\t.previous"
14827 if test "$ac_cv_c_cfi_support" = "yes"
14829 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14830 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14832 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14834 UNWINDFLAGS
=-fasynchronous-unwind-tables
14837 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14839 if test "x$enable_win64" = "xyes"
14841 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
14845 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14848 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14850 cat >>confdefs.h
<<_ACEOF
14851 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14855 cat >>confdefs.h
<<_ACEOF
14856 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14861 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14864 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14869 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14876 *i
[3456789]86*|x86_64
*)
14877 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14878 loader_programs
="$loader_programs $wine_binary-preloader"
14879 as_fn_append LOADER_RULES
"
14880 $wine_binary-preloader: preloader.o
14881 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14883 install install-lib:: $wine_binary-preloader
14884 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14887 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14889 preloader_EXTRADEFS = $BUILTINFLAG
14894 as_fn_append LOADER_RULES
"
14895 PROGRAMS = $loader_programs
14899 ac_save_CFLAGS
="$CFLAGS"
14900 CFLAGS
="$CFLAGS $BUILTINFLAG"
14979 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14980 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14981 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14982 cat >>confdefs.h
<<_ACEOF
14983 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14989 CFLAGS
="$ac_save_CFLAGS"
14991 if test "$ac_cv_func_dlopen" = no
14993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14994 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14995 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14996 $as_echo_n "(cached) " >&6
14998 ac_check_lib_save_LIBS
=$LIBS
15000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15001 /* end confdefs.h. */
15003 /* Override any GCC internal prototype to avoid an error.
15004 Use char because int might match the return type of a GCC
15005 builtin and then its argument prototype would still apply. */
15018 if ac_fn_c_try_link
"$LINENO"; then :
15019 ac_cv_lib_dl_dlopen
=yes
15021 ac_cv_lib_dl_dlopen
=no
15023 rm -f core conftest.err conftest.
$ac_objext \
15024 conftest
$ac_exeext conftest.
$ac_ext
15025 LIBS
=$ac_check_lib_save_LIBS
15027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15028 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15029 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
15030 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15036 ac_wine_check_funcs_save_LIBS
="$LIBS"
15037 LIBS
="$LIBS $DL_LIBS"
15038 for ac_func
in dladdr
15040 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
15041 if test "x$ac_cv_func_dladdr" = xyes
; then :
15042 cat >>confdefs.h
<<_ACEOF
15043 #define HAVE_DLADDR 1
15049 LIBS
="$ac_wine_check_funcs_save_LIBS"
15051 if test "$ac_cv_func_poll" = no
15053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15054 $as_echo_n "checking for poll in -lpoll... " >&6; }
15055 if ${ac_cv_lib_poll_poll+:} false
; then :
15056 $as_echo_n "(cached) " >&6
15058 ac_check_lib_save_LIBS
=$LIBS
15059 LIBS
="-lpoll $LIBS"
15060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15061 /* end confdefs.h. */
15063 /* Override any GCC internal prototype to avoid an error.
15064 Use char because int might match the return type of a GCC
15065 builtin and then its argument prototype would still apply. */
15078 if ac_fn_c_try_link
"$LINENO"; then :
15079 ac_cv_lib_poll_poll
=yes
15081 ac_cv_lib_poll_poll
=no
15083 rm -f core conftest.err conftest.
$ac_objext \
15084 conftest
$ac_exeext conftest.
$ac_ext
15085 LIBS
=$ac_check_lib_save_LIBS
15087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15088 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15089 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
15090 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15098 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15099 if ${ac_cv_search_gethostbyname+:} false
; then :
15100 $as_echo_n "(cached) " >&6
15102 ac_func_search_save_LIBS
=$LIBS
15103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15104 /* end confdefs.h. */
15106 /* Override any GCC internal prototype to avoid an error.
15107 Use char because int might match the return type of a GCC
15108 builtin and then its argument prototype would still apply. */
15112 char gethostbyname ();
15116 return gethostbyname ();
15121 for ac_lib
in '' nsl
; do
15122 if test -z "$ac_lib"; then
15123 ac_res
="none required"
15126 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15128 if ac_fn_c_try_link
"$LINENO"; then :
15129 ac_cv_search_gethostbyname
=$ac_res
15131 rm -f core conftest.err conftest.
$ac_objext \
15133 if ${ac_cv_search_gethostbyname+:} false
; then :
15137 if ${ac_cv_search_gethostbyname+:} false
; then :
15140 ac_cv_search_gethostbyname
=no
15142 rm conftest.
$ac_ext
15143 LIBS
=$ac_func_search_save_LIBS
15145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15146 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15147 ac_res
=$ac_cv_search_gethostbyname
15148 if test "$ac_res" != no
; then :
15149 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15155 $as_echo_n "checking for library containing connect... " >&6; }
15156 if ${ac_cv_search_connect+:} false
; then :
15157 $as_echo_n "(cached) " >&6
15159 ac_func_search_save_LIBS
=$LIBS
15160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15161 /* end confdefs.h. */
15163 /* Override any GCC internal prototype to avoid an error.
15164 Use char because int might match the return type of a GCC
15165 builtin and then its argument prototype would still apply. */
15178 for ac_lib
in '' socket
; do
15179 if test -z "$ac_lib"; then
15180 ac_res
="none required"
15183 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15185 if ac_fn_c_try_link
"$LINENO"; then :
15186 ac_cv_search_connect
=$ac_res
15188 rm -f core conftest.err conftest.
$ac_objext \
15190 if ${ac_cv_search_connect+:} false
; then :
15194 if ${ac_cv_search_connect+:} false
; then :
15197 ac_cv_search_connect
=no
15199 rm conftest.
$ac_ext
15200 LIBS
=$ac_func_search_save_LIBS
15202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15203 $as_echo "$ac_cv_search_connect" >&6; }
15204 ac_res
=$ac_cv_search_connect
15205 if test "$ac_res" != no
; then :
15206 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15212 $as_echo_n "checking for library containing inet_aton... " >&6; }
15213 if ${ac_cv_search_inet_aton+:} false
; then :
15214 $as_echo_n "(cached) " >&6
15216 ac_func_search_save_LIBS
=$LIBS
15217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15218 /* end confdefs.h. */
15220 /* Override any GCC internal prototype to avoid an error.
15221 Use char because int might match the return type of a GCC
15222 builtin and then its argument prototype would still apply. */
15230 return inet_aton ();
15235 for ac_lib
in '' resolv
; do
15236 if test -z "$ac_lib"; then
15237 ac_res
="none required"
15240 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15242 if ac_fn_c_try_link
"$LINENO"; then :
15243 ac_cv_search_inet_aton
=$ac_res
15245 rm -f core conftest.err conftest.
$ac_objext \
15247 if ${ac_cv_search_inet_aton+:} false
; then :
15251 if ${ac_cv_search_inet_aton+:} false
; then :
15254 ac_cv_search_inet_aton
=no
15256 rm conftest.
$ac_ext
15257 LIBS
=$ac_func_search_save_LIBS
15259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15260 $as_echo "$ac_cv_search_inet_aton" >&6; }
15261 ac_res
=$ac_cv_search_inet_aton
15262 if test "$ac_res" != no
; then :
15263 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15283 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15284 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15285 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15286 cat >>confdefs.h
<<_ACEOF
15287 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15296 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15297 if ${ac_cv_search_clock_gettime+:} false
; then :
15298 $as_echo_n "(cached) " >&6
15300 ac_func_search_save_LIBS
=$LIBS
15301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15302 /* end confdefs.h. */
15304 /* Override any GCC internal prototype to avoid an error.
15305 Use char because int might match the return type of a GCC
15306 builtin and then its argument prototype would still apply. */
15310 char clock_gettime ();
15314 return clock_gettime ();
15319 for ac_lib
in '' rt
; do
15320 if test -z "$ac_lib"; then
15321 ac_res
="none required"
15324 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15326 if ac_fn_c_try_link
"$LINENO"; then :
15327 ac_cv_search_clock_gettime
=$ac_res
15329 rm -f core conftest.err conftest.
$ac_objext \
15331 if ${ac_cv_search_clock_gettime+:} false
; then :
15335 if ${ac_cv_search_clock_gettime+:} false
; then :
15338 ac_cv_search_clock_gettime
=no
15340 rm conftest.
$ac_ext
15341 LIBS
=$ac_func_search_save_LIBS
15343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15344 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15345 ac_res
=$ac_cv_search_clock_gettime
15346 if test "$ac_res" != no
; then :
15347 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15349 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15351 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
15359 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15361 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15363 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15365 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15366 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15367 $as_echo_n "(cached) " >&6
15369 ac_check_lib_save_LIBS
=$LIBS
15370 LIBS
="-lldap_r $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. */
15380 char ldap_initialize ();
15384 return ldap_initialize ();
15389 if ac_fn_c_try_link
"$LINENO"; then :
15390 ac_cv_lib_ldap_r_ldap_initialize
=yes
15392 ac_cv_lib_ldap_r_ldap_initialize
=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_ldap_r_ldap_initialize" >&5
15399 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15400 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15402 $as_echo_n "checking for ber_init in -llber... " >&6; }
15403 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15404 $as_echo_n "(cached) " >&6
15406 ac_check_lib_save_LIBS
=$LIBS
15407 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15409 /* end confdefs.h. */
15411 /* Override any GCC internal prototype to avoid an error.
15412 Use char because int might match the return type of a GCC
15413 builtin and then its argument prototype would still apply. */
15421 return ber_init ();
15426 if ac_fn_c_try_link
"$LINENO"; then :
15427 ac_cv_lib_lber_ber_init
=yes
15429 ac_cv_lib_lber_ber_init
=no
15431 rm -f core conftest.err conftest.
$ac_objext \
15432 conftest
$ac_exeext conftest.
$ac_ext
15433 LIBS
=$ac_check_lib_save_LIBS
15435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15436 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15437 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15439 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15441 LDAP_LIBS
="-lldap_r -llber"
15448 ac_wine_check_funcs_save_LIBS
="$LIBS"
15449 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15451 ldap_count_references \
15452 ldap_first_reference \
15453 ldap_next_reference \
15454 ldap_parse_reference \
15455 ldap_parse_sort_control \
15456 ldap_parse_sortresponse_control \
15457 ldap_parse_vlv_control \
15458 ldap_parse_vlvresponse_control
15460 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15461 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15462 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15463 cat >>confdefs.h
<<_ACEOF
15464 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15470 LIBS
="$ac_wine_check_funcs_save_LIBS"
15472 if test "x$LDAP_LIBS" = "x"; then :
15473 case "x$with_ldap" in
15474 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15476 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15477 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15482 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15483 if ${wine_cv_one_arg_mkdir+:} false
; then :
15484 $as_echo_n "(cached) " >&6
15486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15487 /* end confdefs.h. */
15488 #include <sys/stat.h>
15497 if ac_fn_c_try_compile
"$LINENO"; then :
15498 wine_cv_one_arg_mkdir
=yes
15500 wine_cv_one_arg_mkdir
=no
15502 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15505 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15506 if test "$wine_cv_one_arg_mkdir" = "yes"
15509 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15514 $as_echo_n "checking for sched_setaffinity... " >&6; }
15515 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15516 $as_echo_n "(cached) " >&6
15518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15519 /* end confdefs.h. */
15520 #define _GNU_SOURCE
15525 sched_setaffinity(0, 0, 0);
15530 if ac_fn_c_try_link
"$LINENO"; then :
15531 wine_cv_have_sched_setaffinity
=yes
15533 wine_cv_have_sched_setaffinity
=no
15535 rm -f core conftest.err conftest.
$ac_objext \
15536 conftest
$ac_exeext conftest.
$ac_ext
15538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15539 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15540 if test "$wine_cv_have_sched_setaffinity" = "yes"
15543 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15548 $as_echo_n "checking for fallocate... " >&6; }
15549 if ${wine_cv_have_fallocate+:} false
; then :
15550 $as_echo_n "(cached) " >&6
15552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15553 /* end confdefs.h. */
15554 #define _GNU_SOURCE
15559 fallocate(-1, 0, 0, 0);
15564 if ac_fn_c_try_link
"$LINENO"; then :
15565 wine_cv_have_fallocate
=yes
15567 wine_cv_have_fallocate
=no
15569 rm -f core conftest.err conftest.
$ac_objext \
15570 conftest
$ac_exeext conftest.
$ac_ext
15572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15573 $as_echo "$wine_cv_have_fallocate" >&6; }
15574 if test "$wine_cv_have_fallocate" = "yes"
15577 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15583 $as_echo_n "checking for inline... " >&6; }
15584 if ${ac_cv_c_inline+:} false
; then :
15585 $as_echo_n "(cached) " >&6
15588 for ac_kw
in inline __inline__ __inline
; do
15589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15590 /* end confdefs.h. */
15591 #ifndef __cplusplus
15593 static $ac_kw foo_t static_foo () {return 0; }
15594 $ac_kw foo_t foo () {return 0; }
15598 if ac_fn_c_try_compile
"$LINENO"; then :
15599 ac_cv_c_inline
=$ac_kw
15601 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15602 test "$ac_cv_c_inline" != no
&& break
15606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15607 $as_echo "$ac_cv_c_inline" >&6; }
15609 case $ac_cv_c_inline in
15612 case $ac_cv_c_inline in
15614 *) ac_val
=$ac_cv_c_inline;;
15616 cat >>confdefs.h
<<_ACEOF
15617 #ifndef __cplusplus
15618 #define inline $ac_val
15624 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15625 if test "x$ac_cv_type_mode_t" = xyes
; then :
15627 cat >>confdefs.h
<<_ACEOF
15628 #define HAVE_MODE_T 1
15633 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15634 if test "x$ac_cv_type_off_t" = xyes
; then :
15636 cat >>confdefs.h
<<_ACEOF
15637 #define HAVE_OFF_T 1
15642 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15643 if test "x$ac_cv_type_pid_t" = xyes
; then :
15645 cat >>confdefs.h
<<_ACEOF
15646 #define HAVE_PID_T 1
15651 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15652 if test "x$ac_cv_type_size_t" = xyes
; then :
15654 cat >>confdefs.h
<<_ACEOF
15655 #define HAVE_SIZE_T 1
15660 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15661 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15663 cat >>confdefs.h
<<_ACEOF
15664 #define HAVE_SSIZE_T 1
15669 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15670 if test "x$ac_cv_type_long_long" = xyes
; then :
15672 cat >>confdefs.h
<<_ACEOF
15673 #define HAVE_LONG_LONG 1
15678 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15679 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15681 cat >>confdefs.h
<<_ACEOF
15682 #define HAVE_FSBLKCNT_T 1
15687 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15688 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15690 cat >>confdefs.h
<<_ACEOF
15691 #define HAVE_FSFILCNT_T 1
15697 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15698 #include <signal.h>
15700 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15702 cat >>confdefs.h
<<_ACEOF
15703 #define HAVE_SIGSET_T 1
15709 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15711 if test "x$ac_cv_type_request_sense" = xyes
; then :
15713 cat >>confdefs.h
<<_ACEOF
15714 #define HAVE_REQUEST_SENSE 1
15721 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15722 #ifdef HAVE_SYS_SOCKET_H
15723 #include <sys/socket.h>
15725 #ifdef HAVE_SYS_SOCKETVAR_H
15726 #include <sys/socketvar.h>
15728 #ifdef HAVE_NET_ROUTE_H
15729 #include <net/route.h>
15731 #ifdef HAVE_NETINET_IN_H
15732 #include <netinet/in.h>
15734 #ifdef HAVE_NETINET_IN_SYSTM_H
15735 #include <netinet/in_systm.h>
15737 #ifdef HAVE_NETINET_IP_H
15738 #include <netinet/ip.h>
15740 #ifdef HAVE_NETINET_IN_PCB_H
15741 #include <netinet/in_pcb.h>
15744 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15746 cat >>confdefs.h
<<_ACEOF
15747 #define HAVE_STRUCT_XINPGEN 1
15754 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15757 #ifdef HAVE_SYS_LINK_H
15758 #include <sys/link.h>
15761 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15763 cat >>confdefs.h
<<_ACEOF
15764 #define HAVE_STRUCT_R_DEBUG 1
15769 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15772 #ifdef HAVE_SYS_LINK_H
15773 #include <sys/link.h>
15776 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15778 cat >>confdefs.h
<<_ACEOF
15779 #define HAVE_STRUCT_LINK_MAP 1
15786 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15787 #include <linux/input.h>
15790 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15792 cat >>confdefs.h
<<_ACEOF
15793 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15801 $as_echo_n "checking for sigaddset... " >&6; }
15802 if ${wine_cv_have_sigaddset+:} false
; then :
15803 $as_echo_n "(cached) " >&6
15805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15806 /* end confdefs.h. */
15807 #include <signal.h>
15811 sigset_t set; sigaddset(&set,SIGTERM);
15816 if ac_fn_c_try_link
"$LINENO"; then :
15817 wine_cv_have_sigaddset
=yes
15819 wine_cv_have_sigaddset
=no
15821 rm -f core conftest.err conftest.
$ac_objext \
15822 conftest
$ac_exeext conftest.
$ac_ext
15824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15825 $as_echo "$wine_cv_have_sigaddset" >&6; }
15826 if test "$wine_cv_have_sigaddset" = "yes"
15829 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15835 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15836 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15837 $as_echo_n "(cached) " >&6
15839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15840 /* end confdefs.h. */
15848 struct hostent *result;
15855 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15856 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15862 if ac_fn_c_try_link
"$LINENO"; then :
15863 wine_cv_linux_gethostbyname_r_6
=yes
15865 wine_cv_linux_gethostbyname_r_6
=no
15868 rm -f core conftest.err conftest.
$ac_objext \
15869 conftest
$ac_exeext conftest.
$ac_ext
15872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15873 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15874 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15877 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15881 if test "$ac_cv_header_linux_joystick_h" = "yes"
15883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15884 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15885 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15886 $as_echo_n "(cached) " >&6
15888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15889 /* end confdefs.h. */
15891 #include <sys/ioctl.h>
15892 #include <sys/types.h>
15893 #include <linux/joystick.h>
15895 struct js_event blub;
15896 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15897 #error "no 2.2 header"
15908 if ac_fn_c_try_compile
"$LINENO"; then :
15909 wine_cv_linux_joystick_22_api
=yes
15911 wine_cv_linux_joystick_22_api
=no
15913 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15917 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15918 if test "$wine_cv_linux_joystick_22_api" = "yes"
15921 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15927 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15928 #ifdef HAVE_SYS_PARAM_H
15929 # include <sys/param.h>
15931 #ifdef HAVE_SYS_MOUNT_H
15932 # include <sys/mount.h>
15934 #ifdef HAVE_SYS_VFS_H
15935 # include <sys/vfs.h>
15937 #ifdef HAVE_SYS_STATFS_H
15938 # include <sys/statfs.h>
15941 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15943 cat >>confdefs.h
<<_ACEOF
15944 #define HAVE_STRUCT_STATFS_F_BFREE 1
15949 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15950 #ifdef HAVE_SYS_PARAM_H
15951 # include <sys/param.h>
15953 #ifdef HAVE_SYS_MOUNT_H
15954 # include <sys/mount.h>
15956 #ifdef HAVE_SYS_VFS_H
15957 # include <sys/vfs.h>
15959 #ifdef HAVE_SYS_STATFS_H
15960 # include <sys/statfs.h>
15963 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15965 cat >>confdefs.h
<<_ACEOF
15966 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15971 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15972 #ifdef HAVE_SYS_PARAM_H
15973 # include <sys/param.h>
15975 #ifdef HAVE_SYS_MOUNT_H
15976 # include <sys/mount.h>
15978 #ifdef HAVE_SYS_VFS_H
15979 # include <sys/vfs.h>
15981 #ifdef HAVE_SYS_STATFS_H
15982 # include <sys/statfs.h>
15985 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15987 cat >>confdefs.h
<<_ACEOF
15988 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15993 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15994 #ifdef HAVE_SYS_PARAM_H
15995 # include <sys/param.h>
15997 #ifdef HAVE_SYS_MOUNT_H
15998 # include <sys/mount.h>
16000 #ifdef HAVE_SYS_VFS_H
16001 # include <sys/vfs.h>
16003 #ifdef HAVE_SYS_STATFS_H
16004 # include <sys/statfs.h>
16007 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
16009 cat >>confdefs.h
<<_ACEOF
16010 #define HAVE_STRUCT_STATFS_F_FFREE 1
16015 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16016 #ifdef HAVE_SYS_PARAM_H
16017 # include <sys/param.h>
16019 #ifdef HAVE_SYS_MOUNT_H
16020 # include <sys/mount.h>
16022 #ifdef HAVE_SYS_VFS_H
16023 # include <sys/vfs.h>
16025 #ifdef HAVE_SYS_STATFS_H
16026 # include <sys/statfs.h>
16029 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
16031 cat >>confdefs.h
<<_ACEOF
16032 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16037 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16038 #ifdef HAVE_SYS_PARAM_H
16039 # include <sys/param.h>
16041 #ifdef HAVE_SYS_MOUNT_H
16042 # include <sys/mount.h>
16044 #ifdef HAVE_SYS_VFS_H
16045 # include <sys/vfs.h>
16047 #ifdef HAVE_SYS_STATFS_H
16048 # include <sys/statfs.h>
16051 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
16053 cat >>confdefs.h
<<_ACEOF
16054 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16061 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16062 #include <sys/statvfs.h>
16065 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
16067 cat >>confdefs.h
<<_ACEOF
16068 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16075 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16076 #include <dirent.h>
16079 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
16081 cat >>confdefs.h
<<_ACEOF
16082 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16089 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16090 #ifdef HAVE_SYS_SOCKET_H
16091 # include <sys/socket.h>
16093 #ifdef HAVE_SYS_UN_H
16094 # include <sys/un.h>
16097 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
16099 cat >>confdefs.h
<<_ACEOF
16100 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16105 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16106 #ifdef HAVE_SYS_SOCKET_H
16107 # include <sys/socket.h>
16109 #ifdef HAVE_SYS_UN_H
16110 # include <sys/un.h>
16113 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
16115 cat >>confdefs.h
<<_ACEOF
16116 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16121 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16122 #ifdef HAVE_SYS_SOCKET_H
16123 # include <sys/socket.h>
16125 #ifdef HAVE_SYS_UN_H
16126 # include <sys/un.h>
16129 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
16131 cat >>confdefs.h
<<_ACEOF
16132 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16139 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16140 #ifdef HAVE_SCSI_SG_H
16141 #include <scsi/sg.h>
16144 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
16146 cat >>confdefs.h
<<_ACEOF
16147 #define HAVE_SCSIREQ_T_CMD 1
16152 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>
16153 #ifdef HAVE_SCSI_SG_H
16154 #include <scsi/sg.h>
16157 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
16159 cat >>confdefs.h
<<_ACEOF
16160 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16167 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16169 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
16171 cat >>confdefs.h
<<_ACEOF
16172 #define HAVE_SIGINFO_T_SI_FD 1
16179 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16180 #ifdef HAVE_SYS_MTIO_H
16181 #include <sys/mtio.h>
16184 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
16186 cat >>confdefs.h
<<_ACEOF
16187 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16192 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16193 #ifdef HAVE_SYS_MTIO_H
16194 #include <sys/mtio.h>
16197 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
16199 cat >>confdefs.h
<<_ACEOF
16200 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16205 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16206 #ifdef HAVE_SYS_MTIO_H
16207 #include <sys/mtio.h>
16210 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
16212 cat >>confdefs.h
<<_ACEOF
16213 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16220 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16221 #include <getopt.h>
16224 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
16226 cat >>confdefs.h
<<_ACEOF
16227 #define HAVE_STRUCT_OPTION_NAME 1
16234 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16235 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
16237 cat >>confdefs.h
<<_ACEOF
16238 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16243 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16244 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
16246 cat >>confdefs.h
<<_ACEOF
16247 #define HAVE_STRUCT_STAT_ST_MTIM 1
16252 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16253 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
16255 cat >>confdefs.h
<<_ACEOF
16256 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16261 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16262 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
16264 cat >>confdefs.h
<<_ACEOF
16265 #define HAVE_STRUCT_STAT_ST_CTIM 1
16270 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16271 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
16273 cat >>confdefs.h
<<_ACEOF
16274 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16279 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16280 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
16282 cat >>confdefs.h
<<_ACEOF
16283 #define HAVE_STRUCT_STAT_ST_ATIM 1
16288 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16289 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
16291 cat >>confdefs.h
<<_ACEOF
16292 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16297 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16298 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
16300 cat >>confdefs.h
<<_ACEOF
16301 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16306 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16307 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
16309 cat >>confdefs.h
<<_ACEOF
16310 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16315 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16316 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
16318 cat >>confdefs.h
<<_ACEOF
16319 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16324 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16325 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
16327 cat >>confdefs.h
<<_ACEOF
16328 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16333 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16334 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
16336 cat >>confdefs.h
<<_ACEOF
16337 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16344 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
16345 #include <sys/types.h>
16347 #ifdef HAVE_NETINET_IN_H
16348 #include <netinet/in.h>
16351 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
16353 cat >>confdefs.h
<<_ACEOF
16354 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16361 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16362 #include <resolv.h>
16365 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
16367 cat >>confdefs.h
<<_ACEOF
16368 #define HAVE_STRUCT___RES_STATE 1
16375 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
16376 #include <resolv.h>
16379 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16381 cat >>confdefs.h
<<_ACEOF
16382 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16389 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16390 #include <sys/types.h>
16392 #ifdef HAVE_NETINET_IN_H
16393 # include <netinet/in.h>
16395 #ifdef HAVE_ARPA_NAMESER_H
16396 # include <arpa/nameser.h>
16399 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16401 cat >>confdefs.h
<<_ACEOF
16402 #define HAVE_NS_MSG__MSG_PTR 1
16409 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16410 #include <sys/types.h>
16412 #ifdef HAVE_NETINET_IP_H
16413 #include <netinet/ip.h>
16415 #ifdef HAVE_NETINET_IP_ICMP_H
16416 #include <netinet/ip_icmp.h>
16418 #ifdef HAVE_NETINET_ICMP_VAR_H
16419 #include <netinet/icmp_var.h>
16422 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16424 cat >>confdefs.h
<<_ACEOF
16425 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16432 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16433 #include <sys/types.h>
16435 #ifdef HAVE_ALIAS_H
16438 #ifdef HAVE_SYS_SOCKET_H
16439 #include <sys/socket.h>
16441 #ifdef HAVE_SYS_SOCKETVAR_H
16442 #include <sys/socketvar.h>
16444 #ifdef HAVE_SYS_TIMEOUT_H
16445 #include <sys/timeout.h>
16447 #ifdef HAVE_NETINET_IN_H
16448 #include <netinet/in.h>
16450 #ifdef HAVE_NETINET_IN_SYSTM_H
16451 #include <netinet/in_systm.h>
16453 #ifdef HAVE_NETINET_IP_H
16454 #include <netinet/ip.h>
16456 #ifdef HAVE_NETINET_IP_VAR_H
16457 #include <netinet/ip_var.h>
16459 #ifdef HAVE_NETINET_IP_ICMP_H
16460 #include <netinet/ip_icmp.h>
16462 #ifdef HAVE_NETINET_ICMP_VAR_H
16463 #include <netinet/icmp_var.h>
16466 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16468 cat >>confdefs.h
<<_ACEOF
16469 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16476 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#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_IP_VAR_H
16486 #include <netinet/ip_var.h>
16489 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16491 cat >>confdefs.h
<<_ACEOF
16492 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16499 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
16500 #include <netinet/ip_var.h>
16503 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16505 cat >>confdefs.h
<<_ACEOF
16506 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16513 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16514 #include <sys/types.h>
16516 #ifdef HAVE_SYS_SOCKETVAR_H
16517 #include <sys/socketvar.h>
16519 #ifdef HAVE_NETINET_IN_H
16520 #include <netinet/in.h>
16522 #ifdef HAVE_NETINET_TCP_H
16523 #include <netinet/tcp.h>
16525 #ifdef HAVE_NETINET_TCP_VAR_H
16526 #include <netinet/tcp_var.h>
16529 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16531 cat >>confdefs.h
<<_ACEOF
16532 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16539 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
16540 #include <netinet/tcp_var.h>
16543 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16545 cat >>confdefs.h
<<_ACEOF
16546 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16553 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16554 #include <sys/types.h>
16556 #ifdef HAVE_NETINET_IN_H
16557 #include <netinet/in.h>
16559 #ifdef HAVE_NETINET_IP_VAR_H
16560 #include <netinet/ip_var.h>
16562 #ifdef HAVE_NETINET_UDP_H
16563 #include <netinet/udp.h>
16565 #ifdef HAVE_NETINET_UDP_VAR_H
16566 #include <netinet/udp_var.h>
16569 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16571 cat >>confdefs.h
<<_ACEOF
16572 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16579 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16580 #include <sys/types.h>
16582 #ifdef HAVE_NET_IF_H
16583 # include <net/if.h>
16586 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16588 cat >>confdefs.h
<<_ACEOF
16589 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16597 $as_echo_n "checking for timezone variable... " >&6; }
16598 if ${ac_cv_have_timezone+:} false
; then :
16599 $as_echo_n "(cached) " >&6
16601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16602 /* end confdefs.h. */
16612 if ac_fn_c_try_link
"$LINENO"; then :
16613 ac_cv_have_timezone
="yes"
16615 ac_cv_have_timezone
="no"
16617 rm -f core conftest.err conftest.
$ac_objext \
16618 conftest
$ac_exeext conftest.
$ac_ext
16620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16621 $as_echo "$ac_cv_have_timezone" >&6; }
16622 if test "$ac_cv_have_timezone" = "yes"
16625 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16629 $as_echo_n "checking for daylight variable... " >&6; }
16630 if ${ac_cv_have_daylight+:} false
; then :
16631 $as_echo_n "(cached) " >&6
16633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16634 /* end confdefs.h. */
16644 if ac_fn_c_try_link
"$LINENO"; then :
16645 ac_cv_have_daylight
="yes"
16647 ac_cv_have_daylight
="no"
16649 rm -f core conftest.err conftest.
$ac_objext \
16650 conftest
$ac_exeext conftest.
$ac_ext
16652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16653 $as_echo "$ac_cv_have_daylight" >&6; }
16654 if test "$ac_cv_have_daylight" = "yes"
16657 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16661 ac_save_LIBS
="$LIBS"
16663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16664 $as_echo_n "checking for isfinite... " >&6; }
16665 if ${ac_cv_have_isfinite+:} false
; then :
16666 $as_echo_n "(cached) " >&6
16668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16669 /* end confdefs.h. */
16670 #define _GNU_SOURCE
16675 float f = 0.0; return isfinite(f)
16680 if ac_fn_c_try_link
"$LINENO"; then :
16681 ac_cv_have_isfinite
="yes"
16683 ac_cv_have_isfinite
="no"
16685 rm -f core conftest.err conftest.
$ac_objext \
16686 conftest
$ac_exeext conftest.
$ac_ext
16688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16689 $as_echo "$ac_cv_have_isfinite" >&6; }
16690 if test "$ac_cv_have_isfinite" = "yes"
16693 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16698 $as_echo_n "checking for isinf... " >&6; }
16699 if ${ac_cv_have_isinf+:} false
; then :
16700 $as_echo_n "(cached) " >&6
16702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16703 /* end confdefs.h. */
16708 float f = 0.0; return isinf(f)
16713 if ac_fn_c_try_link
"$LINENO"; then :
16714 ac_cv_have_isinf
="yes"
16716 ac_cv_have_isinf
="no"
16718 rm -f core conftest.err conftest.
$ac_objext \
16719 conftest
$ac_exeext conftest.
$ac_ext
16721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16722 $as_echo "$ac_cv_have_isinf" >&6; }
16723 if test "$ac_cv_have_isinf" = "yes"
16726 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16731 $as_echo_n "checking for isnan... " >&6; }
16732 if ${ac_cv_have_isnan+:} false
; then :
16733 $as_echo_n "(cached) " >&6
16735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16736 /* end confdefs.h. */
16741 float f = 0.0; return isnan(f)
16746 if ac_fn_c_try_link
"$LINENO"; then :
16747 ac_cv_have_isnan
="yes"
16749 ac_cv_have_isnan
="no"
16751 rm -f core conftest.err conftest.
$ac_objext \
16752 conftest
$ac_exeext conftest.
$ac_ext
16754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16755 $as_echo "$ac_cv_have_isnan" >&6; }
16756 if test "$ac_cv_have_isnan" = "yes"
16759 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16788 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16789 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16790 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16791 cat >>confdefs.h
<<_ACEOF
16792 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16798 LIBS
="$ac_save_LIBS"
16800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16801 $as_echo_n "checking for __builtin_clz... " >&6; }
16802 if ${ac_cv_have___builtin_clz+:} false
; then :
16803 $as_echo_n "(cached) " >&6
16805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16806 /* end confdefs.h. */
16811 return __builtin_clz(1)
16816 if ac_fn_c_try_link
"$LINENO"; then :
16817 ac_cv_have___builtin_clz
="yes"
16819 ac_cv_have___builtin_clz
="no"
16821 rm -f core conftest.err conftest.
$ac_objext \
16822 conftest
$ac_exeext conftest.
$ac_ext
16824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16825 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16826 if test "$ac_cv_have___builtin_clz" = "yes"
16829 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16835 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16836 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16837 if ${ac_cv_cpp_def___i386__+:} false
; then :
16838 $as_echo_n "(cached) " >&6
16840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16841 /* end confdefs.h. */
16846 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16847 $EGREP "yes" >/dev
/null
2>&1; then :
16848 ac_cv_cpp_def___i386__
=yes
16850 ac_cv_cpp_def___i386__
=no
16855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16856 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16857 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16858 CFLAGS
="$CFLAGS -D__i386__"
16859 LINTFLAGS
="$LINTFLAGS -D__i386__"
16861 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16862 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16863 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16864 $as_echo_n "(cached) " >&6
16866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16867 /* end confdefs.h. */
16872 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16873 $EGREP "yes" >/dev
/null
2>&1; then :
16874 ac_cv_cpp_def___x86_64__
=yes
16876 ac_cv_cpp_def___x86_64__
=no
16881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16882 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16883 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16884 CFLAGS
="$CFLAGS -D__x86_64__"
16885 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16887 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16888 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16889 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16890 $as_echo_n "(cached) " >&6
16892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16893 /* end confdefs.h. */
16894 #ifndef __sparc64__
16898 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16899 $EGREP "yes" >/dev
/null
2>&1; then :
16900 ac_cv_cpp_def___sparc64__
=yes
16902 ac_cv_cpp_def___sparc64__
=no
16907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16908 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16909 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16910 CFLAGS
="$CFLAGS -D__sparc64__"
16911 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16913 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16914 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16915 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16916 $as_echo_n "(cached) " >&6
16918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16919 /* end confdefs.h. */
16924 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16925 $EGREP "yes" >/dev
/null
2>&1; then :
16926 ac_cv_cpp_def___sparc__
=yes
16928 ac_cv_cpp_def___sparc__
=no
16933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16934 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16935 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16936 CFLAGS
="$CFLAGS -D__sparc__"
16937 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16939 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16940 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16941 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16942 $as_echo_n "(cached) " >&6
16944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16945 /* end confdefs.h. */
16946 #ifndef __powerpc64__
16950 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16951 $EGREP "yes" >/dev
/null
2>&1; then :
16952 ac_cv_cpp_def___powerpc64__
=yes
16954 ac_cv_cpp_def___powerpc64__
=no
16959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16960 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16961 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
16962 CFLAGS
="$CFLAGS -D__powerpc64__"
16963 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16965 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16966 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16967 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16968 $as_echo_n "(cached) " >&6
16970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16971 /* end confdefs.h. */
16972 #ifndef __powerpc__
16976 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16977 $EGREP "yes" >/dev
/null
2>&1; then :
16978 ac_cv_cpp_def___powerpc__
=yes
16980 ac_cv_cpp_def___powerpc__
=no
16985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16986 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16987 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
16988 CFLAGS
="$CFLAGS -D__powerpc__"
16989 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16991 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16992 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16993 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16994 $as_echo_n "(cached) " >&6
16996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16997 /* end confdefs.h. */
16998 #ifndef __aarch64__
17002 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17003 $EGREP "yes" >/dev
/null
2>&1; then :
17004 ac_cv_cpp_def___aarch64__
=yes
17006 ac_cv_cpp_def___aarch64__
=no
17011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17012 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17013 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
17014 CFLAGS
="$CFLAGS -D__aarch64__"
17015 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
17017 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17018 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17019 if ${ac_cv_cpp_def___arm__+:} false
; then :
17020 $as_echo_n "(cached) " >&6
17022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17023 /* end confdefs.h. */
17028 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17029 $EGREP "yes" >/dev
/null
2>&1; then :
17030 ac_cv_cpp_def___arm__
=yes
17032 ac_cv_cpp_def___arm__
=no
17037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17038 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17039 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
17040 CFLAGS
="$CFLAGS -D__arm__"
17041 LINTFLAGS
="$LINTFLAGS -D__arm__"
17045 case $host_vendor in
17046 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17047 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17048 if ${ac_cv_cpp_def___sun__+:} false
; then :
17049 $as_echo_n "(cached) " >&6
17051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17052 /* end confdefs.h. */
17057 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17058 $EGREP "yes" >/dev
/null
2>&1; then :
17059 ac_cv_cpp_def___sun__
=yes
17061 ac_cv_cpp_def___sun__
=no
17066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17067 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17068 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
17069 CFLAGS
="$CFLAGS -D__sun__"
17070 LINTFLAGS
="$LINTFLAGS -D__sun__"
17078 ac_config_commands
="$ac_config_commands include/stamp-h"
17080 $as_echo_n "creating Makefile rules..." >&6
17082 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
17083 SOCKET_LIBS = $SOCKET_LIBS
17084 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17085 IOKIT_LIBS = $IOKIT_LIBS
17086 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17087 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17088 CORESERVICES_LIBS = $CORESERVICES_LIBS
17089 APPKIT_LIBS = $APPKIT_LIBS
17090 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17091 SECURITY_LIBS = $SECURITY_LIBS
17092 COREAUDIO_LIBS = $COREAUDIO_LIBS
17093 OPENAL_LIBS = $OPENAL_LIBS
17094 OPENCL_LIBS = $OPENCL_LIBS
17095 QUICKTIME_LIBS = $QUICKTIME_LIBS
17096 CARBON_LIBS = $CARBON_LIBS
17097 PTHREAD_LIBS = $PTHREAD_LIBS
17098 X_CFLAGS = $X_CFLAGS
17099 X_PRE_LIBS = $X_PRE_LIBS
17101 X_EXTRA_LIBS = $X_EXTRA_LIBS
17102 XML2_CFLAGS = $XML2_CFLAGS
17103 XML2_LIBS = $XML2_LIBS
17104 XSLT_CFLAGS = $XSLT_CFLAGS
17105 XSLT_LIBS = $XSLT_LIBS
17106 DBUS_CFLAGS = $DBUS_CFLAGS
17107 DBUS_LIBS = $DBUS_LIBS
17108 HAL_CFLAGS = $HAL_CFLAGS
17109 HAL_LIBS = $HAL_LIBS
17110 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17111 GNUTLS_LIBS = $GNUTLS_LIBS
17112 SANE_CFLAGS = $SANE_CFLAGS
17113 SANE_LIBS = $SANE_LIBS
17114 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17115 GPHOTO2_LIBS = $GPHOTO2_LIBS
17116 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17117 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17118 RESOLV_LIBS = $RESOLV_LIBS
17119 LCMS2_CFLAGS = $LCMS2_CFLAGS
17120 LCMS2_LIBS = $LCMS2_LIBS
17121 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17122 FREETYPE_LIBS = $FREETYPE_LIBS
17124 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17125 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17126 GSTREAMER_LIBS = $GSTREAMER_LIBS
17127 ALSA_LIBS = $ALSA_LIBS
17128 OSS4_CFLAGS = $OSS4_CFLAGS
17129 CAPI20_CFLAGS = $CAPI20_CFLAGS
17130 CAPI20_LIBS = $CAPI20_LIBS
17131 CUPS_CFLAGS = $CUPS_CFLAGS
17132 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17133 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17134 JPEG_CFLAGS = $JPEG_CFLAGS
17135 JPEG_LIBS = $JPEG_LIBS
17136 PNG_CFLAGS = $PNG_CFLAGS
17137 PNG_LIBS = $PNG_LIBS
17138 TIFF_CFLAGS = $TIFF_CFLAGS
17139 TIFF_LIBS = $TIFF_LIBS
17140 MPG123_CFLAGS = $MPG123_CFLAGS
17141 MPG123_LIBS = $MPG123_LIBS
17142 KSTAT_LIBS = $KSTAT_LIBS
17143 PROCSTAT_LIBS = $PROCSTAT_LIBS
17144 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17146 POLL_LIBS = $POLL_LIBS
17148 LDAP_LIBS = $LDAP_LIBS
17153 wine_fn_append_rule
"
17154 # Rules automatically generated by configure
17156 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17161 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
17162 @./config.status Make.tmp Makefile"
17164 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
17165 .gitignore: config.status
17166 @./config.status .gitignore"
17168 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
17169 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17171 if test "x$enable_fonts" != xno
; then
17172 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17173 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17174 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17175 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17176 ac_config_links
="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17177 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf fonts
/wingding.ttf
17179 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17180 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
17181 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
17182 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
17183 ac_config_links
="$ac_config_links wine:tools/winewrapper"
17184 wine_fn_config_symlink wine
17185 if test "x$enable_win64" != xno
; then
17186 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
17187 wine_fn_config_symlink wine64
17190 wine_fn_config_dll acledit enable_acledit
17191 wine_fn_config_dll aclui enable_aclui implib
17192 wine_fn_config_dll activeds enable_activeds implib
17193 wine_fn_config_dll actxprxy enable_actxprxy clean
17194 wine_fn_config_lib adsiid
17195 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
17196 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
17197 wine_fn_config_dll advpack enable_advpack implib
17198 wine_fn_config_test dlls
/advpack
/tests advpack_test
17199 wine_fn_config_dll amstream enable_amstream clean
17200 wine_fn_config_test dlls
/amstream
/tests amstream_test
17201 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17202 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17203 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17204 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17205 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17206 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17207 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17208 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17209 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17210 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17211 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17212 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17213 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17214 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17215 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17216 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17217 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17218 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17219 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17220 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17221 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17222 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17223 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17224 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17225 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17226 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17227 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17228 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17229 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17230 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17231 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17232 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17233 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17234 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17235 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17236 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17237 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17238 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17239 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17240 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17241 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17242 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17243 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17244 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17245 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17246 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17247 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17248 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17249 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17250 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17251 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17252 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17253 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17254 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17255 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17256 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17257 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17258 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17259 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17260 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17261 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17262 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17263 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17264 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17265 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17266 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17267 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17268 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17269 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17270 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17271 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17272 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17273 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17274 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17275 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17276 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17277 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17278 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17279 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17280 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17281 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17282 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17283 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17284 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17285 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17286 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17287 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17288 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17289 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17290 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17291 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17292 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17293 wine_fn_config_dll apphelp enable_apphelp
17294 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
17295 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17296 wine_fn_config_dll atl enable_atl clean
,implib
17297 wine_fn_config_test dlls
/atl
/tests atl_test
17298 wine_fn_config_dll atl100 enable_atl100 clean
,implib
17299 wine_fn_config_test dlls
/atl100
/tests atl100_test
17300 wine_fn_config_dll atl110 enable_atl110 clean
17301 wine_fn_config_dll atl80 enable_atl80 clean
,implib
17302 wine_fn_config_test dlls
/atl80
/tests atl80_test
17303 wine_fn_config_dll atl90 enable_atl90 clean
17304 wine_fn_config_dll authz enable_authz
17305 wine_fn_config_dll avicap32 enable_avicap32 implib
17306 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
17307 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
17308 wine_fn_config_dll avifile.dll16 enable_win16
17309 wine_fn_config_dll avrt enable_avrt implib
17310 wine_fn_config_dll bcrypt enable_bcrypt
17311 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
17312 wine_fn_config_dll browseui enable_browseui clean
,po
17313 wine_fn_config_test dlls
/browseui
/tests browseui_test
17314 wine_fn_config_dll cabinet enable_cabinet implib
17315 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
17316 wine_fn_config_dll capi2032 enable_capi2032 implib
17317 wine_fn_config_dll cards enable_cards implib
17318 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17319 wine_fn_config_dll clusapi enable_clusapi implib
17320 wine_fn_config_dll combase enable_combase
17321 wine_fn_config_test dlls
/combase
/tests combase_test
17322 wine_fn_config_dll comcat enable_comcat
17323 wine_fn_config_test dlls
/comcat
/tests comcat_test
17324 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
17325 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
17326 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
17327 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
17328 wine_fn_config_dll
comm.drv16 enable_win16
17329 wine_fn_config_dll commdlg.dll16 enable_win16
17330 wine_fn_config_dll compobj.dll16 enable_win16
17331 wine_fn_config_dll compstui enable_compstui implib
17332 wine_fn_config_dll comsvcs enable_comsvcs implib
17333 wine_fn_config_dll connect enable_connect
17334 wine_fn_config_dll credui enable_credui implib
,po
17335 wine_fn_config_test dlls
/credui
/tests credui_test
17336 wine_fn_config_dll crtdll enable_crtdll implib
17337 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
17338 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
17339 wine_fn_config_dll cryptdlg enable_cryptdlg po
17340 wine_fn_config_dll cryptdll enable_cryptdll implib
17341 wine_fn_config_dll cryptext enable_cryptext
17342 wine_fn_config_dll cryptnet enable_cryptnet implib
17343 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
17344 wine_fn_config_dll cryptui enable_cryptui implib
,po
17345 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
17346 wine_fn_config_dll ctapi32 enable_ctapi32
17347 wine_fn_config_dll ctl3d.dll16 enable_win16
17348 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17349 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17350 wine_fn_config_dll d2d1 enable_d2d1 implib
17351 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
17352 wine_fn_config_dll d3d10 enable_d3d10 implib
17353 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
17354 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17355 wine_fn_config_dll d3d10core enable_d3d10core implib
17356 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
17357 wine_fn_config_dll d3d11 enable_d3d11 implib
17358 wine_fn_config_test dlls
/d3d11
/tests d3d11_test
17359 wine_fn_config_dll d3d8 enable_d3d8 implib
17360 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
17361 wine_fn_config_dll d3d9 enable_d3d9 implib
17362 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
17363 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17364 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17365 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17366 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17367 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17368 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17369 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17370 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17371 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17372 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17373 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17374 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
17375 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17376 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17377 wine_fn_config_dll d3dim enable_d3dim implib
17378 wine_fn_config_dll d3drm enable_d3drm implib
17379 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
17380 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17381 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17382 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17383 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17384 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17385 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17386 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17387 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17388 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17389 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17390 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17391 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17392 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17393 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17394 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17395 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17396 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17397 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17398 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17399 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17400 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17401 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17402 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17403 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17404 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17405 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17406 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
17407 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17408 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17409 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17410 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17411 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17412 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17413 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17414 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
17415 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
17416 wine_fn_config_dll davclnt enable_davclnt
17417 wine_fn_config_dll dbgeng enable_dbgeng implib
17418 wine_fn_config_dll dbghelp enable_dbghelp implib
17419 wine_fn_config_dll dciman32 enable_dciman32 implib
17420 wine_fn_config_dll ddeml.dll16 enable_win16
17421 wine_fn_config_dll ddraw enable_ddraw clean
,implib
17422 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
17423 wine_fn_config_dll ddrawex enable_ddrawex clean
17424 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
17425 wine_fn_config_dll devenum enable_devenum clean
,po
17426 wine_fn_config_test dlls
/devenum
/tests devenum_test
17427 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17428 wine_fn_config_dll difxapi enable_difxapi
17429 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
17430 wine_fn_config_test dlls
/dinput
/tests dinput_test
17431 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
17432 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
17433 wine_fn_config_dll dispdib.dll16 enable_win16
17434 wine_fn_config_dll dispex enable_dispex clean
17435 wine_fn_config_test dlls
/dispex
/tests dispex_test
17436 wine_fn_config_dll display.drv16 enable_win16
17437 wine_fn_config_dll dmband enable_dmband clean
17438 wine_fn_config_test dlls
/dmband
/tests dmband_test
17439 wine_fn_config_dll dmcompos enable_dmcompos clean
17440 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
17441 wine_fn_config_dll dmime enable_dmime clean
17442 wine_fn_config_test dlls
/dmime
/tests dmime_test
17443 wine_fn_config_dll dmloader enable_dmloader clean
17444 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
17445 wine_fn_config_dll dmscript enable_dmscript clean
17446 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
17447 wine_fn_config_dll dmstyle enable_dmstyle clean
17448 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
17449 wine_fn_config_dll dmsynth enable_dmsynth clean
17450 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
17451 wine_fn_config_dll dmusic enable_dmusic clean
17452 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
17453 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17454 wine_fn_config_dll dnsapi enable_dnsapi implib
17455 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
17456 wine_fn_config_dll dplay enable_dplay implib
17457 wine_fn_config_dll dplayx enable_dplayx clean
,implib
17458 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
17459 wine_fn_config_dll dpnaddr enable_dpnaddr
17460 wine_fn_config_dll dpnet enable_dpnet clean
,implib
17461 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
17462 wine_fn_config_dll dpnhpast enable_dpnhpast
17463 wine_fn_config_dll dpnlobby enable_dpnlobby
17464 wine_fn_config_dll dpvoice enable_dpvoice clean
17465 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
17466 wine_fn_config_dll dpwsockx enable_dpwsockx
17467 wine_fn_config_dll drmclien enable_drmclien
17468 wine_fn_config_dll dsound enable_dsound clean
,implib
17469 wine_fn_config_test dlls
/dsound
/tests dsound_test
17470 wine_fn_config_dll dssenh enable_dssenh
17471 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
17472 wine_fn_config_dll dswave enable_dswave clean
17473 wine_fn_config_test dlls
/dswave
/tests dswave_test
17474 wine_fn_config_dll dwmapi enable_dwmapi implib
17475 wine_fn_config_dll dwrite enable_dwrite implib
17476 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
17477 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
17478 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
17479 wine_fn_config_lib dxerr8
17480 wine_fn_config_lib dxerr9
17481 wine_fn_config_dll dxgi enable_dxgi implib
17482 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
17483 wine_fn_config_lib dxguid
17484 wine_fn_config_dll dxva2 enable_dxva2
17485 wine_fn_config_dll esent enable_esent
17486 wine_fn_config_dll evr enable_evr
17487 wine_fn_config_dll explorerframe enable_explorerframe clean
17488 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17489 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17490 wine_fn_config_dll faultrep enable_faultrep implib
17491 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17492 wine_fn_config_dll fltlib enable_fltlib
17493 wine_fn_config_dll fntcache enable_fntcache
17494 wine_fn_config_dll fontsub enable_fontsub
17495 wine_fn_config_dll fusion enable_fusion
17496 wine_fn_config_test dlls
/fusion
/tests fusion_test
17497 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17498 wine_fn_config_dll gameux enable_gameux clean
17499 wine_fn_config_test dlls
/gameux
/tests gameux_test
17500 wine_fn_config_dll gdi.exe16 enable_win16
17501 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
17502 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
17503 wine_fn_config_dll gdiplus enable_gdiplus implib
17504 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
17505 wine_fn_config_dll glu32 enable_glu32 implib
17506 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17507 wine_fn_config_dll gpkcsp enable_gpkcsp
17508 wine_fn_config_dll hal enable_hal
17509 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
17510 wine_fn_config_dll hid enable_hid implib
17511 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17512 wine_fn_config_dll hlink enable_hlink clean
,implib
17513 wine_fn_config_test dlls
/hlink
/tests hlink_test
17514 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17515 wine_fn_config_dll httpapi enable_httpapi
17516 wine_fn_config_dll iccvid enable_iccvid po
17517 wine_fn_config_dll icmp enable_icmp
17518 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
17519 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17520 wine_fn_config_dll ifsmgr.vxd enable_win16
17521 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17522 wine_fn_config_dll imagehlp enable_imagehlp implib
17523 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17524 wine_fn_config_dll imm.dll16 enable_win16
17525 wine_fn_config_dll imm32 enable_imm32 implib
17526 wine_fn_config_test dlls
/imm32
/tests imm32_test
17527 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17528 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17529 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17530 wine_fn_config_dll inetmib1 enable_inetmib1
17531 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17532 wine_fn_config_dll infosoft enable_infosoft clean
17533 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17534 wine_fn_config_dll initpki enable_initpki
17535 wine_fn_config_dll inkobj enable_inkobj
17536 wine_fn_config_dll inseng enable_inseng clean
17537 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17538 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17539 wine_fn_config_dll itircl enable_itircl
17540 wine_fn_config_dll itss enable_itss clean
17541 wine_fn_config_test dlls
/itss
/tests itss_test
17542 wine_fn_config_dll joy.cpl enable_joy_cpl po
17543 wine_fn_config_dll jscript enable_jscript clean
,po
17544 wine_fn_config_test dlls
/jscript
/tests jscript_test
17545 wine_fn_config_dll jsproxy enable_jsproxy implib
17546 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
17547 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17548 wine_fn_config_dll keyboard.drv16 enable_win16
17549 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17550 wine_fn_config_dll ksuser enable_ksuser
17551 wine_fn_config_dll ktmw32 enable_ktmw32
17552 wine_fn_config_dll loadperf enable_loadperf implib
17553 wine_fn_config_dll localspl enable_localspl po
17554 wine_fn_config_test dlls
/localspl
/tests localspl_test
17555 wine_fn_config_dll localui enable_localui po
17556 wine_fn_config_test dlls
/localui
/tests localui_test
17557 wine_fn_config_dll lz32 enable_lz32 implib
17558 wine_fn_config_test dlls
/lz32
/tests lz32_test
17559 wine_fn_config_dll lzexpand.dll16 enable_win16
17560 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
17561 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17562 wine_fn_config_dll mapistub enable_mapistub
17563 wine_fn_config_dll mciavi32 enable_mciavi32
17564 wine_fn_config_dll mcicda enable_mcicda
17565 wine_fn_config_dll mciqtz32 enable_mciqtz32
17566 wine_fn_config_dll mciseq enable_mciseq
17567 wine_fn_config_dll mciwave enable_mciwave
17568 wine_fn_config_dll mf enable_mf
17569 wine_fn_config_dll mfplat enable_mfplat
17570 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17571 wine_fn_config_dll mgmtapi enable_mgmtapi
17572 wine_fn_config_dll midimap enable_midimap
17573 wine_fn_config_dll mlang enable_mlang clean
,implib
17574 wine_fn_config_test dlls
/mlang
/tests mlang_test
17575 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17576 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
17577 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17578 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
17579 wine_fn_config_dll mmdevldr.vxd enable_win16
17580 wine_fn_config_dll mmsystem.dll16 enable_win16
17581 wine_fn_config_dll monodebg.vxd enable_win16
17582 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17583 wine_fn_config_dll mouse.drv16 enable_win16
17584 wine_fn_config_dll mpr enable_mpr implib
,po
17585 wine_fn_config_test dlls
/mpr
/tests mpr_test
17586 wine_fn_config_dll mprapi enable_mprapi implib
17587 wine_fn_config_dll msacm.dll16 enable_win16
17588 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17589 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
17590 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
17591 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17592 wine_fn_config_dll msasn1 enable_msasn1 implib
17593 wine_fn_config_dll mscat32 enable_mscat32
17594 wine_fn_config_dll mscms enable_mscms implib
17595 wine_fn_config_test dlls
/mscms
/tests mscms_test
17596 wine_fn_config_dll mscoree enable_mscoree clean
17597 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
17598 wine_fn_config_dll msctf enable_msctf clean
17599 wine_fn_config_test dlls
/msctf
/tests msctf_test
17600 wine_fn_config_dll msctfp enable_msctfp clean
17601 wine_fn_config_dll msdaps enable_msdaps clean
17602 wine_fn_config_dll msdelta enable_msdelta
17603 wine_fn_config_dll msdmo enable_msdmo implib
17604 wine_fn_config_test dlls
/msdmo
/tests msdmo_test
17605 wine_fn_config_dll msftedit enable_msftedit
17606 wine_fn_config_dll msg711.acm enable_msg711_acm
17607 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17608 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17609 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
17610 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
17611 wine_fn_config_dll msi enable_msi clean
,implib
,po
17612 wine_fn_config_test dlls
/msi
/tests msi_test
17613 wine_fn_config_dll msident enable_msident clean
17614 wine_fn_config_dll msimg32 enable_msimg32 implib
17615 wine_fn_config_dll msimsg enable_msimsg
17616 wine_fn_config_dll msimtf enable_msimtf clean
17617 wine_fn_config_dll msisip enable_msisip
17618 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17619 wine_fn_config_dll msls31 enable_msls31
17620 wine_fn_config_dll msnet32 enable_msnet32
17621 wine_fn_config_dll mspatcha enable_mspatcha implib
17622 wine_fn_config_dll msrle32 enable_msrle32 po
17623 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
17624 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17625 wine_fn_config_dll mssign32 enable_mssign32
17626 wine_fn_config_dll mssip32 enable_mssip32
17627 wine_fn_config_dll mstask enable_mstask clean
17628 wine_fn_config_test dlls
/mstask
/tests mstask_test
17629 wine_fn_config_dll msvcirt enable_msvcirt
17630 wine_fn_config_test dlls
/msvcirt
/tests msvcirt_test
17631 wine_fn_config_dll msvcm80 enable_msvcm80
17632 wine_fn_config_dll msvcm90 enable_msvcm90
17633 wine_fn_config_dll msvcp100 enable_msvcp100
17634 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
17635 wine_fn_config_dll msvcp110 enable_msvcp110
17636 wine_fn_config_test dlls
/msvcp110
/tests msvcp110_test
17637 wine_fn_config_dll msvcp120 enable_msvcp120
17638 wine_fn_config_test dlls
/msvcp120
/tests msvcp120_test
17639 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17640 wine_fn_config_dll msvcp60 enable_msvcp60
17641 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
17642 wine_fn_config_dll msvcp70 enable_msvcp70
17643 wine_fn_config_dll msvcp71 enable_msvcp71
17644 wine_fn_config_dll msvcp80 enable_msvcp80
17645 wine_fn_config_dll msvcp90 enable_msvcp90
17646 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
17647 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17648 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
17649 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17650 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17651 wine_fn_config_test dlls
/msvcr120
/tests msvcr120_test
17652 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17653 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17654 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17655 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17656 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17657 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17658 wine_fn_config_dll msvcrt enable_msvcrt implib
17659 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17660 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17661 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17662 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17663 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17664 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17665 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17666 wine_fn_config_dll msvidc32 enable_msvidc32 po
17667 wine_fn_config_dll msvideo.dll16 enable_win16
17668 wine_fn_config_dll mswsock enable_mswsock implib
17669 wine_fn_config_dll msxml enable_msxml clean
17670 wine_fn_config_dll msxml2 enable_msxml2 clean
17671 wine_fn_config_dll msxml3 enable_msxml3 clean
17672 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17673 wine_fn_config_dll msxml4 enable_msxml4 clean
17674 wine_fn_config_dll msxml6 enable_msxml6 clean
17675 wine_fn_config_dll nddeapi enable_nddeapi implib
17676 wine_fn_config_dll ndis.sys enable_ndis_sys
17677 wine_fn_config_dll netapi32 enable_netapi32 implib
17678 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17679 wine_fn_config_dll netcfgx enable_netcfgx clean
17680 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
17681 wine_fn_config_dll netprofm enable_netprofm clean
17682 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
17683 wine_fn_config_dll newdev enable_newdev implib
17684 wine_fn_config_dll normaliz enable_normaliz implib
17685 wine_fn_config_dll npmshtml enable_npmshtml
17686 wine_fn_config_dll npptools enable_npptools
17687 wine_fn_config_dll ntdll enable_ntdll implib
17688 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17689 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17690 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17691 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17692 wine_fn_config_dll ntprint enable_ntprint
17693 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17694 wine_fn_config_dll objsel enable_objsel clean
17695 wine_fn_config_dll odbc32 enable_odbc32 implib
17696 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17697 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17698 wine_fn_config_dll odbccu32 enable_odbccu32
17699 wine_fn_config_dll ole2.dll16 enable_win16
17700 wine_fn_config_dll ole2conv.dll16 enable_win16
17701 wine_fn_config_dll ole2disp.dll16 enable_win16
17702 wine_fn_config_dll ole2nls.dll16 enable_win16
17703 wine_fn_config_dll ole2prox.dll16 enable_win16
17704 wine_fn_config_dll ole2thk.dll16 enable_win16
17705 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17706 wine_fn_config_test dlls
/ole32
/tests ole32_test
17707 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17708 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17709 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17710 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17711 wine_fn_config_dll olecli.dll16 enable_win16
17712 wine_fn_config_dll olecli32 enable_olecli32 implib
17713 wine_fn_config_dll oledb32 enable_oledb32 clean
17714 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17715 wine_fn_config_dll oledlg enable_oledlg implib
,po
17716 wine_fn_config_test dlls
/oledlg
/tests oledlg_test
17717 wine_fn_config_dll olepro32 enable_olepro32 implib
17718 wine_fn_config_dll olesvr.dll16 enable_win16
17719 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17720 wine_fn_config_dll olethk32 enable_olethk32
17721 wine_fn_config_dll openal32 enable_openal32
17722 wine_fn_config_dll opencl enable_opencl
17723 wine_fn_config_dll opengl32 enable_opengl32 implib
17724 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17725 wine_fn_config_dll packager enable_packager clean
17726 wine_fn_config_test dlls
/packager
/tests packager_test
17727 wine_fn_config_dll pdh enable_pdh implib
17728 wine_fn_config_test dlls
/pdh
/tests pdh_test
17729 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17730 wine_fn_config_dll pidgen enable_pidgen
17731 wine_fn_config_dll powrprof enable_powrprof implib
17732 wine_fn_config_dll printui enable_printui
17733 wine_fn_config_dll prntvpt enable_prntvpt
17734 wine_fn_config_dll propsys enable_propsys clean
,implib
17735 wine_fn_config_test dlls
/propsys
/tests propsys_test
17736 wine_fn_config_dll psapi enable_psapi implib
17737 wine_fn_config_test dlls
/psapi
/tests psapi_test
17738 wine_fn_config_dll pstorec enable_pstorec clean
17739 wine_fn_config_dll qcap enable_qcap
17740 wine_fn_config_test dlls
/qcap
/tests qcap_test
17741 wine_fn_config_dll qedit enable_qedit clean
17742 wine_fn_config_test dlls
/qedit
/tests qedit_test
17743 wine_fn_config_dll qmgr enable_qmgr clean
17744 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17745 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17746 wine_fn_config_dll quartz enable_quartz clean
,implib
17747 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17748 wine_fn_config_dll query enable_query
17749 wine_fn_config_dll rasapi16.dll16 enable_win16
17750 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17751 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17752 wine_fn_config_dll rasdlg enable_rasdlg implib
17753 wine_fn_config_dll regapi enable_regapi
17754 wine_fn_config_dll resutils enable_resutils implib
17755 wine_fn_config_dll riched20 enable_riched20 clean
,implib
17756 wine_fn_config_test dlls
/riched20
/tests riched20_test
17757 wine_fn_config_dll riched32 enable_riched32
17758 wine_fn_config_test dlls
/riched32
/tests riched32_test
17759 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17760 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17761 wine_fn_config_dll rsabase enable_rsabase
17762 wine_fn_config_dll rsaenh enable_rsaenh implib
17763 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17764 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17765 wine_fn_config_dll rtutils enable_rtutils implib
17766 wine_fn_config_dll samlib enable_samlib
17767 wine_fn_config_dll sane.ds enable_sane_ds po
17768 wine_fn_config_dll scarddlg enable_scarddlg
17769 wine_fn_config_dll sccbase enable_sccbase
17770 wine_fn_config_dll schannel enable_schannel
17771 wine_fn_config_test dlls
/schannel
/tests schannel_test
17772 wine_fn_config_dll schedsvc enable_schedsvc clean
17773 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
17774 wine_fn_config_dll scrrun enable_scrrun clean
17775 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17776 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17777 wine_fn_config_dll secur32 enable_secur32 implib
17778 wine_fn_config_test dlls
/secur32
/tests secur32_test
17779 wine_fn_config_dll security enable_security
17780 wine_fn_config_dll sensapi enable_sensapi implib
17781 wine_fn_config_dll serialui enable_serialui implib
,po
17782 wine_fn_config_test dlls
/serialui
/tests serialui_test
17783 wine_fn_config_dll setupapi enable_setupapi implib
,po
17784 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17785 wine_fn_config_dll setupx.dll16 enable_win16
17786 wine_fn_config_dll sfc enable_sfc implib
17787 wine_fn_config_dll sfc_os enable_sfc_os implib
17788 wine_fn_config_dll shdoclc enable_shdoclc po
17789 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17790 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17791 wine_fn_config_dll shell.dll16 enable_win16
17792 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17793 wine_fn_config_test dlls
/shell32
/tests shell32_test
17794 wine_fn_config_dll shfolder enable_shfolder implib
17795 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17796 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17797 wine_fn_config_dll slbcsp enable_slbcsp
17798 wine_fn_config_dll slc enable_slc implib
17799 wine_fn_config_test dlls
/slc
/tests slc_test
17800 wine_fn_config_dll snmpapi enable_snmpapi implib
17801 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17802 wine_fn_config_dll softpub enable_softpub
17803 wine_fn_config_dll sound.drv16 enable_win16
17804 wine_fn_config_dll spoolss enable_spoolss implib
17805 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17806 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17807 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17808 wine_fn_config_dll sti enable_sti clean
,implib
17809 wine_fn_config_test dlls
/sti
/tests sti_test
17810 wine_fn_config_dll storage.dll16 enable_win16
17811 wine_fn_config_dll stress.dll16 enable_win16
17812 wine_fn_config_lib strmbase
17813 wine_fn_config_lib strmiids
17814 wine_fn_config_dll svrapi enable_svrapi
17815 wine_fn_config_dll sxs enable_sxs implib
17816 wine_fn_config_test dlls
/sxs
/tests sxs_test
17817 wine_fn_config_dll system.drv16 enable_win16
17818 wine_fn_config_dll t2embed enable_t2embed
17819 wine_fn_config_dll tapi32 enable_tapi32 implib
17820 wine_fn_config_dll taskschd enable_taskschd clean
17821 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17822 wine_fn_config_dll toolhelp.dll16 enable_win16
17823 wine_fn_config_dll traffic enable_traffic
17824 wine_fn_config_dll twain.dll16 enable_win16
17825 wine_fn_config_dll twain_32 enable_twain_32
17826 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17827 wine_fn_config_dll typelib.dll16 enable_win16
17828 wine_fn_config_dll ucrtbase enable_ucrtbase
17829 wine_fn_config_test dlls
/ucrtbase
/tests ucrtbase_test
17830 wine_fn_config_dll unicows enable_unicows implib
17831 wine_fn_config_dll updspapi enable_updspapi
17832 wine_fn_config_dll url enable_url implib
17833 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17834 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17835 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17836 wine_fn_config_dll user.exe16 enable_win16
17837 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17838 wine_fn_config_test dlls
/user32
/tests user32_test
17839 wine_fn_config_dll userenv enable_userenv implib
17840 wine_fn_config_test dlls
/userenv
/tests userenv_test
17841 wine_fn_config_dll usp10 enable_usp10 implib
17842 wine_fn_config_test dlls
/usp10
/tests usp10_test
17843 wine_fn_config_lib uuid
17844 wine_fn_config_dll uxtheme enable_uxtheme implib
17845 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17846 wine_fn_config_dll vbscript enable_vbscript clean
17847 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17848 wine_fn_config_dll vcomp enable_vcomp
17849 wine_fn_config_test dlls
/vcomp
/tests vcomp_test
17850 wine_fn_config_dll vcomp100 enable_vcomp100
17851 wine_fn_config_dll vcomp110 enable_vcomp110
17852 wine_fn_config_dll vcomp120 enable_vcomp120
17853 wine_fn_config_dll vcomp90 enable_vcomp90
17854 wine_fn_config_dll vdhcp.vxd enable_win16
17855 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17856 wine_fn_config_dll ver.dll16 enable_win16
17857 wine_fn_config_dll version enable_version implib
17858 wine_fn_config_test dlls
/version
/tests version_test
17859 wine_fn_config_dll vmm.vxd enable_win16
17860 wine_fn_config_dll vnbt.vxd enable_win16
17861 wine_fn_config_dll vnetbios.vxd enable_win16
17862 wine_fn_config_dll vssapi enable_vssapi
17863 wine_fn_config_dll vtdapi.vxd enable_win16
17864 wine_fn_config_dll vwin32.vxd enable_win16
17865 wine_fn_config_dll w32skrnl enable_win16
17866 wine_fn_config_dll w32sys.dll16 enable_win16
17867 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17868 wine_fn_config_test dlls
/wbemdisp
/tests wbemdisp_test
17869 wine_fn_config_dll wbemprox enable_wbemprox clean
17870 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17871 wine_fn_config_dll webservices enable_webservices implib
17872 wine_fn_config_test dlls
/webservices
/tests webservices_test
17873 wine_fn_config_dll wer enable_wer implib
17874 wine_fn_config_test dlls
/wer
/tests wer_test
17875 wine_fn_config_dll wevtapi enable_wevtapi
17876 wine_fn_config_dll wiaservc enable_wiaservc clean
17877 wine_fn_config_test dlls
/wiaservc
/tests wiaservc_test
17878 wine_fn_config_dll win32s16.dll16 enable_win16
17879 wine_fn_config_dll win87em.dll16 enable_win16
17880 wine_fn_config_dll winaspi.dll16 enable_win16
17881 wine_fn_config_dll windebug.dll16 enable_win16
17882 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17883 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17884 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17885 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17886 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17887 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17888 wine_fn_config_lib winecrt0
17889 wine_fn_config_dll wined3d enable_wined3d implib
17890 wine_fn_config_dll winegstreamer enable_winegstreamer
17891 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17892 wine_fn_config_dll winemac.drv enable_winemac_drv
17893 wine_fn_config_dll winemapi enable_winemapi
17894 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17895 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17896 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17897 wine_fn_config_dll wineps16.drv16 enable_win16
17898 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17899 wine_fn_config_dll winex11.drv enable_winex11_drv
17900 wine_fn_config_dll wing.dll16 enable_win16
17901 wine_fn_config_dll wing32 enable_wing32
17902 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17903 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17904 wine_fn_config_dll wininet enable_wininet implib
,po
17905 wine_fn_config_test dlls
/wininet
/tests wininet_test
17906 wine_fn_config_dll winmm enable_winmm implib
,po
17907 wine_fn_config_test dlls
/winmm
/tests winmm_test
17908 wine_fn_config_dll winnls.dll16 enable_win16
17909 wine_fn_config_dll winnls32 enable_winnls32 implib
17910 wine_fn_config_dll winscard enable_winscard implib
17911 wine_fn_config_dll winsock.dll16 enable_win16
17912 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17913 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17914 wine_fn_config_dll winsta enable_winsta
17915 wine_fn_config_dll wintab.dll16 enable_win16
17916 wine_fn_config_dll wintab32 enable_wintab32 implib
17917 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17918 wine_fn_config_dll wintrust enable_wintrust implib
17919 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17920 wine_fn_config_dll wlanapi enable_wlanapi
17921 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17922 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17923 wine_fn_config_dll wmi enable_wmi
17924 wine_fn_config_dll wmiutils enable_wmiutils clean
17925 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17926 wine_fn_config_dll wmp enable_wmp clean
17927 wine_fn_config_test dlls
/wmp
/tests wmp_test
17928 wine_fn_config_dll wmvcore enable_wmvcore
17929 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17930 wine_fn_config_dll wow32 enable_win16 implib
17931 wine_fn_config_dll wpcap enable_wpcap
17932 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17933 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17934 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17935 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17936 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17937 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17938 wine_fn_config_dll wsock32 enable_wsock32 implib
17939 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17940 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
17941 wine_fn_config_dll wuapi enable_wuapi clean
17942 wine_fn_config_dll wuaueng enable_wuaueng
17943 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
17944 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
17945 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
17946 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
17947 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
17948 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
17949 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
17950 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7 implib
17951 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17952 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
17953 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
17954 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
17955 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
17956 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
17957 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
17958 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
17959 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
17960 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
17961 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
17962 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
17963 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
17964 wine_fn_config_test dlls
/xaudio2_
7/tests xaudio2_7_test
17965 wine_fn_config_dll xaudio2_8 enable_xaudio2_8
17966 wine_fn_config_dll xinput1_1 enable_xinput1_1
17967 wine_fn_config_dll xinput1_2 enable_xinput1_2
17968 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17969 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17970 wine_fn_config_dll xinput1_4 enable_xinput1_4
17971 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17972 wine_fn_config_dll xmllite enable_xmllite implib
17973 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17974 wine_fn_config_dll xolehlp enable_xolehlp
17975 wine_fn_config_dll xpsprint enable_xpsprint
17976 wine_fn_config_dll xpssvcs enable_xpssvcs
17977 wine_fn_config_makefile documentation enable_documentation clean
17978 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17979 wine_fn_config_makefile include enable_include clean
,install-dev
17980 wine_fn_config_makefile libs
/port enable_libs_port
17981 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17982 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17983 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17984 wine_fn_config_program arp enable_arp
install
17985 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17986 wine_fn_config_program attrib enable_attrib
install,po
17987 wine_fn_config_program cabarc enable_cabarc
install
17988 wine_fn_config_program cacls enable_cacls
install
17989 wine_fn_config_program
clock enable_clock
install,po
17990 wine_fn_config_program cmd enable_cmd
install,po
17991 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17992 wine_fn_config_program conhost enable_conhost
install
17993 wine_fn_config_program control enable_control
install
17994 wine_fn_config_program cscript enable_cscript clean
,install
17995 wine_fn_config_program dpnsvr enable_dpnsvr
install
17996 wine_fn_config_program dxdiag enable_dxdiag
install,po
17997 wine_fn_config_program eject enable_eject
install
17998 wine_fn_config_program
expand enable_expand
install
17999 wine_fn_config_program explorer enable_explorer
install,po
18000 wine_fn_config_program extrac32 enable_extrac32
install
18001 wine_fn_config_program findstr enable_findstr
install
18002 wine_fn_config_program hh enable_hh
install
18003 wine_fn_config_program hostname enable_hostname
install,po
18004 wine_fn_config_program icinfo enable_icinfo
install
18005 wine_fn_config_program iexplore enable_iexplore
install
18006 wine_fn_config_program ipconfig enable_ipconfig
install,po
18007 wine_fn_config_program lodctr enable_lodctr
install
18008 wine_fn_config_program mofcomp enable_mofcomp
install
18009 wine_fn_config_program mshta enable_mshta
install
18010 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
18011 wine_fn_config_program net enable_net
install,po
18012 wine_fn_config_program netsh enable_netsh
install
18013 wine_fn_config_program netstat enable_netstat
install,po
18014 wine_fn_config_program ngen enable_ngen
install
18015 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
18016 wine_fn_config_program oleview enable_oleview
install,po
18017 wine_fn_config_program
ping enable_ping
install
18018 wine_fn_config_program plugplay enable_plugplay
install
18019 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
18020 wine_fn_config_program progman enable_progman
install,po
18021 wine_fn_config_program reg enable_reg
install,po
18022 wine_fn_config_test programs
/reg
/tests reg.exe_test
18023 wine_fn_config_program regasm enable_regasm
install
18024 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
18025 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
18026 wine_fn_config_program regsvcs enable_regsvcs
install
18027 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
,po
18028 wine_fn_config_program rpcss enable_rpcss clean
,install
18029 wine_fn_config_program rundll.exe16 enable_win16
install
18030 wine_fn_config_program rundll32 enable_rundll32
install
18031 wine_fn_config_program sc enable_sc
install
18032 wine_fn_config_program schtasks enable_schtasks
install
18033 wine_fn_config_program sdbinst enable_sdbinst
install
18034 wine_fn_config_program secedit enable_secedit
install
18035 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
18036 wine_fn_config_program services enable_services clean
,install
18037 wine_fn_config_test programs
/services
/tests services.exe_test
18038 wine_fn_config_program spoolsv enable_spoolsv
install
18039 wine_fn_config_program start enable_start
install,po
18040 wine_fn_config_program svchost enable_svchost
install
18041 wine_fn_config_program systeminfo enable_systeminfo
install
18042 wine_fn_config_program taskkill enable_taskkill
install,po
18043 wine_fn_config_program tasklist enable_tasklist
install
18044 wine_fn_config_program taskmgr enable_taskmgr
install,po
18045 wine_fn_config_program termsv enable_termsv
install
18046 wine_fn_config_program uninstaller enable_uninstaller
install,po
18047 wine_fn_config_program unlodctr enable_unlodctr
install
18048 wine_fn_config_program view enable_view
install,po
18049 wine_fn_config_program wevtutil enable_wevtutil
install
18050 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
18051 wine_fn_config_program winebrowser enable_winebrowser
install
18052 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
18053 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
18054 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
18055 wine_fn_config_program winedevice enable_winedevice
install
18056 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
18057 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
18058 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
18059 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
18060 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
18061 wine_fn_config_program winetest enable_winetest clean
18062 wine_fn_config_program winevdm enable_win16
install
18063 wine_fn_config_program winhelp.exe16 enable_win16
install
18064 wine_fn_config_program winhlp32 enable_winhlp32
install,po
18065 wine_fn_config_program winoldap.mod16 enable_win16
install
18066 wine_fn_config_program winver enable_winver
install
18067 wine_fn_config_program wmic enable_wmic
install,po
18068 wine_fn_config_program wordpad enable_wordpad
install,po
18069 wine_fn_config_program
write enable_write
install,po
18070 wine_fn_config_program wscript enable_wscript clean
,install
18071 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
18072 wine_fn_config_program wusa enable_wusa
install
18073 wine_fn_config_program xcopy enable_xcopy
install,po
18074 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
18075 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
18076 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
18077 wine_fn_config_tool tools
/sfnt2fon clean
18078 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
18079 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
18080 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
18081 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
18082 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
18083 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
18135 wine_fn_ignore_file
".gitignore"
18136 wine_fn_ignore_file
"Makefile"
18137 wine_fn_ignore_file
"TAGS"
18138 wine_fn_ignore_file
"tags"
18139 wine_fn_ignore_file
"autom4te.cache"
18140 wine_fn_ignore_file
"config.cache"
18141 wine_fn_ignore_file
"config.log"
18142 wine_fn_ignore_file
"config.status"
18143 wine_fn_ignore_file
"configure.lineno"
18144 wine_fn_ignore_file
"include/config.h"
18145 wine_fn_ignore_file
"include/stamp-h"
18146 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
18148 if test "x$enable_tools" != xno
18150 wine_fn_ignore_file
"tools/makedep$ac_exeext"
18151 ac_config_commands
="$ac_config_commands tools/makedep"
18155 ac_config_commands
="$ac_config_commands Makefile"
18158 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
18162 if test "x$enable_maintainer_mode" = xyes
18164 wine_fn_append_rule
"configure: configure.ac aclocal.m4
18165 autoconf --warnings=all
18166 include/config.h.in: include/stamp-h.in
18167 include/stamp-h.in: configure.ac aclocal.m4
18168 autoheader --warnings=all
18169 @echo timestamp > \$@"
18172 if test "x$with_gettextpo" = xyes
18174 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
18175 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
18176 \$(LINGUAS:%=po/%.po): po/wine.pot
18177 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
18178 po/wine.pot: \$(ALL_POT_FILES)
18179 msgcat -o \$@ \$(ALL_POT_FILES)"
18182 if test "$MSGFMT" != false
18184 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
18186 \$(RM) \$(LINGUAS:%=po/%.mo)"
18189 test "$srcdir" = . || posrc
="$srcdir/po"
18192 wine_fn_ignore_file
"po/$i.mo"
18193 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
18194 \$(MSGFMT) -o \$@ $posrc/$i.po"
18200 if test "x$enable_tools" != xno
18202 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18203 @./config.status tools/makedep
18204 Makefile: tools/makedep$ac_exeext
18206 \$(RM) tools/makedep$ac_exeext"
18208 wine_fn_append_rule
"\$(MAKEDEP):
18209 @echo \"You need to run make in $TOOLSDIR first\" && false"
18212 if test -n "$with_wine64"
18214 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18215 fonts server tools:
18216 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18217 $with_wine64/loader/wine:
18218 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18219 $with_wine64/loader/wine-preloader:
18220 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18222 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18224 as_fn_append LOADER_RULES
"
18225 install install-lib:: wine.inf install-man-pages
18226 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
18227 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18230 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18234 if test "$srcdir" = .
18236 ac_config_commands
="$ac_config_commands .gitignore"
18240 $as_echo " done" >&6
18241 cat >confcache
<<\_ACEOF
18242 # This file is a shell script that caches the results of configure
18243 # tests run on this system so they can be shared between configure
18244 # scripts and configure runs, see configure's option --config-cache.
18245 # It is not useful on other systems. If it contains results you don't
18246 # want to keep, you may remove or edit it.
18248 # config.status only pays attention to the cache file if you give it
18249 # the --recheck option to rerun configure.
18251 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18252 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18253 # following values.
18257 # The following way of writing the cache mishandles newlines in values,
18258 # but we know of no workaround that is simple, portable, and efficient.
18259 # So, we kill variables containing newlines.
18260 # Ultrix sh set writes to stderr and can't be redirected directly,
18261 # and sets the high bit in the cache file unless we assign to the vars.
18263 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18264 eval ac_val
=\$
$ac_var
18268 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18269 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18272 _ | IFS | as_nl
) ;; #(
18273 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
18274 *) { eval $ac_var=; unset $ac_var;} ;;
18280 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18281 *${as_nl}ac_space
=\
*)
18282 # `set' does not quote correctly, so add quotes: double-quote
18283 # substitution turns \\\\ into \\, and sed turns \\ into \.
18286 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18289 # `set' quotes correctly as required by POSIX, so do not add quotes.
18290 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18299 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18301 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18303 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18304 if test -w "$cache_file"; then
18305 if test "x$cache_file" != "x/dev/null"; then
18306 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18307 $as_echo "$as_me: updating cache $cache_file" >&6;}
18308 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
18309 cat confcache
>"$cache_file"
18311 case $cache_file in #(
18313 mv -f confcache
"$cache_file"$$
&&
18314 mv -f "$cache_file"$$
"$cache_file" ;; #(
18316 mv -f confcache
"$cache_file" ;;
18321 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18322 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18327 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18328 # Let make expand exec_prefix.
18329 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18331 DEFS
=-DHAVE_CONFIG_H
18336 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18337 # 1. Remove the extension, and $U if already installed.
18338 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18339 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18340 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18341 # will be set to the directory where LIBOBJS objects are built.
18342 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18343 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
18345 LIBOBJS
=$ac_libobjs
18347 LTLIBOBJS
=$ac_ltlibobjs
18351 : "${CONFIG_STATUS=./config.status}"
18353 ac_clean_files_save
=$ac_clean_files
18354 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18355 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18356 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18358 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18360 # Generated by $as_me.
18361 # Run this file to recreate the current configuration.
18362 # Compiler output produced by configure, useful for debugging
18363 # configure, is in config.log if it exists.
18366 ac_cs_recheck=false
18369 SHELL=\${CONFIG_SHELL-$SHELL}
18372 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
18373 ## -------------------- ##
18374 ## M4sh Initialization. ##
18375 ## -------------------- ##
18377 # Be more Bourne compatible
18378 DUALCASE
=1; export DUALCASE
# for MKS sh
18379 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
18382 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18383 # is contrary to our usage. Disable this feature.
18384 alias -g '${1+"$@"}'='"$@"'
18385 setopt NO_GLOB_SUBST
18387 case `(set -o) 2>/dev/null` in #(
18399 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18400 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18401 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18402 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18403 # Prefer a ksh shell builtin over an external printf program on Solaris,
18404 # but without wasting forks for bash or zsh.
18405 if test -z "$BASH_VERSION$ZSH_VERSION" \
18406 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18407 as_echo='print
-r --'
18408 as_echo_n='print
-rn --'
18409 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18410 as_echo='printf %s
\n'
18411 as_echo_n='printf %s
'
18413 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18414 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18415 as_echo_n='/usr
/ucb
/echo -n'
18417 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18418 as_echo_n_body='eval
18422 expr "X$arg" : "X\\(.*\\)$as_nl";
18423 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18425 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18427 export as_echo_n_body
18428 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18430 export as_echo_body
18431 as_echo='sh
-c $as_echo_body as_echo
'
18434 # The user is always right.
18435 if test "${PATH_SEPARATOR+set}" != set; then
18437 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18438 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18445 # We need space, tab and new line, in precisely that order. Quoting is
18446 # there to prevent editors from complaining about space-tab.
18447 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18448 # splitting by setting IFS to empty value.)
18451 # Find who we are. Look in the path if we contain no directory separator.
18454 *[\\/]* ) as_myself=$0 ;;
18455 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18456 for as_dir in $PATH
18459 test -z "$as_dir" && as_dir=.
18460 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18466 # We did not find ourselves, most probably we were run as `sh COMMAND'
18467 # in which case we are not to be found in the path.
18468 if test "x$as_myself" = x
; then
18471 if test ! -f "$as_myself"; then
18472 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18476 # Unset variables that we do not need and which cause bugs (e.g. in
18477 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18478 # suppresses any "Segmentation fault" message there. '((' could
18479 # trigger a bug in pdksh 5.2.14.
18480 for as_var
in BASH_ENV ENV MAIL MAILPATH
18481 do eval test x\
${$as_var+set} = xset \
18482 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18495 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18498 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18499 # ----------------------------------------
18500 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18501 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18502 # script with STATUS, using 1 if that was 0.
18505 as_status
=$1; test $as_status -eq 0 && as_status
=1
18507 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18508 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18510 $as_echo "$as_me: error: $2" >&2
18511 as_fn_exit
$as_status
18515 # as_fn_set_status STATUS
18516 # -----------------------
18517 # Set $? to STATUS, without forking.
18518 as_fn_set_status
()
18521 } # as_fn_set_status
18523 # as_fn_exit STATUS
18524 # -----------------
18525 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18529 as_fn_set_status
$1
18535 # Portably unset VAR.
18538 { eval $1=; unset $1;}
18540 as_unset
=as_fn_unset
18541 # as_fn_append VAR VALUE
18542 # ----------------------
18543 # Append the text in VALUE to the end of the definition contained in VAR. Take
18544 # advantage of any shell optimizations that allow amortized linear growth over
18545 # repeated appends, instead of the typical quadratic growth present in naive
18547 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18548 eval 'as_fn_append ()
18559 # as_fn_arith ARG...
18560 # ------------------
18561 # Perform arithmetic evaluation on the ARGs, and store the result in the
18562 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18563 # must be portable across $(()) and expr.
18564 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18565 eval 'as_fn_arith ()
18572 as_val
=`expr "$@" || test $? -eq 1`
18577 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18578 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18584 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18585 as_basename
=basename
18590 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18596 as_me
=`$as_basename -- "$0" ||
18597 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18598 X"$0" : 'X\(//\)$' \| \
18599 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18601 sed '/^.*\/\([^/][^/]*\)\/*$/{
18615 # Avoid depending upon Character Ranges.
18616 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18617 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18618 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18619 as_cr_digits
='0123456789'
18620 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18622 ECHO_C
= ECHO_N
= ECHO_T
=
18623 case `echo -n x` in #(((((
18625 case `echo 'xy\c'` in
18626 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18628 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18635 rm -f conf$$ conf$$.exe conf$$.
file
18636 if test -d conf$$.dir
; then
18637 rm -f conf$$.dir
/conf$$.
file
18640 mkdir conf$$.dir
2>/dev
/null
18642 if (echo >conf$$.
file) 2>/dev
/null
; then
18643 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18645 # ... but there are two gotchas:
18646 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18647 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18648 # In both cases, we have to default to `cp -pR'.
18649 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18651 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18659 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18660 rmdir conf$$.dir
2>/dev
/null
18665 # Create "$as_dir" as a directory, including parents if necessary.
18670 -*) as_dir
=.
/$as_dir;;
18672 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18676 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18677 *) as_qdir
=$as_dir;;
18679 as_dirs
="'$as_qdir' $as_dirs"
18680 as_dir
=`$as_dirname -- "$as_dir" ||
18681 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18682 X"$as_dir" : 'X\(//\)[^/]' \| \
18683 X"$as_dir" : 'X\(//\)$' \| \
18684 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18685 $as_echo X"$as_dir" |
18686 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18690 /^X\(\/\/\)[^/].*/{
18703 test -d "$as_dir" && break
18705 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18706 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18710 if mkdir
-p .
2>/dev
/null
; then
18711 as_mkdir_p
='mkdir -p "$as_dir"'
18713 test -d .
/-p && rmdir .
/-p
18718 # as_fn_executable_p FILE
18719 # -----------------------
18720 # Test if FILE is an executable regular file.
18721 as_fn_executable_p
()
18723 test -f "$1" && test -x "$1"
18724 } # as_fn_executable_p
18725 as_test_x
='test -x'
18726 as_executable_p
=as_fn_executable_p
18728 # Sed expression to map a string onto a valid CPP name.
18729 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18731 # Sed expression to map a string onto a valid variable name.
18732 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18736 ## ----------------------------------- ##
18737 ## Main body of $CONFIG_STATUS script. ##
18738 ## ----------------------------------- ##
18740 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18742 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18743 # Save the log message, to keep $0 and so on meaningful, and to
18744 # report actual input values of CONFIG_FILES etc. instead of their
18745 # values after options handling.
18747 This file was extended by Wine $as_me 1.7.52, which was
18748 generated by GNU Autoconf 2.69. Invocation command line was
18750 CONFIG_FILES = $CONFIG_FILES
18751 CONFIG_HEADERS = $CONFIG_HEADERS
18752 CONFIG_LINKS = $CONFIG_LINKS
18753 CONFIG_COMMANDS = $CONFIG_COMMANDS
18756 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18761 case $ac_config_files in *"
18762 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18765 case $ac_config_headers in *"
18766 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18770 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18771 # Files that config.status was made for.
18772 config_files="$ac_config_files"
18773 config_headers="$ac_config_headers"
18774 config_links="$ac_config_links"
18775 config_commands="$ac_config_commands"
18779 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18781 \`$as_me' instantiates files and other configuration actions
18782 from templates according to the current configuration. Unless the files
18783 and actions are specified as TAGs, all are instantiated by default.
18785 Usage: $0 [OPTION]... [TAG]...
18787 -h, --help print this help, then exit
18788 -V, --version print version number and configuration settings, then exit
18789 --config print configuration, then exit
18790 -q, --quiet, --silent
18791 do not print progress messages
18792 -d, --debug don't remove temporary files
18793 --recheck update $as_me by reconfiguring in the same conditions
18794 --file=FILE[:TEMPLATE]
18795 instantiate the configuration file FILE
18796 --header=FILE[:TEMPLATE]
18797 instantiate the configuration header FILE
18799 Configuration files:
18802 Configuration headers:
18805 Configuration links:
18808 Configuration commands:
18811 Report bugs to <wine-devel@winehq.org>.
18812 Wine home page: <http://www.winehq.org>."
18815 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18816 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18818 Wine config.status 1.7.52
18819 configured by $0, generated by GNU Autoconf 2.69,
18820 with options \\"\$ac_cs_config\\"
18822 Copyright (C) 2012 Free Software Foundation, Inc.
18823 This config.status script is free software; the Free Software Foundation
18824 gives unlimited permission to copy, distribute and modify it."
18828 test -n "\$AWK" || AWK=awk
18831 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18832 # The default lists apply if the user does not specify any file.
18838 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18839 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18843 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18855 # Handling of the options.
18856 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18858 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18859 $as_echo "$ac_cs_version"; exit ;;
18860 --config |
--confi |
--conf |
--con |
--co |
--c )
18861 $as_echo "$ac_cs_config"; exit ;;
18862 --debug |
--debu |
--deb |
--de |
--d |
-d )
18864 --file |
--fil |
--fi |
--f )
18867 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18868 '') as_fn_error $?
"missing file argument" ;;
18870 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18871 ac_need_defaults
=false
;;
18872 --header |
--heade |
--head |
--hea )
18875 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18877 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18878 ac_need_defaults
=false
;;
18880 # Conflict between --help and --header
18881 as_fn_error $?
"ambiguous option: \`$1'
18882 Try \`$0 --help' for more information.";;
18883 --help |
--hel |
-h )
18884 $as_echo "$ac_cs_usage"; exit ;;
18885 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18886 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18889 # This is an error.
18890 -*) as_fn_error $?
"unrecognized option: \`$1'
18891 Try \`$0 --help' for more information." ;;
18893 *) as_fn_append ac_config_targets
" $1"
18894 ac_need_defaults
=false
;;
18900 ac_configure_extra_args
=
18902 if $ac_cs_silent; then
18904 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18908 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18909 if \$ac_cs_recheck; then
18910 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18912 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18913 CONFIG_SHELL='$SHELL'
18914 export CONFIG_SHELL
18919 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18923 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18924 ## Running $as_me. ##
18930 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18934 wine_fn_output_makedep ()
18936 as_dir=tools; as_fn_mkdir_p
18937 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18939 wine_fn_output_makefile ()
18941 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18942 `cat $wine_rules_file`
18944 as_fn_error $? "could not create Makefile" "$LINENO" 5
18946 wine_fn_output_gitignore ()
18948 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18951 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18956 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18958 # Handling of arguments.
18959 for ac_config_target
in $ac_config_targets
18961 case $ac_config_target in
18962 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18963 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18964 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18965 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18966 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18967 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18968 "fonts/wingding.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
18969 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18970 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18971 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18972 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18973 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
18974 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18975 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18976 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18978 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18983 # If the user did not use the arguments to specify the items to instantiate,
18984 # then the envvar interface is used. Set only those that are not.
18985 # We use the long form for the default assignment because of an extremely
18986 # bizarre bug on SunOS 4.1.3.
18987 if $ac_need_defaults; then
18988 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18989 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18990 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18991 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18994 # Have a temporary directory for convenience. Make it in the build tree
18995 # simply because there is no reason against having it here, and in addition,
18996 # creating and moving files from /tmp can sometimes cause problems.
18997 # Hook for its removal unless debugging.
18998 # Note that there is a small window in which the directory will not be cleaned:
18999 # after its creation but before its name has been assigned to `$tmp'.
19003 trap 'exit_status=$?
19004 : "${ac_tmp:=$tmp}"
19005 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19007 trap 'as_fn_exit 1' 1 2 13 15
19009 # Create a (secure) tmp directory for tmp files.
19012 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19016 tmp
=.
/conf$$
-$RANDOM
19017 (umask 077 && mkdir
"$tmp")
19018 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
19021 # Set up the scripts for CONFIG_FILES section.
19022 # No need to generate them if there are no CONFIG_FILES.
19023 # This happens for instance with `./config.status config.h'.
19024 if test -n "$CONFIG_FILES"; then
19027 ac_cr
=`echo X | tr X '\015'`
19028 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19029 # But we know of no other shell where ac_cr would be empty at this
19030 # point, so we can use a bashism as a fallback.
19031 if test "x$ac_cr" = x
; then
19032 eval ac_cr
=\$
\'\\r
\'
19034 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19035 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19038 ac_cs_awk_cr
=$ac_cr
19041 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19046 echo "cat >conf$$subs.awk <<_ACEOF" &&
19047 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19049 } >conf$$subs.sh ||
19050 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19051 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19053 for ac_last_try in false false false false false :; do
19054 . ./conf$$subs.sh ||
19055 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19057 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
19058 if test $ac_delim_n = $ac_delim_num; then
19060 elif $ac_last_try; then
19061 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19063 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19066 rm -f conf$$subs.sh
19068 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19069 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
19073 s/^/S["/; s
/!.
*/"]=/
19083 s/\(.\{148\}\)..*/\1/
19085 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
19090 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19097 s/\(.\{148\}\)..*/\1/
19099 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
19103 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19108 ' <conf$$subs.awk | sed '
19113 ' >>$CONFIG_STATUS || ac_write_fail=1
19114 rm -f conf$$subs.awk
19115 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19117 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
19118 for (key in S) S_is_set[key] = 1
19124 nfields = split(line, field, "@
")
19126 len = length(field[1])
19127 for (i = 2; i < nfields; i++) {
19129 keylen = length(key)
19130 if (S_is_set[key]) {
19132 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19133 len += length(value) + length(field[++i])
19144 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19145 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19146 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
19149 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
19150 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
19153 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19154 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
19155 # trailing colons and then remove the whole line if VPATH becomes empty
19156 # (actually we leave an empty line to preserve line numbers).
19157 if test "x
$srcdir" = x.; then
19158 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19176 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19177 fi # test -n "$CONFIG_FILES"
19179 # Set up the scripts for CONFIG_HEADERS section.
19180 # No need to generate them if there are no CONFIG_HEADERS.
19181 # This happens for instance with `./config.status Makefile'.
19182 if test -n "$CONFIG_HEADERS"; then
19183 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
19187 # Transform confdefs.h into an awk script `defines.awk', embedded as
19188 # here-document in config.status, that substitutes the proper values into
19189 # config.h.in to produce config.h.
19191 # Create a delimiter string that does not exist in confdefs.h, to ease
19192 # handling of long lines.
19194 for ac_last_try in false false :; do
19195 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
19196 if test -z "$ac_tt"; then
19198 elif $ac_last_try; then
19199 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
19201 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19205 # For the awk script, D is an array of macro values keyed by name,
19206 # likewise P contains macro parameters if any. Preserve backslash
19207 # newline sequences.
19209 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19211 s/.\{148\}/&'"$ac_delim"'/g
19214 s/^[ ]*#[ ]*define[ ][ ]*/ /
19221 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
19223 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
19227 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
19228 D["\
1"]=" \
3\\\\\\n
"\\/p
19230 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
19235 s/.\{148\}/&'"$ac_delim"'/g
19240 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
19243 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
19245 ' <confdefs.h | sed '
19246 s/'"$ac_delim"'/"\\\
19247 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19249 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19250 for (key in D) D_is_set[key] = 1
19253 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19255 split(line, arg, " ")
19256 if (arg[1] == "#") {
19260 defundef
= substr
(arg
[1], 2)
19263 split(mac1
, mac2
, "(") #)
19265 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
19266 if (D_is_set
[macro
]) {
19267 # Preserve the white space surrounding the "#".
19268 print prefix
"define", macro P
[macro
] D
[macro
]
19271 # Replace #undef with comments. This is necessary, for example,
19272 # in the case of _POSIX_SOURCE, which is predefined and required
19273 # on some systems where configure will not decide to define it.
19274 if (defundef
== "undef") {
19275 print
"/*", prefix defundef
, macro
, "*/"
19283 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19284 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
19285 fi # test -n "$CONFIG_HEADERS"
19288 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19293 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19295 case $ac_mode$ac_tag in
19297 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
19298 :[FH
]-) ac_tag
=-:-;;
19299 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19316 -) ac_f
="$ac_tmp/stdin";;
19317 *) # Look for the file first in the build tree, then in the source tree
19318 # (if the path is not absolute). The absolute path cannot be DOS-style,
19319 # because $ac_f cannot contain `:'.
19323 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19325 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19327 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19328 as_fn_append ac_file_inputs
" '$ac_f'"
19331 # Let's still pretend it is `configure' which instantiates (i.e., don't
19332 # use $as_me), people would be surprised to read:
19333 # /* config.h. Generated by config.status. */
19334 configure_input
='Generated from '`
19335 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19337 if test x
"$ac_file" != x-
; then
19338 configure_input
="$ac_file. $configure_input"
19339 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19340 $as_echo "$as_me: creating $ac_file" >&6;}
19342 # Neutralize special characters interpreted by sed in replacement strings.
19343 case $configure_input in #(
19344 *\
&* |
*\|
* |
*\\* )
19345 ac_sed_conf_input
=`$as_echo "$configure_input" |
19346 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19347 *) ac_sed_conf_input
=$configure_input;;
19351 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
19352 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
19357 ac_dir
=`$as_dirname -- "$ac_file" ||
19358 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19359 X"$ac_file" : 'X\(//\)[^/]' \| \
19360 X"$ac_file" : 'X\(//\)$' \| \
19361 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19362 $as_echo X"$ac_file" |
19363 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19367 /^X\(\/\/\)[^/].*/{
19380 as_dir
="$ac_dir"; as_fn_mkdir_p
19384 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19386 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19387 # A ".." for each directory in $ac_dir_suffix.
19388 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19389 case $ac_top_builddir_sub in
19390 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19391 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19394 ac_abs_top_builddir
=$ac_pwd
19395 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19396 # for backward compatibility:
19397 ac_top_builddir
=$ac_top_build_prefix
19400 .
) # We are building in place.
19402 ac_top_srcdir
=$ac_top_builddir_sub
19403 ac_abs_top_srcdir
=$ac_pwd ;;
19404 [\\/]* | ?
:[\\/]* ) # Absolute name.
19405 ac_srcdir
=$srcdir$ac_dir_suffix;
19406 ac_top_srcdir
=$srcdir
19407 ac_abs_top_srcdir
=$srcdir ;;
19408 *) # Relative name.
19409 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19410 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19411 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19413 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19424 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19425 # If the template does not know about datarootdir, expand it.
19426 # FIXME: This hack should be removed a few years after 2.60.
19427 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19438 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19439 *datarootdir
*) ac_datarootdir_seen
=yes;;
19440 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19442 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19444 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19445 ac_datarootdir_hack='
19446 s&@datadir@&$datadir&g
19447 s&@docdir@&$docdir&g
19448 s&@infodir@&$infodir&g
19449 s&@localedir@&$localedir&g
19450 s&@mandir@&$mandir&g
19451 s&\\\${datarootdir}&$datarootdir&g' ;;
19455 # Neutralize VPATH when `$srcdir' = `.'.
19456 # Shell code in configure.ac might set extrasub.
19457 # FIXME: do we really want to maintain this feature?
19458 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19459 ac_sed_extra="$ac_vpsub
19462 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19464 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19465 s|@configure_input@|
$ac_sed_conf_input|
;t t
19466 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19467 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19468 s
&@srcdir@
&$ac_srcdir&;t t
19469 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19470 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19471 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19472 s
&@builddir@
&$ac_builddir&;t t
19473 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19474 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19475 $ac_datarootdir_hack
19477 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19478 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19480 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19481 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19482 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19483 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19484 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19485 which seems to be undefined. Please make sure it is defined" >&5
19486 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19487 which seems to be undefined. Please make sure it is defined" >&2;}
19489 rm -f "$ac_tmp/stdin"
19491 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19492 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19494 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19500 if test x"$ac_file" != x-; then
19502 $as_echo "/* $configure_input */" \
19503 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19504 } >"$ac_tmp/config.h" \
19505 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19506 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19507 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19508 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19511 mv "$ac_tmp/config.h" "$ac_file" \
19512 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19515 $as_echo "/* $configure_input */" \
19516 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19517 || as_fn_error $? "could not create -" "$LINENO" 5
19525 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
19528 # Prefer the file from the source tree if names are identical.
19529 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19530 ac_source=$srcdir/$ac_source
19533 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19534 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19536 if test ! -r "$ac_source"; then
19537 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19541 # Try a relative symlink, then a hard link, then a copy.
19543 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19544 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19546 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19547 ln "$ac_source" "$ac_file" 2>/dev/null ||
19548 cp -p "$ac_source" "$ac_file" ||
19549 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19552 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19553 $as_echo "$as_me: executing $ac_file commands" >&6;}
19558 case $ac_file$ac_mode in
19559 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19560 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19561 "Makefile":C) wine_fn_output_makefile Makefile ;;
19562 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19570 ac_clean_files=$ac_clean_files_save
19572 test $ac_write_fail = 0 ||
19573 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19576 # configure is writing to config.log, and then calls config.status.
19577 # config.status does its own redirection, appending to config.log.
19578 # Unfortunately, on DOS this fails, as config.log is still kept open
19579 # by configure, so config.status won't be able to
write to it
; its
19580 # output is simply discarded. So we exec the FD to /dev/null,
19581 # effectively closing config.log, so it can be properly (re)opened and
19582 # appended to by config.status. When coming back to configure, we
19583 # need to make the FD available again.
19584 if test "$no_create" != yes; then
19586 ac_config_status_args
=
19587 test "$silent" = yes &&
19588 ac_config_status_args
="$ac_config_status_args --quiet"
19590 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19592 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19593 # would make configure fail if this is the last instruction.
19594 $ac_cs_success || as_fn_exit
1
19596 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19598 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19602 if test "$no_create" = "yes"
19608 if test "x$wine_notices != "x
; then
19611 for msg
in $wine_notices; do
19613 if ${msg:+false} :; then :
19616 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19617 $as_echo "$as_me: $msg" >&6;}
19622 for msg
in $wine_warnings; do
19624 if ${msg:+false} :; then :
19628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19629 $as_echo "$as_me: WARNING: $msg" >&2;}
19635 $as_me: Finished. Do '${ac_make}' to compile Wine.