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
1328 enable_windowscodecs
1329 enable_windowscodecsext
1331 enable_winecoreaudio_drv
1333 enable_winegstreamer
1334 enable_winejoystick_drv
1340 enable_wineqtdecoder
1398 enable_documentation
1406 enable_aspnet_regiis
1439 enable_presentationfontcache
1452 enable_servicemodelreg
1473 enable_winemenubuilder
1475 enable_winemsibuilder
1489 ac_precious_vars
='build_alias
1538 # Initialize some variables set by options.
1540 ac_init_version
=false
1541 ac_unrecognized_opts
=
1542 ac_unrecognized_sep
=
1543 # The variables have the same names as the options, with
1544 # dashes changed to underlines.
1545 cache_file
=/dev
/null
1552 program_transform_name
=s
,x
,x
,
1560 # Installation directory options.
1561 # These are left unexpanded so users can "make install exec_prefix=/foo"
1562 # and all the variables that are supposed to be based on exec_prefix
1563 # by default will actually change.
1564 # Use braces instead of parens because sh, perl, etc. also accept them.
1565 # (The list follows the same order as the GNU Coding Standards.)
1566 bindir
='${exec_prefix}/bin'
1567 sbindir
='${exec_prefix}/sbin'
1568 libexecdir
='${exec_prefix}/libexec'
1569 datarootdir
='${prefix}/share'
1570 datadir
='${datarootdir}'
1571 sysconfdir
='${prefix}/etc'
1572 sharedstatedir
='${prefix}/com'
1573 localstatedir
='${prefix}/var'
1574 runstatedir
='${localstatedir}/run'
1575 includedir
='${prefix}/include'
1576 oldincludedir
='/usr/include'
1577 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1578 infodir
='${datarootdir}/info'
1583 libdir
='${exec_prefix}/lib'
1584 localedir
='${datarootdir}/locale'
1585 mandir
='${datarootdir}/man'
1591 # If the previous option needs an argument, assign it.
1592 if test -n "$ac_prev"; then
1593 eval $ac_prev=\
$ac_option
1599 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1604 # Accept the important Cygnus configure options, so we can diagnose typos.
1606 case $ac_dashdash$ac_option in
1610 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1612 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1613 bindir
=$ac_optarg ;;
1615 -build |
--build |
--buil |
--bui |
--bu)
1616 ac_prev
=build_alias
;;
1617 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1618 build_alias
=$ac_optarg ;;
1620 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1621 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1622 ac_prev
=cache_file
;;
1623 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1624 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1625 cache_file
=$ac_optarg ;;
1627 --config-cache |
-C)
1628 cache_file
=config.cache
;;
1630 -datadir |
--datadir |
--datadi |
--datad)
1632 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1633 datadir
=$ac_optarg ;;
1635 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1636 |
--dataroo |
--dataro |
--datar)
1637 ac_prev
=datarootdir
;;
1638 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1639 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1640 datarootdir
=$ac_optarg ;;
1642 -disable-* |
--disable-*)
1643 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1644 # Reject names that are not valid shell variable names.
1645 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1646 as_fn_error $?
"invalid feature name: $ac_useropt"
1647 ac_useropt_orig
=$ac_useropt
1648 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1649 case $ac_user_opts in
1651 "enable_
$ac_useropt"
1653 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1654 ac_unrecognized_sep
=', ';;
1656 eval enable_
$ac_useropt=no
;;
1658 -docdir |
--docdir |
--docdi |
--doc |
--do)
1660 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1661 docdir
=$ac_optarg ;;
1663 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1665 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1666 dvidir
=$ac_optarg ;;
1668 -enable-* |
--enable-*)
1669 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1670 # Reject names that are not valid shell variable names.
1671 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1672 as_fn_error $?
"invalid feature name: $ac_useropt"
1673 ac_useropt_orig
=$ac_useropt
1674 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1675 case $ac_user_opts in
1677 "enable_
$ac_useropt"
1679 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1680 ac_unrecognized_sep
=', ';;
1682 eval enable_
$ac_useropt=\
$ac_optarg ;;
1684 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1685 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1686 |
--exec |
--exe |
--ex)
1687 ac_prev
=exec_prefix
;;
1688 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1689 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1690 |
--exec=* |
--exe=* |
--ex=*)
1691 exec_prefix
=$ac_optarg ;;
1693 -gas |
--gas |
--ga |
--g)
1694 # Obsolete; use --with-gas.
1697 -help |
--help |
--hel |
--he |
-h)
1698 ac_init_help
=long
;;
1699 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1700 ac_init_help
=recursive
;;
1701 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1702 ac_init_help
=short
;;
1704 -host |
--host |
--hos |
--ho)
1705 ac_prev
=host_alias
;;
1706 -host=* |
--host=* |
--hos=* |
--ho=*)
1707 host_alias
=$ac_optarg ;;
1709 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1711 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1713 htmldir
=$ac_optarg ;;
1715 -includedir |
--includedir |
--includedi |
--included |
--include \
1716 |
--includ |
--inclu |
--incl |
--inc)
1717 ac_prev
=includedir
;;
1718 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1719 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1720 includedir
=$ac_optarg ;;
1722 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1724 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1725 infodir
=$ac_optarg ;;
1727 -libdir |
--libdir |
--libdi |
--libd)
1729 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1730 libdir
=$ac_optarg ;;
1732 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1733 |
--libexe |
--libex |
--libe)
1734 ac_prev
=libexecdir
;;
1735 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1736 |
--libexe=* |
--libex=* |
--libe=*)
1737 libexecdir
=$ac_optarg ;;
1739 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1740 ac_prev
=localedir
;;
1741 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1742 localedir
=$ac_optarg ;;
1744 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1745 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1746 ac_prev
=localstatedir
;;
1747 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1748 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1749 localstatedir
=$ac_optarg ;;
1751 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1753 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1754 mandir
=$ac_optarg ;;
1756 -nfp |
--nfp |
--nf)
1757 # Obsolete; use --without-fp.
1760 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1761 |
--no-cr |
--no-c |
-n)
1764 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1765 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1768 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1769 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1770 |
--oldin |
--oldi |
--old |
--ol |
--o)
1771 ac_prev
=oldincludedir
;;
1772 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1773 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1774 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1775 oldincludedir
=$ac_optarg ;;
1777 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1779 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1780 prefix
=$ac_optarg ;;
1782 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1783 |
--program-pre |
--program-pr |
--program-p)
1784 ac_prev
=program_prefix
;;
1785 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1786 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1787 program_prefix
=$ac_optarg ;;
1789 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1790 |
--program-suf |
--program-su |
--program-s)
1791 ac_prev
=program_suffix
;;
1792 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1793 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1794 program_suffix
=$ac_optarg ;;
1796 -program-transform-name |
--program-transform-name \
1797 |
--program-transform-nam |
--program-transform-na \
1798 |
--program-transform-n |
--program-transform- \
1799 |
--program-transform |
--program-transfor \
1800 |
--program-transfo |
--program-transf \
1801 |
--program-trans |
--program-tran \
1802 |
--progr-tra |
--program-tr |
--program-t)
1803 ac_prev
=program_transform_name
;;
1804 -program-transform-name=* |
--program-transform-name=* \
1805 |
--program-transform-nam=* |
--program-transform-na=* \
1806 |
--program-transform-n=* |
--program-transform-=* \
1807 |
--program-transform=* |
--program-transfor=* \
1808 |
--program-transfo=* |
--program-transf=* \
1809 |
--program-trans=* |
--program-tran=* \
1810 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1811 program_transform_name
=$ac_optarg ;;
1813 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1815 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1816 pdfdir
=$ac_optarg ;;
1818 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1820 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1823 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1824 |
-silent |
--silent |
--silen |
--sile |
--sil)
1827 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
1828 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
1829 |
--run |
--ru |
--r)
1830 ac_prev
=runstatedir
;;
1831 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
1832 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
1833 |
--run=* |
--ru=* |
--r=*)
1834 runstatedir
=$ac_optarg ;;
1836 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1838 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1840 sbindir
=$ac_optarg ;;
1842 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1843 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1844 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1846 ac_prev
=sharedstatedir
;;
1847 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1848 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1849 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1851 sharedstatedir
=$ac_optarg ;;
1853 -site |
--site |
--sit)
1855 -site=* |
--site=* |
--sit=*)
1858 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1860 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1861 srcdir
=$ac_optarg ;;
1863 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1864 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1865 ac_prev
=sysconfdir
;;
1866 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1867 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1868 sysconfdir
=$ac_optarg ;;
1870 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1871 ac_prev
=target_alias
;;
1872 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1873 target_alias
=$ac_optarg ;;
1875 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1878 -version |
--version |
--versio |
--versi |
--vers |
-V)
1879 ac_init_version
=: ;;
1882 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1883 # Reject names that are not valid shell variable names.
1884 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1885 as_fn_error $?
"invalid package name: $ac_useropt"
1886 ac_useropt_orig
=$ac_useropt
1887 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1888 case $ac_user_opts in
1892 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1893 ac_unrecognized_sep
=', ';;
1895 eval with_
$ac_useropt=\
$ac_optarg ;;
1897 -without-* |
--without-*)
1898 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1899 # Reject names that are not valid shell variable names.
1900 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1901 as_fn_error $?
"invalid package name: $ac_useropt"
1902 ac_useropt_orig
=$ac_useropt
1903 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1904 case $ac_user_opts in
1908 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1909 ac_unrecognized_sep
=', ';;
1911 eval with_
$ac_useropt=no
;;
1914 # Obsolete; use --with-x.
1917 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1918 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1919 ac_prev
=x_includes
;;
1920 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1921 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1922 x_includes
=$ac_optarg ;;
1924 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1925 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1926 ac_prev
=x_libraries
;;
1927 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1928 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1929 x_libraries
=$ac_optarg ;;
1931 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1932 Try \`$0 --help' for more information"
1936 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1937 # Reject names that are not valid shell variable names.
1938 case $ac_envvar in #(
1939 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1940 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1942 eval $ac_envvar=\
$ac_optarg
1943 export $ac_envvar ;;
1946 # FIXME: should be removed in autoconf 3.0.
1947 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1948 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1949 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1950 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1956 if test -n "$ac_prev"; then
1957 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1958 as_fn_error $?
"missing argument to $ac_option"
1961 if test -n "$ac_unrecognized_opts"; then
1962 case $enable_option_checking in
1964 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1965 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1969 # Check all directory arguments for consistency.
1970 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1971 datadir sysconfdir sharedstatedir localstatedir includedir \
1972 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1973 libdir localedir mandir runstatedir
1975 eval ac_val
=\$
$ac_var
1976 # Remove trailing slashes.
1979 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1980 eval $ac_var=\
$ac_val;;
1982 # Be sure to have absolute directory names.
1984 [\\/$
]* | ?
:[\\/]* ) continue;;
1985 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1987 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1990 # There might be people who depend on the old broken behavior: `$host'
1991 # used to hold the argument of --host etc.
1992 # FIXME: To remove some day.
1995 target
=$target_alias
1997 # FIXME: To remove some day.
1998 if test "x$host_alias" != x
; then
1999 if test "x$build_alias" = x
; then
2000 cross_compiling
=maybe
2001 elif test "x$build_alias" != "x$host_alias"; then
2007 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2009 test "$silent" = yes && exec 6>/dev
/null
2012 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2013 ac_ls_di
=`ls -di .` &&
2014 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2015 as_fn_error $?
"working directory cannot be determined"
2016 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2017 as_fn_error $?
"pwd does not report name of working directory"
2020 # Find the source files, if location was not specified.
2021 if test -z "$srcdir"; then
2022 ac_srcdir_defaulted
=yes
2023 # Try the directory containing this script, then the parent directory.
2024 ac_confdir
=`$as_dirname -- "$as_myself" ||
2025 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2026 X"$as_myself" : 'X\(//\)[^/]' \| \
2027 X"$as_myself" : 'X\(//\)$' \| \
2028 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2029 $as_echo X"$as_myself" |
2030 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2048 if test ! -r "$srcdir/$ac_unique_file"; then
2052 ac_srcdir_defaulted
=no
2054 if test ! -r "$srcdir/$ac_unique_file"; then
2055 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2056 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2058 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2060 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2062 # When building in place, set srcdir=.
2063 if test "$ac_abs_confdir" = "$ac_pwd"; then
2066 # Remove unnecessary trailing slashes from srcdir.
2067 # Double slashes in file names in object file debugging info
2068 # mess up M-x gdb in Emacs.
2070 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2072 for ac_var
in $ac_precious_vars; do
2073 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2074 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2075 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2076 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2080 # Report the --help message.
2082 if test "$ac_init_help" = "long"; then
2083 # Omit some internal or obsolete options to make the list less imposing.
2084 # This message is too long to be a string in the A/UX 3.1 sh.
2086 \`configure' configures Wine 1.7.52 to adapt to many kinds of systems.
2088 Usage: $0 [OPTION]... [VAR=VALUE]...
2090 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2091 VAR=VALUE. See below for descriptions of some of the useful variables.
2093 Defaults for the options are specified in brackets.
2096 -h, --help display this help and exit
2097 --help=short display options specific to this package
2098 --help=recursive display the short help of all the included packages
2099 -V, --version display version information and exit
2100 -q, --quiet, --silent do not print \`checking ...' messages
2101 --cache-file=FILE cache test results in FILE [disabled]
2102 -C, --config-cache alias for \`--cache-file=config.cache'
2103 -n, --no-create do not create output files
2104 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2106 Installation directories:
2107 --prefix=PREFIX install architecture-independent files in PREFIX
2108 [$ac_default_prefix]
2109 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2112 By default, \`make install' will install all the files in
2113 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2114 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2115 for instance \`--prefix=\$HOME'.
2117 For better control, use the options below.
2119 Fine tuning of the installation directories:
2120 --bindir=DIR user executables [EPREFIX/bin]
2121 --sbindir=DIR system admin executables [EPREFIX/sbin]
2122 --libexecdir=DIR program executables [EPREFIX/libexec]
2123 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2124 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2125 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2126 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2127 --libdir=DIR object code libraries [EPREFIX/lib]
2128 --includedir=DIR C header files [PREFIX/include]
2129 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2130 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2131 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2132 --infodir=DIR info documentation [DATAROOTDIR/info]
2133 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2134 --mandir=DIR man documentation [DATAROOTDIR/man]
2135 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2136 --htmldir=DIR html documentation [DOCDIR]
2137 --dvidir=DIR dvi documentation [DOCDIR]
2138 --pdfdir=DIR pdf documentation [DOCDIR]
2139 --psdir=DIR ps documentation [DOCDIR]
2145 --x-includes=DIR X include files are
in DIR
2146 --x-libraries=DIR X library files are
in DIR
2149 --build=BUILD configure
for building on BUILD
[guessed
]
2150 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2154 if test -n "$ac_init_help"; then
2155 case $ac_init_help in
2156 short | recursive
) echo "Configuration of Wine 1.7.52:";;
2161 --disable-option-checking ignore unrecognized
--enable/--with options
2162 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2163 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2164 --disable-win16 do not include Win16 support
2165 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2167 --disable-tests do not build the regression tests
2168 --enable-maintainer-mode
2169 enable maintainer-specific build rules
2170 --disable-largefile omit support for large files
2173 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2174 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2175 --without-alsa do not use the Alsa sound support
2176 --without-capi do not use CAPI (ISDN support)
2177 --without-cms do not use CMS (color management support)
2178 --without-coreaudio do not use the CoreAudio sound support
2179 --without-cups do not use CUPS
2180 --without-curses do not use (n)curses
2181 --without-dbus do not use DBus (dynamic device support)
2182 --without-fontconfig do not use fontconfig
2183 --without-freetype do not use the FreeType library
2184 --without-gettext do not use gettext
2185 --with-gettextpo use the GetTextPO library to rebuild po files
2186 --without-gphoto do not use gphoto (Digital Camera support)
2187 --without-glu do not use the GLU library
2188 --without-gnutls do not use GnuTLS (schannel support)
2189 --without-gsm do not use libgsm (GSM 06.10 codec support)
2190 --without-gstreamer do not use GStreamer (codecs support)
2191 --without-hal do not use HAL (dynamic device support)
2192 --without-jpeg do not use JPEG
2193 --without-ldap do not use LDAP
2194 --without-mpg123 do not use the mpg123 library
2195 --without-netapi do not use the Samba NetAPI library
2196 --without-openal do not use OpenAL
2197 --without-opencl do not use OpenCL
2198 --without-opengl do not use OpenGL
2199 --without-osmesa do not use the OSMesa library
2200 --without-oss do not use the OSS sound support
2201 --without-pcap do not use the Packet Capture library
2202 --without-png do not use PNG
2203 --without-pthread do not use the pthread library
2204 --without-sane do not use SANE (scanner support)
2205 --without-tiff do not use TIFF
2206 --without-v4l do not use v4l1 (v4l support)
2207 --without-xcomposite do not use the Xcomposite extension
2208 --without-xcursor do not use the Xcursor extension
2209 --without-xinerama do not use Xinerama (multi-monitor support)
2210 --without-xinput do not use the Xinput extension
2211 --without-xinput2 do not use the Xinput 2 extension
2212 --without-xml do not use XML
2213 --without-xrandr do not use Xrandr (resolution changes)
2214 --without-xrender do not use the Xrender extension
2215 --without-xshape do not use the Xshape extension
2216 --without-xshm do not use XShm (shared memory extension)
2217 --without-xslt do not use XSLT
2218 --without-xxf86vm do not use XFree video mode extension
2219 --without-zlib do not use Zlib (data compression)
2220 --with-wine-tools=DIR use Wine tools from directory DIR
2221 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2222 --with-x use the X Window System
2224 Some influential environment variables:
2225 CC C compiler command
2226 CFLAGS C compiler flags
2227 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2228 nonstandard directory <lib dir>
2229 LIBS libraries to pass to the linker, e.g. -l<library>
2230 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2231 you have headers in a nonstandard directory <include dir>
2232 CXX C++ compiler command
2233 CXXFLAGS C++ compiler flags
2235 XMKMF Path to xmkmf, Makefile generator for X Window System
2236 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2237 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2238 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2239 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2240 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2241 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2242 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2243 HAL_LIBS Linker flags for hal, overriding pkg-config
2245 C compiler flags for gnutls, overriding pkg-config
2246 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2247 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2248 SANE_LIBS Linker flags for libsane, overriding pkg-config
2250 C compiler flags for libgphoto2, overriding pkg-config
2252 Linker flags for libgphoto2, overriding pkg-config
2254 C compiler flags for libgphoto2_port, overriding pkg-config
2256 Linker flags for libgphoto2_port, overriding pkg-config
2258 C compiler flags for lcms2, overriding pkg-config
2259 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2261 C compiler flags for freetype2, overriding pkg-config
2263 Linker flags for freetype2, overriding pkg-config
2265 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2267 Linker flags for gstreamer-app-0.10, overriding pkg-config
2269 C compiler flags for capi20, overriding pkg-config
2270 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2272 C compiler flags for fontconfig, overriding pkg-config
2274 Linker flags for fontconfig, overriding pkg-config
2275 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2276 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2277 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2278 PNG_LIBS Linker flags for libpng, overriding pkg-config
2279 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2280 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2282 C compiler flags for libmpg123, overriding pkg-config
2283 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2285 Use these variables to override the choices made by `configure' or to
help
2286 it to
find libraries and programs with nonstandard names
/locations.
2288 Report bugs to
<wine-devel@winehq.org
>.
2289 Wine home page
: <http
://www.winehq.org
>.
2294 if test "$ac_init_help" = "recursive"; then
2295 # If there are subdirs, report their specific --help.
2296 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2297 test -d "$ac_dir" ||
2298 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2303 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2305 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2306 # A ".." for each directory in $ac_dir_suffix.
2307 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2308 case $ac_top_builddir_sub in
2309 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2310 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2313 ac_abs_top_builddir
=$ac_pwd
2314 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2315 # for backward compatibility:
2316 ac_top_builddir
=$ac_top_build_prefix
2319 .
) # We are building in place.
2321 ac_top_srcdir
=$ac_top_builddir_sub
2322 ac_abs_top_srcdir
=$ac_pwd ;;
2323 [\\/]* | ?
:[\\/]* ) # Absolute name.
2324 ac_srcdir
=$srcdir$ac_dir_suffix;
2325 ac_top_srcdir
=$srcdir
2326 ac_abs_top_srcdir
=$srcdir ;;
2328 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2329 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2330 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2332 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2334 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2335 # Check for guested configure.
2336 if test -f "$ac_srcdir/configure.gnu"; then
2338 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2339 elif test -f "$ac_srcdir/configure"; then
2341 $SHELL "$ac_srcdir/configure" --help=recursive
2343 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2345 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2349 test -n "$ac_init_help" && exit $ac_status
2350 if $ac_init_version; then
2352 Wine configure
1.7.52
2353 generated by GNU Autoconf
2.69
2355 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2356 This configure
script is free software
; the Free Software Foundation
2357 gives unlimited permission to copy
, distribute and modify it.
2362 ## ------------------------ ##
2363 ## Autoconf initialization. ##
2364 ## ------------------------ ##
2366 # ac_fn_c_try_compile LINENO
2367 # --------------------------
2368 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2369 ac_fn_c_try_compile
()
2371 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2372 rm -f conftest.
$ac_objext
2373 if { { ac_try
="$ac_compile"
2375 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2376 *) ac_try_echo=$ac_try;;
2378 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2379 $as_echo "$ac_try_echo"; } >&5
2380 (eval "$ac_compile") 2>conftest.err
2382 if test -s conftest.err; then
2383 grep -v '^ *+' conftest.err >conftest.er1
2384 cat conftest.er1 >&5
2385 mv -f conftest.er1 conftest.err
2387 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2388 test $ac_status = 0; } && {
2389 test -z "$ac_c_werror_flag" ||
2390 test ! -s conftest.err
2391 } && test -s conftest.$ac_objext; then :
2394 $as_echo "$as_me: failed program was:" >&5
2395 sed 's/^/| /' conftest.$ac_ext >&5
2399 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2400 as_fn_set_status $ac_retval
2402 } # ac_fn_c_try_compile
2404 # ac_fn_cxx_try_compile LINENO
2405 # ----------------------------
2406 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2407 ac_fn_cxx_try_compile ()
2409 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2410 rm -f conftest.$ac_objext
2411 if { { ac_try="$ac_compile"
2413 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2414 *) ac_try_echo
=$ac_try;;
2416 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2417 $as_echo "$ac_try_echo"; } >&5
2418 (eval "$ac_compile") 2>conftest.err
2420 if test -s conftest.err
; then
2421 grep -v '^ *+' conftest.err
>conftest.er1
2422 cat conftest.er1
>&5
2423 mv -f conftest.er1 conftest.err
2425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2426 test $ac_status = 0; } && {
2427 test -z "$ac_cxx_werror_flag" ||
2428 test ! -s conftest.err
2429 } && test -s conftest.
$ac_objext; then :
2432 $as_echo "$as_me: failed program was:" >&5
2433 sed 's/^/| /' conftest.
$ac_ext >&5
2437 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2438 as_fn_set_status
$ac_retval
2440 } # ac_fn_cxx_try_compile
2442 # ac_fn_c_try_link LINENO
2443 # -----------------------
2444 # Try to link conftest.$ac_ext, and return whether this succeeded.
2447 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2448 rm -f conftest.
$ac_objext conftest
$ac_exeext
2449 if { { ac_try
="$ac_link"
2451 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2452 *) ac_try_echo=$ac_try;;
2454 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2455 $as_echo "$ac_try_echo"; } >&5
2456 (eval "$ac_link") 2>conftest.err
2458 if test -s conftest.err; then
2459 grep -v '^ *+' conftest.err >conftest.er1
2460 cat conftest.er1 >&5
2461 mv -f conftest.er1 conftest.err
2463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2464 test $ac_status = 0; } && {
2465 test -z "$ac_c_werror_flag" ||
2466 test ! -s conftest.err
2467 } && test -s conftest$ac_exeext && {
2468 test "$cross_compiling" = yes ||
2469 test -x conftest$ac_exeext
2473 $as_echo "$as_me: failed program was:" >&5
2474 sed 's/^/| /' conftest.$ac_ext >&5
2478 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2479 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2480 # interfere with the next link command; also delete a directory that is
2481 # left behind by Apple's compiler. We do this before executing the actions.
2482 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2483 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2484 as_fn_set_status $ac_retval
2486 } # ac_fn_c_try_link
2488 # ac_fn_c_try_cpp LINENO
2489 # ----------------------
2490 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2493 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2494 if { { ac_try="$ac_cpp conftest.$ac_ext"
2496 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2497 *) ac_try_echo
=$ac_try;;
2499 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2500 $as_echo "$ac_try_echo"; } >&5
2501 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2503 if test -s conftest.err
; then
2504 grep -v '^ *+' conftest.err
>conftest.er1
2505 cat conftest.er1
>&5
2506 mv -f conftest.er1 conftest.err
2508 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2509 test $ac_status = 0; } > conftest.i
&& {
2510 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2511 test ! -s conftest.err
2515 $as_echo "$as_me: failed program was:" >&5
2516 sed 's/^/| /' conftest.
$ac_ext >&5
2520 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2521 as_fn_set_status
$ac_retval
2525 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2526 # -------------------------------------------------------
2527 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2528 # the include files in INCLUDES and setting the cache variable VAR
2530 ac_fn_c_check_header_mongrel
()
2532 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2533 if eval \
${$3+:} false
; then :
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2535 $as_echo_n "checking for $2... " >&6; }
2536 if eval \
${$3+:} false
; then :
2537 $as_echo_n "(cached) " >&6
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2541 $as_echo "$ac_res" >&6; }
2543 # Is the header compilable?
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2545 $as_echo_n "checking $2 usability... " >&6; }
2546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2547 /* end confdefs.h. */
2551 if ac_fn_c_try_compile
"$LINENO"; then :
2552 ac_header_compiler
=yes
2554 ac_header_compiler
=no
2556 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2558 $as_echo "$ac_header_compiler" >&6; }
2560 # Is the header present?
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2562 $as_echo_n "checking $2 presence... " >&6; }
2563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2564 /* end confdefs.h. */
2567 if ac_fn_c_try_cpp
"$LINENO"; then :
2568 ac_header_preproc
=yes
2570 ac_header_preproc
=no
2572 rm -f conftest.err conftest.i conftest.
$ac_ext
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2574 $as_echo "$ac_header_preproc" >&6; }
2576 # So? What about this header?
2577 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2580 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2582 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2586 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2588 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2590 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2592 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2594 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2595 ( $as_echo "## ------------------------------------ ##
2596 ## Report this to wine-devel@winehq.org ##
2597 ## ------------------------------------ ##"
2598 ) |
sed "s/^/$as_me: WARNING: /" >&2
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2602 $as_echo_n "checking for $2... " >&6; }
2603 if eval \
${$3+:} false
; then :
2604 $as_echo_n "(cached) " >&6
2606 eval "$3=\$ac_header_compiler"
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2610 $as_echo "$ac_res" >&6; }
2612 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2614 } # ac_fn_c_check_header_mongrel
2616 # ac_fn_c_try_run LINENO
2617 # ----------------------
2618 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2619 # that executables *can* be run.
2622 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2623 if { { ac_try
="$ac_link"
2625 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2626 *) ac_try_echo=$ac_try;;
2628 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2629 $as_echo "$ac_try_echo"; } >&5
2630 (eval "$ac_link") 2>&5
2632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2633 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2634 { { case "(($ac_try" in
2635 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2636 *) ac_try_echo
=$ac_try;;
2638 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2639 $as_echo "$ac_try_echo"; } >&5
2640 (eval "$ac_try") 2>&5
2642 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2643 test $ac_status = 0; }; }; then :
2646 $as_echo "$as_me: program exited with status $ac_status" >&5
2647 $as_echo "$as_me: failed program was:" >&5
2648 sed 's/^/| /' conftest.
$ac_ext >&5
2650 ac_retval
=$ac_status
2652 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2653 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2654 as_fn_set_status
$ac_retval
2658 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2659 # -------------------------------------------------------
2660 # Tests whether HEADER exists and can be compiled using the include files in
2661 # INCLUDES, setting the cache variable VAR accordingly.
2662 ac_fn_c_check_header_compile
()
2664 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2666 $as_echo_n "checking for $2... " >&6; }
2667 if eval \
${$3+:} false
; then :
2668 $as_echo_n "(cached) " >&6
2670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2671 /* end confdefs.h. */
2675 if ac_fn_c_try_compile
"$LINENO"; then :
2680 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2684 $as_echo "$ac_res" >&6; }
2685 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2687 } # ac_fn_c_check_header_compile
2689 # ac_fn_c_check_func LINENO FUNC VAR
2690 # ----------------------------------
2691 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2692 ac_fn_c_check_func
()
2694 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2696 $as_echo_n "checking for $2... " >&6; }
2697 if eval \
${$3+:} false
; then :
2698 $as_echo_n "(cached) " >&6
2700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2701 /* end confdefs.h. */
2702 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2704 #define $2 innocuous_$2
2706 /* System header to define __stub macros and hopefully few prototypes,
2707 which can conflict with char $2 (); below.
2708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2709 <limits.h> exists even on freestanding compilers. */
2712 # include <limits.h>
2714 # include <assert.h>
2719 /* Override any GCC internal prototype to avoid an error.
2720 Use char because int might match the return type of a GCC
2721 builtin and then its argument prototype would still apply. */
2726 /* The GNU C library defines this for functions which it implements
2727 to always fail with ENOSYS. Some functions are actually named
2728 something starting with __ and the normal name is an alias. */
2729 #if defined __stub_$2 || defined __stub___$2
2741 if ac_fn_c_try_link
"$LINENO"; then :
2746 rm -f core conftest.err conftest.
$ac_objext \
2747 conftest
$ac_exeext conftest.
$ac_ext
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2751 $as_echo "$ac_res" >&6; }
2752 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2754 } # ac_fn_c_check_func
2756 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2757 # ----------------------------------------------------
2758 # Tries to find if the field MEMBER exists in type AGGR, after including
2759 # INCLUDES, setting cache variable VAR accordingly.
2760 ac_fn_c_check_member
()
2762 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2764 $as_echo_n "checking for $2.$3... " >&6; }
2765 if eval \
${$4+:} false
; then :
2766 $as_echo_n "(cached) " >&6
2768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2769 /* end confdefs.h. */
2781 if ac_fn_c_try_compile
"$LINENO"; then :
2784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2785 /* end confdefs.h. */
2791 if (sizeof ac_aggr.$3)
2797 if ac_fn_c_try_compile
"$LINENO"; then :
2802 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2804 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2808 $as_echo "$ac_res" >&6; }
2809 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2811 } # ac_fn_c_check_member
2813 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2814 # -------------------------------------------
2815 # Tests whether TYPE exists after having included INCLUDES, setting cache
2816 # variable VAR accordingly.
2817 ac_fn_c_check_type
()
2819 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2821 $as_echo_n "checking for $2... " >&6; }
2822 if eval \
${$3+:} false
; then :
2823 $as_echo_n "(cached) " >&6
2826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2827 /* end confdefs.h. */
2838 if ac_fn_c_try_compile
"$LINENO"; then :
2839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2840 /* end confdefs.h. */
2851 if ac_fn_c_try_compile
"$LINENO"; then :
2856 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2858 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2862 $as_echo "$ac_res" >&6; }
2863 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2865 } # ac_fn_c_check_type
2866 cat >config.log
<<_ACEOF
2867 This file contains any messages produced by compilers while
2868 running configure, to aid debugging if configure makes a mistake.
2870 It was created by Wine $as_me 1.7.52, which was
2871 generated by GNU Autoconf 2.69. Invocation command line was
2883 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2884 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2885 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2886 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2887 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2889 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2890 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2892 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2893 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2894 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2895 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2896 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2897 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2898 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2902 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2906 test -z "$as_dir" && as_dir
=.
2907 $as_echo "PATH: $as_dir"
2923 # Keep a trace of the command line.
2924 # Strip out --no-create and --no-recursion so they do not pile up.
2925 # Strip out --silent because we don't want to record it for future runs.
2926 # Also quote any args containing shell meta-characters.
2927 # Make two passes to allow for proper duplicate-argument suppression.
2931 ac_must_keep_next
=false
2937 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2938 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2939 |
-silent |
--silent |
--silen |
--sile |
--sil)
2942 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2945 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2947 as_fn_append ac_configure_args1
" '$ac_arg'"
2948 if test $ac_must_keep_next = true
; then
2949 ac_must_keep_next
=false
# Got value, back to normal.
2952 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2953 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2954 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2955 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2956 case "$ac_configure_args0 " in
2957 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2960 -* ) ac_must_keep_next
=true
;;
2963 as_fn_append ac_configure_args
" '$ac_arg'"
2968 { ac_configure_args0
=; unset ac_configure_args0
;}
2969 { ac_configure_args1
=; unset ac_configure_args1
;}
2971 # When interrupted or exit'd, cleanup temporary files, and complete
2972 # config.log. We remove comments because anyway the quotes in there
2973 # would cause problems or look ugly.
2974 # WARNING: Use '\'' to represent an apostrophe within the trap.
2975 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2976 trap 'exit_status=$?
2977 # Save into config.log some information that might help in debugging.
2981 $as_echo "## ---------------- ##
2982 ## Cache variables. ##
2983 ## ---------------- ##"
2985 # The following way of writing the cache mishandles newlines in values,
2987 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2988 eval ac_val=\$$ac_var
2992 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2993 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2996 _ | IFS | as_nl) ;; #(
2997 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2998 *) { eval $ac_var=; unset $ac_var;} ;;
3003 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3004 *${as_nl}ac_space=\ *)
3006 "s/'\''/'\''\\\\'\'''\''/g;
3007 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3010 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3017 $as_echo "## ----------------- ##
3018 ## Output variables. ##
3019 ## ----------------- ##"
3021 for ac_var in $ac_subst_vars
3023 eval ac_val=\$$ac_var
3025 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3027 $as_echo "$ac_var='\''$ac_val'\''"
3031 if test -n "$ac_subst_files"; then
3032 $as_echo "## ------------------- ##
3033 ## File substitutions. ##
3034 ## ------------------- ##"
3036 for ac_var
in $ac_subst_files
3038 eval ac_val
=\$
$ac_var
3040 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3042 $as_echo "$ac_var='\''$ac_val'\''"
3047 if test -s confdefs.h; then
3048 $as_echo "## ----------- ##
3055 test "$ac_signal" != 0 &&
3056 $as_echo "$as_me: caught signal $ac_signal"
3057 $as_echo "$as_me: exit $exit_status"
3059 rm -f core *.core core.conftest.* &&
3060 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3063 for ac_signal
in 1 2 13 15; do
3064 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3068 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3069 rm -f -r conftest
* confdefs.h
3071 $as_echo "/* confdefs.h */" > confdefs.h
3073 # Predefined preprocessor variables.
3075 cat >>confdefs.h
<<_ACEOF
3076 #define PACKAGE_NAME "$PACKAGE_NAME"
3079 cat >>confdefs.h
<<_ACEOF
3080 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3083 cat >>confdefs.h
<<_ACEOF
3084 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3087 cat >>confdefs.h
<<_ACEOF
3088 #define PACKAGE_STRING "$PACKAGE_STRING"
3091 cat >>confdefs.h
<<_ACEOF
3092 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3095 cat >>confdefs.h
<<_ACEOF
3096 #define PACKAGE_URL "$PACKAGE_URL"
3100 # Let the site file select an alternate cache file if it wants to.
3101 # Prefer an explicitly selected file to automatically selected ones.
3104 if test -n "$CONFIG_SITE"; then
3105 # We do not want a PATH search for config.site.
3106 case $CONFIG_SITE in #((
3107 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3108 */*) ac_site_file1
=$CONFIG_SITE;;
3109 *) ac_site_file1
=.
/$CONFIG_SITE;;
3111 elif test "x$prefix" != xNONE
; then
3112 ac_site_file1
=$prefix/share
/config.site
3113 ac_site_file2
=$prefix/etc
/config.site
3115 ac_site_file1
=$ac_default_prefix/share
/config.site
3116 ac_site_file2
=$ac_default_prefix/etc
/config.site
3118 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3120 test "x$ac_site_file" = xNONE
&& continue
3121 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3123 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3124 sed 's/^/| /' "$ac_site_file" >&5
3126 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3127 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3128 as_fn_error $?
"failed to load site script $ac_site_file
3129 See \`config.log' for more details" "$LINENO" 5; }
3133 if test -r "$cache_file"; then
3134 # Some versions of bash will fail to source /dev/null (special files
3135 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3136 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3138 $as_echo "$as_me: loading cache $cache_file" >&6;}
3140 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3141 *) .
"./$cache_file";;
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3146 $as_echo "$as_me: creating cache $cache_file" >&6;}
3150 # Check that the precious variables saved in the cache have kept the same
3152 ac_cache_corrupted
=false
3153 for ac_var
in $ac_precious_vars; do
3154 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3155 eval ac_new_set
=\
$ac_env_${ac_var}_set
3156 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3157 eval ac_new_val
=\
$ac_env_${ac_var}_value
3158 case $ac_old_set,$ac_new_set in
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3161 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3162 ac_cache_corrupted
=: ;;
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3165 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3166 ac_cache_corrupted
=: ;;
3169 if test "x$ac_old_val" != "x$ac_new_val"; then
3170 # differences in whitespace do not lead to failure.
3171 ac_old_val_w
=`echo x $ac_old_val`
3172 ac_new_val_w
=`echo x $ac_new_val`
3173 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3175 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3176 ac_cache_corrupted
=:
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3179 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3180 eval $ac_var=\
$ac_old_val
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3183 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3185 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3188 # Pass precious variables to config.status.
3189 if test "$ac_new_set" = set; then
3191 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3192 *) ac_arg
=$ac_var=$ac_new_val ;;
3194 case " $ac_configure_args " in
3195 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3196 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3200 if $ac_cache_corrupted; then
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3202 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3204 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3205 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3207 ## -------------------- ##
3208 ## Main body of script. ##
3209 ## -------------------- ##
3212 ac_cpp
='$CPP $CPPFLAGS'
3213 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3214 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3215 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3219 ac_config_headers
="$ac_config_headers include/config.h"
3222 for ac_dir
in tools
"$srcdir"/tools
; do
3223 if test -f "$ac_dir/install-sh"; then
3225 ac_install_sh
="$ac_aux_dir/install-sh -c"
3227 elif test -f "$ac_dir/install.sh"; then
3229 ac_install_sh
="$ac_aux_dir/install.sh -c"
3231 elif test -f "$ac_dir/shtool"; then
3233 ac_install_sh
="$ac_aux_dir/shtool install -c"
3237 if test -z "$ac_aux_dir"; then
3238 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3241 # These three variables are undocumented and unsupported,
3242 # and are intended to be withdrawn in a future Autoconf release.
3243 # They can cause serious problems if a builder's source tree is in a directory
3244 # whose full name contains unusual characters.
3245 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3246 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3247 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3251 libwine_version
="1.0"
3255 # Check whether --enable-win16 was given.
3256 if test "${enable_win16+set}" = set; then :
3257 enableval
=$enable_win16;
3260 # Check whether --enable-win64 was given.
3261 if test "${enable_win64+set}" = set; then :
3262 enableval
=$enable_win64;
3265 # Check whether --enable-tests was given.
3266 if test "${enable_tests+set}" = set; then :
3267 enableval
=$enable_tests;
3270 # Check whether --enable-maintainer-mode was given.
3271 if test "${enable_maintainer_mode+set}" = set; then :
3272 enableval
=$enable_maintainer_mode;
3277 # Check whether --with-alsa was given.
3278 if test "${with_alsa+set}" = set; then :
3279 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3283 # Check whether --with-capi was given.
3284 if test "${with_capi+set}" = set; then :
3289 # Check whether --with-cms was given.
3290 if test "${with_cms+set}" = set; then :
3295 # Check whether --with-coreaudio was given.
3296 if test "${with_coreaudio+set}" = set; then :
3297 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3301 # Check whether --with-cups was given.
3302 if test "${with_cups+set}" = set; then :
3307 # Check whether --with-curses was given.
3308 if test "${with_curses+set}" = set; then :
3309 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3313 # Check whether --with-dbus was given.
3314 if test "${with_dbus+set}" = set; then :
3319 # Check whether --with-fontconfig was given.
3320 if test "${with_fontconfig+set}" = set; then :
3321 withval
=$with_fontconfig;
3325 # Check whether --with-freetype was given.
3326 if test "${with_freetype+set}" = set; then :
3327 withval
=$with_freetype;
3331 # Check whether --with-gettext was given.
3332 if test "${with_gettext+set}" = set; then :
3333 withval
=$with_gettext;
3337 # Check whether --with-gettextpo was given.
3338 if test "${with_gettextpo+set}" = set; then :
3339 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3343 # Check whether --with-gphoto was given.
3344 if test "${with_gphoto+set}" = set; then :
3345 withval
=$with_gphoto;
3349 # Check whether --with-glu was given.
3350 if test "${with_glu+set}" = set; then :
3355 # Check whether --with-gnutls was given.
3356 if test "${with_gnutls+set}" = set; then :
3357 withval
=$with_gnutls;
3361 # Check whether --with-gsm was given.
3362 if test "${with_gsm+set}" = set; then :
3363 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3367 # Check whether --with-gstreamer was given.
3368 if test "${with_gstreamer+set}" = set; then :
3369 withval
=$with_gstreamer;
3373 # Check whether --with-hal was given.
3374 if test "${with_hal+set}" = set; then :
3379 # Check whether --with-jpeg was given.
3380 if test "${with_jpeg+set}" = set; then :
3385 # Check whether --with-ldap was given.
3386 if test "${with_ldap+set}" = set; then :
3387 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3391 # Check whether --with-mpg123 was given.
3392 if test "${with_mpg123+set}" = set; then :
3393 withval
=$with_mpg123;
3397 # Check whether --with-netapi was given.
3398 if test "${with_netapi+set}" = set; then :
3399 withval
=$with_netapi;
3403 # Check whether --with-openal was given.
3404 if test "${with_openal+set}" = set; then :
3405 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3409 # Check whether --with-opencl was given.
3410 if test "${with_opencl+set}" = set; then :
3411 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3415 # Check whether --with-opengl was given.
3416 if test "${with_opengl+set}" = set; then :
3417 withval
=$with_opengl;
3421 # Check whether --with-osmesa was given.
3422 if test "${with_osmesa+set}" = set; then :
3423 withval
=$with_osmesa;
3427 # Check whether --with-oss was given.
3428 if test "${with_oss+set}" = set; then :
3433 # Check whether --with-pcap was given.
3434 if test "${with_pcap+set}" = set; then :
3435 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3439 # Check whether --with-png was given.
3440 if test "${with_png+set}" = set; then :
3445 # Check whether --with-pthread was given.
3446 if test "${with_pthread+set}" = set; then :
3447 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3451 # Check whether --with-sane was given.
3452 if test "${with_sane+set}" = set; then :
3457 # Check whether --with-tiff was given.
3458 if test "${with_tiff+set}" = set; then :
3463 # Check whether --with-v4l was given.
3464 if test "${with_v4l+set}" = set; then :
3469 # Check whether --with-xcomposite was given.
3470 if test "${with_xcomposite+set}" = set; then :
3471 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3475 # Check whether --with-xcursor was given.
3476 if test "${with_xcursor+set}" = set; then :
3477 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3481 # Check whether --with-xinerama was given.
3482 if test "${with_xinerama+set}" = set; then :
3483 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3487 # Check whether --with-xinput was given.
3488 if test "${with_xinput+set}" = set; then :
3489 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3493 # Check whether --with-xinput2 was given.
3494 if test "${with_xinput2+set}" = set; then :
3495 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3499 # Check whether --with-xml was given.
3500 if test "${with_xml+set}" = set; then :
3505 # Check whether --with-xrandr was given.
3506 if test "${with_xrandr+set}" = set; then :
3507 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3511 # Check whether --with-xrender was given.
3512 if test "${with_xrender+set}" = set; then :
3513 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3517 # Check whether --with-xshape was given.
3518 if test "${with_xshape+set}" = set; then :
3519 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3523 # Check whether --with-xshm was given.
3524 if test "${with_xshm+set}" = set; then :
3525 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3529 # Check whether --with-xslt was given.
3530 if test "${with_xslt+set}" = set; then :
3535 # Check whether --with-xxf86vm was given.
3536 if test "${with_xxf86vm+set}" = set; then :
3537 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
3541 # Check whether --with-zlib was given.
3542 if test "${with_zlib+set}" = set; then :
3543 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3548 # Check whether --with-wine-tools was given.
3549 if test "${with_wine_tools+set}" = set; then :
3550 withval
=$with_wine_tools;
3554 # Check whether --with-wine64 was given.
3555 if test "${with_wine64+set}" = set; then :
3556 withval
=$with_wine64;
3560 # Make sure we can run config.sub.
3561 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3562 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3565 $as_echo_n "checking build system type... " >&6; }
3566 if ${ac_cv_build+:} false
; then :
3567 $as_echo_n "(cached) " >&6
3569 ac_build_alias
=$build_alias
3570 test "x$ac_build_alias" = x
&&
3571 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3572 test "x$ac_build_alias" = x
&&
3573 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3574 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3575 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3579 $as_echo "$ac_cv_build" >&6; }
3580 case $ac_cv_build in
3582 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3585 ac_save_IFS
=$IFS; IFS
='-'
3591 # Remember, the first character of IFS is used to create $*,
3592 # except with old shells:
3595 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3599 $as_echo_n "checking host system type... " >&6; }
3600 if ${ac_cv_host+:} false
; then :
3601 $as_echo_n "(cached) " >&6
3603 if test "x$host_alias" = x
; then
3604 ac_cv_host
=$ac_cv_build
3606 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3607 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3612 $as_echo "$ac_cv_host" >&6; }
3615 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3618 ac_save_IFS
=$IFS; IFS
='-'
3624 # Remember, the first character of IFS is used to create $*,
3625 # except with old shells:
3628 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3634 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3635 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3636 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3642 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3644 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3645 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3646 $as_echo_n "(cached) " >&6
3648 cat >conftest.
make <<\_ACEOF
3651 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3653 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3654 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3656 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3658 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3662 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3664 $as_echo "yes" >&6; }
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3668 $as_echo "no" >&6; }
3669 SET_MAKE
="MAKE=${MAKE-make}"
3673 ac_cpp
='$CPP $CPPFLAGS'
3674 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3675 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3676 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3677 if test -n "$ac_tool_prefix"; then
3678 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3679 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3681 $as_echo_n "checking for $ac_word... " >&6; }
3682 if ${ac_cv_prog_CC+:} false
; then :
3683 $as_echo_n "(cached) " >&6
3685 if test -n "$CC"; then
3686 ac_cv_prog_CC
="$CC" # Let the user override the test.
3688 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3692 test -z "$as_dir" && as_dir
=.
3693 for ac_exec_ext
in '' $ac_executable_extensions; do
3694 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3695 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3706 if test -n "$CC"; then
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3708 $as_echo "$CC" >&6; }
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3711 $as_echo "no" >&6; }
3716 if test -z "$ac_cv_prog_CC"; then
3718 # Extract the first word of "gcc", so it can be a program name with args.
3719 set dummy gcc
; ac_word
=$2
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3721 $as_echo_n "checking for $ac_word... " >&6; }
3722 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3723 $as_echo_n "(cached) " >&6
3725 if test -n "$ac_ct_CC"; then
3726 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3728 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3732 test -z "$as_dir" && as_dir
=.
3733 for ac_exec_ext
in '' $ac_executable_extensions; do
3734 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3735 ac_cv_prog_ac_ct_CC
="gcc"
3736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3745 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3746 if test -n "$ac_ct_CC"; then
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3748 $as_echo "$ac_ct_CC" >&6; }
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3751 $as_echo "no" >&6; }
3754 if test "x$ac_ct_CC" = x
; then
3757 case $cross_compiling:$ac_tool_warned in
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3760 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3761 ac_tool_warned
=yes ;;
3769 if test -z "$CC"; then
3770 if test -n "$ac_tool_prefix"; then
3771 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3772 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3774 $as_echo_n "checking for $ac_word... " >&6; }
3775 if ${ac_cv_prog_CC+:} false
; then :
3776 $as_echo_n "(cached) " >&6
3778 if test -n "$CC"; then
3779 ac_cv_prog_CC
="$CC" # Let the user override the test.
3781 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3785 test -z "$as_dir" && as_dir
=.
3786 for ac_exec_ext
in '' $ac_executable_extensions; do
3787 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3788 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3799 if test -n "$CC"; then
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3801 $as_echo "$CC" >&6; }
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3804 $as_echo "no" >&6; }
3810 if test -z "$CC"; then
3811 # Extract the first word of "cc", so it can be a program name with args.
3812 set dummy cc
; ac_word
=$2
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3814 $as_echo_n "checking for $ac_word... " >&6; }
3815 if ${ac_cv_prog_CC+:} false
; then :
3816 $as_echo_n "(cached) " >&6
3818 if test -n "$CC"; then
3819 ac_cv_prog_CC
="$CC" # Let the user override the test.
3822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3826 test -z "$as_dir" && as_dir
=.
3827 for ac_exec_ext
in '' $ac_executable_extensions; do
3828 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3829 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3830 ac_prog_rejected
=yes
3834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3841 if test $ac_prog_rejected = yes; then
3842 # We found a bogon in the path, so make sure we never use it.
3843 set dummy
$ac_cv_prog_CC
3845 if test $# != 0; then
3846 # We chose a different compiler from the bogus one.
3847 # However, it has the same basename, so the bogon will be chosen
3848 # first if we set CC to just the basename; use the full file name.
3850 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3856 if test -n "$CC"; then
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3858 $as_echo "$CC" >&6; }
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3861 $as_echo "no" >&6; }
3866 if test -z "$CC"; then
3867 if test -n "$ac_tool_prefix"; then
3868 for ac_prog
in cl.exe
3870 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3871 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3873 $as_echo_n "checking for $ac_word... " >&6; }
3874 if ${ac_cv_prog_CC+:} false
; then :
3875 $as_echo_n "(cached) " >&6
3877 if test -n "$CC"; then
3878 ac_cv_prog_CC
="$CC" # Let the user override the test.
3880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3884 test -z "$as_dir" && as_dir
=.
3885 for ac_exec_ext
in '' $ac_executable_extensions; do
3886 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3887 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3898 if test -n "$CC"; then
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3900 $as_echo "$CC" >&6; }
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3903 $as_echo "no" >&6; }
3907 test -n "$CC" && break
3910 if test -z "$CC"; then
3912 for ac_prog
in cl.exe
3914 # Extract the first word of "$ac_prog", so it can be a program name with args.
3915 set dummy
$ac_prog; ac_word
=$2
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3917 $as_echo_n "checking for $ac_word... " >&6; }
3918 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3919 $as_echo_n "(cached) " >&6
3921 if test -n "$ac_ct_CC"; then
3922 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3928 test -z "$as_dir" && as_dir
=.
3929 for ac_exec_ext
in '' $ac_executable_extensions; do
3930 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3931 ac_cv_prog_ac_ct_CC
="$ac_prog"
3932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3941 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3942 if test -n "$ac_ct_CC"; then
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3944 $as_echo "$ac_ct_CC" >&6; }
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3947 $as_echo "no" >&6; }
3951 test -n "$ac_ct_CC" && break
3954 if test "x$ac_ct_CC" = x
; then
3957 case $cross_compiling:$ac_tool_warned in
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3960 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3961 ac_tool_warned
=yes ;;
3970 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3971 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3972 as_fn_error $?
"no acceptable C compiler found in \$PATH
3973 See \`config.log' for more details" "$LINENO" 5; }
3975 # Provide some information about the compiler.
3976 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3979 for ac_option
in --version -v -V -qversion; do
3980 { { ac_try
="$ac_compiler $ac_option >&5"
3982 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3983 *) ac_try_echo=$ac_try;;
3985 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3986 $as_echo "$ac_try_echo"; } >&5
3987 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3989 if test -s conftest.err; then
3991 ... rest of stderr output deleted ...
3992 10q' conftest.err >conftest.er1
3993 cat conftest.er1 >&5
3995 rm -f conftest.er1 conftest.err
3996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3997 test $ac_status = 0; }
4000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4001 /* end confdefs.h. */
4011 ac_clean_files_save=$ac_clean_files
4012 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4013 # Try to create an executable without -o first, disregard a.out.
4014 # It will help us diagnose broken compilers, and finding out an intuition
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4017 $as_echo_n "checking whether the C compiler works... " >&6; }
4018 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4020 # The possible output files:
4021 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4024 for ac_file in $ac_files
4027 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4028 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4033 if { { ac_try="$ac_link_default"
4035 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4036 *) ac_try_echo
=$ac_try;;
4038 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4039 $as_echo "$ac_try_echo"; } >&5
4040 (eval "$ac_link_default") 2>&5
4042 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4043 test $ac_status = 0; }; then :
4044 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4045 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4046 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4047 # so that the user can short-circuit this test for compilers unknown to
4049 for ac_file
in $ac_files ''
4051 test -f "$ac_file" ||
continue
4053 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4056 # We found the default executable, but exeext='' is most
4060 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4062 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4064 # We set ac_cv_exeext here because the later test for it is not
4065 # safe: cross compilers may not add the suffix if given an `-o'
4066 # argument, so we may need to know it at that point already.
4067 # Even if this section looks crufty: it has the advantage of
4074 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4079 if test -z "$ac_file"; then :
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4081 $as_echo "no" >&6; }
4082 $as_echo "$as_me: failed program was:" >&5
4083 sed 's/^/| /' conftest.
$ac_ext >&5
4085 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4086 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4087 as_fn_error
77 "C compiler cannot create executables
4088 See \`config.log' for more details" "$LINENO" 5; }
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4091 $as_echo "yes" >&6; }
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4094 $as_echo_n "checking for C compiler default output file name... " >&6; }
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4096 $as_echo "$ac_file" >&6; }
4097 ac_exeext
=$ac_cv_exeext
4099 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4100 ac_clean_files
=$ac_clean_files_save
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4102 $as_echo_n "checking for suffix of executables... " >&6; }
4103 if { { ac_try
="$ac_link"
4105 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4106 *) ac_try_echo=$ac_try;;
4108 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4109 $as_echo "$ac_try_echo"; } >&5
4110 (eval "$ac_link") 2>&5
4112 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4113 test $ac_status = 0; }; then :
4114 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4115 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4116 # work properly (i.e., refer to `conftest.exe'), while it won't with
4118 for ac_file
in conftest.exe conftest conftest.
*; do
4119 test -f "$ac_file" ||
continue
4121 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4122 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4128 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4129 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4130 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4131 See \`config.log' for more details" "$LINENO" 5; }
4133 rm -f conftest conftest
$ac_cv_exeext
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4135 $as_echo "$ac_cv_exeext" >&6; }
4137 rm -f conftest.
$ac_ext
4138 EXEEXT
=$ac_cv_exeext
4140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4141 /* end confdefs.h. */
4146 FILE *f = fopen ("conftest.out", "w");
4147 return ferror (f) || fclose (f) != 0;
4153 ac_clean_files
="$ac_clean_files conftest.out"
4154 # Check that the compiler produces executables we can run. If not, either
4155 # the compiler is broken, or we cross compile.
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4157 $as_echo_n "checking whether we are cross compiling... " >&6; }
4158 if test "$cross_compiling" != yes; then
4159 { { ac_try
="$ac_link"
4161 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4162 *) ac_try_echo=$ac_try;;
4164 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4165 $as_echo "$ac_try_echo"; } >&5
4166 (eval "$ac_link") 2>&5
4168 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4169 test $ac_status = 0; }
4170 if { ac_try='./conftest$ac_cv_exeext'
4171 { { case "(($ac_try" in
4172 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4173 *) ac_try_echo
=$ac_try;;
4175 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4176 $as_echo "$ac_try_echo"; } >&5
4177 (eval "$ac_try") 2>&5
4179 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4180 test $ac_status = 0; }; }; then
4183 if test "$cross_compiling" = maybe
; then
4186 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4187 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4188 as_fn_error $?
"cannot run C compiled programs.
4189 If you meant to cross compile, use \`--host'.
4190 See \`config.log' for more details" "$LINENO" 5; }
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4195 $as_echo "$cross_compiling" >&6; }
4197 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4198 ac_clean_files
=$ac_clean_files_save
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4200 $as_echo_n "checking for suffix of object files... " >&6; }
4201 if ${ac_cv_objext+:} false
; then :
4202 $as_echo_n "(cached) " >&6
4204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4205 /* end confdefs.h. */
4215 rm -f conftest.o conftest.obj
4216 if { { ac_try
="$ac_compile"
4218 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4219 *) ac_try_echo=$ac_try;;
4221 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4222 $as_echo "$ac_try_echo"; } >&5
4223 (eval "$ac_compile") 2>&5
4225 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4226 test $ac_status = 0; }; then :
4227 for ac_file in conftest.o conftest.obj conftest.*; do
4228 test -f "$ac_file" || continue;
4230 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4231 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4236 $as_echo "$as_me: failed program was:" >&5
4237 sed 's/^/| /' conftest.$ac_ext >&5
4239 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4240 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4241 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4242 See \
`config.log' for more details" "$LINENO" 5; }
4244 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4247 $as_echo "$ac_cv_objext" >&6; }
4248 OBJEXT=$ac_cv_objext
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4251 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4252 if ${ac_cv_c_compiler_gnu+:} false; then :
4253 $as_echo_n "(cached) " >&6
4255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4256 /* end confdefs.h. */
4269 if ac_fn_c_try_compile "$LINENO"; then :
4274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4275 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4279 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4280 if test $ac_compiler_gnu = yes; then
4285 ac_test_CFLAGS=${CFLAGS+set}
4286 ac_save_CFLAGS=$CFLAGS
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4288 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4289 if ${ac_cv_prog_cc_g+:} false; then :
4290 $as_echo_n "(cached) " >&6
4292 ac_save_c_werror_flag=$ac_c_werror_flag
4293 ac_c_werror_flag=yes
4296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4297 /* end confdefs.h. */
4307 if ac_fn_c_try_compile "$LINENO"; then :
4311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4312 /* end confdefs.h. */
4322 if ac_fn_c_try_compile "$LINENO"; then :
4325 ac_c_werror_flag=$ac_save_c_werror_flag
4327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4328 /* end confdefs.h. */
4338 if ac_fn_c_try_compile "$LINENO"; then :
4341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4346 ac_c_werror_flag=$ac_save_c_werror_flag
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4349 $as_echo "$ac_cv_prog_cc_g" >&6; }
4350 if test "$ac_test_CFLAGS" = set; then
4351 CFLAGS=$ac_save_CFLAGS
4352 elif test $ac_cv_prog_cc_g = yes; then
4353 if test "$GCC" = yes; then
4359 if test "$GCC" = yes; then
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4366 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4367 if ${ac_cv_prog_cc_c89+:} false; then :
4368 $as_echo_n "(cached) " >&6
4370 ac_cv_prog_cc_c89=no
4372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4373 /* end confdefs.h. */
4377 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4378 struct buf { int x; };
4379 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4380 static char *e (p, i)
4386 static char *f (char * (*g) (char **, int), char **p, ...)
4391 s = g (p, va_arg (v,int));
4396 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4397 function prototypes and stuff, but not '\xHH' hex character constants.
4398 These don't provoke an error unfortunately, instead are silently treated
4399 as 'x'. The following induces an error, until -std is added to get
4400 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4401 array size at least. It's necessary to write '\x00'==0 to get something
4402 that's true only with -std. */
4403 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4405 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4406 inside strings and character constants. */
4408 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4410 int test (int i, double x);
4411 struct s1 {int (*f) (int a);};
4412 struct s2 {int (*f) (double a);};
4413 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4419 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4424 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4425 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4427 CC="$ac_save_CC $ac_arg"
4428 if ac_fn_c_try_compile "$LINENO"; then :
4429 ac_cv_prog_cc_c89=$ac_arg
4431 rm -f core conftest.err conftest.$ac_objext
4432 test "x$ac_cv_prog_cc_c89" != "xno" && break
4434 rm -f conftest.$ac_ext
4439 case "x$ac_cv_prog_cc_c89" in
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4442 $as_echo "none needed" >&6; } ;;
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4445 $as_echo "unsupported" >&6; } ;;
4447 CC="$CC $ac_cv_prog_cc_c89"
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4449 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4451 if test "x$ac_cv_prog_cc_c89" != xno; then :
4456 ac_cpp='$CPP $CPPFLAGS'
4457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4462 ac_cpp='$CXXCPP $CPPFLAGS'
4463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4466 if test -z "$CXX"; then
4467 if test -n "$CCC"; then
4470 if test -n "$ac_tool_prefix"; then
4471 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4473 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4474 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4476 $as_echo_n "checking for $ac_word... " >&6; }
4477 if ${ac_cv_prog_CXX+:} false; then :
4478 $as_echo_n "(cached) " >&6
4480 if test -n "$CXX"; then
4481 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4487 test -z "$as_dir" && as_dir=.
4488 for ac_exec_ext in '' $ac_executable_extensions; do
4489 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4490 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4501 if test -n "$CXX"; then
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4503 $as_echo "$CXX" >&6; }
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4506 $as_echo "no" >&6; }
4510 test -n "$CXX" && break
4513 if test -z "$CXX"; then
4515 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4517 # Extract the first word of "$ac_prog", so it can be a program name with args.
4518 set dummy $ac_prog; ac_word=$2
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4520 $as_echo_n "checking for $ac_word... " >&6; }
4521 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4522 $as_echo_n "(cached) " >&6
4524 if test -n "$ac_ct_CXX"; then
4525 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4531 test -z "$as_dir" && as_dir=.
4532 for ac_exec_ext in '' $ac_executable_extensions; do
4533 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4534 ac_cv_prog_ac_ct_CXX="$ac_prog"
4535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4544 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4545 if test -n "$ac_ct_CXX"; then
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4547 $as_echo "$ac_ct_CXX" >&6; }
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4550 $as_echo "no" >&6; }
4554 test -n "$ac_ct_CXX" && break
4557 if test "x$ac_ct_CXX" = x; then
4560 case $cross_compiling:$ac_tool_warned in
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4563 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4564 ac_tool_warned=yes ;;
4572 # Provide some information about the compiler.
4573 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4576 for ac_option in --version -v -V -qversion; do
4577 { { ac_try="$ac_compiler $ac_option >&5"
4579 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4580 *) ac_try_echo
=$ac_try;;
4582 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4583 $as_echo "$ac_try_echo"; } >&5
4584 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4586 if test -s conftest.err
; then
4588 ... rest of stderr output deleted ...
4589 10q' conftest.err
>conftest.er1
4590 cat conftest.er1
>&5
4592 rm -f conftest.er1 conftest.err
4593 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4594 test $ac_status = 0; }
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4598 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4599 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4600 $as_echo_n "(cached) " >&6
4602 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4603 /* end confdefs.h. */
4616 if ac_fn_cxx_try_compile
"$LINENO"; then :
4621 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4622 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4626 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4627 if test $ac_compiler_gnu = yes; then
4632 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4633 ac_save_CXXFLAGS
=$CXXFLAGS
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4635 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4636 if ${ac_cv_prog_cxx_g+:} false
; then :
4637 $as_echo_n "(cached) " >&6
4639 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4640 ac_cxx_werror_flag
=yes
4643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4644 /* end confdefs.h. */
4654 if ac_fn_cxx_try_compile
"$LINENO"; then :
4655 ac_cv_prog_cxx_g
=yes
4658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4659 /* end confdefs.h. */
4669 if ac_fn_cxx_try_compile
"$LINENO"; then :
4672 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4675 /* end confdefs.h. */
4685 if ac_fn_cxx_try_compile
"$LINENO"; then :
4686 ac_cv_prog_cxx_g
=yes
4688 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4690 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4692 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4693 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4696 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4697 if test "$ac_test_CXXFLAGS" = set; then
4698 CXXFLAGS
=$ac_save_CXXFLAGS
4699 elif test $ac_cv_prog_cxx_g = yes; then
4700 if test "$GXX" = yes; then
4706 if test "$GXX" = yes; then
4713 ac_cpp
='$CPP $CPPFLAGS'
4714 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4715 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4716 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4718 if test -n "$ac_tool_prefix"; then
4719 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4720 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4722 $as_echo_n "checking for $ac_word... " >&6; }
4723 if ${ac_cv_prog_CPPBIN+:} false
; then :
4724 $as_echo_n "(cached) " >&6
4726 if test -n "$CPPBIN"; then
4727 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4729 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4733 test -z "$as_dir" && as_dir
=.
4734 for ac_exec_ext
in '' $ac_executable_extensions; do
4735 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4736 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4746 CPPBIN
=$ac_cv_prog_CPPBIN
4747 if test -n "$CPPBIN"; then
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4749 $as_echo "$CPPBIN" >&6; }
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4752 $as_echo "no" >&6; }
4757 if test -z "$ac_cv_prog_CPPBIN"; then
4758 ac_ct_CPPBIN
=$CPPBIN
4759 # Extract the first word of "cpp", so it can be a program name with args.
4760 set dummy cpp
; ac_word
=$2
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4762 $as_echo_n "checking for $ac_word... " >&6; }
4763 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4764 $as_echo_n "(cached) " >&6
4766 if test -n "$ac_ct_CPPBIN"; then
4767 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4769 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4773 test -z "$as_dir" && as_dir
=.
4774 for ac_exec_ext
in '' $ac_executable_extensions; do
4775 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4776 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4786 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4787 if test -n "$ac_ct_CPPBIN"; then
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4789 $as_echo "$ac_ct_CPPBIN" >&6; }
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4792 $as_echo "no" >&6; }
4795 if test "x$ac_ct_CPPBIN" = x
; then
4798 case $cross_compiling:$ac_tool_warned in
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4801 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4802 ac_tool_warned
=yes ;;
4804 CPPBIN
=$ac_ct_CPPBIN
4807 CPPBIN
="$ac_cv_prog_CPPBIN"
4811 cat >>confdefs.h
<<_ACEOF
4812 #define EXEEXT "$ac_exeext"
4815 if test -n "$ac_tool_prefix"; then
4816 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4817 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4819 $as_echo_n "checking for $ac_word... " >&6; }
4820 if ${ac_cv_prog_LD+:} false
; then :
4821 $as_echo_n "(cached) " >&6
4823 if test -n "$LD"; then
4824 ac_cv_prog_LD
="$LD" # Let the user override the test.
4826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4830 test -z "$as_dir" && as_dir
=.
4831 for ac_exec_ext
in '' $ac_executable_extensions; do
4832 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4833 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4844 if test -n "$LD"; then
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4846 $as_echo "$LD" >&6; }
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4849 $as_echo "no" >&6; }
4854 if test -z "$ac_cv_prog_LD"; then
4856 # Extract the first word of "ld", so it can be a program name with args.
4857 set dummy ld
; ac_word
=$2
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4859 $as_echo_n "checking for $ac_word... " >&6; }
4860 if ${ac_cv_prog_ac_ct_LD+:} false
; then :
4861 $as_echo_n "(cached) " >&6
4863 if test -n "$ac_ct_LD"; then
4864 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
4866 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4870 test -z "$as_dir" && as_dir
=.
4871 for ac_exec_ext
in '' $ac_executable_extensions; do
4872 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4873 ac_cv_prog_ac_ct_LD
="ld"
4874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4883 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
4884 if test -n "$ac_ct_LD"; then
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4886 $as_echo "$ac_ct_LD" >&6; }
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4889 $as_echo "no" >&6; }
4892 if test "x$ac_ct_LD" = x
; then
4895 case $cross_compiling:$ac_tool_warned in
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4898 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4899 ac_tool_warned
=yes ;;
4910 if test "x$enable_win64" = "xyes"
4915 notice_platform
="64-bit "
4922 notice_platform
="32-bit "
4925 enable_win16
=${enable_win16:-yes}
4927 with_fontconfig
=${with_fontconfig:-no}
4930 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4935 $as_echo_n "checking whether $CC works... " >&6; }
4937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4938 /* end confdefs.h. */
4948 if ac_fn_c_try_link
"$LINENO"; then :
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4950 $as_echo "yes" >&6; }
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4953 $as_echo "no" >&6; }
4954 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4956 rm -f core conftest.err conftest.
$ac_objext \
4957 conftest
$ac_exeext conftest.
$ac_ext
4959 notice_platform
="32-bit "
4962 enable_win16
=${enable_win16:-yes}
4964 if test "x${GCC}" = "xyes"
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4967 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4969 /* end confdefs.h. */
4974 void func(__builtin_ms_va_list *args);
4979 if ac_fn_c_try_compile
"$LINENO"; then :
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4981 $as_echo "yes" >&6; }
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4984 $as_echo "no" >&6; }
4985 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4987 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4996 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4998 /* end confdefs.h. */
4999 int ac_test(int i) { return i; }
5003 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5008 if ac_fn_c_try_link
"$LINENO"; then :
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5010 $as_echo "yes" >&6; }
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5013 $as_echo "no" >&6; }
5014 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5016 rm -f core conftest.err conftest.
$ac_objext \
5017 conftest
$ac_exeext conftest.
$ac_ext
5018 CFLAGS
="$CFLAGS -marm"
5022 *-mingw32*|
*-cygwin*)
5023 enable_win16
=${enable_win16:-no}
5024 CFLAGS
="$CFLAGS -D_WIN32"
5027 enable_win16
=${enable_win16:-yes}
5031 enable_win16
=${enable_win16:-no}
5032 enable_win64
=${enable_win64:-no}
5034 enable_winetest
=${enable_winetest:-$enable_tests}
5036 if test -n "$with_wine64"
5038 if test "x$enable_win64" = "xyes"
5040 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
5041 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5043 enable_fonts
=${enable_fonts:-no}
5044 enable_server
=${enable_server:-no}
5045 elif test "x$enable_win64" = "xyes"
5047 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5051 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5052 if ${wine_cv_toolsdir+:} false
; then :
5053 $as_echo_n "(cached) " >&6
5055 wine_cv_toolsdir
="$with_wine_tools"
5056 if test -z "$with_wine_tools"; then
5057 if test "$cross_compiling" = "yes"; then
5058 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5059 elif test -n "$with_wine64"; then
5060 wine_cv_toolsdir
="$with_wine64"
5063 if test -z "$wine_cv_toolsdir"; then
5064 wine_makedep
=tools
/makedep
5065 wine_cv_toolsdir
="\$(top_builddir)"
5066 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5067 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
5068 case "$wine_cv_toolsdir" in
5070 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
5072 enable_tools
=${enable_tools:-no}
5073 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5075 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5079 $as_echo "$wine_cv_toolsdir" >&6; }
5080 TOOLSDIR
=$wine_cv_toolsdir
5082 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5084 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
5090 # Extract the first word of "$ac_prog", so it can be a program name with args.
5091 set dummy
$ac_prog; ac_word
=$2
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5093 $as_echo_n "checking for $ac_word... " >&6; }
5094 if ${ac_cv_prog_FLEX+:} false
; then :
5095 $as_echo_n "(cached) " >&6
5097 if test -n "$FLEX"; then
5098 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5100 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5104 test -z "$as_dir" && as_dir
=.
5105 for ac_exec_ext
in '' $ac_executable_extensions; do
5106 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5107 ac_cv_prog_FLEX
="$ac_prog"
5108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5117 FLEX
=$ac_cv_prog_FLEX
5118 if test -n "$FLEX"; then
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5120 $as_echo "$FLEX" >&6; }
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5123 $as_echo "no" >&6; }
5127 test -n "$FLEX" && break
5129 test -n "$FLEX" || FLEX
="none"
5131 if test "$FLEX" = "none"
5133 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5136 $as_echo_n "checking whether flex is recent enough... " >&6; }
5137 cat >conftest.l
<<EOF
5139 #include "prediluvian.h"
5143 if $FLEX -t conftest.l
>/dev
/null
2>&5
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5146 $as_echo "yes" >&6; }
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5149 $as_echo "no" >&6; }
5150 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5153 for ac_prog
in bison
5155 # Extract the first word of "$ac_prog", so it can be a program name with args.
5156 set dummy
$ac_prog; ac_word
=$2
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5158 $as_echo_n "checking for $ac_word... " >&6; }
5159 if ${ac_cv_prog_BISON+:} false
; then :
5160 $as_echo_n "(cached) " >&6
5162 if test -n "$BISON"; then
5163 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5169 test -z "$as_dir" && as_dir
=.
5170 for ac_exec_ext
in '' $ac_executable_extensions; do
5171 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5172 ac_cv_prog_BISON
="$ac_prog"
5173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5182 BISON
=$ac_cv_prog_BISON
5183 if test -n "$BISON"; then
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5185 $as_echo "$BISON" >&6; }
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5188 $as_echo "no" >&6; }
5192 test -n "$BISON" && break
5194 test -n "$BISON" || BISON
="none"
5196 if test "$BISON" = "none"
5198 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5201 if test -n "$ac_tool_prefix"; then
5202 for ac_prog
in ar gar
5204 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5205 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5207 $as_echo_n "checking for $ac_word... " >&6; }
5208 if ${ac_cv_prog_AR+:} false
; then :
5209 $as_echo_n "(cached) " >&6
5211 if test -n "$AR"; then
5212 ac_cv_prog_AR
="$AR" # Let the user override the test.
5214 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5218 test -z "$as_dir" && as_dir
=.
5219 for ac_exec_ext
in '' $ac_executable_extensions; do
5220 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5221 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5232 if test -n "$AR"; then
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5234 $as_echo "$AR" >&6; }
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5237 $as_echo "no" >&6; }
5241 test -n "$AR" && break
5244 if test -z "$AR"; then
5246 for ac_prog
in ar gar
5248 # Extract the first word of "$ac_prog", so it can be a program name with args.
5249 set dummy
$ac_prog; ac_word
=$2
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5251 $as_echo_n "checking for $ac_word... " >&6; }
5252 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5253 $as_echo_n "(cached) " >&6
5255 if test -n "$ac_ct_AR"; then
5256 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5258 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5262 test -z "$as_dir" && as_dir
=.
5263 for ac_exec_ext
in '' $ac_executable_extensions; do
5264 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5265 ac_cv_prog_ac_ct_AR
="$ac_prog"
5266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5275 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5276 if test -n "$ac_ct_AR"; then
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5278 $as_echo "$ac_ct_AR" >&6; }
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5281 $as_echo "no" >&6; }
5285 test -n "$ac_ct_AR" && break
5288 if test "x$ac_ct_AR" = x
; then
5291 case $cross_compiling:$ac_tool_warned in
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5294 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5295 ac_tool_warned
=yes ;;
5301 if test -n "$ac_tool_prefix"; then
5302 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5303 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5305 $as_echo_n "checking for $ac_word... " >&6; }
5306 if ${ac_cv_prog_STRIP+:} false
; then :
5307 $as_echo_n "(cached) " >&6
5309 if test -n "$STRIP"; then
5310 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5312 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5316 test -z "$as_dir" && as_dir
=.
5317 for ac_exec_ext
in '' $ac_executable_extensions; do
5318 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5319 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5320 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5329 STRIP
=$ac_cv_prog_STRIP
5330 if test -n "$STRIP"; then
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5332 $as_echo "$STRIP" >&6; }
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5335 $as_echo "no" >&6; }
5340 if test -z "$ac_cv_prog_STRIP"; then
5342 # Extract the first word of "strip", so it can be a program name with args.
5343 set dummy strip
; ac_word
=$2
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5345 $as_echo_n "checking for $ac_word... " >&6; }
5346 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5347 $as_echo_n "(cached) " >&6
5349 if test -n "$ac_ct_STRIP"; then
5350 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5352 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5356 test -z "$as_dir" && as_dir
=.
5357 for ac_exec_ext
in '' $ac_executable_extensions; do
5358 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5359 ac_cv_prog_ac_ct_STRIP
="strip"
5360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5369 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5370 if test -n "$ac_ct_STRIP"; then
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5372 $as_echo "$ac_ct_STRIP" >&6; }
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5375 $as_echo "no" >&6; }
5378 if test "x$ac_ct_STRIP" = x
; then
5381 case $cross_compiling:$ac_tool_warned in
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5384 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5385 ac_tool_warned
=yes ;;
5390 STRIP
="$ac_cv_prog_STRIP"
5395 if test -n "$ac_tool_prefix"; then
5396 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5397 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5399 $as_echo_n "checking for $ac_word... " >&6; }
5400 if ${ac_cv_prog_RANLIB+:} false
; then :
5401 $as_echo_n "(cached) " >&6
5403 if test -n "$RANLIB"; then
5404 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5406 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5410 test -z "$as_dir" && as_dir
=.
5411 for ac_exec_ext
in '' $ac_executable_extensions; do
5412 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5413 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5423 RANLIB
=$ac_cv_prog_RANLIB
5424 if test -n "$RANLIB"; then
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5426 $as_echo "$RANLIB" >&6; }
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5429 $as_echo "no" >&6; }
5434 if test -z "$ac_cv_prog_RANLIB"; then
5435 ac_ct_RANLIB
=$RANLIB
5436 # Extract the first word of "ranlib", so it can be a program name with args.
5437 set dummy ranlib
; ac_word
=$2
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5439 $as_echo_n "checking for $ac_word... " >&6; }
5440 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5441 $as_echo_n "(cached) " >&6
5443 if test -n "$ac_ct_RANLIB"; then
5444 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5446 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5450 test -z "$as_dir" && as_dir
=.
5451 for ac_exec_ext
in '' $ac_executable_extensions; do
5452 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5453 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5454 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5463 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5464 if test -n "$ac_ct_RANLIB"; then
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5466 $as_echo "$ac_ct_RANLIB" >&6; }
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5469 $as_echo "no" >&6; }
5472 if test "x$ac_ct_RANLIB" = x
; then
5475 case $cross_compiling:$ac_tool_warned in
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5478 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5479 ac_tool_warned
=yes ;;
5481 RANLIB
=$ac_ct_RANLIB
5484 RANLIB
="$ac_cv_prog_RANLIB"
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5488 $as_echo_n "checking whether ln -s works... " >&6; }
5490 if test "$LN_S" = "ln -s"; then
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5492 $as_echo "yes" >&6; }
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5495 $as_echo "no, using $LN_S" >&6; }
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5499 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5500 if ${ac_cv_path_GREP+:} false
; then :
5501 $as_echo_n "(cached) " >&6
5503 if test -z "$GREP"; then
5504 ac_path_GREP_found
=false
5505 # Loop through the user's path and test for each of PROGNAME-LIST
5506 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5507 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5510 test -z "$as_dir" && as_dir
=.
5511 for ac_prog
in grep ggrep
; do
5512 for ac_exec_ext
in '' $ac_executable_extensions; do
5513 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5514 as_fn_executable_p
"$ac_path_GREP" ||
continue
5515 # Check for GNU ac_path_GREP and select it if it is found.
5516 # Check for GNU $ac_path_GREP
5517 case `"$ac_path_GREP" --version 2>&1` in
5519 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5522 $as_echo_n 0123456789 >"conftest.in"
5525 cat "conftest.in" "conftest.in" >"conftest.tmp"
5526 mv "conftest.tmp" "conftest.in"
5527 cp "conftest.in" "conftest.nl"
5528 $as_echo 'GREP' >> "conftest.nl"
5529 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5530 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5531 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5532 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5533 # Best one so far, save it but keep looking for a better one
5534 ac_cv_path_GREP
="$ac_path_GREP"
5535 ac_path_GREP_max
=$ac_count
5537 # 10*(2^10) chars as input seems more than enough
5538 test $ac_count -gt 10 && break
5540 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5543 $ac_path_GREP_found && break 3
5548 if test -z "$ac_cv_path_GREP"; then
5549 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5552 ac_cv_path_GREP
=$GREP
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5557 $as_echo "$ac_cv_path_GREP" >&6; }
5558 GREP
="$ac_cv_path_GREP"
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5562 $as_echo_n "checking for egrep... " >&6; }
5563 if ${ac_cv_path_EGREP+:} false
; then :
5564 $as_echo_n "(cached) " >&6
5566 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5567 then ac_cv_path_EGREP
="$GREP -E"
5569 if test -z "$EGREP"; then
5570 ac_path_EGREP_found
=false
5571 # Loop through the user's path and test for each of PROGNAME-LIST
5572 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5573 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5576 test -z "$as_dir" && as_dir
=.
5577 for ac_prog
in egrep; do
5578 for ac_exec_ext
in '' $ac_executable_extensions; do
5579 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5580 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5581 # Check for GNU ac_path_EGREP and select it if it is found.
5582 # Check for GNU $ac_path_EGREP
5583 case `"$ac_path_EGREP" --version 2>&1` in
5585 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5588 $as_echo_n 0123456789 >"conftest.in"
5591 cat "conftest.in" "conftest.in" >"conftest.tmp"
5592 mv "conftest.tmp" "conftest.in"
5593 cp "conftest.in" "conftest.nl"
5594 $as_echo 'EGREP' >> "conftest.nl"
5595 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5596 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5597 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5598 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5599 # Best one so far, save it but keep looking for a better one
5600 ac_cv_path_EGREP
="$ac_path_EGREP"
5601 ac_path_EGREP_max
=$ac_count
5603 # 10*(2^10) chars as input seems more than enough
5604 test $ac_count -gt 10 && break
5606 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5609 $ac_path_EGREP_found && break 3
5614 if test -z "$ac_cv_path_EGREP"; then
5615 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5618 ac_cv_path_EGREP
=$EGREP
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5624 $as_echo "$ac_cv_path_EGREP" >&6; }
5625 EGREP
="$ac_cv_path_EGREP"
5628 # Extract the first word of "ldconfig", so it can be a program name with args.
5629 set dummy ldconfig
; ac_word
=$2
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5631 $as_echo_n "checking for $ac_word... " >&6; }
5632 if ${ac_cv_path_LDCONFIG+:} false
; then :
5633 $as_echo_n "(cached) " >&6
5637 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5641 for as_dir
in /sbin
/usr
/sbin
$PATH
5644 test -z "$as_dir" && as_dir
=.
5645 for ac_exec_ext
in '' $ac_executable_extensions; do
5646 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5647 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5655 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5659 LDCONFIG
=$ac_cv_path_LDCONFIG
5660 if test -n "$LDCONFIG"; then
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5662 $as_echo "$LDCONFIG" >&6; }
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5665 $as_echo "no" >&6; }
5669 for ac_prog
in msgfmt
5671 # Extract the first word of "$ac_prog", so it can be a program name with args.
5672 set dummy
$ac_prog; ac_word
=$2
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5674 $as_echo_n "checking for $ac_word... " >&6; }
5675 if ${ac_cv_prog_MSGFMT+:} false
; then :
5676 $as_echo_n "(cached) " >&6
5678 if test -n "$MSGFMT"; then
5679 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5681 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5685 test -z "$as_dir" && as_dir
=.
5686 for ac_exec_ext
in '' $ac_executable_extensions; do
5687 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5688 ac_cv_prog_MSGFMT
="$ac_prog"
5689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5698 MSGFMT
=$ac_cv_prog_MSGFMT
5699 if test -n "$MSGFMT"; then
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5701 $as_echo "$MSGFMT" >&6; }
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5704 $as_echo "no" >&6; }
5708 test -n "$MSGFMT" && break
5710 test -n "$MSGFMT" || MSGFMT
="false"
5712 if ${ac_tool_prefix+:} false
; then :
5713 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5714 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5716 $as_echo_n "checking for $ac_word... " >&6; }
5717 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5718 $as_echo_n "(cached) " >&6
5720 if test -n "$PKG_CONFIG"; then
5721 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5723 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5727 test -z "$as_dir" && as_dir
=.
5728 for ac_exec_ext
in '' $ac_executable_extensions; do
5729 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5730 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5740 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5741 if test -n "$PKG_CONFIG"; then
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5743 $as_echo "$PKG_CONFIG" >&6; }
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5746 $as_echo "no" >&6; }
5751 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5752 if test "x$cross_compiling" = xyes
; then :
5755 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5756 # Extract the first word of "pkg-config", so it can be a program name with args.
5757 set dummy pkg-config
; ac_word
=$2
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5759 $as_echo_n "checking for $ac_word... " >&6; }
5760 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5761 $as_echo_n "(cached) " >&6
5763 if test -n "$PKG_CONFIG"; then
5764 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5766 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5770 test -z "$as_dir" && as_dir
=.
5771 for ac_exec_ext
in '' $ac_executable_extensions; do
5772 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5773 ac_cv_prog_PKG_CONFIG
="pkg-config"
5774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5783 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5784 if test -n "$PKG_CONFIG"; then
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5786 $as_echo "$PKG_CONFIG" >&6; }
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5789 $as_echo "no" >&6; }
5795 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5798 if test "x$enable_maintainer_mode" != "xyes"
5805 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5806 for ac_prog
in fontforge
5808 # Extract the first word of "$ac_prog", so it can be a program name with args.
5809 set dummy
$ac_prog; ac_word
=$2
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5811 $as_echo_n "checking for $ac_word... " >&6; }
5812 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5813 $as_echo_n "(cached) " >&6
5815 if test -n "$FONTFORGE"; then
5816 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5818 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5822 test -z "$as_dir" && as_dir
=.
5823 for ac_exec_ext
in '' $ac_executable_extensions; do
5824 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5825 ac_cv_prog_FONTFORGE
="$ac_prog"
5826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5835 FONTFORGE
=$ac_cv_prog_FONTFORGE
5836 if test -n "$FONTFORGE"; then
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5838 $as_echo "$FONTFORGE" >&6; }
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5841 $as_echo "no" >&6; }
5845 test -n "$FONTFORGE" && break
5847 test -n "$FONTFORGE" || FONTFORGE
="false"
5849 for ac_prog
in rsvg-convert rsvg
5851 # Extract the first word of "$ac_prog", so it can be a program name with args.
5852 set dummy
$ac_prog; ac_word
=$2
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5854 $as_echo_n "checking for $ac_word... " >&6; }
5855 if ${ac_cv_prog_RSVG+:} false
; then :
5856 $as_echo_n "(cached) " >&6
5858 if test -n "$RSVG"; then
5859 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5861 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5865 test -z "$as_dir" && as_dir
=.
5866 for ac_exec_ext
in '' $ac_executable_extensions; do
5867 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5868 ac_cv_prog_RSVG
="$ac_prog"
5869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5878 RSVG
=$ac_cv_prog_RSVG
5879 if test -n "$RSVG"; then
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5881 $as_echo "$RSVG" >&6; }
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5884 $as_echo "no" >&6; }
5888 test -n "$RSVG" && break
5890 test -n "$RSVG" || RSVG
="false"
5892 for ac_prog
in convert
5894 # Extract the first word of "$ac_prog", so it can be a program name with args.
5895 set dummy
$ac_prog; ac_word
=$2
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5897 $as_echo_n "checking for $ac_word... " >&6; }
5898 if ${ac_cv_prog_CONVERT+:} false
; then :
5899 $as_echo_n "(cached) " >&6
5901 if test -n "$CONVERT"; then
5902 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5904 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5908 test -z "$as_dir" && as_dir
=.
5909 for ac_exec_ext
in '' $ac_executable_extensions; do
5910 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5911 ac_cv_prog_CONVERT
="$ac_prog"
5912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5921 CONVERT
=$ac_cv_prog_CONVERT
5922 if test -n "$CONVERT"; then
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5924 $as_echo "$CONVERT" >&6; }
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5927 $as_echo "no" >&6; }
5931 test -n "$CONVERT" && break
5933 test -n "$CONVERT" || CONVERT
="false"
5935 for ac_prog
in icotool
5937 # Extract the first word of "$ac_prog", so it can be a program name with args.
5938 set dummy
$ac_prog; ac_word
=$2
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5940 $as_echo_n "checking for $ac_word... " >&6; }
5941 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5942 $as_echo_n "(cached) " >&6
5944 if test -n "$ICOTOOL"; then
5945 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5947 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5951 test -z "$as_dir" && as_dir
=.
5952 for ac_exec_ext
in '' $ac_executable_extensions; do
5953 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5954 ac_cv_prog_ICOTOOL
="$ac_prog"
5955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5964 ICOTOOL
=$ac_cv_prog_ICOTOOL
5965 if test -n "$ICOTOOL"; then
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5967 $as_echo "$ICOTOOL" >&6; }
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5970 $as_echo "no" >&6; }
5974 test -n "$ICOTOOL" && break
5976 test -n "$ICOTOOL" || ICOTOOL
="false"
5978 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5979 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5981 if test "$CONVERT" = false
5983 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5986 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5987 convert_version
=`convert --version | head -n1`
5988 if test "x$convert_version" != "x"
5990 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5991 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5992 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5997 if test "$CONVERT" = false
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6000 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6001 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6004 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6008 if test "$ICOTOOL" = false
6010 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6013 $as_echo_n "checking for recent enough icotool... " >&6; }
6014 icotool_version
=`icotool --version | head -n1`
6015 if test "x$icotool_version" != "x"
6017 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6018 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6019 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6022 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
6025 if test "$ICOTOOL" = false
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6028 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6029 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6032 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6038 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
6041 test "x$with_gettext" != xno || MSGFMT
=false
6042 if test "$MSGFMT" != "false"
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6045 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6046 cat >conftest.po
<<EOF
6052 if $MSGFMT -o /dev
/null conftest.po
2>&5
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6055 $as_echo "yes" >&6; }
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6058 $as_echo "no" >&6; }
6062 if test "$MSGFMT" = false
; then :
6063 case "x$with_gettext" in
6064 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
6066 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
6067 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6073 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6074 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
6075 $as_echo_n "(cached) " >&6
6077 ac_check_lib_save_LIBS
=$LIBS
6079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6080 /* end confdefs.h. */
6082 /* Override any GCC internal prototype to avoid an error.
6083 Use char because int might match the return type of a GCC
6084 builtin and then its argument prototype would still apply. */
6088 char i386_set_ldt ();
6092 return i386_set_ldt ();
6097 if ac_fn_c_try_link
"$LINENO"; then :
6098 ac_cv_lib_i386_i386_set_ldt
=yes
6100 ac_cv_lib_i386_i386_set_ldt
=no
6102 rm -f core conftest.err conftest.
$ac_objext \
6103 conftest
$ac_exeext conftest.
$ac_ext
6104 LIBS
=$ac_check_lib_save_LIBS
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6107 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6108 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
6109 cat >>confdefs.h
<<_ACEOF
6110 #define HAVE_LIBI386 1
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6118 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6119 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
6120 $as_echo_n "(cached) " >&6
6122 ac_check_lib_save_LIBS
=$LIBS
6123 LIBS
="-lossaudio $LIBS"
6124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6125 /* end confdefs.h. */
6127 /* Override any GCC internal prototype to avoid an error.
6128 Use char because int might match the return type of a GCC
6129 builtin and then its argument prototype would still apply. */
6137 return _oss_ioctl ();
6142 if ac_fn_c_try_link
"$LINENO"; then :
6143 ac_cv_lib_ossaudio__oss_ioctl
=yes
6145 ac_cv_lib_ossaudio__oss_ioctl
=no
6147 rm -f core conftest.err conftest.
$ac_objext \
6148 conftest
$ac_exeext conftest.
$ac_ext
6149 LIBS
=$ac_check_lib_save_LIBS
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6152 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6153 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
6154 cat >>confdefs.h
<<_ACEOF
6155 #define HAVE_LIBOSSAUDIO 1
6158 LIBS
="-lossaudio $LIBS"
6167 # Check whether --enable-largefile was given.
6168 if test "${enable_largefile+set}" = set; then :
6169 enableval
=$enable_largefile;
6172 if test "$enable_largefile" != no
; then
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6175 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6176 if ${ac_cv_sys_largefile_CC+:} false
; then :
6177 $as_echo_n "(cached) " >&6
6179 ac_cv_sys_largefile_CC
=no
6180 if test "$GCC" != yes; then
6183 # IRIX 6.2 and later do not support large files by default,
6184 # so use the C compiler's -n32 option if that helps.
6185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6186 /* end confdefs.h. */
6187 #include <sys/types.h>
6188 /* Check that off_t can represent 2**63 - 1 correctly.
6189 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6190 since some C++ compilers masquerading as C compilers
6191 incorrectly reject 9223372036854775807. */
6192 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6193 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6194 && LARGE_OFF_T % 2147483647 == 1)
6204 if ac_fn_c_try_compile
"$LINENO"; then :
6207 rm -f core conftest.err conftest.
$ac_objext
6209 if ac_fn_c_try_compile
"$LINENO"; then :
6210 ac_cv_sys_largefile_CC
=' -n32'; break
6212 rm -f core conftest.err conftest.
$ac_objext
6216 rm -f conftest.
$ac_ext
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6220 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6221 if test "$ac_cv_sys_largefile_CC" != no
; then
6222 CC
=$CC$ac_cv_sys_largefile_CC
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6226 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6227 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6228 $as_echo_n "(cached) " >&6
6231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6232 /* end confdefs.h. */
6233 #include <sys/types.h>
6234 /* Check that off_t can represent 2**63 - 1 correctly.
6235 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6236 since some C++ compilers masquerading as C compilers
6237 incorrectly reject 9223372036854775807. */
6238 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6239 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6240 && LARGE_OFF_T % 2147483647 == 1)
6250 if ac_fn_c_try_compile
"$LINENO"; then :
6251 ac_cv_sys_file_offset_bits
=no
; break
6253 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6255 /* end confdefs.h. */
6256 #define _FILE_OFFSET_BITS 64
6257 #include <sys/types.h>
6258 /* Check that off_t can represent 2**63 - 1 correctly.
6259 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6260 since some C++ compilers masquerading as C compilers
6261 incorrectly reject 9223372036854775807. */
6262 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6263 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6264 && LARGE_OFF_T % 2147483647 == 1)
6274 if ac_fn_c_try_compile
"$LINENO"; then :
6275 ac_cv_sys_file_offset_bits
=64; break
6277 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6278 ac_cv_sys_file_offset_bits
=unknown
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6283 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6284 case $ac_cv_sys_file_offset_bits in #(
6287 cat >>confdefs.h
<<_ACEOF
6288 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6293 if test $ac_cv_sys_file_offset_bits = unknown
; then
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6295 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6296 if ${ac_cv_sys_large_files+:} false
; then :
6297 $as_echo_n "(cached) " >&6
6300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6301 /* end confdefs.h. */
6302 #include <sys/types.h>
6303 /* Check that off_t can represent 2**63 - 1 correctly.
6304 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6305 since some C++ compilers masquerading as C compilers
6306 incorrectly reject 9223372036854775807. */
6307 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6308 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6309 && LARGE_OFF_T % 2147483647 == 1)
6319 if ac_fn_c_try_compile
"$LINENO"; then :
6320 ac_cv_sys_large_files
=no
; break
6322 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6324 /* end confdefs.h. */
6325 #define _LARGE_FILES 1
6326 #include <sys/types.h>
6327 /* Check that off_t can represent 2**63 - 1 correctly.
6328 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6329 since some C++ compilers masquerading as C compilers
6330 incorrectly reject 9223372036854775807. */
6331 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6332 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6333 && LARGE_OFF_T % 2147483647 == 1)
6343 if ac_fn_c_try_compile
"$LINENO"; then :
6344 ac_cv_sys_large_files
=1; break
6346 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6347 ac_cv_sys_large_files
=unknown
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6352 $as_echo "$ac_cv_sys_large_files" >&6; }
6353 case $ac_cv_sys_large_files in #(
6356 cat >>confdefs.h
<<_ACEOF
6357 #define _LARGE_FILES $ac_cv_sys_large_files
6369 ac_cpp
='$CPP $CPPFLAGS'
6370 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6371 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6372 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6374 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6375 # On Suns, sometimes $CPP names a directory.
6376 if test -n "$CPP" && test -d "$CPP"; then
6379 if test -z "$CPP"; then
6380 if ${ac_cv_prog_CPP+:} false
; then :
6381 $as_echo_n "(cached) " >&6
6383 # Double quotes because CPP needs to be expanded
6384 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6387 for ac_c_preproc_warn_flag
in '' yes
6389 # Use a header file that comes with gcc, so configuring glibc
6390 # with a fresh cross-compiler works.
6391 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6392 # <limits.h> exists even on freestanding compilers.
6393 # On the NeXT, cc -E runs the code through the compiler's parser,
6394 # not just through cpp. "Syntax error" is here to catch this case.
6395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6396 /* end confdefs.h. */
6398 # include <limits.h>
6400 # include <assert.h>
6404 if ac_fn_c_try_cpp
"$LINENO"; then :
6407 # Broken: fails on valid input.
6410 rm -f conftest.err conftest.i conftest.
$ac_ext
6412 # OK, works on sane cases. Now check whether nonexistent headers
6413 # can be detected and how.
6414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6415 /* end confdefs.h. */
6416 #include <ac_nonexistent.h>
6418 if ac_fn_c_try_cpp
"$LINENO"; then :
6419 # Broken: success on invalid input.
6422 # Passes both tests.
6426 rm -f conftest.err conftest.i conftest.
$ac_ext
6429 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6430 rm -f conftest.i conftest.err conftest.
$ac_ext
6431 if $ac_preproc_ok; then :
6443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6444 $as_echo "$CPP" >&6; }
6446 for ac_c_preproc_warn_flag
in '' yes
6448 # Use a header file that comes with gcc, so configuring glibc
6449 # with a fresh cross-compiler works.
6450 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6451 # <limits.h> exists even on freestanding compilers.
6452 # On the NeXT, cc -E runs the code through the compiler's parser,
6453 # not just through cpp. "Syntax error" is here to catch this case.
6454 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6455 /* end confdefs.h. */
6457 # include <limits.h>
6459 # include <assert.h>
6463 if ac_fn_c_try_cpp
"$LINENO"; then :
6466 # Broken: fails on valid input.
6469 rm -f conftest.err conftest.i conftest.
$ac_ext
6471 # OK, works on sane cases. Now check whether nonexistent headers
6472 # can be detected and how.
6473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6474 /* end confdefs.h. */
6475 #include <ac_nonexistent.h>
6477 if ac_fn_c_try_cpp
"$LINENO"; then :
6478 # Broken: success on invalid input.
6481 # Passes both tests.
6485 rm -f conftest.err conftest.i conftest.
$ac_ext
6488 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6489 rm -f conftest.i conftest.err conftest.
$ac_ext
6490 if $ac_preproc_ok; then :
6493 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6494 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6495 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6496 See \`config.log' for more details" "$LINENO" 5; }
6500 ac_cpp
='$CPP $CPPFLAGS'
6501 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6502 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6503 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6507 $as_echo_n "checking for ANSI C header files... " >&6; }
6508 if ${ac_cv_header_stdc+:} false
; then :
6509 $as_echo_n "(cached) " >&6
6511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6512 /* end confdefs.h. */
6526 if ac_fn_c_try_compile
"$LINENO"; then :
6527 ac_cv_header_stdc
=yes
6529 ac_cv_header_stdc
=no
6531 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6533 if test $ac_cv_header_stdc = yes; then
6534 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6536 /* end confdefs.h. */
6540 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6541 $EGREP "memchr" >/dev
/null
2>&1; then :
6544 ac_cv_header_stdc
=no
6550 if test $ac_cv_header_stdc = yes; then
6551 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6553 /* end confdefs.h. */
6557 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6558 $EGREP "free" >/dev
/null
2>&1; then :
6561 ac_cv_header_stdc
=no
6567 if test $ac_cv_header_stdc = yes; then
6568 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6569 if test "$cross_compiling" = yes; then :
6572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6573 /* end confdefs.h. */
6576 #if ((' ' & 0x0FF) == 0x020)
6577 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6578 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6580 # define ISLOWER(c) \
6581 (('a' <= (c) && (c) <= 'i') \
6582 || ('j' <= (c) && (c) <= 'r') \
6583 || ('s' <= (c) && (c) <= 'z'))
6584 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6587 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6592 for (i = 0; i < 256; i++)
6593 if (XOR (islower (i), ISLOWER (i))
6594 || toupper (i) != TOUPPER (i))
6599 if ac_fn_c_try_run
"$LINENO"; then :
6602 ac_cv_header_stdc
=no
6604 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6605 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6611 $as_echo "$ac_cv_header_stdc" >&6; }
6612 if test $ac_cv_header_stdc = yes; then
6614 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6618 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6619 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6620 inttypes.h stdint.h unistd.h
6622 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6623 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6625 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6626 cat >>confdefs.h
<<_ACEOF
6627 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6637 ApplicationServices
/ApplicationServices.h \
6638 AudioToolbox
/AudioConverter.h \
6639 AudioUnit
/AudioUnit.h \
6640 AudioUnit
/AudioComponent.h \
6643 CoreAudio
/CoreAudio.h \
6644 CoreServices
/CoreServices.h \
6645 DiskArbitration
/DiskArbitration.h \
6647 IOKit
/hid
/IOHIDLib.h \
6650 QuickTime
/ImageCompression.h \
6651 Security
/Security.h \
6702 netinet
/in_systm.h \
6765 valgrind
/memcheck.h \
6766 valgrind
/valgrind.h \
6770 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6771 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6772 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6773 cat >>confdefs.h
<<_ACEOF
6774 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6782 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6783 if ${ac_cv_header_stat_broken+:} false
; then :
6784 $as_echo_n "(cached) " >&6
6786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6787 /* end confdefs.h. */
6788 #include <sys/types.h>
6789 #include <sys/stat.h>
6791 #if defined S_ISBLK && defined S_IFDIR
6792 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6795 #if defined S_ISBLK && defined S_IFCHR
6796 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6799 #if defined S_ISLNK && defined S_IFREG
6800 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6803 #if defined S_ISSOCK && defined S_IFREG
6804 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6808 if ac_fn_c_try_compile
"$LINENO"; then :
6809 ac_cv_header_stat_broken
=no
6811 ac_cv_header_stat_broken
=yes
6813 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6816 $as_echo "$ac_cv_header_stat_broken" >&6; }
6817 if test $ac_cv_header_stat_broken = yes; then
6819 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6825 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6827 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6828 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6829 #ifdef HAVE_SYS_PARAM_H
6830 # include <sys/param.h>
6833 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6834 cat >>confdefs.h
<<_ACEOF
6835 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6850 netinet
/if_ether.h \
6851 netinet
/if_inarp.h \
6860 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6861 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6862 #ifdef HAVE_SYS_SOCKET_H
6863 # include <sys/socket.h>
6865 #ifdef HAVE_SYS_SOCKETVAR_H
6866 # include <sys/socketvar.h>
6868 #ifdef HAVE_NET_ROUTE_H
6869 # include <net/route.h>
6871 #ifdef HAVE_NETINET_IN_H
6872 # include <netinet/in.h>
6874 #ifdef HAVE_NETINET_IN_SYSTM_H
6875 # include <netinet/in_systm.h>
6877 #ifdef HAVE_NET_IF_H
6878 # include <net/if.h>
6880 #ifdef HAVE_NETINET_IP_H
6881 # include <netinet/ip.h>
6884 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6885 cat >>confdefs.h
<<_ACEOF
6886 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6894 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6896 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6897 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6901 #ifdef HAVE_SYS_SOCKET_H
6902 # include <sys/socket.h>
6904 #ifdef HAVE_SYS_SOCKETVAR_H
6905 # include <sys/socketvar.h>
6907 #ifdef HAVE_SYS_TIMEOUT_H
6908 # include <sys/timeout.h>
6910 #ifdef HAVE_NETINET_IN_H
6911 # include <netinet/in.h>
6913 #ifdef HAVE_NETINET_IN_SYSTM_H
6914 # include <netinet/in_systm.h>
6916 #ifdef HAVE_NETINET_IP_H
6917 # include <netinet/ip.h>
6919 #ifdef HAVE_NETINET_IP_VAR_H
6920 # include <netinet/ip_var.h>
6922 #ifdef HAVE_NETINET_IP_ICMP_H
6923 # include <netinet/ip_icmp.h>
6925 #ifdef HAVE_NETINET_UDP_H
6926 # include <netinet/udp.h>
6928 #ifdef HAVE_NETINET_TCP_H
6929 # include <netinet/tcp.h>
6931 #ifdef HAVE_NETINET_TCP_TIMER_H
6932 #include <netinet/tcp_timer.h>
6935 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6936 cat >>confdefs.h
<<_ACEOF
6937 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6945 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6947 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6948 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6949 #ifdef HAVE_ASM_TYPES_H
6950 # include <asm/types.h>
6952 #ifdef HAVE_SYS_SOCKET_H
6953 # include <sys/socket.h>
6955 #ifdef HAVE_LINUX_TYPES_H
6956 # include <linux/types.h>
6959 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6960 cat >>confdefs.h
<<_ACEOF
6961 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6969 for ac_header
in mach-o
/dyld_images.h
6971 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6972 # include <stdbool.h>
6974 #ifdef HAVE_STDINT_H
6975 # include <stdint.h>
6978 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6979 cat >>confdefs.h
<<_ACEOF
6980 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6988 for ac_header
in resolv.h
6990 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6991 #ifdef HAVE_SYS_SOCKET_H
6992 # include <sys/socket.h>
6994 #ifdef HAVE_NETINET_IN_H
6995 # include <netinet/in.h>
6997 #ifdef HAVE_ARPA_NAMESER_H
6998 # include <arpa/nameser.h>
7001 if test "x$ac_cv_header_resolv_h" = xyes
; then :
7002 cat >>confdefs.h
<<_ACEOF
7003 #define HAVE_RESOLV_H 1
7011 for ac_header
in ifaddrs.h
7013 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7015 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
7016 cat >>confdefs.h
<<_ACEOF
7017 #define HAVE_IFADDRS_H 1
7025 for ac_header
in sys
/ucontext.h
7027 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7029 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
7030 cat >>confdefs.h
<<_ACEOF
7031 #define HAVE_SYS_UCONTEXT_H 1
7039 for ac_header
in sys
/thr.h
7041 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7042 #ifdef HAVE_SYS_UCONTEXT_H
7043 #include <sys/ucontext.h>
7046 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
7047 cat >>confdefs.h
<<_ACEOF
7048 #define HAVE_SYS_THR_H 1
7056 for ac_header
in pthread_np.h
7058 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7059 #include <pthread.h>
7062 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
7063 cat >>confdefs.h
<<_ACEOF
7064 #define HAVE_PTHREAD_NP_H 1
7072 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
7074 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7075 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7076 #include <sys/time.h>
7078 #include <sys/types.h>
7079 #ifdef HAVE_ASM_TYPES_H
7080 #include <asm/types.h>
7083 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7084 cat >>confdefs.h
<<_ACEOF
7085 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7093 for ac_header
in libprocstat.h
7095 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7096 #include <sys/param.h>
7098 #ifdef HAVE_SYS_QUEUE_H
7099 #include <sys/queue.h>
7101 #ifdef HAVE_SYS_SOCKET_H
7102 #include <sys/socket.h>
7105 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
7106 cat >>confdefs.h
<<_ACEOF
7107 #define HAVE_LIBPROCSTAT_H 1
7116 dlldir
="\${libdir}/wine"
7120 DLLFLAGS
="-D_REENTRANT"
7129 STATIC_IMPLIBEXT
="def.a"
7130 # Extract the first word of "ldd", so it can be a program name with args.
7131 set dummy ldd
; ac_word
=$2
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7133 $as_echo_n "checking for $ac_word... " >&6; }
7134 if ${ac_cv_path_LDD+:} false
; then :
7135 $as_echo_n "(cached) " >&6
7139 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7142 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7143 as_dummy
="/sbin:/usr/sbin:$PATH"
7144 for as_dir
in $as_dummy
7147 test -z "$as_dir" && as_dir
=.
7148 for ac_exec_ext
in '' $ac_executable_extensions; do
7149 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7150 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7158 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7163 if test -n "$LDD"; then
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7165 $as_echo "$LDD" >&6; }
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7168 $as_echo "no" >&6; }
7172 if test -n "$ac_tool_prefix"; then
7173 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7174 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7176 $as_echo_n "checking for $ac_word... " >&6; }
7177 if ${ac_cv_prog_OTOOL+:} false
; then :
7178 $as_echo_n "(cached) " >&6
7180 if test -n "$OTOOL"; then
7181 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7187 test -z "$as_dir" && as_dir
=.
7188 for ac_exec_ext
in '' $ac_executable_extensions; do
7189 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7190 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7200 OTOOL
=$ac_cv_prog_OTOOL
7201 if test -n "$OTOOL"; then
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7203 $as_echo "$OTOOL" >&6; }
7205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7206 $as_echo "no" >&6; }
7211 if test -z "$ac_cv_prog_OTOOL"; then
7213 # Extract the first word of "otool", so it can be a program name with args.
7214 set dummy otool
; ac_word
=$2
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7216 $as_echo_n "checking for $ac_word... " >&6; }
7217 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
7218 $as_echo_n "(cached) " >&6
7220 if test -n "$ac_ct_OTOOL"; then
7221 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7227 test -z "$as_dir" && as_dir
=.
7228 for ac_exec_ext
in '' $ac_executable_extensions; do
7229 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7230 ac_cv_prog_ac_ct_OTOOL
="otool"
7231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7240 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7241 if test -n "$ac_ct_OTOOL"; then
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7243 $as_echo "$ac_ct_OTOOL" >&6; }
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7246 $as_echo "no" >&6; }
7249 if test "x$ac_ct_OTOOL" = x
; then
7252 case $cross_compiling:$ac_tool_warned in
7254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7255 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7256 ac_tool_warned
=yes ;;
7261 OTOOL
="$ac_cv_prog_OTOOL"
7264 if test -n "$ac_tool_prefix"; then
7265 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7266 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7268 $as_echo_n "checking for $ac_word... " >&6; }
7269 if ${ac_cv_prog_READELF+:} false
; then :
7270 $as_echo_n "(cached) " >&6
7272 if test -n "$READELF"; then
7273 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7275 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7279 test -z "$as_dir" && as_dir
=.
7280 for ac_exec_ext
in '' $ac_executable_extensions; do
7281 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7282 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7292 READELF
=$ac_cv_prog_READELF
7293 if test -n "$READELF"; then
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7295 $as_echo "$READELF" >&6; }
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7298 $as_echo "no" >&6; }
7303 if test -z "$ac_cv_prog_READELF"; then
7304 ac_ct_READELF
=$READELF
7305 # Extract the first word of "readelf", so it can be a program name with args.
7306 set dummy readelf
; ac_word
=$2
7307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7308 $as_echo_n "checking for $ac_word... " >&6; }
7309 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7310 $as_echo_n "(cached) " >&6
7312 if test -n "$ac_ct_READELF"; then
7313 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7319 test -z "$as_dir" && as_dir
=.
7320 for ac_exec_ext
in '' $ac_executable_extensions; do
7321 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7322 ac_cv_prog_ac_ct_READELF
="readelf"
7323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7332 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7333 if test -n "$ac_ct_READELF"; then
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7335 $as_echo "$ac_ct_READELF" >&6; }
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7338 $as_echo "no" >&6; }
7341 if test "x$ac_ct_READELF" = x
; then
7344 case $cross_compiling:$ac_tool_warned in
7346 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7347 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7348 ac_tool_warned
=yes ;;
7350 READELF
=$ac_ct_READELF
7353 READELF
="$ac_cv_prog_READELF"
7356 wine_rules_file
=conf$
$rules.
make
7357 rm -f $wine_rules_file
7359 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7360 ALL_TEST_RESOURCES
=""
7363 wine_fn_append_file
()
7365 as_fn_append
$1 " \\$as_nl $2"
7368 wine_fn_ignore_file
()
7371 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7372 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7373 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7377 wine_fn_append_rule
()
7379 $as_echo "$1" >>$wine_rules_file
7384 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7387 wine_fn_depend_rules
()
7389 wine_fn_append_rule \
7390 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7391 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7392 depend: $ac_dir/depend
7393 .PHONY: $ac_dir/depend
7394 $ac_dir/depend: \$(MAKEDEP) dummy
7395 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7398 wine_fn_pot_rules
()
7400 test "x$with_gettextpo" = xyes ||
return
7402 if wine_fn_has_flag mc
7404 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7405 wine_fn_append_rule \
7406 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7407 @cd $ac_dir && \$(MAKE) msg.pot
7408 $ac_dir/msg.pot: tools/wmc include"
7410 if wine_fn_has_flag po
7412 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7413 wine_fn_append_rule \
7414 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7415 @cd $ac_dir && \$(MAKE) rsrc.pot
7416 $ac_dir/rsrc.pot: tools/wrc include"
7420 wine_fn_all_rules
()
7422 wine_fn_depend_rules
7423 wine_fn_append_rule \
7426 $ac_dir: $ac_dir/Makefile dummy
7427 @cd $ac_dir && \$(MAKE)"
7430 wine_fn_install_rules
()
7432 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7434 wine_fn_append_rule \
7435 ".PHONY: $ac_dir/install $ac_dir/uninstall
7436 $ac_dir/install:: $ac_dir
7437 @cd $ac_dir && \$(MAKE) install
7438 $ac_dir/uninstall:: $ac_dir/Makefile
7439 @cd $ac_dir && \$(MAKE) uninstall
7440 install:: $ac_dir/install
7441 __uninstall__: $ac_dir/uninstall"
7443 if wine_fn_has_flag install-lib
7445 wine_fn_append_rule \
7446 ".PHONY: $ac_dir/install-lib
7447 $ac_dir/install-lib:: $ac_dir
7448 @cd $ac_dir && \$(MAKE) install-lib
7449 install-lib:: $ac_dir/install-lib"
7452 if wine_fn_has_flag install-dev
7454 wine_fn_append_rule \
7455 ".PHONY: $ac_dir/install-dev
7456 $ac_dir/install-dev:: $ac_dir
7457 @cd $ac_dir && \$(MAKE) install-dev
7458 install-dev:: $ac_dir/install-dev"
7462 wine_fn_clean_rules
()
7465 ac_extraclean
="$ac_dir/Makefile"
7466 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7468 */tests
) ac_extraclean
="$ac_extraclean $ac_dir/testlist.c" ;;
7471 if wine_fn_has_flag clean
7473 wine_fn_append_rule \
7474 "__clean__: $ac_dir/clean
7475 .PHONY: $ac_dir/clean
7476 $ac_dir/clean: $ac_dir/Makefile
7477 @cd $ac_dir && \$(MAKE) clean
7478 \$(RM) $ac_extraclean"
7480 wine_fn_append_rule \
7481 "__clean__: $ac_dir/clean
7482 .PHONY: $ac_dir/clean
7483 $ac_dir/clean: dummy
7484 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7488 wine_fn_disabled_rules
()
7491 ac_extraclean
="$ac_dir/Makefile"
7492 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7494 wine_fn_append_rule \
7495 "__clean__: $ac_dir/clean
7496 .PHONY: $ac_dir/clean
7497 $ac_dir/clean: dummy
7498 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7501 wine_fn_config_makefile
()
7507 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7508 wine_fn_disabled_rules
; return
7511 wine_fn_install_rules
7515 wine_fn_config_lib
()
7519 ac_dir
=dlls
/$ac_name
7522 if test "x$enable_tools" = xno
; then :
7525 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7530 wine_fn_append_rule \
7531 ".PHONY: $ac_dir/install $ac_dir/uninstall
7532 $ac_dir/install:: $ac_dir
7533 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7535 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7536 install install-dev:: $ac_dir/install
7537 __uninstall__: $ac_dir/uninstall
7538 __builddeps__: $ac_dir
7542 wine_fn_config_dll
()
7545 ac_dir
=dlls
/$ac_name
7548 ac_implib
=${4:-$ac_name}
7549 ac_file
=$ac_dir/lib
$ac_implib
7554 if test "x$enable_tools" = xno
; then :
7557 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7560 *16) ac_implibflags
=" -m16" ;;
7562 *) ac_dll
=$ac_dll.dll
;;
7566 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7567 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7568 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7569 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7571 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7572 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
7574 wine_fn_depend_rules
7575 wine_fn_clean_rules
$ac_clean
7577 wine_fn_disabled_rules
$ac_clean
7582 wine_fn_clean_rules
$ac_clean
7583 wine_fn_append_rule \
7584 "$ac_dir: __builddeps__
7585 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7586 @cd $ac_dir && \$(MAKE) \$@
7587 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7588 install install-lib:: $ac_dir/install-lib
7589 __uninstall__: $ac_dir/uninstall"
7590 if test -n "$DLLEXT"
7592 wine_fn_append_rule \
7593 "$ac_dir/install-lib:: $ac_dir
7594 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7595 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7597 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7599 wine_fn_append_rule \
7600 "$ac_dir/install-lib:: $ac_dir
7601 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7603 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7609 if wine_fn_has_flag staticimplib
7611 wine_fn_append_rule \
7612 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7613 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7614 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7615 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7616 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7617 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7618 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7619 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7620 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7622 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7623 install install-dev:: $ac_dir/install-dev
7624 __uninstall__: $ac_dir/uninstall"
7626 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7628 wine_fn_append_rule \
7629 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7630 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7632 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7635 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7637 wine_fn_append_rule \
7638 "__builddeps__: $ac_file.cross.a
7639 $ac_file.cross.a: $ac_dir/Makefile dummy
7640 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7643 elif wine_fn_has_flag implib
7645 wine_fn_append_rule \
7646 "__builddeps__: $ac_file.$IMPLIBEXT
7647 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7648 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7649 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7650 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7651 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7652 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7653 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7655 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7656 install install-dev:: $ac_dir/install-dev
7657 __uninstall__: $ac_dir/uninstall"
7658 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7660 wine_fn_append_rule \
7661 "__builddeps__: $ac_file.cross.a
7662 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7663 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7666 if test "$ac_name" != "$ac_implib"
7668 wine_fn_append_rule \
7669 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7670 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7671 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7673 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7674 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7675 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7677 wine_fn_append_rule \
7678 "__builddeps__: dlls/lib$ac_implib.cross.a
7679 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7680 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7682 \$(RM) dlls/lib$ac_implib.cross.a"
7683 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7689 wine_fn_config_program
()
7692 ac_dir
=programs
/$ac_name
7699 *) ac_program
=$ac_program.exe
;;
7703 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7704 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7705 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7706 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7708 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7709 wine_fn_disabled_rules
$ac_clean; return
7713 wine_fn_clean_rules
$ac_clean
7714 wine_fn_append_rule
"$ac_dir: __builddeps__"
7717 wine_fn_has_flag
install ||
return
7718 wine_fn_append_rule \
7719 ".PHONY: $ac_dir/install $ac_dir/uninstall
7720 install install-lib:: $ac_dir/install
7721 __uninstall__: $ac_dir/uninstall"
7723 if test -n "$DLLEXT"
7725 wine_fn_append_rule \
7726 "$ac_dir/install:: $ac_dir
7727 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7728 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7730 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7732 if test -z "$with_wine64" && wine_fn_has_flag installbin
7734 wine_fn_append_rule \
7735 "$ac_dir/install:: __tooldeps__
7736 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7738 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7741 wine_fn_append_rule \
7742 "$ac_dir/install:: $ac_dir
7743 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7745 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7748 if test -z "$with_wine64" && wine_fn_has_flag manpage
7750 wine_fn_append_rule \
7751 "$ac_dir/install:: $ac_dir
7752 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7754 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7758 wine_fn_config_test
()
7765 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7766 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7768 if test "x$enable_tests" = xno
; then :
7769 wine_fn_disabled_rules
$ac_clean; return
7772 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7774 wine_fn_clean_rules
$ac_clean
7776 wine_fn_append_rule \
7777 "$ac_dir: programs/winetest/Makefile __builddeps__
7778 programs/winetest: $ac_dir
7779 check test: $ac_dir/test
7780 .PHONY: $ac_dir/test
7782 @cd $ac_dir && \$(MAKE) test
7784 \$(RM) $ac_dir/*.ok"
7786 if test -n "$CROSSTARGET"
7788 wine_fn_append_rule \
7789 "crosstest: $ac_dir/crosstest
7790 .PHONY: $ac_dir/crosstest
7791 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7792 @cd $ac_dir && \$(MAKE) crosstest"
7796 wine_fn_config_tool
()
7800 if test "x$enable_tools" = xno
; then :
7805 wine_fn_install_rules
7808 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7809 wine_fn_append_rule
"$ac_dir: libs/port"
7811 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7815 wine_fn_config_symlink
()
7818 if test "x$1" = "x-d"
7824 wine_fn_append_rule \
7826 @./config.status \$@
7829 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7830 test -n "$ac_linkdir" ||
return
7831 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7835 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7836 loader_programs
="$wine_binary wine-installed"
7837 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7842 install install-lib:: wine-installed
7843 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7846 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7852 if test -n "$ac_tool_prefix"; then
7853 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7854 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7856 $as_echo_n "checking for $ac_word... " >&6; }
7857 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7858 $as_echo_n "(cached) " >&6
7860 if test -n "$DLLTOOL"; then
7861 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7863 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7867 test -z "$as_dir" && as_dir
=.
7868 for ac_exec_ext
in '' $ac_executable_extensions; do
7869 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7870 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7880 DLLTOOL
=$ac_cv_prog_DLLTOOL
7881 if test -n "$DLLTOOL"; then
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7883 $as_echo "$DLLTOOL" >&6; }
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7886 $as_echo "no" >&6; }
7891 if test -z "$ac_cv_prog_DLLTOOL"; then
7892 ac_ct_DLLTOOL
=$DLLTOOL
7893 # Extract the first word of "dlltool", so it can be a program name with args.
7894 set dummy dlltool
; ac_word
=$2
7895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7896 $as_echo_n "checking for $ac_word... " >&6; }
7897 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7898 $as_echo_n "(cached) " >&6
7900 if test -n "$ac_ct_DLLTOOL"; then
7901 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7903 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7907 test -z "$as_dir" && as_dir
=.
7908 for ac_exec_ext
in '' $ac_executable_extensions; do
7909 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7910 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7920 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7921 if test -n "$ac_ct_DLLTOOL"; then
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7923 $as_echo "$ac_ct_DLLTOOL" >&6; }
7925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7926 $as_echo "no" >&6; }
7929 if test "x$ac_ct_DLLTOOL" = x
; then
7932 case $cross_compiling:$ac_tool_warned in
7934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7935 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7936 ac_tool_warned
=yes ;;
7938 DLLTOOL
=$ac_ct_DLLTOOL
7941 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7947 STATIC_IMPLIBEXT
="a"
7948 enable_iphlpapi
=${enable_iphlpapi:-no}
7949 enable_kernel32
=${enable_kernel32:-no}
7950 enable_msvcrt
=${enable_msvcrt:-no}
7951 enable_ntdll
=${enable_ntdll:-no}
7952 enable_ws2_32
=${enable_ws2_32:-no}
7953 enable_loader
=${enable_loader:-no}
7954 enable_server
=${enable_server:-no}
7955 with_x
=${with_x:-no}
7956 with_pthread
=${with_pthread:-no}
7962 SOCKET_LIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7966 libwine_targets
="libwine.dll libwine.a"
7968 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7970 all: libwine.dll libwine.a
7972 libwine.a: \$(srcdir)/wine.def
7973 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7975 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7976 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7978 install install-lib:: libwine.dll
7979 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7981 install install-dev:: libwine.a
7982 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7985 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7991 for ac_header
in libunwind.h
7993 ac_fn_c_check_header_mongrel
"$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7994 if test "x$ac_cv_header_libunwind_h" = xyes
; then :
7995 cat >>confdefs.h
<<_ACEOF
7996 #define HAVE_LIBUNWIND_H 1
8004 DLLFLAGS
="$DLLFLAGS -fPIC"
8005 LIBWINE_LDFLAGS
="-multiply_defined suppress"
8006 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8007 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8008 COREFOUNDATION_LIBS
="-framework CoreFoundation"
8010 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
8012 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
8014 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
8016 CORESERVICES_LIBS
="-framework CoreServices"
8018 APPKIT_LIBS
="-framework AppKit"
8020 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8022 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8023 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
8024 $as_echo_n "(cached) " >&6
8026 ac_wine_try_cflags_saved
=$CFLAGS
8027 CFLAGS
="$CFLAGS -Wl,-no_pie"
8028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8029 /* end confdefs.h. */
8030 int main(int argc, char **argv) { return 0; }
8032 if ac_fn_c_try_link
"$LINENO"; then :
8033 ac_cv_cflags__Wl__no_pie
=yes
8035 ac_cv_cflags__Wl__no_pie
=no
8037 rm -f core conftest.err conftest.
$ac_objext \
8038 conftest
$ac_exeext conftest.
$ac_ext
8039 CFLAGS
=$ac_wine_try_cflags_saved
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8042 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8043 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
8044 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
8046 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8048 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
8051 if test "$ac_cv_header_Security_Security_h" = "yes"
8053 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
8055 ac_save_LIBS
="$LIBS"
8056 LIBS
="$LIBS $SECURITY_LIBS"
8057 for ac_func
in SSLCopyPeerCertificates
8059 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8060 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
8061 cat >>confdefs.h
<<_ACEOF
8062 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8068 LIBS
="$ac_save_LIBS"
8069 with_gnutls
=${with_gnutls:-no}
8071 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8073 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8075 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8078 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8081 ac_save_LIBS
="$LIBS"
8082 LIBS
="$LIBS $COREAUDIO_LIBS"
8083 for ac_func
in AUGraphAddNode
8085 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8086 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
8087 cat >>confdefs.h
<<_ACEOF
8088 #define HAVE_AUGRAPHADDNODE 1
8094 LIBS
="$ac_save_LIBS"
8096 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8098 OPENAL_LIBS
="-framework OpenAL"
8101 cat >>confdefs.h
<<_ACEOF
8102 #define HAVE_OPENAL 1
8105 ac_cv_lib_openal
=yes
8107 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8109 OPENCL_LIBS
="-framework OpenCL"
8111 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
8113 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8115 ac_save_LIBS
="$LIBS"
8116 LIBS
="$LIBS $IOKIT_LIBS"
8117 for ac_func
in IOHIDManagerCreate
8119 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8120 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
8121 cat >>confdefs.h
<<_ACEOF
8122 #define HAVE_IOHIDMANAGERCREATE 1
8128 LIBS
="$ac_save_LIBS"
8130 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8132 ac_save_LIBS
="$LIBS"
8133 LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8135 $as_echo_n "checking for the QuickTime framework... " >&6; }
8136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8137 /* end confdefs.h. */
8138 #include <QuickTime/ImageCompression.h>
8142 CodecManagerVersion(NULL);
8147 if ac_fn_c_try_link
"$LINENO"; then :
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8149 $as_echo "yes" >&6; }
8150 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8152 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8155 $as_echo "no" >&6; }
8156 ac_cv_header_QuickTime_ImageCompression_h
=no
8158 rm -f core conftest.err conftest.
$ac_objext \
8159 conftest
$ac_exeext conftest.
$ac_ext
8160 LIBS
="$ac_save_LIBS"
8162 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8164 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8166 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8168 CARBON_LIBS
="-framework Carbon"
8172 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8174 ac_save_LIBS
="$LIBS"
8175 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
8176 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8177 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
8178 enable_winemac_drv
=${enable_winemac_drv:-yes}
8181 LIBS
="$ac_save_LIBS"
8184 if test "x$enable_win16" = "xyes"
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8187 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8188 if test "$cross_compiling" = yes; then :
8189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8190 $as_echo "cross-compiling, assuming yes" >&6; }
8192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8193 /* end confdefs.h. */
8196 "good:\tnop;nop\n\t"
8197 ".globl _testfunc\n"
8198 "_testfunc:\tcallw good");
8199 extern void testfunc();
8203 unsigned short *p = (unsigned short *)testfunc;
8204 return p[0] != 0xe866 || p[1] != 0xfffa
8209 if ac_fn_c_try_run
"$LINENO"; then :
8210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8211 $as_echo "yes" >&6; }
8213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8214 $as_echo "no" >&6; }
8215 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
8217 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8218 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8223 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
8225 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8229 libwine.$libwine_version.dylib: \$(OBJS)
8230 \$(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 \$@
8232 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
8233 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
8235 libwine.dylib: libwine.$libwine_soversion.dylib
8236 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
8238 install install-lib:: libwine.$libwine_version.dylib
8239 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
8240 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
8242 install install-dev::
8243 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
8246 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
8250 as_fn_append LOADER_RULES
"
8251 $wine_binary: main.o wine_info.plist
8252 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8254 wine-installed: main.o wine_info.plist
8255 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8260 DLLFLAGS
="$DLLFLAGS -fPIC"
8264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8265 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8266 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8267 $as_echo_n "(cached) " >&6
8269 ac_wine_try_cflags_saved
=$CFLAGS
8270 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8272 /* end confdefs.h. */
8273 int main(int argc, char **argv) { return 0; }
8275 if ac_fn_c_try_link
"$LINENO"; then :
8276 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8278 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8280 rm -f core conftest.err conftest.
$ac_objext \
8281 conftest
$ac_exeext conftest.
$ac_ext
8282 CFLAGS
=$ac_wine_try_cflags_saved
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8285 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8286 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8287 LDEXECFLAGS
="-Wl,--export-dynamic"
8289 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8291 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8292 if eval \
${$as_ac_var+:} false
; then :
8293 $as_echo_n "(cached) " >&6
8295 ac_wine_try_cflags_saved
=$CFLAGS
8296 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8298 /* end confdefs.h. */
8299 int main(int argc, char **argv) { return 0; }
8301 if ac_fn_c_try_link
"$LINENO"; then :
8302 eval "$as_ac_var=yes"
8304 eval "$as_ac_var=no"
8306 rm -f core conftest.err conftest.
$ac_objext \
8307 conftest
$ac_exeext conftest.
$ac_ext
8308 CFLAGS
=$ac_wine_try_cflags_saved
8310 eval ac_res
=\$
$as_ac_var
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8312 $as_echo "$ac_res" >&6; }
8313 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8314 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8315 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8317 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8319 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8320 if eval \
${$as_ac_var+:} false
; then :
8321 $as_echo_n "(cached) " >&6
8323 ac_wine_try_cflags_saved
=$CFLAGS
8324 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8326 /* end confdefs.h. */
8327 int main(int argc, char **argv) { return 0; }
8329 if ac_fn_c_try_link
"$LINENO"; then :
8330 eval "$as_ac_var=yes"
8332 eval "$as_ac_var=no"
8334 rm -f core conftest.err conftest.
$ac_objext \
8335 conftest
$ac_exeext conftest.
$ac_ext
8336 CFLAGS
=$ac_wine_try_cflags_saved
8338 eval ac_res
=\$
$as_ac_var
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8340 $as_echo "$ac_res" >&6; }
8341 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8342 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8343 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8348 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8349 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8350 $as_echo_n "(cached) " >&6
8352 ac_wine_try_cflags_saved
=$CFLAGS
8353 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8355 /* end confdefs.h. */
8356 int main(int argc, char **argv) { return 0; }
8358 if ac_fn_c_try_link
"$LINENO"; then :
8359 ac_cv_cflags__Wl___enable_new_dtags
=yes
8361 ac_cv_cflags__Wl___enable_new_dtags
=no
8363 rm -f core conftest.err conftest.
$ac_objext \
8364 conftest
$ac_exeext conftest.
$ac_ext
8365 CFLAGS
=$ac_wine_try_cflags_saved
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8368 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8369 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8370 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8374 *i
[3456789]86* | x86_64
)
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8376 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8377 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8378 $as_echo_n "(cached) " >&6
8380 ac_wine_try_cflags_saved
=$CFLAGS
8381 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8383 /* end confdefs.h. */
8384 int main(int argc, char **argv) { return 0; }
8386 if ac_fn_c_try_link
"$LINENO"; then :
8387 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8389 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8391 rm -f core conftest.err conftest.
$ac_objext \
8392 conftest
$ac_exeext conftest.
$ac_ext
8393 CFLAGS
=$ac_wine_try_cflags_saved
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8396 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8397 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8398 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8403 libwine_targets
="libwine.so"
8405 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8409 libwine.so: \$(OBJS)
8410 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8412 install install-lib:: libwine.so
8413 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8416 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8420 as_fn_append LOADER_RULES
"
8421 $wine_binary: main.o
8422 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8424 wine-installed: main.o
8425 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8430 DLLFLAGS
="$DLLFLAGS -fPIC"
8432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8433 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8434 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8435 $as_echo_n "(cached) " >&6
8437 ac_wine_try_cflags_saved
=$CFLAGS
8438 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8440 /* end confdefs.h. */
8443 if ac_fn_c_try_link
"$LINENO"; then :
8444 ac_cv_c_dll_gnuelf
="yes"
8446 ac_cv_c_dll_gnuelf
="no"
8448 rm -f core conftest.err conftest.
$ac_objext \
8449 conftest
$ac_exeext conftest.
$ac_ext
8450 CFLAGS
=$ac_wine_try_cflags_saved
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8453 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8454 if test "$ac_cv_c_dll_gnuelf" = "yes"
8456 LDSHARED
="\$(CC) -shared"
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8458 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8459 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8460 $as_echo_n "(cached) " >&6
8462 ac_wine_try_cflags_saved
=$CFLAGS
8463 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8465 /* end confdefs.h. */
8466 int main(int argc, char **argv) { return 0; }
8468 if ac_fn_c_try_link
"$LINENO"; then :
8469 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8471 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8473 rm -f core conftest.err conftest.
$ac_objext \
8474 conftest
$ac_exeext conftest.
$ac_ext
8475 CFLAGS
=$ac_wine_try_cflags_saved
8477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8478 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8479 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8480 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8483 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8484 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8485 $as_echo_n "(cached) " >&6
8487 ac_wine_try_cflags_saved
=$CFLAGS
8488 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8490 /* end confdefs.h. */
8491 int main(int argc, char **argv) { return 0; }
8493 if ac_fn_c_try_link
"$LINENO"; then :
8494 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8496 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8498 rm -f core conftest.err conftest.
$ac_objext \
8499 conftest
$ac_exeext conftest.
$ac_ext
8500 CFLAGS
=$ac_wine_try_cflags_saved
8502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8503 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8504 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8505 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8509 echo '{ global: *; };' >conftest.map
8510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8511 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8512 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8513 $as_echo_n "(cached) " >&6
8515 ac_wine_try_cflags_saved
=$CFLAGS
8516 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8518 /* end confdefs.h. */
8519 int main(int argc, char **argv) { return 0; }
8521 if ac_fn_c_try_link
"$LINENO"; then :
8522 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8524 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8526 rm -f core conftest.err conftest.
$ac_objext \
8527 conftest
$ac_exeext conftest.
$ac_ext
8528 CFLAGS
=$ac_wine_try_cflags_saved
8530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8531 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8532 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8533 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8538 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8539 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8540 $as_echo_n "(cached) " >&6
8542 ac_wine_try_cflags_saved
=$CFLAGS
8543 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8545 /* end confdefs.h. */
8546 int main(int argc, char **argv) { return 0; }
8548 if ac_fn_c_try_link
"$LINENO"; then :
8549 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8551 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8553 rm -f core conftest.err conftest.
$ac_objext \
8554 conftest
$ac_exeext conftest.
$ac_ext
8555 CFLAGS
=$ac_wine_try_cflags_saved
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8558 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8559 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8560 LDEXECFLAGS
="-Wl,--export-dynamic"
8563 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8565 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8566 if eval \
${$as_ac_var+:} false
; then :
8567 $as_echo_n "(cached) " >&6
8569 ac_wine_try_cflags_saved
=$CFLAGS
8570 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8572 /* end confdefs.h. */
8573 int main(int argc, char **argv) { return 0; }
8575 if ac_fn_c_try_link
"$LINENO"; then :
8576 eval "$as_ac_var=yes"
8578 eval "$as_ac_var=no"
8580 rm -f core conftest.err conftest.
$ac_objext \
8581 conftest
$ac_exeext conftest.
$ac_ext
8582 CFLAGS
=$ac_wine_try_cflags_saved
8584 eval ac_res
=\$
$as_ac_var
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8586 $as_echo "$ac_res" >&6; }
8587 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8588 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8589 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8591 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8593 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8594 if eval \
${$as_ac_var+:} false
; then :
8595 $as_echo_n "(cached) " >&6
8597 ac_wine_try_cflags_saved
=$CFLAGS
8598 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8600 /* end confdefs.h. */
8601 int main(int argc, char **argv) { return 0; }
8603 if ac_fn_c_try_link
"$LINENO"; then :
8604 eval "$as_ac_var=yes"
8606 eval "$as_ac_var=no"
8608 rm -f core conftest.err conftest.
$ac_objext \
8609 conftest
$ac_exeext conftest.
$ac_ext
8610 CFLAGS
=$ac_wine_try_cflags_saved
8612 eval ac_res
=\$
$as_ac_var
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8614 $as_echo "$ac_res" >&6; }
8615 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8616 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8617 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8622 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8623 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8624 $as_echo_n "(cached) " >&6
8626 ac_wine_try_cflags_saved
=$CFLAGS
8627 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8629 /* end confdefs.h. */
8630 int main(int argc, char **argv) { return 0; }
8632 if ac_fn_c_try_link
"$LINENO"; then :
8633 ac_cv_cflags__Wl___enable_new_dtags
=yes
8635 ac_cv_cflags__Wl___enable_new_dtags
=no
8637 rm -f core conftest.err conftest.
$ac_objext \
8638 conftest
$ac_exeext conftest.
$ac_ext
8639 CFLAGS
=$ac_wine_try_cflags_saved
8641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8642 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8643 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8644 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8648 *i
[3456789]86* | x86_64
)
8649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8650 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8651 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8652 $as_echo_n "(cached) " >&6
8654 ac_wine_try_cflags_saved
=$CFLAGS
8655 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8657 /* end confdefs.h. */
8658 int main(int argc, char **argv) { return 0; }
8660 if ac_fn_c_try_link
"$LINENO"; then :
8661 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8663 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8665 rm -f core conftest.err conftest.
$ac_objext \
8666 conftest
$ac_exeext conftest.
$ac_ext
8667 CFLAGS
=$ac_wine_try_cflags_saved
8669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8670 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8671 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8673 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8674 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8678 # Extract the first word of "prelink", so it can be a program name with args.
8679 set dummy prelink
; ac_word
=$2
8680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8681 $as_echo_n "checking for $ac_word... " >&6; }
8682 if ${ac_cv_path_PRELINK+:} false
; then :
8683 $as_echo_n "(cached) " >&6
8687 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8690 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8691 for as_dir
in /sbin
/usr
/sbin
$PATH
8694 test -z "$as_dir" && as_dir
=.
8695 for ac_exec_ext
in '' $ac_executable_extensions; do
8696 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8697 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8705 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8709 PRELINK
=$ac_cv_path_PRELINK
8710 if test -n "$PRELINK"; then
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8712 $as_echo "$PRELINK" >&6; }
8714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8715 $as_echo "no" >&6; }
8719 if test "x$PRELINK" = xfalse
8721 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8728 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8729 if ${ac_cv_c_dll_unixware+:} false
; then :
8730 $as_echo_n "(cached) " >&6
8732 ac_wine_try_cflags_saved
=$CFLAGS
8733 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8735 /* end confdefs.h. */
8738 if ac_fn_c_try_link
"$LINENO"; then :
8739 ac_cv_c_dll_unixware
="yes"
8741 ac_cv_c_dll_unixware
="no"
8743 rm -f core conftest.err conftest.
$ac_objext \
8744 conftest
$ac_exeext conftest.
$ac_ext
8745 CFLAGS
=$ac_wine_try_cflags_saved
8747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8748 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8749 if test "$ac_cv_c_dll_unixware" = "yes"
8751 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8754 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8756 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8760 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8761 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8763 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8764 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8766 libwine.so: libwine.so.$libwine_soversion
8767 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8769 install install-lib:: libwine.so.$libwine_version
8770 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8771 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8773 install install-dev::
8774 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8777 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8781 as_fn_append LOADER_RULES
"
8782 $wine_binary: main.o
8783 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8785 wine-installed: main.o
8786 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8791 as_fn_append LIBWINE_RULES
"
8792 EXTRA_TARGETS = $libwine_targets
8795 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8796 enable_winemac_drv
=${enable_winemac_drv:-no}
8800 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8804 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
8807 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 " ;;
8809 ac_prefix_list
="" ;;
8811 for ac_prog
in $ac_prefix_list
8813 # Extract the first word of "$ac_prog", so it can be a program name with args.
8814 set dummy
$ac_prog; ac_word
=$2
8815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8816 $as_echo_n "checking for $ac_word... " >&6; }
8817 if ${ac_cv_prog_CROSSCC+:} false
; then :
8818 $as_echo_n "(cached) " >&6
8820 if test -n "$CROSSCC"; then
8821 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8827 test -z "$as_dir" && as_dir
=.
8828 for ac_exec_ext
in '' $ac_executable_extensions; do
8829 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8830 ac_cv_prog_CROSSCC
="$ac_prog"
8831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8840 CROSSCC
=$ac_cv_prog_CROSSCC
8841 if test -n "$CROSSCC"; then
8842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8843 $as_echo "$CROSSCC" >&6; }
8845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8846 $as_echo "no" >&6; }
8850 test -n "$CROSSCC" && break
8852 test -n "$CROSSCC" || CROSSCC
="false"
8854 if test "$CROSSCC" != "false"
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8859 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8860 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8861 /* end confdefs.h. */
8871 if ac_fn_c_try_compile
"$LINENO"; then :
8872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8873 $as_echo "yes" >&6; }
8879 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8885 $as_echo "no" >&6; }
8887 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8893 if test "$ac_cv_header_pthread_h" = "yes"
8895 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8896 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8900 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8901 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8902 $as_echo_n "(cached) " >&6
8904 ac_check_lib_save_LIBS
=$LIBS
8905 LIBS
="-lpthread $LIBS"
8906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8907 /* end confdefs.h. */
8909 /* Override any GCC internal prototype to avoid an error.
8910 Use char because int might match the return type of a GCC
8911 builtin and then its argument prototype would still apply. */
8915 char pthread_create ();
8919 return pthread_create ();
8924 if ac_fn_c_try_link
"$LINENO"; then :
8925 ac_cv_lib_pthread_pthread_create
=yes
8927 ac_cv_lib_pthread_pthread_create
=no
8929 rm -f core conftest.err conftest.
$ac_objext \
8930 conftest
$ac_exeext conftest.
$ac_ext
8931 LIBS
=$ac_check_lib_save_LIBS
8933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8934 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8935 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8936 PTHREAD_LIBS
="-lpthread"
8943 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8944 case "x$with_pthread" in
8946 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8947 Wine cannot support threads without libpthread.
8948 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8954 $as_echo_n "checking for X... " >&6; }
8957 # Check whether --with-x was given.
8958 if test "${with_x+set}" = set; then :
8962 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8963 if test "x$with_x" = xno
; then
8964 # The user explicitly disabled X.
8967 case $x_includes,$x_libraries in #(
8968 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8969 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8970 $as_echo_n "(cached) " >&6
8972 # One or both of the vars are not set, and there is no cached value.
8973 ac_x_includes
=no ac_x_libraries
=no
8974 rm -f -r conftest.dir
8975 if mkdir conftest.dir
; then
8977 cat >Imakefile
<<'_ACEOF'
8979 @echo incroot='${INCROOT}'
8981 @echo usrlibdir='${USRLIBDIR}'
8983 @echo libdir='${LIBDIR}'
8985 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8986 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8987 for ac_var
in incroot usrlibdir libdir
; do
8988 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8990 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8991 for ac_extension
in a so sl dylib la dll
; do
8992 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8993 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8994 ac_im_usrlibdir
=$ac_im_libdir; break
8997 # Screen out bogus values from the imake configuration. They are
8998 # bogus both because they are the default anyway, and because
8999 # using them would break gcc on systems where it needs fixed includes.
9000 case $ac_im_incroot in
9001 /usr
/include
) ac_x_includes
= ;;
9002 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
9004 case $ac_im_usrlibdir in
9005 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
9006 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
9010 rm -f -r conftest.dir
9013 # Standard set of common directories for X headers.
9014 # Check X11 before X11Rn because it is often a symlink to the current release.
9028 /usr/local/X11/include
9029 /usr/local/X11R7/include
9030 /usr/local/X11R6/include
9031 /usr/local/X11R5/include
9032 /usr/local/X11R4/include
9034 /usr/local/include/X11
9035 /usr/local/include/X11R7
9036 /usr/local/include/X11R6
9037 /usr/local/include/X11R5
9038 /usr/local/include/X11R4
9042 /usr/XFree86/include/X11
9046 /usr/unsupported/include
9048 /usr/local/x11r5/include
9049 /usr/lpp/Xamples/include
9051 /usr/openwin/include
9052 /usr/openwin/share/include'
9054 if test "$ac_x_includes" = no
; then
9055 # Guess where to find include files, by looking for Xlib.h.
9056 # First, try using that file with no special directory specified.
9057 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9058 /* end confdefs.h. */
9059 #include <X11/Xlib.h>
9061 if ac_fn_c_try_cpp
"$LINENO"; then :
9062 # We can compile using X headers with no special include directory.
9065 for ac_dir
in $ac_x_header_dirs; do
9066 if test -r "$ac_dir/X11/Xlib.h"; then
9067 ac_x_includes
=$ac_dir
9072 rm -f conftest.err conftest.i conftest.
$ac_ext
9073 fi # $ac_x_includes = no
9075 if test "$ac_x_libraries" = no
; then
9076 # Check for the libraries.
9077 # See if we find them without any special options.
9078 # Don't add to $LIBS permanently.
9081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9082 /* end confdefs.h. */
9083 #include <X11/Xlib.h>
9092 if ac_fn_c_try_link
"$LINENO"; then :
9094 # We can link X programs with no special library path.
9098 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9100 # Don't even attempt the hair of trying to link an X program!
9101 for ac_extension
in a so sl dylib la dll
; do
9102 if test -r "$ac_dir/libX11.$ac_extension"; then
9103 ac_x_libraries
=$ac_dir
9109 rm -f core conftest.err conftest.
$ac_objext \
9110 conftest
$ac_exeext conftest.
$ac_ext
9111 fi # $ac_x_libraries = no
9113 case $ac_x_includes,$ac_x_libraries in #(
9115 # Didn't find X, or a directory has "'" in its name.
9116 ac_cv_have_x
="have_x=no";; #(
9118 # Record where we found X for the cache.
9119 ac_cv_have_x
="have_x=yes\
9120 ac_x_includes='$ac_x_includes'\
9121 ac_x_libraries='$ac_x_libraries'"
9127 eval "$ac_cv_have_x"
9130 if test "$have_x" != yes; then
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9132 $as_echo "$have_x" >&6; }
9135 # If each of the values was on the command line, it overrides each guess.
9136 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
9137 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
9138 # Update the cache value to reflect the command line values.
9139 ac_cv_have_x
="have_x=yes\
9140 ac_x_includes='$x_includes'\
9141 ac_x_libraries='$x_libraries'"
9142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9143 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9146 if test "$no_x" = yes; then
9147 # Not all programs may use this symbol, but it does not hurt to define it.
9149 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9151 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
9153 if test -n "$x_includes"; then
9154 X_CFLAGS
="$X_CFLAGS -I$x_includes"
9157 # It would also be nice to do this for all -L options, not just this one.
9158 if test -n "$x_libraries"; then
9159 X_LIBS
="$X_LIBS -L$x_libraries"
9160 # For Solaris; some versions of Sun CC require a space after -R and
9161 # others require no space. Words are not sufficient . . . .
9162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9163 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9164 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
9165 ac_xsave_c_werror_flag
=$ac_c_werror_flag
9166 ac_c_werror_flag
=yes
9167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9168 /* end confdefs.h. */
9178 if ac_fn_c_try_link
"$LINENO"; then :
9179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9180 $as_echo "no" >&6; }
9181 X_LIBS
="$X_LIBS -R$x_libraries"
9183 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9185 /* end confdefs.h. */
9195 if ac_fn_c_try_link
"$LINENO"; then :
9196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9197 $as_echo "yes" >&6; }
9198 X_LIBS
="$X_LIBS -R $x_libraries"
9200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9201 $as_echo "neither works" >&6; }
9203 rm -f core conftest.err conftest.
$ac_objext \
9204 conftest
$ac_exeext conftest.
$ac_ext
9206 rm -f core conftest.err conftest.
$ac_objext \
9207 conftest
$ac_exeext conftest.
$ac_ext
9208 ac_c_werror_flag
=$ac_xsave_c_werror_flag
9212 # Check for system-dependent libraries X programs must link with.
9213 # Do this before checking for the system-independent R6 libraries
9214 # (-lICE), since we may need -lsocket or whatever for X linking.
9216 if test "$ISC" = yes; then
9217 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9219 # Martyn Johnson says this is needed for Ultrix, if the X
9220 # libraries were built with DECnet support. And Karl Berry says
9221 # the Alpha needs dnet_stub (dnet does not exist).
9222 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
9223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9224 /* end confdefs.h. */
9226 /* Override any GCC internal prototype to avoid an error.
9227 Use char because int might match the return type of a GCC
9228 builtin and then its argument prototype would still apply. */
9232 char XOpenDisplay ();
9236 return XOpenDisplay ();
9241 if ac_fn_c_try_link
"$LINENO"; then :
9244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9245 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9246 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
9247 $as_echo_n "(cached) " >&6
9249 ac_check_lib_save_LIBS
=$LIBS
9251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9252 /* end confdefs.h. */
9254 /* Override any GCC internal prototype to avoid an error.
9255 Use char because int might match the return type of a GCC
9256 builtin and then its argument prototype would still apply. */
9264 return dnet_ntoa ();
9269 if ac_fn_c_try_link
"$LINENO"; then :
9270 ac_cv_lib_dnet_dnet_ntoa
=yes
9272 ac_cv_lib_dnet_dnet_ntoa
=no
9274 rm -f core conftest.err conftest.
$ac_objext \
9275 conftest
$ac_exeext conftest.
$ac_ext
9276 LIBS
=$ac_check_lib_save_LIBS
9278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9279 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9280 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
9281 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9284 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9286 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9287 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
9288 $as_echo_n "(cached) " >&6
9290 ac_check_lib_save_LIBS
=$LIBS
9291 LIBS
="-ldnet_stub $LIBS"
9292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9293 /* end confdefs.h. */
9295 /* Override any GCC internal prototype to avoid an error.
9296 Use char because int might match the return type of a GCC
9297 builtin and then its argument prototype would still apply. */
9305 return dnet_ntoa ();
9310 if ac_fn_c_try_link
"$LINENO"; then :
9311 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
9313 ac_cv_lib_dnet_stub_dnet_ntoa
=no
9315 rm -f core conftest.err conftest.
$ac_objext \
9316 conftest
$ac_exeext conftest.
$ac_ext
9317 LIBS
=$ac_check_lib_save_LIBS
9319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9320 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9321 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9322 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9327 rm -f core conftest.err conftest.
$ac_objext \
9328 conftest
$ac_exeext conftest.
$ac_ext
9329 LIBS
="$ac_xsave_LIBS"
9331 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9332 # to get the SysV transport functions.
9333 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9335 # The nsl library prevents programs from opening the X display
9336 # on Irix 5.2, according to T.E. Dickey.
9337 # The functions gethostbyname, getservbyname, and inet_addr are
9338 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9339 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9340 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9344 if test $ac_cv_func_gethostbyname = no
; then
9345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9346 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9347 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9348 $as_echo_n "(cached) " >&6
9350 ac_check_lib_save_LIBS
=$LIBS
9352 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9353 /* end confdefs.h. */
9355 /* Override any GCC internal prototype to avoid an error.
9356 Use char because int might match the return type of a GCC
9357 builtin and then its argument prototype would still apply. */
9361 char gethostbyname ();
9365 return gethostbyname ();
9370 if ac_fn_c_try_link
"$LINENO"; then :
9371 ac_cv_lib_nsl_gethostbyname
=yes
9373 ac_cv_lib_nsl_gethostbyname
=no
9375 rm -f core conftest.err conftest.
$ac_objext \
9376 conftest
$ac_exeext conftest.
$ac_ext
9377 LIBS
=$ac_check_lib_save_LIBS
9379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9380 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9381 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9382 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9385 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9387 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9388 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9389 $as_echo_n "(cached) " >&6
9391 ac_check_lib_save_LIBS
=$LIBS
9393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9394 /* end confdefs.h. */
9396 /* Override any GCC internal prototype to avoid an error.
9397 Use char because int might match the return type of a GCC
9398 builtin and then its argument prototype would still apply. */
9402 char gethostbyname ();
9406 return gethostbyname ();
9411 if ac_fn_c_try_link
"$LINENO"; then :
9412 ac_cv_lib_bsd_gethostbyname
=yes
9414 ac_cv_lib_bsd_gethostbyname
=no
9416 rm -f core conftest.err conftest.
$ac_objext \
9417 conftest
$ac_exeext conftest.
$ac_ext
9418 LIBS
=$ac_check_lib_save_LIBS
9420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9421 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9422 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9423 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9429 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9430 # socket/setsockopt and other routines are undefined under SCO ODT
9431 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9432 # on later versions), says Simon Leinen: it contains gethostby*
9433 # variants that don't use the name server (or something). -lsocket
9434 # must be given before -lnsl if both are needed. We assume that
9435 # if connect needs -lnsl, so does gethostbyname.
9436 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9437 if test "x$ac_cv_func_connect" = xyes
; then :
9441 if test $ac_cv_func_connect = no
; then
9442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9443 $as_echo_n "checking for connect in -lsocket... " >&6; }
9444 if ${ac_cv_lib_socket_connect+:} false
; then :
9445 $as_echo_n "(cached) " >&6
9447 ac_check_lib_save_LIBS
=$LIBS
9448 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9450 /* end confdefs.h. */
9452 /* Override any GCC internal prototype to avoid an error.
9453 Use char because int might match the return type of a GCC
9454 builtin and then its argument prototype would still apply. */
9467 if ac_fn_c_try_link
"$LINENO"; then :
9468 ac_cv_lib_socket_connect
=yes
9470 ac_cv_lib_socket_connect
=no
9472 rm -f core conftest.err conftest.
$ac_objext \
9473 conftest
$ac_exeext conftest.
$ac_ext
9474 LIBS
=$ac_check_lib_save_LIBS
9476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9477 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9478 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9479 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9484 # Guillermo Gomez says -lposix is necessary on A/UX.
9485 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9486 if test "x$ac_cv_func_remove" = xyes
; then :
9490 if test $ac_cv_func_remove = no
; then
9491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9492 $as_echo_n "checking for remove in -lposix... " >&6; }
9493 if ${ac_cv_lib_posix_remove+:} false
; then :
9494 $as_echo_n "(cached) " >&6
9496 ac_check_lib_save_LIBS
=$LIBS
9497 LIBS
="-lposix $LIBS"
9498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9499 /* end confdefs.h. */
9501 /* Override any GCC internal prototype to avoid an error.
9502 Use char because int might match the return type of a GCC
9503 builtin and then its argument prototype would still apply. */
9516 if ac_fn_c_try_link
"$LINENO"; then :
9517 ac_cv_lib_posix_remove
=yes
9519 ac_cv_lib_posix_remove
=no
9521 rm -f core conftest.err conftest.
$ac_objext \
9522 conftest
$ac_exeext conftest.
$ac_ext
9523 LIBS
=$ac_check_lib_save_LIBS
9525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9526 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9527 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9528 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9533 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9534 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9535 if test "x$ac_cv_func_shmat" = xyes
; then :
9539 if test $ac_cv_func_shmat = no
; then
9540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9541 $as_echo_n "checking for shmat in -lipc... " >&6; }
9542 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9543 $as_echo_n "(cached) " >&6
9545 ac_check_lib_save_LIBS
=$LIBS
9547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9548 /* end confdefs.h. */
9550 /* Override any GCC internal prototype to avoid an error.
9551 Use char because int might match the return type of a GCC
9552 builtin and then its argument prototype would still apply. */
9565 if ac_fn_c_try_link
"$LINENO"; then :
9566 ac_cv_lib_ipc_shmat
=yes
9568 ac_cv_lib_ipc_shmat
=no
9570 rm -f core conftest.err conftest.
$ac_objext \
9571 conftest
$ac_exeext conftest.
$ac_ext
9572 LIBS
=$ac_check_lib_save_LIBS
9574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9575 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9576 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9577 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9583 # Check for libraries that X11R6 Xt/Xaw programs need.
9584 ac_save_LDFLAGS
=$LDFLAGS
9585 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9586 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9587 # check for ICE first), but we must link in the order -lSM -lICE or
9588 # we get undefined symbols. So assume we have SM if we have ICE.
9589 # These have to be linked with before -lX11, unlike the other
9590 # libraries we check for below, so use a different variable.
9591 # John Interrante, Karl Berry
9592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9593 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9594 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9595 $as_echo_n "(cached) " >&6
9597 ac_check_lib_save_LIBS
=$LIBS
9598 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9600 /* end confdefs.h. */
9602 /* Override any GCC internal prototype to avoid an error.
9603 Use char because int might match the return type of a GCC
9604 builtin and then its argument prototype would still apply. */
9608 char IceConnectionNumber ();
9612 return IceConnectionNumber ();
9617 if ac_fn_c_try_link
"$LINENO"; then :
9618 ac_cv_lib_ICE_IceConnectionNumber
=yes
9620 ac_cv_lib_ICE_IceConnectionNumber
=no
9622 rm -f core conftest.err conftest.
$ac_objext \
9623 conftest
$ac_exeext conftest.
$ac_ext
9624 LIBS
=$ac_check_lib_save_LIBS
9626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9627 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9628 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9629 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9632 LDFLAGS
=$ac_save_LDFLAGS
9637 if test "$have_x" = "yes"
9639 ac_save_CPPFLAGS
="$CPPFLAGS"
9640 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9643 $as_echo_n "checking for -lX11... " >&6; }
9644 if ${ac_cv_lib_soname_X11+:} false
; then :
9645 $as_echo_n "(cached) " >&6
9647 ac_check_soname_save_LIBS
=$LIBS
9648 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9650 /* end confdefs.h. */
9652 /* Override any GCC internal prototype to avoid an error.
9653 Use char because int might match the return type of a GCC
9654 builtin and then its argument prototype would still apply. */
9658 char XCreateWindow ();
9662 return XCreateWindow ();
9667 if ac_fn_c_try_link
"$LINENO"; then :
9669 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9670 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'` ;;
9671 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9672 if ${ac_cv_lib_soname_X11:+false} :; then :
9673 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9677 rm -f core conftest.err conftest.
$ac_objext \
9678 conftest
$ac_exeext conftest.
$ac_ext
9679 LIBS
=$ac_check_soname_save_LIBS
9681 if ${ac_cv_lib_soname_X11:+false} :; then :
9682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9683 $as_echo "not found" >&6; }
9686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9687 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9689 cat >>confdefs.h
<<_ACEOF
9690 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9696 $as_echo_n "checking for -lXext... " >&6; }
9697 if ${ac_cv_lib_soname_Xext+:} false
; then :
9698 $as_echo_n "(cached) " >&6
9700 ac_check_soname_save_LIBS
=$LIBS
9701 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9703 /* end confdefs.h. */
9705 /* Override any GCC internal prototype to avoid an error.
9706 Use char because int might match the return type of a GCC
9707 builtin and then its argument prototype would still apply. */
9711 char XextCreateExtension ();
9715 return XextCreateExtension ();
9720 if ac_fn_c_try_link
"$LINENO"; then :
9722 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9723 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'` ;;
9724 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9725 if ${ac_cv_lib_soname_Xext:+false} :; then :
9726 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9730 rm -f core conftest.err conftest.
$ac_objext \
9731 conftest
$ac_exeext conftest.
$ac_ext
9732 LIBS
=$ac_check_soname_save_LIBS
9734 if ${ac_cv_lib_soname_Xext:+false} :; then :
9735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9736 $as_echo "not found" >&6; }
9739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9740 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9742 cat >>confdefs.h
<<_ACEOF
9743 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9746 X_LIBS
="$X_LIBS -lXext"
9748 X_LIBS
="$X_LIBS -lX11"
9750 for ac_header
in X11
/Xlib.h \
9753 X11
/Xcursor
/Xcursor.h \
9754 X11
/extensions
/shape.h \
9755 X11
/extensions
/XInput.h \
9756 X11
/extensions
/XInput2.h \
9757 X11
/extensions
/XShm.h \
9758 X11
/extensions
/Xcomposite.h \
9759 X11
/extensions
/Xinerama.h \
9760 X11
/extensions
/Xrandr.h \
9761 X11
/extensions
/Xrender.h \
9762 X11
/extensions
/xf86vmode.h \
9763 X11
/extensions
/xf86vmproto.h
9765 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9766 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9767 # include <X11/Xlib.h>
9769 #ifdef HAVE_X11_XUTIL_H
9770 # include <X11/Xutil.h>
9773 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9774 cat >>confdefs.h
<<_ACEOF
9775 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9783 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9786 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9787 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9788 $as_echo_n "(cached) " >&6
9790 ac_check_lib_save_LIBS
=$LIBS
9791 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9793 /* end confdefs.h. */
9795 /* Override any GCC internal prototype to avoid an error.
9796 Use char because int might match the return type of a GCC
9797 builtin and then its argument prototype would still apply. */
9801 char XkbQueryExtension ();
9805 return XkbQueryExtension ();
9810 if ac_fn_c_try_link
"$LINENO"; then :
9811 ac_cv_lib_X11_XkbQueryExtension
=yes
9813 ac_cv_lib_X11_XkbQueryExtension
=no
9815 rm -f core conftest.err conftest.
$ac_objext \
9816 conftest
$ac_exeext conftest.
$ac_ext
9817 LIBS
=$ac_check_lib_save_LIBS
9819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9820 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9821 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9823 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9829 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9832 $as_echo_n "checking for -lXcursor... " >&6; }
9833 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9834 $as_echo_n "(cached) " >&6
9836 ac_check_soname_save_LIBS
=$LIBS
9837 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9839 /* end confdefs.h. */
9841 /* Override any GCC internal prototype to avoid an error.
9842 Use char because int might match the return type of a GCC
9843 builtin and then its argument prototype would still apply. */
9847 char XcursorImageLoadCursor ();
9851 return XcursorImageLoadCursor ();
9856 if ac_fn_c_try_link
"$LINENO"; then :
9858 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9859 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'` ;;
9860 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9861 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9862 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9866 rm -f core conftest.err conftest.
$ac_objext \
9867 conftest
$ac_exeext conftest.
$ac_ext
9868 LIBS
=$ac_check_soname_save_LIBS
9870 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9872 $as_echo "not found" >&6; }
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9876 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9878 cat >>confdefs.h
<<_ACEOF
9879 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9885 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9886 case "x$with_xcursor" in
9887 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9889 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9890 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9894 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9897 $as_echo_n "checking for -lXi... " >&6; }
9898 if ${ac_cv_lib_soname_Xi+:} false
; then :
9899 $as_echo_n "(cached) " >&6
9901 ac_check_soname_save_LIBS
=$LIBS
9902 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9903 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9904 /* end confdefs.h. */
9906 /* Override any GCC internal prototype to avoid an error.
9907 Use char because int might match the return type of a GCC
9908 builtin and then its argument prototype would still apply. */
9912 char XOpenDevice ();
9916 return XOpenDevice ();
9921 if ac_fn_c_try_link
"$LINENO"; then :
9923 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9924 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'` ;;
9925 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9926 if ${ac_cv_lib_soname_Xi:+false} :; then :
9927 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9931 rm -f core conftest.err conftest.
$ac_objext \
9932 conftest
$ac_exeext conftest.
$ac_ext
9933 LIBS
=$ac_check_soname_save_LIBS
9935 if ${ac_cv_lib_soname_Xi:+false} :; then :
9936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9937 $as_echo "not found" >&6; }
9940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9941 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9943 cat >>confdefs.h
<<_ACEOF
9944 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9950 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9951 case "x$with_xinput" in
9952 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9954 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9955 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9959 if test "x$ac_cv_lib_soname_Xi" != x
9961 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9962 case "x$with_xinput2" in
9963 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9965 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9966 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9971 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9974 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9975 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9976 $as_echo_n "(cached) " >&6
9978 ac_check_lib_save_LIBS
=$LIBS
9979 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9980 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9981 /* end confdefs.h. */
9983 /* Override any GCC internal prototype to avoid an error.
9984 Use char because int might match the return type of a GCC
9985 builtin and then its argument prototype would still apply. */
9989 char XShmQueryExtension ();
9993 return XShmQueryExtension ();
9998 if ac_fn_c_try_link
"$LINENO"; then :
9999 ac_cv_lib_Xext_XShmQueryExtension
=yes
10001 ac_cv_lib_Xext_XShmQueryExtension
=no
10003 rm -f core conftest.err conftest.
$ac_objext \
10004 conftest
$ac_exeext conftest.
$ac_ext
10005 LIBS
=$ac_check_lib_save_LIBS
10007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10008 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10009 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
10011 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10016 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10017 case "x$with_xshm" in
10018 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10020 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10021 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10025 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10028 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10029 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
10030 $as_echo_n "(cached) " >&6
10032 ac_check_lib_save_LIBS
=$LIBS
10033 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10035 /* end confdefs.h. */
10037 /* Override any GCC internal prototype to avoid an error.
10038 Use char because int might match the return type of a GCC
10039 builtin and then its argument prototype would still apply. */
10043 char XShapeQueryExtension ();
10047 return XShapeQueryExtension ();
10052 if ac_fn_c_try_link
"$LINENO"; then :
10053 ac_cv_lib_Xext_XShapeQueryExtension
=yes
10055 ac_cv_lib_Xext_XShapeQueryExtension
=no
10057 rm -f core conftest.err conftest.
$ac_objext \
10058 conftest
$ac_exeext conftest.
$ac_ext
10059 LIBS
=$ac_check_lib_save_LIBS
10061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10062 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10063 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
10065 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10070 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10071 case "x$with_xshape" in
10072 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10074 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
10075 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10079 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10082 $as_echo_n "checking for -lXxf86vm... " >&6; }
10083 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
10084 $as_echo_n "(cached) " >&6
10086 ac_check_soname_save_LIBS
=$LIBS
10087 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10089 /* end confdefs.h. */
10091 /* Override any GCC internal prototype to avoid an error.
10092 Use char because int might match the return type of a GCC
10093 builtin and then its argument prototype would still apply. */
10097 char XF86VidModeQueryExtension ();
10101 return XF86VidModeQueryExtension ();
10106 if ac_fn_c_try_link
"$LINENO"; then :
10108 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10109 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'` ;;
10110 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10111 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10112 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10116 rm -f core conftest.err conftest.
$ac_objext \
10117 conftest
$ac_exeext conftest.
$ac_ext
10118 LIBS
=$ac_check_soname_save_LIBS
10120 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10122 $as_echo "not found" >&6; }
10125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10126 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10128 cat >>confdefs.h
<<_ACEOF
10129 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10135 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10136 case "x$with_xxf86vm" in
10137 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10139 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10140 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10144 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10147 $as_echo_n "checking for -lXrender... " >&6; }
10148 if ${ac_cv_lib_soname_Xrender+:} false
; then :
10149 $as_echo_n "(cached) " >&6
10151 ac_check_soname_save_LIBS
=$LIBS
10152 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10154 /* end confdefs.h. */
10156 /* Override any GCC internal prototype to avoid an error.
10157 Use char because int might match the return type of a GCC
10158 builtin and then its argument prototype would still apply. */
10162 char XRenderQueryExtension ();
10166 return XRenderQueryExtension ();
10171 if ac_fn_c_try_link
"$LINENO"; then :
10173 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10174 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'` ;;
10175 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10176 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10177 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10181 rm -f core conftest.err conftest.
$ac_objext \
10182 conftest
$ac_exeext conftest.
$ac_ext
10183 LIBS
=$ac_check_soname_save_LIBS
10185 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10187 $as_echo "not found" >&6; }
10190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10191 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10193 cat >>confdefs.h
<<_ACEOF
10194 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10198 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10199 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
10200 $as_echo_n "(cached) " >&6
10202 ac_check_lib_save_LIBS
=$LIBS
10203 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10205 /* end confdefs.h. */
10207 /* Override any GCC internal prototype to avoid an error.
10208 Use char because int might match the return type of a GCC
10209 builtin and then its argument prototype would still apply. */
10213 char XRenderSetPictureTransform ();
10217 return XRenderSetPictureTransform ();
10222 if ac_fn_c_try_link
"$LINENO"; then :
10223 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10225 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10227 rm -f core conftest.err conftest.
$ac_objext \
10228 conftest
$ac_exeext conftest.
$ac_ext
10229 LIBS
=$ac_check_lib_save_LIBS
10231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10232 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10233 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
10235 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10240 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10241 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
10242 $as_echo_n "(cached) " >&6
10244 ac_check_lib_save_LIBS
=$LIBS
10245 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10247 /* end confdefs.h. */
10249 /* Override any GCC internal prototype to avoid an error.
10250 Use char because int might match the return type of a GCC
10251 builtin and then its argument prototype would still apply. */
10255 char XRenderCreateLinearGradient ();
10259 return XRenderCreateLinearGradient ();
10264 if ac_fn_c_try_link
"$LINENO"; then :
10265 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
10267 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
10269 rm -f core conftest.err conftest.
$ac_objext \
10270 conftest
$ac_exeext conftest.
$ac_ext
10271 LIBS
=$ac_check_lib_save_LIBS
10273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10274 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10275 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
10277 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10284 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10285 case "x$with_xrender" in
10286 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10288 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
10289 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10293 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10296 /* end confdefs.h. */
10297 #include <X11/Xlib.h>
10298 #include <X11/extensions/Xrandr.h>
10302 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10307 if ac_fn_c_try_compile
"$LINENO"; then :
10308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10309 $as_echo_n "checking for -lXrandr... " >&6; }
10310 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
10311 $as_echo_n "(cached) " >&6
10313 ac_check_soname_save_LIBS
=$LIBS
10314 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10316 /* end confdefs.h. */
10318 /* Override any GCC internal prototype to avoid an error.
10319 Use char because int might match the return type of a GCC
10320 builtin and then its argument prototype would still apply. */
10324 char XRRQueryExtension ();
10328 return XRRQueryExtension ();
10333 if ac_fn_c_try_link
"$LINENO"; then :
10335 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10336 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'` ;;
10337 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10338 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10339 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10343 rm -f core conftest.err conftest.
$ac_objext \
10344 conftest
$ac_exeext conftest.
$ac_ext
10345 LIBS
=$ac_check_soname_save_LIBS
10347 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10349 $as_echo "not found" >&6; }
10352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10353 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10355 cat >>confdefs.h
<<_ACEOF
10356 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10360 /* end confdefs.h. */
10361 #include <X11/Xlib.h>
10362 #include <X11/extensions/Xrandr.h>
10366 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10371 if ac_fn_c_try_compile
"$LINENO"; then :
10373 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10376 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10379 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10381 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10382 case "x$with_xrandr" in
10383 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10385 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10386 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10390 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10393 /* end confdefs.h. */
10394 #include <X11/Xlib.h>
10395 #include <X11/extensions/Xinerama.h>
10399 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10404 if ac_fn_c_try_compile
"$LINENO"; then :
10405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10406 $as_echo_n "checking for -lXinerama... " >&6; }
10407 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10408 $as_echo_n "(cached) " >&6
10410 ac_check_soname_save_LIBS
=$LIBS
10411 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10413 /* end confdefs.h. */
10415 /* Override any GCC internal prototype to avoid an error.
10416 Use char because int might match the return type of a GCC
10417 builtin and then its argument prototype would still apply. */
10421 char XineramaQueryScreens ();
10425 return XineramaQueryScreens ();
10430 if ac_fn_c_try_link
"$LINENO"; then :
10432 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10433 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'` ;;
10434 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10435 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10436 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10440 rm -f core conftest.err conftest.
$ac_objext \
10441 conftest
$ac_exeext conftest.
$ac_ext
10442 LIBS
=$ac_check_soname_save_LIBS
10444 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10446 $as_echo "not found" >&6; }
10449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10450 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10452 cat >>confdefs.h
<<_ACEOF
10453 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10459 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10461 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10462 case "x$with_xinerama" in
10463 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10465 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10466 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10470 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10473 $as_echo_n "checking for -lXcomposite... " >&6; }
10474 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10475 $as_echo_n "(cached) " >&6
10477 ac_check_soname_save_LIBS
=$LIBS
10478 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10480 /* end confdefs.h. */
10482 /* Override any GCC internal prototype to avoid an error.
10483 Use char because int might match the return type of a GCC
10484 builtin and then its argument prototype would still apply. */
10488 char XCompositeRedirectWindow ();
10492 return XCompositeRedirectWindow ();
10497 if ac_fn_c_try_link
"$LINENO"; then :
10499 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10500 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'` ;;
10501 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10502 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10503 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10507 rm -f core conftest.err conftest.
$ac_objext \
10508 conftest
$ac_exeext conftest.
$ac_ext
10509 LIBS
=$ac_check_soname_save_LIBS
10511 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10513 $as_echo "not found" >&6; }
10516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10517 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10519 cat >>confdefs.h
<<_ACEOF
10520 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10526 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10527 case "x$with_xcomposite" in
10528 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10530 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10531 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10535 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10536 #include <X11/Xlib.h>
10539 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10541 cat >>confdefs.h
<<_ACEOF
10542 #define HAVE_XICCALLBACK_CALLBACK 1
10547 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10548 #include <X11/Xlib.h>
10551 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10553 cat >>confdefs.h
<<_ACEOF
10554 #define HAVE_XEVENT_XCOOKIE 1
10563 if test "x$with_opengl" != "xno"
10565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10566 $as_echo_n "checking for -lGL... " >&6; }
10567 if ${ac_cv_lib_soname_GL+:} false
; then :
10568 $as_echo_n "(cached) " >&6
10570 ac_check_soname_save_LIBS
=$LIBS
10571 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10573 /* end confdefs.h. */
10575 /* Override any GCC internal prototype to avoid an error.
10576 Use char because int might match the return type of a GCC
10577 builtin and then its argument prototype would still apply. */
10581 char glXCreateContext ();
10585 return glXCreateContext ();
10590 if ac_fn_c_try_link
"$LINENO"; then :
10592 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10593 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'` ;;
10594 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10595 if ${ac_cv_lib_soname_GL:+false} :; then :
10596 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10600 rm -f core conftest.err conftest.
$ac_objext \
10601 conftest
$ac_exeext conftest.
$ac_ext
10602 LIBS
=$ac_check_soname_save_LIBS
10604 if ${ac_cv_lib_soname_GL:+false} :; then :
10605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10606 $as_echo "not found" >&6; }
10607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10608 $as_echo_n "checking for -lGL... " >&6; }
10609 if ${ac_cv_lib_soname_GL+:} false
; then :
10610 $as_echo_n "(cached) " >&6
10612 ac_check_soname_save_LIBS
=$LIBS
10613 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"
10614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10615 /* end confdefs.h. */
10617 /* Override any GCC internal prototype to avoid an error.
10618 Use char because int might match the return type of a GCC
10619 builtin and then its argument prototype would still apply. */
10623 char glXCreateContext ();
10627 return glXCreateContext ();
10632 if ac_fn_c_try_link
"$LINENO"; then :
10634 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10635 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'` ;;
10636 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10637 if ${ac_cv_lib_soname_GL:+false} :; then :
10638 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10642 rm -f core conftest.err conftest.
$ac_objext \
10643 conftest
$ac_exeext conftest.
$ac_ext
10644 LIBS
=$ac_check_soname_save_LIBS
10646 if ${ac_cv_lib_soname_GL:+false} :; then :
10647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10648 $as_echo "not found" >&6; }
10649 if test -f /usr
/X11R
6/lib
/libGL.a
10651 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10652 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10654 opengl_msg
="No OpenGL library found on this system."
10657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10658 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10660 cat >>confdefs.h
<<_ACEOF
10661 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10664 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"
10667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10668 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10670 cat >>confdefs.h
<<_ACEOF
10671 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10676 if test "x$with_glu" != "xno"
10678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10679 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10680 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10681 $as_echo_n "(cached) " >&6
10683 ac_check_lib_save_LIBS
=$LIBS
10684 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10686 /* end confdefs.h. */
10688 /* Override any GCC internal prototype to avoid an error.
10689 Use char because int might match the return type of a GCC
10690 builtin and then its argument prototype would still apply. */
10698 return gluLookAt ();
10703 if ac_fn_c_try_link
"$LINENO"; then :
10704 ac_cv_lib_GLU_gluLookAt
=yes
10706 ac_cv_lib_GLU_gluLookAt
=no
10708 rm -f core conftest.err conftest.
$ac_objext \
10709 conftest
$ac_exeext conftest.
$ac_ext
10710 LIBS
=$ac_check_lib_save_LIBS
10712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10713 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10714 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10718 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10719 case "x$with_glu" in
10720 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10722 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10723 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10728 if test "x$with_osmesa" != "xno"
10730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10731 $as_echo_n "checking for -lOSMesa... " >&6; }
10732 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10733 $as_echo_n "(cached) " >&6
10735 ac_check_soname_save_LIBS
=$LIBS
10736 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10738 /* end confdefs.h. */
10740 /* Override any GCC internal prototype to avoid an error.
10741 Use char because int might match the return type of a GCC
10742 builtin and then its argument prototype would still apply. */
10755 if ac_fn_c_try_link
"$LINENO"; then :
10757 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10758 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'` ;;
10759 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10760 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10761 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10765 rm -f core conftest.err conftest.
$ac_objext \
10766 conftest
$ac_exeext conftest.
$ac_ext
10767 LIBS
=$ac_check_soname_save_LIBS
10769 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10771 $as_echo "not found" >&6; }
10774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10775 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10777 cat >>confdefs.h
<<_ACEOF
10778 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10783 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10784 case "x$with_osmesa" in
10785 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10787 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10788 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10793 if test -n "$opengl_msg"; then :
10794 case "x$with_opengl" in
10795 x
) as_fn_append wine_warnings
"|$opengl_msg
10796 OpenGL and Direct3D won't be supported." ;;
10798 *) as_fn_error $?
"$opengl_msg
10799 OpenGL and Direct3D won't be supported.
10800 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10804 CPPFLAGS
="$ac_save_CPPFLAGS"
10808 enable_winex11_drv
=${enable_winex11_drv:-no}
10810 if test "x$X_LIBS" = "x"; then :
10813 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10814 without X support, which probably isn't what you want. You will need
10815 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10816 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10820 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10822 if test "$ac_cv_header_CL_cl_h" = "yes"
10824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10825 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10826 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10827 $as_echo_n "(cached) " >&6
10829 ac_check_lib_save_LIBS
=$LIBS
10830 LIBS
="-lOpenCL $LIBS"
10831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10832 /* end confdefs.h. */
10834 /* Override any GCC internal prototype to avoid an error.
10835 Use char because int might match the return type of a GCC
10836 builtin and then its argument prototype would still apply. */
10840 char clGetPlatformInfo ();
10844 return clGetPlatformInfo ();
10849 if ac_fn_c_try_link
"$LINENO"; then :
10850 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10852 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10854 rm -f core conftest.err conftest.
$ac_objext \
10855 conftest
$ac_exeext conftest.
$ac_ext
10856 LIBS
=$ac_check_lib_save_LIBS
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10859 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10860 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10861 OPENCL_LIBS
="-lOpenCL"
10866 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10867 case "x$with_opencl" in
10868 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10870 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10871 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10874 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10876 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10879 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10880 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10881 $as_echo_n "(cached) " >&6
10883 ac_check_lib_save_LIBS
=$LIBS
10884 LIBS
="-lpcap $LIBS"
10885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10886 /* end confdefs.h. */
10888 /* Override any GCC internal prototype to avoid an error.
10889 Use char because int might match the return type of a GCC
10890 builtin and then its argument prototype would still apply. */
10894 char pcap_create ();
10898 return pcap_create ();
10903 if ac_fn_c_try_link
"$LINENO"; then :
10904 ac_cv_lib_pcap_pcap_create
=yes
10906 ac_cv_lib_pcap_pcap_create
=no
10908 rm -f core conftest.err conftest.
$ac_objext \
10909 conftest
$ac_exeext conftest.
$ac_ext
10910 LIBS
=$ac_check_lib_save_LIBS
10912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10913 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10914 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10920 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10921 case "x$with_pcap" in
10922 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10924 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10925 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10928 test "x$ac_cv_lib_pcap_pcap_create" != xyes
&& enable_wpcap
=${enable_wpcap:-no}
10931 if test "x$with_xml" != "xno"
10933 if ${XML2_CFLAGS:+false} :; then :
10934 if ${PKG_CONFIG+:} false
; then :
10935 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10938 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10939 if ${XML2_LIBS:+false} :; then :
10940 if ${PKG_CONFIG+:} false
; then :
10941 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10944 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10945 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10946 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10947 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10948 ac_save_CPPFLAGS
=$CPPFLAGS
10949 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10950 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10952 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10953 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10954 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10955 cat >>confdefs.h
<<_ACEOF
10956 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10963 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"
10965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10966 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10967 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10968 $as_echo_n "(cached) " >&6
10970 ac_check_lib_save_LIBS
=$LIBS
10971 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10973 /* end confdefs.h. */
10975 /* Override any GCC internal prototype to avoid an error.
10976 Use char because int might match the return type of a GCC
10977 builtin and then its argument prototype would still apply. */
10981 char xmlParseMemory ();
10985 return xmlParseMemory ();
10990 if ac_fn_c_try_link
"$LINENO"; then :
10991 ac_cv_lib_xml2_xmlParseMemory
=yes
10993 ac_cv_lib_xml2_xmlParseMemory
=no
10995 rm -f core conftest.err conftest.
$ac_objext \
10996 conftest
$ac_exeext conftest.
$ac_ext
10997 LIBS
=$ac_check_lib_save_LIBS
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11000 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11001 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
11003 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11010 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11011 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
11012 $as_echo_n "(cached) " >&6
11014 ac_check_lib_save_LIBS
=$LIBS
11015 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11017 /* end confdefs.h. */
11019 /* Override any GCC internal prototype to avoid an error.
11020 Use char because int might match the return type of a GCC
11021 builtin and then its argument prototype would still apply. */
11025 char xmlReadMemory ();
11029 return xmlReadMemory ();
11034 if ac_fn_c_try_link
"$LINENO"; then :
11035 ac_cv_lib_xml2_xmlReadMemory
=yes
11037 ac_cv_lib_xml2_xmlReadMemory
=no
11039 rm -f core conftest.err conftest.
$ac_objext \
11040 conftest
$ac_exeext conftest.
$ac_ext
11041 LIBS
=$ac_check_lib_save_LIBS
11043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11044 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11045 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
11047 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11052 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11053 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
11054 $as_echo_n "(cached) " >&6
11056 ac_check_lib_save_LIBS
=$LIBS
11057 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11059 /* end confdefs.h. */
11061 /* Override any GCC internal prototype to avoid an error.
11062 Use char because int might match the return type of a GCC
11063 builtin and then its argument prototype would still apply. */
11067 char xmlNewDocPI ();
11071 return xmlNewDocPI ();
11076 if ac_fn_c_try_link
"$LINENO"; then :
11077 ac_cv_lib_xml2_xmlNewDocPI
=yes
11079 ac_cv_lib_xml2_xmlNewDocPI
=no
11081 rm -f core conftest.err conftest.
$ac_objext \
11082 conftest
$ac_exeext conftest.
$ac_ext
11083 LIBS
=$ac_check_lib_save_LIBS
11085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11086 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11087 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
11089 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11094 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11095 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
11096 $as_echo_n "(cached) " >&6
11098 ac_check_lib_save_LIBS
=$LIBS
11099 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11101 /* end confdefs.h. */
11103 /* Override any GCC internal prototype to avoid an error.
11104 Use char because int might match the return type of a GCC
11105 builtin and then its argument prototype would still apply. */
11109 char xmlSchemaSetParserStructuredErrors ();
11113 return xmlSchemaSetParserStructuredErrors ();
11118 if ac_fn_c_try_link
"$LINENO"; then :
11119 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
11121 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
11123 rm -f core conftest.err conftest.
$ac_objext \
11124 conftest
$ac_exeext conftest.
$ac_ext
11125 LIBS
=$ac_check_lib_save_LIBS
11127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11128 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11129 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
11131 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11136 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11137 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
11138 $as_echo_n "(cached) " >&6
11140 ac_check_lib_save_LIBS
=$LIBS
11141 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11143 /* end confdefs.h. */
11145 /* Override any GCC internal prototype to avoid an error.
11146 Use char because int might match the return type of a GCC
11147 builtin and then its argument prototype would still apply. */
11151 char xmlSchemaSetValidStructuredErrors ();
11155 return xmlSchemaSetValidStructuredErrors ();
11160 if ac_fn_c_try_link
"$LINENO"; then :
11161 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
11163 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
11165 rm -f core conftest.err conftest.
$ac_objext \
11166 conftest
$ac_exeext conftest.
$ac_ext
11167 LIBS
=$ac_check_lib_save_LIBS
11169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11170 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11171 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
11173 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11178 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11179 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
11180 $as_echo_n "(cached) " >&6
11182 ac_check_lib_save_LIBS
=$LIBS
11183 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11185 /* end confdefs.h. */
11187 /* Override any GCC internal prototype to avoid an error.
11188 Use char because int might match the return type of a GCC
11189 builtin and then its argument prototype would still apply. */
11193 char xmlFirstElementChild ();
11197 return xmlFirstElementChild ();
11202 if ac_fn_c_try_link
"$LINENO"; then :
11203 ac_cv_lib_xml2_xmlFirstElementChild
=yes
11205 ac_cv_lib_xml2_xmlFirstElementChild
=no
11207 rm -f core conftest.err conftest.
$ac_objext \
11208 conftest
$ac_exeext conftest.
$ac_ext
11209 LIBS
=$ac_check_lib_save_LIBS
11211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11212 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11213 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
11215 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11219 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11221 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
11223 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11231 CPPFLAGS
=$ac_save_CPPFLAGS
11232 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11233 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11236 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11237 case "x$with_xml" in
11238 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11240 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11241 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11245 if test "x$with_xslt" != "xno"
11247 if ${XSLT_CFLAGS:+false} :; then :
11248 if ${PKG_CONFIG+:} false
; then :
11249 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11252 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
11253 if ${XSLT_LIBS:+false} :; then :
11254 if ${PKG_CONFIG+:} false
; then :
11255 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11258 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
11259 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
11260 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11261 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11262 ac_save_CPPFLAGS
=$CPPFLAGS
11263 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
11264 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11266 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11267 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11268 # include <libxslt/pattern.h>
11271 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11272 cat >>confdefs.h
<<_ACEOF
11273 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11280 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11283 $as_echo_n "checking for -lxslt... " >&6; }
11284 if ${ac_cv_lib_soname_xslt+:} false
; then :
11285 $as_echo_n "(cached) " >&6
11287 ac_check_soname_save_LIBS
=$LIBS
11288 LIBS
="-lxslt $XSLT_LIBS $LIBS"
11289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11290 /* end confdefs.h. */
11292 /* Override any GCC internal prototype to avoid an error.
11293 Use char because int might match the return type of a GCC
11294 builtin and then its argument prototype would still apply. */
11298 char xsltCompilePattern ();
11302 return xsltCompilePattern ();
11307 if ac_fn_c_try_link
"$LINENO"; then :
11309 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11310 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'` ;;
11311 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11312 if ${ac_cv_lib_soname_xslt:+false} :; then :
11313 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11317 rm -f core conftest.err conftest.
$ac_objext \
11318 conftest
$ac_exeext conftest.
$ac_ext
11319 LIBS
=$ac_check_soname_save_LIBS
11321 if ${ac_cv_lib_soname_xslt:+false} :; then :
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11323 $as_echo "not found" >&6; }
11326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11327 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11329 cat >>confdefs.h
<<_ACEOF
11330 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11338 CPPFLAGS
=$ac_save_CPPFLAGS
11339 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11340 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11343 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11344 case "x$with_xslt" in
11345 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11347 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11348 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11352 if test "x$with_dbus" != "xno"
11354 if ${DBUS_CFLAGS:+false} :; then :
11355 if ${PKG_CONFIG+:} false
; then :
11356 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11360 if ${DBUS_LIBS:+false} :; then :
11361 if ${PKG_CONFIG+:} false
; then :
11362 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11367 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11368 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11369 ac_save_CPPFLAGS
=$CPPFLAGS
11370 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11371 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11372 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11374 $as_echo_n "checking for -ldbus-1... " >&6; }
11375 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11376 $as_echo_n "(cached) " >&6
11378 ac_check_soname_save_LIBS
=$LIBS
11379 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11381 /* end confdefs.h. */
11383 /* Override any GCC internal prototype to avoid an error.
11384 Use char because int might match the return type of a GCC
11385 builtin and then its argument prototype would still apply. */
11389 char dbus_connection_close ();
11393 return dbus_connection_close ();
11398 if ac_fn_c_try_link
"$LINENO"; then :
11400 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11401 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'` ;;
11402 *) 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'`
11403 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11404 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11408 rm -f core conftest.err conftest.
$ac_objext \
11409 conftest
$ac_exeext conftest.
$ac_ext
11410 LIBS
=$ac_check_soname_save_LIBS
11412 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11414 $as_echo "not found" >&6; }
11417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11418 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11420 cat >>confdefs.h
<<_ACEOF
11421 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11431 CPPFLAGS
=$ac_save_CPPFLAGS
11432 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11433 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11436 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11437 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11438 case "x$with_dbus" in
11439 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11441 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11442 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11446 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11448 if ${HAL_CFLAGS:+false} :; then :
11449 if ${PKG_CONFIG+:} false
; then :
11450 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11454 if ${HAL_LIBS:+false} :; then :
11455 if ${PKG_CONFIG+:} false
; then :
11456 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11460 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11461 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11462 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11463 ac_save_CPPFLAGS
=$CPPFLAGS
11464 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11465 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11466 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11468 $as_echo_n "checking for -lhal... " >&6; }
11469 if ${ac_cv_lib_soname_hal+:} false
; then :
11470 $as_echo_n "(cached) " >&6
11472 ac_check_soname_save_LIBS
=$LIBS
11473 LIBS
="-lhal $HAL_LIBS $LIBS"
11474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11475 /* end confdefs.h. */
11477 /* Override any GCC internal prototype to avoid an error.
11478 Use char because int might match the return type of a GCC
11479 builtin and then its argument prototype would still apply. */
11483 char libhal_ctx_new ();
11487 return libhal_ctx_new ();
11492 if ac_fn_c_try_link
"$LINENO"; then :
11494 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11495 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'` ;;
11496 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11497 if ${ac_cv_lib_soname_hal:+false} :; then :
11498 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11502 rm -f core conftest.err conftest.
$ac_objext \
11503 conftest
$ac_exeext conftest.
$ac_ext
11504 LIBS
=$ac_check_soname_save_LIBS
11506 if ${ac_cv_lib_soname_hal:+false} :; then :
11507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11508 $as_echo "not found" >&6; }
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11512 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11514 cat >>confdefs.h
<<_ACEOF
11515 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11525 CPPFLAGS
=$ac_save_CPPFLAGS
11526 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11527 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11529 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11530 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11531 case "x$with_hal" in
11532 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11534 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11535 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11540 if test "x$with_gnutls" != "xno"
11542 if ${GNUTLS_CFLAGS:+false} :; then :
11543 if ${PKG_CONFIG+:} false
; then :
11544 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11548 if ${GNUTLS_LIBS:+false} :; then :
11549 if ${PKG_CONFIG+:} false
; then :
11550 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11555 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11556 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11557 ac_save_CPPFLAGS
=$CPPFLAGS
11558 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11559 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11560 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11562 /* end confdefs.h. */
11563 #include <gnutls/gnutls.h>
11564 #include <gnutls/crypto.h>
11568 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11573 if ac_fn_c_try_compile
"$LINENO"; then :
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11575 $as_echo_n "checking for -lgnutls... " >&6; }
11576 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11577 $as_echo_n "(cached) " >&6
11579 ac_check_soname_save_LIBS
=$LIBS
11580 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11582 /* end confdefs.h. */
11584 /* Override any GCC internal prototype to avoid an error.
11585 Use char because int might match the return type of a GCC
11586 builtin and then its argument prototype would still apply. */
11590 char gnutls_global_init ();
11594 return gnutls_global_init ();
11599 if ac_fn_c_try_link
"$LINENO"; then :
11601 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11602 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'` ;;
11603 *) 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'`
11604 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11605 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'`
11609 rm -f core conftest.err conftest.
$ac_objext \
11610 conftest
$ac_exeext conftest.
$ac_ext
11611 LIBS
=$ac_check_soname_save_LIBS
11613 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11615 $as_echo "not found" >&6; }
11618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11619 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11621 cat >>confdefs.h
<<_ACEOF
11622 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11628 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11634 CPPFLAGS
=$ac_save_CPPFLAGS
11635 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11636 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11639 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11640 case "x$with_gnutls" in
11641 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11643 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11644 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11649 if test "$ac_cv_header_ncurses_h" = "yes"
11651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11652 $as_echo_n "checking for -lncurses... " >&6; }
11653 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11654 $as_echo_n "(cached) " >&6
11656 ac_check_soname_save_LIBS
=$LIBS
11657 LIBS
="-lncurses $LIBS"
11658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11659 /* end confdefs.h. */
11661 /* Override any GCC internal prototype to avoid an error.
11662 Use char because int might match the return type of a GCC
11663 builtin and then its argument prototype would still apply. */
11676 if ac_fn_c_try_link
"$LINENO"; then :
11678 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11679 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'` ;;
11680 *) 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'`
11681 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11682 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11686 rm -f core conftest.err conftest.
$ac_objext \
11687 conftest
$ac_exeext conftest.
$ac_ext
11688 LIBS
=$ac_check_soname_save_LIBS
11690 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11692 $as_echo "not found" >&6; }
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11696 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11698 cat >>confdefs.h
<<_ACEOF
11699 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11702 CURSES_LIBS
="-lncurses"
11704 elif test "$ac_cv_header_curses_h" = "yes"
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11707 $as_echo_n "checking for -lcurses... " >&6; }
11708 if ${ac_cv_lib_soname_curses+:} false
; then :
11709 $as_echo_n "(cached) " >&6
11711 ac_check_soname_save_LIBS
=$LIBS
11712 LIBS
="-lcurses $LIBS"
11713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11714 /* end confdefs.h. */
11716 /* Override any GCC internal prototype to avoid an error.
11717 Use char because int might match the return type of a GCC
11718 builtin and then its argument prototype would still apply. */
11731 if ac_fn_c_try_link
"$LINENO"; then :
11733 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11734 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'` ;;
11735 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11736 if ${ac_cv_lib_soname_curses:+false} :; then :
11737 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11741 rm -f core conftest.err conftest.
$ac_objext \
11742 conftest
$ac_exeext conftest.
$ac_ext
11743 LIBS
=$ac_check_soname_save_LIBS
11745 if ${ac_cv_lib_soname_curses:+false} :; then :
11746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11747 $as_echo "not found" >&6; }
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11751 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11753 cat >>confdefs.h
<<_ACEOF
11754 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11757 CURSES_LIBS
="-lcurses"
11760 ac_save_LIBS
="$LIBS"
11761 LIBS
="$LIBS $CURSES_LIBS"
11762 for ac_func
in mousemask
11764 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11765 if test "x$ac_cv_func_mousemask" = xyes
; then :
11766 cat >>confdefs.h
<<_ACEOF
11767 #define HAVE_MOUSEMASK 1
11773 LIBS
="$ac_save_LIBS"
11774 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11775 case "x$with_curses" in
11776 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11778 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11779 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11783 if test "x$with_sane" != "xno"
11785 if ${SANE_CFLAGS:+false} :; then :
11786 if ${PKG_CONFIG+:} false
; then :
11787 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11790 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11791 if ${SANE_LIBS:+false} :; then :
11792 if ${PKG_CONFIG+:} false
; then :
11793 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11796 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11798 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11799 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11800 ac_save_CPPFLAGS
=$CPPFLAGS
11801 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11802 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11803 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11805 $as_echo_n "checking for -lsane... " >&6; }
11806 if ${ac_cv_lib_soname_sane+:} false
; then :
11807 $as_echo_n "(cached) " >&6
11809 ac_check_soname_save_LIBS
=$LIBS
11810 LIBS
="-lsane $SANE_LIBS $LIBS"
11811 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11812 /* end confdefs.h. */
11814 /* Override any GCC internal prototype to avoid an error.
11815 Use char because int might match the return type of a GCC
11816 builtin and then its argument prototype would still apply. */
11824 return sane_init ();
11829 if ac_fn_c_try_link
"$LINENO"; then :
11831 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11832 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'` ;;
11833 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11834 if ${ac_cv_lib_soname_sane:+false} :; then :
11835 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11839 rm -f core conftest.err conftest.
$ac_objext \
11840 conftest
$ac_exeext conftest.
$ac_ext
11841 LIBS
=$ac_check_soname_save_LIBS
11843 if ${ac_cv_lib_soname_sane:+false} :; then :
11844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11845 $as_echo "not found" >&6; }
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11849 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11851 cat >>confdefs.h
<<_ACEOF
11852 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11862 CPPFLAGS
=$ac_save_CPPFLAGS
11863 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11864 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11867 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11868 case "x$with_sane" in
11869 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11871 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11872 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11876 if test "x$with_v4l" != "xno"
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11879 $as_echo_n "checking for -lv4l1... " >&6; }
11880 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11881 $as_echo_n "(cached) " >&6
11883 ac_check_soname_save_LIBS
=$LIBS
11884 LIBS
="-lv4l1 $LIBS"
11885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11886 /* end confdefs.h. */
11888 /* Override any GCC internal prototype to avoid an error.
11889 Use char because int might match the return type of a GCC
11890 builtin and then its argument prototype would still apply. */
11898 return v4l1_open ();
11903 if ac_fn_c_try_link
"$LINENO"; then :
11905 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11906 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'` ;;
11907 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11908 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11909 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11913 rm -f core conftest.err conftest.
$ac_objext \
11914 conftest
$ac_exeext conftest.
$ac_ext
11915 LIBS
=$ac_check_soname_save_LIBS
11917 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11919 $as_echo "not found" >&6; }
11922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11923 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11925 cat >>confdefs.h
<<_ACEOF
11926 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11932 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11933 case "x$with_v4l" in
11934 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11936 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11937 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11941 if test "x$with_gphoto" != "xno"
11943 if ${GPHOTO2_CFLAGS:+false} :; then :
11944 if ${PKG_CONFIG+:} false
; then :
11945 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11948 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11949 if ${GPHOTO2_LIBS:+false} :; then :
11950 if ${PKG_CONFIG+:} false
; then :
11951 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11954 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11955 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11956 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11957 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11958 ac_save_CPPFLAGS
=$CPPFLAGS
11959 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11960 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11961 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11963 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11964 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11965 $as_echo_n "(cached) " >&6
11967 ac_check_lib_save_LIBS
=$LIBS
11968 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11970 /* end confdefs.h. */
11972 /* Override any GCC internal prototype to avoid an error.
11973 Use char because int might match the return type of a GCC
11974 builtin and then its argument prototype would still apply. */
11978 char gp_camera_new ();
11982 return gp_camera_new ();
11987 if ac_fn_c_try_link
"$LINENO"; then :
11988 ac_cv_lib_gphoto2_gp_camera_new
=yes
11990 ac_cv_lib_gphoto2_gp_camera_new
=no
11992 rm -f core conftest.err conftest.
$ac_objext \
11993 conftest
$ac_exeext conftest.
$ac_ext
11994 LIBS
=$ac_check_lib_save_LIBS
11996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11997 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11998 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
12000 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12003 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
12007 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
12011 CPPFLAGS
=$ac_save_CPPFLAGS
12012 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12013 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12015 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12016 if ${PKG_CONFIG+:} false
; then :
12017 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12020 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
12021 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12022 if ${PKG_CONFIG+:} false
; then :
12023 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12026 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
12027 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12028 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12029 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12030 ac_save_CPPFLAGS
=$CPPFLAGS
12031 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12032 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12033 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
12034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12035 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12036 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
12037 $as_echo_n "(cached) " >&6
12039 ac_check_lib_save_LIBS
=$LIBS
12040 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12042 /* end confdefs.h. */
12044 /* Override any GCC internal prototype to avoid an error.
12045 Use char because int might match the return type of a GCC
12046 builtin and then its argument prototype would still apply. */
12050 char gp_port_info_list_new ();
12054 return gp_port_info_list_new ();
12059 if ac_fn_c_try_link
"$LINENO"; then :
12060 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
12062 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
12064 rm -f core conftest.err conftest.
$ac_objext \
12065 conftest
$ac_exeext conftest.
$ac_ext
12066 LIBS
=$ac_check_lib_save_LIBS
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12069 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12070 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
12072 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12075 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12079 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12083 CPPFLAGS
=$ac_save_CPPFLAGS
12084 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12085 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12088 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12089 case "x$with_gphoto" in
12090 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12092 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12093 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12096 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12097 case "x$with_gphoto" in
12098 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12100 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12101 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12106 if test "$ac_cv_header_resolv_h" = "yes"
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12109 $as_echo_n "checking for resolver library... " >&6; }
12110 if ${ac_cv_have_resolv+:} false
; then :
12111 $as_echo_n "(cached) " >&6
12113 ac_save_LIBS
="$LIBS"
12114 for lib
in '' -lresolv
12116 LIBS
="$lib $ac_save_LIBS"
12117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12118 /* end confdefs.h. */
12119 #ifdef HAVE_NETINET_IN_H
12120 #include <netinet/in.h>
12122 #include <resolv.h>
12126 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12131 if ac_fn_c_try_link
"$LINENO"; then :
12132 ac_cv_have_resolv
=${lib:-"none required"}
12134 ac_cv_have_resolv
="not found"
12136 rm -f core conftest.err conftest.
$ac_objext \
12137 conftest
$ac_exeext conftest.
$ac_ext
12138 test "x$ac_cv_have_resolv" = "xnot found" ||
break
12140 LIBS
="$ac_save_LIBS"
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12143 $as_echo "$ac_cv_have_resolv" >&6; }
12145 case "$ac_cv_have_resolv" in
12149 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12152 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12154 RESOLV_LIBS
=$ac_cv_have_resolv
12159 if test "x$with_cms" != "xno"
12161 if ${LCMS2_CFLAGS:+false} :; then :
12162 if ${PKG_CONFIG+:} false
; then :
12163 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12167 if ${LCMS2_LIBS:+false} :; then :
12168 if ${PKG_CONFIG+:} false
; then :
12169 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12173 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
12174 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12175 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12176 ac_save_CPPFLAGS
=$CPPFLAGS
12177 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
12178 for ac_header
in lcms2.h
12180 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12181 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
12182 cat >>confdefs.h
<<_ACEOF
12183 #define HAVE_LCMS2_H 1
12190 if test "$ac_cv_header_lcms2_h" = "yes"
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12193 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12194 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
12195 $as_echo_n "(cached) " >&6
12197 ac_check_lib_save_LIBS
=$LIBS
12198 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
12199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12200 /* end confdefs.h. */
12202 /* Override any GCC internal prototype to avoid an error.
12203 Use char because int might match the return type of a GCC
12204 builtin and then its argument prototype would still apply. */
12208 char cmsOpenProfileFromFile ();
12212 return cmsOpenProfileFromFile ();
12217 if ac_fn_c_try_link
"$LINENO"; then :
12218 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
12220 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
12222 rm -f core conftest.err conftest.
$ac_objext \
12223 conftest
$ac_exeext conftest.
$ac_ext
12224 LIBS
=$ac_check_lib_save_LIBS
12226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12227 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12228 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
12230 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12240 CPPFLAGS
=$ac_save_CPPFLAGS
12241 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12242 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12245 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12246 case "x$with_cms" in
12247 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12249 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12250 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12254 if test "x$with_freetype" != "xno"
12256 if ${FREETYPE_CFLAGS:+false} :; then :
12257 if ${PKG_CONFIG+:} false
; then :
12258 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12261 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
12262 if ${FREETYPE_LIBS:+false} :; then :
12263 if ${PKG_CONFIG+:} false
; then :
12264 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12267 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
12268 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
12269 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12270 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12271 ac_save_CPPFLAGS
=$CPPFLAGS
12272 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
12273 for ac_header
in ft2build.h
12275 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12276 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
12277 cat >>confdefs.h
<<_ACEOF
12278 #define HAVE_FT2BUILD_H 1
12285 if test "$ac_cv_header_ft2build_h" = "yes"
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12288 $as_echo_n "checking for -lfreetype... " >&6; }
12289 if ${ac_cv_lib_soname_freetype+:} false
; then :
12290 $as_echo_n "(cached) " >&6
12292 ac_check_soname_save_LIBS
=$LIBS
12293 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
12294 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12295 /* end confdefs.h. */
12297 /* Override any GCC internal prototype to avoid an error.
12298 Use char because int might match the return type of a GCC
12299 builtin and then its argument prototype would still apply. */
12303 char FT_Init_FreeType ();
12307 return FT_Init_FreeType ();
12312 if ac_fn_c_try_link
"$LINENO"; then :
12314 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12315 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'` ;;
12316 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12317 if ${ac_cv_lib_soname_freetype:+false} :; then :
12318 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12322 rm -f core conftest.err conftest.
$ac_objext \
12323 conftest
$ac_exeext conftest.
$ac_ext
12324 LIBS
=$ac_check_soname_save_LIBS
12326 if ${ac_cv_lib_soname_freetype:+false} :; then :
12327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12328 $as_echo "not found" >&6; }
12331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12332 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12334 cat >>confdefs.h
<<_ACEOF
12335 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12339 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12341 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12342 #include FT_MODULE_H
12344 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12346 cat >>confdefs.h
<<_ACEOF
12347 #define HAVE_FT_TRUETYPEENGINETYPE 1
12358 CPPFLAGS
=$ac_save_CPPFLAGS
12359 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12360 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12363 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12364 case "x$with_freetype" in
12366 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12367 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12370 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
12372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12373 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12374 if ${ac_cv_c_ppdev+:} false
; then :
12375 $as_echo_n "(cached) " >&6
12377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12378 /* end confdefs.h. */
12379 #ifdef HAVE_SYS_IOCTL_H
12380 # include <sys/ioctl.h>
12382 #include <linux/ppdev.h>
12386 ioctl (1,PPCLAIM,0)
12391 if ac_fn_c_try_compile
"$LINENO"; then :
12392 ac_cv_c_ppdev
="yes"
12396 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12399 $as_echo "$ac_cv_c_ppdev" >&6; }
12400 if test "$ac_cv_c_ppdev" = "yes"
12403 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12407 ac_wine_check_funcs_save_LIBS
="$LIBS"
12408 LIBS
="$LIBS $PTHREAD_LIBS"
12410 pthread_attr_get_np \
12411 pthread_getattr_np \
12412 pthread_getthreadid_np \
12413 pthread_get_stackaddr_np \
12414 pthread_get_stacksize_np
12416 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12417 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12418 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12419 cat >>confdefs.h
<<_ACEOF
12420 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12426 LIBS
="$ac_wine_check_funcs_save_LIBS"
12428 if test "$ac_cv_header_zlib_h" = "yes"
12430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12431 $as_echo_n "checking for inflate in -lz... " >&6; }
12432 if ${ac_cv_lib_z_inflate+:} false
; then :
12433 $as_echo_n "(cached) " >&6
12435 ac_check_lib_save_LIBS
=$LIBS
12437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12438 /* end confdefs.h. */
12440 /* Override any GCC internal prototype to avoid an error.
12441 Use char because int might match the return type of a GCC
12442 builtin and then its argument prototype would still apply. */
12455 if ac_fn_c_try_link
"$LINENO"; then :
12456 ac_cv_lib_z_inflate
=yes
12458 ac_cv_lib_z_inflate
=no
12460 rm -f core conftest.err conftest.
$ac_objext \
12461 conftest
$ac_exeext conftest.
$ac_ext
12462 LIBS
=$ac_check_lib_save_LIBS
12464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12465 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12466 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12468 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12475 if test "x$Z_LIBS" = "x"; then :
12476 case "x$with_zlib" in
12477 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12479 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12480 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12484 if test "x$enable_tools" != xno
12486 if test "$ac_cv_header_gettext_po_h" = "yes"
12488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12489 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12490 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12491 $as_echo_n "(cached) " >&6
12493 ac_check_lib_save_LIBS
=$LIBS
12494 LIBS
="-lgettextpo $LIBS"
12495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12496 /* end confdefs.h. */
12498 /* Override any GCC internal prototype to avoid an error.
12499 Use char because int might match the return type of a GCC
12500 builtin and then its argument prototype would still apply. */
12504 char po_message_msgctxt ();
12508 return po_message_msgctxt ();
12513 if ac_fn_c_try_link
"$LINENO"; then :
12514 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12516 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12518 rm -f core conftest.err conftest.
$ac_objext \
12519 conftest
$ac_exeext conftest.
$ac_ext
12520 LIBS
=$ac_check_lib_save_LIBS
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12523 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12524 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12526 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12528 GETTEXTPO_LIBS
="-lgettextpo"
12533 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12534 case "x$with_gettextpo" in
12535 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12537 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12538 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12543 if test "x$with_gstreamer" != "xno"
12545 if ${GSTREAMER_CFLAGS:+false} :; then :
12546 if ${PKG_CONFIG+:} false
; then :
12547 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12551 if ${GSTREAMER_LIBS:+false} :; then :
12552 if ${PKG_CONFIG+:} false
; then :
12553 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12558 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12559 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12560 ac_save_CPPFLAGS
=$CPPFLAGS
12561 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12563 for i
in $GSTREAMER_CFLAGS
12566 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12569 GSTREAMER_CFLAGS
=$ac_gst_incl
12570 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12571 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12572 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12573 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12574 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12576 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12578 /* end confdefs.h. */
12579 #include <gst/app/gstappsink.h>
12583 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12588 if ac_fn_c_try_compile
"$LINENO"; then :
12589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12590 $as_echo "yes" >&6; }
12591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12592 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12593 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12594 $as_echo_n "(cached) " >&6
12596 ac_check_lib_save_LIBS
=$LIBS
12597 LIBS
="-lgstreamer-0.10 $LIBS"
12598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12599 /* end confdefs.h. */
12601 /* Override any GCC internal prototype to avoid an error.
12602 Use char because int might match the return type of a GCC
12603 builtin and then its argument prototype would still apply. */
12607 char gst_pad_get_caps_reffed ();
12611 return gst_pad_get_caps_reffed ();
12616 if ac_fn_c_try_link
"$LINENO"; then :
12617 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12619 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12621 rm -f core conftest.err conftest.
$ac_objext \
12622 conftest
$ac_exeext conftest.
$ac_ext
12623 LIBS
=$ac_check_lib_save_LIBS
12625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12626 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12627 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12629 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12630 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12631 $as_echo_n "(cached) " >&6
12633 ac_check_lib_save_LIBS
=$LIBS
12634 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12636 /* end confdefs.h. */
12638 /* Override any GCC internal prototype to avoid an error.
12639 Use char because int might match the return type of a GCC
12640 builtin and then its argument prototype would still apply. */
12644 char gst_app_buffer_new ();
12648 return gst_app_buffer_new ();
12653 if ac_fn_c_try_link
"$LINENO"; then :
12654 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12656 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12658 rm -f core conftest.err conftest.
$ac_objext \
12659 conftest
$ac_exeext conftest.
$ac_ext
12660 LIBS
=$ac_check_lib_save_LIBS
12662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12663 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12664 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12672 $as_echo "no" >&6; }
12674 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12679 GSTREAMER_CFLAGS
=""
12683 CPPFLAGS
=$ac_save_CPPFLAGS
12684 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12685 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12688 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12689 case "x$with_gstreamer" in
12690 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12692 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12693 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12696 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12700 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12703 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12704 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12705 $as_echo_n "(cached) " >&6
12707 ac_check_lib_save_LIBS
=$LIBS
12708 LIBS
="-lasound $LIBS"
12709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12710 /* end confdefs.h. */
12712 /* Override any GCC internal prototype to avoid an error.
12713 Use char because int might match the return type of a GCC
12714 builtin and then its argument prototype would still apply. */
12718 char snd_pcm_hw_params_get_access_mask ();
12722 return snd_pcm_hw_params_get_access_mask ();
12727 if ac_fn_c_try_link
"$LINENO"; then :
12728 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12730 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12732 rm -f core conftest.err conftest.
$ac_objext \
12733 conftest
$ac_exeext conftest.
$ac_ext
12734 LIBS
=$ac_check_lib_save_LIBS
12736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12737 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12738 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12740 /* end confdefs.h. */
12741 #ifdef HAVE_ALSA_ASOUNDLIB_H
12742 #include <alsa/asoundlib.h>
12743 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12744 #include <sys/asoundlib.h>
12749 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12754 if ac_fn_c_try_compile
"$LINENO"; then :
12755 ALSA_LIBS
="-lasound"
12757 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12762 if test "x$with_oss" != xno
12764 ac_save_CPPFLAGS
="$CPPFLAGS"
12765 if test -f /etc
/oss.conf
12769 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12770 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12771 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12772 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12773 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12775 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12777 cat >>confdefs.h
<<_ACEOF
12778 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12781 OSS4_CFLAGS
="$ac_oss_incl"
12788 CPPFLAGS
="$ac_save_CPPFLAGS"
12789 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12791 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12795 if test "x$with_capi" != "xno"
12797 if ${CAPI20_CFLAGS:+false} :; then :
12798 if ${PKG_CONFIG+:} false
; then :
12799 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12803 if ${CAPI20_LIBS:+false} :; then :
12804 if ${PKG_CONFIG+:} false
; then :
12805 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12810 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12811 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12812 ac_save_CPPFLAGS
=$CPPFLAGS
12813 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12814 for ac_header
in capi20.h linux
/capi.h
12816 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12817 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12819 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12820 cat >>confdefs.h
<<_ACEOF
12821 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12828 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12831 $as_echo_n "checking for -lcapi20... " >&6; }
12832 if ${ac_cv_lib_soname_capi20+:} false
; then :
12833 $as_echo_n "(cached) " >&6
12835 ac_check_soname_save_LIBS
=$LIBS
12836 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12838 /* end confdefs.h. */
12840 /* Override any GCC internal prototype to avoid an error.
12841 Use char because int might match the return type of a GCC
12842 builtin and then its argument prototype would still apply. */
12846 char capi20_register ();
12850 return capi20_register ();
12855 if ac_fn_c_try_link
"$LINENO"; then :
12857 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12858 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'` ;;
12859 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12860 if ${ac_cv_lib_soname_capi20:+false} :; then :
12861 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12865 rm -f core conftest.err conftest.
$ac_objext \
12866 conftest
$ac_exeext conftest.
$ac_ext
12867 LIBS
=$ac_check_soname_save_LIBS
12869 if ${ac_cv_lib_soname_capi20:+false} :; then :
12870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12871 $as_echo "not found" >&6; }
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12875 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12877 cat >>confdefs.h
<<_ACEOF
12878 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12884 CPPFLAGS
=$ac_save_CPPFLAGS
12885 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12886 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12889 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12890 case "x$with_capi" in
12891 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12893 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12894 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12900 if test "x$with_cups" != "xno"
12902 ac_save_CPPFLAGS
="$CPPFLAGS"
12903 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12904 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12905 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12906 for ac_header
in cups
/cups.h
12908 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12909 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12910 cat >>confdefs.h
<<_ACEOF
12911 #define HAVE_CUPS_CUPS_H 1
12913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12914 $as_echo_n "checking for -lcups... " >&6; }
12915 if ${ac_cv_lib_soname_cups+:} false
; then :
12916 $as_echo_n "(cached) " >&6
12918 ac_check_soname_save_LIBS
=$LIBS
12919 LIBS
="-lcups $ac_cups_libs $LIBS"
12920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12921 /* end confdefs.h. */
12923 /* Override any GCC internal prototype to avoid an error.
12924 Use char because int might match the return type of a GCC
12925 builtin and then its argument prototype would still apply. */
12929 char cupsGetDefault ();
12933 return cupsGetDefault ();
12938 if ac_fn_c_try_link
"$LINENO"; then :
12940 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12941 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'` ;;
12942 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12943 if ${ac_cv_lib_soname_cups:+false} :; then :
12944 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12948 rm -f core conftest.err conftest.
$ac_objext \
12949 conftest
$ac_exeext conftest.
$ac_ext
12950 LIBS
=$ac_check_soname_save_LIBS
12952 if ${ac_cv_lib_soname_cups:+false} :; then :
12953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12954 $as_echo "not found" >&6; }
12957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12958 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12960 cat >>confdefs.h
<<_ACEOF
12961 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12964 CUPS_CFLAGS
="$ac_cups_cflags"
12970 CPPFLAGS
="$ac_save_CPPFLAGS"
12972 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12973 case "x$with_cups" in
12974 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12976 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12977 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12981 if test "x$with_fontconfig" != "xno"
12983 if ${FONTCONFIG_CFLAGS:+false} :; then :
12984 if ${PKG_CONFIG+:} false
; then :
12985 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12988 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12989 if ${FONTCONFIG_LIBS:+false} :; then :
12990 if ${PKG_CONFIG+:} false
; then :
12991 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12994 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
12996 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12997 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12998 ac_save_CPPFLAGS
=$CPPFLAGS
12999 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
13000 for ac_header
in fontconfig
/fontconfig.h
13002 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13003 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
13004 cat >>confdefs.h
<<_ACEOF
13005 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13012 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13015 $as_echo_n "checking for -lfontconfig... " >&6; }
13016 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
13017 $as_echo_n "(cached) " >&6
13019 ac_check_soname_save_LIBS
=$LIBS
13020 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13022 /* end confdefs.h. */
13024 /* Override any GCC internal prototype to avoid an error.
13025 Use char because int might match the return type of a GCC
13026 builtin and then its argument prototype would still apply. */
13039 if ac_fn_c_try_link
"$LINENO"; then :
13041 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13042 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'` ;;
13043 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13044 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13045 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13049 rm -f core conftest.err conftest.
$ac_objext \
13050 conftest
$ac_exeext conftest.
$ac_ext
13051 LIBS
=$ac_check_soname_save_LIBS
13053 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13055 $as_echo "not found" >&6; }
13056 FONTCONFIG_CFLAGS
=""
13058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13059 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13061 cat >>confdefs.h
<<_ACEOF
13062 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13068 FONTCONFIG_CFLAGS
=""
13070 CPPFLAGS
=$ac_save_CPPFLAGS
13071 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13072 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13075 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13076 case "x$with_fontconfig" in
13077 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13079 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13080 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13084 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13087 $as_echo_n "checking for -lgsm... " >&6; }
13088 if ${ac_cv_lib_soname_gsm+:} false
; then :
13089 $as_echo_n "(cached) " >&6
13091 ac_check_soname_save_LIBS
=$LIBS
13093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13094 /* end confdefs.h. */
13096 /* Override any GCC internal prototype to avoid an error.
13097 Use char because int might match the return type of a GCC
13098 builtin and then its argument prototype would still apply. */
13102 char gsm_create ();
13106 return gsm_create ();
13111 if ac_fn_c_try_link
"$LINENO"; then :
13113 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13114 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'` ;;
13115 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13116 if ${ac_cv_lib_soname_gsm:+false} :; then :
13117 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13121 rm -f core conftest.err conftest.
$ac_objext \
13122 conftest
$ac_exeext conftest.
$ac_ext
13123 LIBS
=$ac_check_soname_save_LIBS
13125 if ${ac_cv_lib_soname_gsm:+false} :; then :
13126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13127 $as_echo "not found" >&6; }
13130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13131 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13133 cat >>confdefs.h
<<_ACEOF
13134 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13140 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13141 case "x$with_gsm" in
13142 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13144 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13145 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13149 if test "x$with_jpeg" != "xno"
13151 if ${JPEG_CFLAGS:+false} :; then :
13152 if ${PKG_CONFIG+:} false
; then :
13153 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13157 if ${JPEG_LIBS:+false} :; then :
13158 if ${PKG_CONFIG+:} false
; then :
13159 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13164 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13165 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13166 ac_save_CPPFLAGS
=$CPPFLAGS
13167 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
13168 for ac_header
in jpeglib.h
13170 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13171 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
13172 cat >>confdefs.h
<<_ACEOF
13173 #define HAVE_JPEGLIB_H 1
13180 if test "$ac_cv_header_jpeglib_h" = "yes"
13182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13183 $as_echo_n "checking for -ljpeg... " >&6; }
13184 if ${ac_cv_lib_soname_jpeg+:} false
; then :
13185 $as_echo_n "(cached) " >&6
13187 ac_check_soname_save_LIBS
=$LIBS
13188 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
13189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13190 /* end confdefs.h. */
13192 /* Override any GCC internal prototype to avoid an error.
13193 Use char because int might match the return type of a GCC
13194 builtin and then its argument prototype would still apply. */
13198 char jpeg_start_decompress ();
13202 return jpeg_start_decompress ();
13207 if ac_fn_c_try_link
"$LINENO"; then :
13209 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13210 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'` ;;
13211 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13212 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13213 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13217 rm -f core conftest.err conftest.
$ac_objext \
13218 conftest
$ac_exeext conftest.
$ac_ext
13219 LIBS
=$ac_check_soname_save_LIBS
13221 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13223 $as_echo "not found" >&6; }
13226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13227 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13229 cat >>confdefs.h
<<_ACEOF
13230 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13238 CPPFLAGS
=$ac_save_CPPFLAGS
13239 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13240 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13243 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13244 case "x$with_jpeg" in
13245 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13247 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13248 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13252 if test "x$with_png" != "xno"
13254 if ${PNG_CFLAGS:+false} :; then :
13255 if ${PKG_CONFIG+:} false
; then :
13256 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13259 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
13260 if ${PNG_LIBS:+false} :; then :
13261 if ${PKG_CONFIG+:} false
; then :
13262 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
13265 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
13267 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13268 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13269 ac_save_CPPFLAGS
=$CPPFLAGS
13270 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
13271 for ac_header
in png.h
13273 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13274 if test "x$ac_cv_header_png_h" = xyes
; then :
13275 cat >>confdefs.h
<<_ACEOF
13276 #define HAVE_PNG_H 1
13283 if test "$ac_cv_header_png_h" = "yes"
13285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13286 $as_echo_n "checking for -lpng... " >&6; }
13287 if ${ac_cv_lib_soname_png+:} false
; then :
13288 $as_echo_n "(cached) " >&6
13290 ac_check_soname_save_LIBS
=$LIBS
13291 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
13292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13293 /* end confdefs.h. */
13295 /* Override any GCC internal prototype to avoid an error.
13296 Use char because int might match the return type of a GCC
13297 builtin and then its argument prototype would still apply. */
13301 char png_create_read_struct ();
13305 return png_create_read_struct ();
13310 if ac_fn_c_try_link
"$LINENO"; then :
13312 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13313 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'` ;;
13314 *) 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'`
13315 if ${ac_cv_lib_soname_png:+false} :; then :
13316 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13320 rm -f core conftest.err conftest.
$ac_objext \
13321 conftest
$ac_exeext conftest.
$ac_ext
13322 LIBS
=$ac_check_soname_save_LIBS
13324 if ${ac_cv_lib_soname_png:+false} :; then :
13325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13326 $as_echo "not found" >&6; }
13329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13330 $as_echo "$ac_cv_lib_soname_png" >&6; }
13332 cat >>confdefs.h
<<_ACEOF
13333 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13337 /* end confdefs.h. */
13342 typeof(png_set_expand_gray_1_2_4_to_8) *p
13347 if ac_fn_c_try_compile
"$LINENO"; then :
13349 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13352 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13357 CPPFLAGS
=$ac_save_CPPFLAGS
13358 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13359 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13362 if test "x$ac_cv_lib_soname_png" = "x"; then :
13363 case "x$with_png" in
13364 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13366 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13367 This is an error since --with-png was requested." "$LINENO" 5 ;;
13371 if test "x$with_tiff" != "xno"
13373 if ${TIFF_CFLAGS:+false} :; then :
13374 if ${PKG_CONFIG+:} false
; then :
13375 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13379 if ${TIFF_LIBS:+false} :; then :
13380 if ${PKG_CONFIG+:} false
; then :
13381 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13386 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13387 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13388 ac_save_CPPFLAGS
=$CPPFLAGS
13389 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13390 for ac_header
in tiffio.h
13392 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13393 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13394 cat >>confdefs.h
<<_ACEOF
13395 #define HAVE_TIFFIO_H 1
13402 if test "$ac_cv_header_tiffio_h" = "yes"
13404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13405 $as_echo_n "checking for -ltiff... " >&6; }
13406 if ${ac_cv_lib_soname_tiff+:} false
; then :
13407 $as_echo_n "(cached) " >&6
13409 ac_check_soname_save_LIBS
=$LIBS
13410 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13412 /* end confdefs.h. */
13414 /* Override any GCC internal prototype to avoid an error.
13415 Use char because int might match the return type of a GCC
13416 builtin and then its argument prototype would still apply. */
13420 char TIFFClientOpen ();
13424 return TIFFClientOpen ();
13429 if ac_fn_c_try_link
"$LINENO"; then :
13431 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13432 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'` ;;
13433 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13434 if ${ac_cv_lib_soname_tiff:+false} :; then :
13435 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13439 rm -f core conftest.err conftest.
$ac_objext \
13440 conftest
$ac_exeext conftest.
$ac_ext
13441 LIBS
=$ac_check_soname_save_LIBS
13443 if ${ac_cv_lib_soname_tiff:+false} :; then :
13444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13445 $as_echo "not found" >&6; }
13448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13449 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13451 cat >>confdefs.h
<<_ACEOF
13452 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13458 CPPFLAGS
=$ac_save_CPPFLAGS
13459 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13460 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13463 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13464 case "x$with_tiff" in
13465 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13467 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13468 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13472 if test "x$with_mpg123" != "xno"
13474 if ${MPG123_CFLAGS:+false} :; then :
13475 if ${PKG_CONFIG+:} false
; then :
13476 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13480 if ${MPG123_LIBS:+false} :; then :
13481 if ${PKG_CONFIG+:} false
; then :
13482 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13486 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13487 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13488 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13489 ac_save_CPPFLAGS
=$CPPFLAGS
13490 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13491 for ac_header
in mpg123.h
13493 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13494 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13495 cat >>confdefs.h
<<_ACEOF
13496 #define HAVE_MPG123_H 1
13503 if test "$ac_cv_header_mpg123_h" = "yes"
13505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13506 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13507 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13508 $as_echo_n "(cached) " >&6
13510 ac_check_lib_save_LIBS
=$LIBS
13511 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13513 /* end confdefs.h. */
13515 /* Override any GCC internal prototype to avoid an error.
13516 Use char because int might match the return type of a GCC
13517 builtin and then its argument prototype would still apply. */
13521 char mpg123_feed ();
13525 return mpg123_feed ();
13530 if ac_fn_c_try_link
"$LINENO"; then :
13531 ac_cv_lib_mpg123_mpg123_feed
=yes
13533 ac_cv_lib_mpg123_mpg123_feed
=no
13535 rm -f core conftest.err conftest.
$ac_objext \
13536 conftest
$ac_exeext conftest.
$ac_ext
13537 LIBS
=$ac_check_lib_save_LIBS
13539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13540 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13541 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13551 CPPFLAGS
=$ac_save_CPPFLAGS
13552 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13553 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13556 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13557 case "x$with_mpg123" in
13558 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13560 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13561 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13564 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}
13566 if test "$ac_cv_header_AL_al_h" = "yes"
13568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13569 $as_echo_n "checking for -lopenal... " >&6; }
13570 if ${ac_cv_lib_soname_openal+:} false
; then :
13571 $as_echo_n "(cached) " >&6
13573 ac_check_soname_save_LIBS
=$LIBS
13574 LIBS
="-lopenal $LIBS"
13575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13576 /* end confdefs.h. */
13578 /* Override any GCC internal prototype to avoid an error.
13579 Use char because int might match the return type of a GCC
13580 builtin and then its argument prototype would still apply. */
13584 char alGetSource3i ();
13588 return alGetSource3i ();
13593 if ac_fn_c_try_link
"$LINENO"; then :
13595 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13596 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'` ;;
13597 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13598 if ${ac_cv_lib_soname_openal:+false} :; then :
13599 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13603 rm -f core conftest.err conftest.
$ac_objext \
13604 conftest
$ac_exeext conftest.
$ac_ext
13605 LIBS
=$ac_check_soname_save_LIBS
13607 if ${ac_cv_lib_soname_openal:+false} :; then :
13608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13609 $as_echo "not found" >&6; }
13612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13613 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13615 cat >>confdefs.h
<<_ACEOF
13616 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13619 OPENAL_LIBS
="-lopenal"
13621 ac_cv_lib_openal
=yes
13623 cat >>confdefs.h
<<_ACEOF
13624 #define HAVE_OPENAL 1
13629 if test "x$ac_cv_lib_openal" != xyes
; then :
13630 case "x$with_openal" in
13631 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13633 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13634 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13637 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13639 if test "x$ac_cv_lib_openal" = xyes
13641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13642 $as_echo_n "checking for openal-soft... " >&6; }
13643 if ${ac_cv_have_openalsoft+:} false
; then :
13644 $as_echo_n "(cached) " >&6
13646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13647 /* end confdefs.h. */
13648 #include <AL/alext.h>
13649 LPALCRENDERSAMPLESSOFT x;
13658 if ac_fn_c_try_compile
"$LINENO"; then :
13659 ac_cv_have_openalsoft
=yes
13661 ac_cv_have_openalsoft
=no
13663 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13666 $as_echo "$ac_cv_have_openalsoft" >&6; }
13668 if test "x$ac_cv_have_openalsoft" != xyes
13670 as_fn_append wine_notices
"|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13671 enable_xaudio2_7
=${enable_xaudio2_7:-no}
13674 if test "$ac_cv_header_kstat_h" = "yes"
13676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13677 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13678 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13679 $as_echo_n "(cached) " >&6
13681 ac_check_lib_save_LIBS
=$LIBS
13682 LIBS
="-lkstat $LIBS"
13683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13684 /* end confdefs.h. */
13686 /* Override any GCC internal prototype to avoid an error.
13687 Use char because int might match the return type of a GCC
13688 builtin and then its argument prototype would still apply. */
13692 char kstat_open ();
13696 return kstat_open ();
13701 if ac_fn_c_try_link
"$LINENO"; then :
13702 ac_cv_lib_kstat_kstat_open
=yes
13704 ac_cv_lib_kstat_kstat_open
=no
13706 rm -f core conftest.err conftest.
$ac_objext \
13707 conftest
$ac_exeext conftest.
$ac_ext
13708 LIBS
=$ac_check_lib_save_LIBS
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13711 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13712 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13714 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13716 KSTAT_LIBS
="-lkstat"
13722 if test "$ac_cv_header_libprocstat_h" = "yes"
13724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13725 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13726 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13727 $as_echo_n "(cached) " >&6
13729 ac_check_lib_save_LIBS
=$LIBS
13730 LIBS
="-lprocstat $LIBS"
13731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13732 /* end confdefs.h. */
13734 /* Override any GCC internal prototype to avoid an error.
13735 Use char because int might match the return type of a GCC
13736 builtin and then its argument prototype would still apply. */
13740 char procstat_open_sysctl ();
13744 return procstat_open_sysctl ();
13749 if ac_fn_c_try_link
"$LINENO"; then :
13750 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13752 ac_cv_lib_procstat_procstat_open_sysctl
=no
13754 rm -f core conftest.err conftest.
$ac_objext \
13755 conftest
$ac_exeext conftest.
$ac_ext
13756 LIBS
=$ac_check_lib_save_LIBS
13758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13759 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13760 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13762 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13764 PROCSTAT_LIBS
="-lprocstat"
13770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13771 $as_echo_n "checking for -lodbc... " >&6; }
13772 if ${ac_cv_lib_soname_odbc+:} false
; then :
13773 $as_echo_n "(cached) " >&6
13775 ac_check_soname_save_LIBS
=$LIBS
13776 LIBS
="-lodbc $LIBS"
13777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13778 /* end confdefs.h. */
13780 /* Override any GCC internal prototype to avoid an error.
13781 Use char because int might match the return type of a GCC
13782 builtin and then its argument prototype would still apply. */
13786 char SQLConnect ();
13790 return SQLConnect ();
13795 if ac_fn_c_try_link
"$LINENO"; then :
13797 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13798 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'` ;;
13799 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13800 if ${ac_cv_lib_soname_odbc:+false} :; then :
13801 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13805 rm -f core conftest.err conftest.
$ac_objext \
13806 conftest
$ac_exeext conftest.
$ac_ext
13807 LIBS
=$ac_check_soname_save_LIBS
13809 if ${ac_cv_lib_soname_odbc:+false} :; then :
13810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13811 $as_echo "not found" >&6; }
13812 cat >>confdefs.h
<<_ACEOF
13813 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13818 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13820 cat >>confdefs.h
<<_ACEOF
13821 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13827 if test "x$with_netapi" != "xno"
13829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13830 $as_echo_n "checking for -lnetapi... " >&6; }
13831 if ${ac_cv_lib_soname_netapi+:} false
; then :
13832 $as_echo_n "(cached) " >&6
13834 ac_check_soname_save_LIBS
=$LIBS
13835 LIBS
="-lnetapi $LIBS"
13836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13837 /* end confdefs.h. */
13839 /* Override any GCC internal prototype to avoid an error.
13840 Use char because int might match the return type of a GCC
13841 builtin and then its argument prototype would still apply. */
13845 char libnetapi_init ();
13849 return libnetapi_init ();
13854 if ac_fn_c_try_link
"$LINENO"; then :
13856 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13857 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'` ;;
13858 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13859 if ${ac_cv_lib_soname_netapi:+false} :; then :
13860 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13864 rm -f core conftest.err conftest.
$ac_objext \
13865 conftest
$ac_exeext conftest.
$ac_ext
13866 LIBS
=$ac_check_soname_save_LIBS
13868 if ${ac_cv_lib_soname_netapi:+false} :; then :
13869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13870 $as_echo "not found" >&6; }
13871 cat >>confdefs.h
<<_ACEOF
13872 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13877 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13879 cat >>confdefs.h
<<_ACEOF
13880 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13887 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13888 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13889 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13890 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13892 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13893 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13894 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13896 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13902 if test "x${GCC}" = "xyes"
13904 EXTRACFLAGS
="-Wall -pipe"
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13907 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13908 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13909 $as_echo_n "(cached) " >&6
13911 if test "$cross_compiling" = yes; then :
13912 ac_cv_c_gcc_strength_bug
="no"
13914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13915 /* end confdefs.h. */
13916 int L[4] = {0,1,2,3};
13920 static int Array[3];
13921 unsigned int B = 3;
13923 for(i=0; i<B; i++) Array[i] = i - 3;
13924 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13926 return (Array[1] != -2 || L[2] != 3)
13931 if ac_fn_c_try_run
"$LINENO"; then :
13932 ac_cv_c_gcc_strength_bug
="no"
13934 ac_cv_c_gcc_strength_bug
="yes"
13936 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13937 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13942 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13943 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13945 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13949 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13950 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13951 $as_echo_n "(cached) " >&6
13953 ac_wine_try_cflags_saved
=$CFLAGS
13954 CFLAGS
="$CFLAGS -fno-builtin"
13955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13956 /* end confdefs.h. */
13957 int main(int argc, char **argv) { return 0; }
13959 if ac_fn_c_try_link
"$LINENO"; then :
13960 ac_cv_cflags__fno_builtin
=yes
13962 ac_cv_cflags__fno_builtin
=no
13964 rm -f core conftest.err conftest.
$ac_objext \
13965 conftest
$ac_exeext conftest.
$ac_ext
13966 CFLAGS
=$ac_wine_try_cflags_saved
13968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13969 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13970 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
13971 BUILTINFLAG
="-fno-builtin"
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13975 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13976 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13977 $as_echo_n "(cached) " >&6
13979 ac_wine_try_cflags_saved
=$CFLAGS
13980 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13982 /* end confdefs.h. */
13983 int main(int argc, char **argv) { return 0; }
13985 if ac_fn_c_try_link
"$LINENO"; then :
13986 ac_cv_cflags__fno_strict_aliasing
=yes
13988 ac_cv_cflags__fno_strict_aliasing
=no
13990 rm -f core conftest.err conftest.
$ac_objext \
13991 conftest
$ac_exeext conftest.
$ac_ext
13992 CFLAGS
=$ac_wine_try_cflags_saved
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13995 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13996 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
13997 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14000 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14001 if ${ac_cv_cflags__fexcess_precision_standard+:} false
; then :
14002 $as_echo_n "(cached) " >&6
14004 ac_wine_try_cflags_saved
=$CFLAGS
14005 CFLAGS
="$CFLAGS -fexcess-precision=standard"
14006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14007 /* end confdefs.h. */
14008 int main(int argc, char **argv) { return 0; }
14010 if ac_fn_c_try_link
"$LINENO"; then :
14011 ac_cv_cflags__fexcess_precision_standard
=yes
14013 ac_cv_cflags__fexcess_precision_standard
=no
14015 rm -f core conftest.err conftest.
$ac_objext \
14016 conftest
$ac_exeext conftest.
$ac_ext
14017 CFLAGS
=$ac_wine_try_cflags_saved
14019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14020 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14021 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
; then :
14022 EXCESS_PRECISION_CFLAGS
="-fexcess-precision=standard"
14025 saved_CFLAGS
=$CFLAGS
14026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14027 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14028 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
14029 $as_echo_n "(cached) " >&6
14031 ac_wine_try_cflags_saved
=$CFLAGS
14032 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14034 /* end confdefs.h. */
14035 int main(int argc, char **argv) { return 0; }
14037 if ac_fn_c_try_link
"$LINENO"; then :
14038 ac_cv_cflags__Werror_unknown_warning_option
=yes
14040 ac_cv_cflags__Werror_unknown_warning_option
=no
14042 rm -f core conftest.err conftest.
$ac_objext \
14043 conftest
$ac_exeext conftest.
$ac_ext
14044 CFLAGS
=$ac_wine_try_cflags_saved
14046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14047 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14048 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
14049 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14052 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14053 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
14054 $as_echo_n "(cached) " >&6
14056 ac_wine_try_cflags_saved
=$CFLAGS
14057 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
14058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14059 /* end confdefs.h. */
14060 int main(int argc, char **argv) { return 0; }
14062 if ac_fn_c_try_link
"$LINENO"; then :
14063 ac_cv_cflags__Wdeclaration_after_statement
=yes
14065 ac_cv_cflags__Wdeclaration_after_statement
=no
14067 rm -f core conftest.err conftest.
$ac_objext \
14068 conftest
$ac_exeext conftest.
$ac_ext
14069 CFLAGS
=$ac_wine_try_cflags_saved
14071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14072 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14073 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
14074 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
14076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14077 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14078 if ${ac_cv_cflags__Wempty_body+:} false
; then :
14079 $as_echo_n "(cached) " >&6
14081 ac_wine_try_cflags_saved
=$CFLAGS
14082 CFLAGS
="$CFLAGS -Wempty-body"
14083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14084 /* end confdefs.h. */
14085 int main(int argc, char **argv) { return 0; }
14087 if ac_fn_c_try_link
"$LINENO"; then :
14088 ac_cv_cflags__Wempty_body
=yes
14090 ac_cv_cflags__Wempty_body
=no
14092 rm -f core conftest.err conftest.
$ac_objext \
14093 conftest
$ac_exeext conftest.
$ac_ext
14094 CFLAGS
=$ac_wine_try_cflags_saved
14096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14097 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14098 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
14099 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
14101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14102 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14103 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
14104 $as_echo_n "(cached) " >&6
14106 ac_wine_try_cflags_saved
=$CFLAGS
14107 CFLAGS
="$CFLAGS -Wignored-qualifiers"
14108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14109 /* end confdefs.h. */
14110 int main(int argc, char **argv) { return 0; }
14112 if ac_fn_c_try_link
"$LINENO"; then :
14113 ac_cv_cflags__Wignored_qualifiers
=yes
14115 ac_cv_cflags__Wignored_qualifiers
=no
14117 rm -f core conftest.err conftest.
$ac_objext \
14118 conftest
$ac_exeext conftest.
$ac_ext
14119 CFLAGS
=$ac_wine_try_cflags_saved
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14122 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14123 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
14124 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
14126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14127 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14128 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
14129 $as_echo_n "(cached) " >&6
14131 ac_wine_try_cflags_saved
=$CFLAGS
14132 CFLAGS
="$CFLAGS -Wstrict-prototypes"
14133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14134 /* end confdefs.h. */
14135 int main(int argc, char **argv) { return 0; }
14137 if ac_fn_c_try_link
"$LINENO"; then :
14138 ac_cv_cflags__Wstrict_prototypes
=yes
14140 ac_cv_cflags__Wstrict_prototypes
=no
14142 rm -f core conftest.err conftest.
$ac_objext \
14143 conftest
$ac_exeext conftest.
$ac_ext
14144 CFLAGS
=$ac_wine_try_cflags_saved
14146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14147 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14148 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
14149 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
14151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14152 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14153 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
14154 $as_echo_n "(cached) " >&6
14156 ac_wine_try_cflags_saved
=$CFLAGS
14157 CFLAGS
="$CFLAGS -Wtype-limits"
14158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14159 /* end confdefs.h. */
14160 int main(int argc, char **argv) { return 0; }
14162 if ac_fn_c_try_link
"$LINENO"; then :
14163 ac_cv_cflags__Wtype_limits
=yes
14165 ac_cv_cflags__Wtype_limits
=no
14167 rm -f core conftest.err conftest.
$ac_objext \
14168 conftest
$ac_exeext conftest.
$ac_ext
14169 CFLAGS
=$ac_wine_try_cflags_saved
14171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14172 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14173 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
14174 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
14176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14177 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14178 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
14179 $as_echo_n "(cached) " >&6
14181 ac_wine_try_cflags_saved
=$CFLAGS
14182 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
14183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14184 /* end confdefs.h. */
14185 int main(int argc, char **argv) { return 0; }
14187 if ac_fn_c_try_link
"$LINENO"; then :
14188 ac_cv_cflags__Wunused_but_set_parameter
=yes
14190 ac_cv_cflags__Wunused_but_set_parameter
=no
14192 rm -f core conftest.err conftest.
$ac_objext \
14193 conftest
$ac_exeext conftest.
$ac_ext
14194 CFLAGS
=$ac_wine_try_cflags_saved
14196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14197 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14198 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
14199 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
14201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14202 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14203 if ${ac_cv_cflags__Wvla+:} false
; then :
14204 $as_echo_n "(cached) " >&6
14206 ac_wine_try_cflags_saved
=$CFLAGS
14207 CFLAGS
="$CFLAGS -Wvla"
14208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14209 /* end confdefs.h. */
14210 int main(int argc, char **argv) { return 0; }
14212 if ac_fn_c_try_link
"$LINENO"; then :
14213 ac_cv_cflags__Wvla
=yes
14215 ac_cv_cflags__Wvla
=no
14217 rm -f core conftest.err conftest.
$ac_objext \
14218 conftest
$ac_exeext conftest.
$ac_ext
14219 CFLAGS
=$ac_wine_try_cflags_saved
14221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14222 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14223 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
14224 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
14226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14227 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14228 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
14229 $as_echo_n "(cached) " >&6
14231 ac_wine_try_cflags_saved
=$CFLAGS
14232 CFLAGS
="$CFLAGS -Wwrite-strings"
14233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14234 /* end confdefs.h. */
14235 int main(int argc, char **argv) { return 0; }
14237 if ac_fn_c_try_link
"$LINENO"; then :
14238 ac_cv_cflags__Wwrite_strings
=yes
14240 ac_cv_cflags__Wwrite_strings
=no
14242 rm -f core conftest.err conftest.
$ac_objext \
14243 conftest
$ac_exeext conftest.
$ac_ext
14244 CFLAGS
=$ac_wine_try_cflags_saved
14246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14247 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14248 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
14249 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
14252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14253 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14254 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
14255 $as_echo_n "(cached) " >&6
14257 ac_wine_try_cflags_saved
=$CFLAGS
14258 CFLAGS
="$CFLAGS -Wpointer-arith"
14259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14260 /* end confdefs.h. */
14261 int main(int argc, char **argv) { return 0; }
14263 if ac_fn_c_try_link
"$LINENO"; then :
14264 ac_cv_cflags__Wpointer_arith
=yes
14266 ac_cv_cflags__Wpointer_arith
=no
14268 rm -f core conftest.err conftest.
$ac_objext \
14269 conftest
$ac_exeext conftest.
$ac_ext
14270 CFLAGS
=$ac_wine_try_cflags_saved
14272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14273 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14274 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
14275 saved_string_h_CFLAGS
=$CFLAGS
14276 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
14277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14278 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14279 if ${ac_cv_c_string_h_warnings+:} false
; then :
14280 $as_echo_n "(cached) " >&6
14282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14283 /* end confdefs.h. */
14284 #include <string.h>
14293 if ac_fn_c_try_compile
"$LINENO"; then :
14294 ac_cv_c_string_h_warnings
=no
14296 ac_cv_c_string_h_warnings
=yes
14298 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14301 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14302 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
14303 CFLAGS
=$saved_string_h_CFLAGS
14306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14307 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14308 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
14309 $as_echo_n "(cached) " >&6
14311 ac_wine_try_cflags_saved
=$CFLAGS
14312 CFLAGS
="$CFLAGS -Wlogical-op"
14313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14314 /* end confdefs.h. */
14315 int main(int argc, char **argv) { return 0; }
14317 if ac_fn_c_try_link
"$LINENO"; then :
14318 ac_cv_cflags__Wlogical_op
=yes
14320 ac_cv_cflags__Wlogical_op
=no
14322 rm -f core conftest.err conftest.
$ac_objext \
14323 conftest
$ac_exeext conftest.
$ac_ext
14324 CFLAGS
=$ac_wine_try_cflags_saved
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14327 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14328 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
14329 saved_string_h_CFLAGS
=$CFLAGS
14330 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
14331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14332 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14333 if ${ac_cv_c_logicalop_noisy+:} false
; then :
14334 $as_echo_n "(cached) " >&6
14336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14337 /* end confdefs.h. */
14338 #include <string.h>
14339 char*f(const char *h,char n) {return strchr(h,n);}
14348 if ac_fn_c_try_compile
"$LINENO"; then :
14349 ac_cv_c_logicalop_noisy
=no
14351 ac_cv_c_logicalop_noisy
=yes
14353 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14356 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14357 CFLAGS
=$saved_string_h_CFLAGS
14358 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
14361 CFLAGS
=$saved_CFLAGS
14363 for ac_flag
in $CFLAGS; do
14365 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14366 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14367 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14368 $as_echo_n "(cached) " >&6
14370 ac_wine_try_cflags_saved
=$CFLAGS
14371 CFLAGS
="$CFLAGS -gdwarf-2"
14372 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14373 /* end confdefs.h. */
14374 int main(int argc, char **argv) { return 0; }
14376 if ac_fn_c_try_link
"$LINENO"; then :
14377 ac_cv_cflags__gdwarf_2
=yes
14379 ac_cv_cflags__gdwarf_2
=no
14381 rm -f core conftest.err conftest.
$ac_objext \
14382 conftest
$ac_exeext conftest.
$ac_ext
14383 CFLAGS
=$ac_wine_try_cflags_saved
14385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14386 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14387 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14388 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14391 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14392 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14393 $as_echo_n "(cached) " >&6
14395 ac_wine_try_cflags_saved
=$CFLAGS
14396 CFLAGS
="$CFLAGS -gstrict-dwarf"
14397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14398 /* end confdefs.h. */
14399 int main(int argc, char **argv) { return 0; }
14401 if ac_fn_c_try_link
"$LINENO"; then :
14402 ac_cv_cflags__gstrict_dwarf
=yes
14404 ac_cv_cflags__gstrict_dwarf
=no
14406 rm -f core conftest.err conftest.
$ac_objext \
14407 conftest
$ac_exeext conftest.
$ac_ext
14408 CFLAGS
=$ac_wine_try_cflags_saved
14410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14411 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14412 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14413 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14419 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14420 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14421 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14422 $as_echo_n "(cached) " >&6
14424 ac_wine_try_cflags_saved
=$CFLAGS
14425 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14427 /* end confdefs.h. */
14428 int main(int argc, char **argv) { return 0; }
14430 if ac_fn_c_try_link
"$LINENO"; then :
14431 ac_cv_cflags__fno_omit_frame_pointer
=yes
14433 ac_cv_cflags__fno_omit_frame_pointer
=no
14435 rm -f core conftest.err conftest.
$ac_objext \
14436 conftest
$ac_exeext conftest.
$ac_ext
14437 CFLAGS
=$ac_wine_try_cflags_saved
14439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14440 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14441 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14442 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14447 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14448 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14449 if ${ac_cv_cflags__Wno_format+:} false
; then :
14450 $as_echo_n "(cached) " >&6
14452 ac_wine_try_cflags_saved
=$CFLAGS
14453 CFLAGS
="$CFLAGS -Wno-format"
14454 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14455 /* end confdefs.h. */
14456 int main(int argc, char **argv) { return 0; }
14458 if ac_fn_c_try_link
"$LINENO"; then :
14459 ac_cv_cflags__Wno_format
=yes
14461 ac_cv_cflags__Wno_format
=no
14463 rm -f core conftest.err conftest.
$ac_objext \
14464 conftest
$ac_exeext conftest.
$ac_ext
14465 CFLAGS
=$ac_wine_try_cflags_saved
14467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14468 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14469 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14470 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14474 if test "x$enable_maintainer_mode" = "xyes"
14476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14477 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14478 if ${ac_cv_cflags__Werror+:} false
; then :
14479 $as_echo_n "(cached) " >&6
14481 ac_wine_try_cflags_saved
=$CFLAGS
14482 CFLAGS
="$CFLAGS -Werror"
14483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14484 /* end confdefs.h. */
14485 int main(int argc, char **argv) { return 0; }
14487 if ac_fn_c_try_link
"$LINENO"; then :
14488 ac_cv_cflags__Werror
=yes
14490 ac_cv_cflags__Werror
=no
14492 rm -f core conftest.err conftest.
$ac_objext \
14493 conftest
$ac_exeext conftest.
$ac_ext
14494 CFLAGS
=$ac_wine_try_cflags_saved
14496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14497 $as_echo "$ac_cv_cflags__Werror" >&6; }
14498 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14499 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14503 saved_CFLAGS
="$CFLAGS"
14504 CFLAGS
="$CFLAGS -Werror"
14505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14506 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14507 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14508 $as_echo_n "(cached) " >&6
14510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14511 /* end confdefs.h. */
14512 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14521 if ac_fn_c_try_compile
"$LINENO"; then :
14522 ac_cv_have_ms_hook_prologue
="yes"
14524 ac_cv_have_ms_hook_prologue
="no"
14526 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14529 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14530 CFLAGS
="$saved_CFLAGS"
14531 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14534 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14537 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14544 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14545 if ${ac_cv_c_fortify_enabled+:} false
; then :
14546 $as_echo_n "(cached) " >&6
14548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14549 /* end confdefs.h. */
14550 #include <string.h>
14554 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14555 #error Fortify enabled
14561 if ac_fn_c_try_compile
"$LINENO"; then :
14562 ac_cv_c_fortify_enabled
=no
14564 ac_cv_c_fortify_enabled
=yes
14566 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14569 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14570 if test "$ac_cv_c_fortify_enabled" = yes
14572 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14577 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14578 if ${ac_cv_c_extern_prefix+:} false
; then :
14579 $as_echo_n "(cached) " >&6
14581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14582 /* end confdefs.h. */
14583 extern int ac_test;
14587 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14592 if ac_fn_c_try_link
"$LINENO"; then :
14593 ac_cv_c_extern_prefix
="yes"
14595 ac_cv_c_extern_prefix
="no"
14597 rm -f core conftest.err conftest.
$ac_objext \
14598 conftest
$ac_exeext conftest.
$ac_ext
14600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14601 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14606 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14607 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14608 $as_echo_n "(cached) " >&6
14610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14611 /* end confdefs.h. */
14613 #define __stdcall __attribute__((__stdcall__))
14615 int __stdcall ac_test(int i) { return i; }
14619 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14624 if ac_fn_c_try_link
"$LINENO"; then :
14625 ac_cv_c_stdcall_suffix
="yes"
14627 ac_cv_c_stdcall_suffix
="no"
14629 rm -f core conftest.err conftest.
$ac_objext \
14630 conftest
$ac_exeext conftest.
$ac_ext
14632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14633 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14634 *) ac_cv_c_stdcall_suffix
="no" ;;
14638 if test "$ac_cv_c_extern_prefix" = "yes"
14640 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14642 asm_name_prefix
="_"
14644 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14650 if test "$ac_cv_c_stdcall_suffix" = "yes"
14652 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14655 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14661 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14662 if ${ac_cv_asm_func_def+:} false
; then :
14663 $as_echo_n "(cached) " >&6
14665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14666 /* end confdefs.h. */
14671 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14676 if ac_fn_c_try_link
"$LINENO"; then :
14677 ac_cv_asm_func_def
=".def"
14679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14680 /* end confdefs.h. */
14685 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14690 if ac_fn_c_try_link
"$LINENO"; then :
14691 ac_cv_asm_func_def
=".type @function"
14693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14694 /* end confdefs.h. */
14699 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14704 if ac_fn_c_try_link
"$LINENO"; then :
14705 ac_cv_asm_func_def
=".type 2"
14707 ac_cv_asm_func_def
="unknown"
14709 rm -f core conftest.err conftest.
$ac_objext \
14710 conftest
$ac_exeext conftest.
$ac_ext
14712 rm -f core conftest.err conftest.
$ac_objext \
14713 conftest
$ac_exeext conftest.
$ac_ext
14715 rm -f core conftest.err conftest.
$ac_objext \
14716 conftest
$ac_exeext conftest.
$ac_ext
14718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14719 $as_echo "$ac_cv_asm_func_def" >&6; }
14722 case "$ac_cv_asm_func_def" in
14724 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14726 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14728 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14730 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14732 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14734 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14736 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14738 asm_func_header
="" ;;
14741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14742 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14743 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14744 $as_echo_n "(cached) " >&6
14746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14747 /* end confdefs.h. */
14748 asm(".text\n\t.long 0");
14757 if ac_fn_c_try_compile
"$LINENO"; then :
14758 ac_cv_c_asm_outside_funcs
="yes"
14760 ac_cv_c_asm_outside_funcs
="no"
14762 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14765 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14768 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14769 if ${ac_cv_c_dot_previous+:} false
; then :
14770 $as_echo_n "(cached) " >&6
14772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14773 /* end confdefs.h. */
14778 asm(".text\nac_test:\t.long 0\n\t.previous");
14783 if ac_fn_c_try_link
"$LINENO"; then :
14784 ac_cv_c_dot_previous
="yes"
14786 ac_cv_c_dot_previous
="no"
14788 rm -f core conftest.err conftest.
$ac_objext \
14789 conftest
$ac_exeext conftest.
$ac_ext
14791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14792 $as_echo "$ac_cv_c_dot_previous" >&6; }
14794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14795 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14796 if ${ac_cv_c_cfi_support+:} false
; then :
14797 $as_echo_n "(cached) " >&6
14799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14800 /* end confdefs.h. */
14801 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14810 if ac_fn_c_try_compile
"$LINENO"; then :
14811 ac_cv_c_cfi_support
="yes"
14813 ac_cv_c_cfi_support
="no"
14815 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14818 $as_echo "$ac_cv_c_cfi_support" >&6; }
14820 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14821 asm_func_trailer
=""
14822 if test "$ac_cv_c_dot_previous" = "yes"
14824 asm_func_trailer
="\\n\\t.previous"
14826 if test "$ac_cv_c_cfi_support" = "yes"
14828 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14829 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14831 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14833 UNWINDFLAGS
=-fasynchronous-unwind-tables
14836 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14838 if test "x$enable_win64" = "xyes"
14840 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
14844 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14847 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14849 cat >>confdefs.h
<<_ACEOF
14850 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14854 cat >>confdefs.h
<<_ACEOF
14855 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14860 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14863 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14868 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14875 *i
[3456789]86*|x86_64
*)
14876 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14877 loader_programs
="$loader_programs $wine_binary-preloader"
14878 as_fn_append LOADER_RULES
"
14879 $wine_binary-preloader: preloader.o
14880 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14882 install install-lib:: $wine_binary-preloader
14883 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14886 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14888 preloader_EXTRADEFS = $BUILTINFLAG
14893 as_fn_append LOADER_RULES
"
14894 PROGRAMS = $loader_programs
14898 ac_save_CFLAGS
="$CFLAGS"
14899 CFLAGS
="$CFLAGS $BUILTINFLAG"
14978 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14979 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14980 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14981 cat >>confdefs.h
<<_ACEOF
14982 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14988 CFLAGS
="$ac_save_CFLAGS"
14990 if test "$ac_cv_func_dlopen" = no
14992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14993 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14994 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14995 $as_echo_n "(cached) " >&6
14997 ac_check_lib_save_LIBS
=$LIBS
14999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15000 /* end confdefs.h. */
15002 /* Override any GCC internal prototype to avoid an error.
15003 Use char because int might match the return type of a GCC
15004 builtin and then its argument prototype would still apply. */
15017 if ac_fn_c_try_link
"$LINENO"; then :
15018 ac_cv_lib_dl_dlopen
=yes
15020 ac_cv_lib_dl_dlopen
=no
15022 rm -f core conftest.err conftest.
$ac_objext \
15023 conftest
$ac_exeext conftest.
$ac_ext
15024 LIBS
=$ac_check_lib_save_LIBS
15026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15027 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15028 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
15029 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15035 ac_wine_check_funcs_save_LIBS
="$LIBS"
15036 LIBS
="$LIBS $DL_LIBS"
15037 for ac_func
in dladdr
15039 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
15040 if test "x$ac_cv_func_dladdr" = xyes
; then :
15041 cat >>confdefs.h
<<_ACEOF
15042 #define HAVE_DLADDR 1
15048 LIBS
="$ac_wine_check_funcs_save_LIBS"
15050 if test "$ac_cv_func_poll" = no
15052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15053 $as_echo_n "checking for poll in -lpoll... " >&6; }
15054 if ${ac_cv_lib_poll_poll+:} false
; then :
15055 $as_echo_n "(cached) " >&6
15057 ac_check_lib_save_LIBS
=$LIBS
15058 LIBS
="-lpoll $LIBS"
15059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15060 /* end confdefs.h. */
15062 /* Override any GCC internal prototype to avoid an error.
15063 Use char because int might match the return type of a GCC
15064 builtin and then its argument prototype would still apply. */
15077 if ac_fn_c_try_link
"$LINENO"; then :
15078 ac_cv_lib_poll_poll
=yes
15080 ac_cv_lib_poll_poll
=no
15082 rm -f core conftest.err conftest.
$ac_objext \
15083 conftest
$ac_exeext conftest.
$ac_ext
15084 LIBS
=$ac_check_lib_save_LIBS
15086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15087 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15088 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
15089 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15097 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15098 if ${ac_cv_search_gethostbyname+:} false
; then :
15099 $as_echo_n "(cached) " >&6
15101 ac_func_search_save_LIBS
=$LIBS
15102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15103 /* end confdefs.h. */
15105 /* Override any GCC internal prototype to avoid an error.
15106 Use char because int might match the return type of a GCC
15107 builtin and then its argument prototype would still apply. */
15111 char gethostbyname ();
15115 return gethostbyname ();
15120 for ac_lib
in '' nsl
; do
15121 if test -z "$ac_lib"; then
15122 ac_res
="none required"
15125 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15127 if ac_fn_c_try_link
"$LINENO"; then :
15128 ac_cv_search_gethostbyname
=$ac_res
15130 rm -f core conftest.err conftest.
$ac_objext \
15132 if ${ac_cv_search_gethostbyname+:} false
; then :
15136 if ${ac_cv_search_gethostbyname+:} false
; then :
15139 ac_cv_search_gethostbyname
=no
15141 rm conftest.
$ac_ext
15142 LIBS
=$ac_func_search_save_LIBS
15144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15145 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15146 ac_res
=$ac_cv_search_gethostbyname
15147 if test "$ac_res" != no
; then :
15148 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15154 $as_echo_n "checking for library containing connect... " >&6; }
15155 if ${ac_cv_search_connect+:} false
; then :
15156 $as_echo_n "(cached) " >&6
15158 ac_func_search_save_LIBS
=$LIBS
15159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15160 /* end confdefs.h. */
15162 /* Override any GCC internal prototype to avoid an error.
15163 Use char because int might match the return type of a GCC
15164 builtin and then its argument prototype would still apply. */
15177 for ac_lib
in '' socket
; do
15178 if test -z "$ac_lib"; then
15179 ac_res
="none required"
15182 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15184 if ac_fn_c_try_link
"$LINENO"; then :
15185 ac_cv_search_connect
=$ac_res
15187 rm -f core conftest.err conftest.
$ac_objext \
15189 if ${ac_cv_search_connect+:} false
; then :
15193 if ${ac_cv_search_connect+:} false
; then :
15196 ac_cv_search_connect
=no
15198 rm conftest.
$ac_ext
15199 LIBS
=$ac_func_search_save_LIBS
15201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15202 $as_echo "$ac_cv_search_connect" >&6; }
15203 ac_res
=$ac_cv_search_connect
15204 if test "$ac_res" != no
; then :
15205 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15211 $as_echo_n "checking for library containing inet_aton... " >&6; }
15212 if ${ac_cv_search_inet_aton+:} false
; then :
15213 $as_echo_n "(cached) " >&6
15215 ac_func_search_save_LIBS
=$LIBS
15216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15217 /* end confdefs.h. */
15219 /* Override any GCC internal prototype to avoid an error.
15220 Use char because int might match the return type of a GCC
15221 builtin and then its argument prototype would still apply. */
15229 return inet_aton ();
15234 for ac_lib
in '' resolv
; do
15235 if test -z "$ac_lib"; then
15236 ac_res
="none required"
15239 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15241 if ac_fn_c_try_link
"$LINENO"; then :
15242 ac_cv_search_inet_aton
=$ac_res
15244 rm -f core conftest.err conftest.
$ac_objext \
15246 if ${ac_cv_search_inet_aton+:} false
; then :
15250 if ${ac_cv_search_inet_aton+:} false
; then :
15253 ac_cv_search_inet_aton
=no
15255 rm conftest.
$ac_ext
15256 LIBS
=$ac_func_search_save_LIBS
15258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15259 $as_echo "$ac_cv_search_inet_aton" >&6; }
15260 ac_res
=$ac_cv_search_inet_aton
15261 if test "$ac_res" != no
; then :
15262 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15282 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15283 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15284 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15285 cat >>confdefs.h
<<_ACEOF
15286 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15295 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15296 if ${ac_cv_search_clock_gettime+:} false
; then :
15297 $as_echo_n "(cached) " >&6
15299 ac_func_search_save_LIBS
=$LIBS
15300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15301 /* end confdefs.h. */
15303 /* Override any GCC internal prototype to avoid an error.
15304 Use char because int might match the return type of a GCC
15305 builtin and then its argument prototype would still apply. */
15309 char clock_gettime ();
15313 return clock_gettime ();
15318 for ac_lib
in '' rt
; do
15319 if test -z "$ac_lib"; then
15320 ac_res
="none required"
15323 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15325 if ac_fn_c_try_link
"$LINENO"; then :
15326 ac_cv_search_clock_gettime
=$ac_res
15328 rm -f core conftest.err conftest.
$ac_objext \
15330 if ${ac_cv_search_clock_gettime+:} false
; then :
15334 if ${ac_cv_search_clock_gettime+:} false
; then :
15337 ac_cv_search_clock_gettime
=no
15339 rm conftest.
$ac_ext
15340 LIBS
=$ac_func_search_save_LIBS
15342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15343 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15344 ac_res
=$ac_cv_search_clock_gettime
15345 if test "$ac_res" != no
; then :
15346 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15348 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15350 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
15358 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15360 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15362 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15364 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15365 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15366 $as_echo_n "(cached) " >&6
15368 ac_check_lib_save_LIBS
=$LIBS
15369 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15370 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15371 /* end confdefs.h. */
15373 /* Override any GCC internal prototype to avoid an error.
15374 Use char because int might match the return type of a GCC
15375 builtin and then its argument prototype would still apply. */
15379 char ldap_initialize ();
15383 return ldap_initialize ();
15388 if ac_fn_c_try_link
"$LINENO"; then :
15389 ac_cv_lib_ldap_r_ldap_initialize
=yes
15391 ac_cv_lib_ldap_r_ldap_initialize
=no
15393 rm -f core conftest.err conftest.
$ac_objext \
15394 conftest
$ac_exeext conftest.
$ac_ext
15395 LIBS
=$ac_check_lib_save_LIBS
15397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15398 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15399 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15401 $as_echo_n "checking for ber_init in -llber... " >&6; }
15402 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15403 $as_echo_n "(cached) " >&6
15405 ac_check_lib_save_LIBS
=$LIBS
15406 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15408 /* end confdefs.h. */
15410 /* Override any GCC internal prototype to avoid an error.
15411 Use char because int might match the return type of a GCC
15412 builtin and then its argument prototype would still apply. */
15420 return ber_init ();
15425 if ac_fn_c_try_link
"$LINENO"; then :
15426 ac_cv_lib_lber_ber_init
=yes
15428 ac_cv_lib_lber_ber_init
=no
15430 rm -f core conftest.err conftest.
$ac_objext \
15431 conftest
$ac_exeext conftest.
$ac_ext
15432 LIBS
=$ac_check_lib_save_LIBS
15434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15435 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15436 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15438 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15440 LDAP_LIBS
="-lldap_r -llber"
15447 ac_wine_check_funcs_save_LIBS
="$LIBS"
15448 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15450 ldap_count_references \
15451 ldap_first_reference \
15452 ldap_next_reference \
15453 ldap_parse_reference \
15454 ldap_parse_sort_control \
15455 ldap_parse_sortresponse_control \
15456 ldap_parse_vlv_control \
15457 ldap_parse_vlvresponse_control
15459 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15460 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15461 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15462 cat >>confdefs.h
<<_ACEOF
15463 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15469 LIBS
="$ac_wine_check_funcs_save_LIBS"
15471 if test "x$LDAP_LIBS" = "x"; then :
15472 case "x$with_ldap" in
15473 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15475 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15476 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15481 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15482 if ${wine_cv_one_arg_mkdir+:} false
; then :
15483 $as_echo_n "(cached) " >&6
15485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15486 /* end confdefs.h. */
15487 #include <sys/stat.h>
15496 if ac_fn_c_try_compile
"$LINENO"; then :
15497 wine_cv_one_arg_mkdir
=yes
15499 wine_cv_one_arg_mkdir
=no
15501 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15504 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15505 if test "$wine_cv_one_arg_mkdir" = "yes"
15508 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15513 $as_echo_n "checking for sched_setaffinity... " >&6; }
15514 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15515 $as_echo_n "(cached) " >&6
15517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15518 /* end confdefs.h. */
15519 #define _GNU_SOURCE
15524 sched_setaffinity(0, 0, 0);
15529 if ac_fn_c_try_link
"$LINENO"; then :
15530 wine_cv_have_sched_setaffinity
=yes
15532 wine_cv_have_sched_setaffinity
=no
15534 rm -f core conftest.err conftest.
$ac_objext \
15535 conftest
$ac_exeext conftest.
$ac_ext
15537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15538 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15539 if test "$wine_cv_have_sched_setaffinity" = "yes"
15542 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15547 $as_echo_n "checking for fallocate... " >&6; }
15548 if ${wine_cv_have_fallocate+:} false
; then :
15549 $as_echo_n "(cached) " >&6
15551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15552 /* end confdefs.h. */
15553 #define _GNU_SOURCE
15558 fallocate(-1, 0, 0, 0);
15563 if ac_fn_c_try_link
"$LINENO"; then :
15564 wine_cv_have_fallocate
=yes
15566 wine_cv_have_fallocate
=no
15568 rm -f core conftest.err conftest.
$ac_objext \
15569 conftest
$ac_exeext conftest.
$ac_ext
15571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15572 $as_echo "$wine_cv_have_fallocate" >&6; }
15573 if test "$wine_cv_have_fallocate" = "yes"
15576 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15582 $as_echo_n "checking for inline... " >&6; }
15583 if ${ac_cv_c_inline+:} false
; then :
15584 $as_echo_n "(cached) " >&6
15587 for ac_kw
in inline __inline__ __inline
; do
15588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15589 /* end confdefs.h. */
15590 #ifndef __cplusplus
15592 static $ac_kw foo_t static_foo () {return 0; }
15593 $ac_kw foo_t foo () {return 0; }
15597 if ac_fn_c_try_compile
"$LINENO"; then :
15598 ac_cv_c_inline
=$ac_kw
15600 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15601 test "$ac_cv_c_inline" != no
&& break
15605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15606 $as_echo "$ac_cv_c_inline" >&6; }
15608 case $ac_cv_c_inline in
15611 case $ac_cv_c_inline in
15613 *) ac_val
=$ac_cv_c_inline;;
15615 cat >>confdefs.h
<<_ACEOF
15616 #ifndef __cplusplus
15617 #define inline $ac_val
15623 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15624 if test "x$ac_cv_type_mode_t" = xyes
; then :
15626 cat >>confdefs.h
<<_ACEOF
15627 #define HAVE_MODE_T 1
15632 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15633 if test "x$ac_cv_type_off_t" = xyes
; then :
15635 cat >>confdefs.h
<<_ACEOF
15636 #define HAVE_OFF_T 1
15641 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15642 if test "x$ac_cv_type_pid_t" = xyes
; then :
15644 cat >>confdefs.h
<<_ACEOF
15645 #define HAVE_PID_T 1
15650 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15651 if test "x$ac_cv_type_size_t" = xyes
; then :
15653 cat >>confdefs.h
<<_ACEOF
15654 #define HAVE_SIZE_T 1
15659 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15660 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15662 cat >>confdefs.h
<<_ACEOF
15663 #define HAVE_SSIZE_T 1
15668 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15669 if test "x$ac_cv_type_long_long" = xyes
; then :
15671 cat >>confdefs.h
<<_ACEOF
15672 #define HAVE_LONG_LONG 1
15677 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15678 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15680 cat >>confdefs.h
<<_ACEOF
15681 #define HAVE_FSBLKCNT_T 1
15686 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15687 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15689 cat >>confdefs.h
<<_ACEOF
15690 #define HAVE_FSFILCNT_T 1
15696 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15697 #include <signal.h>
15699 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15701 cat >>confdefs.h
<<_ACEOF
15702 #define HAVE_SIGSET_T 1
15708 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15710 if test "x$ac_cv_type_request_sense" = xyes
; then :
15712 cat >>confdefs.h
<<_ACEOF
15713 #define HAVE_REQUEST_SENSE 1
15720 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15721 #ifdef HAVE_SYS_SOCKET_H
15722 #include <sys/socket.h>
15724 #ifdef HAVE_SYS_SOCKETVAR_H
15725 #include <sys/socketvar.h>
15727 #ifdef HAVE_NET_ROUTE_H
15728 #include <net/route.h>
15730 #ifdef HAVE_NETINET_IN_H
15731 #include <netinet/in.h>
15733 #ifdef HAVE_NETINET_IN_SYSTM_H
15734 #include <netinet/in_systm.h>
15736 #ifdef HAVE_NETINET_IP_H
15737 #include <netinet/ip.h>
15739 #ifdef HAVE_NETINET_IN_PCB_H
15740 #include <netinet/in_pcb.h>
15743 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15745 cat >>confdefs.h
<<_ACEOF
15746 #define HAVE_STRUCT_XINPGEN 1
15753 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15756 #ifdef HAVE_SYS_LINK_H
15757 #include <sys/link.h>
15760 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15762 cat >>confdefs.h
<<_ACEOF
15763 #define HAVE_STRUCT_R_DEBUG 1
15768 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15771 #ifdef HAVE_SYS_LINK_H
15772 #include <sys/link.h>
15775 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15777 cat >>confdefs.h
<<_ACEOF
15778 #define HAVE_STRUCT_LINK_MAP 1
15785 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15786 #include <linux/input.h>
15789 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15791 cat >>confdefs.h
<<_ACEOF
15792 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15800 $as_echo_n "checking for sigaddset... " >&6; }
15801 if ${wine_cv_have_sigaddset+:} false
; then :
15802 $as_echo_n "(cached) " >&6
15804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15805 /* end confdefs.h. */
15806 #include <signal.h>
15810 sigset_t set; sigaddset(&set,SIGTERM);
15815 if ac_fn_c_try_link
"$LINENO"; then :
15816 wine_cv_have_sigaddset
=yes
15818 wine_cv_have_sigaddset
=no
15820 rm -f core conftest.err conftest.
$ac_objext \
15821 conftest
$ac_exeext conftest.
$ac_ext
15823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15824 $as_echo "$wine_cv_have_sigaddset" >&6; }
15825 if test "$wine_cv_have_sigaddset" = "yes"
15828 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15834 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15835 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15836 $as_echo_n "(cached) " >&6
15838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15839 /* end confdefs.h. */
15847 struct hostent *result;
15854 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15855 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15861 if ac_fn_c_try_link
"$LINENO"; then :
15862 wine_cv_linux_gethostbyname_r_6
=yes
15864 wine_cv_linux_gethostbyname_r_6
=no
15867 rm -f core conftest.err conftest.
$ac_objext \
15868 conftest
$ac_exeext conftest.
$ac_ext
15871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15872 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15873 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15876 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15880 if test "$ac_cv_header_linux_joystick_h" = "yes"
15882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15883 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15884 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15885 $as_echo_n "(cached) " >&6
15887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15888 /* end confdefs.h. */
15890 #include <sys/ioctl.h>
15891 #include <sys/types.h>
15892 #include <linux/joystick.h>
15894 struct js_event blub;
15895 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15896 #error "no 2.2 header"
15907 if ac_fn_c_try_compile
"$LINENO"; then :
15908 wine_cv_linux_joystick_22_api
=yes
15910 wine_cv_linux_joystick_22_api
=no
15912 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15916 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15917 if test "$wine_cv_linux_joystick_22_api" = "yes"
15920 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15926 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15927 #ifdef HAVE_SYS_PARAM_H
15928 # include <sys/param.h>
15930 #ifdef HAVE_SYS_MOUNT_H
15931 # include <sys/mount.h>
15933 #ifdef HAVE_SYS_VFS_H
15934 # include <sys/vfs.h>
15936 #ifdef HAVE_SYS_STATFS_H
15937 # include <sys/statfs.h>
15940 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15942 cat >>confdefs.h
<<_ACEOF
15943 #define HAVE_STRUCT_STATFS_F_BFREE 1
15948 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15949 #ifdef HAVE_SYS_PARAM_H
15950 # include <sys/param.h>
15952 #ifdef HAVE_SYS_MOUNT_H
15953 # include <sys/mount.h>
15955 #ifdef HAVE_SYS_VFS_H
15956 # include <sys/vfs.h>
15958 #ifdef HAVE_SYS_STATFS_H
15959 # include <sys/statfs.h>
15962 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15964 cat >>confdefs.h
<<_ACEOF
15965 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15970 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15971 #ifdef HAVE_SYS_PARAM_H
15972 # include <sys/param.h>
15974 #ifdef HAVE_SYS_MOUNT_H
15975 # include <sys/mount.h>
15977 #ifdef HAVE_SYS_VFS_H
15978 # include <sys/vfs.h>
15980 #ifdef HAVE_SYS_STATFS_H
15981 # include <sys/statfs.h>
15984 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15986 cat >>confdefs.h
<<_ACEOF
15987 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15992 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15993 #ifdef HAVE_SYS_PARAM_H
15994 # include <sys/param.h>
15996 #ifdef HAVE_SYS_MOUNT_H
15997 # include <sys/mount.h>
15999 #ifdef HAVE_SYS_VFS_H
16000 # include <sys/vfs.h>
16002 #ifdef HAVE_SYS_STATFS_H
16003 # include <sys/statfs.h>
16006 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
16008 cat >>confdefs.h
<<_ACEOF
16009 #define HAVE_STRUCT_STATFS_F_FFREE 1
16014 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16015 #ifdef HAVE_SYS_PARAM_H
16016 # include <sys/param.h>
16018 #ifdef HAVE_SYS_MOUNT_H
16019 # include <sys/mount.h>
16021 #ifdef HAVE_SYS_VFS_H
16022 # include <sys/vfs.h>
16024 #ifdef HAVE_SYS_STATFS_H
16025 # include <sys/statfs.h>
16028 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
16030 cat >>confdefs.h
<<_ACEOF
16031 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16036 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16037 #ifdef HAVE_SYS_PARAM_H
16038 # include <sys/param.h>
16040 #ifdef HAVE_SYS_MOUNT_H
16041 # include <sys/mount.h>
16043 #ifdef HAVE_SYS_VFS_H
16044 # include <sys/vfs.h>
16046 #ifdef HAVE_SYS_STATFS_H
16047 # include <sys/statfs.h>
16050 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
16052 cat >>confdefs.h
<<_ACEOF
16053 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16060 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16061 #include <sys/statvfs.h>
16064 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
16066 cat >>confdefs.h
<<_ACEOF
16067 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16074 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16075 #include <dirent.h>
16078 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
16080 cat >>confdefs.h
<<_ACEOF
16081 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16088 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16089 #ifdef HAVE_SYS_SOCKET_H
16090 # include <sys/socket.h>
16092 #ifdef HAVE_SYS_UN_H
16093 # include <sys/un.h>
16096 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
16098 cat >>confdefs.h
<<_ACEOF
16099 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16104 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16105 #ifdef HAVE_SYS_SOCKET_H
16106 # include <sys/socket.h>
16108 #ifdef HAVE_SYS_UN_H
16109 # include <sys/un.h>
16112 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
16114 cat >>confdefs.h
<<_ACEOF
16115 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16120 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16121 #ifdef HAVE_SYS_SOCKET_H
16122 # include <sys/socket.h>
16124 #ifdef HAVE_SYS_UN_H
16125 # include <sys/un.h>
16128 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
16130 cat >>confdefs.h
<<_ACEOF
16131 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16138 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16139 #ifdef HAVE_SCSI_SG_H
16140 #include <scsi/sg.h>
16143 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
16145 cat >>confdefs.h
<<_ACEOF
16146 #define HAVE_SCSIREQ_T_CMD 1
16151 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>
16152 #ifdef HAVE_SCSI_SG_H
16153 #include <scsi/sg.h>
16156 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
16158 cat >>confdefs.h
<<_ACEOF
16159 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16166 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16168 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
16170 cat >>confdefs.h
<<_ACEOF
16171 #define HAVE_SIGINFO_T_SI_FD 1
16178 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16179 #ifdef HAVE_SYS_MTIO_H
16180 #include <sys/mtio.h>
16183 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
16185 cat >>confdefs.h
<<_ACEOF
16186 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16191 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16192 #ifdef HAVE_SYS_MTIO_H
16193 #include <sys/mtio.h>
16196 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
16198 cat >>confdefs.h
<<_ACEOF
16199 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16204 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16205 #ifdef HAVE_SYS_MTIO_H
16206 #include <sys/mtio.h>
16209 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
16211 cat >>confdefs.h
<<_ACEOF
16212 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16219 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16220 #include <getopt.h>
16223 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
16225 cat >>confdefs.h
<<_ACEOF
16226 #define HAVE_STRUCT_OPTION_NAME 1
16233 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16234 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
16236 cat >>confdefs.h
<<_ACEOF
16237 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16242 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16243 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
16245 cat >>confdefs.h
<<_ACEOF
16246 #define HAVE_STRUCT_STAT_ST_MTIM 1
16251 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16252 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
16254 cat >>confdefs.h
<<_ACEOF
16255 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16260 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16261 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
16263 cat >>confdefs.h
<<_ACEOF
16264 #define HAVE_STRUCT_STAT_ST_CTIM 1
16269 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16270 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
16272 cat >>confdefs.h
<<_ACEOF
16273 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16278 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16279 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
16281 cat >>confdefs.h
<<_ACEOF
16282 #define HAVE_STRUCT_STAT_ST_ATIM 1
16287 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16288 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
16290 cat >>confdefs.h
<<_ACEOF
16291 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16296 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16297 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
16299 cat >>confdefs.h
<<_ACEOF
16300 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16305 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16306 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
16308 cat >>confdefs.h
<<_ACEOF
16309 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16314 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16315 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
16317 cat >>confdefs.h
<<_ACEOF
16318 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16323 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16324 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
16326 cat >>confdefs.h
<<_ACEOF
16327 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16332 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16333 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
16335 cat >>confdefs.h
<<_ACEOF
16336 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16343 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
16344 #include <sys/types.h>
16346 #ifdef HAVE_NETINET_IN_H
16347 #include <netinet/in.h>
16350 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
16352 cat >>confdefs.h
<<_ACEOF
16353 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16360 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16361 #include <resolv.h>
16364 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
16366 cat >>confdefs.h
<<_ACEOF
16367 #define HAVE_STRUCT___RES_STATE 1
16374 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
16375 #include <resolv.h>
16378 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16380 cat >>confdefs.h
<<_ACEOF
16381 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16388 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16389 #include <sys/types.h>
16391 #ifdef HAVE_NETINET_IN_H
16392 # include <netinet/in.h>
16394 #ifdef HAVE_ARPA_NAMESER_H
16395 # include <arpa/nameser.h>
16398 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16400 cat >>confdefs.h
<<_ACEOF
16401 #define HAVE_NS_MSG__MSG_PTR 1
16408 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16409 #include <sys/types.h>
16411 #ifdef HAVE_NETINET_IP_H
16412 #include <netinet/ip.h>
16414 #ifdef HAVE_NETINET_IP_ICMP_H
16415 #include <netinet/ip_icmp.h>
16417 #ifdef HAVE_NETINET_ICMP_VAR_H
16418 #include <netinet/icmp_var.h>
16421 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16423 cat >>confdefs.h
<<_ACEOF
16424 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16431 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16432 #include <sys/types.h>
16434 #ifdef HAVE_ALIAS_H
16437 #ifdef HAVE_SYS_SOCKET_H
16438 #include <sys/socket.h>
16440 #ifdef HAVE_SYS_SOCKETVAR_H
16441 #include <sys/socketvar.h>
16443 #ifdef HAVE_SYS_TIMEOUT_H
16444 #include <sys/timeout.h>
16446 #ifdef HAVE_NETINET_IN_H
16447 #include <netinet/in.h>
16449 #ifdef HAVE_NETINET_IN_SYSTM_H
16450 #include <netinet/in_systm.h>
16452 #ifdef HAVE_NETINET_IP_H
16453 #include <netinet/ip.h>
16455 #ifdef HAVE_NETINET_IP_VAR_H
16456 #include <netinet/ip_var.h>
16458 #ifdef HAVE_NETINET_IP_ICMP_H
16459 #include <netinet/ip_icmp.h>
16461 #ifdef HAVE_NETINET_ICMP_VAR_H
16462 #include <netinet/icmp_var.h>
16465 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16467 cat >>confdefs.h
<<_ACEOF
16468 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16475 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16476 #include <sys/types.h>
16478 #ifdef HAVE_SYS_SOCKETVAR_H
16479 #include <sys/socketvar.h>
16481 #ifdef HAVE_NETINET_IN_H
16482 #include <netinet/in.h>
16484 #ifdef HAVE_NETINET_IP_VAR_H
16485 #include <netinet/ip_var.h>
16488 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16490 cat >>confdefs.h
<<_ACEOF
16491 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16498 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
16499 #include <netinet/ip_var.h>
16502 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16504 cat >>confdefs.h
<<_ACEOF
16505 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16512 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16513 #include <sys/types.h>
16515 #ifdef HAVE_SYS_SOCKETVAR_H
16516 #include <sys/socketvar.h>
16518 #ifdef HAVE_NETINET_IN_H
16519 #include <netinet/in.h>
16521 #ifdef HAVE_NETINET_TCP_H
16522 #include <netinet/tcp.h>
16524 #ifdef HAVE_NETINET_TCP_VAR_H
16525 #include <netinet/tcp_var.h>
16528 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16530 cat >>confdefs.h
<<_ACEOF
16531 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16538 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
16539 #include <netinet/tcp_var.h>
16542 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16544 cat >>confdefs.h
<<_ACEOF
16545 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16552 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16553 #include <sys/types.h>
16555 #ifdef HAVE_NETINET_IN_H
16556 #include <netinet/in.h>
16558 #ifdef HAVE_NETINET_IP_VAR_H
16559 #include <netinet/ip_var.h>
16561 #ifdef HAVE_NETINET_UDP_H
16562 #include <netinet/udp.h>
16564 #ifdef HAVE_NETINET_UDP_VAR_H
16565 #include <netinet/udp_var.h>
16568 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16570 cat >>confdefs.h
<<_ACEOF
16571 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16578 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16579 #include <sys/types.h>
16581 #ifdef HAVE_NET_IF_H
16582 # include <net/if.h>
16585 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16587 cat >>confdefs.h
<<_ACEOF
16588 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16596 $as_echo_n "checking for timezone variable... " >&6; }
16597 if ${ac_cv_have_timezone+:} false
; then :
16598 $as_echo_n "(cached) " >&6
16600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16601 /* end confdefs.h. */
16611 if ac_fn_c_try_link
"$LINENO"; then :
16612 ac_cv_have_timezone
="yes"
16614 ac_cv_have_timezone
="no"
16616 rm -f core conftest.err conftest.
$ac_objext \
16617 conftest
$ac_exeext conftest.
$ac_ext
16619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16620 $as_echo "$ac_cv_have_timezone" >&6; }
16621 if test "$ac_cv_have_timezone" = "yes"
16624 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16628 $as_echo_n "checking for daylight variable... " >&6; }
16629 if ${ac_cv_have_daylight+:} false
; then :
16630 $as_echo_n "(cached) " >&6
16632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16633 /* end confdefs.h. */
16643 if ac_fn_c_try_link
"$LINENO"; then :
16644 ac_cv_have_daylight
="yes"
16646 ac_cv_have_daylight
="no"
16648 rm -f core conftest.err conftest.
$ac_objext \
16649 conftest
$ac_exeext conftest.
$ac_ext
16651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16652 $as_echo "$ac_cv_have_daylight" >&6; }
16653 if test "$ac_cv_have_daylight" = "yes"
16656 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16660 ac_save_LIBS
="$LIBS"
16662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16663 $as_echo_n "checking for isfinite... " >&6; }
16664 if ${ac_cv_have_isfinite+:} false
; then :
16665 $as_echo_n "(cached) " >&6
16667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16668 /* end confdefs.h. */
16669 #define _GNU_SOURCE
16674 float f = 0.0; return isfinite(f)
16679 if ac_fn_c_try_link
"$LINENO"; then :
16680 ac_cv_have_isfinite
="yes"
16682 ac_cv_have_isfinite
="no"
16684 rm -f core conftest.err conftest.
$ac_objext \
16685 conftest
$ac_exeext conftest.
$ac_ext
16687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16688 $as_echo "$ac_cv_have_isfinite" >&6; }
16689 if test "$ac_cv_have_isfinite" = "yes"
16692 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16697 $as_echo_n "checking for isinf... " >&6; }
16698 if ${ac_cv_have_isinf+:} false
; then :
16699 $as_echo_n "(cached) " >&6
16701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16702 /* end confdefs.h. */
16707 float f = 0.0; return isinf(f)
16712 if ac_fn_c_try_link
"$LINENO"; then :
16713 ac_cv_have_isinf
="yes"
16715 ac_cv_have_isinf
="no"
16717 rm -f core conftest.err conftest.
$ac_objext \
16718 conftest
$ac_exeext conftest.
$ac_ext
16720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16721 $as_echo "$ac_cv_have_isinf" >&6; }
16722 if test "$ac_cv_have_isinf" = "yes"
16725 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16730 $as_echo_n "checking for isnan... " >&6; }
16731 if ${ac_cv_have_isnan+:} false
; then :
16732 $as_echo_n "(cached) " >&6
16734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16735 /* end confdefs.h. */
16740 float f = 0.0; return isnan(f)
16745 if ac_fn_c_try_link
"$LINENO"; then :
16746 ac_cv_have_isnan
="yes"
16748 ac_cv_have_isnan
="no"
16750 rm -f core conftest.err conftest.
$ac_objext \
16751 conftest
$ac_exeext conftest.
$ac_ext
16753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16754 $as_echo "$ac_cv_have_isnan" >&6; }
16755 if test "$ac_cv_have_isnan" = "yes"
16758 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16787 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16788 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16789 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16790 cat >>confdefs.h
<<_ACEOF
16791 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16797 LIBS
="$ac_save_LIBS"
16799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16800 $as_echo_n "checking for __builtin_clz... " >&6; }
16801 if ${ac_cv_have___builtin_clz+:} false
; then :
16802 $as_echo_n "(cached) " >&6
16804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16805 /* end confdefs.h. */
16810 return __builtin_clz(1)
16815 if ac_fn_c_try_link
"$LINENO"; then :
16816 ac_cv_have___builtin_clz
="yes"
16818 ac_cv_have___builtin_clz
="no"
16820 rm -f core conftest.err conftest.
$ac_objext \
16821 conftest
$ac_exeext conftest.
$ac_ext
16823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16824 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16825 if test "$ac_cv_have___builtin_clz" = "yes"
16828 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16834 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16835 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16836 if ${ac_cv_cpp_def___i386__+:} false
; then :
16837 $as_echo_n "(cached) " >&6
16839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16840 /* end confdefs.h. */
16845 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16846 $EGREP "yes" >/dev
/null
2>&1; then :
16847 ac_cv_cpp_def___i386__
=yes
16849 ac_cv_cpp_def___i386__
=no
16854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16855 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16856 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16857 CFLAGS
="$CFLAGS -D__i386__"
16858 LINTFLAGS
="$LINTFLAGS -D__i386__"
16860 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16861 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16862 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16863 $as_echo_n "(cached) " >&6
16865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16866 /* end confdefs.h. */
16871 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16872 $EGREP "yes" >/dev
/null
2>&1; then :
16873 ac_cv_cpp_def___x86_64__
=yes
16875 ac_cv_cpp_def___x86_64__
=no
16880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16881 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16882 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16883 CFLAGS
="$CFLAGS -D__x86_64__"
16884 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16886 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16887 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16888 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16889 $as_echo_n "(cached) " >&6
16891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16892 /* end confdefs.h. */
16893 #ifndef __sparc64__
16897 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16898 $EGREP "yes" >/dev
/null
2>&1; then :
16899 ac_cv_cpp_def___sparc64__
=yes
16901 ac_cv_cpp_def___sparc64__
=no
16906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16907 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16908 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16909 CFLAGS
="$CFLAGS -D__sparc64__"
16910 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16912 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16913 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16914 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16915 $as_echo_n "(cached) " >&6
16917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16918 /* end confdefs.h. */
16923 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16924 $EGREP "yes" >/dev
/null
2>&1; then :
16925 ac_cv_cpp_def___sparc__
=yes
16927 ac_cv_cpp_def___sparc__
=no
16932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16933 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16934 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16935 CFLAGS
="$CFLAGS -D__sparc__"
16936 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16938 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16939 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16940 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16941 $as_echo_n "(cached) " >&6
16943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16944 /* end confdefs.h. */
16945 #ifndef __powerpc64__
16949 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16950 $EGREP "yes" >/dev
/null
2>&1; then :
16951 ac_cv_cpp_def___powerpc64__
=yes
16953 ac_cv_cpp_def___powerpc64__
=no
16958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16959 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16960 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
16961 CFLAGS
="$CFLAGS -D__powerpc64__"
16962 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16964 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16965 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16966 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16967 $as_echo_n "(cached) " >&6
16969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16970 /* end confdefs.h. */
16971 #ifndef __powerpc__
16975 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16976 $EGREP "yes" >/dev
/null
2>&1; then :
16977 ac_cv_cpp_def___powerpc__
=yes
16979 ac_cv_cpp_def___powerpc__
=no
16984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16985 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16986 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
16987 CFLAGS
="$CFLAGS -D__powerpc__"
16988 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16990 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16991 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16992 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16993 $as_echo_n "(cached) " >&6
16995 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16996 /* end confdefs.h. */
16997 #ifndef __aarch64__
17001 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17002 $EGREP "yes" >/dev
/null
2>&1; then :
17003 ac_cv_cpp_def___aarch64__
=yes
17005 ac_cv_cpp_def___aarch64__
=no
17010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17011 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17012 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
17013 CFLAGS
="$CFLAGS -D__aarch64__"
17014 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
17016 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17017 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17018 if ${ac_cv_cpp_def___arm__+:} false
; then :
17019 $as_echo_n "(cached) " >&6
17021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17022 /* end confdefs.h. */
17027 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17028 $EGREP "yes" >/dev
/null
2>&1; then :
17029 ac_cv_cpp_def___arm__
=yes
17031 ac_cv_cpp_def___arm__
=no
17036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17037 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17038 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
17039 CFLAGS
="$CFLAGS -D__arm__"
17040 LINTFLAGS
="$LINTFLAGS -D__arm__"
17044 case $host_vendor in
17045 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17046 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17047 if ${ac_cv_cpp_def___sun__+:} false
; then :
17048 $as_echo_n "(cached) " >&6
17050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17051 /* end confdefs.h. */
17056 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17057 $EGREP "yes" >/dev
/null
2>&1; then :
17058 ac_cv_cpp_def___sun__
=yes
17060 ac_cv_cpp_def___sun__
=no
17065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17066 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17067 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
17068 CFLAGS
="$CFLAGS -D__sun__"
17069 LINTFLAGS
="$LINTFLAGS -D__sun__"
17077 ac_config_commands
="$ac_config_commands include/stamp-h"
17079 $as_echo_n "creating Makefile rules..." >&6
17081 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
17082 SOCKET_LIBS = $SOCKET_LIBS
17083 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17084 IOKIT_LIBS = $IOKIT_LIBS
17085 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17086 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17087 CORESERVICES_LIBS = $CORESERVICES_LIBS
17088 APPKIT_LIBS = $APPKIT_LIBS
17089 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17090 SECURITY_LIBS = $SECURITY_LIBS
17091 COREAUDIO_LIBS = $COREAUDIO_LIBS
17092 OPENAL_LIBS = $OPENAL_LIBS
17093 OPENCL_LIBS = $OPENCL_LIBS
17094 QUICKTIME_LIBS = $QUICKTIME_LIBS
17095 CARBON_LIBS = $CARBON_LIBS
17096 PTHREAD_LIBS = $PTHREAD_LIBS
17097 X_CFLAGS = $X_CFLAGS
17098 X_PRE_LIBS = $X_PRE_LIBS
17100 X_EXTRA_LIBS = $X_EXTRA_LIBS
17101 XML2_CFLAGS = $XML2_CFLAGS
17102 XML2_LIBS = $XML2_LIBS
17103 XSLT_CFLAGS = $XSLT_CFLAGS
17104 XSLT_LIBS = $XSLT_LIBS
17105 DBUS_CFLAGS = $DBUS_CFLAGS
17106 DBUS_LIBS = $DBUS_LIBS
17107 HAL_CFLAGS = $HAL_CFLAGS
17108 HAL_LIBS = $HAL_LIBS
17109 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17110 GNUTLS_LIBS = $GNUTLS_LIBS
17111 SANE_CFLAGS = $SANE_CFLAGS
17112 SANE_LIBS = $SANE_LIBS
17113 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17114 GPHOTO2_LIBS = $GPHOTO2_LIBS
17115 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17116 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17117 RESOLV_LIBS = $RESOLV_LIBS
17118 LCMS2_CFLAGS = $LCMS2_CFLAGS
17119 LCMS2_LIBS = $LCMS2_LIBS
17120 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17121 FREETYPE_LIBS = $FREETYPE_LIBS
17123 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17124 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17125 GSTREAMER_LIBS = $GSTREAMER_LIBS
17126 ALSA_LIBS = $ALSA_LIBS
17127 OSS4_CFLAGS = $OSS4_CFLAGS
17128 CAPI20_CFLAGS = $CAPI20_CFLAGS
17129 CAPI20_LIBS = $CAPI20_LIBS
17130 CUPS_CFLAGS = $CUPS_CFLAGS
17131 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17132 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17133 JPEG_CFLAGS = $JPEG_CFLAGS
17134 JPEG_LIBS = $JPEG_LIBS
17135 PNG_CFLAGS = $PNG_CFLAGS
17136 PNG_LIBS = $PNG_LIBS
17137 TIFF_CFLAGS = $TIFF_CFLAGS
17138 TIFF_LIBS = $TIFF_LIBS
17139 MPG123_CFLAGS = $MPG123_CFLAGS
17140 MPG123_LIBS = $MPG123_LIBS
17141 KSTAT_LIBS = $KSTAT_LIBS
17142 PROCSTAT_LIBS = $PROCSTAT_LIBS
17143 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17145 POLL_LIBS = $POLL_LIBS
17147 LDAP_LIBS = $LDAP_LIBS
17152 wine_fn_append_rule
"
17153 # Rules automatically generated by configure
17155 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17160 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
17161 @./config.status Make.tmp Makefile"
17163 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
17164 .gitignore: config.status
17165 @./config.status .gitignore"
17167 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
17168 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17170 if test "x$enable_fonts" != xno
; then
17171 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17172 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17173 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17174 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17175 ac_config_links
="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17176 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf fonts
/wingding.ttf
17178 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17179 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
17180 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
17181 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
17182 ac_config_links
="$ac_config_links wine:tools/winewrapper"
17183 wine_fn_config_symlink wine
17184 if test "x$enable_win64" != xno
; then
17185 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
17186 wine_fn_config_symlink wine64
17189 wine_fn_config_dll acledit enable_acledit
17190 wine_fn_config_dll aclui enable_aclui implib
17191 wine_fn_config_dll activeds enable_activeds implib
17192 wine_fn_config_dll actxprxy enable_actxprxy clean
17193 wine_fn_config_lib adsiid
17194 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
17195 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
17196 wine_fn_config_dll advpack enable_advpack implib
17197 wine_fn_config_test dlls
/advpack
/tests advpack_test
17198 wine_fn_config_dll amstream enable_amstream clean
17199 wine_fn_config_test dlls
/amstream
/tests amstream_test
17200 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17201 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17202 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17203 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17204 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17205 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17206 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17207 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17208 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17209 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17210 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17211 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17212 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17213 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17214 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17215 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17216 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17217 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17218 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17219 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17220 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17221 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17222 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17223 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17224 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17225 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17226 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17227 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17228 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17229 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17230 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17231 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17232 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17233 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17234 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17235 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17236 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17237 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17238 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17239 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17240 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17241 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17242 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17243 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17244 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17245 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17246 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17247 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17248 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17249 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17250 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17251 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17252 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17253 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17254 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17255 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17256 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17257 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17258 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17259 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17260 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17261 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17262 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17263 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17264 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17265 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17266 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17267 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17268 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17269 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17270 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17271 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17272 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17273 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17274 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17275 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17276 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17277 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17278 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17279 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17280 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17281 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17282 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17283 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17284 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17285 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17286 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17287 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17288 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17289 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17290 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17291 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17292 wine_fn_config_dll apphelp enable_apphelp
17293 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
17294 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17295 wine_fn_config_dll atl enable_atl clean
,implib
17296 wine_fn_config_test dlls
/atl
/tests atl_test
17297 wine_fn_config_dll atl100 enable_atl100 clean
,implib
17298 wine_fn_config_test dlls
/atl100
/tests atl100_test
17299 wine_fn_config_dll atl110 enable_atl110 clean
17300 wine_fn_config_dll atl80 enable_atl80 clean
,implib
17301 wine_fn_config_test dlls
/atl80
/tests atl80_test
17302 wine_fn_config_dll atl90 enable_atl90 clean
17303 wine_fn_config_dll authz enable_authz
17304 wine_fn_config_dll avicap32 enable_avicap32 implib
17305 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
17306 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
17307 wine_fn_config_dll avifile.dll16 enable_win16
17308 wine_fn_config_dll avrt enable_avrt implib
17309 wine_fn_config_dll bcrypt enable_bcrypt
17310 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
17311 wine_fn_config_dll browseui enable_browseui clean
,po
17312 wine_fn_config_test dlls
/browseui
/tests browseui_test
17313 wine_fn_config_dll cabinet enable_cabinet implib
17314 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
17315 wine_fn_config_dll capi2032 enable_capi2032 implib
17316 wine_fn_config_dll cards enable_cards implib
17317 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17318 wine_fn_config_dll clusapi enable_clusapi implib
17319 wine_fn_config_dll combase enable_combase
17320 wine_fn_config_test dlls
/combase
/tests combase_test
17321 wine_fn_config_dll comcat enable_comcat
17322 wine_fn_config_test dlls
/comcat
/tests comcat_test
17323 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
17324 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
17325 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
17326 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
17327 wine_fn_config_dll
comm.drv16 enable_win16
17328 wine_fn_config_dll commdlg.dll16 enable_win16
17329 wine_fn_config_dll compobj.dll16 enable_win16
17330 wine_fn_config_dll compstui enable_compstui implib
17331 wine_fn_config_dll comsvcs enable_comsvcs implib
17332 wine_fn_config_dll connect enable_connect
17333 wine_fn_config_dll credui enable_credui implib
,po
17334 wine_fn_config_test dlls
/credui
/tests credui_test
17335 wine_fn_config_dll crtdll enable_crtdll implib
17336 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
17337 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
17338 wine_fn_config_dll cryptdlg enable_cryptdlg po
17339 wine_fn_config_dll cryptdll enable_cryptdll implib
17340 wine_fn_config_dll cryptext enable_cryptext
17341 wine_fn_config_dll cryptnet enable_cryptnet implib
17342 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
17343 wine_fn_config_dll cryptui enable_cryptui implib
,po
17344 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
17345 wine_fn_config_dll ctapi32 enable_ctapi32
17346 wine_fn_config_dll ctl3d.dll16 enable_win16
17347 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17348 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17349 wine_fn_config_dll d2d1 enable_d2d1 implib
17350 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
17351 wine_fn_config_dll d3d10 enable_d3d10 implib
17352 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
17353 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17354 wine_fn_config_dll d3d10core enable_d3d10core implib
17355 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
17356 wine_fn_config_dll d3d11 enable_d3d11 implib
17357 wine_fn_config_test dlls
/d3d11
/tests d3d11_test
17358 wine_fn_config_dll d3d8 enable_d3d8 implib
17359 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
17360 wine_fn_config_dll d3d9 enable_d3d9 implib
17361 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
17362 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17363 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17364 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17365 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17366 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17367 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17368 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17369 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17370 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17371 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17372 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17373 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
17374 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17375 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17376 wine_fn_config_dll d3dim enable_d3dim implib
17377 wine_fn_config_dll d3drm enable_d3drm implib
17378 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
17379 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17380 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17381 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17382 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17383 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17384 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17385 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17386 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17387 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17388 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17389 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17390 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17391 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17392 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17393 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17394 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17395 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17396 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17397 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17398 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17399 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17400 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17401 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17402 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17403 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17404 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17405 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
17406 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17407 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17408 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17409 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17410 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17411 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17412 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17413 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
17414 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
17415 wine_fn_config_dll davclnt enable_davclnt
17416 wine_fn_config_dll dbgeng enable_dbgeng implib
17417 wine_fn_config_dll dbghelp enable_dbghelp implib
17418 wine_fn_config_dll dciman32 enable_dciman32 implib
17419 wine_fn_config_dll ddeml.dll16 enable_win16
17420 wine_fn_config_dll ddraw enable_ddraw clean
,implib
17421 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
17422 wine_fn_config_dll ddrawex enable_ddrawex clean
17423 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
17424 wine_fn_config_dll devenum enable_devenum clean
,po
17425 wine_fn_config_test dlls
/devenum
/tests devenum_test
17426 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17427 wine_fn_config_dll difxapi enable_difxapi
17428 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
17429 wine_fn_config_test dlls
/dinput
/tests dinput_test
17430 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
17431 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
17432 wine_fn_config_dll dispdib.dll16 enable_win16
17433 wine_fn_config_dll dispex enable_dispex clean
17434 wine_fn_config_test dlls
/dispex
/tests dispex_test
17435 wine_fn_config_dll display.drv16 enable_win16
17436 wine_fn_config_dll dmband enable_dmband clean
17437 wine_fn_config_test dlls
/dmband
/tests dmband_test
17438 wine_fn_config_dll dmcompos enable_dmcompos clean
17439 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
17440 wine_fn_config_dll dmime enable_dmime clean
17441 wine_fn_config_test dlls
/dmime
/tests dmime_test
17442 wine_fn_config_dll dmloader enable_dmloader clean
17443 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
17444 wine_fn_config_dll dmscript enable_dmscript clean
17445 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
17446 wine_fn_config_dll dmstyle enable_dmstyle clean
17447 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
17448 wine_fn_config_dll dmsynth enable_dmsynth clean
17449 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
17450 wine_fn_config_dll dmusic enable_dmusic clean
17451 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
17452 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17453 wine_fn_config_dll dnsapi enable_dnsapi implib
17454 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
17455 wine_fn_config_dll dplay enable_dplay implib
17456 wine_fn_config_dll dplayx enable_dplayx clean
,implib
17457 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
17458 wine_fn_config_dll dpnaddr enable_dpnaddr
17459 wine_fn_config_dll dpnet enable_dpnet clean
,implib
17460 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
17461 wine_fn_config_dll dpnhpast enable_dpnhpast
17462 wine_fn_config_dll dpnlobby enable_dpnlobby
17463 wine_fn_config_dll dpvoice enable_dpvoice clean
17464 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
17465 wine_fn_config_dll dpwsockx enable_dpwsockx
17466 wine_fn_config_dll drmclien enable_drmclien
17467 wine_fn_config_dll dsound enable_dsound clean
,implib
17468 wine_fn_config_test dlls
/dsound
/tests dsound_test
17469 wine_fn_config_dll dssenh enable_dssenh
17470 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
17471 wine_fn_config_dll dswave enable_dswave clean
17472 wine_fn_config_test dlls
/dswave
/tests dswave_test
17473 wine_fn_config_dll dwmapi enable_dwmapi implib
17474 wine_fn_config_dll dwrite enable_dwrite implib
17475 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
17476 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
17477 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
17478 wine_fn_config_lib dxerr8
17479 wine_fn_config_lib dxerr9
17480 wine_fn_config_dll dxgi enable_dxgi implib
17481 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
17482 wine_fn_config_lib dxguid
17483 wine_fn_config_dll dxva2 enable_dxva2
17484 wine_fn_config_dll esent enable_esent
17485 wine_fn_config_dll evr enable_evr
17486 wine_fn_config_dll explorerframe enable_explorerframe clean
17487 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17488 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17489 wine_fn_config_dll faultrep enable_faultrep implib
17490 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17491 wine_fn_config_dll fltlib enable_fltlib
17492 wine_fn_config_dll fntcache enable_fntcache
17493 wine_fn_config_dll fontsub enable_fontsub
17494 wine_fn_config_dll fusion enable_fusion
17495 wine_fn_config_test dlls
/fusion
/tests fusion_test
17496 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17497 wine_fn_config_dll gameux enable_gameux clean
17498 wine_fn_config_test dlls
/gameux
/tests gameux_test
17499 wine_fn_config_dll gdi.exe16 enable_win16
17500 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
17501 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
17502 wine_fn_config_dll gdiplus enable_gdiplus implib
17503 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
17504 wine_fn_config_dll glu32 enable_glu32 implib
17505 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17506 wine_fn_config_dll gpkcsp enable_gpkcsp
17507 wine_fn_config_dll hal enable_hal
17508 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
17509 wine_fn_config_dll hid enable_hid implib
17510 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17511 wine_fn_config_dll hlink enable_hlink clean
,implib
17512 wine_fn_config_test dlls
/hlink
/tests hlink_test
17513 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17514 wine_fn_config_dll httpapi enable_httpapi
17515 wine_fn_config_dll iccvid enable_iccvid po
17516 wine_fn_config_dll icmp enable_icmp
17517 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
17518 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17519 wine_fn_config_dll ifsmgr.vxd enable_win16
17520 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17521 wine_fn_config_dll imagehlp enable_imagehlp implib
17522 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17523 wine_fn_config_dll imm.dll16 enable_win16
17524 wine_fn_config_dll imm32 enable_imm32 implib
17525 wine_fn_config_test dlls
/imm32
/tests imm32_test
17526 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17527 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17528 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17529 wine_fn_config_dll inetmib1 enable_inetmib1
17530 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17531 wine_fn_config_dll infosoft enable_infosoft clean
17532 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17533 wine_fn_config_dll initpki enable_initpki
17534 wine_fn_config_dll inkobj enable_inkobj
17535 wine_fn_config_dll inseng enable_inseng clean
17536 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17537 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17538 wine_fn_config_dll itircl enable_itircl
17539 wine_fn_config_dll itss enable_itss clean
17540 wine_fn_config_test dlls
/itss
/tests itss_test
17541 wine_fn_config_dll joy.cpl enable_joy_cpl po
17542 wine_fn_config_dll jscript enable_jscript clean
,po
17543 wine_fn_config_test dlls
/jscript
/tests jscript_test
17544 wine_fn_config_dll jsproxy enable_jsproxy implib
17545 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
17546 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17547 wine_fn_config_dll keyboard.drv16 enable_win16
17548 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17549 wine_fn_config_dll ksuser enable_ksuser
17550 wine_fn_config_dll ktmw32 enable_ktmw32
17551 wine_fn_config_dll loadperf enable_loadperf implib
17552 wine_fn_config_dll localspl enable_localspl po
17553 wine_fn_config_test dlls
/localspl
/tests localspl_test
17554 wine_fn_config_dll localui enable_localui po
17555 wine_fn_config_test dlls
/localui
/tests localui_test
17556 wine_fn_config_dll lz32 enable_lz32 implib
17557 wine_fn_config_test dlls
/lz32
/tests lz32_test
17558 wine_fn_config_dll lzexpand.dll16 enable_win16
17559 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
17560 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17561 wine_fn_config_dll mapistub enable_mapistub
17562 wine_fn_config_dll mciavi32 enable_mciavi32
17563 wine_fn_config_dll mcicda enable_mcicda
17564 wine_fn_config_dll mciqtz32 enable_mciqtz32
17565 wine_fn_config_dll mciseq enable_mciseq
17566 wine_fn_config_dll mciwave enable_mciwave
17567 wine_fn_config_dll mf enable_mf
17568 wine_fn_config_dll mfplat enable_mfplat
17569 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17570 wine_fn_config_dll mgmtapi enable_mgmtapi
17571 wine_fn_config_dll midimap enable_midimap
17572 wine_fn_config_dll mlang enable_mlang clean
,implib
17573 wine_fn_config_test dlls
/mlang
/tests mlang_test
17574 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17575 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
17576 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17577 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
17578 wine_fn_config_dll mmdevldr.vxd enable_win16
17579 wine_fn_config_dll mmsystem.dll16 enable_win16
17580 wine_fn_config_dll monodebg.vxd enable_win16
17581 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17582 wine_fn_config_dll mouse.drv16 enable_win16
17583 wine_fn_config_dll mpr enable_mpr implib
,po
17584 wine_fn_config_test dlls
/mpr
/tests mpr_test
17585 wine_fn_config_dll mprapi enable_mprapi implib
17586 wine_fn_config_dll msacm.dll16 enable_win16
17587 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17588 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
17589 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
17590 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17591 wine_fn_config_dll msasn1 enable_msasn1 implib
17592 wine_fn_config_dll mscat32 enable_mscat32
17593 wine_fn_config_dll mscms enable_mscms implib
17594 wine_fn_config_test dlls
/mscms
/tests mscms_test
17595 wine_fn_config_dll mscoree enable_mscoree clean
17596 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
17597 wine_fn_config_dll msctf enable_msctf clean
17598 wine_fn_config_test dlls
/msctf
/tests msctf_test
17599 wine_fn_config_dll msctfp enable_msctfp clean
17600 wine_fn_config_dll msdaps enable_msdaps clean
17601 wine_fn_config_dll msdelta enable_msdelta
17602 wine_fn_config_dll msdmo enable_msdmo implib
17603 wine_fn_config_test dlls
/msdmo
/tests msdmo_test
17604 wine_fn_config_dll msftedit enable_msftedit
17605 wine_fn_config_dll msg711.acm enable_msg711_acm
17606 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17607 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17608 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
17609 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
17610 wine_fn_config_dll msi enable_msi clean
,implib
,po
17611 wine_fn_config_test dlls
/msi
/tests msi_test
17612 wine_fn_config_dll msident enable_msident clean
17613 wine_fn_config_dll msimg32 enable_msimg32 implib
17614 wine_fn_config_dll msimsg enable_msimsg
17615 wine_fn_config_dll msimtf enable_msimtf clean
17616 wine_fn_config_dll msisip enable_msisip
17617 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17618 wine_fn_config_dll msls31 enable_msls31
17619 wine_fn_config_dll msnet32 enable_msnet32
17620 wine_fn_config_dll mspatcha enable_mspatcha implib
17621 wine_fn_config_dll msrle32 enable_msrle32 po
17622 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
17623 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17624 wine_fn_config_dll mssign32 enable_mssign32
17625 wine_fn_config_dll mssip32 enable_mssip32
17626 wine_fn_config_dll mstask enable_mstask clean
17627 wine_fn_config_test dlls
/mstask
/tests mstask_test
17628 wine_fn_config_dll msvcirt enable_msvcirt
17629 wine_fn_config_test dlls
/msvcirt
/tests msvcirt_test
17630 wine_fn_config_dll msvcm80 enable_msvcm80
17631 wine_fn_config_dll msvcm90 enable_msvcm90
17632 wine_fn_config_dll msvcp100 enable_msvcp100
17633 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
17634 wine_fn_config_dll msvcp110 enable_msvcp110
17635 wine_fn_config_test dlls
/msvcp110
/tests msvcp110_test
17636 wine_fn_config_dll msvcp120 enable_msvcp120
17637 wine_fn_config_test dlls
/msvcp120
/tests msvcp120_test
17638 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17639 wine_fn_config_dll msvcp60 enable_msvcp60
17640 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
17641 wine_fn_config_dll msvcp70 enable_msvcp70
17642 wine_fn_config_dll msvcp71 enable_msvcp71
17643 wine_fn_config_dll msvcp80 enable_msvcp80
17644 wine_fn_config_dll msvcp90 enable_msvcp90
17645 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
17646 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17647 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
17648 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17649 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17650 wine_fn_config_test dlls
/msvcr120
/tests msvcr120_test
17651 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17652 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17653 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17654 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17655 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17656 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17657 wine_fn_config_dll msvcrt enable_msvcrt implib
17658 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17659 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17660 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17661 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17662 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17663 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17664 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17665 wine_fn_config_dll msvidc32 enable_msvidc32 po
17666 wine_fn_config_dll msvideo.dll16 enable_win16
17667 wine_fn_config_dll mswsock enable_mswsock implib
17668 wine_fn_config_dll msxml enable_msxml clean
17669 wine_fn_config_dll msxml2 enable_msxml2 clean
17670 wine_fn_config_dll msxml3 enable_msxml3 clean
17671 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17672 wine_fn_config_dll msxml4 enable_msxml4 clean
17673 wine_fn_config_dll msxml6 enable_msxml6 clean
17674 wine_fn_config_dll nddeapi enable_nddeapi implib
17675 wine_fn_config_dll ndis.sys enable_ndis_sys
17676 wine_fn_config_dll netapi32 enable_netapi32 implib
17677 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17678 wine_fn_config_dll netcfgx enable_netcfgx clean
17679 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
17680 wine_fn_config_dll netprofm enable_netprofm clean
17681 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
17682 wine_fn_config_dll newdev enable_newdev implib
17683 wine_fn_config_dll normaliz enable_normaliz implib
17684 wine_fn_config_dll npmshtml enable_npmshtml
17685 wine_fn_config_dll npptools enable_npptools
17686 wine_fn_config_dll ntdll enable_ntdll implib
17687 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17688 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17689 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17690 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17691 wine_fn_config_dll ntprint enable_ntprint
17692 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17693 wine_fn_config_dll objsel enable_objsel clean
17694 wine_fn_config_dll odbc32 enable_odbc32 implib
17695 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17696 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17697 wine_fn_config_dll odbccu32 enable_odbccu32
17698 wine_fn_config_dll ole2.dll16 enable_win16
17699 wine_fn_config_dll ole2conv.dll16 enable_win16
17700 wine_fn_config_dll ole2disp.dll16 enable_win16
17701 wine_fn_config_dll ole2nls.dll16 enable_win16
17702 wine_fn_config_dll ole2prox.dll16 enable_win16
17703 wine_fn_config_dll ole2thk.dll16 enable_win16
17704 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17705 wine_fn_config_test dlls
/ole32
/tests ole32_test
17706 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17707 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17708 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17709 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17710 wine_fn_config_dll olecli.dll16 enable_win16
17711 wine_fn_config_dll olecli32 enable_olecli32 implib
17712 wine_fn_config_dll oledb32 enable_oledb32 clean
17713 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17714 wine_fn_config_dll oledlg enable_oledlg implib
,po
17715 wine_fn_config_test dlls
/oledlg
/tests oledlg_test
17716 wine_fn_config_dll olepro32 enable_olepro32 implib
17717 wine_fn_config_dll olesvr.dll16 enable_win16
17718 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17719 wine_fn_config_dll olethk32 enable_olethk32
17720 wine_fn_config_dll openal32 enable_openal32
17721 wine_fn_config_dll opencl enable_opencl
17722 wine_fn_config_dll opengl32 enable_opengl32 implib
17723 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17724 wine_fn_config_dll packager enable_packager clean
17725 wine_fn_config_test dlls
/packager
/tests packager_test
17726 wine_fn_config_dll pdh enable_pdh implib
17727 wine_fn_config_test dlls
/pdh
/tests pdh_test
17728 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17729 wine_fn_config_dll pidgen enable_pidgen
17730 wine_fn_config_dll powrprof enable_powrprof implib
17731 wine_fn_config_dll printui enable_printui
17732 wine_fn_config_dll prntvpt enable_prntvpt
17733 wine_fn_config_dll propsys enable_propsys clean
,implib
17734 wine_fn_config_test dlls
/propsys
/tests propsys_test
17735 wine_fn_config_dll psapi enable_psapi implib
17736 wine_fn_config_test dlls
/psapi
/tests psapi_test
17737 wine_fn_config_dll pstorec enable_pstorec clean
17738 wine_fn_config_dll qcap enable_qcap
17739 wine_fn_config_test dlls
/qcap
/tests qcap_test
17740 wine_fn_config_dll qedit enable_qedit clean
17741 wine_fn_config_test dlls
/qedit
/tests qedit_test
17742 wine_fn_config_dll qmgr enable_qmgr clean
17743 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17744 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17745 wine_fn_config_dll quartz enable_quartz clean
,implib
17746 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17747 wine_fn_config_dll query enable_query
17748 wine_fn_config_dll rasapi16.dll16 enable_win16
17749 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17750 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17751 wine_fn_config_dll rasdlg enable_rasdlg implib
17752 wine_fn_config_dll regapi enable_regapi
17753 wine_fn_config_dll resutils enable_resutils implib
17754 wine_fn_config_dll riched20 enable_riched20 clean
,implib
17755 wine_fn_config_test dlls
/riched20
/tests riched20_test
17756 wine_fn_config_dll riched32 enable_riched32
17757 wine_fn_config_test dlls
/riched32
/tests riched32_test
17758 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17759 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17760 wine_fn_config_dll rsabase enable_rsabase
17761 wine_fn_config_dll rsaenh enable_rsaenh implib
17762 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17763 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17764 wine_fn_config_dll rtutils enable_rtutils implib
17765 wine_fn_config_dll samlib enable_samlib
17766 wine_fn_config_dll sane.ds enable_sane_ds po
17767 wine_fn_config_dll scarddlg enable_scarddlg
17768 wine_fn_config_dll sccbase enable_sccbase
17769 wine_fn_config_dll schannel enable_schannel
17770 wine_fn_config_test dlls
/schannel
/tests schannel_test
17771 wine_fn_config_dll schedsvc enable_schedsvc clean
17772 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
17773 wine_fn_config_dll scrrun enable_scrrun clean
17774 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17775 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17776 wine_fn_config_dll secur32 enable_secur32 implib
17777 wine_fn_config_test dlls
/secur32
/tests secur32_test
17778 wine_fn_config_dll security enable_security
17779 wine_fn_config_dll sensapi enable_sensapi implib
17780 wine_fn_config_dll serialui enable_serialui implib
,po
17781 wine_fn_config_test dlls
/serialui
/tests serialui_test
17782 wine_fn_config_dll setupapi enable_setupapi implib
,po
17783 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17784 wine_fn_config_dll setupx.dll16 enable_win16
17785 wine_fn_config_dll sfc enable_sfc implib
17786 wine_fn_config_dll sfc_os enable_sfc_os implib
17787 wine_fn_config_dll shdoclc enable_shdoclc po
17788 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17789 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17790 wine_fn_config_dll shell.dll16 enable_win16
17791 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17792 wine_fn_config_test dlls
/shell32
/tests shell32_test
17793 wine_fn_config_dll shfolder enable_shfolder implib
17794 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17795 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17796 wine_fn_config_dll slbcsp enable_slbcsp
17797 wine_fn_config_dll slc enable_slc implib
17798 wine_fn_config_test dlls
/slc
/tests slc_test
17799 wine_fn_config_dll snmpapi enable_snmpapi implib
17800 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17801 wine_fn_config_dll softpub enable_softpub
17802 wine_fn_config_dll sound.drv16 enable_win16
17803 wine_fn_config_dll spoolss enable_spoolss implib
17804 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17805 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17806 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17807 wine_fn_config_dll sti enable_sti clean
,implib
17808 wine_fn_config_test dlls
/sti
/tests sti_test
17809 wine_fn_config_dll storage.dll16 enable_win16
17810 wine_fn_config_dll stress.dll16 enable_win16
17811 wine_fn_config_lib strmbase
17812 wine_fn_config_lib strmiids
17813 wine_fn_config_dll svrapi enable_svrapi
17814 wine_fn_config_dll sxs enable_sxs implib
17815 wine_fn_config_test dlls
/sxs
/tests sxs_test
17816 wine_fn_config_dll system.drv16 enable_win16
17817 wine_fn_config_dll t2embed enable_t2embed
17818 wine_fn_config_dll tapi32 enable_tapi32 implib
17819 wine_fn_config_dll taskschd enable_taskschd clean
17820 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17821 wine_fn_config_dll toolhelp.dll16 enable_win16
17822 wine_fn_config_dll traffic enable_traffic
17823 wine_fn_config_dll twain.dll16 enable_win16
17824 wine_fn_config_dll twain_32 enable_twain_32
17825 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17826 wine_fn_config_dll typelib.dll16 enable_win16
17827 wine_fn_config_dll ucrtbase enable_ucrtbase
17828 wine_fn_config_test dlls
/ucrtbase
/tests ucrtbase_test
17829 wine_fn_config_dll unicows enable_unicows implib
17830 wine_fn_config_dll updspapi enable_updspapi
17831 wine_fn_config_dll url enable_url implib
17832 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17833 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17834 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17835 wine_fn_config_dll user.exe16 enable_win16
17836 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17837 wine_fn_config_test dlls
/user32
/tests user32_test
17838 wine_fn_config_dll userenv enable_userenv implib
17839 wine_fn_config_test dlls
/userenv
/tests userenv_test
17840 wine_fn_config_dll usp10 enable_usp10 implib
17841 wine_fn_config_test dlls
/usp10
/tests usp10_test
17842 wine_fn_config_lib uuid
17843 wine_fn_config_dll uxtheme enable_uxtheme implib
17844 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17845 wine_fn_config_dll vbscript enable_vbscript clean
17846 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17847 wine_fn_config_dll vcomp enable_vcomp
17848 wine_fn_config_test dlls
/vcomp
/tests vcomp_test
17849 wine_fn_config_dll vcomp100 enable_vcomp100
17850 wine_fn_config_dll vcomp110 enable_vcomp110
17851 wine_fn_config_dll vcomp90 enable_vcomp90
17852 wine_fn_config_dll vdhcp.vxd enable_win16
17853 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17854 wine_fn_config_dll ver.dll16 enable_win16
17855 wine_fn_config_dll version enable_version implib
17856 wine_fn_config_test dlls
/version
/tests version_test
17857 wine_fn_config_dll vmm.vxd enable_win16
17858 wine_fn_config_dll vnbt.vxd enable_win16
17859 wine_fn_config_dll vnetbios.vxd enable_win16
17860 wine_fn_config_dll vssapi enable_vssapi
17861 wine_fn_config_dll vtdapi.vxd enable_win16
17862 wine_fn_config_dll vwin32.vxd enable_win16
17863 wine_fn_config_dll w32skrnl enable_win16
17864 wine_fn_config_dll w32sys.dll16 enable_win16
17865 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17866 wine_fn_config_test dlls
/wbemdisp
/tests wbemdisp_test
17867 wine_fn_config_dll wbemprox enable_wbemprox clean
17868 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17869 wine_fn_config_dll webservices enable_webservices implib
17870 wine_fn_config_test dlls
/webservices
/tests webservices_test
17871 wine_fn_config_dll wer enable_wer implib
17872 wine_fn_config_test dlls
/wer
/tests wer_test
17873 wine_fn_config_dll wevtapi enable_wevtapi
17874 wine_fn_config_dll wiaservc enable_wiaservc clean
17875 wine_fn_config_test dlls
/wiaservc
/tests wiaservc_test
17876 wine_fn_config_dll win32s16.dll16 enable_win16
17877 wine_fn_config_dll win87em.dll16 enable_win16
17878 wine_fn_config_dll winaspi.dll16 enable_win16
17879 wine_fn_config_dll windebug.dll16 enable_win16
17880 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17881 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17882 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17883 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17884 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17885 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17886 wine_fn_config_lib winecrt0
17887 wine_fn_config_dll wined3d enable_wined3d implib
17888 wine_fn_config_dll winegstreamer enable_winegstreamer
17889 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17890 wine_fn_config_dll winemac.drv enable_winemac_drv
17891 wine_fn_config_dll winemapi enable_winemapi
17892 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17893 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17894 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17895 wine_fn_config_dll wineps16.drv16 enable_win16
17896 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17897 wine_fn_config_dll winex11.drv enable_winex11_drv
17898 wine_fn_config_dll wing.dll16 enable_win16
17899 wine_fn_config_dll wing32 enable_wing32
17900 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17901 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17902 wine_fn_config_dll wininet enable_wininet implib
,po
17903 wine_fn_config_test dlls
/wininet
/tests wininet_test
17904 wine_fn_config_dll winmm enable_winmm implib
,po
17905 wine_fn_config_test dlls
/winmm
/tests winmm_test
17906 wine_fn_config_dll winnls.dll16 enable_win16
17907 wine_fn_config_dll winnls32 enable_winnls32 implib
17908 wine_fn_config_dll winscard enable_winscard implib
17909 wine_fn_config_dll winsock.dll16 enable_win16
17910 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17911 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17912 wine_fn_config_dll winsta enable_winsta
17913 wine_fn_config_dll wintab.dll16 enable_win16
17914 wine_fn_config_dll wintab32 enable_wintab32 implib
17915 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17916 wine_fn_config_dll wintrust enable_wintrust implib
17917 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17918 wine_fn_config_dll wlanapi enable_wlanapi
17919 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17920 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17921 wine_fn_config_dll wmi enable_wmi
17922 wine_fn_config_dll wmiutils enable_wmiutils clean
17923 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17924 wine_fn_config_dll wmp enable_wmp clean
17925 wine_fn_config_test dlls
/wmp
/tests wmp_test
17926 wine_fn_config_dll wmvcore enable_wmvcore
17927 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17928 wine_fn_config_dll wow32 enable_win16 implib
17929 wine_fn_config_dll wpcap enable_wpcap
17930 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17931 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17932 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17933 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17934 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17935 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17936 wine_fn_config_dll wsock32 enable_wsock32 implib
17937 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17938 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
17939 wine_fn_config_dll wuapi enable_wuapi clean
17940 wine_fn_config_dll wuaueng enable_wuaueng
17941 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
17942 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
17943 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
17944 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
17945 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
17946 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
17947 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
17948 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7 implib
17949 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17950 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
17951 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
17952 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
17953 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
17954 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
17955 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
17956 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
17957 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
17958 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
17959 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
17960 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
17961 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
17962 wine_fn_config_test dlls
/xaudio2_
7/tests xaudio2_7_test
17963 wine_fn_config_dll xaudio2_8 enable_xaudio2_8
17964 wine_fn_config_dll xinput1_1 enable_xinput1_1
17965 wine_fn_config_dll xinput1_2 enable_xinput1_2
17966 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17967 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17968 wine_fn_config_dll xinput1_4 enable_xinput1_4
17969 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17970 wine_fn_config_dll xmllite enable_xmllite implib
17971 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17972 wine_fn_config_dll xolehlp enable_xolehlp
17973 wine_fn_config_dll xpsprint enable_xpsprint
17974 wine_fn_config_dll xpssvcs enable_xpssvcs
17975 wine_fn_config_makefile documentation enable_documentation clean
17976 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17977 wine_fn_config_makefile include enable_include clean
,install-dev
17978 wine_fn_config_makefile libs
/port enable_libs_port
17979 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17980 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17981 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17982 wine_fn_config_program arp enable_arp
install
17983 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17984 wine_fn_config_program attrib enable_attrib
install,po
17985 wine_fn_config_program cabarc enable_cabarc
install
17986 wine_fn_config_program cacls enable_cacls
install
17987 wine_fn_config_program
clock enable_clock
install,po
17988 wine_fn_config_program cmd enable_cmd
install,po
17989 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17990 wine_fn_config_program conhost enable_conhost
install
17991 wine_fn_config_program control enable_control
install
17992 wine_fn_config_program cscript enable_cscript clean
,install
17993 wine_fn_config_program dpnsvr enable_dpnsvr
install
17994 wine_fn_config_program dxdiag enable_dxdiag
install,po
17995 wine_fn_config_program eject enable_eject
install
17996 wine_fn_config_program
expand enable_expand
install
17997 wine_fn_config_program explorer enable_explorer
install,po
17998 wine_fn_config_program extrac32 enable_extrac32
install
17999 wine_fn_config_program findstr enable_findstr
install
18000 wine_fn_config_program hh enable_hh
install
18001 wine_fn_config_program hostname enable_hostname
install,po
18002 wine_fn_config_program icinfo enable_icinfo
install
18003 wine_fn_config_program iexplore enable_iexplore
install
18004 wine_fn_config_program ipconfig enable_ipconfig
install,po
18005 wine_fn_config_program lodctr enable_lodctr
install
18006 wine_fn_config_program mofcomp enable_mofcomp
install
18007 wine_fn_config_program mshta enable_mshta
install
18008 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
18009 wine_fn_config_program net enable_net
install,po
18010 wine_fn_config_program netsh enable_netsh
install
18011 wine_fn_config_program netstat enable_netstat
install,po
18012 wine_fn_config_program ngen enable_ngen
install
18013 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
18014 wine_fn_config_program oleview enable_oleview
install,po
18015 wine_fn_config_program
ping enable_ping
install
18016 wine_fn_config_program plugplay enable_plugplay
install
18017 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
18018 wine_fn_config_program progman enable_progman
install,po
18019 wine_fn_config_program reg enable_reg
install,po
18020 wine_fn_config_test programs
/reg
/tests reg.exe_test
18021 wine_fn_config_program regasm enable_regasm
install
18022 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
18023 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
18024 wine_fn_config_program regsvcs enable_regsvcs
install
18025 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
,po
18026 wine_fn_config_program rpcss enable_rpcss clean
,install
18027 wine_fn_config_program rundll.exe16 enable_win16
install
18028 wine_fn_config_program rundll32 enable_rundll32
install
18029 wine_fn_config_program sc enable_sc
install
18030 wine_fn_config_program schtasks enable_schtasks
install
18031 wine_fn_config_program sdbinst enable_sdbinst
install
18032 wine_fn_config_program secedit enable_secedit
install
18033 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
18034 wine_fn_config_program services enable_services clean
,install
18035 wine_fn_config_test programs
/services
/tests services.exe_test
18036 wine_fn_config_program spoolsv enable_spoolsv
install
18037 wine_fn_config_program start enable_start
install,po
18038 wine_fn_config_program svchost enable_svchost
install
18039 wine_fn_config_program systeminfo enable_systeminfo
install
18040 wine_fn_config_program taskkill enable_taskkill
install,po
18041 wine_fn_config_program tasklist enable_tasklist
install
18042 wine_fn_config_program taskmgr enable_taskmgr
install,po
18043 wine_fn_config_program termsv enable_termsv
install
18044 wine_fn_config_program uninstaller enable_uninstaller
install,po
18045 wine_fn_config_program unlodctr enable_unlodctr
install
18046 wine_fn_config_program view enable_view
install,po
18047 wine_fn_config_program wevtutil enable_wevtutil
install
18048 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
18049 wine_fn_config_program winebrowser enable_winebrowser
install
18050 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
18051 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
18052 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
18053 wine_fn_config_program winedevice enable_winedevice
install
18054 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
18055 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
18056 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
18057 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
18058 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
18059 wine_fn_config_program winetest enable_winetest clean
18060 wine_fn_config_program winevdm enable_win16
install
18061 wine_fn_config_program winhelp.exe16 enable_win16
install
18062 wine_fn_config_program winhlp32 enable_winhlp32
install,po
18063 wine_fn_config_program winoldap.mod16 enable_win16
install
18064 wine_fn_config_program winver enable_winver
install
18065 wine_fn_config_program wmic enable_wmic
install,po
18066 wine_fn_config_program wordpad enable_wordpad
install,po
18067 wine_fn_config_program
write enable_write
install,po
18068 wine_fn_config_program wscript enable_wscript clean
,install
18069 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
18070 wine_fn_config_program wusa enable_wusa
install
18071 wine_fn_config_program xcopy enable_xcopy
install,po
18072 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
18073 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
18074 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
18075 wine_fn_config_tool tools
/sfnt2fon clean
18076 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
18077 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
18078 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
18079 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
18080 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
18081 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
18133 wine_fn_ignore_file
".gitignore"
18134 wine_fn_ignore_file
"Makefile"
18135 wine_fn_ignore_file
"TAGS"
18136 wine_fn_ignore_file
"tags"
18137 wine_fn_ignore_file
"autom4te.cache"
18138 wine_fn_ignore_file
"config.cache"
18139 wine_fn_ignore_file
"config.log"
18140 wine_fn_ignore_file
"config.status"
18141 wine_fn_ignore_file
"configure.lineno"
18142 wine_fn_ignore_file
"include/config.h"
18143 wine_fn_ignore_file
"include/stamp-h"
18144 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
18146 if test "x$enable_tools" != xno
18148 wine_fn_ignore_file
"tools/makedep$ac_exeext"
18149 ac_config_commands
="$ac_config_commands tools/makedep"
18153 ac_config_commands
="$ac_config_commands Makefile"
18156 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
18160 if test "x$enable_maintainer_mode" = xyes
18162 wine_fn_append_rule
"configure: configure.ac aclocal.m4
18163 autoconf --warnings=all
18164 include/config.h.in: include/stamp-h.in
18165 include/stamp-h.in: configure.ac aclocal.m4
18166 autoheader --warnings=all
18167 @echo timestamp > \$@"
18170 if test "x$with_gettextpo" = xyes
18172 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
18173 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
18174 \$(LINGUAS:%=po/%.po): po/wine.pot
18175 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
18176 po/wine.pot: \$(ALL_POT_FILES)
18177 msgcat -o \$@ \$(ALL_POT_FILES)"
18180 if test "$MSGFMT" != false
18182 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
18184 \$(RM) \$(LINGUAS:%=po/%.mo)"
18187 test "$srcdir" = . || posrc
="$srcdir/po"
18190 wine_fn_ignore_file
"po/$i.mo"
18191 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
18192 \$(MSGFMT) -o \$@ $posrc/$i.po"
18198 if test "x$enable_tools" != xno
18200 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18201 @./config.status tools/makedep
18202 Makefile: tools/makedep$ac_exeext
18204 \$(RM) tools/makedep$ac_exeext"
18206 wine_fn_append_rule
"\$(MAKEDEP):
18207 @echo \"You need to run make in $TOOLSDIR first\" && false"
18210 if test -n "$with_wine64"
18212 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18213 fonts server tools:
18214 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18215 $with_wine64/loader/wine:
18216 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18217 $with_wine64/loader/wine-preloader:
18218 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18220 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18222 as_fn_append LOADER_RULES
"
18223 install install-lib:: wine.inf install-man-pages
18224 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
18225 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18228 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18232 if test "$srcdir" = .
18234 ac_config_commands
="$ac_config_commands .gitignore"
18238 $as_echo " done" >&6
18239 cat >confcache
<<\_ACEOF
18240 # This file is a shell script that caches the results of configure
18241 # tests run on this system so they can be shared between configure
18242 # scripts and configure runs, see configure's option --config-cache.
18243 # It is not useful on other systems. If it contains results you don't
18244 # want to keep, you may remove or edit it.
18246 # config.status only pays attention to the cache file if you give it
18247 # the --recheck option to rerun configure.
18249 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18250 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18251 # following values.
18255 # The following way of writing the cache mishandles newlines in values,
18256 # but we know of no workaround that is simple, portable, and efficient.
18257 # So, we kill variables containing newlines.
18258 # Ultrix sh set writes to stderr and can't be redirected directly,
18259 # and sets the high bit in the cache file unless we assign to the vars.
18261 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18262 eval ac_val
=\$
$ac_var
18266 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18267 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18270 _ | IFS | as_nl
) ;; #(
18271 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
18272 *) { eval $ac_var=; unset $ac_var;} ;;
18278 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18279 *${as_nl}ac_space
=\
*)
18280 # `set' does not quote correctly, so add quotes: double-quote
18281 # substitution turns \\\\ into \\, and sed turns \\ into \.
18284 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18287 # `set' quotes correctly as required by POSIX, so do not add quotes.
18288 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18297 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18299 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18301 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18302 if test -w "$cache_file"; then
18303 if test "x$cache_file" != "x/dev/null"; then
18304 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18305 $as_echo "$as_me: updating cache $cache_file" >&6;}
18306 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
18307 cat confcache
>"$cache_file"
18309 case $cache_file in #(
18311 mv -f confcache
"$cache_file"$$
&&
18312 mv -f "$cache_file"$$
"$cache_file" ;; #(
18314 mv -f confcache
"$cache_file" ;;
18319 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18320 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18325 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18326 # Let make expand exec_prefix.
18327 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18329 DEFS
=-DHAVE_CONFIG_H
18334 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18335 # 1. Remove the extension, and $U if already installed.
18336 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18337 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18338 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18339 # will be set to the directory where LIBOBJS objects are built.
18340 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18341 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
18343 LIBOBJS
=$ac_libobjs
18345 LTLIBOBJS
=$ac_ltlibobjs
18349 : "${CONFIG_STATUS=./config.status}"
18351 ac_clean_files_save
=$ac_clean_files
18352 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18353 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18354 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18356 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18358 # Generated by $as_me.
18359 # Run this file to recreate the current configuration.
18360 # Compiler output produced by configure, useful for debugging
18361 # configure, is in config.log if it exists.
18364 ac_cs_recheck=false
18367 SHELL=\${CONFIG_SHELL-$SHELL}
18370 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
18371 ## -------------------- ##
18372 ## M4sh Initialization. ##
18373 ## -------------------- ##
18375 # Be more Bourne compatible
18376 DUALCASE
=1; export DUALCASE
# for MKS sh
18377 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
18380 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18381 # is contrary to our usage. Disable this feature.
18382 alias -g '${1+"$@"}'='"$@"'
18383 setopt NO_GLOB_SUBST
18385 case `(set -o) 2>/dev/null` in #(
18397 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18398 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18399 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18400 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18401 # Prefer a ksh shell builtin over an external printf program on Solaris,
18402 # but without wasting forks for bash or zsh.
18403 if test -z "$BASH_VERSION$ZSH_VERSION" \
18404 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18405 as_echo='print
-r --'
18406 as_echo_n='print
-rn --'
18407 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18408 as_echo='printf %s
\n'
18409 as_echo_n='printf %s
'
18411 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18412 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18413 as_echo_n='/usr
/ucb
/echo -n'
18415 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18416 as_echo_n_body='eval
18420 expr "X$arg" : "X\\(.*\\)$as_nl";
18421 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18423 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18425 export as_echo_n_body
18426 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18428 export as_echo_body
18429 as_echo='sh
-c $as_echo_body as_echo
'
18432 # The user is always right.
18433 if test "${PATH_SEPARATOR+set}" != set; then
18435 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18436 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18443 # We need space, tab and new line, in precisely that order. Quoting is
18444 # there to prevent editors from complaining about space-tab.
18445 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18446 # splitting by setting IFS to empty value.)
18449 # Find who we are. Look in the path if we contain no directory separator.
18452 *[\\/]* ) as_myself=$0 ;;
18453 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18454 for as_dir in $PATH
18457 test -z "$as_dir" && as_dir=.
18458 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18464 # We did not find ourselves, most probably we were run as `sh COMMAND'
18465 # in which case we are not to be found in the path.
18466 if test "x$as_myself" = x
; then
18469 if test ! -f "$as_myself"; then
18470 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18474 # Unset variables that we do not need and which cause bugs (e.g. in
18475 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18476 # suppresses any "Segmentation fault" message there. '((' could
18477 # trigger a bug in pdksh 5.2.14.
18478 for as_var
in BASH_ENV ENV MAIL MAILPATH
18479 do eval test x\
${$as_var+set} = xset \
18480 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18493 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18496 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18497 # ----------------------------------------
18498 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18499 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18500 # script with STATUS, using 1 if that was 0.
18503 as_status
=$1; test $as_status -eq 0 && as_status
=1
18505 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18506 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18508 $as_echo "$as_me: error: $2" >&2
18509 as_fn_exit
$as_status
18513 # as_fn_set_status STATUS
18514 # -----------------------
18515 # Set $? to STATUS, without forking.
18516 as_fn_set_status
()
18519 } # as_fn_set_status
18521 # as_fn_exit STATUS
18522 # -----------------
18523 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18527 as_fn_set_status
$1
18533 # Portably unset VAR.
18536 { eval $1=; unset $1;}
18538 as_unset
=as_fn_unset
18539 # as_fn_append VAR VALUE
18540 # ----------------------
18541 # Append the text in VALUE to the end of the definition contained in VAR. Take
18542 # advantage of any shell optimizations that allow amortized linear growth over
18543 # repeated appends, instead of the typical quadratic growth present in naive
18545 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18546 eval 'as_fn_append ()
18557 # as_fn_arith ARG...
18558 # ------------------
18559 # Perform arithmetic evaluation on the ARGs, and store the result in the
18560 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18561 # must be portable across $(()) and expr.
18562 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18563 eval 'as_fn_arith ()
18570 as_val
=`expr "$@" || test $? -eq 1`
18575 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18576 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18582 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18583 as_basename
=basename
18588 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18594 as_me
=`$as_basename -- "$0" ||
18595 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18596 X"$0" : 'X\(//\)$' \| \
18597 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18599 sed '/^.*\/\([^/][^/]*\)\/*$/{
18613 # Avoid depending upon Character Ranges.
18614 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18615 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18616 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18617 as_cr_digits
='0123456789'
18618 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18620 ECHO_C
= ECHO_N
= ECHO_T
=
18621 case `echo -n x` in #(((((
18623 case `echo 'xy\c'` in
18624 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18626 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18633 rm -f conf$$ conf$$.exe conf$$.
file
18634 if test -d conf$$.dir
; then
18635 rm -f conf$$.dir
/conf$$.
file
18638 mkdir conf$$.dir
2>/dev
/null
18640 if (echo >conf$$.
file) 2>/dev
/null
; then
18641 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18643 # ... but there are two gotchas:
18644 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18645 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18646 # In both cases, we have to default to `cp -pR'.
18647 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18649 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18657 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18658 rmdir conf$$.dir
2>/dev
/null
18663 # Create "$as_dir" as a directory, including parents if necessary.
18668 -*) as_dir
=.
/$as_dir;;
18670 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18674 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18675 *) as_qdir
=$as_dir;;
18677 as_dirs
="'$as_qdir' $as_dirs"
18678 as_dir
=`$as_dirname -- "$as_dir" ||
18679 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18680 X"$as_dir" : 'X\(//\)[^/]' \| \
18681 X"$as_dir" : 'X\(//\)$' \| \
18682 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18683 $as_echo X"$as_dir" |
18684 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18688 /^X\(\/\/\)[^/].*/{
18701 test -d "$as_dir" && break
18703 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18704 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18708 if mkdir
-p .
2>/dev
/null
; then
18709 as_mkdir_p
='mkdir -p "$as_dir"'
18711 test -d .
/-p && rmdir .
/-p
18716 # as_fn_executable_p FILE
18717 # -----------------------
18718 # Test if FILE is an executable regular file.
18719 as_fn_executable_p
()
18721 test -f "$1" && test -x "$1"
18722 } # as_fn_executable_p
18723 as_test_x
='test -x'
18724 as_executable_p
=as_fn_executable_p
18726 # Sed expression to map a string onto a valid CPP name.
18727 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18729 # Sed expression to map a string onto a valid variable name.
18730 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18734 ## ----------------------------------- ##
18735 ## Main body of $CONFIG_STATUS script. ##
18736 ## ----------------------------------- ##
18738 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18740 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18741 # Save the log message, to keep $0 and so on meaningful, and to
18742 # report actual input values of CONFIG_FILES etc. instead of their
18743 # values after options handling.
18745 This file was extended by Wine $as_me 1.7.52, which was
18746 generated by GNU Autoconf 2.69. Invocation command line was
18748 CONFIG_FILES = $CONFIG_FILES
18749 CONFIG_HEADERS = $CONFIG_HEADERS
18750 CONFIG_LINKS = $CONFIG_LINKS
18751 CONFIG_COMMANDS = $CONFIG_COMMANDS
18754 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18759 case $ac_config_files in *"
18760 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18763 case $ac_config_headers in *"
18764 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18768 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18769 # Files that config.status was made for.
18770 config_files="$ac_config_files"
18771 config_headers="$ac_config_headers"
18772 config_links="$ac_config_links"
18773 config_commands="$ac_config_commands"
18777 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18779 \`$as_me' instantiates files and other configuration actions
18780 from templates according to the current configuration. Unless the files
18781 and actions are specified as TAGs, all are instantiated by default.
18783 Usage: $0 [OPTION]... [TAG]...
18785 -h, --help print this help, then exit
18786 -V, --version print version number and configuration settings, then exit
18787 --config print configuration, then exit
18788 -q, --quiet, --silent
18789 do not print progress messages
18790 -d, --debug don't remove temporary files
18791 --recheck update $as_me by reconfiguring in the same conditions
18792 --file=FILE[:TEMPLATE]
18793 instantiate the configuration file FILE
18794 --header=FILE[:TEMPLATE]
18795 instantiate the configuration header FILE
18797 Configuration files:
18800 Configuration headers:
18803 Configuration links:
18806 Configuration commands:
18809 Report bugs to <wine-devel@winehq.org>.
18810 Wine home page: <http://www.winehq.org>."
18813 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18814 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18816 Wine config.status 1.7.52
18817 configured by $0, generated by GNU Autoconf 2.69,
18818 with options \\"\$ac_cs_config\\"
18820 Copyright (C) 2012 Free Software Foundation, Inc.
18821 This config.status script is free software; the Free Software Foundation
18822 gives unlimited permission to copy, distribute and modify it."
18826 test -n "\$AWK" || AWK=awk
18829 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18830 # The default lists apply if the user does not specify any file.
18836 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18837 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18841 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18853 # Handling of the options.
18854 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18856 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18857 $as_echo "$ac_cs_version"; exit ;;
18858 --config |
--confi |
--conf |
--con |
--co |
--c )
18859 $as_echo "$ac_cs_config"; exit ;;
18860 --debug |
--debu |
--deb |
--de |
--d |
-d )
18862 --file |
--fil |
--fi |
--f )
18865 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18866 '') as_fn_error $?
"missing file argument" ;;
18868 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18869 ac_need_defaults
=false
;;
18870 --header |
--heade |
--head |
--hea )
18873 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18875 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18876 ac_need_defaults
=false
;;
18878 # Conflict between --help and --header
18879 as_fn_error $?
"ambiguous option: \`$1'
18880 Try \`$0 --help' for more information.";;
18881 --help |
--hel |
-h )
18882 $as_echo "$ac_cs_usage"; exit ;;
18883 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18884 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18887 # This is an error.
18888 -*) as_fn_error $?
"unrecognized option: \`$1'
18889 Try \`$0 --help' for more information." ;;
18891 *) as_fn_append ac_config_targets
" $1"
18892 ac_need_defaults
=false
;;
18898 ac_configure_extra_args
=
18900 if $ac_cs_silent; then
18902 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18906 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18907 if \$ac_cs_recheck; then
18908 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18910 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18911 CONFIG_SHELL='$SHELL'
18912 export CONFIG_SHELL
18917 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18921 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18922 ## Running $as_me. ##
18928 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18932 wine_fn_output_makedep ()
18934 as_dir=tools; as_fn_mkdir_p
18935 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18937 wine_fn_output_makefile ()
18939 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18940 `cat $wine_rules_file`
18942 as_fn_error $? "could not create Makefile" "$LINENO" 5
18944 wine_fn_output_gitignore ()
18946 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18949 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18954 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18956 # Handling of arguments.
18957 for ac_config_target
in $ac_config_targets
18959 case $ac_config_target in
18960 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18961 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18962 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18963 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18964 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18965 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18966 "fonts/wingding.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
18967 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18968 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18969 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18970 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18971 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
18972 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18973 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18974 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18976 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18981 # If the user did not use the arguments to specify the items to instantiate,
18982 # then the envvar interface is used. Set only those that are not.
18983 # We use the long form for the default assignment because of an extremely
18984 # bizarre bug on SunOS 4.1.3.
18985 if $ac_need_defaults; then
18986 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18987 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18988 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18989 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18992 # Have a temporary directory for convenience. Make it in the build tree
18993 # simply because there is no reason against having it here, and in addition,
18994 # creating and moving files from /tmp can sometimes cause problems.
18995 # Hook for its removal unless debugging.
18996 # Note that there is a small window in which the directory will not be cleaned:
18997 # after its creation but before its name has been assigned to `$tmp'.
19001 trap 'exit_status=$?
19002 : "${ac_tmp:=$tmp}"
19003 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19005 trap 'as_fn_exit 1' 1 2 13 15
19007 # Create a (secure) tmp directory for tmp files.
19010 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19014 tmp
=.
/conf$$
-$RANDOM
19015 (umask 077 && mkdir
"$tmp")
19016 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
19019 # Set up the scripts for CONFIG_FILES section.
19020 # No need to generate them if there are no CONFIG_FILES.
19021 # This happens for instance with `./config.status config.h'.
19022 if test -n "$CONFIG_FILES"; then
19025 ac_cr
=`echo X | tr X '\015'`
19026 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19027 # But we know of no other shell where ac_cr would be empty at this
19028 # point, so we can use a bashism as a fallback.
19029 if test "x$ac_cr" = x
; then
19030 eval ac_cr
=\$
\'\\r
\'
19032 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19033 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19036 ac_cs_awk_cr
=$ac_cr
19039 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19044 echo "cat >conf$$subs.awk <<_ACEOF" &&
19045 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19047 } >conf$$subs.sh ||
19048 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19049 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19051 for ac_last_try in false false false false false :; do
19052 . ./conf$$subs.sh ||
19053 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19055 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
19056 if test $ac_delim_n = $ac_delim_num; then
19058 elif $ac_last_try; then
19059 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19061 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19064 rm -f conf$$subs.sh
19066 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19067 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
19071 s/^/S["/; s
/!.
*/"]=/
19081 s/\(.\{148\}\)..*/\1/
19083 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
19088 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19095 s/\(.\{148\}\)..*/\1/
19097 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
19101 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19106 ' <conf$$subs.awk | sed '
19111 ' >>$CONFIG_STATUS || ac_write_fail=1
19112 rm -f conf$$subs.awk
19113 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19115 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
19116 for (key in S) S_is_set[key] = 1
19122 nfields = split(line, field, "@
")
19124 len = length(field[1])
19125 for (i = 2; i < nfields; i++) {
19127 keylen = length(key)
19128 if (S_is_set[key]) {
19130 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19131 len += length(value) + length(field[++i])
19142 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19143 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19144 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
19147 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
19148 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
19151 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19152 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
19153 # trailing colons and then remove the whole line if VPATH becomes empty
19154 # (actually we leave an empty line to preserve line numbers).
19155 if test "x
$srcdir" = x.; then
19156 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19174 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19175 fi # test -n "$CONFIG_FILES"
19177 # Set up the scripts for CONFIG_HEADERS section.
19178 # No need to generate them if there are no CONFIG_HEADERS.
19179 # This happens for instance with `./config.status Makefile'.
19180 if test -n "$CONFIG_HEADERS"; then
19181 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
19185 # Transform confdefs.h into an awk script `defines.awk', embedded as
19186 # here-document in config.status, that substitutes the proper values into
19187 # config.h.in to produce config.h.
19189 # Create a delimiter string that does not exist in confdefs.h, to ease
19190 # handling of long lines.
19192 for ac_last_try in false false :; do
19193 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
19194 if test -z "$ac_tt"; then
19196 elif $ac_last_try; then
19197 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
19199 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19203 # For the awk script, D is an array of macro values keyed by name,
19204 # likewise P contains macro parameters if any. Preserve backslash
19205 # newline sequences.
19207 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19209 s/.\{148\}/&'"$ac_delim"'/g
19212 s/^[ ]*#[ ]*define[ ][ ]*/ /
19219 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
19221 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
19225 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
19226 D["\
1"]=" \
3\\\\\\n
"\\/p
19228 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
19233 s/.\{148\}/&'"$ac_delim"'/g
19238 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
19241 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
19243 ' <confdefs.h | sed '
19244 s/'"$ac_delim"'/"\\\
19245 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19247 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19248 for (key in D) D_is_set[key] = 1
19251 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19253 split(line, arg, " ")
19254 if (arg[1] == "#") {
19258 defundef
= substr
(arg
[1], 2)
19261 split(mac1
, mac2
, "(") #)
19263 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
19264 if (D_is_set
[macro
]) {
19265 # Preserve the white space surrounding the "#".
19266 print prefix
"define", macro P
[macro
] D
[macro
]
19269 # Replace #undef with comments. This is necessary, for example,
19270 # in the case of _POSIX_SOURCE, which is predefined and required
19271 # on some systems where configure will not decide to define it.
19272 if (defundef
== "undef") {
19273 print
"/*", prefix defundef
, macro
, "*/"
19281 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19282 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
19283 fi # test -n "$CONFIG_HEADERS"
19286 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19291 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19293 case $ac_mode$ac_tag in
19295 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
19296 :[FH
]-) ac_tag
=-:-;;
19297 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19314 -) ac_f
="$ac_tmp/stdin";;
19315 *) # Look for the file first in the build tree, then in the source tree
19316 # (if the path is not absolute). The absolute path cannot be DOS-style,
19317 # because $ac_f cannot contain `:'.
19321 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19323 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19325 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19326 as_fn_append ac_file_inputs
" '$ac_f'"
19329 # Let's still pretend it is `configure' which instantiates (i.e., don't
19330 # use $as_me), people would be surprised to read:
19331 # /* config.h. Generated by config.status. */
19332 configure_input
='Generated from '`
19333 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19335 if test x
"$ac_file" != x-
; then
19336 configure_input
="$ac_file. $configure_input"
19337 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19338 $as_echo "$as_me: creating $ac_file" >&6;}
19340 # Neutralize special characters interpreted by sed in replacement strings.
19341 case $configure_input in #(
19342 *\
&* |
*\|
* |
*\\* )
19343 ac_sed_conf_input
=`$as_echo "$configure_input" |
19344 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19345 *) ac_sed_conf_input
=$configure_input;;
19349 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
19350 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
19355 ac_dir
=`$as_dirname -- "$ac_file" ||
19356 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19357 X"$ac_file" : 'X\(//\)[^/]' \| \
19358 X"$ac_file" : 'X\(//\)$' \| \
19359 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19360 $as_echo X"$ac_file" |
19361 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19365 /^X\(\/\/\)[^/].*/{
19378 as_dir
="$ac_dir"; as_fn_mkdir_p
19382 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19384 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19385 # A ".." for each directory in $ac_dir_suffix.
19386 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19387 case $ac_top_builddir_sub in
19388 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19389 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19392 ac_abs_top_builddir
=$ac_pwd
19393 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19394 # for backward compatibility:
19395 ac_top_builddir
=$ac_top_build_prefix
19398 .
) # We are building in place.
19400 ac_top_srcdir
=$ac_top_builddir_sub
19401 ac_abs_top_srcdir
=$ac_pwd ;;
19402 [\\/]* | ?
:[\\/]* ) # Absolute name.
19403 ac_srcdir
=$srcdir$ac_dir_suffix;
19404 ac_top_srcdir
=$srcdir
19405 ac_abs_top_srcdir
=$srcdir ;;
19406 *) # Relative name.
19407 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19408 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19409 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19411 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19422 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19423 # If the template does not know about datarootdir, expand it.
19424 # FIXME: This hack should be removed a few years after 2.60.
19425 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19436 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19437 *datarootdir
*) ac_datarootdir_seen
=yes;;
19438 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19440 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19442 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19443 ac_datarootdir_hack='
19444 s&@datadir@&$datadir&g
19445 s&@docdir@&$docdir&g
19446 s&@infodir@&$infodir&g
19447 s&@localedir@&$localedir&g
19448 s&@mandir@&$mandir&g
19449 s&\\\${datarootdir}&$datarootdir&g' ;;
19453 # Neutralize VPATH when `$srcdir' = `.'.
19454 # Shell code in configure.ac might set extrasub.
19455 # FIXME: do we really want to maintain this feature?
19456 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19457 ac_sed_extra="$ac_vpsub
19460 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19462 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19463 s|@configure_input@|
$ac_sed_conf_input|
;t t
19464 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19465 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19466 s
&@srcdir@
&$ac_srcdir&;t t
19467 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19468 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19469 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19470 s
&@builddir@
&$ac_builddir&;t t
19471 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19472 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19473 $ac_datarootdir_hack
19475 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19476 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19478 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19479 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19480 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19481 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19483 which seems to be undefined. Please make sure it is defined" >&5
19484 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19485 which seems to be undefined. Please make sure it is defined" >&2;}
19487 rm -f "$ac_tmp/stdin"
19489 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19490 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19492 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19498 if test x"$ac_file" != x-; then
19500 $as_echo "/* $configure_input */" \
19501 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19502 } >"$ac_tmp/config.h" \
19503 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19504 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19505 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19506 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19509 mv "$ac_tmp/config.h" "$ac_file" \
19510 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19513 $as_echo "/* $configure_input */" \
19514 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19515 || as_fn_error $? "could not create -" "$LINENO" 5
19523 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
19526 # Prefer the file from the source tree if names are identical.
19527 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19528 ac_source=$srcdir/$ac_source
19531 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19532 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19534 if test ! -r "$ac_source"; then
19535 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19539 # Try a relative symlink, then a hard link, then a copy.
19541 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19542 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19544 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19545 ln "$ac_source" "$ac_file" 2>/dev/null ||
19546 cp -p "$ac_source" "$ac_file" ||
19547 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19550 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19551 $as_echo "$as_me: executing $ac_file commands" >&6;}
19556 case $ac_file$ac_mode in
19557 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19558 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19559 "Makefile":C) wine_fn_output_makefile Makefile ;;
19560 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19568 ac_clean_files=$ac_clean_files_save
19570 test $ac_write_fail = 0 ||
19571 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19574 # configure is writing to config.log, and then calls config.status.
19575 # config.status does its own redirection, appending to config.log.
19576 # Unfortunately, on DOS this fails, as config.log is still kept open
19577 # by configure, so config.status won't be able to
write to it
; its
19578 # output is simply discarded. So we exec the FD to /dev/null,
19579 # effectively closing config.log, so it can be properly (re)opened and
19580 # appended to by config.status. When coming back to configure, we
19581 # need to make the FD available again.
19582 if test "$no_create" != yes; then
19584 ac_config_status_args
=
19585 test "$silent" = yes &&
19586 ac_config_status_args
="$ac_config_status_args --quiet"
19588 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19590 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19591 # would make configure fail if this is the last instruction.
19592 $ac_cs_success || as_fn_exit
1
19594 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19596 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19600 if test "$no_create" = "yes"
19606 if test "x$wine_notices != "x
; then
19609 for msg
in $wine_notices; do
19611 if ${msg:+false} :; then :
19614 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19615 $as_echo "$as_me: $msg" >&6;}
19620 for msg
in $wine_warnings; do
19622 if ${msg:+false} :; then :
19626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19627 $as_echo "$as_me: WARNING: $msg" >&2;}
19633 $as_me: Finished. Do '${ac_make}' to compile Wine.