2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.52.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev
/null
; then :
207 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
212 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir
=.
219 for as_base
in sh bash ksh sh5
; do
220 # Try only shells that exist, to save several forks.
221 as_shell
=$as_dir/$as_base
222 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
224 CONFIG_SHELL
=$as_shell as_have_required
=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
235 CONFIG_SHELL
=$SHELL as_have_required
=yes
240 if test "x$CONFIG_SHELL" != x
; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x
${ZSH_VERSION+set} = xset
; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
279 SHELL
=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE
= GREP_OPTIONS
=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir
=.
/$as_dir;;
324 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
328 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs
="'$as_qdir' $as_dirs"
332 as_dir
=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
358 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p
()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
401 as_val
=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status
=$1; test $as_status -eq 0 && as_status
=1
415 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit
$as_status
422 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
429 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
441 as_me
=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits
='0123456789'
465 as_cr_alnum
=$as_cr_Letters$as_cr_digits
468 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
469 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x
"$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec
=no
; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C
= ECHO_N
= ECHO_T
=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
516 rm -f conf$$ conf$$.exe conf$$.
file
517 if test -d conf$$.dir
; then
518 rm -f conf$$.dir
/conf$$.
file
521 mkdir conf$$.dir
2>/dev
/null
523 if (echo >conf$$.
file) 2>/dev
/null
; then
524 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
532 elif ln conf$$.
file conf$$
2>/dev
/null
; then
540 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
541 rmdir conf$$.dir
2>/dev
/null
543 if mkdir
-p .
2>/dev
/null
; then
544 as_mkdir_p
='mkdir -p "$as_dir"'
546 test -d .
/-p && rmdir .
/-p
551 as_executable_p
=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix
=/usr
/local
573 ac_config_libobj_dir
=.
580 # Identity of this package.
582 PACKAGE_TARNAME
='wine'
583 PACKAGE_VERSION
='1.7.52'
584 PACKAGE_STRING
='Wine 1.7.52'
585 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
586 PACKAGE_URL
='http://www.winehq.org'
588 ac_unique_file
="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default
="\
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
602 # ifdef HAVE_STDLIB_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
625 ac_subst_vars
='LTLIBOBJS
698 APPLICATIONSERVICES_LIBS
785 program_transform_name
798 enable_option_checking
802 enable_maintainer_mode
859 enable_api_ms_win_core_com_l1_1_0
860 enable_api_ms_win_core_console_l1_1_0
861 enable_api_ms_win_core_datetime_l1_1_0
862 enable_api_ms_win_core_datetime_l1_1_1
863 enable_api_ms_win_core_debug_l1_1_0
864 enable_api_ms_win_core_debug_l1_1_1
865 enable_api_ms_win_core_errorhandling_l1_1_0
866 enable_api_ms_win_core_errorhandling_l1_1_1
867 enable_api_ms_win_core_errorhandling_l1_1_2
868 enable_api_ms_win_core_fibers_l1_1_0
869 enable_api_ms_win_core_fibers_l1_1_1
870 enable_api_ms_win_core_file_l1_1_0
871 enable_api_ms_win_core_file_l1_2_0
872 enable_api_ms_win_core_file_l2_1_0
873 enable_api_ms_win_core_file_l2_1_1
874 enable_api_ms_win_core_handle_l1_1_0
875 enable_api_ms_win_core_heap_l1_1_0
876 enable_api_ms_win_core_heap_l1_2_0
877 enable_api_ms_win_core_heap_obsolete_l1_1_0
878 enable_api_ms_win_core_interlocked_l1_1_0
879 enable_api_ms_win_core_interlocked_l1_2_0
880 enable_api_ms_win_core_io_l1_1_1
881 enable_api_ms_win_core_kernel32_legacy_l1_1_0
882 enable_api_ms_win_core_libraryloader_l1_1_0
883 enable_api_ms_win_core_libraryloader_l1_1_1
884 enable_api_ms_win_core_localization_l1_2_0
885 enable_api_ms_win_core_localization_l1_2_1
886 enable_api_ms_win_core_localization_obsolete_l1_1_0
887 enable_api_ms_win_core_localregistry_l1_1_0
888 enable_api_ms_win_core_memory_l1_1_0
889 enable_api_ms_win_core_memory_l1_1_1
890 enable_api_ms_win_core_misc_l1_1_0
891 enable_api_ms_win_core_namedpipe_l1_1_0
892 enable_api_ms_win_core_namedpipe_l1_2_0
893 enable_api_ms_win_core_processenvironment_l1_1_0
894 enable_api_ms_win_core_processenvironment_l1_2_0
895 enable_api_ms_win_core_processthreads_l1_1_0
896 enable_api_ms_win_core_processthreads_l1_1_1
897 enable_api_ms_win_core_processthreads_l1_1_2
898 enable_api_ms_win_core_profile_l1_1_0
899 enable_api_ms_win_core_psapi_l1_1_0
900 enable_api_ms_win_core_registry_l1_1_0
901 enable_api_ms_win_core_rtlsupport_l1_1_0
902 enable_api_ms_win_core_rtlsupport_l1_2_0
903 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
904 enable_api_ms_win_core_string_l1_1_0
905 enable_api_ms_win_core_synch_l1_1_0
906 enable_api_ms_win_core_synch_l1_2_0
907 enable_api_ms_win_core_sysinfo_l1_1_0
908 enable_api_ms_win_core_sysinfo_l1_2_0
909 enable_api_ms_win_core_sysinfo_l1_2_1
910 enable_api_ms_win_core_threadpool_legacy_l1_1_0
911 enable_api_ms_win_core_timezone_l1_1_0
912 enable_api_ms_win_core_url_l1_1_0
913 enable_api_ms_win_core_util_l1_1_0
914 enable_api_ms_win_core_winrt_error_l1_1_0
915 enable_api_ms_win_core_winrt_error_l1_1_1
916 enable_api_ms_win_core_winrt_l1_1_0
917 enable_api_ms_win_core_winrt_string_l1_1_0
918 enable_api_ms_win_core_xstate_l2_1_0
919 enable_api_ms_win_crt_conio_l1_1_0
920 enable_api_ms_win_crt_convert_l1_1_0
921 enable_api_ms_win_crt_environment_l1_1_0
922 enable_api_ms_win_crt_filesystem_l1_1_0
923 enable_api_ms_win_crt_heap_l1_1_0
924 enable_api_ms_win_crt_locale_l1_1_0
925 enable_api_ms_win_crt_math_l1_1_0
926 enable_api_ms_win_crt_multibyte_l1_1_0
927 enable_api_ms_win_crt_private_l1_1_0
928 enable_api_ms_win_crt_process_l1_1_0
929 enable_api_ms_win_crt_runtime_l1_1_0
930 enable_api_ms_win_crt_stdio_l1_1_0
931 enable_api_ms_win_crt_string_l1_1_0
932 enable_api_ms_win_crt_time_l1_1_0
933 enable_api_ms_win_crt_utility_l1_1_0
934 enable_api_ms_win_downlevel_advapi32_l1_1_0
935 enable_api_ms_win_downlevel_advapi32_l2_1_0
936 enable_api_ms_win_downlevel_normaliz_l1_1_0
937 enable_api_ms_win_downlevel_ole32_l1_1_0
938 enable_api_ms_win_downlevel_shell32_l1_1_0
939 enable_api_ms_win_downlevel_shlwapi_l1_1_0
940 enable_api_ms_win_downlevel_shlwapi_l2_1_0
941 enable_api_ms_win_downlevel_user32_l1_1_0
942 enable_api_ms_win_downlevel_version_l1_1_0
943 enable_api_ms_win_eventing_provider_l1_1_0
944 enable_api_ms_win_ntuser_dc_access_l1_1_0
945 enable_api_ms_win_security_base_l1_1_0
946 enable_api_ms_win_security_base_l1_2_0
947 enable_api_ms_win_security_sddl_l1_1_0
948 enable_api_ms_win_service_core_l1_1_1
949 enable_api_ms_win_service_management_l1_1_0
950 enable_api_ms_win_service_winsvc_l1_2_0
993 enable_d3dcompiler_33
994 enable_d3dcompiler_34
995 enable_d3dcompiler_35
996 enable_d3dcompiler_36
997 enable_d3dcompiler_37
998 enable_d3dcompiler_38
999 enable_d3dcompiler_39
1000 enable_d3dcompiler_40
1001 enable_d3dcompiler_41
1002 enable_d3dcompiler_42
1003 enable_d3dcompiler_43
1004 enable_d3dcompiler_46
1005 enable_d3dcompiler_47
1083 enable_explorerframe
1084 enable_ext_ms_win_gdi_devcaps_l1_1_0
1243 enable_photometadatahandler
1327 enable_windowscodecs
1328 enable_windowscodecsext
1330 enable_winecoreaudio_drv
1332 enable_winegstreamer
1333 enable_winejoystick_drv
1339 enable_wineqtdecoder
1395 enable_documentation
1403 enable_aspnet_regiis
1436 enable_presentationfontcache
1449 enable_servicemodelreg
1470 enable_winemenubuilder
1472 enable_winemsibuilder
1486 ac_precious_vars
='build_alias
1535 # Initialize some variables set by options.
1537 ac_init_version
=false
1538 ac_unrecognized_opts
=
1539 ac_unrecognized_sep
=
1540 # The variables have the same names as the options, with
1541 # dashes changed to underlines.
1542 cache_file
=/dev
/null
1549 program_transform_name
=s
,x
,x
,
1557 # Installation directory options.
1558 # These are left unexpanded so users can "make install exec_prefix=/foo"
1559 # and all the variables that are supposed to be based on exec_prefix
1560 # by default will actually change.
1561 # Use braces instead of parens because sh, perl, etc. also accept them.
1562 # (The list follows the same order as the GNU Coding Standards.)
1563 bindir
='${exec_prefix}/bin'
1564 sbindir
='${exec_prefix}/sbin'
1565 libexecdir
='${exec_prefix}/libexec'
1566 datarootdir
='${prefix}/share'
1567 datadir
='${datarootdir}'
1568 sysconfdir
='${prefix}/etc'
1569 sharedstatedir
='${prefix}/com'
1570 localstatedir
='${prefix}/var'
1571 runstatedir
='${localstatedir}/run'
1572 includedir
='${prefix}/include'
1573 oldincludedir
='/usr/include'
1574 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1575 infodir
='${datarootdir}/info'
1580 libdir
='${exec_prefix}/lib'
1581 localedir
='${datarootdir}/locale'
1582 mandir
='${datarootdir}/man'
1588 # If the previous option needs an argument, assign it.
1589 if test -n "$ac_prev"; then
1590 eval $ac_prev=\
$ac_option
1596 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1601 # Accept the important Cygnus configure options, so we can diagnose typos.
1603 case $ac_dashdash$ac_option in
1607 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1609 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1610 bindir
=$ac_optarg ;;
1612 -build |
--build |
--buil |
--bui |
--bu)
1613 ac_prev
=build_alias
;;
1614 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1615 build_alias
=$ac_optarg ;;
1617 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1618 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1619 ac_prev
=cache_file
;;
1620 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1621 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1622 cache_file
=$ac_optarg ;;
1624 --config-cache |
-C)
1625 cache_file
=config.cache
;;
1627 -datadir |
--datadir |
--datadi |
--datad)
1629 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1630 datadir
=$ac_optarg ;;
1632 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1633 |
--dataroo |
--dataro |
--datar)
1634 ac_prev
=datarootdir
;;
1635 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1636 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1637 datarootdir
=$ac_optarg ;;
1639 -disable-* |
--disable-*)
1640 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1641 # Reject names that are not valid shell variable names.
1642 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1643 as_fn_error $?
"invalid feature name: $ac_useropt"
1644 ac_useropt_orig
=$ac_useropt
1645 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1646 case $ac_user_opts in
1648 "enable_
$ac_useropt"
1650 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1651 ac_unrecognized_sep
=', ';;
1653 eval enable_
$ac_useropt=no
;;
1655 -docdir |
--docdir |
--docdi |
--doc |
--do)
1657 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1658 docdir
=$ac_optarg ;;
1660 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1662 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1663 dvidir
=$ac_optarg ;;
1665 -enable-* |
--enable-*)
1666 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1667 # Reject names that are not valid shell variable names.
1668 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1669 as_fn_error $?
"invalid feature name: $ac_useropt"
1670 ac_useropt_orig
=$ac_useropt
1671 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1672 case $ac_user_opts in
1674 "enable_
$ac_useropt"
1676 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1677 ac_unrecognized_sep
=', ';;
1679 eval enable_
$ac_useropt=\
$ac_optarg ;;
1681 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1682 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1683 |
--exec |
--exe |
--ex)
1684 ac_prev
=exec_prefix
;;
1685 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1686 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1687 |
--exec=* |
--exe=* |
--ex=*)
1688 exec_prefix
=$ac_optarg ;;
1690 -gas |
--gas |
--ga |
--g)
1691 # Obsolete; use --with-gas.
1694 -help |
--help |
--hel |
--he |
-h)
1695 ac_init_help
=long
;;
1696 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1697 ac_init_help
=recursive
;;
1698 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1699 ac_init_help
=short
;;
1701 -host |
--host |
--hos |
--ho)
1702 ac_prev
=host_alias
;;
1703 -host=* |
--host=* |
--hos=* |
--ho=*)
1704 host_alias
=$ac_optarg ;;
1706 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1708 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1710 htmldir
=$ac_optarg ;;
1712 -includedir |
--includedir |
--includedi |
--included |
--include \
1713 |
--includ |
--inclu |
--incl |
--inc)
1714 ac_prev
=includedir
;;
1715 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1716 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1717 includedir
=$ac_optarg ;;
1719 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1721 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1722 infodir
=$ac_optarg ;;
1724 -libdir |
--libdir |
--libdi |
--libd)
1726 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1727 libdir
=$ac_optarg ;;
1729 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1730 |
--libexe |
--libex |
--libe)
1731 ac_prev
=libexecdir
;;
1732 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1733 |
--libexe=* |
--libex=* |
--libe=*)
1734 libexecdir
=$ac_optarg ;;
1736 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1737 ac_prev
=localedir
;;
1738 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1739 localedir
=$ac_optarg ;;
1741 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1742 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1743 ac_prev
=localstatedir
;;
1744 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1745 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1746 localstatedir
=$ac_optarg ;;
1748 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1750 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1751 mandir
=$ac_optarg ;;
1753 -nfp |
--nfp |
--nf)
1754 # Obsolete; use --without-fp.
1757 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1758 |
--no-cr |
--no-c |
-n)
1761 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1762 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1765 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1766 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1767 |
--oldin |
--oldi |
--old |
--ol |
--o)
1768 ac_prev
=oldincludedir
;;
1769 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1770 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1771 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1772 oldincludedir
=$ac_optarg ;;
1774 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1776 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1777 prefix
=$ac_optarg ;;
1779 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1780 |
--program-pre |
--program-pr |
--program-p)
1781 ac_prev
=program_prefix
;;
1782 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1783 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1784 program_prefix
=$ac_optarg ;;
1786 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1787 |
--program-suf |
--program-su |
--program-s)
1788 ac_prev
=program_suffix
;;
1789 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1790 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1791 program_suffix
=$ac_optarg ;;
1793 -program-transform-name |
--program-transform-name \
1794 |
--program-transform-nam |
--program-transform-na \
1795 |
--program-transform-n |
--program-transform- \
1796 |
--program-transform |
--program-transfor \
1797 |
--program-transfo |
--program-transf \
1798 |
--program-trans |
--program-tran \
1799 |
--progr-tra |
--program-tr |
--program-t)
1800 ac_prev
=program_transform_name
;;
1801 -program-transform-name=* |
--program-transform-name=* \
1802 |
--program-transform-nam=* |
--program-transform-na=* \
1803 |
--program-transform-n=* |
--program-transform-=* \
1804 |
--program-transform=* |
--program-transfor=* \
1805 |
--program-transfo=* |
--program-transf=* \
1806 |
--program-trans=* |
--program-tran=* \
1807 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1808 program_transform_name
=$ac_optarg ;;
1810 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1812 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1813 pdfdir
=$ac_optarg ;;
1815 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1817 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1820 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1821 |
-silent |
--silent |
--silen |
--sile |
--sil)
1824 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
1825 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
1826 |
--run |
--ru |
--r)
1827 ac_prev
=runstatedir
;;
1828 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
1829 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
1830 |
--run=* |
--ru=* |
--r=*)
1831 runstatedir
=$ac_optarg ;;
1833 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1835 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1837 sbindir
=$ac_optarg ;;
1839 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1840 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1841 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1843 ac_prev
=sharedstatedir
;;
1844 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1845 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1846 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1848 sharedstatedir
=$ac_optarg ;;
1850 -site |
--site |
--sit)
1852 -site=* |
--site=* |
--sit=*)
1855 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1857 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1858 srcdir
=$ac_optarg ;;
1860 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1861 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1862 ac_prev
=sysconfdir
;;
1863 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1864 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1865 sysconfdir
=$ac_optarg ;;
1867 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1868 ac_prev
=target_alias
;;
1869 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1870 target_alias
=$ac_optarg ;;
1872 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1875 -version |
--version |
--versio |
--versi |
--vers |
-V)
1876 ac_init_version
=: ;;
1879 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1880 # Reject names that are not valid shell variable names.
1881 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1882 as_fn_error $?
"invalid package name: $ac_useropt"
1883 ac_useropt_orig
=$ac_useropt
1884 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1885 case $ac_user_opts in
1889 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1890 ac_unrecognized_sep
=', ';;
1892 eval with_
$ac_useropt=\
$ac_optarg ;;
1894 -without-* |
--without-*)
1895 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1896 # Reject names that are not valid shell variable names.
1897 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1898 as_fn_error $?
"invalid package name: $ac_useropt"
1899 ac_useropt_orig
=$ac_useropt
1900 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1901 case $ac_user_opts in
1905 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1906 ac_unrecognized_sep
=', ';;
1908 eval with_
$ac_useropt=no
;;
1911 # Obsolete; use --with-x.
1914 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1915 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1916 ac_prev
=x_includes
;;
1917 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1918 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1919 x_includes
=$ac_optarg ;;
1921 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1922 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1923 ac_prev
=x_libraries
;;
1924 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1925 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1926 x_libraries
=$ac_optarg ;;
1928 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1929 Try \`$0 --help' for more information"
1933 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1934 # Reject names that are not valid shell variable names.
1935 case $ac_envvar in #(
1936 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1937 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1939 eval $ac_envvar=\
$ac_optarg
1940 export $ac_envvar ;;
1943 # FIXME: should be removed in autoconf 3.0.
1944 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1945 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1946 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1947 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1953 if test -n "$ac_prev"; then
1954 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1955 as_fn_error $?
"missing argument to $ac_option"
1958 if test -n "$ac_unrecognized_opts"; then
1959 case $enable_option_checking in
1961 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1962 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1966 # Check all directory arguments for consistency.
1967 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1968 datadir sysconfdir sharedstatedir localstatedir includedir \
1969 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1970 libdir localedir mandir runstatedir
1972 eval ac_val
=\$
$ac_var
1973 # Remove trailing slashes.
1976 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1977 eval $ac_var=\
$ac_val;;
1979 # Be sure to have absolute directory names.
1981 [\\/$
]* | ?
:[\\/]* ) continue;;
1982 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1984 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1987 # There might be people who depend on the old broken behavior: `$host'
1988 # used to hold the argument of --host etc.
1989 # FIXME: To remove some day.
1992 target
=$target_alias
1994 # FIXME: To remove some day.
1995 if test "x$host_alias" != x
; then
1996 if test "x$build_alias" = x
; then
1997 cross_compiling
=maybe
1998 elif test "x$build_alias" != "x$host_alias"; then
2004 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2006 test "$silent" = yes && exec 6>/dev
/null
2009 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2010 ac_ls_di
=`ls -di .` &&
2011 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2012 as_fn_error $?
"working directory cannot be determined"
2013 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2014 as_fn_error $?
"pwd does not report name of working directory"
2017 # Find the source files, if location was not specified.
2018 if test -z "$srcdir"; then
2019 ac_srcdir_defaulted
=yes
2020 # Try the directory containing this script, then the parent directory.
2021 ac_confdir
=`$as_dirname -- "$as_myself" ||
2022 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2023 X"$as_myself" : 'X\(//\)[^/]' \| \
2024 X"$as_myself" : 'X\(//\)$' \| \
2025 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2026 $as_echo X"$as_myself" |
2027 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2045 if test ! -r "$srcdir/$ac_unique_file"; then
2049 ac_srcdir_defaulted
=no
2051 if test ! -r "$srcdir/$ac_unique_file"; then
2052 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2053 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2055 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2057 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2059 # When building in place, set srcdir=.
2060 if test "$ac_abs_confdir" = "$ac_pwd"; then
2063 # Remove unnecessary trailing slashes from srcdir.
2064 # Double slashes in file names in object file debugging info
2065 # mess up M-x gdb in Emacs.
2067 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2069 for ac_var
in $ac_precious_vars; do
2070 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2071 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2072 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2073 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2077 # Report the --help message.
2079 if test "$ac_init_help" = "long"; then
2080 # Omit some internal or obsolete options to make the list less imposing.
2081 # This message is too long to be a string in the A/UX 3.1 sh.
2083 \`configure' configures Wine 1.7.52 to adapt to many kinds of systems.
2085 Usage: $0 [OPTION]... [VAR=VALUE]...
2087 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2088 VAR=VALUE. See below for descriptions of some of the useful variables.
2090 Defaults for the options are specified in brackets.
2093 -h, --help display this help and exit
2094 --help=short display options specific to this package
2095 --help=recursive display the short help of all the included packages
2096 -V, --version display version information and exit
2097 -q, --quiet, --silent do not print \`checking ...' messages
2098 --cache-file=FILE cache test results in FILE [disabled]
2099 -C, --config-cache alias for \`--cache-file=config.cache'
2100 -n, --no-create do not create output files
2101 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2103 Installation directories:
2104 --prefix=PREFIX install architecture-independent files in PREFIX
2105 [$ac_default_prefix]
2106 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2109 By default, \`make install' will install all the files in
2110 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2111 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2112 for instance \`--prefix=\$HOME'.
2114 For better control, use the options below.
2116 Fine tuning of the installation directories:
2117 --bindir=DIR user executables [EPREFIX/bin]
2118 --sbindir=DIR system admin executables [EPREFIX/sbin]
2119 --libexecdir=DIR program executables [EPREFIX/libexec]
2120 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2121 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2122 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2123 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2124 --libdir=DIR object code libraries [EPREFIX/lib]
2125 --includedir=DIR C header files [PREFIX/include]
2126 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2127 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2128 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2129 --infodir=DIR info documentation [DATAROOTDIR/info]
2130 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2131 --mandir=DIR man documentation [DATAROOTDIR/man]
2132 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2133 --htmldir=DIR html documentation [DOCDIR]
2134 --dvidir=DIR dvi documentation [DOCDIR]
2135 --pdfdir=DIR pdf documentation [DOCDIR]
2136 --psdir=DIR ps documentation [DOCDIR]
2142 --x-includes=DIR X include files are
in DIR
2143 --x-libraries=DIR X library files are
in DIR
2146 --build=BUILD configure
for building on BUILD
[guessed
]
2147 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2151 if test -n "$ac_init_help"; then
2152 case $ac_init_help in
2153 short | recursive
) echo "Configuration of Wine 1.7.52:";;
2158 --disable-option-checking ignore unrecognized
--enable/--with options
2159 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2160 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2161 --disable-win16 do not include Win16 support
2162 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2164 --disable-tests do not build the regression tests
2165 --enable-maintainer-mode
2166 enable maintainer-specific build rules
2167 --disable-largefile omit support for large files
2170 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2171 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2172 --without-alsa do not use the Alsa sound support
2173 --without-capi do not use CAPI (ISDN support)
2174 --without-cms do not use CMS (color management support)
2175 --without-coreaudio do not use the CoreAudio sound support
2176 --without-cups do not use CUPS
2177 --without-curses do not use (n)curses
2178 --without-dbus do not use DBus (dynamic device support)
2179 --without-fontconfig do not use fontconfig
2180 --without-freetype do not use the FreeType library
2181 --without-gettext do not use gettext
2182 --with-gettextpo use the GetTextPO library to rebuild po files
2183 --without-gphoto do not use gphoto (Digital Camera support)
2184 --without-glu do not use the GLU library
2185 --without-gnutls do not use GnuTLS (schannel support)
2186 --without-gsm do not use libgsm (GSM 06.10 codec support)
2187 --without-gstreamer do not use GStreamer (codecs support)
2188 --without-hal do not use HAL (dynamic device support)
2189 --without-jpeg do not use JPEG
2190 --without-ldap do not use LDAP
2191 --without-mpg123 do not use the mpg123 library
2192 --without-netapi do not use the Samba NetAPI library
2193 --without-openal do not use OpenAL
2194 --without-opencl do not use OpenCL
2195 --without-opengl do not use OpenGL
2196 --without-osmesa do not use the OSMesa library
2197 --without-oss do not use the OSS sound support
2198 --without-pcap do not use the Packet Capture library
2199 --without-png do not use PNG
2200 --without-pthread do not use the pthread library
2201 --without-sane do not use SANE (scanner support)
2202 --without-tiff do not use TIFF
2203 --without-v4l do not use v4l1 (v4l support)
2204 --without-xcomposite do not use the Xcomposite extension
2205 --without-xcursor do not use the Xcursor extension
2206 --without-xinerama do not use Xinerama (multi-monitor support)
2207 --without-xinput do not use the Xinput extension
2208 --without-xinput2 do not use the Xinput 2 extension
2209 --without-xml do not use XML
2210 --without-xrandr do not use Xrandr (resolution changes)
2211 --without-xrender do not use the Xrender extension
2212 --without-xshape do not use the Xshape extension
2213 --without-xshm do not use XShm (shared memory extension)
2214 --without-xslt do not use XSLT
2215 --without-xxf86vm do not use XFree video mode extension
2216 --without-zlib do not use Zlib (data compression)
2217 --with-wine-tools=DIR use Wine tools from directory DIR
2218 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2219 --with-x use the X Window System
2221 Some influential environment variables:
2222 CC C compiler command
2223 CFLAGS C compiler flags
2224 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2225 nonstandard directory <lib dir>
2226 LIBS libraries to pass to the linker, e.g. -l<library>
2227 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2228 you have headers in a nonstandard directory <include dir>
2229 CXX C++ compiler command
2230 CXXFLAGS C++ compiler flags
2232 XMKMF Path to xmkmf, Makefile generator for X Window System
2233 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2234 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2235 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2236 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2237 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2238 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2239 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2240 HAL_LIBS Linker flags for hal, overriding pkg-config
2242 C compiler flags for gnutls, overriding pkg-config
2243 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2244 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2245 SANE_LIBS Linker flags for libsane, overriding pkg-config
2247 C compiler flags for libgphoto2, overriding pkg-config
2249 Linker flags for libgphoto2, overriding pkg-config
2251 C compiler flags for libgphoto2_port, overriding pkg-config
2253 Linker flags for libgphoto2_port, overriding pkg-config
2255 C compiler flags for lcms2, overriding pkg-config
2256 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2258 C compiler flags for freetype2, overriding pkg-config
2260 Linker flags for freetype2, overriding pkg-config
2262 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2264 Linker flags for gstreamer-app-0.10, overriding pkg-config
2266 C compiler flags for capi20, overriding pkg-config
2267 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2269 C compiler flags for fontconfig, overriding pkg-config
2271 Linker flags for fontconfig, overriding pkg-config
2272 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2273 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2274 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2275 PNG_LIBS Linker flags for libpng, overriding pkg-config
2276 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2277 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2279 C compiler flags for libmpg123, overriding pkg-config
2280 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2282 Use these variables to override the choices made by `configure' or to
help
2283 it to
find libraries and programs with nonstandard names
/locations.
2285 Report bugs to
<wine-devel@winehq.org
>.
2286 Wine home page
: <http
://www.winehq.org
>.
2291 if test "$ac_init_help" = "recursive"; then
2292 # If there are subdirs, report their specific --help.
2293 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2294 test -d "$ac_dir" ||
2295 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2300 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2302 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2303 # A ".." for each directory in $ac_dir_suffix.
2304 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2305 case $ac_top_builddir_sub in
2306 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2307 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2310 ac_abs_top_builddir
=$ac_pwd
2311 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2312 # for backward compatibility:
2313 ac_top_builddir
=$ac_top_build_prefix
2316 .
) # We are building in place.
2318 ac_top_srcdir
=$ac_top_builddir_sub
2319 ac_abs_top_srcdir
=$ac_pwd ;;
2320 [\\/]* | ?
:[\\/]* ) # Absolute name.
2321 ac_srcdir
=$srcdir$ac_dir_suffix;
2322 ac_top_srcdir
=$srcdir
2323 ac_abs_top_srcdir
=$srcdir ;;
2325 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2326 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2327 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2329 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2331 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2332 # Check for guested configure.
2333 if test -f "$ac_srcdir/configure.gnu"; then
2335 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2336 elif test -f "$ac_srcdir/configure"; then
2338 $SHELL "$ac_srcdir/configure" --help=recursive
2340 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2342 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2346 test -n "$ac_init_help" && exit $ac_status
2347 if $ac_init_version; then
2349 Wine configure
1.7.52
2350 generated by GNU Autoconf
2.69
2352 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2353 This configure
script is free software
; the Free Software Foundation
2354 gives unlimited permission to copy
, distribute and modify it.
2359 ## ------------------------ ##
2360 ## Autoconf initialization. ##
2361 ## ------------------------ ##
2363 # ac_fn_c_try_compile LINENO
2364 # --------------------------
2365 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2366 ac_fn_c_try_compile
()
2368 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2369 rm -f conftest.
$ac_objext
2370 if { { ac_try
="$ac_compile"
2372 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2373 *) ac_try_echo=$ac_try;;
2375 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2376 $as_echo "$ac_try_echo"; } >&5
2377 (eval "$ac_compile") 2>conftest.err
2379 if test -s conftest.err; then
2380 grep -v '^ *+' conftest.err >conftest.er1
2381 cat conftest.er1 >&5
2382 mv -f conftest.er1 conftest.err
2384 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2385 test $ac_status = 0; } && {
2386 test -z "$ac_c_werror_flag" ||
2387 test ! -s conftest.err
2388 } && test -s conftest.$ac_objext; then :
2391 $as_echo "$as_me: failed program was:" >&5
2392 sed 's/^/| /' conftest.$ac_ext >&5
2396 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2397 as_fn_set_status $ac_retval
2399 } # ac_fn_c_try_compile
2401 # ac_fn_cxx_try_compile LINENO
2402 # ----------------------------
2403 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2404 ac_fn_cxx_try_compile ()
2406 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2407 rm -f conftest.$ac_objext
2408 if { { ac_try="$ac_compile"
2410 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2411 *) ac_try_echo
=$ac_try;;
2413 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2414 $as_echo "$ac_try_echo"; } >&5
2415 (eval "$ac_compile") 2>conftest.err
2417 if test -s conftest.err
; then
2418 grep -v '^ *+' conftest.err
>conftest.er1
2419 cat conftest.er1
>&5
2420 mv -f conftest.er1 conftest.err
2422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2423 test $ac_status = 0; } && {
2424 test -z "$ac_cxx_werror_flag" ||
2425 test ! -s conftest.err
2426 } && test -s conftest.
$ac_objext; then :
2429 $as_echo "$as_me: failed program was:" >&5
2430 sed 's/^/| /' conftest.
$ac_ext >&5
2434 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2435 as_fn_set_status
$ac_retval
2437 } # ac_fn_cxx_try_compile
2439 # ac_fn_c_try_link LINENO
2440 # -----------------------
2441 # Try to link conftest.$ac_ext, and return whether this succeeded.
2444 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2445 rm -f conftest.
$ac_objext conftest
$ac_exeext
2446 if { { ac_try
="$ac_link"
2448 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2449 *) ac_try_echo=$ac_try;;
2451 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2452 $as_echo "$ac_try_echo"; } >&5
2453 (eval "$ac_link") 2>conftest.err
2455 if test -s conftest.err; then
2456 grep -v '^ *+' conftest.err >conftest.er1
2457 cat conftest.er1 >&5
2458 mv -f conftest.er1 conftest.err
2460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2461 test $ac_status = 0; } && {
2462 test -z "$ac_c_werror_flag" ||
2463 test ! -s conftest.err
2464 } && test -s conftest$ac_exeext && {
2465 test "$cross_compiling" = yes ||
2466 test -x conftest$ac_exeext
2470 $as_echo "$as_me: failed program was:" >&5
2471 sed 's/^/| /' conftest.$ac_ext >&5
2475 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2476 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2477 # interfere with the next link command; also delete a directory that is
2478 # left behind by Apple's compiler. We do this before executing the actions.
2479 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2480 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2481 as_fn_set_status $ac_retval
2483 } # ac_fn_c_try_link
2485 # ac_fn_c_try_cpp LINENO
2486 # ----------------------
2487 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2490 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2491 if { { ac_try="$ac_cpp conftest.$ac_ext"
2493 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2494 *) ac_try_echo
=$ac_try;;
2496 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2497 $as_echo "$ac_try_echo"; } >&5
2498 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2500 if test -s conftest.err
; then
2501 grep -v '^ *+' conftest.err
>conftest.er1
2502 cat conftest.er1
>&5
2503 mv -f conftest.er1 conftest.err
2505 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2506 test $ac_status = 0; } > conftest.i
&& {
2507 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2508 test ! -s conftest.err
2512 $as_echo "$as_me: failed program was:" >&5
2513 sed 's/^/| /' conftest.
$ac_ext >&5
2517 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2518 as_fn_set_status
$ac_retval
2522 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2523 # -------------------------------------------------------
2524 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2525 # the include files in INCLUDES and setting the cache variable VAR
2527 ac_fn_c_check_header_mongrel
()
2529 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2530 if eval \
${$3+:} false
; then :
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2532 $as_echo_n "checking for $2... " >&6; }
2533 if eval \
${$3+:} false
; then :
2534 $as_echo_n "(cached) " >&6
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2538 $as_echo "$ac_res" >&6; }
2540 # Is the header compilable?
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2542 $as_echo_n "checking $2 usability... " >&6; }
2543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2544 /* end confdefs.h. */
2548 if ac_fn_c_try_compile
"$LINENO"; then :
2549 ac_header_compiler
=yes
2551 ac_header_compiler
=no
2553 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2555 $as_echo "$ac_header_compiler" >&6; }
2557 # Is the header present?
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2559 $as_echo_n "checking $2 presence... " >&6; }
2560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2561 /* end confdefs.h. */
2564 if ac_fn_c_try_cpp
"$LINENO"; then :
2565 ac_header_preproc
=yes
2567 ac_header_preproc
=no
2569 rm -f conftest.err conftest.i conftest.
$ac_ext
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2571 $as_echo "$ac_header_preproc" >&6; }
2573 # So? What about this header?
2574 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2577 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2579 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2583 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2585 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2587 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2589 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2591 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2592 ( $as_echo "## ------------------------------------ ##
2593 ## Report this to wine-devel@winehq.org ##
2594 ## ------------------------------------ ##"
2595 ) |
sed "s/^/$as_me: WARNING: /" >&2
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2599 $as_echo_n "checking for $2... " >&6; }
2600 if eval \
${$3+:} false
; then :
2601 $as_echo_n "(cached) " >&6
2603 eval "$3=\$ac_header_compiler"
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2607 $as_echo "$ac_res" >&6; }
2609 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2611 } # ac_fn_c_check_header_mongrel
2613 # ac_fn_c_try_run LINENO
2614 # ----------------------
2615 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2616 # that executables *can* be run.
2619 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2620 if { { ac_try
="$ac_link"
2622 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2623 *) ac_try_echo=$ac_try;;
2625 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2626 $as_echo "$ac_try_echo"; } >&5
2627 (eval "$ac_link") 2>&5
2629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2630 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2631 { { case "(($ac_try" in
2632 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2633 *) ac_try_echo
=$ac_try;;
2635 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2636 $as_echo "$ac_try_echo"; } >&5
2637 (eval "$ac_try") 2>&5
2639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2640 test $ac_status = 0; }; }; then :
2643 $as_echo "$as_me: program exited with status $ac_status" >&5
2644 $as_echo "$as_me: failed program was:" >&5
2645 sed 's/^/| /' conftest.
$ac_ext >&5
2647 ac_retval
=$ac_status
2649 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2650 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2651 as_fn_set_status
$ac_retval
2655 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2656 # -------------------------------------------------------
2657 # Tests whether HEADER exists and can be compiled using the include files in
2658 # INCLUDES, setting the cache variable VAR accordingly.
2659 ac_fn_c_check_header_compile
()
2661 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2663 $as_echo_n "checking for $2... " >&6; }
2664 if eval \
${$3+:} false
; then :
2665 $as_echo_n "(cached) " >&6
2667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2668 /* end confdefs.h. */
2672 if ac_fn_c_try_compile
"$LINENO"; then :
2677 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2681 $as_echo "$ac_res" >&6; }
2682 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2684 } # ac_fn_c_check_header_compile
2686 # ac_fn_c_check_func LINENO FUNC VAR
2687 # ----------------------------------
2688 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2689 ac_fn_c_check_func
()
2691 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2693 $as_echo_n "checking for $2... " >&6; }
2694 if eval \
${$3+:} false
; then :
2695 $as_echo_n "(cached) " >&6
2697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2698 /* end confdefs.h. */
2699 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2700 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2701 #define $2 innocuous_$2
2703 /* System header to define __stub macros and hopefully few prototypes,
2704 which can conflict with char $2 (); below.
2705 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2706 <limits.h> exists even on freestanding compilers. */
2709 # include <limits.h>
2711 # include <assert.h>
2716 /* Override any GCC internal prototype to avoid an error.
2717 Use char because int might match the return type of a GCC
2718 builtin and then its argument prototype would still apply. */
2723 /* The GNU C library defines this for functions which it implements
2724 to always fail with ENOSYS. Some functions are actually named
2725 something starting with __ and the normal name is an alias. */
2726 #if defined __stub_$2 || defined __stub___$2
2738 if ac_fn_c_try_link
"$LINENO"; then :
2743 rm -f core conftest.err conftest.
$ac_objext \
2744 conftest
$ac_exeext conftest.
$ac_ext
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2748 $as_echo "$ac_res" >&6; }
2749 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2751 } # ac_fn_c_check_func
2753 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2754 # ----------------------------------------------------
2755 # Tries to find if the field MEMBER exists in type AGGR, after including
2756 # INCLUDES, setting cache variable VAR accordingly.
2757 ac_fn_c_check_member
()
2759 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2761 $as_echo_n "checking for $2.$3... " >&6; }
2762 if eval \
${$4+:} false
; then :
2763 $as_echo_n "(cached) " >&6
2765 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2766 /* end confdefs.h. */
2778 if ac_fn_c_try_compile
"$LINENO"; then :
2781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2782 /* end confdefs.h. */
2788 if (sizeof ac_aggr.$3)
2794 if ac_fn_c_try_compile
"$LINENO"; then :
2799 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2801 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2805 $as_echo "$ac_res" >&6; }
2806 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2808 } # ac_fn_c_check_member
2810 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2811 # -------------------------------------------
2812 # Tests whether TYPE exists after having included INCLUDES, setting cache
2813 # variable VAR accordingly.
2814 ac_fn_c_check_type
()
2816 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2818 $as_echo_n "checking for $2... " >&6; }
2819 if eval \
${$3+:} false
; then :
2820 $as_echo_n "(cached) " >&6
2823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2824 /* end confdefs.h. */
2835 if ac_fn_c_try_compile
"$LINENO"; then :
2836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2837 /* end confdefs.h. */
2848 if ac_fn_c_try_compile
"$LINENO"; then :
2853 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2855 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2859 $as_echo "$ac_res" >&6; }
2860 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2862 } # ac_fn_c_check_type
2863 cat >config.log
<<_ACEOF
2864 This file contains any messages produced by compilers while
2865 running configure, to aid debugging if configure makes a mistake.
2867 It was created by Wine $as_me 1.7.52, which was
2868 generated by GNU Autoconf 2.69. Invocation command line was
2880 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2881 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2882 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2883 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2884 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2886 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2887 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2889 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2890 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2891 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2892 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2893 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2894 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2895 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2903 test -z "$as_dir" && as_dir
=.
2904 $as_echo "PATH: $as_dir"
2920 # Keep a trace of the command line.
2921 # Strip out --no-create and --no-recursion so they do not pile up.
2922 # Strip out --silent because we don't want to record it for future runs.
2923 # Also quote any args containing shell meta-characters.
2924 # Make two passes to allow for proper duplicate-argument suppression.
2928 ac_must_keep_next
=false
2934 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2935 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2936 |
-silent |
--silent |
--silen |
--sile |
--sil)
2939 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2942 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2944 as_fn_append ac_configure_args1
" '$ac_arg'"
2945 if test $ac_must_keep_next = true
; then
2946 ac_must_keep_next
=false
# Got value, back to normal.
2949 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2950 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2951 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2952 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2953 case "$ac_configure_args0 " in
2954 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2957 -* ) ac_must_keep_next
=true
;;
2960 as_fn_append ac_configure_args
" '$ac_arg'"
2965 { ac_configure_args0
=; unset ac_configure_args0
;}
2966 { ac_configure_args1
=; unset ac_configure_args1
;}
2968 # When interrupted or exit'd, cleanup temporary files, and complete
2969 # config.log. We remove comments because anyway the quotes in there
2970 # would cause problems or look ugly.
2971 # WARNING: Use '\'' to represent an apostrophe within the trap.
2972 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2973 trap 'exit_status=$?
2974 # Save into config.log some information that might help in debugging.
2978 $as_echo "## ---------------- ##
2979 ## Cache variables. ##
2980 ## ---------------- ##"
2982 # The following way of writing the cache mishandles newlines in values,
2984 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2985 eval ac_val=\$$ac_var
2989 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2990 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2993 _ | IFS | as_nl) ;; #(
2994 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2995 *) { eval $ac_var=; unset $ac_var;} ;;
3000 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3001 *${as_nl}ac_space=\ *)
3003 "s/'\''/'\''\\\\'\'''\''/g;
3004 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3007 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3014 $as_echo "## ----------------- ##
3015 ## Output variables. ##
3016 ## ----------------- ##"
3018 for ac_var in $ac_subst_vars
3020 eval ac_val=\$$ac_var
3022 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3024 $as_echo "$ac_var='\''$ac_val'\''"
3028 if test -n "$ac_subst_files"; then
3029 $as_echo "## ------------------- ##
3030 ## File substitutions. ##
3031 ## ------------------- ##"
3033 for ac_var
in $ac_subst_files
3035 eval ac_val
=\$
$ac_var
3037 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3039 $as_echo "$ac_var='\''$ac_val'\''"
3044 if test -s confdefs.h; then
3045 $as_echo "## ----------- ##
3052 test "$ac_signal" != 0 &&
3053 $as_echo "$as_me: caught signal $ac_signal"
3054 $as_echo "$as_me: exit $exit_status"
3056 rm -f core *.core core.conftest.* &&
3057 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3060 for ac_signal
in 1 2 13 15; do
3061 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3065 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3066 rm -f -r conftest
* confdefs.h
3068 $as_echo "/* confdefs.h */" > confdefs.h
3070 # Predefined preprocessor variables.
3072 cat >>confdefs.h
<<_ACEOF
3073 #define PACKAGE_NAME "$PACKAGE_NAME"
3076 cat >>confdefs.h
<<_ACEOF
3077 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3080 cat >>confdefs.h
<<_ACEOF
3081 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3084 cat >>confdefs.h
<<_ACEOF
3085 #define PACKAGE_STRING "$PACKAGE_STRING"
3088 cat >>confdefs.h
<<_ACEOF
3089 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3092 cat >>confdefs.h
<<_ACEOF
3093 #define PACKAGE_URL "$PACKAGE_URL"
3097 # Let the site file select an alternate cache file if it wants to.
3098 # Prefer an explicitly selected file to automatically selected ones.
3101 if test -n "$CONFIG_SITE"; then
3102 # We do not want a PATH search for config.site.
3103 case $CONFIG_SITE in #((
3104 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3105 */*) ac_site_file1
=$CONFIG_SITE;;
3106 *) ac_site_file1
=.
/$CONFIG_SITE;;
3108 elif test "x$prefix" != xNONE
; then
3109 ac_site_file1
=$prefix/share
/config.site
3110 ac_site_file2
=$prefix/etc
/config.site
3112 ac_site_file1
=$ac_default_prefix/share
/config.site
3113 ac_site_file2
=$ac_default_prefix/etc
/config.site
3115 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3117 test "x$ac_site_file" = xNONE
&& continue
3118 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3120 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3121 sed 's/^/| /' "$ac_site_file" >&5
3123 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3124 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3125 as_fn_error $?
"failed to load site script $ac_site_file
3126 See \`config.log' for more details" "$LINENO" 5; }
3130 if test -r "$cache_file"; then
3131 # Some versions of bash will fail to source /dev/null (special files
3132 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3133 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3135 $as_echo "$as_me: loading cache $cache_file" >&6;}
3137 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3138 *) .
"./$cache_file";;
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3143 $as_echo "$as_me: creating cache $cache_file" >&6;}
3147 # Check that the precious variables saved in the cache have kept the same
3149 ac_cache_corrupted
=false
3150 for ac_var
in $ac_precious_vars; do
3151 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3152 eval ac_new_set
=\
$ac_env_${ac_var}_set
3153 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3154 eval ac_new_val
=\
$ac_env_${ac_var}_value
3155 case $ac_old_set,$ac_new_set in
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3158 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3159 ac_cache_corrupted
=: ;;
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3162 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3163 ac_cache_corrupted
=: ;;
3166 if test "x$ac_old_val" != "x$ac_new_val"; then
3167 # differences in whitespace do not lead to failure.
3168 ac_old_val_w
=`echo x $ac_old_val`
3169 ac_new_val_w
=`echo x $ac_new_val`
3170 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3172 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3173 ac_cache_corrupted
=:
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3176 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3177 eval $ac_var=\
$ac_old_val
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3180 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3182 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3185 # Pass precious variables to config.status.
3186 if test "$ac_new_set" = set; then
3188 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3189 *) ac_arg
=$ac_var=$ac_new_val ;;
3191 case " $ac_configure_args " in
3192 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3193 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3197 if $ac_cache_corrupted; then
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3199 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3201 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3202 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3204 ## -------------------- ##
3205 ## Main body of script. ##
3206 ## -------------------- ##
3209 ac_cpp
='$CPP $CPPFLAGS'
3210 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3211 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3212 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3216 ac_config_headers
="$ac_config_headers include/config.h"
3219 for ac_dir
in tools
"$srcdir"/tools
; do
3220 if test -f "$ac_dir/install-sh"; then
3222 ac_install_sh
="$ac_aux_dir/install-sh -c"
3224 elif test -f "$ac_dir/install.sh"; then
3226 ac_install_sh
="$ac_aux_dir/install.sh -c"
3228 elif test -f "$ac_dir/shtool"; then
3230 ac_install_sh
="$ac_aux_dir/shtool install -c"
3234 if test -z "$ac_aux_dir"; then
3235 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3238 # These three variables are undocumented and unsupported,
3239 # and are intended to be withdrawn in a future Autoconf release.
3240 # They can cause serious problems if a builder's source tree is in a directory
3241 # whose full name contains unusual characters.
3242 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3243 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3244 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3248 libwine_version
="1.0"
3252 # Check whether --enable-win16 was given.
3253 if test "${enable_win16+set}" = set; then :
3254 enableval
=$enable_win16;
3257 # Check whether --enable-win64 was given.
3258 if test "${enable_win64+set}" = set; then :
3259 enableval
=$enable_win64;
3262 # Check whether --enable-tests was given.
3263 if test "${enable_tests+set}" = set; then :
3264 enableval
=$enable_tests;
3267 # Check whether --enable-maintainer-mode was given.
3268 if test "${enable_maintainer_mode+set}" = set; then :
3269 enableval
=$enable_maintainer_mode;
3274 # Check whether --with-alsa was given.
3275 if test "${with_alsa+set}" = set; then :
3276 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3280 # Check whether --with-capi was given.
3281 if test "${with_capi+set}" = set; then :
3286 # Check whether --with-cms was given.
3287 if test "${with_cms+set}" = set; then :
3292 # Check whether --with-coreaudio was given.
3293 if test "${with_coreaudio+set}" = set; then :
3294 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3298 # Check whether --with-cups was given.
3299 if test "${with_cups+set}" = set; then :
3304 # Check whether --with-curses was given.
3305 if test "${with_curses+set}" = set; then :
3306 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3310 # Check whether --with-dbus was given.
3311 if test "${with_dbus+set}" = set; then :
3316 # Check whether --with-fontconfig was given.
3317 if test "${with_fontconfig+set}" = set; then :
3318 withval
=$with_fontconfig;
3322 # Check whether --with-freetype was given.
3323 if test "${with_freetype+set}" = set; then :
3324 withval
=$with_freetype;
3328 # Check whether --with-gettext was given.
3329 if test "${with_gettext+set}" = set; then :
3330 withval
=$with_gettext;
3334 # Check whether --with-gettextpo was given.
3335 if test "${with_gettextpo+set}" = set; then :
3336 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3340 # Check whether --with-gphoto was given.
3341 if test "${with_gphoto+set}" = set; then :
3342 withval
=$with_gphoto;
3346 # Check whether --with-glu was given.
3347 if test "${with_glu+set}" = set; then :
3352 # Check whether --with-gnutls was given.
3353 if test "${with_gnutls+set}" = set; then :
3354 withval
=$with_gnutls;
3358 # Check whether --with-gsm was given.
3359 if test "${with_gsm+set}" = set; then :
3360 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3364 # Check whether --with-gstreamer was given.
3365 if test "${with_gstreamer+set}" = set; then :
3366 withval
=$with_gstreamer;
3370 # Check whether --with-hal was given.
3371 if test "${with_hal+set}" = set; then :
3376 # Check whether --with-jpeg was given.
3377 if test "${with_jpeg+set}" = set; then :
3382 # Check whether --with-ldap was given.
3383 if test "${with_ldap+set}" = set; then :
3384 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3388 # Check whether --with-mpg123 was given.
3389 if test "${with_mpg123+set}" = set; then :
3390 withval
=$with_mpg123;
3394 # Check whether --with-netapi was given.
3395 if test "${with_netapi+set}" = set; then :
3396 withval
=$with_netapi;
3400 # Check whether --with-openal was given.
3401 if test "${with_openal+set}" = set; then :
3402 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3406 # Check whether --with-opencl was given.
3407 if test "${with_opencl+set}" = set; then :
3408 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3412 # Check whether --with-opengl was given.
3413 if test "${with_opengl+set}" = set; then :
3414 withval
=$with_opengl;
3418 # Check whether --with-osmesa was given.
3419 if test "${with_osmesa+set}" = set; then :
3420 withval
=$with_osmesa;
3424 # Check whether --with-oss was given.
3425 if test "${with_oss+set}" = set; then :
3430 # Check whether --with-pcap was given.
3431 if test "${with_pcap+set}" = set; then :
3432 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3436 # Check whether --with-png was given.
3437 if test "${with_png+set}" = set; then :
3442 # Check whether --with-pthread was given.
3443 if test "${with_pthread+set}" = set; then :
3444 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3448 # Check whether --with-sane was given.
3449 if test "${with_sane+set}" = set; then :
3454 # Check whether --with-tiff was given.
3455 if test "${with_tiff+set}" = set; then :
3460 # Check whether --with-v4l was given.
3461 if test "${with_v4l+set}" = set; then :
3466 # Check whether --with-xcomposite was given.
3467 if test "${with_xcomposite+set}" = set; then :
3468 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3472 # Check whether --with-xcursor was given.
3473 if test "${with_xcursor+set}" = set; then :
3474 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3478 # Check whether --with-xinerama was given.
3479 if test "${with_xinerama+set}" = set; then :
3480 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3484 # Check whether --with-xinput was given.
3485 if test "${with_xinput+set}" = set; then :
3486 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3490 # Check whether --with-xinput2 was given.
3491 if test "${with_xinput2+set}" = set; then :
3492 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3496 # Check whether --with-xml was given.
3497 if test "${with_xml+set}" = set; then :
3502 # Check whether --with-xrandr was given.
3503 if test "${with_xrandr+set}" = set; then :
3504 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3508 # Check whether --with-xrender was given.
3509 if test "${with_xrender+set}" = set; then :
3510 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3514 # Check whether --with-xshape was given.
3515 if test "${with_xshape+set}" = set; then :
3516 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3520 # Check whether --with-xshm was given.
3521 if test "${with_xshm+set}" = set; then :
3522 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3526 # Check whether --with-xslt was given.
3527 if test "${with_xslt+set}" = set; then :
3532 # Check whether --with-xxf86vm was given.
3533 if test "${with_xxf86vm+set}" = set; then :
3534 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
3538 # Check whether --with-zlib was given.
3539 if test "${with_zlib+set}" = set; then :
3540 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3545 # Check whether --with-wine-tools was given.
3546 if test "${with_wine_tools+set}" = set; then :
3547 withval
=$with_wine_tools;
3551 # Check whether --with-wine64 was given.
3552 if test "${with_wine64+set}" = set; then :
3553 withval
=$with_wine64;
3557 # Make sure we can run config.sub.
3558 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3559 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3562 $as_echo_n "checking build system type... " >&6; }
3563 if ${ac_cv_build+:} false
; then :
3564 $as_echo_n "(cached) " >&6
3566 ac_build_alias
=$build_alias
3567 test "x$ac_build_alias" = x
&&
3568 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3569 test "x$ac_build_alias" = x
&&
3570 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3571 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3572 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3576 $as_echo "$ac_cv_build" >&6; }
3577 case $ac_cv_build in
3579 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3582 ac_save_IFS
=$IFS; IFS
='-'
3588 # Remember, the first character of IFS is used to create $*,
3589 # except with old shells:
3592 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3596 $as_echo_n "checking host system type... " >&6; }
3597 if ${ac_cv_host+:} false
; then :
3598 $as_echo_n "(cached) " >&6
3600 if test "x$host_alias" = x
; then
3601 ac_cv_host
=$ac_cv_build
3603 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3604 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3609 $as_echo "$ac_cv_host" >&6; }
3612 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3615 ac_save_IFS
=$IFS; IFS
='-'
3621 # Remember, the first character of IFS is used to create $*,
3622 # except with old shells:
3625 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3631 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3632 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3633 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3639 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3641 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3642 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3643 $as_echo_n "(cached) " >&6
3645 cat >conftest.
make <<\_ACEOF
3648 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3650 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3651 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3653 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3655 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3659 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3661 $as_echo "yes" >&6; }
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3665 $as_echo "no" >&6; }
3666 SET_MAKE
="MAKE=${MAKE-make}"
3670 ac_cpp
='$CPP $CPPFLAGS'
3671 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3672 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3673 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3674 if test -n "$ac_tool_prefix"; then
3675 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3676 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3678 $as_echo_n "checking for $ac_word... " >&6; }
3679 if ${ac_cv_prog_CC+:} false
; then :
3680 $as_echo_n "(cached) " >&6
3682 if test -n "$CC"; then
3683 ac_cv_prog_CC
="$CC" # Let the user override the test.
3685 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3689 test -z "$as_dir" && as_dir
=.
3690 for ac_exec_ext
in '' $ac_executable_extensions; do
3691 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3692 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3703 if test -n "$CC"; then
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3705 $as_echo "$CC" >&6; }
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3708 $as_echo "no" >&6; }
3713 if test -z "$ac_cv_prog_CC"; then
3715 # Extract the first word of "gcc", so it can be a program name with args.
3716 set dummy gcc
; ac_word
=$2
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3718 $as_echo_n "checking for $ac_word... " >&6; }
3719 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3720 $as_echo_n "(cached) " >&6
3722 if test -n "$ac_ct_CC"; then
3723 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3729 test -z "$as_dir" && as_dir
=.
3730 for ac_exec_ext
in '' $ac_executable_extensions; do
3731 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3732 ac_cv_prog_ac_ct_CC
="gcc"
3733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3742 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3743 if test -n "$ac_ct_CC"; then
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3745 $as_echo "$ac_ct_CC" >&6; }
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3748 $as_echo "no" >&6; }
3751 if test "x$ac_ct_CC" = x
; then
3754 case $cross_compiling:$ac_tool_warned in
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3757 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3758 ac_tool_warned
=yes ;;
3766 if test -z "$CC"; then
3767 if test -n "$ac_tool_prefix"; then
3768 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3769 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3771 $as_echo_n "checking for $ac_word... " >&6; }
3772 if ${ac_cv_prog_CC+:} false
; then :
3773 $as_echo_n "(cached) " >&6
3775 if test -n "$CC"; then
3776 ac_cv_prog_CC
="$CC" # Let the user override the test.
3778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3782 test -z "$as_dir" && as_dir
=.
3783 for ac_exec_ext
in '' $ac_executable_extensions; do
3784 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3785 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3796 if test -n "$CC"; then
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3798 $as_echo "$CC" >&6; }
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3801 $as_echo "no" >&6; }
3807 if test -z "$CC"; then
3808 # Extract the first word of "cc", so it can be a program name with args.
3809 set dummy cc
; ac_word
=$2
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3811 $as_echo_n "checking for $ac_word... " >&6; }
3812 if ${ac_cv_prog_CC+:} false
; then :
3813 $as_echo_n "(cached) " >&6
3815 if test -n "$CC"; then
3816 ac_cv_prog_CC
="$CC" # Let the user override the test.
3819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3823 test -z "$as_dir" && as_dir
=.
3824 for ac_exec_ext
in '' $ac_executable_extensions; do
3825 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3826 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3827 ac_prog_rejected
=yes
3831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3838 if test $ac_prog_rejected = yes; then
3839 # We found a bogon in the path, so make sure we never use it.
3840 set dummy
$ac_cv_prog_CC
3842 if test $# != 0; then
3843 # We chose a different compiler from the bogus one.
3844 # However, it has the same basename, so the bogon will be chosen
3845 # first if we set CC to just the basename; use the full file name.
3847 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3853 if test -n "$CC"; then
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3855 $as_echo "$CC" >&6; }
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3858 $as_echo "no" >&6; }
3863 if test -z "$CC"; then
3864 if test -n "$ac_tool_prefix"; then
3865 for ac_prog
in cl.exe
3867 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3868 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3870 $as_echo_n "checking for $ac_word... " >&6; }
3871 if ${ac_cv_prog_CC+:} false
; then :
3872 $as_echo_n "(cached) " >&6
3874 if test -n "$CC"; then
3875 ac_cv_prog_CC
="$CC" # Let the user override the test.
3877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3881 test -z "$as_dir" && as_dir
=.
3882 for ac_exec_ext
in '' $ac_executable_extensions; do
3883 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3884 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3895 if test -n "$CC"; then
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3897 $as_echo "$CC" >&6; }
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3900 $as_echo "no" >&6; }
3904 test -n "$CC" && break
3907 if test -z "$CC"; then
3909 for ac_prog
in cl.exe
3911 # Extract the first word of "$ac_prog", so it can be a program name with args.
3912 set dummy
$ac_prog; ac_word
=$2
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3914 $as_echo_n "checking for $ac_word... " >&6; }
3915 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3916 $as_echo_n "(cached) " >&6
3918 if test -n "$ac_ct_CC"; then
3919 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3921 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3925 test -z "$as_dir" && as_dir
=.
3926 for ac_exec_ext
in '' $ac_executable_extensions; do
3927 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3928 ac_cv_prog_ac_ct_CC
="$ac_prog"
3929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3938 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3939 if test -n "$ac_ct_CC"; then
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3941 $as_echo "$ac_ct_CC" >&6; }
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3944 $as_echo "no" >&6; }
3948 test -n "$ac_ct_CC" && break
3951 if test "x$ac_ct_CC" = x
; then
3954 case $cross_compiling:$ac_tool_warned in
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3957 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3958 ac_tool_warned
=yes ;;
3967 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3968 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3969 as_fn_error $?
"no acceptable C compiler found in \$PATH
3970 See \`config.log' for more details" "$LINENO" 5; }
3972 # Provide some information about the compiler.
3973 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3976 for ac_option
in --version -v -V -qversion; do
3977 { { ac_try
="$ac_compiler $ac_option >&5"
3979 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3980 *) ac_try_echo=$ac_try;;
3982 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3983 $as_echo "$ac_try_echo"; } >&5
3984 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3986 if test -s conftest.err; then
3988 ... rest of stderr output deleted ...
3989 10q' conftest.err >conftest.er1
3990 cat conftest.er1 >&5
3992 rm -f conftest.er1 conftest.err
3993 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3994 test $ac_status = 0; }
3997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3998 /* end confdefs.h. */
4008 ac_clean_files_save=$ac_clean_files
4009 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4010 # Try to create an executable without -o first, disregard a.out.
4011 # It will help us diagnose broken compilers, and finding out an intuition
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4014 $as_echo_n "checking whether the C compiler works... " >&6; }
4015 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4017 # The possible output files:
4018 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4021 for ac_file in $ac_files
4024 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4025 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4030 if { { ac_try="$ac_link_default"
4032 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4033 *) ac_try_echo
=$ac_try;;
4035 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4036 $as_echo "$ac_try_echo"; } >&5
4037 (eval "$ac_link_default") 2>&5
4039 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4040 test $ac_status = 0; }; then :
4041 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4042 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4043 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4044 # so that the user can short-circuit this test for compilers unknown to
4046 for ac_file
in $ac_files ''
4048 test -f "$ac_file" ||
continue
4050 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4053 # We found the default executable, but exeext='' is most
4057 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4059 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4061 # We set ac_cv_exeext here because the later test for it is not
4062 # safe: cross compilers may not add the suffix if given an `-o'
4063 # argument, so we may need to know it at that point already.
4064 # Even if this section looks crufty: it has the advantage of
4071 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4076 if test -z "$ac_file"; then :
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4078 $as_echo "no" >&6; }
4079 $as_echo "$as_me: failed program was:" >&5
4080 sed 's/^/| /' conftest.
$ac_ext >&5
4082 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4083 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4084 as_fn_error
77 "C compiler cannot create executables
4085 See \`config.log' for more details" "$LINENO" 5; }
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4088 $as_echo "yes" >&6; }
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4091 $as_echo_n "checking for C compiler default output file name... " >&6; }
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4093 $as_echo "$ac_file" >&6; }
4094 ac_exeext
=$ac_cv_exeext
4096 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4097 ac_clean_files
=$ac_clean_files_save
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4099 $as_echo_n "checking for suffix of executables... " >&6; }
4100 if { { ac_try
="$ac_link"
4102 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4103 *) ac_try_echo=$ac_try;;
4105 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4106 $as_echo "$ac_try_echo"; } >&5
4107 (eval "$ac_link") 2>&5
4109 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4110 test $ac_status = 0; }; then :
4111 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4112 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4113 # work properly (i.e., refer to `conftest.exe'), while it won't with
4115 for ac_file
in conftest.exe conftest conftest.
*; do
4116 test -f "$ac_file" ||
continue
4118 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4119 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4125 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4126 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4127 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4128 See \`config.log' for more details" "$LINENO" 5; }
4130 rm -f conftest conftest
$ac_cv_exeext
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4132 $as_echo "$ac_cv_exeext" >&6; }
4134 rm -f conftest.
$ac_ext
4135 EXEEXT
=$ac_cv_exeext
4137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4138 /* end confdefs.h. */
4143 FILE *f = fopen ("conftest.out", "w");
4144 return ferror (f) || fclose (f) != 0;
4150 ac_clean_files
="$ac_clean_files conftest.out"
4151 # Check that the compiler produces executables we can run. If not, either
4152 # the compiler is broken, or we cross compile.
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4154 $as_echo_n "checking whether we are cross compiling... " >&6; }
4155 if test "$cross_compiling" != yes; then
4156 { { ac_try
="$ac_link"
4158 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4159 *) ac_try_echo=$ac_try;;
4161 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4162 $as_echo "$ac_try_echo"; } >&5
4163 (eval "$ac_link") 2>&5
4165 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4166 test $ac_status = 0; }
4167 if { ac_try='./conftest$ac_cv_exeext'
4168 { { case "(($ac_try" in
4169 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4170 *) ac_try_echo
=$ac_try;;
4172 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4173 $as_echo "$ac_try_echo"; } >&5
4174 (eval "$ac_try") 2>&5
4176 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4177 test $ac_status = 0; }; }; then
4180 if test "$cross_compiling" = maybe
; then
4183 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4184 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4185 as_fn_error $?
"cannot run C compiled programs.
4186 If you meant to cross compile, use \`--host'.
4187 See \`config.log' for more details" "$LINENO" 5; }
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4192 $as_echo "$cross_compiling" >&6; }
4194 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4195 ac_clean_files
=$ac_clean_files_save
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4197 $as_echo_n "checking for suffix of object files... " >&6; }
4198 if ${ac_cv_objext+:} false
; then :
4199 $as_echo_n "(cached) " >&6
4201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4202 /* end confdefs.h. */
4212 rm -f conftest.o conftest.obj
4213 if { { ac_try
="$ac_compile"
4215 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4216 *) ac_try_echo=$ac_try;;
4218 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4219 $as_echo "$ac_try_echo"; } >&5
4220 (eval "$ac_compile") 2>&5
4222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4223 test $ac_status = 0; }; then :
4224 for ac_file in conftest.o conftest.obj conftest.*; do
4225 test -f "$ac_file" || continue;
4227 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4228 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4233 $as_echo "$as_me: failed program was:" >&5
4234 sed 's/^/| /' conftest.$ac_ext >&5
4236 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4237 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4238 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4239 See \
`config.log' for more details" "$LINENO" 5; }
4241 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4244 $as_echo "$ac_cv_objext" >&6; }
4245 OBJEXT=$ac_cv_objext
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4248 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4249 if ${ac_cv_c_compiler_gnu+:} false; then :
4250 $as_echo_n "(cached) " >&6
4252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4253 /* end confdefs.h. */
4266 if ac_fn_c_try_compile "$LINENO"; then :
4271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4272 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4276 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4277 if test $ac_compiler_gnu = yes; then
4282 ac_test_CFLAGS=${CFLAGS+set}
4283 ac_save_CFLAGS=$CFLAGS
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4285 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4286 if ${ac_cv_prog_cc_g+:} false; then :
4287 $as_echo_n "(cached) " >&6
4289 ac_save_c_werror_flag=$ac_c_werror_flag
4290 ac_c_werror_flag=yes
4293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4294 /* end confdefs.h. */
4304 if ac_fn_c_try_compile "$LINENO"; then :
4308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4309 /* end confdefs.h. */
4319 if ac_fn_c_try_compile "$LINENO"; then :
4322 ac_c_werror_flag=$ac_save_c_werror_flag
4324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4325 /* end confdefs.h. */
4335 if ac_fn_c_try_compile "$LINENO"; then :
4338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4343 ac_c_werror_flag=$ac_save_c_werror_flag
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4346 $as_echo "$ac_cv_prog_cc_g" >&6; }
4347 if test "$ac_test_CFLAGS" = set; then
4348 CFLAGS=$ac_save_CFLAGS
4349 elif test $ac_cv_prog_cc_g = yes; then
4350 if test "$GCC" = yes; then
4356 if test "$GCC" = yes; then
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4363 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4364 if ${ac_cv_prog_cc_c89+:} false; then :
4365 $as_echo_n "(cached) " >&6
4367 ac_cv_prog_cc_c89=no
4369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4370 /* end confdefs.h. */
4374 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4375 struct buf { int x; };
4376 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4377 static char *e (p, i)
4383 static char *f (char * (*g) (char **, int), char **p, ...)
4388 s = g (p, va_arg (v,int));
4393 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4394 function prototypes and stuff, but not '\xHH' hex character constants.
4395 These don't provoke an error unfortunately, instead are silently treated
4396 as 'x'. The following induces an error, until -std is added to get
4397 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4398 array size at least. It's necessary to write '\x00'==0 to get something
4399 that's true only with -std. */
4400 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4402 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4403 inside strings and character constants. */
4405 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4407 int test (int i, double x);
4408 struct s1 {int (*f) (int a);};
4409 struct s2 {int (*f) (double a);};
4410 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4416 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4421 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4422 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4424 CC="$ac_save_CC $ac_arg"
4425 if ac_fn_c_try_compile "$LINENO"; then :
4426 ac_cv_prog_cc_c89=$ac_arg
4428 rm -f core conftest.err conftest.$ac_objext
4429 test "x$ac_cv_prog_cc_c89" != "xno" && break
4431 rm -f conftest.$ac_ext
4436 case "x$ac_cv_prog_cc_c89" in
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4439 $as_echo "none needed" >&6; } ;;
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4442 $as_echo "unsupported" >&6; } ;;
4444 CC="$CC $ac_cv_prog_cc_c89"
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4446 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4448 if test "x$ac_cv_prog_cc_c89" != xno; then :
4453 ac_cpp='$CPP $CPPFLAGS'
4454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4459 ac_cpp='$CXXCPP $CPPFLAGS'
4460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4463 if test -z "$CXX"; then
4464 if test -n "$CCC"; then
4467 if test -n "$ac_tool_prefix"; then
4468 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4470 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4471 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4473 $as_echo_n "checking for $ac_word... " >&6; }
4474 if ${ac_cv_prog_CXX+:} false; then :
4475 $as_echo_n "(cached) " >&6
4477 if test -n "$CXX"; then
4478 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4484 test -z "$as_dir" && as_dir=.
4485 for ac_exec_ext in '' $ac_executable_extensions; do
4486 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4487 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4498 if test -n "$CXX"; then
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4500 $as_echo "$CXX" >&6; }
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4503 $as_echo "no" >&6; }
4507 test -n "$CXX" && break
4510 if test -z "$CXX"; then
4512 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4514 # Extract the first word of "$ac_prog", so it can be a program name with args.
4515 set dummy $ac_prog; ac_word=$2
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4517 $as_echo_n "checking for $ac_word... " >&6; }
4518 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4519 $as_echo_n "(cached) " >&6
4521 if test -n "$ac_ct_CXX"; then
4522 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4528 test -z "$as_dir" && as_dir=.
4529 for ac_exec_ext in '' $ac_executable_extensions; do
4530 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4531 ac_cv_prog_ac_ct_CXX="$ac_prog"
4532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4541 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4542 if test -n "$ac_ct_CXX"; then
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4544 $as_echo "$ac_ct_CXX" >&6; }
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4547 $as_echo "no" >&6; }
4551 test -n "$ac_ct_CXX" && break
4554 if test "x$ac_ct_CXX" = x; then
4557 case $cross_compiling:$ac_tool_warned in
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4560 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4561 ac_tool_warned=yes ;;
4569 # Provide some information about the compiler.
4570 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4573 for ac_option in --version -v -V -qversion; do
4574 { { ac_try="$ac_compiler $ac_option >&5"
4576 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4577 *) ac_try_echo
=$ac_try;;
4579 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4580 $as_echo "$ac_try_echo"; } >&5
4581 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4583 if test -s conftest.err
; then
4585 ... rest of stderr output deleted ...
4586 10q' conftest.err
>conftest.er1
4587 cat conftest.er1
>&5
4589 rm -f conftest.er1 conftest.err
4590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4591 test $ac_status = 0; }
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4595 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4596 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4597 $as_echo_n "(cached) " >&6
4599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4600 /* end confdefs.h. */
4613 if ac_fn_cxx_try_compile
"$LINENO"; then :
4618 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4619 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4623 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4624 if test $ac_compiler_gnu = yes; then
4629 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4630 ac_save_CXXFLAGS
=$CXXFLAGS
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4632 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4633 if ${ac_cv_prog_cxx_g+:} false
; then :
4634 $as_echo_n "(cached) " >&6
4636 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4637 ac_cxx_werror_flag
=yes
4640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4641 /* end confdefs.h. */
4651 if ac_fn_cxx_try_compile
"$LINENO"; then :
4652 ac_cv_prog_cxx_g
=yes
4655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4656 /* end confdefs.h. */
4666 if ac_fn_cxx_try_compile
"$LINENO"; then :
4669 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4672 /* end confdefs.h. */
4682 if ac_fn_cxx_try_compile
"$LINENO"; then :
4683 ac_cv_prog_cxx_g
=yes
4685 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4687 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4689 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4690 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4693 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4694 if test "$ac_test_CXXFLAGS" = set; then
4695 CXXFLAGS
=$ac_save_CXXFLAGS
4696 elif test $ac_cv_prog_cxx_g = yes; then
4697 if test "$GXX" = yes; then
4703 if test "$GXX" = yes; then
4710 ac_cpp
='$CPP $CPPFLAGS'
4711 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4712 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4713 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4715 if test -n "$ac_tool_prefix"; then
4716 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4717 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4719 $as_echo_n "checking for $ac_word... " >&6; }
4720 if ${ac_cv_prog_CPPBIN+:} false
; then :
4721 $as_echo_n "(cached) " >&6
4723 if test -n "$CPPBIN"; then
4724 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4726 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4730 test -z "$as_dir" && as_dir
=.
4731 for ac_exec_ext
in '' $ac_executable_extensions; do
4732 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4733 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4743 CPPBIN
=$ac_cv_prog_CPPBIN
4744 if test -n "$CPPBIN"; then
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4746 $as_echo "$CPPBIN" >&6; }
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4749 $as_echo "no" >&6; }
4754 if test -z "$ac_cv_prog_CPPBIN"; then
4755 ac_ct_CPPBIN
=$CPPBIN
4756 # Extract the first word of "cpp", so it can be a program name with args.
4757 set dummy cpp
; ac_word
=$2
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4759 $as_echo_n "checking for $ac_word... " >&6; }
4760 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4761 $as_echo_n "(cached) " >&6
4763 if test -n "$ac_ct_CPPBIN"; then
4764 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4766 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4770 test -z "$as_dir" && as_dir
=.
4771 for ac_exec_ext
in '' $ac_executable_extensions; do
4772 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4773 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4783 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4784 if test -n "$ac_ct_CPPBIN"; then
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4786 $as_echo "$ac_ct_CPPBIN" >&6; }
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4789 $as_echo "no" >&6; }
4792 if test "x$ac_ct_CPPBIN" = x
; then
4795 case $cross_compiling:$ac_tool_warned in
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4798 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4799 ac_tool_warned
=yes ;;
4801 CPPBIN
=$ac_ct_CPPBIN
4804 CPPBIN
="$ac_cv_prog_CPPBIN"
4808 cat >>confdefs.h
<<_ACEOF
4809 #define EXEEXT "$ac_exeext"
4812 if test -n "$ac_tool_prefix"; then
4813 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4814 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4816 $as_echo_n "checking for $ac_word... " >&6; }
4817 if ${ac_cv_prog_LD+:} false
; then :
4818 $as_echo_n "(cached) " >&6
4820 if test -n "$LD"; then
4821 ac_cv_prog_LD
="$LD" # Let the user override the test.
4823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4827 test -z "$as_dir" && as_dir
=.
4828 for ac_exec_ext
in '' $ac_executable_extensions; do
4829 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4830 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4841 if test -n "$LD"; then
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4843 $as_echo "$LD" >&6; }
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4846 $as_echo "no" >&6; }
4851 if test -z "$ac_cv_prog_LD"; then
4853 # Extract the first word of "ld", so it can be a program name with args.
4854 set dummy ld
; ac_word
=$2
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4856 $as_echo_n "checking for $ac_word... " >&6; }
4857 if ${ac_cv_prog_ac_ct_LD+:} false
; then :
4858 $as_echo_n "(cached) " >&6
4860 if test -n "$ac_ct_LD"; then
4861 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
4863 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4867 test -z "$as_dir" && as_dir
=.
4868 for ac_exec_ext
in '' $ac_executable_extensions; do
4869 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4870 ac_cv_prog_ac_ct_LD
="ld"
4871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4880 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
4881 if test -n "$ac_ct_LD"; then
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4883 $as_echo "$ac_ct_LD" >&6; }
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4886 $as_echo "no" >&6; }
4889 if test "x$ac_ct_LD" = x
; then
4892 case $cross_compiling:$ac_tool_warned in
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4895 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4896 ac_tool_warned
=yes ;;
4907 if test "x$enable_win64" = "xyes"
4912 notice_platform
="64-bit "
4919 notice_platform
="32-bit "
4922 enable_win16
=${enable_win16:-yes}
4924 with_fontconfig
=${with_fontconfig:-no}
4927 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4932 $as_echo_n "checking whether $CC works... " >&6; }
4934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4935 /* end confdefs.h. */
4945 if ac_fn_c_try_link
"$LINENO"; then :
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4947 $as_echo "yes" >&6; }
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4950 $as_echo "no" >&6; }
4951 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4953 rm -f core conftest.err conftest.
$ac_objext \
4954 conftest
$ac_exeext conftest.
$ac_ext
4956 notice_platform
="32-bit "
4959 enable_win16
=${enable_win16:-yes}
4961 if test "x${GCC}" = "xyes"
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4964 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4966 /* end confdefs.h. */
4971 void func(__builtin_ms_va_list *args);
4976 if ac_fn_c_try_compile
"$LINENO"; then :
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4978 $as_echo "yes" >&6; }
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4981 $as_echo "no" >&6; }
4982 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4984 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4993 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4995 /* end confdefs.h. */
4996 int ac_test(int i) { return i; }
5000 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5005 if ac_fn_c_try_link
"$LINENO"; then :
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5007 $as_echo "yes" >&6; }
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5010 $as_echo "no" >&6; }
5011 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5013 rm -f core conftest.err conftest.
$ac_objext \
5014 conftest
$ac_exeext conftest.
$ac_ext
5015 CFLAGS
="$CFLAGS -marm"
5019 *-mingw32*|
*-cygwin*)
5020 enable_win16
=${enable_win16:-no}
5021 CFLAGS
="$CFLAGS -D_WIN32"
5024 enable_win16
=${enable_win16:-yes}
5028 enable_win16
=${enable_win16:-no}
5029 enable_win64
=${enable_win64:-no}
5031 enable_winetest
=${enable_winetest:-$enable_tests}
5033 if test -n "$with_wine64"
5035 if test "x$enable_win64" = "xyes"
5037 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
5038 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5040 enable_fonts
=${enable_fonts:-no}
5041 enable_server
=${enable_server:-no}
5042 elif test "x$enable_win64" = "xyes"
5044 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5048 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5049 if ${wine_cv_toolsdir+:} false
; then :
5050 $as_echo_n "(cached) " >&6
5052 wine_cv_toolsdir
="$with_wine_tools"
5053 if test -z "$with_wine_tools"; then
5054 if test "$cross_compiling" = "yes"; then
5055 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5056 elif test -n "$with_wine64"; then
5057 wine_cv_toolsdir
="$with_wine64"
5060 if test -z "$wine_cv_toolsdir"; then
5061 wine_makedep
=tools
/makedep
5062 wine_cv_toolsdir
="\$(top_builddir)"
5063 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5064 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
5065 case "$wine_cv_toolsdir" in
5067 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
5069 enable_tools
=${enable_tools:-no}
5070 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5072 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5076 $as_echo "$wine_cv_toolsdir" >&6; }
5077 TOOLSDIR
=$wine_cv_toolsdir
5079 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5081 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
5087 # Extract the first word of "$ac_prog", so it can be a program name with args.
5088 set dummy
$ac_prog; ac_word
=$2
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5090 $as_echo_n "checking for $ac_word... " >&6; }
5091 if ${ac_cv_prog_FLEX+:} false
; then :
5092 $as_echo_n "(cached) " >&6
5094 if test -n "$FLEX"; then
5095 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5097 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5101 test -z "$as_dir" && as_dir
=.
5102 for ac_exec_ext
in '' $ac_executable_extensions; do
5103 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5104 ac_cv_prog_FLEX
="$ac_prog"
5105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5114 FLEX
=$ac_cv_prog_FLEX
5115 if test -n "$FLEX"; then
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5117 $as_echo "$FLEX" >&6; }
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5120 $as_echo "no" >&6; }
5124 test -n "$FLEX" && break
5126 test -n "$FLEX" || FLEX
="none"
5128 if test "$FLEX" = "none"
5130 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5133 $as_echo_n "checking whether flex is recent enough... " >&6; }
5134 cat >conftest.l
<<EOF
5136 #include "prediluvian.h"
5140 if $FLEX -t conftest.l
>/dev
/null
2>&5
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5143 $as_echo "yes" >&6; }
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5146 $as_echo "no" >&6; }
5147 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5150 for ac_prog
in bison
5152 # Extract the first word of "$ac_prog", so it can be a program name with args.
5153 set dummy
$ac_prog; ac_word
=$2
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5155 $as_echo_n "checking for $ac_word... " >&6; }
5156 if ${ac_cv_prog_BISON+:} false
; then :
5157 $as_echo_n "(cached) " >&6
5159 if test -n "$BISON"; then
5160 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5166 test -z "$as_dir" && as_dir
=.
5167 for ac_exec_ext
in '' $ac_executable_extensions; do
5168 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5169 ac_cv_prog_BISON
="$ac_prog"
5170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5179 BISON
=$ac_cv_prog_BISON
5180 if test -n "$BISON"; then
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5182 $as_echo "$BISON" >&6; }
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5185 $as_echo "no" >&6; }
5189 test -n "$BISON" && break
5191 test -n "$BISON" || BISON
="none"
5193 if test "$BISON" = "none"
5195 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5198 if test -n "$ac_tool_prefix"; then
5199 for ac_prog
in ar gar
5201 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5202 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5204 $as_echo_n "checking for $ac_word... " >&6; }
5205 if ${ac_cv_prog_AR+:} false
; then :
5206 $as_echo_n "(cached) " >&6
5208 if test -n "$AR"; then
5209 ac_cv_prog_AR
="$AR" # Let the user override the test.
5211 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5215 test -z "$as_dir" && as_dir
=.
5216 for ac_exec_ext
in '' $ac_executable_extensions; do
5217 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5218 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5229 if test -n "$AR"; then
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5231 $as_echo "$AR" >&6; }
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5234 $as_echo "no" >&6; }
5238 test -n "$AR" && break
5241 if test -z "$AR"; then
5243 for ac_prog
in ar gar
5245 # Extract the first word of "$ac_prog", so it can be a program name with args.
5246 set dummy
$ac_prog; ac_word
=$2
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5248 $as_echo_n "checking for $ac_word... " >&6; }
5249 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5250 $as_echo_n "(cached) " >&6
5252 if test -n "$ac_ct_AR"; then
5253 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5255 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5259 test -z "$as_dir" && as_dir
=.
5260 for ac_exec_ext
in '' $ac_executable_extensions; do
5261 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5262 ac_cv_prog_ac_ct_AR
="$ac_prog"
5263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5272 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5273 if test -n "$ac_ct_AR"; then
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5275 $as_echo "$ac_ct_AR" >&6; }
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5278 $as_echo "no" >&6; }
5282 test -n "$ac_ct_AR" && break
5285 if test "x$ac_ct_AR" = x
; then
5288 case $cross_compiling:$ac_tool_warned in
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5291 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5292 ac_tool_warned
=yes ;;
5298 if test -n "$ac_tool_prefix"; then
5299 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5300 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5302 $as_echo_n "checking for $ac_word... " >&6; }
5303 if ${ac_cv_prog_STRIP+:} false
; then :
5304 $as_echo_n "(cached) " >&6
5306 if test -n "$STRIP"; then
5307 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5313 test -z "$as_dir" && as_dir
=.
5314 for ac_exec_ext
in '' $ac_executable_extensions; do
5315 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5316 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5326 STRIP
=$ac_cv_prog_STRIP
5327 if test -n "$STRIP"; then
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5329 $as_echo "$STRIP" >&6; }
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5332 $as_echo "no" >&6; }
5337 if test -z "$ac_cv_prog_STRIP"; then
5339 # Extract the first word of "strip", so it can be a program name with args.
5340 set dummy strip
; ac_word
=$2
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5342 $as_echo_n "checking for $ac_word... " >&6; }
5343 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5344 $as_echo_n "(cached) " >&6
5346 if test -n "$ac_ct_STRIP"; then
5347 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5353 test -z "$as_dir" && as_dir
=.
5354 for ac_exec_ext
in '' $ac_executable_extensions; do
5355 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5356 ac_cv_prog_ac_ct_STRIP
="strip"
5357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5366 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5367 if test -n "$ac_ct_STRIP"; then
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5369 $as_echo "$ac_ct_STRIP" >&6; }
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5372 $as_echo "no" >&6; }
5375 if test "x$ac_ct_STRIP" = x
; then
5378 case $cross_compiling:$ac_tool_warned in
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5381 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5382 ac_tool_warned
=yes ;;
5387 STRIP
="$ac_cv_prog_STRIP"
5392 if test -n "$ac_tool_prefix"; then
5393 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5394 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5396 $as_echo_n "checking for $ac_word... " >&6; }
5397 if ${ac_cv_prog_RANLIB+:} false
; then :
5398 $as_echo_n "(cached) " >&6
5400 if test -n "$RANLIB"; then
5401 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5403 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5407 test -z "$as_dir" && as_dir
=.
5408 for ac_exec_ext
in '' $ac_executable_extensions; do
5409 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5410 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5420 RANLIB
=$ac_cv_prog_RANLIB
5421 if test -n "$RANLIB"; then
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5423 $as_echo "$RANLIB" >&6; }
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5426 $as_echo "no" >&6; }
5431 if test -z "$ac_cv_prog_RANLIB"; then
5432 ac_ct_RANLIB
=$RANLIB
5433 # Extract the first word of "ranlib", so it can be a program name with args.
5434 set dummy ranlib
; ac_word
=$2
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5436 $as_echo_n "checking for $ac_word... " >&6; }
5437 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5438 $as_echo_n "(cached) " >&6
5440 if test -n "$ac_ct_RANLIB"; then
5441 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5447 test -z "$as_dir" && as_dir
=.
5448 for ac_exec_ext
in '' $ac_executable_extensions; do
5449 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5450 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5460 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5461 if test -n "$ac_ct_RANLIB"; then
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5463 $as_echo "$ac_ct_RANLIB" >&6; }
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5466 $as_echo "no" >&6; }
5469 if test "x$ac_ct_RANLIB" = x
; then
5472 case $cross_compiling:$ac_tool_warned in
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5475 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5476 ac_tool_warned
=yes ;;
5478 RANLIB
=$ac_ct_RANLIB
5481 RANLIB
="$ac_cv_prog_RANLIB"
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5485 $as_echo_n "checking whether ln -s works... " >&6; }
5487 if test "$LN_S" = "ln -s"; then
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5489 $as_echo "yes" >&6; }
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5492 $as_echo "no, using $LN_S" >&6; }
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5496 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5497 if ${ac_cv_path_GREP+:} false
; then :
5498 $as_echo_n "(cached) " >&6
5500 if test -z "$GREP"; then
5501 ac_path_GREP_found
=false
5502 # Loop through the user's path and test for each of PROGNAME-LIST
5503 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5504 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5507 test -z "$as_dir" && as_dir
=.
5508 for ac_prog
in grep ggrep
; do
5509 for ac_exec_ext
in '' $ac_executable_extensions; do
5510 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5511 as_fn_executable_p
"$ac_path_GREP" ||
continue
5512 # Check for GNU ac_path_GREP and select it if it is found.
5513 # Check for GNU $ac_path_GREP
5514 case `"$ac_path_GREP" --version 2>&1` in
5516 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5519 $as_echo_n 0123456789 >"conftest.in"
5522 cat "conftest.in" "conftest.in" >"conftest.tmp"
5523 mv "conftest.tmp" "conftest.in"
5524 cp "conftest.in" "conftest.nl"
5525 $as_echo 'GREP' >> "conftest.nl"
5526 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5527 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5528 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5529 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5530 # Best one so far, save it but keep looking for a better one
5531 ac_cv_path_GREP
="$ac_path_GREP"
5532 ac_path_GREP_max
=$ac_count
5534 # 10*(2^10) chars as input seems more than enough
5535 test $ac_count -gt 10 && break
5537 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5540 $ac_path_GREP_found && break 3
5545 if test -z "$ac_cv_path_GREP"; then
5546 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5549 ac_cv_path_GREP
=$GREP
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5554 $as_echo "$ac_cv_path_GREP" >&6; }
5555 GREP
="$ac_cv_path_GREP"
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5559 $as_echo_n "checking for egrep... " >&6; }
5560 if ${ac_cv_path_EGREP+:} false
; then :
5561 $as_echo_n "(cached) " >&6
5563 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5564 then ac_cv_path_EGREP
="$GREP -E"
5566 if test -z "$EGREP"; then
5567 ac_path_EGREP_found
=false
5568 # Loop through the user's path and test for each of PROGNAME-LIST
5569 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5570 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5573 test -z "$as_dir" && as_dir
=.
5574 for ac_prog
in egrep; do
5575 for ac_exec_ext
in '' $ac_executable_extensions; do
5576 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5577 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5578 # Check for GNU ac_path_EGREP and select it if it is found.
5579 # Check for GNU $ac_path_EGREP
5580 case `"$ac_path_EGREP" --version 2>&1` in
5582 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5585 $as_echo_n 0123456789 >"conftest.in"
5588 cat "conftest.in" "conftest.in" >"conftest.tmp"
5589 mv "conftest.tmp" "conftest.in"
5590 cp "conftest.in" "conftest.nl"
5591 $as_echo 'EGREP' >> "conftest.nl"
5592 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5593 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5594 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5595 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5596 # Best one so far, save it but keep looking for a better one
5597 ac_cv_path_EGREP
="$ac_path_EGREP"
5598 ac_path_EGREP_max
=$ac_count
5600 # 10*(2^10) chars as input seems more than enough
5601 test $ac_count -gt 10 && break
5603 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5606 $ac_path_EGREP_found && break 3
5611 if test -z "$ac_cv_path_EGREP"; then
5612 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5615 ac_cv_path_EGREP
=$EGREP
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5621 $as_echo "$ac_cv_path_EGREP" >&6; }
5622 EGREP
="$ac_cv_path_EGREP"
5625 # Extract the first word of "ldconfig", so it can be a program name with args.
5626 set dummy ldconfig
; ac_word
=$2
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5628 $as_echo_n "checking for $ac_word... " >&6; }
5629 if ${ac_cv_path_LDCONFIG+:} false
; then :
5630 $as_echo_n "(cached) " >&6
5634 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5638 for as_dir
in /sbin
/usr
/sbin
$PATH
5641 test -z "$as_dir" && as_dir
=.
5642 for ac_exec_ext
in '' $ac_executable_extensions; do
5643 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5644 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5652 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5656 LDCONFIG
=$ac_cv_path_LDCONFIG
5657 if test -n "$LDCONFIG"; then
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5659 $as_echo "$LDCONFIG" >&6; }
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5662 $as_echo "no" >&6; }
5666 for ac_prog
in msgfmt
5668 # Extract the first word of "$ac_prog", so it can be a program name with args.
5669 set dummy
$ac_prog; ac_word
=$2
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5671 $as_echo_n "checking for $ac_word... " >&6; }
5672 if ${ac_cv_prog_MSGFMT+:} false
; then :
5673 $as_echo_n "(cached) " >&6
5675 if test -n "$MSGFMT"; then
5676 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5682 test -z "$as_dir" && as_dir
=.
5683 for ac_exec_ext
in '' $ac_executable_extensions; do
5684 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5685 ac_cv_prog_MSGFMT
="$ac_prog"
5686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5695 MSGFMT
=$ac_cv_prog_MSGFMT
5696 if test -n "$MSGFMT"; then
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5698 $as_echo "$MSGFMT" >&6; }
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5701 $as_echo "no" >&6; }
5705 test -n "$MSGFMT" && break
5707 test -n "$MSGFMT" || MSGFMT
="false"
5709 if ${ac_tool_prefix+:} false
; then :
5710 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5711 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5713 $as_echo_n "checking for $ac_word... " >&6; }
5714 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5715 $as_echo_n "(cached) " >&6
5717 if test -n "$PKG_CONFIG"; then
5718 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5720 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5724 test -z "$as_dir" && as_dir
=.
5725 for ac_exec_ext
in '' $ac_executable_extensions; do
5726 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5727 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5737 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5738 if test -n "$PKG_CONFIG"; then
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5740 $as_echo "$PKG_CONFIG" >&6; }
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5743 $as_echo "no" >&6; }
5748 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5749 if test "x$cross_compiling" = xyes
; then :
5752 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5753 # Extract the first word of "pkg-config", so it can be a program name with args.
5754 set dummy pkg-config
; ac_word
=$2
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5756 $as_echo_n "checking for $ac_word... " >&6; }
5757 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5758 $as_echo_n "(cached) " >&6
5760 if test -n "$PKG_CONFIG"; then
5761 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5767 test -z "$as_dir" && as_dir
=.
5768 for ac_exec_ext
in '' $ac_executable_extensions; do
5769 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5770 ac_cv_prog_PKG_CONFIG
="pkg-config"
5771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5780 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5781 if test -n "$PKG_CONFIG"; then
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5783 $as_echo "$PKG_CONFIG" >&6; }
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5786 $as_echo "no" >&6; }
5792 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5795 if test "x$enable_maintainer_mode" != "xyes"
5802 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5803 for ac_prog
in fontforge
5805 # Extract the first word of "$ac_prog", so it can be a program name with args.
5806 set dummy
$ac_prog; ac_word
=$2
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5808 $as_echo_n "checking for $ac_word... " >&6; }
5809 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5810 $as_echo_n "(cached) " >&6
5812 if test -n "$FONTFORGE"; then
5813 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5815 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5819 test -z "$as_dir" && as_dir
=.
5820 for ac_exec_ext
in '' $ac_executable_extensions; do
5821 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5822 ac_cv_prog_FONTFORGE
="$ac_prog"
5823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5832 FONTFORGE
=$ac_cv_prog_FONTFORGE
5833 if test -n "$FONTFORGE"; then
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5835 $as_echo "$FONTFORGE" >&6; }
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5838 $as_echo "no" >&6; }
5842 test -n "$FONTFORGE" && break
5844 test -n "$FONTFORGE" || FONTFORGE
="false"
5846 for ac_prog
in rsvg-convert rsvg
5848 # Extract the first word of "$ac_prog", so it can be a program name with args.
5849 set dummy
$ac_prog; ac_word
=$2
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5851 $as_echo_n "checking for $ac_word... " >&6; }
5852 if ${ac_cv_prog_RSVG+:} false
; then :
5853 $as_echo_n "(cached) " >&6
5855 if test -n "$RSVG"; then
5856 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5858 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5862 test -z "$as_dir" && as_dir
=.
5863 for ac_exec_ext
in '' $ac_executable_extensions; do
5864 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5865 ac_cv_prog_RSVG
="$ac_prog"
5866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5875 RSVG
=$ac_cv_prog_RSVG
5876 if test -n "$RSVG"; then
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5878 $as_echo "$RSVG" >&6; }
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5881 $as_echo "no" >&6; }
5885 test -n "$RSVG" && break
5887 test -n "$RSVG" || RSVG
="false"
5889 for ac_prog
in convert
5891 # Extract the first word of "$ac_prog", so it can be a program name with args.
5892 set dummy
$ac_prog; ac_word
=$2
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5894 $as_echo_n "checking for $ac_word... " >&6; }
5895 if ${ac_cv_prog_CONVERT+:} false
; then :
5896 $as_echo_n "(cached) " >&6
5898 if test -n "$CONVERT"; then
5899 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5905 test -z "$as_dir" && as_dir
=.
5906 for ac_exec_ext
in '' $ac_executable_extensions; do
5907 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5908 ac_cv_prog_CONVERT
="$ac_prog"
5909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5918 CONVERT
=$ac_cv_prog_CONVERT
5919 if test -n "$CONVERT"; then
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5921 $as_echo "$CONVERT" >&6; }
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5924 $as_echo "no" >&6; }
5928 test -n "$CONVERT" && break
5930 test -n "$CONVERT" || CONVERT
="false"
5932 for ac_prog
in icotool
5934 # Extract the first word of "$ac_prog", so it can be a program name with args.
5935 set dummy
$ac_prog; ac_word
=$2
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5937 $as_echo_n "checking for $ac_word... " >&6; }
5938 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5939 $as_echo_n "(cached) " >&6
5941 if test -n "$ICOTOOL"; then
5942 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5948 test -z "$as_dir" && as_dir
=.
5949 for ac_exec_ext
in '' $ac_executable_extensions; do
5950 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5951 ac_cv_prog_ICOTOOL
="$ac_prog"
5952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5961 ICOTOOL
=$ac_cv_prog_ICOTOOL
5962 if test -n "$ICOTOOL"; then
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5964 $as_echo "$ICOTOOL" >&6; }
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5967 $as_echo "no" >&6; }
5971 test -n "$ICOTOOL" && break
5973 test -n "$ICOTOOL" || ICOTOOL
="false"
5975 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5976 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5978 if test "$CONVERT" = false
5980 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5983 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5984 convert_version
=`convert --version | head -n1`
5985 if test "x$convert_version" != "x"
5987 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5988 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5989 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5994 if test "$CONVERT" = false
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5997 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5998 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6001 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6005 if test "$ICOTOOL" = false
6007 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6010 $as_echo_n "checking for recent enough icotool... " >&6; }
6011 icotool_version
=`icotool --version | head -n1`
6012 if test "x$icotool_version" != "x"
6014 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6015 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6016 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6019 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
6022 if test "$ICOTOOL" = false
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6025 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6026 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6029 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6035 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
6038 test "x$with_gettext" != xno || MSGFMT
=false
6039 if test "$MSGFMT" != "false"
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6042 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6043 cat >conftest.po
<<EOF
6049 if $MSGFMT -o /dev
/null conftest.po
2>&5
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6052 $as_echo "yes" >&6; }
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6055 $as_echo "no" >&6; }
6059 if test "$MSGFMT" = false
; then :
6060 case "x$with_gettext" in
6061 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
6063 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
6064 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6070 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6071 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
6072 $as_echo_n "(cached) " >&6
6074 ac_check_lib_save_LIBS
=$LIBS
6076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6077 /* end confdefs.h. */
6079 /* Override any GCC internal prototype to avoid an error.
6080 Use char because int might match the return type of a GCC
6081 builtin and then its argument prototype would still apply. */
6085 char i386_set_ldt ();
6089 return i386_set_ldt ();
6094 if ac_fn_c_try_link
"$LINENO"; then :
6095 ac_cv_lib_i386_i386_set_ldt
=yes
6097 ac_cv_lib_i386_i386_set_ldt
=no
6099 rm -f core conftest.err conftest.
$ac_objext \
6100 conftest
$ac_exeext conftest.
$ac_ext
6101 LIBS
=$ac_check_lib_save_LIBS
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6104 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6105 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
6106 cat >>confdefs.h
<<_ACEOF
6107 #define HAVE_LIBI386 1
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6115 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6116 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
6117 $as_echo_n "(cached) " >&6
6119 ac_check_lib_save_LIBS
=$LIBS
6120 LIBS
="-lossaudio $LIBS"
6121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6122 /* end confdefs.h. */
6124 /* Override any GCC internal prototype to avoid an error.
6125 Use char because int might match the return type of a GCC
6126 builtin and then its argument prototype would still apply. */
6134 return _oss_ioctl ();
6139 if ac_fn_c_try_link
"$LINENO"; then :
6140 ac_cv_lib_ossaudio__oss_ioctl
=yes
6142 ac_cv_lib_ossaudio__oss_ioctl
=no
6144 rm -f core conftest.err conftest.
$ac_objext \
6145 conftest
$ac_exeext conftest.
$ac_ext
6146 LIBS
=$ac_check_lib_save_LIBS
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6149 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6150 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
6151 cat >>confdefs.h
<<_ACEOF
6152 #define HAVE_LIBOSSAUDIO 1
6155 LIBS
="-lossaudio $LIBS"
6164 # Check whether --enable-largefile was given.
6165 if test "${enable_largefile+set}" = set; then :
6166 enableval
=$enable_largefile;
6169 if test "$enable_largefile" != no
; then
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6172 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6173 if ${ac_cv_sys_largefile_CC+:} false
; then :
6174 $as_echo_n "(cached) " >&6
6176 ac_cv_sys_largefile_CC
=no
6177 if test "$GCC" != yes; then
6180 # IRIX 6.2 and later do not support large files by default,
6181 # so use the C compiler's -n32 option if that helps.
6182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6183 /* end confdefs.h. */
6184 #include <sys/types.h>
6185 /* Check that off_t can represent 2**63 - 1 correctly.
6186 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6187 since some C++ compilers masquerading as C compilers
6188 incorrectly reject 9223372036854775807. */
6189 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6190 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6191 && LARGE_OFF_T % 2147483647 == 1)
6201 if ac_fn_c_try_compile
"$LINENO"; then :
6204 rm -f core conftest.err conftest.
$ac_objext
6206 if ac_fn_c_try_compile
"$LINENO"; then :
6207 ac_cv_sys_largefile_CC
=' -n32'; break
6209 rm -f core conftest.err conftest.
$ac_objext
6213 rm -f conftest.
$ac_ext
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6217 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6218 if test "$ac_cv_sys_largefile_CC" != no
; then
6219 CC
=$CC$ac_cv_sys_largefile_CC
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6223 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6224 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6225 $as_echo_n "(cached) " >&6
6228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6229 /* end confdefs.h. */
6230 #include <sys/types.h>
6231 /* Check that off_t can represent 2**63 - 1 correctly.
6232 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6233 since some C++ compilers masquerading as C compilers
6234 incorrectly reject 9223372036854775807. */
6235 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6236 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6237 && LARGE_OFF_T % 2147483647 == 1)
6247 if ac_fn_c_try_compile
"$LINENO"; then :
6248 ac_cv_sys_file_offset_bits
=no
; break
6250 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6252 /* end confdefs.h. */
6253 #define _FILE_OFFSET_BITS 64
6254 #include <sys/types.h>
6255 /* Check that off_t can represent 2**63 - 1 correctly.
6256 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6257 since some C++ compilers masquerading as C compilers
6258 incorrectly reject 9223372036854775807. */
6259 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6260 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6261 && LARGE_OFF_T % 2147483647 == 1)
6271 if ac_fn_c_try_compile
"$LINENO"; then :
6272 ac_cv_sys_file_offset_bits
=64; break
6274 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6275 ac_cv_sys_file_offset_bits
=unknown
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6280 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6281 case $ac_cv_sys_file_offset_bits in #(
6284 cat >>confdefs.h
<<_ACEOF
6285 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6290 if test $ac_cv_sys_file_offset_bits = unknown
; then
6291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6292 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6293 if ${ac_cv_sys_large_files+:} false
; then :
6294 $as_echo_n "(cached) " >&6
6297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6298 /* end confdefs.h. */
6299 #include <sys/types.h>
6300 /* Check that off_t can represent 2**63 - 1 correctly.
6301 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6302 since some C++ compilers masquerading as C compilers
6303 incorrectly reject 9223372036854775807. */
6304 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6305 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6306 && LARGE_OFF_T % 2147483647 == 1)
6316 if ac_fn_c_try_compile
"$LINENO"; then :
6317 ac_cv_sys_large_files
=no
; break
6319 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6321 /* end confdefs.h. */
6322 #define _LARGE_FILES 1
6323 #include <sys/types.h>
6324 /* Check that off_t can represent 2**63 - 1 correctly.
6325 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6326 since some C++ compilers masquerading as C compilers
6327 incorrectly reject 9223372036854775807. */
6328 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6329 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6330 && LARGE_OFF_T % 2147483647 == 1)
6340 if ac_fn_c_try_compile
"$LINENO"; then :
6341 ac_cv_sys_large_files
=1; break
6343 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6344 ac_cv_sys_large_files
=unknown
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6349 $as_echo "$ac_cv_sys_large_files" >&6; }
6350 case $ac_cv_sys_large_files in #(
6353 cat >>confdefs.h
<<_ACEOF
6354 #define _LARGE_FILES $ac_cv_sys_large_files
6366 ac_cpp
='$CPP $CPPFLAGS'
6367 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6368 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6369 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6371 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6372 # On Suns, sometimes $CPP names a directory.
6373 if test -n "$CPP" && test -d "$CPP"; then
6376 if test -z "$CPP"; then
6377 if ${ac_cv_prog_CPP+:} false
; then :
6378 $as_echo_n "(cached) " >&6
6380 # Double quotes because CPP needs to be expanded
6381 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6384 for ac_c_preproc_warn_flag
in '' yes
6386 # Use a header file that comes with gcc, so configuring glibc
6387 # with a fresh cross-compiler works.
6388 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6389 # <limits.h> exists even on freestanding compilers.
6390 # On the NeXT, cc -E runs the code through the compiler's parser,
6391 # not just through cpp. "Syntax error" is here to catch this case.
6392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6393 /* end confdefs.h. */
6395 # include <limits.h>
6397 # include <assert.h>
6401 if ac_fn_c_try_cpp
"$LINENO"; then :
6404 # Broken: fails on valid input.
6407 rm -f conftest.err conftest.i conftest.
$ac_ext
6409 # OK, works on sane cases. Now check whether nonexistent headers
6410 # can be detected and how.
6411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6412 /* end confdefs.h. */
6413 #include <ac_nonexistent.h>
6415 if ac_fn_c_try_cpp
"$LINENO"; then :
6416 # Broken: success on invalid input.
6419 # Passes both tests.
6423 rm -f conftest.err conftest.i conftest.
$ac_ext
6426 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6427 rm -f conftest.i conftest.err conftest.
$ac_ext
6428 if $ac_preproc_ok; then :
6440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6441 $as_echo "$CPP" >&6; }
6443 for ac_c_preproc_warn_flag
in '' yes
6445 # Use a header file that comes with gcc, so configuring glibc
6446 # with a fresh cross-compiler works.
6447 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6448 # <limits.h> exists even on freestanding compilers.
6449 # On the NeXT, cc -E runs the code through the compiler's parser,
6450 # not just through cpp. "Syntax error" is here to catch this case.
6451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6452 /* end confdefs.h. */
6454 # include <limits.h>
6456 # include <assert.h>
6460 if ac_fn_c_try_cpp
"$LINENO"; then :
6463 # Broken: fails on valid input.
6466 rm -f conftest.err conftest.i conftest.
$ac_ext
6468 # OK, works on sane cases. Now check whether nonexistent headers
6469 # can be detected and how.
6470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6471 /* end confdefs.h. */
6472 #include <ac_nonexistent.h>
6474 if ac_fn_c_try_cpp
"$LINENO"; then :
6475 # Broken: success on invalid input.
6478 # Passes both tests.
6482 rm -f conftest.err conftest.i conftest.
$ac_ext
6485 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6486 rm -f conftest.i conftest.err conftest.
$ac_ext
6487 if $ac_preproc_ok; then :
6490 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6491 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6492 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6493 See \`config.log' for more details" "$LINENO" 5; }
6497 ac_cpp
='$CPP $CPPFLAGS'
6498 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6499 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6500 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6504 $as_echo_n "checking for ANSI C header files... " >&6; }
6505 if ${ac_cv_header_stdc+:} false
; then :
6506 $as_echo_n "(cached) " >&6
6508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6509 /* end confdefs.h. */
6523 if ac_fn_c_try_compile
"$LINENO"; then :
6524 ac_cv_header_stdc
=yes
6526 ac_cv_header_stdc
=no
6528 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6530 if test $ac_cv_header_stdc = yes; then
6531 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6533 /* end confdefs.h. */
6537 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6538 $EGREP "memchr" >/dev
/null
2>&1; then :
6541 ac_cv_header_stdc
=no
6547 if test $ac_cv_header_stdc = yes; then
6548 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6550 /* end confdefs.h. */
6554 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6555 $EGREP "free" >/dev
/null
2>&1; then :
6558 ac_cv_header_stdc
=no
6564 if test $ac_cv_header_stdc = yes; then
6565 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6566 if test "$cross_compiling" = yes; then :
6569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6570 /* end confdefs.h. */
6573 #if ((' ' & 0x0FF) == 0x020)
6574 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6575 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6577 # define ISLOWER(c) \
6578 (('a' <= (c) && (c) <= 'i') \
6579 || ('j' <= (c) && (c) <= 'r') \
6580 || ('s' <= (c) && (c) <= 'z'))
6581 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6584 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6589 for (i = 0; i < 256; i++)
6590 if (XOR (islower (i), ISLOWER (i))
6591 || toupper (i) != TOUPPER (i))
6596 if ac_fn_c_try_run
"$LINENO"; then :
6599 ac_cv_header_stdc
=no
6601 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6602 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6608 $as_echo "$ac_cv_header_stdc" >&6; }
6609 if test $ac_cv_header_stdc = yes; then
6611 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6615 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6616 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6617 inttypes.h stdint.h unistd.h
6619 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6620 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6622 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6623 cat >>confdefs.h
<<_ACEOF
6624 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6634 ApplicationServices
/ApplicationServices.h \
6635 AudioToolbox
/AudioConverter.h \
6636 AudioUnit
/AudioUnit.h \
6637 AudioUnit
/AudioComponent.h \
6640 CoreAudio
/CoreAudio.h \
6641 CoreServices
/CoreServices.h \
6642 DiskArbitration
/DiskArbitration.h \
6644 IOKit
/hid
/IOHIDLib.h \
6647 QuickTime
/ImageCompression.h \
6648 Security
/Security.h \
6699 netinet
/in_systm.h \
6762 valgrind
/memcheck.h \
6763 valgrind
/valgrind.h \
6767 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6768 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6769 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6770 cat >>confdefs.h
<<_ACEOF
6771 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6779 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6780 if ${ac_cv_header_stat_broken+:} false
; then :
6781 $as_echo_n "(cached) " >&6
6783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6784 /* end confdefs.h. */
6785 #include <sys/types.h>
6786 #include <sys/stat.h>
6788 #if defined S_ISBLK && defined S_IFDIR
6789 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6792 #if defined S_ISBLK && defined S_IFCHR
6793 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6796 #if defined S_ISLNK && defined S_IFREG
6797 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6800 #if defined S_ISSOCK && defined S_IFREG
6801 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6805 if ac_fn_c_try_compile
"$LINENO"; then :
6806 ac_cv_header_stat_broken
=no
6808 ac_cv_header_stat_broken
=yes
6810 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6813 $as_echo "$ac_cv_header_stat_broken" >&6; }
6814 if test $ac_cv_header_stat_broken = yes; then
6816 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6822 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6824 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6825 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6826 #ifdef HAVE_SYS_PARAM_H
6827 # include <sys/param.h>
6830 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6831 cat >>confdefs.h
<<_ACEOF
6832 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6847 netinet
/if_ether.h \
6848 netinet
/if_inarp.h \
6857 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6858 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6859 #ifdef HAVE_SYS_SOCKET_H
6860 # include <sys/socket.h>
6862 #ifdef HAVE_SYS_SOCKETVAR_H
6863 # include <sys/socketvar.h>
6865 #ifdef HAVE_NET_ROUTE_H
6866 # include <net/route.h>
6868 #ifdef HAVE_NETINET_IN_H
6869 # include <netinet/in.h>
6871 #ifdef HAVE_NETINET_IN_SYSTM_H
6872 # include <netinet/in_systm.h>
6874 #ifdef HAVE_NET_IF_H
6875 # include <net/if.h>
6877 #ifdef HAVE_NETINET_IP_H
6878 # include <netinet/ip.h>
6881 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6882 cat >>confdefs.h
<<_ACEOF
6883 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6891 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6893 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6894 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6898 #ifdef HAVE_SYS_SOCKET_H
6899 # include <sys/socket.h>
6901 #ifdef HAVE_SYS_SOCKETVAR_H
6902 # include <sys/socketvar.h>
6904 #ifdef HAVE_SYS_TIMEOUT_H
6905 # include <sys/timeout.h>
6907 #ifdef HAVE_NETINET_IN_H
6908 # include <netinet/in.h>
6910 #ifdef HAVE_NETINET_IN_SYSTM_H
6911 # include <netinet/in_systm.h>
6913 #ifdef HAVE_NETINET_IP_H
6914 # include <netinet/ip.h>
6916 #ifdef HAVE_NETINET_IP_VAR_H
6917 # include <netinet/ip_var.h>
6919 #ifdef HAVE_NETINET_IP_ICMP_H
6920 # include <netinet/ip_icmp.h>
6922 #ifdef HAVE_NETINET_UDP_H
6923 # include <netinet/udp.h>
6925 #ifdef HAVE_NETINET_TCP_H
6926 # include <netinet/tcp.h>
6928 #ifdef HAVE_NETINET_TCP_TIMER_H
6929 #include <netinet/tcp_timer.h>
6932 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6933 cat >>confdefs.h
<<_ACEOF
6934 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6942 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6944 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6945 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6946 #ifdef HAVE_ASM_TYPES_H
6947 # include <asm/types.h>
6949 #ifdef HAVE_SYS_SOCKET_H
6950 # include <sys/socket.h>
6952 #ifdef HAVE_LINUX_TYPES_H
6953 # include <linux/types.h>
6956 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6957 cat >>confdefs.h
<<_ACEOF
6958 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6966 for ac_header
in mach-o
/dyld_images.h
6968 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6969 # include <stdbool.h>
6971 #ifdef HAVE_STDINT_H
6972 # include <stdint.h>
6975 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6976 cat >>confdefs.h
<<_ACEOF
6977 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6985 for ac_header
in resolv.h
6987 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6988 #ifdef HAVE_SYS_SOCKET_H
6989 # include <sys/socket.h>
6991 #ifdef HAVE_NETINET_IN_H
6992 # include <netinet/in.h>
6994 #ifdef HAVE_ARPA_NAMESER_H
6995 # include <arpa/nameser.h>
6998 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6999 cat >>confdefs.h
<<_ACEOF
7000 #define HAVE_RESOLV_H 1
7008 for ac_header
in ifaddrs.h
7010 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7012 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
7013 cat >>confdefs.h
<<_ACEOF
7014 #define HAVE_IFADDRS_H 1
7022 for ac_header
in sys
/ucontext.h
7024 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7026 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
7027 cat >>confdefs.h
<<_ACEOF
7028 #define HAVE_SYS_UCONTEXT_H 1
7036 for ac_header
in sys
/thr.h
7038 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7039 #ifdef HAVE_SYS_UCONTEXT_H
7040 #include <sys/ucontext.h>
7043 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
7044 cat >>confdefs.h
<<_ACEOF
7045 #define HAVE_SYS_THR_H 1
7053 for ac_header
in pthread_np.h
7055 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7056 #include <pthread.h>
7059 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
7060 cat >>confdefs.h
<<_ACEOF
7061 #define HAVE_PTHREAD_NP_H 1
7069 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
7071 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7072 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7073 #include <sys/time.h>
7075 #include <sys/types.h>
7076 #ifdef HAVE_ASM_TYPES_H
7077 #include <asm/types.h>
7080 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7081 cat >>confdefs.h
<<_ACEOF
7082 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7090 for ac_header
in libprocstat.h
7092 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7093 #include <sys/param.h>
7095 #ifdef HAVE_SYS_QUEUE_H
7096 #include <sys/queue.h>
7098 #ifdef HAVE_SYS_SOCKET_H
7099 #include <sys/socket.h>
7102 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
7103 cat >>confdefs.h
<<_ACEOF
7104 #define HAVE_LIBPROCSTAT_H 1
7113 dlldir
="\${libdir}/wine"
7117 DLLFLAGS
="-D_REENTRANT"
7126 STATIC_IMPLIBEXT
="def.a"
7127 # Extract the first word of "ldd", so it can be a program name with args.
7128 set dummy ldd
; ac_word
=$2
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7130 $as_echo_n "checking for $ac_word... " >&6; }
7131 if ${ac_cv_path_LDD+:} false
; then :
7132 $as_echo_n "(cached) " >&6
7136 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7140 as_dummy
="/sbin:/usr/sbin:$PATH"
7141 for as_dir
in $as_dummy
7144 test -z "$as_dir" && as_dir
=.
7145 for ac_exec_ext
in '' $ac_executable_extensions; do
7146 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7147 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7155 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7160 if test -n "$LDD"; then
7161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7162 $as_echo "$LDD" >&6; }
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7165 $as_echo "no" >&6; }
7169 if test -n "$ac_tool_prefix"; then
7170 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7171 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7173 $as_echo_n "checking for $ac_word... " >&6; }
7174 if ${ac_cv_prog_OTOOL+:} false
; then :
7175 $as_echo_n "(cached) " >&6
7177 if test -n "$OTOOL"; then
7178 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7184 test -z "$as_dir" && as_dir
=.
7185 for ac_exec_ext
in '' $ac_executable_extensions; do
7186 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7187 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7197 OTOOL
=$ac_cv_prog_OTOOL
7198 if test -n "$OTOOL"; then
7199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7200 $as_echo "$OTOOL" >&6; }
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7203 $as_echo "no" >&6; }
7208 if test -z "$ac_cv_prog_OTOOL"; then
7210 # Extract the first word of "otool", so it can be a program name with args.
7211 set dummy otool
; ac_word
=$2
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7213 $as_echo_n "checking for $ac_word... " >&6; }
7214 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
7215 $as_echo_n "(cached) " >&6
7217 if test -n "$ac_ct_OTOOL"; then
7218 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7224 test -z "$as_dir" && as_dir
=.
7225 for ac_exec_ext
in '' $ac_executable_extensions; do
7226 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7227 ac_cv_prog_ac_ct_OTOOL
="otool"
7228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7237 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7238 if test -n "$ac_ct_OTOOL"; then
7239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7240 $as_echo "$ac_ct_OTOOL" >&6; }
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7243 $as_echo "no" >&6; }
7246 if test "x$ac_ct_OTOOL" = x
; then
7249 case $cross_compiling:$ac_tool_warned in
7251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7252 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7253 ac_tool_warned
=yes ;;
7258 OTOOL
="$ac_cv_prog_OTOOL"
7261 if test -n "$ac_tool_prefix"; then
7262 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7263 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7265 $as_echo_n "checking for $ac_word... " >&6; }
7266 if ${ac_cv_prog_READELF+:} false
; then :
7267 $as_echo_n "(cached) " >&6
7269 if test -n "$READELF"; then
7270 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7276 test -z "$as_dir" && as_dir
=.
7277 for ac_exec_ext
in '' $ac_executable_extensions; do
7278 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7279 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7289 READELF
=$ac_cv_prog_READELF
7290 if test -n "$READELF"; then
7291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7292 $as_echo "$READELF" >&6; }
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7295 $as_echo "no" >&6; }
7300 if test -z "$ac_cv_prog_READELF"; then
7301 ac_ct_READELF
=$READELF
7302 # Extract the first word of "readelf", so it can be a program name with args.
7303 set dummy readelf
; ac_word
=$2
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7305 $as_echo_n "checking for $ac_word... " >&6; }
7306 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7307 $as_echo_n "(cached) " >&6
7309 if test -n "$ac_ct_READELF"; then
7310 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7312 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7316 test -z "$as_dir" && as_dir
=.
7317 for ac_exec_ext
in '' $ac_executable_extensions; do
7318 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7319 ac_cv_prog_ac_ct_READELF
="readelf"
7320 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7329 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7330 if test -n "$ac_ct_READELF"; then
7331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7332 $as_echo "$ac_ct_READELF" >&6; }
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7335 $as_echo "no" >&6; }
7338 if test "x$ac_ct_READELF" = x
; then
7341 case $cross_compiling:$ac_tool_warned in
7343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7344 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7345 ac_tool_warned
=yes ;;
7347 READELF
=$ac_ct_READELF
7350 READELF
="$ac_cv_prog_READELF"
7353 wine_rules_file
=conf$
$rules.
make
7354 rm -f $wine_rules_file
7356 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7357 ALL_TEST_RESOURCES
=""
7360 wine_fn_append_file
()
7362 as_fn_append
$1 " \\$as_nl $2"
7365 wine_fn_ignore_file
()
7368 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7369 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7370 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7374 wine_fn_append_rule
()
7376 $as_echo "$1" >>$wine_rules_file
7381 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7384 wine_fn_depend_rules
()
7386 wine_fn_append_rule \
7387 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7388 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7389 depend: $ac_dir/depend
7390 .PHONY: $ac_dir/depend
7391 $ac_dir/depend: \$(MAKEDEP) dummy
7392 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7395 wine_fn_pot_rules
()
7397 test "x$with_gettextpo" = xyes ||
return
7399 if wine_fn_has_flag mc
7401 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7402 wine_fn_append_rule \
7403 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7404 @cd $ac_dir && \$(MAKE) msg.pot
7405 $ac_dir/msg.pot: tools/wmc include"
7407 if wine_fn_has_flag po
7409 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7410 wine_fn_append_rule \
7411 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7412 @cd $ac_dir && \$(MAKE) rsrc.pot
7413 $ac_dir/rsrc.pot: tools/wrc include"
7417 wine_fn_all_rules
()
7419 wine_fn_depend_rules
7420 wine_fn_append_rule \
7423 $ac_dir: $ac_dir/Makefile dummy
7424 @cd $ac_dir && \$(MAKE)"
7427 wine_fn_install_rules
()
7429 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7431 wine_fn_append_rule \
7432 ".PHONY: $ac_dir/install $ac_dir/uninstall
7433 $ac_dir/install:: $ac_dir
7434 @cd $ac_dir && \$(MAKE) install
7435 $ac_dir/uninstall:: $ac_dir/Makefile
7436 @cd $ac_dir && \$(MAKE) uninstall
7437 install:: $ac_dir/install
7438 __uninstall__: $ac_dir/uninstall"
7440 if wine_fn_has_flag install-lib
7442 wine_fn_append_rule \
7443 ".PHONY: $ac_dir/install-lib
7444 $ac_dir/install-lib:: $ac_dir
7445 @cd $ac_dir && \$(MAKE) install-lib
7446 install-lib:: $ac_dir/install-lib"
7449 if wine_fn_has_flag install-dev
7451 wine_fn_append_rule \
7452 ".PHONY: $ac_dir/install-dev
7453 $ac_dir/install-dev:: $ac_dir
7454 @cd $ac_dir && \$(MAKE) install-dev
7455 install-dev:: $ac_dir/install-dev"
7459 wine_fn_clean_rules
()
7462 ac_extraclean
="$ac_dir/Makefile"
7463 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7465 */tests
) ac_extraclean
="$ac_extraclean $ac_dir/testlist.c" ;;
7468 if wine_fn_has_flag clean
7470 wine_fn_append_rule \
7471 "__clean__: $ac_dir/clean
7472 .PHONY: $ac_dir/clean
7473 $ac_dir/clean: $ac_dir/Makefile
7474 @cd $ac_dir && \$(MAKE) clean
7475 \$(RM) $ac_extraclean"
7477 wine_fn_append_rule \
7478 "__clean__: $ac_dir/clean
7479 .PHONY: $ac_dir/clean
7480 $ac_dir/clean: dummy
7481 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7485 wine_fn_disabled_rules
()
7488 ac_extraclean
="$ac_dir/Makefile"
7489 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7491 wine_fn_append_rule \
7492 "__clean__: $ac_dir/clean
7493 .PHONY: $ac_dir/clean
7494 $ac_dir/clean: dummy
7495 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7498 wine_fn_config_makefile
()
7504 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7505 wine_fn_disabled_rules
; return
7508 wine_fn_install_rules
7512 wine_fn_config_lib
()
7516 ac_dir
=dlls
/$ac_name
7519 if test "x$enable_tools" = xno
; then :
7522 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7527 wine_fn_append_rule \
7528 ".PHONY: $ac_dir/install $ac_dir/uninstall
7529 $ac_dir/install:: $ac_dir
7530 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7532 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7533 install install-dev:: $ac_dir/install
7534 __uninstall__: $ac_dir/uninstall
7535 __builddeps__: $ac_dir
7539 wine_fn_config_dll
()
7542 ac_dir
=dlls
/$ac_name
7545 ac_implib
=${4:-$ac_name}
7546 ac_file
=$ac_dir/lib
$ac_implib
7551 if test "x$enable_tools" = xno
; then :
7554 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7557 *16) ac_implibflags
=" -m16" ;;
7559 *) ac_dll
=$ac_dll.dll
;;
7563 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7564 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7565 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7566 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7568 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7569 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
7571 wine_fn_depend_rules
7572 wine_fn_clean_rules
$ac_clean
7574 wine_fn_disabled_rules
$ac_clean
7579 wine_fn_clean_rules
$ac_clean
7580 wine_fn_append_rule \
7581 "$ac_dir: __builddeps__
7582 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7583 @cd $ac_dir && \$(MAKE) \$@
7584 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7585 install install-lib:: $ac_dir/install-lib
7586 __uninstall__: $ac_dir/uninstall"
7587 if test -n "$DLLEXT"
7589 wine_fn_append_rule \
7590 "$ac_dir/install-lib:: $ac_dir
7591 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7592 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7594 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7596 wine_fn_append_rule \
7597 "$ac_dir/install-lib:: $ac_dir
7598 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7600 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7606 if wine_fn_has_flag staticimplib
7608 wine_fn_append_rule \
7609 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7610 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7611 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7612 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7613 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7614 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7615 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7616 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7617 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7619 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7620 install install-dev:: $ac_dir/install-dev
7621 __uninstall__: $ac_dir/uninstall"
7623 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7625 wine_fn_append_rule \
7626 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7627 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7629 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7632 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7634 wine_fn_append_rule \
7635 "__builddeps__: $ac_file.cross.a
7636 $ac_file.cross.a: $ac_dir/Makefile dummy
7637 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7640 elif wine_fn_has_flag implib
7642 wine_fn_append_rule \
7643 "__builddeps__: $ac_file.$IMPLIBEXT
7644 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7645 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7646 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7647 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7648 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7649 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7650 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7652 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7653 install install-dev:: $ac_dir/install-dev
7654 __uninstall__: $ac_dir/uninstall"
7655 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7657 wine_fn_append_rule \
7658 "__builddeps__: $ac_file.cross.a
7659 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7660 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7663 if test "$ac_name" != "$ac_implib"
7665 wine_fn_append_rule \
7666 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7667 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7668 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7670 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7671 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7672 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7674 wine_fn_append_rule \
7675 "__builddeps__: dlls/lib$ac_implib.cross.a
7676 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7677 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7679 \$(RM) dlls/lib$ac_implib.cross.a"
7680 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7686 wine_fn_config_program
()
7689 ac_dir
=programs
/$ac_name
7696 *) ac_program
=$ac_program.exe
;;
7700 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7701 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7702 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7703 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7705 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7706 wine_fn_disabled_rules
$ac_clean; return
7710 wine_fn_clean_rules
$ac_clean
7711 wine_fn_append_rule
"$ac_dir: __builddeps__"
7714 wine_fn_has_flag
install ||
return
7715 wine_fn_append_rule \
7716 ".PHONY: $ac_dir/install $ac_dir/uninstall
7717 install install-lib:: $ac_dir/install
7718 __uninstall__: $ac_dir/uninstall"
7720 if test -n "$DLLEXT"
7722 wine_fn_append_rule \
7723 "$ac_dir/install:: $ac_dir
7724 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7725 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7727 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7729 if test -z "$with_wine64" && wine_fn_has_flag installbin
7731 wine_fn_append_rule \
7732 "$ac_dir/install:: __tooldeps__
7733 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7735 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7738 wine_fn_append_rule \
7739 "$ac_dir/install:: $ac_dir
7740 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7742 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7745 if test -z "$with_wine64" && wine_fn_has_flag manpage
7747 wine_fn_append_rule \
7748 "$ac_dir/install:: $ac_dir
7749 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7751 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7755 wine_fn_config_test
()
7762 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7763 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7765 if test "x$enable_tests" = xno
; then :
7766 wine_fn_disabled_rules
$ac_clean; return
7769 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7771 wine_fn_clean_rules
$ac_clean
7773 wine_fn_append_rule \
7774 "$ac_dir: programs/winetest/Makefile __builddeps__
7775 programs/winetest: $ac_dir
7776 check test: $ac_dir/test
7777 .PHONY: $ac_dir/test
7779 @cd $ac_dir && \$(MAKE) test
7781 \$(RM) $ac_dir/*.ok"
7783 if test -n "$CROSSTARGET"
7785 wine_fn_append_rule \
7786 "crosstest: $ac_dir/crosstest
7787 .PHONY: $ac_dir/crosstest
7788 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7789 @cd $ac_dir && \$(MAKE) crosstest"
7793 wine_fn_config_tool
()
7797 if test "x$enable_tools" = xno
; then :
7802 wine_fn_install_rules
7805 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7806 wine_fn_append_rule
"$ac_dir: libs/port"
7808 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7812 wine_fn_config_symlink
()
7815 if test "x$1" = "x-d"
7821 wine_fn_append_rule \
7823 @./config.status \$@
7826 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7827 test -n "$ac_linkdir" ||
return
7828 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7832 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7833 loader_programs
="$wine_binary wine-installed"
7834 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7839 install install-lib:: wine-installed
7840 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7843 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7849 if test -n "$ac_tool_prefix"; then
7850 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7851 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7853 $as_echo_n "checking for $ac_word... " >&6; }
7854 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7855 $as_echo_n "(cached) " >&6
7857 if test -n "$DLLTOOL"; then
7858 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7860 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7864 test -z "$as_dir" && as_dir
=.
7865 for ac_exec_ext
in '' $ac_executable_extensions; do
7866 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7867 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7877 DLLTOOL
=$ac_cv_prog_DLLTOOL
7878 if test -n "$DLLTOOL"; then
7879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7880 $as_echo "$DLLTOOL" >&6; }
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7883 $as_echo "no" >&6; }
7888 if test -z "$ac_cv_prog_DLLTOOL"; then
7889 ac_ct_DLLTOOL
=$DLLTOOL
7890 # Extract the first word of "dlltool", so it can be a program name with args.
7891 set dummy dlltool
; ac_word
=$2
7892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7893 $as_echo_n "checking for $ac_word... " >&6; }
7894 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7895 $as_echo_n "(cached) " >&6
7897 if test -n "$ac_ct_DLLTOOL"; then
7898 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7904 test -z "$as_dir" && as_dir
=.
7905 for ac_exec_ext
in '' $ac_executable_extensions; do
7906 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7907 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7917 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7918 if test -n "$ac_ct_DLLTOOL"; then
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7920 $as_echo "$ac_ct_DLLTOOL" >&6; }
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7923 $as_echo "no" >&6; }
7926 if test "x$ac_ct_DLLTOOL" = x
; then
7929 case $cross_compiling:$ac_tool_warned in
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7932 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7933 ac_tool_warned
=yes ;;
7935 DLLTOOL
=$ac_ct_DLLTOOL
7938 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7944 STATIC_IMPLIBEXT
="a"
7945 enable_iphlpapi
=${enable_iphlpapi:-no}
7946 enable_kernel32
=${enable_kernel32:-no}
7947 enable_msvcrt
=${enable_msvcrt:-no}
7948 enable_ntdll
=${enable_ntdll:-no}
7949 enable_ws2_32
=${enable_ws2_32:-no}
7950 enable_loader
=${enable_loader:-no}
7951 enable_server
=${enable_server:-no}
7952 with_x
=${with_x:-no}
7953 with_pthread
=${with_pthread:-no}
7959 SOCKET_LIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7963 libwine_targets
="libwine.dll libwine.a"
7965 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7967 all: libwine.dll libwine.a
7969 libwine.a: \$(srcdir)/wine.def
7970 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7972 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7973 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7975 install install-lib:: libwine.dll
7976 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7978 install install-dev:: libwine.a
7979 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7982 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7988 for ac_header
in libunwind.h
7990 ac_fn_c_check_header_mongrel
"$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7991 if test "x$ac_cv_header_libunwind_h" = xyes
; then :
7992 cat >>confdefs.h
<<_ACEOF
7993 #define HAVE_LIBUNWIND_H 1
8001 DLLFLAGS
="$DLLFLAGS -fPIC"
8002 LIBWINE_LDFLAGS
="-multiply_defined suppress"
8003 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8004 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8005 COREFOUNDATION_LIBS
="-framework CoreFoundation"
8007 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
8009 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
8011 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
8013 CORESERVICES_LIBS
="-framework CoreServices"
8015 APPKIT_LIBS
="-framework AppKit"
8017 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8019 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8020 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
8021 $as_echo_n "(cached) " >&6
8023 ac_wine_try_cflags_saved
=$CFLAGS
8024 CFLAGS
="$CFLAGS -Wl,-no_pie"
8025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8026 /* end confdefs.h. */
8027 int main(int argc, char **argv) { return 0; }
8029 if ac_fn_c_try_link
"$LINENO"; then :
8030 ac_cv_cflags__Wl__no_pie
=yes
8032 ac_cv_cflags__Wl__no_pie
=no
8034 rm -f core conftest.err conftest.
$ac_objext \
8035 conftest
$ac_exeext conftest.
$ac_ext
8036 CFLAGS
=$ac_wine_try_cflags_saved
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8039 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8040 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
8041 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
8043 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8045 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
8048 if test "$ac_cv_header_Security_Security_h" = "yes"
8050 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
8052 ac_save_LIBS
="$LIBS"
8053 LIBS
="$LIBS $SECURITY_LIBS"
8054 for ac_func
in SSLCopyPeerCertificates
8056 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8057 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
8058 cat >>confdefs.h
<<_ACEOF
8059 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8065 LIBS
="$ac_save_LIBS"
8066 with_gnutls
=${with_gnutls:-no}
8068 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8070 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8072 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8075 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8078 ac_save_LIBS
="$LIBS"
8079 LIBS
="$LIBS $COREAUDIO_LIBS"
8080 for ac_func
in AUGraphAddNode
8082 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8083 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
8084 cat >>confdefs.h
<<_ACEOF
8085 #define HAVE_AUGRAPHADDNODE 1
8091 LIBS
="$ac_save_LIBS"
8093 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8095 OPENAL_LIBS
="-framework OpenAL"
8098 cat >>confdefs.h
<<_ACEOF
8099 #define HAVE_OPENAL 1
8102 ac_cv_lib_openal
=yes
8104 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8106 OPENCL_LIBS
="-framework OpenCL"
8108 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
8110 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8112 ac_save_LIBS
="$LIBS"
8113 LIBS
="$LIBS $IOKIT_LIBS"
8114 for ac_func
in IOHIDManagerCreate
8116 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8117 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
8118 cat >>confdefs.h
<<_ACEOF
8119 #define HAVE_IOHIDMANAGERCREATE 1
8125 LIBS
="$ac_save_LIBS"
8127 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8129 ac_save_LIBS
="$LIBS"
8130 LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8132 $as_echo_n "checking for the QuickTime framework... " >&6; }
8133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8134 /* end confdefs.h. */
8135 #include <QuickTime/ImageCompression.h>
8139 CodecManagerVersion(NULL);
8144 if ac_fn_c_try_link
"$LINENO"; then :
8145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8146 $as_echo "yes" >&6; }
8147 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8149 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8152 $as_echo "no" >&6; }
8153 ac_cv_header_QuickTime_ImageCompression_h
=no
8155 rm -f core conftest.err conftest.
$ac_objext \
8156 conftest
$ac_exeext conftest.
$ac_ext
8157 LIBS
="$ac_save_LIBS"
8159 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8161 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8163 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8165 CARBON_LIBS
="-framework Carbon"
8169 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8171 ac_save_LIBS
="$LIBS"
8172 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
8173 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8174 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
8175 enable_winemac_drv
=${enable_winemac_drv:-yes}
8178 LIBS
="$ac_save_LIBS"
8181 if test "x$enable_win16" = "xyes"
8183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8184 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8185 if test "$cross_compiling" = yes; then :
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8187 $as_echo "cross-compiling, assuming yes" >&6; }
8189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8190 /* end confdefs.h. */
8193 "good:\tnop;nop\n\t"
8194 ".globl _testfunc\n"
8195 "_testfunc:\tcallw good");
8196 extern void testfunc();
8200 unsigned short *p = (unsigned short *)testfunc;
8201 return p[0] != 0xe866 || p[1] != 0xfffa
8206 if ac_fn_c_try_run
"$LINENO"; then :
8207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8208 $as_echo "yes" >&6; }
8210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8211 $as_echo "no" >&6; }
8212 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
8214 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8215 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8220 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
8222 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8226 libwine.$libwine_version.dylib: \$(OBJS)
8227 \$(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 \$@
8229 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
8230 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
8232 libwine.dylib: libwine.$libwine_soversion.dylib
8233 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
8235 install install-lib:: libwine.$libwine_version.dylib
8236 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
8237 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
8239 install install-dev::
8240 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
8243 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
8247 as_fn_append LOADER_RULES
"
8248 $wine_binary: main.o wine_info.plist
8249 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8251 wine-installed: main.o wine_info.plist
8252 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8257 DLLFLAGS
="$DLLFLAGS -fPIC"
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8262 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8263 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8264 $as_echo_n "(cached) " >&6
8266 ac_wine_try_cflags_saved
=$CFLAGS
8267 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8268 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8269 /* end confdefs.h. */
8270 int main(int argc, char **argv) { return 0; }
8272 if ac_fn_c_try_link
"$LINENO"; then :
8273 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8275 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8277 rm -f core conftest.err conftest.
$ac_objext \
8278 conftest
$ac_exeext conftest.
$ac_ext
8279 CFLAGS
=$ac_wine_try_cflags_saved
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8282 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8283 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8284 LDEXECFLAGS
="-Wl,--export-dynamic"
8286 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8288 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8289 if eval \
${$as_ac_var+:} false
; then :
8290 $as_echo_n "(cached) " >&6
8292 ac_wine_try_cflags_saved
=$CFLAGS
8293 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8294 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8295 /* end confdefs.h. */
8296 int main(int argc, char **argv) { return 0; }
8298 if ac_fn_c_try_link
"$LINENO"; then :
8299 eval "$as_ac_var=yes"
8301 eval "$as_ac_var=no"
8303 rm -f core conftest.err conftest.
$ac_objext \
8304 conftest
$ac_exeext conftest.
$ac_ext
8305 CFLAGS
=$ac_wine_try_cflags_saved
8307 eval ac_res
=\$
$as_ac_var
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8309 $as_echo "$ac_res" >&6; }
8310 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8311 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8312 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8314 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8316 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8317 if eval \
${$as_ac_var+:} false
; then :
8318 $as_echo_n "(cached) " >&6
8320 ac_wine_try_cflags_saved
=$CFLAGS
8321 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8323 /* end confdefs.h. */
8324 int main(int argc, char **argv) { return 0; }
8326 if ac_fn_c_try_link
"$LINENO"; then :
8327 eval "$as_ac_var=yes"
8329 eval "$as_ac_var=no"
8331 rm -f core conftest.err conftest.
$ac_objext \
8332 conftest
$ac_exeext conftest.
$ac_ext
8333 CFLAGS
=$ac_wine_try_cflags_saved
8335 eval ac_res
=\$
$as_ac_var
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8337 $as_echo "$ac_res" >&6; }
8338 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8339 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8340 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8345 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8346 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8347 $as_echo_n "(cached) " >&6
8349 ac_wine_try_cflags_saved
=$CFLAGS
8350 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8352 /* end confdefs.h. */
8353 int main(int argc, char **argv) { return 0; }
8355 if ac_fn_c_try_link
"$LINENO"; then :
8356 ac_cv_cflags__Wl___enable_new_dtags
=yes
8358 ac_cv_cflags__Wl___enable_new_dtags
=no
8360 rm -f core conftest.err conftest.
$ac_objext \
8361 conftest
$ac_exeext conftest.
$ac_ext
8362 CFLAGS
=$ac_wine_try_cflags_saved
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8365 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8366 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8367 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8371 *i
[3456789]86* | x86_64
)
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8373 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8374 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8375 $as_echo_n "(cached) " >&6
8377 ac_wine_try_cflags_saved
=$CFLAGS
8378 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8380 /* end confdefs.h. */
8381 int main(int argc, char **argv) { return 0; }
8383 if ac_fn_c_try_link
"$LINENO"; then :
8384 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8386 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8388 rm -f core conftest.err conftest.
$ac_objext \
8389 conftest
$ac_exeext conftest.
$ac_ext
8390 CFLAGS
=$ac_wine_try_cflags_saved
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8393 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8394 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8395 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8400 libwine_targets
="libwine.so"
8402 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8406 libwine.so: \$(OBJS)
8407 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8409 install install-lib:: libwine.so
8410 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8413 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8417 as_fn_append LOADER_RULES
"
8418 $wine_binary: main.o
8419 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8421 wine-installed: main.o
8422 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8427 DLLFLAGS
="$DLLFLAGS -fPIC"
8429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8430 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8431 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8432 $as_echo_n "(cached) " >&6
8434 ac_wine_try_cflags_saved
=$CFLAGS
8435 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8437 /* end confdefs.h. */
8440 if ac_fn_c_try_link
"$LINENO"; then :
8441 ac_cv_c_dll_gnuelf
="yes"
8443 ac_cv_c_dll_gnuelf
="no"
8445 rm -f core conftest.err conftest.
$ac_objext \
8446 conftest
$ac_exeext conftest.
$ac_ext
8447 CFLAGS
=$ac_wine_try_cflags_saved
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8450 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8451 if test "$ac_cv_c_dll_gnuelf" = "yes"
8453 LDSHARED
="\$(CC) -shared"
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8455 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8456 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8457 $as_echo_n "(cached) " >&6
8459 ac_wine_try_cflags_saved
=$CFLAGS
8460 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8462 /* end confdefs.h. */
8463 int main(int argc, char **argv) { return 0; }
8465 if ac_fn_c_try_link
"$LINENO"; then :
8466 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8468 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8470 rm -f core conftest.err conftest.
$ac_objext \
8471 conftest
$ac_exeext conftest.
$ac_ext
8472 CFLAGS
=$ac_wine_try_cflags_saved
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8475 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8476 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8477 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8480 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8481 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8482 $as_echo_n "(cached) " >&6
8484 ac_wine_try_cflags_saved
=$CFLAGS
8485 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8487 /* end confdefs.h. */
8488 int main(int argc, char **argv) { return 0; }
8490 if ac_fn_c_try_link
"$LINENO"; then :
8491 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8493 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8495 rm -f core conftest.err conftest.
$ac_objext \
8496 conftest
$ac_exeext conftest.
$ac_ext
8497 CFLAGS
=$ac_wine_try_cflags_saved
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8500 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8501 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8502 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8506 echo '{ global: *; };' >conftest.map
8507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8508 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8509 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8510 $as_echo_n "(cached) " >&6
8512 ac_wine_try_cflags_saved
=$CFLAGS
8513 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8514 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8515 /* end confdefs.h. */
8516 int main(int argc, char **argv) { return 0; }
8518 if ac_fn_c_try_link
"$LINENO"; then :
8519 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8521 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8523 rm -f core conftest.err conftest.
$ac_objext \
8524 conftest
$ac_exeext conftest.
$ac_ext
8525 CFLAGS
=$ac_wine_try_cflags_saved
8527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8528 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8529 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8530 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8535 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8536 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8537 $as_echo_n "(cached) " >&6
8539 ac_wine_try_cflags_saved
=$CFLAGS
8540 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8542 /* end confdefs.h. */
8543 int main(int argc, char **argv) { return 0; }
8545 if ac_fn_c_try_link
"$LINENO"; then :
8546 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8548 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8550 rm -f core conftest.err conftest.
$ac_objext \
8551 conftest
$ac_exeext conftest.
$ac_ext
8552 CFLAGS
=$ac_wine_try_cflags_saved
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8555 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8556 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8557 LDEXECFLAGS
="-Wl,--export-dynamic"
8560 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8562 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8563 if eval \
${$as_ac_var+:} false
; then :
8564 $as_echo_n "(cached) " >&6
8566 ac_wine_try_cflags_saved
=$CFLAGS
8567 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8569 /* end confdefs.h. */
8570 int main(int argc, char **argv) { return 0; }
8572 if ac_fn_c_try_link
"$LINENO"; then :
8573 eval "$as_ac_var=yes"
8575 eval "$as_ac_var=no"
8577 rm -f core conftest.err conftest.
$ac_objext \
8578 conftest
$ac_exeext conftest.
$ac_ext
8579 CFLAGS
=$ac_wine_try_cflags_saved
8581 eval ac_res
=\$
$as_ac_var
8582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8583 $as_echo "$ac_res" >&6; }
8584 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8585 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8586 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8588 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8590 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8591 if eval \
${$as_ac_var+:} false
; then :
8592 $as_echo_n "(cached) " >&6
8594 ac_wine_try_cflags_saved
=$CFLAGS
8595 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8597 /* end confdefs.h. */
8598 int main(int argc, char **argv) { return 0; }
8600 if ac_fn_c_try_link
"$LINENO"; then :
8601 eval "$as_ac_var=yes"
8603 eval "$as_ac_var=no"
8605 rm -f core conftest.err conftest.
$ac_objext \
8606 conftest
$ac_exeext conftest.
$ac_ext
8607 CFLAGS
=$ac_wine_try_cflags_saved
8609 eval ac_res
=\$
$as_ac_var
8610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8611 $as_echo "$ac_res" >&6; }
8612 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8613 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8614 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8619 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8620 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8621 $as_echo_n "(cached) " >&6
8623 ac_wine_try_cflags_saved
=$CFLAGS
8624 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8625 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8626 /* end confdefs.h. */
8627 int main(int argc, char **argv) { return 0; }
8629 if ac_fn_c_try_link
"$LINENO"; then :
8630 ac_cv_cflags__Wl___enable_new_dtags
=yes
8632 ac_cv_cflags__Wl___enable_new_dtags
=no
8634 rm -f core conftest.err conftest.
$ac_objext \
8635 conftest
$ac_exeext conftest.
$ac_ext
8636 CFLAGS
=$ac_wine_try_cflags_saved
8638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8639 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8640 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8641 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8645 *i
[3456789]86* | x86_64
)
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8647 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8648 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8649 $as_echo_n "(cached) " >&6
8651 ac_wine_try_cflags_saved
=$CFLAGS
8652 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8654 /* end confdefs.h. */
8655 int main(int argc, char **argv) { return 0; }
8657 if ac_fn_c_try_link
"$LINENO"; then :
8658 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8660 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8662 rm -f core conftest.err conftest.
$ac_objext \
8663 conftest
$ac_exeext conftest.
$ac_ext
8664 CFLAGS
=$ac_wine_try_cflags_saved
8666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8667 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8668 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8670 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8671 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8675 # Extract the first word of "prelink", so it can be a program name with args.
8676 set dummy prelink
; ac_word
=$2
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8678 $as_echo_n "checking for $ac_word... " >&6; }
8679 if ${ac_cv_path_PRELINK+:} false
; then :
8680 $as_echo_n "(cached) " >&6
8684 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8687 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8688 for as_dir
in /sbin
/usr
/sbin
$PATH
8691 test -z "$as_dir" && as_dir
=.
8692 for ac_exec_ext
in '' $ac_executable_extensions; do
8693 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8694 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8702 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8706 PRELINK
=$ac_cv_path_PRELINK
8707 if test -n "$PRELINK"; then
8708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8709 $as_echo "$PRELINK" >&6; }
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8712 $as_echo "no" >&6; }
8716 if test "x$PRELINK" = xfalse
8718 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8725 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8726 if ${ac_cv_c_dll_unixware+:} false
; then :
8727 $as_echo_n "(cached) " >&6
8729 ac_wine_try_cflags_saved
=$CFLAGS
8730 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8732 /* end confdefs.h. */
8735 if ac_fn_c_try_link
"$LINENO"; then :
8736 ac_cv_c_dll_unixware
="yes"
8738 ac_cv_c_dll_unixware
="no"
8740 rm -f core conftest.err conftest.
$ac_objext \
8741 conftest
$ac_exeext conftest.
$ac_ext
8742 CFLAGS
=$ac_wine_try_cflags_saved
8744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8745 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8746 if test "$ac_cv_c_dll_unixware" = "yes"
8748 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8751 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8753 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8757 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8758 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8760 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8761 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8763 libwine.so: libwine.so.$libwine_soversion
8764 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8766 install install-lib:: libwine.so.$libwine_version
8767 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8768 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8770 install install-dev::
8771 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8774 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8778 as_fn_append LOADER_RULES
"
8779 $wine_binary: main.o
8780 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8782 wine-installed: main.o
8783 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8788 as_fn_append LIBWINE_RULES
"
8789 EXTRA_TARGETS = $libwine_targets
8792 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8793 enable_winemac_drv
=${enable_winemac_drv:-no}
8797 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8801 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
8804 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 " ;;
8806 ac_prefix_list
="" ;;
8808 for ac_prog
in $ac_prefix_list
8810 # Extract the first word of "$ac_prog", so it can be a program name with args.
8811 set dummy
$ac_prog; ac_word
=$2
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8813 $as_echo_n "checking for $ac_word... " >&6; }
8814 if ${ac_cv_prog_CROSSCC+:} false
; then :
8815 $as_echo_n "(cached) " >&6
8817 if test -n "$CROSSCC"; then
8818 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8820 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8824 test -z "$as_dir" && as_dir
=.
8825 for ac_exec_ext
in '' $ac_executable_extensions; do
8826 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8827 ac_cv_prog_CROSSCC
="$ac_prog"
8828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8837 CROSSCC
=$ac_cv_prog_CROSSCC
8838 if test -n "$CROSSCC"; then
8839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8840 $as_echo "$CROSSCC" >&6; }
8842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8843 $as_echo "no" >&6; }
8847 test -n "$CROSSCC" && break
8849 test -n "$CROSSCC" || CROSSCC
="false"
8851 if test "$CROSSCC" != "false"
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8856 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8858 /* end confdefs.h. */
8868 if ac_fn_c_try_compile
"$LINENO"; then :
8869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8870 $as_echo "yes" >&6; }
8876 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8882 $as_echo "no" >&6; }
8884 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8890 if test "$ac_cv_header_pthread_h" = "yes"
8892 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8893 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8897 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8898 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8899 $as_echo_n "(cached) " >&6
8901 ac_check_lib_save_LIBS
=$LIBS
8902 LIBS
="-lpthread $LIBS"
8903 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8904 /* end confdefs.h. */
8906 /* Override any GCC internal prototype to avoid an error.
8907 Use char because int might match the return type of a GCC
8908 builtin and then its argument prototype would still apply. */
8912 char pthread_create ();
8916 return pthread_create ();
8921 if ac_fn_c_try_link
"$LINENO"; then :
8922 ac_cv_lib_pthread_pthread_create
=yes
8924 ac_cv_lib_pthread_pthread_create
=no
8926 rm -f core conftest.err conftest.
$ac_objext \
8927 conftest
$ac_exeext conftest.
$ac_ext
8928 LIBS
=$ac_check_lib_save_LIBS
8930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8931 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8932 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8933 PTHREAD_LIBS
="-lpthread"
8940 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8941 case "x$with_pthread" in
8943 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8944 Wine cannot support threads without libpthread.
8945 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8951 $as_echo_n "checking for X... " >&6; }
8954 # Check whether --with-x was given.
8955 if test "${with_x+set}" = set; then :
8959 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8960 if test "x$with_x" = xno
; then
8961 # The user explicitly disabled X.
8964 case $x_includes,$x_libraries in #(
8965 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8966 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8967 $as_echo_n "(cached) " >&6
8969 # One or both of the vars are not set, and there is no cached value.
8970 ac_x_includes
=no ac_x_libraries
=no
8971 rm -f -r conftest.dir
8972 if mkdir conftest.dir
; then
8974 cat >Imakefile
<<'_ACEOF'
8976 @echo incroot='${INCROOT}'
8978 @echo usrlibdir='${USRLIBDIR}'
8980 @echo libdir='${LIBDIR}'
8982 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8983 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8984 for ac_var
in incroot usrlibdir libdir
; do
8985 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8987 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8988 for ac_extension
in a so sl dylib la dll
; do
8989 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8990 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8991 ac_im_usrlibdir
=$ac_im_libdir; break
8994 # Screen out bogus values from the imake configuration. They are
8995 # bogus both because they are the default anyway, and because
8996 # using them would break gcc on systems where it needs fixed includes.
8997 case $ac_im_incroot in
8998 /usr
/include
) ac_x_includes
= ;;
8999 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
9001 case $ac_im_usrlibdir in
9002 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
9003 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
9007 rm -f -r conftest.dir
9010 # Standard set of common directories for X headers.
9011 # Check X11 before X11Rn because it is often a symlink to the current release.
9025 /usr/local/X11/include
9026 /usr/local/X11R7/include
9027 /usr/local/X11R6/include
9028 /usr/local/X11R5/include
9029 /usr/local/X11R4/include
9031 /usr/local/include/X11
9032 /usr/local/include/X11R7
9033 /usr/local/include/X11R6
9034 /usr/local/include/X11R5
9035 /usr/local/include/X11R4
9039 /usr/XFree86/include/X11
9043 /usr/unsupported/include
9045 /usr/local/x11r5/include
9046 /usr/lpp/Xamples/include
9048 /usr/openwin/include
9049 /usr/openwin/share/include'
9051 if test "$ac_x_includes" = no
; then
9052 # Guess where to find include files, by looking for Xlib.h.
9053 # First, try using that file with no special directory specified.
9054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9055 /* end confdefs.h. */
9056 #include <X11/Xlib.h>
9058 if ac_fn_c_try_cpp
"$LINENO"; then :
9059 # We can compile using X headers with no special include directory.
9062 for ac_dir
in $ac_x_header_dirs; do
9063 if test -r "$ac_dir/X11/Xlib.h"; then
9064 ac_x_includes
=$ac_dir
9069 rm -f conftest.err conftest.i conftest.
$ac_ext
9070 fi # $ac_x_includes = no
9072 if test "$ac_x_libraries" = no
; then
9073 # Check for the libraries.
9074 # See if we find them without any special options.
9075 # Don't add to $LIBS permanently.
9078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9079 /* end confdefs.h. */
9080 #include <X11/Xlib.h>
9089 if ac_fn_c_try_link
"$LINENO"; then :
9091 # We can link X programs with no special library path.
9095 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9097 # Don't even attempt the hair of trying to link an X program!
9098 for ac_extension
in a so sl dylib la dll
; do
9099 if test -r "$ac_dir/libX11.$ac_extension"; then
9100 ac_x_libraries
=$ac_dir
9106 rm -f core conftest.err conftest.
$ac_objext \
9107 conftest
$ac_exeext conftest.
$ac_ext
9108 fi # $ac_x_libraries = no
9110 case $ac_x_includes,$ac_x_libraries in #(
9112 # Didn't find X, or a directory has "'" in its name.
9113 ac_cv_have_x
="have_x=no";; #(
9115 # Record where we found X for the cache.
9116 ac_cv_have_x
="have_x=yes\
9117 ac_x_includes='$ac_x_includes'\
9118 ac_x_libraries='$ac_x_libraries'"
9124 eval "$ac_cv_have_x"
9127 if test "$have_x" != yes; then
9128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9129 $as_echo "$have_x" >&6; }
9132 # If each of the values was on the command line, it overrides each guess.
9133 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
9134 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
9135 # Update the cache value to reflect the command line values.
9136 ac_cv_have_x
="have_x=yes\
9137 ac_x_includes='$x_includes'\
9138 ac_x_libraries='$x_libraries'"
9139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9140 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9143 if test "$no_x" = yes; then
9144 # Not all programs may use this symbol, but it does not hurt to define it.
9146 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9148 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
9150 if test -n "$x_includes"; then
9151 X_CFLAGS
="$X_CFLAGS -I$x_includes"
9154 # It would also be nice to do this for all -L options, not just this one.
9155 if test -n "$x_libraries"; then
9156 X_LIBS
="$X_LIBS -L$x_libraries"
9157 # For Solaris; some versions of Sun CC require a space after -R and
9158 # others require no space. Words are not sufficient . . . .
9159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9160 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9161 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
9162 ac_xsave_c_werror_flag
=$ac_c_werror_flag
9163 ac_c_werror_flag
=yes
9164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9165 /* end confdefs.h. */
9175 if ac_fn_c_try_link
"$LINENO"; then :
9176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9177 $as_echo "no" >&6; }
9178 X_LIBS
="$X_LIBS -R$x_libraries"
9180 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9182 /* end confdefs.h. */
9192 if ac_fn_c_try_link
"$LINENO"; then :
9193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9194 $as_echo "yes" >&6; }
9195 X_LIBS
="$X_LIBS -R $x_libraries"
9197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9198 $as_echo "neither works" >&6; }
9200 rm -f core conftest.err conftest.
$ac_objext \
9201 conftest
$ac_exeext conftest.
$ac_ext
9203 rm -f core conftest.err conftest.
$ac_objext \
9204 conftest
$ac_exeext conftest.
$ac_ext
9205 ac_c_werror_flag
=$ac_xsave_c_werror_flag
9209 # Check for system-dependent libraries X programs must link with.
9210 # Do this before checking for the system-independent R6 libraries
9211 # (-lICE), since we may need -lsocket or whatever for X linking.
9213 if test "$ISC" = yes; then
9214 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9216 # Martyn Johnson says this is needed for Ultrix, if the X
9217 # libraries were built with DECnet support. And Karl Berry says
9218 # the Alpha needs dnet_stub (dnet does not exist).
9219 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
9220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9221 /* end confdefs.h. */
9223 /* Override any GCC internal prototype to avoid an error.
9224 Use char because int might match the return type of a GCC
9225 builtin and then its argument prototype would still apply. */
9229 char XOpenDisplay ();
9233 return XOpenDisplay ();
9238 if ac_fn_c_try_link
"$LINENO"; then :
9241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9242 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9243 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
9244 $as_echo_n "(cached) " >&6
9246 ac_check_lib_save_LIBS
=$LIBS
9248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9249 /* end confdefs.h. */
9251 /* Override any GCC internal prototype to avoid an error.
9252 Use char because int might match the return type of a GCC
9253 builtin and then its argument prototype would still apply. */
9261 return dnet_ntoa ();
9266 if ac_fn_c_try_link
"$LINENO"; then :
9267 ac_cv_lib_dnet_dnet_ntoa
=yes
9269 ac_cv_lib_dnet_dnet_ntoa
=no
9271 rm -f core conftest.err conftest.
$ac_objext \
9272 conftest
$ac_exeext conftest.
$ac_ext
9273 LIBS
=$ac_check_lib_save_LIBS
9275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9276 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9277 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
9278 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9281 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9283 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9284 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
9285 $as_echo_n "(cached) " >&6
9287 ac_check_lib_save_LIBS
=$LIBS
9288 LIBS
="-ldnet_stub $LIBS"
9289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9290 /* end confdefs.h. */
9292 /* Override any GCC internal prototype to avoid an error.
9293 Use char because int might match the return type of a GCC
9294 builtin and then its argument prototype would still apply. */
9302 return dnet_ntoa ();
9307 if ac_fn_c_try_link
"$LINENO"; then :
9308 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
9310 ac_cv_lib_dnet_stub_dnet_ntoa
=no
9312 rm -f core conftest.err conftest.
$ac_objext \
9313 conftest
$ac_exeext conftest.
$ac_ext
9314 LIBS
=$ac_check_lib_save_LIBS
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9317 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9318 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9319 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9324 rm -f core conftest.err conftest.
$ac_objext \
9325 conftest
$ac_exeext conftest.
$ac_ext
9326 LIBS
="$ac_xsave_LIBS"
9328 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9329 # to get the SysV transport functions.
9330 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9332 # The nsl library prevents programs from opening the X display
9333 # on Irix 5.2, according to T.E. Dickey.
9334 # The functions gethostbyname, getservbyname, and inet_addr are
9335 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9336 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9337 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9341 if test $ac_cv_func_gethostbyname = no
; then
9342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9343 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9344 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9345 $as_echo_n "(cached) " >&6
9347 ac_check_lib_save_LIBS
=$LIBS
9349 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9350 /* end confdefs.h. */
9352 /* Override any GCC internal prototype to avoid an error.
9353 Use char because int might match the return type of a GCC
9354 builtin and then its argument prototype would still apply. */
9358 char gethostbyname ();
9362 return gethostbyname ();
9367 if ac_fn_c_try_link
"$LINENO"; then :
9368 ac_cv_lib_nsl_gethostbyname
=yes
9370 ac_cv_lib_nsl_gethostbyname
=no
9372 rm -f core conftest.err conftest.
$ac_objext \
9373 conftest
$ac_exeext conftest.
$ac_ext
9374 LIBS
=$ac_check_lib_save_LIBS
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9377 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9378 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9379 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9382 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9384 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9385 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9386 $as_echo_n "(cached) " >&6
9388 ac_check_lib_save_LIBS
=$LIBS
9390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9391 /* end confdefs.h. */
9393 /* Override any GCC internal prototype to avoid an error.
9394 Use char because int might match the return type of a GCC
9395 builtin and then its argument prototype would still apply. */
9399 char gethostbyname ();
9403 return gethostbyname ();
9408 if ac_fn_c_try_link
"$LINENO"; then :
9409 ac_cv_lib_bsd_gethostbyname
=yes
9411 ac_cv_lib_bsd_gethostbyname
=no
9413 rm -f core conftest.err conftest.
$ac_objext \
9414 conftest
$ac_exeext conftest.
$ac_ext
9415 LIBS
=$ac_check_lib_save_LIBS
9417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9418 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9419 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9420 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9426 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9427 # socket/setsockopt and other routines are undefined under SCO ODT
9428 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9429 # on later versions), says Simon Leinen: it contains gethostby*
9430 # variants that don't use the name server (or something). -lsocket
9431 # must be given before -lnsl if both are needed. We assume that
9432 # if connect needs -lnsl, so does gethostbyname.
9433 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9434 if test "x$ac_cv_func_connect" = xyes
; then :
9438 if test $ac_cv_func_connect = no
; then
9439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9440 $as_echo_n "checking for connect in -lsocket... " >&6; }
9441 if ${ac_cv_lib_socket_connect+:} false
; then :
9442 $as_echo_n "(cached) " >&6
9444 ac_check_lib_save_LIBS
=$LIBS
9445 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9447 /* end confdefs.h. */
9449 /* Override any GCC internal prototype to avoid an error.
9450 Use char because int might match the return type of a GCC
9451 builtin and then its argument prototype would still apply. */
9464 if ac_fn_c_try_link
"$LINENO"; then :
9465 ac_cv_lib_socket_connect
=yes
9467 ac_cv_lib_socket_connect
=no
9469 rm -f core conftest.err conftest.
$ac_objext \
9470 conftest
$ac_exeext conftest.
$ac_ext
9471 LIBS
=$ac_check_lib_save_LIBS
9473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9474 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9475 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9476 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9481 # Guillermo Gomez says -lposix is necessary on A/UX.
9482 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9483 if test "x$ac_cv_func_remove" = xyes
; then :
9487 if test $ac_cv_func_remove = no
; then
9488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9489 $as_echo_n "checking for remove in -lposix... " >&6; }
9490 if ${ac_cv_lib_posix_remove+:} false
; then :
9491 $as_echo_n "(cached) " >&6
9493 ac_check_lib_save_LIBS
=$LIBS
9494 LIBS
="-lposix $LIBS"
9495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9496 /* end confdefs.h. */
9498 /* Override any GCC internal prototype to avoid an error.
9499 Use char because int might match the return type of a GCC
9500 builtin and then its argument prototype would still apply. */
9513 if ac_fn_c_try_link
"$LINENO"; then :
9514 ac_cv_lib_posix_remove
=yes
9516 ac_cv_lib_posix_remove
=no
9518 rm -f core conftest.err conftest.
$ac_objext \
9519 conftest
$ac_exeext conftest.
$ac_ext
9520 LIBS
=$ac_check_lib_save_LIBS
9522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9523 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9524 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9525 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9530 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9531 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9532 if test "x$ac_cv_func_shmat" = xyes
; then :
9536 if test $ac_cv_func_shmat = no
; then
9537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9538 $as_echo_n "checking for shmat in -lipc... " >&6; }
9539 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9540 $as_echo_n "(cached) " >&6
9542 ac_check_lib_save_LIBS
=$LIBS
9544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9545 /* end confdefs.h. */
9547 /* Override any GCC internal prototype to avoid an error.
9548 Use char because int might match the return type of a GCC
9549 builtin and then its argument prototype would still apply. */
9562 if ac_fn_c_try_link
"$LINENO"; then :
9563 ac_cv_lib_ipc_shmat
=yes
9565 ac_cv_lib_ipc_shmat
=no
9567 rm -f core conftest.err conftest.
$ac_objext \
9568 conftest
$ac_exeext conftest.
$ac_ext
9569 LIBS
=$ac_check_lib_save_LIBS
9571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9572 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9573 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9574 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9580 # Check for libraries that X11R6 Xt/Xaw programs need.
9581 ac_save_LDFLAGS
=$LDFLAGS
9582 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9583 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9584 # check for ICE first), but we must link in the order -lSM -lICE or
9585 # we get undefined symbols. So assume we have SM if we have ICE.
9586 # These have to be linked with before -lX11, unlike the other
9587 # libraries we check for below, so use a different variable.
9588 # John Interrante, Karl Berry
9589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9590 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9591 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9592 $as_echo_n "(cached) " >&6
9594 ac_check_lib_save_LIBS
=$LIBS
9595 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9597 /* end confdefs.h. */
9599 /* Override any GCC internal prototype to avoid an error.
9600 Use char because int might match the return type of a GCC
9601 builtin and then its argument prototype would still apply. */
9605 char IceConnectionNumber ();
9609 return IceConnectionNumber ();
9614 if ac_fn_c_try_link
"$LINENO"; then :
9615 ac_cv_lib_ICE_IceConnectionNumber
=yes
9617 ac_cv_lib_ICE_IceConnectionNumber
=no
9619 rm -f core conftest.err conftest.
$ac_objext \
9620 conftest
$ac_exeext conftest.
$ac_ext
9621 LIBS
=$ac_check_lib_save_LIBS
9623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9624 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9625 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9626 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9629 LDFLAGS
=$ac_save_LDFLAGS
9634 if test "$have_x" = "yes"
9636 ac_save_CPPFLAGS
="$CPPFLAGS"
9637 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9640 $as_echo_n "checking for -lX11... " >&6; }
9641 if ${ac_cv_lib_soname_X11+:} false
; then :
9642 $as_echo_n "(cached) " >&6
9644 ac_check_soname_save_LIBS
=$LIBS
9645 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9647 /* end confdefs.h. */
9649 /* Override any GCC internal prototype to avoid an error.
9650 Use char because int might match the return type of a GCC
9651 builtin and then its argument prototype would still apply. */
9655 char XCreateWindow ();
9659 return XCreateWindow ();
9664 if ac_fn_c_try_link
"$LINENO"; then :
9666 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9667 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'` ;;
9668 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9669 if ${ac_cv_lib_soname_X11:+false} :; then :
9670 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9674 rm -f core conftest.err conftest.
$ac_objext \
9675 conftest
$ac_exeext conftest.
$ac_ext
9676 LIBS
=$ac_check_soname_save_LIBS
9678 if ${ac_cv_lib_soname_X11:+false} :; then :
9679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9680 $as_echo "not found" >&6; }
9683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9684 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9686 cat >>confdefs.h
<<_ACEOF
9687 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9693 $as_echo_n "checking for -lXext... " >&6; }
9694 if ${ac_cv_lib_soname_Xext+:} false
; then :
9695 $as_echo_n "(cached) " >&6
9697 ac_check_soname_save_LIBS
=$LIBS
9698 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9700 /* end confdefs.h. */
9702 /* Override any GCC internal prototype to avoid an error.
9703 Use char because int might match the return type of a GCC
9704 builtin and then its argument prototype would still apply. */
9708 char XextCreateExtension ();
9712 return XextCreateExtension ();
9717 if ac_fn_c_try_link
"$LINENO"; then :
9719 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9720 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'` ;;
9721 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9722 if ${ac_cv_lib_soname_Xext:+false} :; then :
9723 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9727 rm -f core conftest.err conftest.
$ac_objext \
9728 conftest
$ac_exeext conftest.
$ac_ext
9729 LIBS
=$ac_check_soname_save_LIBS
9731 if ${ac_cv_lib_soname_Xext:+false} :; then :
9732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9733 $as_echo "not found" >&6; }
9736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9737 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9739 cat >>confdefs.h
<<_ACEOF
9740 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9743 X_LIBS
="$X_LIBS -lXext"
9745 X_LIBS
="$X_LIBS -lX11"
9747 for ac_header
in X11
/Xlib.h \
9750 X11
/Xcursor
/Xcursor.h \
9751 X11
/extensions
/shape.h \
9752 X11
/extensions
/XInput.h \
9753 X11
/extensions
/XInput2.h \
9754 X11
/extensions
/XShm.h \
9755 X11
/extensions
/Xcomposite.h \
9756 X11
/extensions
/Xinerama.h \
9757 X11
/extensions
/Xrandr.h \
9758 X11
/extensions
/Xrender.h \
9759 X11
/extensions
/xf86vmode.h \
9760 X11
/extensions
/xf86vmproto.h
9762 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9763 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9764 # include <X11/Xlib.h>
9766 #ifdef HAVE_X11_XUTIL_H
9767 # include <X11/Xutil.h>
9770 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9771 cat >>confdefs.h
<<_ACEOF
9772 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9780 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9783 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9784 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9785 $as_echo_n "(cached) " >&6
9787 ac_check_lib_save_LIBS
=$LIBS
9788 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9790 /* end confdefs.h. */
9792 /* Override any GCC internal prototype to avoid an error.
9793 Use char because int might match the return type of a GCC
9794 builtin and then its argument prototype would still apply. */
9798 char XkbQueryExtension ();
9802 return XkbQueryExtension ();
9807 if ac_fn_c_try_link
"$LINENO"; then :
9808 ac_cv_lib_X11_XkbQueryExtension
=yes
9810 ac_cv_lib_X11_XkbQueryExtension
=no
9812 rm -f core conftest.err conftest.
$ac_objext \
9813 conftest
$ac_exeext conftest.
$ac_ext
9814 LIBS
=$ac_check_lib_save_LIBS
9816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9817 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9818 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9820 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9826 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9829 $as_echo_n "checking for -lXcursor... " >&6; }
9830 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9831 $as_echo_n "(cached) " >&6
9833 ac_check_soname_save_LIBS
=$LIBS
9834 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9836 /* end confdefs.h. */
9838 /* Override any GCC internal prototype to avoid an error.
9839 Use char because int might match the return type of a GCC
9840 builtin and then its argument prototype would still apply. */
9844 char XcursorImageLoadCursor ();
9848 return XcursorImageLoadCursor ();
9853 if ac_fn_c_try_link
"$LINENO"; then :
9855 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9856 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'` ;;
9857 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9858 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9859 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9863 rm -f core conftest.err conftest.
$ac_objext \
9864 conftest
$ac_exeext conftest.
$ac_ext
9865 LIBS
=$ac_check_soname_save_LIBS
9867 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9869 $as_echo "not found" >&6; }
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9873 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9875 cat >>confdefs.h
<<_ACEOF
9876 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9882 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9883 case "x$with_xcursor" in
9884 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9886 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9887 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9891 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9894 $as_echo_n "checking for -lXi... " >&6; }
9895 if ${ac_cv_lib_soname_Xi+:} false
; then :
9896 $as_echo_n "(cached) " >&6
9898 ac_check_soname_save_LIBS
=$LIBS
9899 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9901 /* end confdefs.h. */
9903 /* Override any GCC internal prototype to avoid an error.
9904 Use char because int might match the return type of a GCC
9905 builtin and then its argument prototype would still apply. */
9909 char XOpenDevice ();
9913 return XOpenDevice ();
9918 if ac_fn_c_try_link
"$LINENO"; then :
9920 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9921 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'` ;;
9922 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9923 if ${ac_cv_lib_soname_Xi:+false} :; then :
9924 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9928 rm -f core conftest.err conftest.
$ac_objext \
9929 conftest
$ac_exeext conftest.
$ac_ext
9930 LIBS
=$ac_check_soname_save_LIBS
9932 if ${ac_cv_lib_soname_Xi:+false} :; then :
9933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9934 $as_echo "not found" >&6; }
9937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9938 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9940 cat >>confdefs.h
<<_ACEOF
9941 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9947 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9948 case "x$with_xinput" in
9949 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9951 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9952 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9956 if test "x$ac_cv_lib_soname_Xi" != x
9958 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9959 case "x$with_xinput2" in
9960 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9962 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9963 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9968 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9971 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9972 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9973 $as_echo_n "(cached) " >&6
9975 ac_check_lib_save_LIBS
=$LIBS
9976 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9978 /* end confdefs.h. */
9980 /* Override any GCC internal prototype to avoid an error.
9981 Use char because int might match the return type of a GCC
9982 builtin and then its argument prototype would still apply. */
9986 char XShmQueryExtension ();
9990 return XShmQueryExtension ();
9995 if ac_fn_c_try_link
"$LINENO"; then :
9996 ac_cv_lib_Xext_XShmQueryExtension
=yes
9998 ac_cv_lib_Xext_XShmQueryExtension
=no
10000 rm -f core conftest.err conftest.
$ac_objext \
10001 conftest
$ac_exeext conftest.
$ac_ext
10002 LIBS
=$ac_check_lib_save_LIBS
10004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10005 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10006 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
10008 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10013 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10014 case "x$with_xshm" in
10015 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10017 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10018 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10022 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10025 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10026 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
10027 $as_echo_n "(cached) " >&6
10029 ac_check_lib_save_LIBS
=$LIBS
10030 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10032 /* end confdefs.h. */
10034 /* Override any GCC internal prototype to avoid an error.
10035 Use char because int might match the return type of a GCC
10036 builtin and then its argument prototype would still apply. */
10040 char XShapeQueryExtension ();
10044 return XShapeQueryExtension ();
10049 if ac_fn_c_try_link
"$LINENO"; then :
10050 ac_cv_lib_Xext_XShapeQueryExtension
=yes
10052 ac_cv_lib_Xext_XShapeQueryExtension
=no
10054 rm -f core conftest.err conftest.
$ac_objext \
10055 conftest
$ac_exeext conftest.
$ac_ext
10056 LIBS
=$ac_check_lib_save_LIBS
10058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10059 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10060 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
10062 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10067 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10068 case "x$with_xshape" in
10069 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10071 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
10072 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10076 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10079 $as_echo_n "checking for -lXxf86vm... " >&6; }
10080 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
10081 $as_echo_n "(cached) " >&6
10083 ac_check_soname_save_LIBS
=$LIBS
10084 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10086 /* end confdefs.h. */
10088 /* Override any GCC internal prototype to avoid an error.
10089 Use char because int might match the return type of a GCC
10090 builtin and then its argument prototype would still apply. */
10094 char XF86VidModeQueryExtension ();
10098 return XF86VidModeQueryExtension ();
10103 if ac_fn_c_try_link
"$LINENO"; then :
10105 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10106 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'` ;;
10107 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10108 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10109 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10113 rm -f core conftest.err conftest.
$ac_objext \
10114 conftest
$ac_exeext conftest.
$ac_ext
10115 LIBS
=$ac_check_soname_save_LIBS
10117 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10119 $as_echo "not found" >&6; }
10122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10123 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10125 cat >>confdefs.h
<<_ACEOF
10126 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10132 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10133 case "x$with_xxf86vm" in
10134 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10136 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10137 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10141 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10144 $as_echo_n "checking for -lXrender... " >&6; }
10145 if ${ac_cv_lib_soname_Xrender+:} false
; then :
10146 $as_echo_n "(cached) " >&6
10148 ac_check_soname_save_LIBS
=$LIBS
10149 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10151 /* end confdefs.h. */
10153 /* Override any GCC internal prototype to avoid an error.
10154 Use char because int might match the return type of a GCC
10155 builtin and then its argument prototype would still apply. */
10159 char XRenderQueryExtension ();
10163 return XRenderQueryExtension ();
10168 if ac_fn_c_try_link
"$LINENO"; then :
10170 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10171 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'` ;;
10172 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10173 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10174 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10178 rm -f core conftest.err conftest.
$ac_objext \
10179 conftest
$ac_exeext conftest.
$ac_ext
10180 LIBS
=$ac_check_soname_save_LIBS
10182 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10184 $as_echo "not found" >&6; }
10187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10188 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10190 cat >>confdefs.h
<<_ACEOF
10191 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10195 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10196 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
10197 $as_echo_n "(cached) " >&6
10199 ac_check_lib_save_LIBS
=$LIBS
10200 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10202 /* end confdefs.h. */
10204 /* Override any GCC internal prototype to avoid an error.
10205 Use char because int might match the return type of a GCC
10206 builtin and then its argument prototype would still apply. */
10210 char XRenderSetPictureTransform ();
10214 return XRenderSetPictureTransform ();
10219 if ac_fn_c_try_link
"$LINENO"; then :
10220 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10222 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10224 rm -f core conftest.err conftest.
$ac_objext \
10225 conftest
$ac_exeext conftest.
$ac_ext
10226 LIBS
=$ac_check_lib_save_LIBS
10228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10229 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10230 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
10232 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10237 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10238 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
10239 $as_echo_n "(cached) " >&6
10241 ac_check_lib_save_LIBS
=$LIBS
10242 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10244 /* end confdefs.h. */
10246 /* Override any GCC internal prototype to avoid an error.
10247 Use char because int might match the return type of a GCC
10248 builtin and then its argument prototype would still apply. */
10252 char XRenderCreateLinearGradient ();
10256 return XRenderCreateLinearGradient ();
10261 if ac_fn_c_try_link
"$LINENO"; then :
10262 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
10264 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
10266 rm -f core conftest.err conftest.
$ac_objext \
10267 conftest
$ac_exeext conftest.
$ac_ext
10268 LIBS
=$ac_check_lib_save_LIBS
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10271 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10272 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
10274 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10281 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10282 case "x$with_xrender" in
10283 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10285 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
10286 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10290 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10293 /* end confdefs.h. */
10294 #include <X11/Xlib.h>
10295 #include <X11/extensions/Xrandr.h>
10299 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10304 if ac_fn_c_try_compile
"$LINENO"; then :
10305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10306 $as_echo_n "checking for -lXrandr... " >&6; }
10307 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
10308 $as_echo_n "(cached) " >&6
10310 ac_check_soname_save_LIBS
=$LIBS
10311 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10313 /* end confdefs.h. */
10315 /* Override any GCC internal prototype to avoid an error.
10316 Use char because int might match the return type of a GCC
10317 builtin and then its argument prototype would still apply. */
10321 char XRRQueryExtension ();
10325 return XRRQueryExtension ();
10330 if ac_fn_c_try_link
"$LINENO"; then :
10332 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10333 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'` ;;
10334 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10335 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10336 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10340 rm -f core conftest.err conftest.
$ac_objext \
10341 conftest
$ac_exeext conftest.
$ac_ext
10342 LIBS
=$ac_check_soname_save_LIBS
10344 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10346 $as_echo "not found" >&6; }
10349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10350 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10352 cat >>confdefs.h
<<_ACEOF
10353 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10357 /* end confdefs.h. */
10358 #include <X11/Xlib.h>
10359 #include <X11/extensions/Xrandr.h>
10363 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10368 if ac_fn_c_try_compile
"$LINENO"; then :
10370 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10373 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10376 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10378 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10379 case "x$with_xrandr" in
10380 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10382 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10383 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10387 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10390 /* end confdefs.h. */
10391 #include <X11/Xlib.h>
10392 #include <X11/extensions/Xinerama.h>
10396 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10401 if ac_fn_c_try_compile
"$LINENO"; then :
10402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10403 $as_echo_n "checking for -lXinerama... " >&6; }
10404 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10405 $as_echo_n "(cached) " >&6
10407 ac_check_soname_save_LIBS
=$LIBS
10408 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10410 /* end confdefs.h. */
10412 /* Override any GCC internal prototype to avoid an error.
10413 Use char because int might match the return type of a GCC
10414 builtin and then its argument prototype would still apply. */
10418 char XineramaQueryScreens ();
10422 return XineramaQueryScreens ();
10427 if ac_fn_c_try_link
"$LINENO"; then :
10429 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10430 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'` ;;
10431 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10432 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10433 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10437 rm -f core conftest.err conftest.
$ac_objext \
10438 conftest
$ac_exeext conftest.
$ac_ext
10439 LIBS
=$ac_check_soname_save_LIBS
10441 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10443 $as_echo "not found" >&6; }
10446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10447 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10449 cat >>confdefs.h
<<_ACEOF
10450 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10456 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10458 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10459 case "x$with_xinerama" in
10460 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10462 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10463 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10467 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10470 $as_echo_n "checking for -lXcomposite... " >&6; }
10471 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10472 $as_echo_n "(cached) " >&6
10474 ac_check_soname_save_LIBS
=$LIBS
10475 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10477 /* end confdefs.h. */
10479 /* Override any GCC internal prototype to avoid an error.
10480 Use char because int might match the return type of a GCC
10481 builtin and then its argument prototype would still apply. */
10485 char XCompositeRedirectWindow ();
10489 return XCompositeRedirectWindow ();
10494 if ac_fn_c_try_link
"$LINENO"; then :
10496 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10497 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'` ;;
10498 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10499 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10500 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10504 rm -f core conftest.err conftest.
$ac_objext \
10505 conftest
$ac_exeext conftest.
$ac_ext
10506 LIBS
=$ac_check_soname_save_LIBS
10508 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10510 $as_echo "not found" >&6; }
10513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10514 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10516 cat >>confdefs.h
<<_ACEOF
10517 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10523 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10524 case "x$with_xcomposite" in
10525 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10527 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10528 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10532 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10533 #include <X11/Xlib.h>
10536 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10538 cat >>confdefs.h
<<_ACEOF
10539 #define HAVE_XICCALLBACK_CALLBACK 1
10544 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10545 #include <X11/Xlib.h>
10548 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10550 cat >>confdefs.h
<<_ACEOF
10551 #define HAVE_XEVENT_XCOOKIE 1
10560 if test "x$with_opengl" != "xno"
10562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10563 $as_echo_n "checking for -lGL... " >&6; }
10564 if ${ac_cv_lib_soname_GL+:} false
; then :
10565 $as_echo_n "(cached) " >&6
10567 ac_check_soname_save_LIBS
=$LIBS
10568 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10570 /* end confdefs.h. */
10572 /* Override any GCC internal prototype to avoid an error.
10573 Use char because int might match the return type of a GCC
10574 builtin and then its argument prototype would still apply. */
10578 char glXCreateContext ();
10582 return glXCreateContext ();
10587 if ac_fn_c_try_link
"$LINENO"; then :
10589 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10590 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'` ;;
10591 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10592 if ${ac_cv_lib_soname_GL:+false} :; then :
10593 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10597 rm -f core conftest.err conftest.
$ac_objext \
10598 conftest
$ac_exeext conftest.
$ac_ext
10599 LIBS
=$ac_check_soname_save_LIBS
10601 if ${ac_cv_lib_soname_GL:+false} :; then :
10602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10603 $as_echo "not found" >&6; }
10604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10605 $as_echo_n "checking for -lGL... " >&6; }
10606 if ${ac_cv_lib_soname_GL+:} false
; then :
10607 $as_echo_n "(cached) " >&6
10609 ac_check_soname_save_LIBS
=$LIBS
10610 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"
10611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10612 /* end confdefs.h. */
10614 /* Override any GCC internal prototype to avoid an error.
10615 Use char because int might match the return type of a GCC
10616 builtin and then its argument prototype would still apply. */
10620 char glXCreateContext ();
10624 return glXCreateContext ();
10629 if ac_fn_c_try_link
"$LINENO"; then :
10631 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10632 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'` ;;
10633 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10634 if ${ac_cv_lib_soname_GL:+false} :; then :
10635 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10639 rm -f core conftest.err conftest.
$ac_objext \
10640 conftest
$ac_exeext conftest.
$ac_ext
10641 LIBS
=$ac_check_soname_save_LIBS
10643 if ${ac_cv_lib_soname_GL:+false} :; then :
10644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10645 $as_echo "not found" >&6; }
10646 if test -f /usr
/X11R
6/lib
/libGL.a
10648 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10649 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10651 opengl_msg
="No OpenGL library found on this system."
10654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10655 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10657 cat >>confdefs.h
<<_ACEOF
10658 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10661 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"
10664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10665 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10667 cat >>confdefs.h
<<_ACEOF
10668 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10673 if test "x$with_glu" != "xno"
10675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10676 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10677 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10678 $as_echo_n "(cached) " >&6
10680 ac_check_lib_save_LIBS
=$LIBS
10681 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10683 /* end confdefs.h. */
10685 /* Override any GCC internal prototype to avoid an error.
10686 Use char because int might match the return type of a GCC
10687 builtin and then its argument prototype would still apply. */
10695 return gluLookAt ();
10700 if ac_fn_c_try_link
"$LINENO"; then :
10701 ac_cv_lib_GLU_gluLookAt
=yes
10703 ac_cv_lib_GLU_gluLookAt
=no
10705 rm -f core conftest.err conftest.
$ac_objext \
10706 conftest
$ac_exeext conftest.
$ac_ext
10707 LIBS
=$ac_check_lib_save_LIBS
10709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10710 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10711 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10715 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10716 case "x$with_glu" in
10717 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10719 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10720 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10725 if test "x$with_osmesa" != "xno"
10727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10728 $as_echo_n "checking for -lOSMesa... " >&6; }
10729 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10730 $as_echo_n "(cached) " >&6
10732 ac_check_soname_save_LIBS
=$LIBS
10733 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10735 /* end confdefs.h. */
10737 /* Override any GCC internal prototype to avoid an error.
10738 Use char because int might match the return type of a GCC
10739 builtin and then its argument prototype would still apply. */
10752 if ac_fn_c_try_link
"$LINENO"; then :
10754 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10755 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'` ;;
10756 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10757 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10758 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10762 rm -f core conftest.err conftest.
$ac_objext \
10763 conftest
$ac_exeext conftest.
$ac_ext
10764 LIBS
=$ac_check_soname_save_LIBS
10766 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10768 $as_echo "not found" >&6; }
10771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10772 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10774 cat >>confdefs.h
<<_ACEOF
10775 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10780 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10781 case "x$with_osmesa" in
10782 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10784 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10785 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10790 if test -n "$opengl_msg"; then :
10791 case "x$with_opengl" in
10792 x
) as_fn_append wine_warnings
"|$opengl_msg
10793 OpenGL and Direct3D won't be supported." ;;
10795 *) as_fn_error $?
"$opengl_msg
10796 OpenGL and Direct3D won't be supported.
10797 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10801 CPPFLAGS
="$ac_save_CPPFLAGS"
10805 enable_winex11_drv
=${enable_winex11_drv:-no}
10807 if test "x$X_LIBS" = "x"; then :
10810 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10811 without X support, which probably isn't what you want. You will need
10812 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10813 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10817 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10819 if test "$ac_cv_header_CL_cl_h" = "yes"
10821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10822 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10823 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10824 $as_echo_n "(cached) " >&6
10826 ac_check_lib_save_LIBS
=$LIBS
10827 LIBS
="-lOpenCL $LIBS"
10828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10829 /* end confdefs.h. */
10831 /* Override any GCC internal prototype to avoid an error.
10832 Use char because int might match the return type of a GCC
10833 builtin and then its argument prototype would still apply. */
10837 char clGetPlatformInfo ();
10841 return clGetPlatformInfo ();
10846 if ac_fn_c_try_link
"$LINENO"; then :
10847 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10849 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10851 rm -f core conftest.err conftest.
$ac_objext \
10852 conftest
$ac_exeext conftest.
$ac_ext
10853 LIBS
=$ac_check_lib_save_LIBS
10855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10856 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10857 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10858 OPENCL_LIBS
="-lOpenCL"
10863 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10864 case "x$with_opencl" in
10865 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10867 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10868 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10871 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10873 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10876 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10877 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10878 $as_echo_n "(cached) " >&6
10880 ac_check_lib_save_LIBS
=$LIBS
10881 LIBS
="-lpcap $LIBS"
10882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10883 /* end confdefs.h. */
10885 /* Override any GCC internal prototype to avoid an error.
10886 Use char because int might match the return type of a GCC
10887 builtin and then its argument prototype would still apply. */
10891 char pcap_create ();
10895 return pcap_create ();
10900 if ac_fn_c_try_link
"$LINENO"; then :
10901 ac_cv_lib_pcap_pcap_create
=yes
10903 ac_cv_lib_pcap_pcap_create
=no
10905 rm -f core conftest.err conftest.
$ac_objext \
10906 conftest
$ac_exeext conftest.
$ac_ext
10907 LIBS
=$ac_check_lib_save_LIBS
10909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10910 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10911 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10917 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10918 case "x$with_pcap" in
10919 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10921 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10922 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10925 test "x$ac_cv_lib_pcap_pcap_create" != xyes
&& enable_wpcap
=${enable_wpcap:-no}
10928 if test "x$with_xml" != "xno"
10930 if ${XML2_CFLAGS:+false} :; then :
10931 if ${PKG_CONFIG+:} false
; then :
10932 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10935 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10936 if ${XML2_LIBS:+false} :; then :
10937 if ${PKG_CONFIG+:} false
; then :
10938 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10941 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10942 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10943 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10944 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10945 ac_save_CPPFLAGS
=$CPPFLAGS
10946 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10947 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10949 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10950 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10951 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10952 cat >>confdefs.h
<<_ACEOF
10953 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10960 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"
10962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10963 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10964 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10965 $as_echo_n "(cached) " >&6
10967 ac_check_lib_save_LIBS
=$LIBS
10968 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10970 /* end confdefs.h. */
10972 /* Override any GCC internal prototype to avoid an error.
10973 Use char because int might match the return type of a GCC
10974 builtin and then its argument prototype would still apply. */
10978 char xmlParseMemory ();
10982 return xmlParseMemory ();
10987 if ac_fn_c_try_link
"$LINENO"; then :
10988 ac_cv_lib_xml2_xmlParseMemory
=yes
10990 ac_cv_lib_xml2_xmlParseMemory
=no
10992 rm -f core conftest.err conftest.
$ac_objext \
10993 conftest
$ac_exeext conftest.
$ac_ext
10994 LIBS
=$ac_check_lib_save_LIBS
10996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10997 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10998 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
11000 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11007 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11008 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
11009 $as_echo_n "(cached) " >&6
11011 ac_check_lib_save_LIBS
=$LIBS
11012 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11014 /* end confdefs.h. */
11016 /* Override any GCC internal prototype to avoid an error.
11017 Use char because int might match the return type of a GCC
11018 builtin and then its argument prototype would still apply. */
11022 char xmlReadMemory ();
11026 return xmlReadMemory ();
11031 if ac_fn_c_try_link
"$LINENO"; then :
11032 ac_cv_lib_xml2_xmlReadMemory
=yes
11034 ac_cv_lib_xml2_xmlReadMemory
=no
11036 rm -f core conftest.err conftest.
$ac_objext \
11037 conftest
$ac_exeext conftest.
$ac_ext
11038 LIBS
=$ac_check_lib_save_LIBS
11040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11041 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11042 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
11044 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11049 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11050 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
11051 $as_echo_n "(cached) " >&6
11053 ac_check_lib_save_LIBS
=$LIBS
11054 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11056 /* end confdefs.h. */
11058 /* Override any GCC internal prototype to avoid an error.
11059 Use char because int might match the return type of a GCC
11060 builtin and then its argument prototype would still apply. */
11064 char xmlNewDocPI ();
11068 return xmlNewDocPI ();
11073 if ac_fn_c_try_link
"$LINENO"; then :
11074 ac_cv_lib_xml2_xmlNewDocPI
=yes
11076 ac_cv_lib_xml2_xmlNewDocPI
=no
11078 rm -f core conftest.err conftest.
$ac_objext \
11079 conftest
$ac_exeext conftest.
$ac_ext
11080 LIBS
=$ac_check_lib_save_LIBS
11082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11083 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11084 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
11086 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11091 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11092 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
11093 $as_echo_n "(cached) " >&6
11095 ac_check_lib_save_LIBS
=$LIBS
11096 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11098 /* end confdefs.h. */
11100 /* Override any GCC internal prototype to avoid an error.
11101 Use char because int might match the return type of a GCC
11102 builtin and then its argument prototype would still apply. */
11106 char xmlSchemaSetParserStructuredErrors ();
11110 return xmlSchemaSetParserStructuredErrors ();
11115 if ac_fn_c_try_link
"$LINENO"; then :
11116 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
11118 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
11120 rm -f core conftest.err conftest.
$ac_objext \
11121 conftest
$ac_exeext conftest.
$ac_ext
11122 LIBS
=$ac_check_lib_save_LIBS
11124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11125 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11126 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
11128 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11133 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11134 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
11135 $as_echo_n "(cached) " >&6
11137 ac_check_lib_save_LIBS
=$LIBS
11138 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11140 /* end confdefs.h. */
11142 /* Override any GCC internal prototype to avoid an error.
11143 Use char because int might match the return type of a GCC
11144 builtin and then its argument prototype would still apply. */
11148 char xmlSchemaSetValidStructuredErrors ();
11152 return xmlSchemaSetValidStructuredErrors ();
11157 if ac_fn_c_try_link
"$LINENO"; then :
11158 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
11160 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
11162 rm -f core conftest.err conftest.
$ac_objext \
11163 conftest
$ac_exeext conftest.
$ac_ext
11164 LIBS
=$ac_check_lib_save_LIBS
11166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11167 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11168 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
11170 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11175 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11176 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
11177 $as_echo_n "(cached) " >&6
11179 ac_check_lib_save_LIBS
=$LIBS
11180 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11182 /* end confdefs.h. */
11184 /* Override any GCC internal prototype to avoid an error.
11185 Use char because int might match the return type of a GCC
11186 builtin and then its argument prototype would still apply. */
11190 char xmlFirstElementChild ();
11194 return xmlFirstElementChild ();
11199 if ac_fn_c_try_link
"$LINENO"; then :
11200 ac_cv_lib_xml2_xmlFirstElementChild
=yes
11202 ac_cv_lib_xml2_xmlFirstElementChild
=no
11204 rm -f core conftest.err conftest.
$ac_objext \
11205 conftest
$ac_exeext conftest.
$ac_ext
11206 LIBS
=$ac_check_lib_save_LIBS
11208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11209 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11210 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
11212 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11216 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11218 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
11220 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11228 CPPFLAGS
=$ac_save_CPPFLAGS
11229 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11230 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11233 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11234 case "x$with_xml" in
11235 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11237 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11238 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11242 if test "x$with_xslt" != "xno"
11244 if ${XSLT_CFLAGS:+false} :; then :
11245 if ${PKG_CONFIG+:} false
; then :
11246 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11249 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
11250 if ${XSLT_LIBS:+false} :; then :
11251 if ${PKG_CONFIG+:} false
; then :
11252 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11255 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
11256 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
11257 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11258 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11259 ac_save_CPPFLAGS
=$CPPFLAGS
11260 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
11261 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11263 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11264 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11265 # include <libxslt/pattern.h>
11268 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11269 cat >>confdefs.h
<<_ACEOF
11270 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11277 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11280 $as_echo_n "checking for -lxslt... " >&6; }
11281 if ${ac_cv_lib_soname_xslt+:} false
; then :
11282 $as_echo_n "(cached) " >&6
11284 ac_check_soname_save_LIBS
=$LIBS
11285 LIBS
="-lxslt $XSLT_LIBS $LIBS"
11286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11287 /* end confdefs.h. */
11289 /* Override any GCC internal prototype to avoid an error.
11290 Use char because int might match the return type of a GCC
11291 builtin and then its argument prototype would still apply. */
11295 char xsltCompilePattern ();
11299 return xsltCompilePattern ();
11304 if ac_fn_c_try_link
"$LINENO"; then :
11306 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11307 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'` ;;
11308 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11309 if ${ac_cv_lib_soname_xslt:+false} :; then :
11310 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11314 rm -f core conftest.err conftest.
$ac_objext \
11315 conftest
$ac_exeext conftest.
$ac_ext
11316 LIBS
=$ac_check_soname_save_LIBS
11318 if ${ac_cv_lib_soname_xslt:+false} :; then :
11319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11320 $as_echo "not found" >&6; }
11323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11324 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11326 cat >>confdefs.h
<<_ACEOF
11327 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11335 CPPFLAGS
=$ac_save_CPPFLAGS
11336 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11337 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11340 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11341 case "x$with_xslt" in
11342 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11344 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11345 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11349 if test "x$with_dbus" != "xno"
11351 if ${DBUS_CFLAGS:+false} :; then :
11352 if ${PKG_CONFIG+:} false
; then :
11353 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11357 if ${DBUS_LIBS:+false} :; then :
11358 if ${PKG_CONFIG+:} false
; then :
11359 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11364 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11365 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11366 ac_save_CPPFLAGS
=$CPPFLAGS
11367 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11368 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11369 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11371 $as_echo_n "checking for -ldbus-1... " >&6; }
11372 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11373 $as_echo_n "(cached) " >&6
11375 ac_check_soname_save_LIBS
=$LIBS
11376 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11378 /* end confdefs.h. */
11380 /* Override any GCC internal prototype to avoid an error.
11381 Use char because int might match the return type of a GCC
11382 builtin and then its argument prototype would still apply. */
11386 char dbus_connection_close ();
11390 return dbus_connection_close ();
11395 if ac_fn_c_try_link
"$LINENO"; then :
11397 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11398 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'` ;;
11399 *) 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'`
11400 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11401 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11405 rm -f core conftest.err conftest.
$ac_objext \
11406 conftest
$ac_exeext conftest.
$ac_ext
11407 LIBS
=$ac_check_soname_save_LIBS
11409 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11411 $as_echo "not found" >&6; }
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11415 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11417 cat >>confdefs.h
<<_ACEOF
11418 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11428 CPPFLAGS
=$ac_save_CPPFLAGS
11429 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11430 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11433 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11434 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11435 case "x$with_dbus" in
11436 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11438 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11439 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11443 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11445 if ${HAL_CFLAGS:+false} :; then :
11446 if ${PKG_CONFIG+:} false
; then :
11447 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11451 if ${HAL_LIBS:+false} :; then :
11452 if ${PKG_CONFIG+:} false
; then :
11453 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11457 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11458 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11459 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11460 ac_save_CPPFLAGS
=$CPPFLAGS
11461 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11462 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11463 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11465 $as_echo_n "checking for -lhal... " >&6; }
11466 if ${ac_cv_lib_soname_hal+:} false
; then :
11467 $as_echo_n "(cached) " >&6
11469 ac_check_soname_save_LIBS
=$LIBS
11470 LIBS
="-lhal $HAL_LIBS $LIBS"
11471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11472 /* end confdefs.h. */
11474 /* Override any GCC internal prototype to avoid an error.
11475 Use char because int might match the return type of a GCC
11476 builtin and then its argument prototype would still apply. */
11480 char libhal_ctx_new ();
11484 return libhal_ctx_new ();
11489 if ac_fn_c_try_link
"$LINENO"; then :
11491 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11492 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'` ;;
11493 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11494 if ${ac_cv_lib_soname_hal:+false} :; then :
11495 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11499 rm -f core conftest.err conftest.
$ac_objext \
11500 conftest
$ac_exeext conftest.
$ac_ext
11501 LIBS
=$ac_check_soname_save_LIBS
11503 if ${ac_cv_lib_soname_hal:+false} :; then :
11504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11505 $as_echo "not found" >&6; }
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11509 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11511 cat >>confdefs.h
<<_ACEOF
11512 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11522 CPPFLAGS
=$ac_save_CPPFLAGS
11523 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11524 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11526 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11527 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11528 case "x$with_hal" in
11529 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11531 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11532 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11537 if test "x$with_gnutls" != "xno"
11539 if ${GNUTLS_CFLAGS:+false} :; then :
11540 if ${PKG_CONFIG+:} false
; then :
11541 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11545 if ${GNUTLS_LIBS:+false} :; then :
11546 if ${PKG_CONFIG+:} false
; then :
11547 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11552 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11553 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11554 ac_save_CPPFLAGS
=$CPPFLAGS
11555 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11556 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11557 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11559 /* end confdefs.h. */
11560 #include <gnutls/gnutls.h>
11561 #include <gnutls/crypto.h>
11565 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11570 if ac_fn_c_try_compile
"$LINENO"; then :
11571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11572 $as_echo_n "checking for -lgnutls... " >&6; }
11573 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11574 $as_echo_n "(cached) " >&6
11576 ac_check_soname_save_LIBS
=$LIBS
11577 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11579 /* end confdefs.h. */
11581 /* Override any GCC internal prototype to avoid an error.
11582 Use char because int might match the return type of a GCC
11583 builtin and then its argument prototype would still apply. */
11587 char gnutls_global_init ();
11591 return gnutls_global_init ();
11596 if ac_fn_c_try_link
"$LINENO"; then :
11598 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11599 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'` ;;
11600 *) 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'`
11601 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11602 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'`
11606 rm -f core conftest.err conftest.
$ac_objext \
11607 conftest
$ac_exeext conftest.
$ac_ext
11608 LIBS
=$ac_check_soname_save_LIBS
11610 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11612 $as_echo "not found" >&6; }
11615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11616 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11618 cat >>confdefs.h
<<_ACEOF
11619 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11625 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11631 CPPFLAGS
=$ac_save_CPPFLAGS
11632 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11633 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11636 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11637 case "x$with_gnutls" in
11638 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11640 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11641 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11646 if test "$ac_cv_header_ncurses_h" = "yes"
11648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11649 $as_echo_n "checking for -lncurses... " >&6; }
11650 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11651 $as_echo_n "(cached) " >&6
11653 ac_check_soname_save_LIBS
=$LIBS
11654 LIBS
="-lncurses $LIBS"
11655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11656 /* end confdefs.h. */
11658 /* Override any GCC internal prototype to avoid an error.
11659 Use char because int might match the return type of a GCC
11660 builtin and then its argument prototype would still apply. */
11673 if ac_fn_c_try_link
"$LINENO"; then :
11675 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11676 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'` ;;
11677 *) 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'`
11678 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11679 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11683 rm -f core conftest.err conftest.
$ac_objext \
11684 conftest
$ac_exeext conftest.
$ac_ext
11685 LIBS
=$ac_check_soname_save_LIBS
11687 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11689 $as_echo "not found" >&6; }
11692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11693 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11695 cat >>confdefs.h
<<_ACEOF
11696 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11699 CURSES_LIBS
="-lncurses"
11701 elif test "$ac_cv_header_curses_h" = "yes"
11703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11704 $as_echo_n "checking for -lcurses... " >&6; }
11705 if ${ac_cv_lib_soname_curses+:} false
; then :
11706 $as_echo_n "(cached) " >&6
11708 ac_check_soname_save_LIBS
=$LIBS
11709 LIBS
="-lcurses $LIBS"
11710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11711 /* end confdefs.h. */
11713 /* Override any GCC internal prototype to avoid an error.
11714 Use char because int might match the return type of a GCC
11715 builtin and then its argument prototype would still apply. */
11728 if ac_fn_c_try_link
"$LINENO"; then :
11730 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11731 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'` ;;
11732 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11733 if ${ac_cv_lib_soname_curses:+false} :; then :
11734 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11738 rm -f core conftest.err conftest.
$ac_objext \
11739 conftest
$ac_exeext conftest.
$ac_ext
11740 LIBS
=$ac_check_soname_save_LIBS
11742 if ${ac_cv_lib_soname_curses:+false} :; then :
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11744 $as_echo "not found" >&6; }
11747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11748 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11750 cat >>confdefs.h
<<_ACEOF
11751 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11754 CURSES_LIBS
="-lcurses"
11757 ac_save_LIBS
="$LIBS"
11758 LIBS
="$LIBS $CURSES_LIBS"
11759 for ac_func
in mousemask
11761 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11762 if test "x$ac_cv_func_mousemask" = xyes
; then :
11763 cat >>confdefs.h
<<_ACEOF
11764 #define HAVE_MOUSEMASK 1
11770 LIBS
="$ac_save_LIBS"
11771 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11772 case "x$with_curses" in
11773 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11775 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11776 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11780 if test "x$with_sane" != "xno"
11782 if ${SANE_CFLAGS:+false} :; then :
11783 if ${PKG_CONFIG+:} false
; then :
11784 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11787 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11788 if ${SANE_LIBS:+false} :; then :
11789 if ${PKG_CONFIG+:} false
; then :
11790 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11793 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11795 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11796 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11797 ac_save_CPPFLAGS
=$CPPFLAGS
11798 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11799 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11800 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11802 $as_echo_n "checking for -lsane... " >&6; }
11803 if ${ac_cv_lib_soname_sane+:} false
; then :
11804 $as_echo_n "(cached) " >&6
11806 ac_check_soname_save_LIBS
=$LIBS
11807 LIBS
="-lsane $SANE_LIBS $LIBS"
11808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11809 /* end confdefs.h. */
11811 /* Override any GCC internal prototype to avoid an error.
11812 Use char because int might match the return type of a GCC
11813 builtin and then its argument prototype would still apply. */
11821 return sane_init ();
11826 if ac_fn_c_try_link
"$LINENO"; then :
11828 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11829 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'` ;;
11830 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11831 if ${ac_cv_lib_soname_sane:+false} :; then :
11832 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11836 rm -f core conftest.err conftest.
$ac_objext \
11837 conftest
$ac_exeext conftest.
$ac_ext
11838 LIBS
=$ac_check_soname_save_LIBS
11840 if ${ac_cv_lib_soname_sane:+false} :; then :
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11842 $as_echo "not found" >&6; }
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11846 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11848 cat >>confdefs.h
<<_ACEOF
11849 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11859 CPPFLAGS
=$ac_save_CPPFLAGS
11860 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11861 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11864 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11865 case "x$with_sane" in
11866 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11868 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11869 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11873 if test "x$with_v4l" != "xno"
11875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11876 $as_echo_n "checking for -lv4l1... " >&6; }
11877 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11878 $as_echo_n "(cached) " >&6
11880 ac_check_soname_save_LIBS
=$LIBS
11881 LIBS
="-lv4l1 $LIBS"
11882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11883 /* end confdefs.h. */
11885 /* Override any GCC internal prototype to avoid an error.
11886 Use char because int might match the return type of a GCC
11887 builtin and then its argument prototype would still apply. */
11895 return v4l1_open ();
11900 if ac_fn_c_try_link
"$LINENO"; then :
11902 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11903 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'` ;;
11904 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11905 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11906 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11910 rm -f core conftest.err conftest.
$ac_objext \
11911 conftest
$ac_exeext conftest.
$ac_ext
11912 LIBS
=$ac_check_soname_save_LIBS
11914 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11916 $as_echo "not found" >&6; }
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11920 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11922 cat >>confdefs.h
<<_ACEOF
11923 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11929 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11930 case "x$with_v4l" in
11931 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11933 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11934 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11938 if test "x$with_gphoto" != "xno"
11940 if ${GPHOTO2_CFLAGS:+false} :; then :
11941 if ${PKG_CONFIG+:} false
; then :
11942 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11945 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11946 if ${GPHOTO2_LIBS:+false} :; then :
11947 if ${PKG_CONFIG+:} false
; then :
11948 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11951 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11952 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11953 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11954 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11955 ac_save_CPPFLAGS
=$CPPFLAGS
11956 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11957 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11958 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11960 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11961 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11962 $as_echo_n "(cached) " >&6
11964 ac_check_lib_save_LIBS
=$LIBS
11965 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11967 /* end confdefs.h. */
11969 /* Override any GCC internal prototype to avoid an error.
11970 Use char because int might match the return type of a GCC
11971 builtin and then its argument prototype would still apply. */
11975 char gp_camera_new ();
11979 return gp_camera_new ();
11984 if ac_fn_c_try_link
"$LINENO"; then :
11985 ac_cv_lib_gphoto2_gp_camera_new
=yes
11987 ac_cv_lib_gphoto2_gp_camera_new
=no
11989 rm -f core conftest.err conftest.
$ac_objext \
11990 conftest
$ac_exeext conftest.
$ac_ext
11991 LIBS
=$ac_check_lib_save_LIBS
11993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11994 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11995 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11997 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12000 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
12004 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
12008 CPPFLAGS
=$ac_save_CPPFLAGS
12009 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12010 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12012 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12013 if ${PKG_CONFIG+:} false
; then :
12014 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12017 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
12018 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12019 if ${PKG_CONFIG+:} false
; then :
12020 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12023 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
12024 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12025 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12026 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12027 ac_save_CPPFLAGS
=$CPPFLAGS
12028 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12029 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12030 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
12031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12032 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12033 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
12034 $as_echo_n "(cached) " >&6
12036 ac_check_lib_save_LIBS
=$LIBS
12037 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12039 /* end confdefs.h. */
12041 /* Override any GCC internal prototype to avoid an error.
12042 Use char because int might match the return type of a GCC
12043 builtin and then its argument prototype would still apply. */
12047 char gp_port_info_list_new ();
12051 return gp_port_info_list_new ();
12056 if ac_fn_c_try_link
"$LINENO"; then :
12057 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
12059 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
12061 rm -f core conftest.err conftest.
$ac_objext \
12062 conftest
$ac_exeext conftest.
$ac_ext
12063 LIBS
=$ac_check_lib_save_LIBS
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12066 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12067 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
12069 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12072 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12076 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12080 CPPFLAGS
=$ac_save_CPPFLAGS
12081 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12082 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12085 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12086 case "x$with_gphoto" in
12087 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12089 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12090 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12093 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12094 case "x$with_gphoto" in
12095 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12097 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12098 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12103 if test "$ac_cv_header_resolv_h" = "yes"
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12106 $as_echo_n "checking for resolver library... " >&6; }
12107 if ${ac_cv_have_resolv+:} false
; then :
12108 $as_echo_n "(cached) " >&6
12110 ac_save_LIBS
="$LIBS"
12111 for lib
in '' -lresolv
12113 LIBS
="$lib $ac_save_LIBS"
12114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12115 /* end confdefs.h. */
12116 #ifdef HAVE_NETINET_IN_H
12117 #include <netinet/in.h>
12119 #include <resolv.h>
12123 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12128 if ac_fn_c_try_link
"$LINENO"; then :
12129 ac_cv_have_resolv
=${lib:-"none required"}
12131 ac_cv_have_resolv
="not found"
12133 rm -f core conftest.err conftest.
$ac_objext \
12134 conftest
$ac_exeext conftest.
$ac_ext
12135 test "x$ac_cv_have_resolv" = "xnot found" ||
break
12137 LIBS
="$ac_save_LIBS"
12139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12140 $as_echo "$ac_cv_have_resolv" >&6; }
12142 case "$ac_cv_have_resolv" in
12146 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12149 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12151 RESOLV_LIBS
=$ac_cv_have_resolv
12156 if test "x$with_cms" != "xno"
12158 if ${LCMS2_CFLAGS:+false} :; then :
12159 if ${PKG_CONFIG+:} false
; then :
12160 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12164 if ${LCMS2_LIBS:+false} :; then :
12165 if ${PKG_CONFIG+:} false
; then :
12166 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12170 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
12171 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12172 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12173 ac_save_CPPFLAGS
=$CPPFLAGS
12174 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
12175 for ac_header
in lcms2.h
12177 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12178 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
12179 cat >>confdefs.h
<<_ACEOF
12180 #define HAVE_LCMS2_H 1
12187 if test "$ac_cv_header_lcms2_h" = "yes"
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12190 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12191 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
12192 $as_echo_n "(cached) " >&6
12194 ac_check_lib_save_LIBS
=$LIBS
12195 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
12196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12197 /* end confdefs.h. */
12199 /* Override any GCC internal prototype to avoid an error.
12200 Use char because int might match the return type of a GCC
12201 builtin and then its argument prototype would still apply. */
12205 char cmsOpenProfileFromFile ();
12209 return cmsOpenProfileFromFile ();
12214 if ac_fn_c_try_link
"$LINENO"; then :
12215 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
12217 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
12219 rm -f core conftest.err conftest.
$ac_objext \
12220 conftest
$ac_exeext conftest.
$ac_ext
12221 LIBS
=$ac_check_lib_save_LIBS
12223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12224 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12225 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
12227 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12237 CPPFLAGS
=$ac_save_CPPFLAGS
12238 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12239 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12242 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12243 case "x$with_cms" in
12244 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12246 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12247 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12251 if test "x$with_freetype" != "xno"
12253 if ${FREETYPE_CFLAGS:+false} :; then :
12254 if ${PKG_CONFIG+:} false
; then :
12255 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12258 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
12259 if ${FREETYPE_LIBS:+false} :; then :
12260 if ${PKG_CONFIG+:} false
; then :
12261 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12264 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
12265 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
12266 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12267 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12268 ac_save_CPPFLAGS
=$CPPFLAGS
12269 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
12270 for ac_header
in ft2build.h
12272 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12273 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
12274 cat >>confdefs.h
<<_ACEOF
12275 #define HAVE_FT2BUILD_H 1
12282 if test "$ac_cv_header_ft2build_h" = "yes"
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12285 $as_echo_n "checking for -lfreetype... " >&6; }
12286 if ${ac_cv_lib_soname_freetype+:} false
; then :
12287 $as_echo_n "(cached) " >&6
12289 ac_check_soname_save_LIBS
=$LIBS
12290 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
12291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12292 /* end confdefs.h. */
12294 /* Override any GCC internal prototype to avoid an error.
12295 Use char because int might match the return type of a GCC
12296 builtin and then its argument prototype would still apply. */
12300 char FT_Init_FreeType ();
12304 return FT_Init_FreeType ();
12309 if ac_fn_c_try_link
"$LINENO"; then :
12311 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12312 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'` ;;
12313 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12314 if ${ac_cv_lib_soname_freetype:+false} :; then :
12315 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12319 rm -f core conftest.err conftest.
$ac_objext \
12320 conftest
$ac_exeext conftest.
$ac_ext
12321 LIBS
=$ac_check_soname_save_LIBS
12323 if ${ac_cv_lib_soname_freetype:+false} :; then :
12324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12325 $as_echo "not found" >&6; }
12328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12329 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12331 cat >>confdefs.h
<<_ACEOF
12332 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12336 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12338 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12339 #include FT_MODULE_H
12341 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12343 cat >>confdefs.h
<<_ACEOF
12344 #define HAVE_FT_TRUETYPEENGINETYPE 1
12355 CPPFLAGS
=$ac_save_CPPFLAGS
12356 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12357 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12360 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12361 case "x$with_freetype" in
12363 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12364 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12367 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
12369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12370 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12371 if ${ac_cv_c_ppdev+:} false
; then :
12372 $as_echo_n "(cached) " >&6
12374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12375 /* end confdefs.h. */
12376 #ifdef HAVE_SYS_IOCTL_H
12377 # include <sys/ioctl.h>
12379 #include <linux/ppdev.h>
12383 ioctl (1,PPCLAIM,0)
12388 if ac_fn_c_try_compile
"$LINENO"; then :
12389 ac_cv_c_ppdev
="yes"
12393 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12396 $as_echo "$ac_cv_c_ppdev" >&6; }
12397 if test "$ac_cv_c_ppdev" = "yes"
12400 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12404 ac_wine_check_funcs_save_LIBS
="$LIBS"
12405 LIBS
="$LIBS $PTHREAD_LIBS"
12407 pthread_attr_get_np \
12408 pthread_getattr_np \
12409 pthread_getthreadid_np \
12410 pthread_get_stackaddr_np \
12411 pthread_get_stacksize_np
12413 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12414 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12415 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12416 cat >>confdefs.h
<<_ACEOF
12417 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12423 LIBS
="$ac_wine_check_funcs_save_LIBS"
12425 if test "$ac_cv_header_zlib_h" = "yes"
12427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12428 $as_echo_n "checking for inflate in -lz... " >&6; }
12429 if ${ac_cv_lib_z_inflate+:} false
; then :
12430 $as_echo_n "(cached) " >&6
12432 ac_check_lib_save_LIBS
=$LIBS
12434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12435 /* end confdefs.h. */
12437 /* Override any GCC internal prototype to avoid an error.
12438 Use char because int might match the return type of a GCC
12439 builtin and then its argument prototype would still apply. */
12452 if ac_fn_c_try_link
"$LINENO"; then :
12453 ac_cv_lib_z_inflate
=yes
12455 ac_cv_lib_z_inflate
=no
12457 rm -f core conftest.err conftest.
$ac_objext \
12458 conftest
$ac_exeext conftest.
$ac_ext
12459 LIBS
=$ac_check_lib_save_LIBS
12461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12462 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12463 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12465 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12472 if test "x$Z_LIBS" = "x"; then :
12473 case "x$with_zlib" in
12474 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12476 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12477 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12481 if test "x$enable_tools" != xno
12483 if test "$ac_cv_header_gettext_po_h" = "yes"
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12486 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12487 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12488 $as_echo_n "(cached) " >&6
12490 ac_check_lib_save_LIBS
=$LIBS
12491 LIBS
="-lgettextpo $LIBS"
12492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12493 /* end confdefs.h. */
12495 /* Override any GCC internal prototype to avoid an error.
12496 Use char because int might match the return type of a GCC
12497 builtin and then its argument prototype would still apply. */
12501 char po_message_msgctxt ();
12505 return po_message_msgctxt ();
12510 if ac_fn_c_try_link
"$LINENO"; then :
12511 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12513 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12515 rm -f core conftest.err conftest.
$ac_objext \
12516 conftest
$ac_exeext conftest.
$ac_ext
12517 LIBS
=$ac_check_lib_save_LIBS
12519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12520 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12521 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12523 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12525 GETTEXTPO_LIBS
="-lgettextpo"
12530 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12531 case "x$with_gettextpo" in
12532 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12534 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12535 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12540 if test "x$with_gstreamer" != "xno"
12542 if ${GSTREAMER_CFLAGS:+false} :; then :
12543 if ${PKG_CONFIG+:} false
; then :
12544 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12548 if ${GSTREAMER_LIBS:+false} :; then :
12549 if ${PKG_CONFIG+:} false
; then :
12550 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12555 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12556 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12557 ac_save_CPPFLAGS
=$CPPFLAGS
12558 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12560 for i
in $GSTREAMER_CFLAGS
12563 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12566 GSTREAMER_CFLAGS
=$ac_gst_incl
12567 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12568 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12569 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12570 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12571 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12573 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12575 /* end confdefs.h. */
12576 #include <gst/app/gstappsink.h>
12580 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12585 if ac_fn_c_try_compile
"$LINENO"; then :
12586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12587 $as_echo "yes" >&6; }
12588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12589 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12590 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12591 $as_echo_n "(cached) " >&6
12593 ac_check_lib_save_LIBS
=$LIBS
12594 LIBS
="-lgstreamer-0.10 $LIBS"
12595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12596 /* end confdefs.h. */
12598 /* Override any GCC internal prototype to avoid an error.
12599 Use char because int might match the return type of a GCC
12600 builtin and then its argument prototype would still apply. */
12604 char gst_pad_get_caps_reffed ();
12608 return gst_pad_get_caps_reffed ();
12613 if ac_fn_c_try_link
"$LINENO"; then :
12614 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12616 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12618 rm -f core conftest.err conftest.
$ac_objext \
12619 conftest
$ac_exeext conftest.
$ac_ext
12620 LIBS
=$ac_check_lib_save_LIBS
12622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12623 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12624 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12626 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12627 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12628 $as_echo_n "(cached) " >&6
12630 ac_check_lib_save_LIBS
=$LIBS
12631 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12633 /* end confdefs.h. */
12635 /* Override any GCC internal prototype to avoid an error.
12636 Use char because int might match the return type of a GCC
12637 builtin and then its argument prototype would still apply. */
12641 char gst_app_buffer_new ();
12645 return gst_app_buffer_new ();
12650 if ac_fn_c_try_link
"$LINENO"; then :
12651 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12653 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12655 rm -f core conftest.err conftest.
$ac_objext \
12656 conftest
$ac_exeext conftest.
$ac_ext
12657 LIBS
=$ac_check_lib_save_LIBS
12659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12660 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12661 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12669 $as_echo "no" >&6; }
12671 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12676 GSTREAMER_CFLAGS
=""
12680 CPPFLAGS
=$ac_save_CPPFLAGS
12681 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12682 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12685 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12686 case "x$with_gstreamer" in
12687 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12689 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12690 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12693 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12697 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12700 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12701 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12702 $as_echo_n "(cached) " >&6
12704 ac_check_lib_save_LIBS
=$LIBS
12705 LIBS
="-lasound $LIBS"
12706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12707 /* end confdefs.h. */
12709 /* Override any GCC internal prototype to avoid an error.
12710 Use char because int might match the return type of a GCC
12711 builtin and then its argument prototype would still apply. */
12715 char snd_pcm_hw_params_get_access_mask ();
12719 return snd_pcm_hw_params_get_access_mask ();
12724 if ac_fn_c_try_link
"$LINENO"; then :
12725 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12727 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12729 rm -f core conftest.err conftest.
$ac_objext \
12730 conftest
$ac_exeext conftest.
$ac_ext
12731 LIBS
=$ac_check_lib_save_LIBS
12733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12734 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12735 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12737 /* end confdefs.h. */
12738 #ifdef HAVE_ALSA_ASOUNDLIB_H
12739 #include <alsa/asoundlib.h>
12740 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12741 #include <sys/asoundlib.h>
12746 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12751 if ac_fn_c_try_compile
"$LINENO"; then :
12752 ALSA_LIBS
="-lasound"
12754 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12759 if test "x$with_oss" != xno
12761 ac_save_CPPFLAGS
="$CPPFLAGS"
12762 if test -f /etc
/oss.conf
12766 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12767 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12768 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12769 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12770 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12772 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12774 cat >>confdefs.h
<<_ACEOF
12775 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12778 OSS4_CFLAGS
="$ac_oss_incl"
12785 CPPFLAGS
="$ac_save_CPPFLAGS"
12786 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12788 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12792 if test "x$with_capi" != "xno"
12794 if ${CAPI20_CFLAGS:+false} :; then :
12795 if ${PKG_CONFIG+:} false
; then :
12796 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12800 if ${CAPI20_LIBS:+false} :; then :
12801 if ${PKG_CONFIG+:} false
; then :
12802 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12807 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12808 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12809 ac_save_CPPFLAGS
=$CPPFLAGS
12810 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12811 for ac_header
in capi20.h linux
/capi.h
12813 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12814 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12816 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12817 cat >>confdefs.h
<<_ACEOF
12818 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12825 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12828 $as_echo_n "checking for -lcapi20... " >&6; }
12829 if ${ac_cv_lib_soname_capi20+:} false
; then :
12830 $as_echo_n "(cached) " >&6
12832 ac_check_soname_save_LIBS
=$LIBS
12833 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12835 /* end confdefs.h. */
12837 /* Override any GCC internal prototype to avoid an error.
12838 Use char because int might match the return type of a GCC
12839 builtin and then its argument prototype would still apply. */
12843 char capi20_register ();
12847 return capi20_register ();
12852 if ac_fn_c_try_link
"$LINENO"; then :
12854 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12855 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'` ;;
12856 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12857 if ${ac_cv_lib_soname_capi20:+false} :; then :
12858 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12862 rm -f core conftest.err conftest.
$ac_objext \
12863 conftest
$ac_exeext conftest.
$ac_ext
12864 LIBS
=$ac_check_soname_save_LIBS
12866 if ${ac_cv_lib_soname_capi20:+false} :; then :
12867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12868 $as_echo "not found" >&6; }
12871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12872 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12874 cat >>confdefs.h
<<_ACEOF
12875 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12881 CPPFLAGS
=$ac_save_CPPFLAGS
12882 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12883 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12886 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12887 case "x$with_capi" in
12888 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12890 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12891 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12897 if test "x$with_cups" != "xno"
12899 ac_save_CPPFLAGS
="$CPPFLAGS"
12900 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12901 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12902 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12903 for ac_header
in cups
/cups.h
12905 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12906 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12907 cat >>confdefs.h
<<_ACEOF
12908 #define HAVE_CUPS_CUPS_H 1
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12911 $as_echo_n "checking for -lcups... " >&6; }
12912 if ${ac_cv_lib_soname_cups+:} false
; then :
12913 $as_echo_n "(cached) " >&6
12915 ac_check_soname_save_LIBS
=$LIBS
12916 LIBS
="-lcups $ac_cups_libs $LIBS"
12917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12918 /* end confdefs.h. */
12920 /* Override any GCC internal prototype to avoid an error.
12921 Use char because int might match the return type of a GCC
12922 builtin and then its argument prototype would still apply. */
12926 char cupsGetDefault ();
12930 return cupsGetDefault ();
12935 if ac_fn_c_try_link
"$LINENO"; then :
12937 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12938 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'` ;;
12939 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12940 if ${ac_cv_lib_soname_cups:+false} :; then :
12941 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12945 rm -f core conftest.err conftest.
$ac_objext \
12946 conftest
$ac_exeext conftest.
$ac_ext
12947 LIBS
=$ac_check_soname_save_LIBS
12949 if ${ac_cv_lib_soname_cups:+false} :; then :
12950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12951 $as_echo "not found" >&6; }
12954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12955 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12957 cat >>confdefs.h
<<_ACEOF
12958 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12961 CUPS_CFLAGS
="$ac_cups_cflags"
12967 CPPFLAGS
="$ac_save_CPPFLAGS"
12969 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12970 case "x$with_cups" in
12971 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12973 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12974 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12978 if test "x$with_fontconfig" != "xno"
12980 if ${FONTCONFIG_CFLAGS:+false} :; then :
12981 if ${PKG_CONFIG+:} false
; then :
12982 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12985 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12986 if ${FONTCONFIG_LIBS:+false} :; then :
12987 if ${PKG_CONFIG+:} false
; then :
12988 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12991 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
12993 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12994 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12995 ac_save_CPPFLAGS
=$CPPFLAGS
12996 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
12997 for ac_header
in fontconfig
/fontconfig.h
12999 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13000 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
13001 cat >>confdefs.h
<<_ACEOF
13002 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13009 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13012 $as_echo_n "checking for -lfontconfig... " >&6; }
13013 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
13014 $as_echo_n "(cached) " >&6
13016 ac_check_soname_save_LIBS
=$LIBS
13017 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13019 /* end confdefs.h. */
13021 /* Override any GCC internal prototype to avoid an error.
13022 Use char because int might match the return type of a GCC
13023 builtin and then its argument prototype would still apply. */
13036 if ac_fn_c_try_link
"$LINENO"; then :
13038 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13039 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'` ;;
13040 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13041 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13042 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13046 rm -f core conftest.err conftest.
$ac_objext \
13047 conftest
$ac_exeext conftest.
$ac_ext
13048 LIBS
=$ac_check_soname_save_LIBS
13050 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13052 $as_echo "not found" >&6; }
13053 FONTCONFIG_CFLAGS
=""
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13056 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13058 cat >>confdefs.h
<<_ACEOF
13059 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13065 FONTCONFIG_CFLAGS
=""
13067 CPPFLAGS
=$ac_save_CPPFLAGS
13068 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13069 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13072 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13073 case "x$with_fontconfig" in
13074 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13076 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13077 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13081 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13084 $as_echo_n "checking for -lgsm... " >&6; }
13085 if ${ac_cv_lib_soname_gsm+:} false
; then :
13086 $as_echo_n "(cached) " >&6
13088 ac_check_soname_save_LIBS
=$LIBS
13090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13091 /* end confdefs.h. */
13093 /* Override any GCC internal prototype to avoid an error.
13094 Use char because int might match the return type of a GCC
13095 builtin and then its argument prototype would still apply. */
13099 char gsm_create ();
13103 return gsm_create ();
13108 if ac_fn_c_try_link
"$LINENO"; then :
13110 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13111 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'` ;;
13112 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13113 if ${ac_cv_lib_soname_gsm:+false} :; then :
13114 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13118 rm -f core conftest.err conftest.
$ac_objext \
13119 conftest
$ac_exeext conftest.
$ac_ext
13120 LIBS
=$ac_check_soname_save_LIBS
13122 if ${ac_cv_lib_soname_gsm:+false} :; then :
13123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13124 $as_echo "not found" >&6; }
13127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13128 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13130 cat >>confdefs.h
<<_ACEOF
13131 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13137 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13138 case "x$with_gsm" in
13139 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13141 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13142 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13146 if test "x$with_jpeg" != "xno"
13148 if ${JPEG_CFLAGS:+false} :; then :
13149 if ${PKG_CONFIG+:} false
; then :
13150 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13154 if ${JPEG_LIBS:+false} :; then :
13155 if ${PKG_CONFIG+:} false
; then :
13156 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13161 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13162 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13163 ac_save_CPPFLAGS
=$CPPFLAGS
13164 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
13165 for ac_header
in jpeglib.h
13167 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13168 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
13169 cat >>confdefs.h
<<_ACEOF
13170 #define HAVE_JPEGLIB_H 1
13177 if test "$ac_cv_header_jpeglib_h" = "yes"
13179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13180 $as_echo_n "checking for -ljpeg... " >&6; }
13181 if ${ac_cv_lib_soname_jpeg+:} false
; then :
13182 $as_echo_n "(cached) " >&6
13184 ac_check_soname_save_LIBS
=$LIBS
13185 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
13186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13187 /* end confdefs.h. */
13189 /* Override any GCC internal prototype to avoid an error.
13190 Use char because int might match the return type of a GCC
13191 builtin and then its argument prototype would still apply. */
13195 char jpeg_start_decompress ();
13199 return jpeg_start_decompress ();
13204 if ac_fn_c_try_link
"$LINENO"; then :
13206 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13207 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'` ;;
13208 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13209 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13210 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13214 rm -f core conftest.err conftest.
$ac_objext \
13215 conftest
$ac_exeext conftest.
$ac_ext
13216 LIBS
=$ac_check_soname_save_LIBS
13218 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13220 $as_echo "not found" >&6; }
13223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13224 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13226 cat >>confdefs.h
<<_ACEOF
13227 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13235 CPPFLAGS
=$ac_save_CPPFLAGS
13236 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13237 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13240 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13241 case "x$with_jpeg" in
13242 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13244 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13245 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13249 if test "x$with_png" != "xno"
13251 if ${PNG_CFLAGS:+false} :; then :
13252 if ${PKG_CONFIG+:} false
; then :
13253 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13256 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
13257 if ${PNG_LIBS:+false} :; then :
13258 if ${PKG_CONFIG+:} false
; then :
13259 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
13262 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
13264 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13265 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13266 ac_save_CPPFLAGS
=$CPPFLAGS
13267 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
13268 for ac_header
in png.h
13270 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13271 if test "x$ac_cv_header_png_h" = xyes
; then :
13272 cat >>confdefs.h
<<_ACEOF
13273 #define HAVE_PNG_H 1
13280 if test "$ac_cv_header_png_h" = "yes"
13282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13283 $as_echo_n "checking for -lpng... " >&6; }
13284 if ${ac_cv_lib_soname_png+:} false
; then :
13285 $as_echo_n "(cached) " >&6
13287 ac_check_soname_save_LIBS
=$LIBS
13288 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
13289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13290 /* end confdefs.h. */
13292 /* Override any GCC internal prototype to avoid an error.
13293 Use char because int might match the return type of a GCC
13294 builtin and then its argument prototype would still apply. */
13298 char png_create_read_struct ();
13302 return png_create_read_struct ();
13307 if ac_fn_c_try_link
"$LINENO"; then :
13309 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13310 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'` ;;
13311 *) 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'`
13312 if ${ac_cv_lib_soname_png:+false} :; then :
13313 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13317 rm -f core conftest.err conftest.
$ac_objext \
13318 conftest
$ac_exeext conftest.
$ac_ext
13319 LIBS
=$ac_check_soname_save_LIBS
13321 if ${ac_cv_lib_soname_png:+false} :; then :
13322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13323 $as_echo "not found" >&6; }
13326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13327 $as_echo "$ac_cv_lib_soname_png" >&6; }
13329 cat >>confdefs.h
<<_ACEOF
13330 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13334 /* end confdefs.h. */
13339 typeof(png_set_expand_gray_1_2_4_to_8) *p
13344 if ac_fn_c_try_compile
"$LINENO"; then :
13346 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13349 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13354 CPPFLAGS
=$ac_save_CPPFLAGS
13355 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13356 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13359 if test "x$ac_cv_lib_soname_png" = "x"; then :
13360 case "x$with_png" in
13361 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13363 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13364 This is an error since --with-png was requested." "$LINENO" 5 ;;
13368 if test "x$with_tiff" != "xno"
13370 if ${TIFF_CFLAGS:+false} :; then :
13371 if ${PKG_CONFIG+:} false
; then :
13372 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13376 if ${TIFF_LIBS:+false} :; then :
13377 if ${PKG_CONFIG+:} false
; then :
13378 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13383 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13384 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13385 ac_save_CPPFLAGS
=$CPPFLAGS
13386 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13387 for ac_header
in tiffio.h
13389 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13390 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13391 cat >>confdefs.h
<<_ACEOF
13392 #define HAVE_TIFFIO_H 1
13399 if test "$ac_cv_header_tiffio_h" = "yes"
13401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13402 $as_echo_n "checking for -ltiff... " >&6; }
13403 if ${ac_cv_lib_soname_tiff+:} false
; then :
13404 $as_echo_n "(cached) " >&6
13406 ac_check_soname_save_LIBS
=$LIBS
13407 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13409 /* end confdefs.h. */
13411 /* Override any GCC internal prototype to avoid an error.
13412 Use char because int might match the return type of a GCC
13413 builtin and then its argument prototype would still apply. */
13417 char TIFFClientOpen ();
13421 return TIFFClientOpen ();
13426 if ac_fn_c_try_link
"$LINENO"; then :
13428 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13429 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'` ;;
13430 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13431 if ${ac_cv_lib_soname_tiff:+false} :; then :
13432 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13436 rm -f core conftest.err conftest.
$ac_objext \
13437 conftest
$ac_exeext conftest.
$ac_ext
13438 LIBS
=$ac_check_soname_save_LIBS
13440 if ${ac_cv_lib_soname_tiff:+false} :; then :
13441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13442 $as_echo "not found" >&6; }
13445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13446 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13448 cat >>confdefs.h
<<_ACEOF
13449 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13455 CPPFLAGS
=$ac_save_CPPFLAGS
13456 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13457 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13460 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13461 case "x$with_tiff" in
13462 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13464 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13465 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13469 if test "x$with_mpg123" != "xno"
13471 if ${MPG123_CFLAGS:+false} :; then :
13472 if ${PKG_CONFIG+:} false
; then :
13473 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13477 if ${MPG123_LIBS:+false} :; then :
13478 if ${PKG_CONFIG+:} false
; then :
13479 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13483 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13484 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13485 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13486 ac_save_CPPFLAGS
=$CPPFLAGS
13487 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13488 for ac_header
in mpg123.h
13490 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13491 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13492 cat >>confdefs.h
<<_ACEOF
13493 #define HAVE_MPG123_H 1
13500 if test "$ac_cv_header_mpg123_h" = "yes"
13502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13503 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13504 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13505 $as_echo_n "(cached) " >&6
13507 ac_check_lib_save_LIBS
=$LIBS
13508 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13510 /* end confdefs.h. */
13512 /* Override any GCC internal prototype to avoid an error.
13513 Use char because int might match the return type of a GCC
13514 builtin and then its argument prototype would still apply. */
13518 char mpg123_feed ();
13522 return mpg123_feed ();
13527 if ac_fn_c_try_link
"$LINENO"; then :
13528 ac_cv_lib_mpg123_mpg123_feed
=yes
13530 ac_cv_lib_mpg123_mpg123_feed
=no
13532 rm -f core conftest.err conftest.
$ac_objext \
13533 conftest
$ac_exeext conftest.
$ac_ext
13534 LIBS
=$ac_check_lib_save_LIBS
13536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13537 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13538 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13548 CPPFLAGS
=$ac_save_CPPFLAGS
13549 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13550 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13553 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13554 case "x$with_mpg123" in
13555 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13557 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13558 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13561 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}
13563 if test "$ac_cv_header_AL_al_h" = "yes"
13565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13566 $as_echo_n "checking for -lopenal... " >&6; }
13567 if ${ac_cv_lib_soname_openal+:} false
; then :
13568 $as_echo_n "(cached) " >&6
13570 ac_check_soname_save_LIBS
=$LIBS
13571 LIBS
="-lopenal $LIBS"
13572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13573 /* end confdefs.h. */
13575 /* Override any GCC internal prototype to avoid an error.
13576 Use char because int might match the return type of a GCC
13577 builtin and then its argument prototype would still apply. */
13581 char alGetSource3i ();
13585 return alGetSource3i ();
13590 if ac_fn_c_try_link
"$LINENO"; then :
13592 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13593 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'` ;;
13594 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13595 if ${ac_cv_lib_soname_openal:+false} :; then :
13596 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13600 rm -f core conftest.err conftest.
$ac_objext \
13601 conftest
$ac_exeext conftest.
$ac_ext
13602 LIBS
=$ac_check_soname_save_LIBS
13604 if ${ac_cv_lib_soname_openal:+false} :; then :
13605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13606 $as_echo "not found" >&6; }
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13610 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13612 cat >>confdefs.h
<<_ACEOF
13613 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13616 OPENAL_LIBS
="-lopenal"
13618 ac_cv_lib_openal
=yes
13620 cat >>confdefs.h
<<_ACEOF
13621 #define HAVE_OPENAL 1
13626 if test "x$ac_cv_lib_openal" != xyes
; then :
13627 case "x$with_openal" in
13628 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13630 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13631 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13634 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13636 if test "x$ac_cv_lib_openal" = xyes
13638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13639 $as_echo_n "checking for openal-soft... " >&6; }
13640 if ${ac_cv_have_openalsoft+:} false
; then :
13641 $as_echo_n "(cached) " >&6
13643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13644 /* end confdefs.h. */
13645 #include <AL/alext.h>
13646 LPALCRENDERSAMPLESSOFT x;
13655 if ac_fn_c_try_compile
"$LINENO"; then :
13656 ac_cv_have_openalsoft
=yes
13658 ac_cv_have_openalsoft
=no
13660 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13663 $as_echo "$ac_cv_have_openalsoft" >&6; }
13665 if test "x$ac_cv_have_openalsoft" != xyes
13667 as_fn_append wine_notices
"|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13668 enable_xaudio2_7
=${enable_xaudio2_7:-no}
13671 if test "$ac_cv_header_kstat_h" = "yes"
13673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13674 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13675 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13676 $as_echo_n "(cached) " >&6
13678 ac_check_lib_save_LIBS
=$LIBS
13679 LIBS
="-lkstat $LIBS"
13680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13681 /* end confdefs.h. */
13683 /* Override any GCC internal prototype to avoid an error.
13684 Use char because int might match the return type of a GCC
13685 builtin and then its argument prototype would still apply. */
13689 char kstat_open ();
13693 return kstat_open ();
13698 if ac_fn_c_try_link
"$LINENO"; then :
13699 ac_cv_lib_kstat_kstat_open
=yes
13701 ac_cv_lib_kstat_kstat_open
=no
13703 rm -f core conftest.err conftest.
$ac_objext \
13704 conftest
$ac_exeext conftest.
$ac_ext
13705 LIBS
=$ac_check_lib_save_LIBS
13707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13708 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13709 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13711 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13713 KSTAT_LIBS
="-lkstat"
13719 if test "$ac_cv_header_libprocstat_h" = "yes"
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13722 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13723 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13724 $as_echo_n "(cached) " >&6
13726 ac_check_lib_save_LIBS
=$LIBS
13727 LIBS
="-lprocstat $LIBS"
13728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13729 /* end confdefs.h. */
13731 /* Override any GCC internal prototype to avoid an error.
13732 Use char because int might match the return type of a GCC
13733 builtin and then its argument prototype would still apply. */
13737 char procstat_open_sysctl ();
13741 return procstat_open_sysctl ();
13746 if ac_fn_c_try_link
"$LINENO"; then :
13747 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13749 ac_cv_lib_procstat_procstat_open_sysctl
=no
13751 rm -f core conftest.err conftest.
$ac_objext \
13752 conftest
$ac_exeext conftest.
$ac_ext
13753 LIBS
=$ac_check_lib_save_LIBS
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13756 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13757 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13759 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13761 PROCSTAT_LIBS
="-lprocstat"
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13768 $as_echo_n "checking for -lodbc... " >&6; }
13769 if ${ac_cv_lib_soname_odbc+:} false
; then :
13770 $as_echo_n "(cached) " >&6
13772 ac_check_soname_save_LIBS
=$LIBS
13773 LIBS
="-lodbc $LIBS"
13774 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13775 /* end confdefs.h. */
13777 /* Override any GCC internal prototype to avoid an error.
13778 Use char because int might match the return type of a GCC
13779 builtin and then its argument prototype would still apply. */
13783 char SQLConnect ();
13787 return SQLConnect ();
13792 if ac_fn_c_try_link
"$LINENO"; then :
13794 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13795 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'` ;;
13796 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13797 if ${ac_cv_lib_soname_odbc:+false} :; then :
13798 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13802 rm -f core conftest.err conftest.
$ac_objext \
13803 conftest
$ac_exeext conftest.
$ac_ext
13804 LIBS
=$ac_check_soname_save_LIBS
13806 if ${ac_cv_lib_soname_odbc:+false} :; then :
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13808 $as_echo "not found" >&6; }
13809 cat >>confdefs.h
<<_ACEOF
13810 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13815 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13817 cat >>confdefs.h
<<_ACEOF
13818 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13824 if test "x$with_netapi" != "xno"
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13827 $as_echo_n "checking for -lnetapi... " >&6; }
13828 if ${ac_cv_lib_soname_netapi+:} false
; then :
13829 $as_echo_n "(cached) " >&6
13831 ac_check_soname_save_LIBS
=$LIBS
13832 LIBS
="-lnetapi $LIBS"
13833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13834 /* end confdefs.h. */
13836 /* Override any GCC internal prototype to avoid an error.
13837 Use char because int might match the return type of a GCC
13838 builtin and then its argument prototype would still apply. */
13842 char libnetapi_init ();
13846 return libnetapi_init ();
13851 if ac_fn_c_try_link
"$LINENO"; then :
13853 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13854 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'` ;;
13855 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13856 if ${ac_cv_lib_soname_netapi:+false} :; then :
13857 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13861 rm -f core conftest.err conftest.
$ac_objext \
13862 conftest
$ac_exeext conftest.
$ac_ext
13863 LIBS
=$ac_check_soname_save_LIBS
13865 if ${ac_cv_lib_soname_netapi:+false} :; then :
13866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13867 $as_echo "not found" >&6; }
13868 cat >>confdefs.h
<<_ACEOF
13869 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13874 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13876 cat >>confdefs.h
<<_ACEOF
13877 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13884 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13885 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13886 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13887 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13889 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13890 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13891 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13893 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13899 if test "x${GCC}" = "xyes"
13901 EXTRACFLAGS
="-Wall -pipe"
13903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13904 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13905 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13906 $as_echo_n "(cached) " >&6
13908 if test "$cross_compiling" = yes; then :
13909 ac_cv_c_gcc_strength_bug
="no"
13911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13912 /* end confdefs.h. */
13913 int L[4] = {0,1,2,3};
13917 static int Array[3];
13918 unsigned int B = 3;
13920 for(i=0; i<B; i++) Array[i] = i - 3;
13921 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13923 return (Array[1] != -2 || L[2] != 3)
13928 if ac_fn_c_try_run
"$LINENO"; then :
13929 ac_cv_c_gcc_strength_bug
="no"
13931 ac_cv_c_gcc_strength_bug
="yes"
13933 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13934 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13939 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13940 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13942 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13946 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13947 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13948 $as_echo_n "(cached) " >&6
13950 ac_wine_try_cflags_saved
=$CFLAGS
13951 CFLAGS
="$CFLAGS -fno-builtin"
13952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13953 /* end confdefs.h. */
13954 int main(int argc, char **argv) { return 0; }
13956 if ac_fn_c_try_link
"$LINENO"; then :
13957 ac_cv_cflags__fno_builtin
=yes
13959 ac_cv_cflags__fno_builtin
=no
13961 rm -f core conftest.err conftest.
$ac_objext \
13962 conftest
$ac_exeext conftest.
$ac_ext
13963 CFLAGS
=$ac_wine_try_cflags_saved
13965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13966 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13967 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
13968 BUILTINFLAG
="-fno-builtin"
13971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13972 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13973 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13974 $as_echo_n "(cached) " >&6
13976 ac_wine_try_cflags_saved
=$CFLAGS
13977 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13979 /* end confdefs.h. */
13980 int main(int argc, char **argv) { return 0; }
13982 if ac_fn_c_try_link
"$LINENO"; then :
13983 ac_cv_cflags__fno_strict_aliasing
=yes
13985 ac_cv_cflags__fno_strict_aliasing
=no
13987 rm -f core conftest.err conftest.
$ac_objext \
13988 conftest
$ac_exeext conftest.
$ac_ext
13989 CFLAGS
=$ac_wine_try_cflags_saved
13991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13992 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13993 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
13994 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13996 saved_CFLAGS
=$CFLAGS
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13998 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13999 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
14000 $as_echo_n "(cached) " >&6
14002 ac_wine_try_cflags_saved
=$CFLAGS
14003 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14005 /* end confdefs.h. */
14006 int main(int argc, char **argv) { return 0; }
14008 if ac_fn_c_try_link
"$LINENO"; then :
14009 ac_cv_cflags__Werror_unknown_warning_option
=yes
14011 ac_cv_cflags__Werror_unknown_warning_option
=no
14013 rm -f core conftest.err conftest.
$ac_objext \
14014 conftest
$ac_exeext conftest.
$ac_ext
14015 CFLAGS
=$ac_wine_try_cflags_saved
14017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14018 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14019 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
14020 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14023 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14024 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
14025 $as_echo_n "(cached) " >&6
14027 ac_wine_try_cflags_saved
=$CFLAGS
14028 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
14029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14030 /* end confdefs.h. */
14031 int main(int argc, char **argv) { return 0; }
14033 if ac_fn_c_try_link
"$LINENO"; then :
14034 ac_cv_cflags__Wdeclaration_after_statement
=yes
14036 ac_cv_cflags__Wdeclaration_after_statement
=no
14038 rm -f core conftest.err conftest.
$ac_objext \
14039 conftest
$ac_exeext conftest.
$ac_ext
14040 CFLAGS
=$ac_wine_try_cflags_saved
14042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14043 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14044 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
14045 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14048 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14049 if ${ac_cv_cflags__Wempty_body+:} false
; then :
14050 $as_echo_n "(cached) " >&6
14052 ac_wine_try_cflags_saved
=$CFLAGS
14053 CFLAGS
="$CFLAGS -Wempty-body"
14054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14055 /* end confdefs.h. */
14056 int main(int argc, char **argv) { return 0; }
14058 if ac_fn_c_try_link
"$LINENO"; then :
14059 ac_cv_cflags__Wempty_body
=yes
14061 ac_cv_cflags__Wempty_body
=no
14063 rm -f core conftest.err conftest.
$ac_objext \
14064 conftest
$ac_exeext conftest.
$ac_ext
14065 CFLAGS
=$ac_wine_try_cflags_saved
14067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14068 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14069 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
14070 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
14072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14073 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14074 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
14075 $as_echo_n "(cached) " >&6
14077 ac_wine_try_cflags_saved
=$CFLAGS
14078 CFLAGS
="$CFLAGS -Wignored-qualifiers"
14079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14080 /* end confdefs.h. */
14081 int main(int argc, char **argv) { return 0; }
14083 if ac_fn_c_try_link
"$LINENO"; then :
14084 ac_cv_cflags__Wignored_qualifiers
=yes
14086 ac_cv_cflags__Wignored_qualifiers
=no
14088 rm -f core conftest.err conftest.
$ac_objext \
14089 conftest
$ac_exeext conftest.
$ac_ext
14090 CFLAGS
=$ac_wine_try_cflags_saved
14092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14093 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14094 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
14095 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
14097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14098 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14099 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
14100 $as_echo_n "(cached) " >&6
14102 ac_wine_try_cflags_saved
=$CFLAGS
14103 CFLAGS
="$CFLAGS -Wstrict-prototypes"
14104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14105 /* end confdefs.h. */
14106 int main(int argc, char **argv) { return 0; }
14108 if ac_fn_c_try_link
"$LINENO"; then :
14109 ac_cv_cflags__Wstrict_prototypes
=yes
14111 ac_cv_cflags__Wstrict_prototypes
=no
14113 rm -f core conftest.err conftest.
$ac_objext \
14114 conftest
$ac_exeext conftest.
$ac_ext
14115 CFLAGS
=$ac_wine_try_cflags_saved
14117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14118 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14119 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
14120 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
14122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14123 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14124 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
14125 $as_echo_n "(cached) " >&6
14127 ac_wine_try_cflags_saved
=$CFLAGS
14128 CFLAGS
="$CFLAGS -Wtype-limits"
14129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14130 /* end confdefs.h. */
14131 int main(int argc, char **argv) { return 0; }
14133 if ac_fn_c_try_link
"$LINENO"; then :
14134 ac_cv_cflags__Wtype_limits
=yes
14136 ac_cv_cflags__Wtype_limits
=no
14138 rm -f core conftest.err conftest.
$ac_objext \
14139 conftest
$ac_exeext conftest.
$ac_ext
14140 CFLAGS
=$ac_wine_try_cflags_saved
14142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14143 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14144 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
14145 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
14147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14148 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14149 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
14150 $as_echo_n "(cached) " >&6
14152 ac_wine_try_cflags_saved
=$CFLAGS
14153 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
14154 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14155 /* end confdefs.h. */
14156 int main(int argc, char **argv) { return 0; }
14158 if ac_fn_c_try_link
"$LINENO"; then :
14159 ac_cv_cflags__Wunused_but_set_parameter
=yes
14161 ac_cv_cflags__Wunused_but_set_parameter
=no
14163 rm -f core conftest.err conftest.
$ac_objext \
14164 conftest
$ac_exeext conftest.
$ac_ext
14165 CFLAGS
=$ac_wine_try_cflags_saved
14167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14168 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14169 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
14170 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
14172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14173 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14174 if ${ac_cv_cflags__Wvla+:} false
; then :
14175 $as_echo_n "(cached) " >&6
14177 ac_wine_try_cflags_saved
=$CFLAGS
14178 CFLAGS
="$CFLAGS -Wvla"
14179 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14180 /* end confdefs.h. */
14181 int main(int argc, char **argv) { return 0; }
14183 if ac_fn_c_try_link
"$LINENO"; then :
14184 ac_cv_cflags__Wvla
=yes
14186 ac_cv_cflags__Wvla
=no
14188 rm -f core conftest.err conftest.
$ac_objext \
14189 conftest
$ac_exeext conftest.
$ac_ext
14190 CFLAGS
=$ac_wine_try_cflags_saved
14192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14193 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14194 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
14195 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
14197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14198 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14199 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
14200 $as_echo_n "(cached) " >&6
14202 ac_wine_try_cflags_saved
=$CFLAGS
14203 CFLAGS
="$CFLAGS -Wwrite-strings"
14204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14205 /* end confdefs.h. */
14206 int main(int argc, char **argv) { return 0; }
14208 if ac_fn_c_try_link
"$LINENO"; then :
14209 ac_cv_cflags__Wwrite_strings
=yes
14211 ac_cv_cflags__Wwrite_strings
=no
14213 rm -f core conftest.err conftest.
$ac_objext \
14214 conftest
$ac_exeext conftest.
$ac_ext
14215 CFLAGS
=$ac_wine_try_cflags_saved
14217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14218 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14219 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
14220 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
14223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14224 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14225 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
14226 $as_echo_n "(cached) " >&6
14228 ac_wine_try_cflags_saved
=$CFLAGS
14229 CFLAGS
="$CFLAGS -Wpointer-arith"
14230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14231 /* end confdefs.h. */
14232 int main(int argc, char **argv) { return 0; }
14234 if ac_fn_c_try_link
"$LINENO"; then :
14235 ac_cv_cflags__Wpointer_arith
=yes
14237 ac_cv_cflags__Wpointer_arith
=no
14239 rm -f core conftest.err conftest.
$ac_objext \
14240 conftest
$ac_exeext conftest.
$ac_ext
14241 CFLAGS
=$ac_wine_try_cflags_saved
14243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14244 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14245 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
14246 saved_string_h_CFLAGS
=$CFLAGS
14247 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
14248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14249 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14250 if ${ac_cv_c_string_h_warnings+:} false
; then :
14251 $as_echo_n "(cached) " >&6
14253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14254 /* end confdefs.h. */
14255 #include <string.h>
14264 if ac_fn_c_try_compile
"$LINENO"; then :
14265 ac_cv_c_string_h_warnings
=no
14267 ac_cv_c_string_h_warnings
=yes
14269 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14272 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14273 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
14274 CFLAGS
=$saved_string_h_CFLAGS
14277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14278 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14279 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
14280 $as_echo_n "(cached) " >&6
14282 ac_wine_try_cflags_saved
=$CFLAGS
14283 CFLAGS
="$CFLAGS -Wlogical-op"
14284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14285 /* end confdefs.h. */
14286 int main(int argc, char **argv) { return 0; }
14288 if ac_fn_c_try_link
"$LINENO"; then :
14289 ac_cv_cflags__Wlogical_op
=yes
14291 ac_cv_cflags__Wlogical_op
=no
14293 rm -f core conftest.err conftest.
$ac_objext \
14294 conftest
$ac_exeext conftest.
$ac_ext
14295 CFLAGS
=$ac_wine_try_cflags_saved
14297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14298 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14299 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
14300 saved_string_h_CFLAGS
=$CFLAGS
14301 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
14302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14303 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14304 if ${ac_cv_c_logicalop_noisy+:} false
; then :
14305 $as_echo_n "(cached) " >&6
14307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14308 /* end confdefs.h. */
14309 #include <string.h>
14310 char*f(const char *h,char n) {return strchr(h,n);}
14319 if ac_fn_c_try_compile
"$LINENO"; then :
14320 ac_cv_c_logicalop_noisy
=no
14322 ac_cv_c_logicalop_noisy
=yes
14324 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14327 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14328 CFLAGS
=$saved_string_h_CFLAGS
14329 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
14332 CFLAGS
=$saved_CFLAGS
14334 for ac_flag
in $CFLAGS; do
14336 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14337 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14338 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14339 $as_echo_n "(cached) " >&6
14341 ac_wine_try_cflags_saved
=$CFLAGS
14342 CFLAGS
="$CFLAGS -gdwarf-2"
14343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14344 /* end confdefs.h. */
14345 int main(int argc, char **argv) { return 0; }
14347 if ac_fn_c_try_link
"$LINENO"; then :
14348 ac_cv_cflags__gdwarf_2
=yes
14350 ac_cv_cflags__gdwarf_2
=no
14352 rm -f core conftest.err conftest.
$ac_objext \
14353 conftest
$ac_exeext conftest.
$ac_ext
14354 CFLAGS
=$ac_wine_try_cflags_saved
14356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14357 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14358 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14359 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14362 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14363 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14364 $as_echo_n "(cached) " >&6
14366 ac_wine_try_cflags_saved
=$CFLAGS
14367 CFLAGS
="$CFLAGS -gstrict-dwarf"
14368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14369 /* end confdefs.h. */
14370 int main(int argc, char **argv) { return 0; }
14372 if ac_fn_c_try_link
"$LINENO"; then :
14373 ac_cv_cflags__gstrict_dwarf
=yes
14375 ac_cv_cflags__gstrict_dwarf
=no
14377 rm -f core conftest.err conftest.
$ac_objext \
14378 conftest
$ac_exeext conftest.
$ac_ext
14379 CFLAGS
=$ac_wine_try_cflags_saved
14381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14382 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14383 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14384 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14390 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14391 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14392 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14393 $as_echo_n "(cached) " >&6
14395 ac_wine_try_cflags_saved
=$CFLAGS
14396 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
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__fno_omit_frame_pointer
=yes
14404 ac_cv_cflags__fno_omit_frame_pointer
=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__fno_omit_frame_pointer" >&5
14411 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14412 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14413 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14418 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14419 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14420 if ${ac_cv_cflags__Wno_format+:} false
; then :
14421 $as_echo_n "(cached) " >&6
14423 ac_wine_try_cflags_saved
=$CFLAGS
14424 CFLAGS
="$CFLAGS -Wno-format"
14425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14426 /* end confdefs.h. */
14427 int main(int argc, char **argv) { return 0; }
14429 if ac_fn_c_try_link
"$LINENO"; then :
14430 ac_cv_cflags__Wno_format
=yes
14432 ac_cv_cflags__Wno_format
=no
14434 rm -f core conftest.err conftest.
$ac_objext \
14435 conftest
$ac_exeext conftest.
$ac_ext
14436 CFLAGS
=$ac_wine_try_cflags_saved
14438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14439 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14440 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14441 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14445 if test "x$enable_maintainer_mode" = "xyes"
14447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14448 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14449 if ${ac_cv_cflags__Werror+:} false
; then :
14450 $as_echo_n "(cached) " >&6
14452 ac_wine_try_cflags_saved
=$CFLAGS
14453 CFLAGS
="$CFLAGS -Werror"
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__Werror
=yes
14461 ac_cv_cflags__Werror
=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__Werror" >&5
14468 $as_echo "$ac_cv_cflags__Werror" >&6; }
14469 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14470 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14474 saved_CFLAGS
="$CFLAGS"
14475 CFLAGS
="$CFLAGS -Werror"
14476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14477 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14478 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14479 $as_echo_n "(cached) " >&6
14481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14482 /* end confdefs.h. */
14483 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14492 if ac_fn_c_try_compile
"$LINENO"; then :
14493 ac_cv_have_ms_hook_prologue
="yes"
14495 ac_cv_have_ms_hook_prologue
="no"
14497 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14500 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14501 CFLAGS
="$saved_CFLAGS"
14502 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14505 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14508 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14515 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14516 if ${ac_cv_c_fortify_enabled+:} false
; then :
14517 $as_echo_n "(cached) " >&6
14519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14520 /* end confdefs.h. */
14521 #include <string.h>
14525 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14526 #error Fortify enabled
14532 if ac_fn_c_try_compile
"$LINENO"; then :
14533 ac_cv_c_fortify_enabled
=no
14535 ac_cv_c_fortify_enabled
=yes
14537 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14540 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14541 if test "$ac_cv_c_fortify_enabled" = yes
14543 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14548 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14549 if ${ac_cv_c_extern_prefix+:} false
; then :
14550 $as_echo_n "(cached) " >&6
14552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14553 /* end confdefs.h. */
14554 extern int ac_test;
14558 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14563 if ac_fn_c_try_link
"$LINENO"; then :
14564 ac_cv_c_extern_prefix
="yes"
14566 ac_cv_c_extern_prefix
="no"
14568 rm -f core conftest.err conftest.
$ac_objext \
14569 conftest
$ac_exeext conftest.
$ac_ext
14571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14572 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14577 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14578 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14579 $as_echo_n "(cached) " >&6
14581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14582 /* end confdefs.h. */
14584 #define __stdcall __attribute__((__stdcall__))
14586 int __stdcall ac_test(int i) { return i; }
14590 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14595 if ac_fn_c_try_link
"$LINENO"; then :
14596 ac_cv_c_stdcall_suffix
="yes"
14598 ac_cv_c_stdcall_suffix
="no"
14600 rm -f core conftest.err conftest.
$ac_objext \
14601 conftest
$ac_exeext conftest.
$ac_ext
14603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14604 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14605 *) ac_cv_c_stdcall_suffix
="no" ;;
14609 if test "$ac_cv_c_extern_prefix" = "yes"
14611 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14613 asm_name_prefix
="_"
14615 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14621 if test "$ac_cv_c_stdcall_suffix" = "yes"
14623 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14626 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14632 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14633 if ${ac_cv_asm_func_def+:} false
; then :
14634 $as_echo_n "(cached) " >&6
14636 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14637 /* end confdefs.h. */
14642 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14647 if ac_fn_c_try_link
"$LINENO"; then :
14648 ac_cv_asm_func_def
=".def"
14650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14651 /* end confdefs.h. */
14656 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14661 if ac_fn_c_try_link
"$LINENO"; then :
14662 ac_cv_asm_func_def
=".type @function"
14664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14665 /* end confdefs.h. */
14670 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14675 if ac_fn_c_try_link
"$LINENO"; then :
14676 ac_cv_asm_func_def
=".type 2"
14678 ac_cv_asm_func_def
="unknown"
14680 rm -f core conftest.err conftest.
$ac_objext \
14681 conftest
$ac_exeext conftest.
$ac_ext
14683 rm -f core conftest.err conftest.
$ac_objext \
14684 conftest
$ac_exeext conftest.
$ac_ext
14686 rm -f core conftest.err conftest.
$ac_objext \
14687 conftest
$ac_exeext conftest.
$ac_ext
14689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14690 $as_echo "$ac_cv_asm_func_def" >&6; }
14693 case "$ac_cv_asm_func_def" in
14695 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14697 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14699 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14701 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14703 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14705 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14707 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14709 asm_func_header
="" ;;
14712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14713 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14714 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14715 $as_echo_n "(cached) " >&6
14717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14718 /* end confdefs.h. */
14719 asm(".text\n\t.long 0");
14728 if ac_fn_c_try_compile
"$LINENO"; then :
14729 ac_cv_c_asm_outside_funcs
="yes"
14731 ac_cv_c_asm_outside_funcs
="no"
14733 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14736 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14739 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14740 if ${ac_cv_c_dot_previous+:} false
; then :
14741 $as_echo_n "(cached) " >&6
14743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14744 /* end confdefs.h. */
14749 asm(".text\nac_test:\t.long 0\n\t.previous");
14754 if ac_fn_c_try_link
"$LINENO"; then :
14755 ac_cv_c_dot_previous
="yes"
14757 ac_cv_c_dot_previous
="no"
14759 rm -f core conftest.err conftest.
$ac_objext \
14760 conftest
$ac_exeext conftest.
$ac_ext
14762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14763 $as_echo "$ac_cv_c_dot_previous" >&6; }
14765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14766 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14767 if ${ac_cv_c_cfi_support+:} false
; then :
14768 $as_echo_n "(cached) " >&6
14770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14771 /* end confdefs.h. */
14772 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14781 if ac_fn_c_try_compile
"$LINENO"; then :
14782 ac_cv_c_cfi_support
="yes"
14784 ac_cv_c_cfi_support
="no"
14786 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14789 $as_echo "$ac_cv_c_cfi_support" >&6; }
14791 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14792 asm_func_trailer
=""
14793 if test "$ac_cv_c_dot_previous" = "yes"
14795 asm_func_trailer
="\\n\\t.previous"
14797 if test "$ac_cv_c_cfi_support" = "yes"
14799 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14800 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14802 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14804 UNWINDFLAGS
=-fasynchronous-unwind-tables
14807 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14809 if test "x$enable_win64" = "xyes"
14811 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
14815 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14818 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14820 cat >>confdefs.h
<<_ACEOF
14821 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14825 cat >>confdefs.h
<<_ACEOF
14826 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14831 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14834 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14839 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14846 *i
[3456789]86*|x86_64
*)
14847 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14848 loader_programs
="$loader_programs $wine_binary-preloader"
14849 as_fn_append LOADER_RULES
"
14850 $wine_binary-preloader: preloader.o
14851 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14853 install install-lib:: $wine_binary-preloader
14854 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14857 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14859 preloader_EXTRADEFS = $BUILTINFLAG
14864 as_fn_append LOADER_RULES
"
14865 PROGRAMS = $loader_programs
14869 ac_save_CFLAGS
="$CFLAGS"
14870 CFLAGS
="$CFLAGS $BUILTINFLAG"
14949 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14950 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14951 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14952 cat >>confdefs.h
<<_ACEOF
14953 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14959 CFLAGS
="$ac_save_CFLAGS"
14961 if test "$ac_cv_func_dlopen" = no
14963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14964 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14965 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14966 $as_echo_n "(cached) " >&6
14968 ac_check_lib_save_LIBS
=$LIBS
14970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14971 /* end confdefs.h. */
14973 /* Override any GCC internal prototype to avoid an error.
14974 Use char because int might match the return type of a GCC
14975 builtin and then its argument prototype would still apply. */
14988 if ac_fn_c_try_link
"$LINENO"; then :
14989 ac_cv_lib_dl_dlopen
=yes
14991 ac_cv_lib_dl_dlopen
=no
14993 rm -f core conftest.err conftest.
$ac_objext \
14994 conftest
$ac_exeext conftest.
$ac_ext
14995 LIBS
=$ac_check_lib_save_LIBS
14997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14998 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14999 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
15000 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15006 ac_wine_check_funcs_save_LIBS
="$LIBS"
15007 LIBS
="$LIBS $DL_LIBS"
15008 for ac_func
in dladdr
15010 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
15011 if test "x$ac_cv_func_dladdr" = xyes
; then :
15012 cat >>confdefs.h
<<_ACEOF
15013 #define HAVE_DLADDR 1
15019 LIBS
="$ac_wine_check_funcs_save_LIBS"
15021 if test "$ac_cv_func_poll" = no
15023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15024 $as_echo_n "checking for poll in -lpoll... " >&6; }
15025 if ${ac_cv_lib_poll_poll+:} false
; then :
15026 $as_echo_n "(cached) " >&6
15028 ac_check_lib_save_LIBS
=$LIBS
15029 LIBS
="-lpoll $LIBS"
15030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15031 /* end confdefs.h. */
15033 /* Override any GCC internal prototype to avoid an error.
15034 Use char because int might match the return type of a GCC
15035 builtin and then its argument prototype would still apply. */
15048 if ac_fn_c_try_link
"$LINENO"; then :
15049 ac_cv_lib_poll_poll
=yes
15051 ac_cv_lib_poll_poll
=no
15053 rm -f core conftest.err conftest.
$ac_objext \
15054 conftest
$ac_exeext conftest.
$ac_ext
15055 LIBS
=$ac_check_lib_save_LIBS
15057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15058 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15059 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
15060 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15068 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15069 if ${ac_cv_search_gethostbyname+:} false
; then :
15070 $as_echo_n "(cached) " >&6
15072 ac_func_search_save_LIBS
=$LIBS
15073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15074 /* end confdefs.h. */
15076 /* Override any GCC internal prototype to avoid an error.
15077 Use char because int might match the return type of a GCC
15078 builtin and then its argument prototype would still apply. */
15082 char gethostbyname ();
15086 return gethostbyname ();
15091 for ac_lib
in '' nsl
; do
15092 if test -z "$ac_lib"; then
15093 ac_res
="none required"
15096 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15098 if ac_fn_c_try_link
"$LINENO"; then :
15099 ac_cv_search_gethostbyname
=$ac_res
15101 rm -f core conftest.err conftest.
$ac_objext \
15103 if ${ac_cv_search_gethostbyname+:} false
; then :
15107 if ${ac_cv_search_gethostbyname+:} false
; then :
15110 ac_cv_search_gethostbyname
=no
15112 rm conftest.
$ac_ext
15113 LIBS
=$ac_func_search_save_LIBS
15115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15116 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15117 ac_res
=$ac_cv_search_gethostbyname
15118 if test "$ac_res" != no
; then :
15119 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15125 $as_echo_n "checking for library containing connect... " >&6; }
15126 if ${ac_cv_search_connect+:} false
; then :
15127 $as_echo_n "(cached) " >&6
15129 ac_func_search_save_LIBS
=$LIBS
15130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15131 /* end confdefs.h. */
15133 /* Override any GCC internal prototype to avoid an error.
15134 Use char because int might match the return type of a GCC
15135 builtin and then its argument prototype would still apply. */
15148 for ac_lib
in '' socket
; do
15149 if test -z "$ac_lib"; then
15150 ac_res
="none required"
15153 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15155 if ac_fn_c_try_link
"$LINENO"; then :
15156 ac_cv_search_connect
=$ac_res
15158 rm -f core conftest.err conftest.
$ac_objext \
15160 if ${ac_cv_search_connect+:} false
; then :
15164 if ${ac_cv_search_connect+:} false
; then :
15167 ac_cv_search_connect
=no
15169 rm conftest.
$ac_ext
15170 LIBS
=$ac_func_search_save_LIBS
15172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15173 $as_echo "$ac_cv_search_connect" >&6; }
15174 ac_res
=$ac_cv_search_connect
15175 if test "$ac_res" != no
; then :
15176 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15182 $as_echo_n "checking for library containing inet_aton... " >&6; }
15183 if ${ac_cv_search_inet_aton+:} false
; then :
15184 $as_echo_n "(cached) " >&6
15186 ac_func_search_save_LIBS
=$LIBS
15187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15188 /* end confdefs.h. */
15190 /* Override any GCC internal prototype to avoid an error.
15191 Use char because int might match the return type of a GCC
15192 builtin and then its argument prototype would still apply. */
15200 return inet_aton ();
15205 for ac_lib
in '' resolv
; do
15206 if test -z "$ac_lib"; then
15207 ac_res
="none required"
15210 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15212 if ac_fn_c_try_link
"$LINENO"; then :
15213 ac_cv_search_inet_aton
=$ac_res
15215 rm -f core conftest.err conftest.
$ac_objext \
15217 if ${ac_cv_search_inet_aton+:} false
; then :
15221 if ${ac_cv_search_inet_aton+:} false
; then :
15224 ac_cv_search_inet_aton
=no
15226 rm conftest.
$ac_ext
15227 LIBS
=$ac_func_search_save_LIBS
15229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15230 $as_echo "$ac_cv_search_inet_aton" >&6; }
15231 ac_res
=$ac_cv_search_inet_aton
15232 if test "$ac_res" != no
; then :
15233 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15253 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15254 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15255 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15256 cat >>confdefs.h
<<_ACEOF
15257 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15266 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15267 if ${ac_cv_search_clock_gettime+:} false
; then :
15268 $as_echo_n "(cached) " >&6
15270 ac_func_search_save_LIBS
=$LIBS
15271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15272 /* end confdefs.h. */
15274 /* Override any GCC internal prototype to avoid an error.
15275 Use char because int might match the return type of a GCC
15276 builtin and then its argument prototype would still apply. */
15280 char clock_gettime ();
15284 return clock_gettime ();
15289 for ac_lib
in '' rt
; do
15290 if test -z "$ac_lib"; then
15291 ac_res
="none required"
15294 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15296 if ac_fn_c_try_link
"$LINENO"; then :
15297 ac_cv_search_clock_gettime
=$ac_res
15299 rm -f core conftest.err conftest.
$ac_objext \
15301 if ${ac_cv_search_clock_gettime+:} false
; then :
15305 if ${ac_cv_search_clock_gettime+:} false
; then :
15308 ac_cv_search_clock_gettime
=no
15310 rm conftest.
$ac_ext
15311 LIBS
=$ac_func_search_save_LIBS
15313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15314 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15315 ac_res
=$ac_cv_search_clock_gettime
15316 if test "$ac_res" != no
; then :
15317 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15319 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15321 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
15329 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15331 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15333 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15335 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15336 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15337 $as_echo_n "(cached) " >&6
15339 ac_check_lib_save_LIBS
=$LIBS
15340 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15341 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15342 /* end confdefs.h. */
15344 /* Override any GCC internal prototype to avoid an error.
15345 Use char because int might match the return type of a GCC
15346 builtin and then its argument prototype would still apply. */
15350 char ldap_initialize ();
15354 return ldap_initialize ();
15359 if ac_fn_c_try_link
"$LINENO"; then :
15360 ac_cv_lib_ldap_r_ldap_initialize
=yes
15362 ac_cv_lib_ldap_r_ldap_initialize
=no
15364 rm -f core conftest.err conftest.
$ac_objext \
15365 conftest
$ac_exeext conftest.
$ac_ext
15366 LIBS
=$ac_check_lib_save_LIBS
15368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15369 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15370 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15372 $as_echo_n "checking for ber_init in -llber... " >&6; }
15373 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15374 $as_echo_n "(cached) " >&6
15376 ac_check_lib_save_LIBS
=$LIBS
15377 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15379 /* end confdefs.h. */
15381 /* Override any GCC internal prototype to avoid an error.
15382 Use char because int might match the return type of a GCC
15383 builtin and then its argument prototype would still apply. */
15391 return ber_init ();
15396 if ac_fn_c_try_link
"$LINENO"; then :
15397 ac_cv_lib_lber_ber_init
=yes
15399 ac_cv_lib_lber_ber_init
=no
15401 rm -f core conftest.err conftest.
$ac_objext \
15402 conftest
$ac_exeext conftest.
$ac_ext
15403 LIBS
=$ac_check_lib_save_LIBS
15405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15406 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15407 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15409 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15411 LDAP_LIBS
="-lldap_r -llber"
15418 ac_wine_check_funcs_save_LIBS
="$LIBS"
15419 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15421 ldap_count_references \
15422 ldap_first_reference \
15423 ldap_next_reference \
15424 ldap_parse_reference \
15425 ldap_parse_sort_control \
15426 ldap_parse_sortresponse_control \
15427 ldap_parse_vlv_control \
15428 ldap_parse_vlvresponse_control
15430 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15431 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15432 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15433 cat >>confdefs.h
<<_ACEOF
15434 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15440 LIBS
="$ac_wine_check_funcs_save_LIBS"
15442 if test "x$LDAP_LIBS" = "x"; then :
15443 case "x$with_ldap" in
15444 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15446 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15447 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15452 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15453 if ${wine_cv_one_arg_mkdir+:} false
; then :
15454 $as_echo_n "(cached) " >&6
15456 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15457 /* end confdefs.h. */
15458 #include <sys/stat.h>
15467 if ac_fn_c_try_compile
"$LINENO"; then :
15468 wine_cv_one_arg_mkdir
=yes
15470 wine_cv_one_arg_mkdir
=no
15472 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15475 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15476 if test "$wine_cv_one_arg_mkdir" = "yes"
15479 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15484 $as_echo_n "checking for sched_setaffinity... " >&6; }
15485 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15486 $as_echo_n "(cached) " >&6
15488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15489 /* end confdefs.h. */
15490 #define _GNU_SOURCE
15495 sched_setaffinity(0, 0, 0);
15500 if ac_fn_c_try_link
"$LINENO"; then :
15501 wine_cv_have_sched_setaffinity
=yes
15503 wine_cv_have_sched_setaffinity
=no
15505 rm -f core conftest.err conftest.
$ac_objext \
15506 conftest
$ac_exeext conftest.
$ac_ext
15508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15509 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15510 if test "$wine_cv_have_sched_setaffinity" = "yes"
15513 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15518 $as_echo_n "checking for fallocate... " >&6; }
15519 if ${wine_cv_have_fallocate+:} false
; then :
15520 $as_echo_n "(cached) " >&6
15522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15523 /* end confdefs.h. */
15524 #define _GNU_SOURCE
15529 fallocate(-1, 0, 0, 0);
15534 if ac_fn_c_try_link
"$LINENO"; then :
15535 wine_cv_have_fallocate
=yes
15537 wine_cv_have_fallocate
=no
15539 rm -f core conftest.err conftest.
$ac_objext \
15540 conftest
$ac_exeext conftest.
$ac_ext
15542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15543 $as_echo "$wine_cv_have_fallocate" >&6; }
15544 if test "$wine_cv_have_fallocate" = "yes"
15547 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15553 $as_echo_n "checking for inline... " >&6; }
15554 if ${ac_cv_c_inline+:} false
; then :
15555 $as_echo_n "(cached) " >&6
15558 for ac_kw
in inline __inline__ __inline
; do
15559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15560 /* end confdefs.h. */
15561 #ifndef __cplusplus
15563 static $ac_kw foo_t static_foo () {return 0; }
15564 $ac_kw foo_t foo () {return 0; }
15568 if ac_fn_c_try_compile
"$LINENO"; then :
15569 ac_cv_c_inline
=$ac_kw
15571 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15572 test "$ac_cv_c_inline" != no
&& break
15576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15577 $as_echo "$ac_cv_c_inline" >&6; }
15579 case $ac_cv_c_inline in
15582 case $ac_cv_c_inline in
15584 *) ac_val
=$ac_cv_c_inline;;
15586 cat >>confdefs.h
<<_ACEOF
15587 #ifndef __cplusplus
15588 #define inline $ac_val
15594 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15595 if test "x$ac_cv_type_mode_t" = xyes
; then :
15597 cat >>confdefs.h
<<_ACEOF
15598 #define HAVE_MODE_T 1
15603 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15604 if test "x$ac_cv_type_off_t" = xyes
; then :
15606 cat >>confdefs.h
<<_ACEOF
15607 #define HAVE_OFF_T 1
15612 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15613 if test "x$ac_cv_type_pid_t" = xyes
; then :
15615 cat >>confdefs.h
<<_ACEOF
15616 #define HAVE_PID_T 1
15621 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15622 if test "x$ac_cv_type_size_t" = xyes
; then :
15624 cat >>confdefs.h
<<_ACEOF
15625 #define HAVE_SIZE_T 1
15630 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15631 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15633 cat >>confdefs.h
<<_ACEOF
15634 #define HAVE_SSIZE_T 1
15639 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15640 if test "x$ac_cv_type_long_long" = xyes
; then :
15642 cat >>confdefs.h
<<_ACEOF
15643 #define HAVE_LONG_LONG 1
15648 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15649 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15651 cat >>confdefs.h
<<_ACEOF
15652 #define HAVE_FSBLKCNT_T 1
15657 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15658 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15660 cat >>confdefs.h
<<_ACEOF
15661 #define HAVE_FSFILCNT_T 1
15667 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15668 #include <signal.h>
15670 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15672 cat >>confdefs.h
<<_ACEOF
15673 #define HAVE_SIGSET_T 1
15679 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15681 if test "x$ac_cv_type_request_sense" = xyes
; then :
15683 cat >>confdefs.h
<<_ACEOF
15684 #define HAVE_REQUEST_SENSE 1
15691 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15692 #ifdef HAVE_SYS_SOCKET_H
15693 #include <sys/socket.h>
15695 #ifdef HAVE_SYS_SOCKETVAR_H
15696 #include <sys/socketvar.h>
15698 #ifdef HAVE_NET_ROUTE_H
15699 #include <net/route.h>
15701 #ifdef HAVE_NETINET_IN_H
15702 #include <netinet/in.h>
15704 #ifdef HAVE_NETINET_IN_SYSTM_H
15705 #include <netinet/in_systm.h>
15707 #ifdef HAVE_NETINET_IP_H
15708 #include <netinet/ip.h>
15710 #ifdef HAVE_NETINET_IN_PCB_H
15711 #include <netinet/in_pcb.h>
15714 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15716 cat >>confdefs.h
<<_ACEOF
15717 #define HAVE_STRUCT_XINPGEN 1
15724 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15727 #ifdef HAVE_SYS_LINK_H
15728 #include <sys/link.h>
15731 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15733 cat >>confdefs.h
<<_ACEOF
15734 #define HAVE_STRUCT_R_DEBUG 1
15739 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15742 #ifdef HAVE_SYS_LINK_H
15743 #include <sys/link.h>
15746 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15748 cat >>confdefs.h
<<_ACEOF
15749 #define HAVE_STRUCT_LINK_MAP 1
15756 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15757 #include <linux/input.h>
15760 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15762 cat >>confdefs.h
<<_ACEOF
15763 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15771 $as_echo_n "checking for sigaddset... " >&6; }
15772 if ${wine_cv_have_sigaddset+:} false
; then :
15773 $as_echo_n "(cached) " >&6
15775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15776 /* end confdefs.h. */
15777 #include <signal.h>
15781 sigset_t set; sigaddset(&set,SIGTERM);
15786 if ac_fn_c_try_link
"$LINENO"; then :
15787 wine_cv_have_sigaddset
=yes
15789 wine_cv_have_sigaddset
=no
15791 rm -f core conftest.err conftest.
$ac_objext \
15792 conftest
$ac_exeext conftest.
$ac_ext
15794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15795 $as_echo "$wine_cv_have_sigaddset" >&6; }
15796 if test "$wine_cv_have_sigaddset" = "yes"
15799 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15805 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15806 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15807 $as_echo_n "(cached) " >&6
15809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15810 /* end confdefs.h. */
15818 struct hostent *result;
15825 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15826 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15832 if ac_fn_c_try_link
"$LINENO"; then :
15833 wine_cv_linux_gethostbyname_r_6
=yes
15835 wine_cv_linux_gethostbyname_r_6
=no
15838 rm -f core conftest.err conftest.
$ac_objext \
15839 conftest
$ac_exeext conftest.
$ac_ext
15842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15843 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15844 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15847 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15851 if test "$ac_cv_header_linux_joystick_h" = "yes"
15853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15854 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15855 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15856 $as_echo_n "(cached) " >&6
15858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15859 /* end confdefs.h. */
15861 #include <sys/ioctl.h>
15862 #include <sys/types.h>
15863 #include <linux/joystick.h>
15865 struct js_event blub;
15866 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15867 #error "no 2.2 header"
15878 if ac_fn_c_try_compile
"$LINENO"; then :
15879 wine_cv_linux_joystick_22_api
=yes
15881 wine_cv_linux_joystick_22_api
=no
15883 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15887 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15888 if test "$wine_cv_linux_joystick_22_api" = "yes"
15891 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15897 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15898 #ifdef HAVE_SYS_PARAM_H
15899 # include <sys/param.h>
15901 #ifdef HAVE_SYS_MOUNT_H
15902 # include <sys/mount.h>
15904 #ifdef HAVE_SYS_VFS_H
15905 # include <sys/vfs.h>
15907 #ifdef HAVE_SYS_STATFS_H
15908 # include <sys/statfs.h>
15911 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15913 cat >>confdefs.h
<<_ACEOF
15914 #define HAVE_STRUCT_STATFS_F_BFREE 1
15919 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15920 #ifdef HAVE_SYS_PARAM_H
15921 # include <sys/param.h>
15923 #ifdef HAVE_SYS_MOUNT_H
15924 # include <sys/mount.h>
15926 #ifdef HAVE_SYS_VFS_H
15927 # include <sys/vfs.h>
15929 #ifdef HAVE_SYS_STATFS_H
15930 # include <sys/statfs.h>
15933 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15935 cat >>confdefs.h
<<_ACEOF
15936 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15941 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15942 #ifdef HAVE_SYS_PARAM_H
15943 # include <sys/param.h>
15945 #ifdef HAVE_SYS_MOUNT_H
15946 # include <sys/mount.h>
15948 #ifdef HAVE_SYS_VFS_H
15949 # include <sys/vfs.h>
15951 #ifdef HAVE_SYS_STATFS_H
15952 # include <sys/statfs.h>
15955 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15957 cat >>confdefs.h
<<_ACEOF
15958 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15963 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15964 #ifdef HAVE_SYS_PARAM_H
15965 # include <sys/param.h>
15967 #ifdef HAVE_SYS_MOUNT_H
15968 # include <sys/mount.h>
15970 #ifdef HAVE_SYS_VFS_H
15971 # include <sys/vfs.h>
15973 #ifdef HAVE_SYS_STATFS_H
15974 # include <sys/statfs.h>
15977 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15979 cat >>confdefs.h
<<_ACEOF
15980 #define HAVE_STRUCT_STATFS_F_FFREE 1
15985 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15986 #ifdef HAVE_SYS_PARAM_H
15987 # include <sys/param.h>
15989 #ifdef HAVE_SYS_MOUNT_H
15990 # include <sys/mount.h>
15992 #ifdef HAVE_SYS_VFS_H
15993 # include <sys/vfs.h>
15995 #ifdef HAVE_SYS_STATFS_H
15996 # include <sys/statfs.h>
15999 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
16001 cat >>confdefs.h
<<_ACEOF
16002 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16007 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16008 #ifdef HAVE_SYS_PARAM_H
16009 # include <sys/param.h>
16011 #ifdef HAVE_SYS_MOUNT_H
16012 # include <sys/mount.h>
16014 #ifdef HAVE_SYS_VFS_H
16015 # include <sys/vfs.h>
16017 #ifdef HAVE_SYS_STATFS_H
16018 # include <sys/statfs.h>
16021 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
16023 cat >>confdefs.h
<<_ACEOF
16024 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16031 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16032 #include <sys/statvfs.h>
16035 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
16037 cat >>confdefs.h
<<_ACEOF
16038 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16045 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16046 #include <dirent.h>
16049 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
16051 cat >>confdefs.h
<<_ACEOF
16052 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16059 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16060 #ifdef HAVE_SYS_SOCKET_H
16061 # include <sys/socket.h>
16063 #ifdef HAVE_SYS_UN_H
16064 # include <sys/un.h>
16067 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
16069 cat >>confdefs.h
<<_ACEOF
16070 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16075 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16076 #ifdef HAVE_SYS_SOCKET_H
16077 # include <sys/socket.h>
16079 #ifdef HAVE_SYS_UN_H
16080 # include <sys/un.h>
16083 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
16085 cat >>confdefs.h
<<_ACEOF
16086 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16091 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16092 #ifdef HAVE_SYS_SOCKET_H
16093 # include <sys/socket.h>
16095 #ifdef HAVE_SYS_UN_H
16096 # include <sys/un.h>
16099 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
16101 cat >>confdefs.h
<<_ACEOF
16102 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16109 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16110 #ifdef HAVE_SCSI_SG_H
16111 #include <scsi/sg.h>
16114 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
16116 cat >>confdefs.h
<<_ACEOF
16117 #define HAVE_SCSIREQ_T_CMD 1
16122 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>
16123 #ifdef HAVE_SCSI_SG_H
16124 #include <scsi/sg.h>
16127 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
16129 cat >>confdefs.h
<<_ACEOF
16130 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16137 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16139 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
16141 cat >>confdefs.h
<<_ACEOF
16142 #define HAVE_SIGINFO_T_SI_FD 1
16149 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16150 #ifdef HAVE_SYS_MTIO_H
16151 #include <sys/mtio.h>
16154 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
16156 cat >>confdefs.h
<<_ACEOF
16157 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16162 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16163 #ifdef HAVE_SYS_MTIO_H
16164 #include <sys/mtio.h>
16167 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
16169 cat >>confdefs.h
<<_ACEOF
16170 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16175 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16176 #ifdef HAVE_SYS_MTIO_H
16177 #include <sys/mtio.h>
16180 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
16182 cat >>confdefs.h
<<_ACEOF
16183 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16190 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16191 #include <getopt.h>
16194 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
16196 cat >>confdefs.h
<<_ACEOF
16197 #define HAVE_STRUCT_OPTION_NAME 1
16204 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16205 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
16207 cat >>confdefs.h
<<_ACEOF
16208 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16213 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16214 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
16216 cat >>confdefs.h
<<_ACEOF
16217 #define HAVE_STRUCT_STAT_ST_MTIM 1
16222 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16223 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
16225 cat >>confdefs.h
<<_ACEOF
16226 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16231 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16232 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
16234 cat >>confdefs.h
<<_ACEOF
16235 #define HAVE_STRUCT_STAT_ST_CTIM 1
16240 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16241 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
16243 cat >>confdefs.h
<<_ACEOF
16244 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16249 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16250 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
16252 cat >>confdefs.h
<<_ACEOF
16253 #define HAVE_STRUCT_STAT_ST_ATIM 1
16258 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16259 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
16261 cat >>confdefs.h
<<_ACEOF
16262 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16267 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16268 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
16270 cat >>confdefs.h
<<_ACEOF
16271 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16276 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16277 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
16279 cat >>confdefs.h
<<_ACEOF
16280 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16285 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16286 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
16288 cat >>confdefs.h
<<_ACEOF
16289 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16294 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16295 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
16297 cat >>confdefs.h
<<_ACEOF
16298 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16303 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16304 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
16306 cat >>confdefs.h
<<_ACEOF
16307 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16314 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
16315 #include <sys/types.h>
16317 #ifdef HAVE_NETINET_IN_H
16318 #include <netinet/in.h>
16321 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
16323 cat >>confdefs.h
<<_ACEOF
16324 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16331 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16332 #include <resolv.h>
16335 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
16337 cat >>confdefs.h
<<_ACEOF
16338 #define HAVE_STRUCT___RES_STATE 1
16345 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
16346 #include <resolv.h>
16349 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16351 cat >>confdefs.h
<<_ACEOF
16352 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16359 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16360 #include <sys/types.h>
16362 #ifdef HAVE_NETINET_IN_H
16363 # include <netinet/in.h>
16365 #ifdef HAVE_ARPA_NAMESER_H
16366 # include <arpa/nameser.h>
16369 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16371 cat >>confdefs.h
<<_ACEOF
16372 #define HAVE_NS_MSG__MSG_PTR 1
16379 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16380 #include <sys/types.h>
16382 #ifdef HAVE_NETINET_IP_H
16383 #include <netinet/ip.h>
16385 #ifdef HAVE_NETINET_IP_ICMP_H
16386 #include <netinet/ip_icmp.h>
16388 #ifdef HAVE_NETINET_ICMP_VAR_H
16389 #include <netinet/icmp_var.h>
16392 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16394 cat >>confdefs.h
<<_ACEOF
16395 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16402 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16403 #include <sys/types.h>
16405 #ifdef HAVE_ALIAS_H
16408 #ifdef HAVE_SYS_SOCKET_H
16409 #include <sys/socket.h>
16411 #ifdef HAVE_SYS_SOCKETVAR_H
16412 #include <sys/socketvar.h>
16414 #ifdef HAVE_SYS_TIMEOUT_H
16415 #include <sys/timeout.h>
16417 #ifdef HAVE_NETINET_IN_H
16418 #include <netinet/in.h>
16420 #ifdef HAVE_NETINET_IN_SYSTM_H
16421 #include <netinet/in_systm.h>
16423 #ifdef HAVE_NETINET_IP_H
16424 #include <netinet/ip.h>
16426 #ifdef HAVE_NETINET_IP_VAR_H
16427 #include <netinet/ip_var.h>
16429 #ifdef HAVE_NETINET_IP_ICMP_H
16430 #include <netinet/ip_icmp.h>
16432 #ifdef HAVE_NETINET_ICMP_VAR_H
16433 #include <netinet/icmp_var.h>
16436 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16438 cat >>confdefs.h
<<_ACEOF
16439 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16446 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16447 #include <sys/types.h>
16449 #ifdef HAVE_SYS_SOCKETVAR_H
16450 #include <sys/socketvar.h>
16452 #ifdef HAVE_NETINET_IN_H
16453 #include <netinet/in.h>
16455 #ifdef HAVE_NETINET_IP_VAR_H
16456 #include <netinet/ip_var.h>
16459 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16461 cat >>confdefs.h
<<_ACEOF
16462 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16469 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
16470 #include <netinet/ip_var.h>
16473 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16475 cat >>confdefs.h
<<_ACEOF
16476 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16483 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16484 #include <sys/types.h>
16486 #ifdef HAVE_SYS_SOCKETVAR_H
16487 #include <sys/socketvar.h>
16489 #ifdef HAVE_NETINET_IN_H
16490 #include <netinet/in.h>
16492 #ifdef HAVE_NETINET_TCP_H
16493 #include <netinet/tcp.h>
16495 #ifdef HAVE_NETINET_TCP_VAR_H
16496 #include <netinet/tcp_var.h>
16499 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16501 cat >>confdefs.h
<<_ACEOF
16502 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16509 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
16510 #include <netinet/tcp_var.h>
16513 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16515 cat >>confdefs.h
<<_ACEOF
16516 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16523 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16524 #include <sys/types.h>
16526 #ifdef HAVE_NETINET_IN_H
16527 #include <netinet/in.h>
16529 #ifdef HAVE_NETINET_IP_VAR_H
16530 #include <netinet/ip_var.h>
16532 #ifdef HAVE_NETINET_UDP_H
16533 #include <netinet/udp.h>
16535 #ifdef HAVE_NETINET_UDP_VAR_H
16536 #include <netinet/udp_var.h>
16539 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16541 cat >>confdefs.h
<<_ACEOF
16542 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16549 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16550 #include <sys/types.h>
16552 #ifdef HAVE_NET_IF_H
16553 # include <net/if.h>
16556 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16558 cat >>confdefs.h
<<_ACEOF
16559 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16567 $as_echo_n "checking for timezone variable... " >&6; }
16568 if ${ac_cv_have_timezone+:} false
; then :
16569 $as_echo_n "(cached) " >&6
16571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16572 /* end confdefs.h. */
16582 if ac_fn_c_try_link
"$LINENO"; then :
16583 ac_cv_have_timezone
="yes"
16585 ac_cv_have_timezone
="no"
16587 rm -f core conftest.err conftest.
$ac_objext \
16588 conftest
$ac_exeext conftest.
$ac_ext
16590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16591 $as_echo "$ac_cv_have_timezone" >&6; }
16592 if test "$ac_cv_have_timezone" = "yes"
16595 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16599 $as_echo_n "checking for daylight variable... " >&6; }
16600 if ${ac_cv_have_daylight+:} false
; then :
16601 $as_echo_n "(cached) " >&6
16603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16604 /* end confdefs.h. */
16614 if ac_fn_c_try_link
"$LINENO"; then :
16615 ac_cv_have_daylight
="yes"
16617 ac_cv_have_daylight
="no"
16619 rm -f core conftest.err conftest.
$ac_objext \
16620 conftest
$ac_exeext conftest.
$ac_ext
16622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16623 $as_echo "$ac_cv_have_daylight" >&6; }
16624 if test "$ac_cv_have_daylight" = "yes"
16627 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16631 ac_save_LIBS
="$LIBS"
16633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16634 $as_echo_n "checking for isfinite... " >&6; }
16635 if ${ac_cv_have_isfinite+:} false
; then :
16636 $as_echo_n "(cached) " >&6
16638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16639 /* end confdefs.h. */
16640 #define _GNU_SOURCE
16645 float f = 0.0; return isfinite(f)
16650 if ac_fn_c_try_link
"$LINENO"; then :
16651 ac_cv_have_isfinite
="yes"
16653 ac_cv_have_isfinite
="no"
16655 rm -f core conftest.err conftest.
$ac_objext \
16656 conftest
$ac_exeext conftest.
$ac_ext
16658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16659 $as_echo "$ac_cv_have_isfinite" >&6; }
16660 if test "$ac_cv_have_isfinite" = "yes"
16663 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16668 $as_echo_n "checking for isinf... " >&6; }
16669 if ${ac_cv_have_isinf+:} false
; then :
16670 $as_echo_n "(cached) " >&6
16672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16673 /* end confdefs.h. */
16678 float f = 0.0; return isinf(f)
16683 if ac_fn_c_try_link
"$LINENO"; then :
16684 ac_cv_have_isinf
="yes"
16686 ac_cv_have_isinf
="no"
16688 rm -f core conftest.err conftest.
$ac_objext \
16689 conftest
$ac_exeext conftest.
$ac_ext
16691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16692 $as_echo "$ac_cv_have_isinf" >&6; }
16693 if test "$ac_cv_have_isinf" = "yes"
16696 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16701 $as_echo_n "checking for isnan... " >&6; }
16702 if ${ac_cv_have_isnan+:} false
; then :
16703 $as_echo_n "(cached) " >&6
16705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16706 /* end confdefs.h. */
16711 float f = 0.0; return isnan(f)
16716 if ac_fn_c_try_link
"$LINENO"; then :
16717 ac_cv_have_isnan
="yes"
16719 ac_cv_have_isnan
="no"
16721 rm -f core conftest.err conftest.
$ac_objext \
16722 conftest
$ac_exeext conftest.
$ac_ext
16724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16725 $as_echo "$ac_cv_have_isnan" >&6; }
16726 if test "$ac_cv_have_isnan" = "yes"
16729 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16758 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16759 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16760 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16761 cat >>confdefs.h
<<_ACEOF
16762 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16768 LIBS
="$ac_save_LIBS"
16770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16771 $as_echo_n "checking for __builtin_clz... " >&6; }
16772 if ${ac_cv_have___builtin_clz+:} false
; then :
16773 $as_echo_n "(cached) " >&6
16775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16776 /* end confdefs.h. */
16781 return __builtin_clz(1)
16786 if ac_fn_c_try_link
"$LINENO"; then :
16787 ac_cv_have___builtin_clz
="yes"
16789 ac_cv_have___builtin_clz
="no"
16791 rm -f core conftest.err conftest.
$ac_objext \
16792 conftest
$ac_exeext conftest.
$ac_ext
16794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16795 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16796 if test "$ac_cv_have___builtin_clz" = "yes"
16799 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16805 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16806 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16807 if ${ac_cv_cpp_def___i386__+:} false
; then :
16808 $as_echo_n "(cached) " >&6
16810 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16811 /* end confdefs.h. */
16816 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16817 $EGREP "yes" >/dev
/null
2>&1; then :
16818 ac_cv_cpp_def___i386__
=yes
16820 ac_cv_cpp_def___i386__
=no
16825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16826 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16827 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16828 CFLAGS
="$CFLAGS -D__i386__"
16829 LINTFLAGS
="$LINTFLAGS -D__i386__"
16831 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16832 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16833 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16834 $as_echo_n "(cached) " >&6
16836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16837 /* end confdefs.h. */
16842 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16843 $EGREP "yes" >/dev
/null
2>&1; then :
16844 ac_cv_cpp_def___x86_64__
=yes
16846 ac_cv_cpp_def___x86_64__
=no
16851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16852 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16853 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16854 CFLAGS
="$CFLAGS -D__x86_64__"
16855 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16857 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16858 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16859 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16860 $as_echo_n "(cached) " >&6
16862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16863 /* end confdefs.h. */
16864 #ifndef __sparc64__
16868 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16869 $EGREP "yes" >/dev
/null
2>&1; then :
16870 ac_cv_cpp_def___sparc64__
=yes
16872 ac_cv_cpp_def___sparc64__
=no
16877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16878 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16879 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16880 CFLAGS
="$CFLAGS -D__sparc64__"
16881 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16883 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16884 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16885 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16886 $as_echo_n "(cached) " >&6
16888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16889 /* end confdefs.h. */
16894 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16895 $EGREP "yes" >/dev
/null
2>&1; then :
16896 ac_cv_cpp_def___sparc__
=yes
16898 ac_cv_cpp_def___sparc__
=no
16903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16904 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16905 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16906 CFLAGS
="$CFLAGS -D__sparc__"
16907 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16909 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16910 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16911 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16912 $as_echo_n "(cached) " >&6
16914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16915 /* end confdefs.h. */
16916 #ifndef __powerpc64__
16920 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16921 $EGREP "yes" >/dev
/null
2>&1; then :
16922 ac_cv_cpp_def___powerpc64__
=yes
16924 ac_cv_cpp_def___powerpc64__
=no
16929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16930 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16931 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
16932 CFLAGS
="$CFLAGS -D__powerpc64__"
16933 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16935 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16936 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16937 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16938 $as_echo_n "(cached) " >&6
16940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16941 /* end confdefs.h. */
16942 #ifndef __powerpc__
16946 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16947 $EGREP "yes" >/dev
/null
2>&1; then :
16948 ac_cv_cpp_def___powerpc__
=yes
16950 ac_cv_cpp_def___powerpc__
=no
16955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16956 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16957 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
16958 CFLAGS
="$CFLAGS -D__powerpc__"
16959 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16961 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16962 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16963 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16964 $as_echo_n "(cached) " >&6
16966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16967 /* end confdefs.h. */
16968 #ifndef __aarch64__
16972 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16973 $EGREP "yes" >/dev
/null
2>&1; then :
16974 ac_cv_cpp_def___aarch64__
=yes
16976 ac_cv_cpp_def___aarch64__
=no
16981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16982 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16983 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
16984 CFLAGS
="$CFLAGS -D__aarch64__"
16985 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16987 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16988 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16989 if ${ac_cv_cpp_def___arm__+:} false
; then :
16990 $as_echo_n "(cached) " >&6
16992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16993 /* end confdefs.h. */
16998 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16999 $EGREP "yes" >/dev
/null
2>&1; then :
17000 ac_cv_cpp_def___arm__
=yes
17002 ac_cv_cpp_def___arm__
=no
17007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17008 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17009 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
17010 CFLAGS
="$CFLAGS -D__arm__"
17011 LINTFLAGS
="$LINTFLAGS -D__arm__"
17015 case $host_vendor in
17016 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17017 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17018 if ${ac_cv_cpp_def___sun__+:} 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___sun__
=yes
17031 ac_cv_cpp_def___sun__
=no
17036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17037 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17038 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
17039 CFLAGS
="$CFLAGS -D__sun__"
17040 LINTFLAGS
="$LINTFLAGS -D__sun__"
17048 ac_config_commands
="$ac_config_commands include/stamp-h"
17050 $as_echo_n "creating Makefile rules..." >&6
17052 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
17053 SOCKET_LIBS = $SOCKET_LIBS
17054 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17055 IOKIT_LIBS = $IOKIT_LIBS
17056 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17057 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17058 CORESERVICES_LIBS = $CORESERVICES_LIBS
17059 APPKIT_LIBS = $APPKIT_LIBS
17060 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17061 SECURITY_LIBS = $SECURITY_LIBS
17062 COREAUDIO_LIBS = $COREAUDIO_LIBS
17063 OPENAL_LIBS = $OPENAL_LIBS
17064 OPENCL_LIBS = $OPENCL_LIBS
17065 QUICKTIME_LIBS = $QUICKTIME_LIBS
17066 CARBON_LIBS = $CARBON_LIBS
17067 PTHREAD_LIBS = $PTHREAD_LIBS
17068 X_CFLAGS = $X_CFLAGS
17069 X_PRE_LIBS = $X_PRE_LIBS
17071 X_EXTRA_LIBS = $X_EXTRA_LIBS
17072 XML2_CFLAGS = $XML2_CFLAGS
17073 XML2_LIBS = $XML2_LIBS
17074 XSLT_CFLAGS = $XSLT_CFLAGS
17075 XSLT_LIBS = $XSLT_LIBS
17076 DBUS_CFLAGS = $DBUS_CFLAGS
17077 DBUS_LIBS = $DBUS_LIBS
17078 HAL_CFLAGS = $HAL_CFLAGS
17079 HAL_LIBS = $HAL_LIBS
17080 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17081 GNUTLS_LIBS = $GNUTLS_LIBS
17082 SANE_CFLAGS = $SANE_CFLAGS
17083 SANE_LIBS = $SANE_LIBS
17084 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17085 GPHOTO2_LIBS = $GPHOTO2_LIBS
17086 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17087 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17088 RESOLV_LIBS = $RESOLV_LIBS
17089 LCMS2_CFLAGS = $LCMS2_CFLAGS
17090 LCMS2_LIBS = $LCMS2_LIBS
17091 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17092 FREETYPE_LIBS = $FREETYPE_LIBS
17094 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17095 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17096 GSTREAMER_LIBS = $GSTREAMER_LIBS
17097 ALSA_LIBS = $ALSA_LIBS
17098 OSS4_CFLAGS = $OSS4_CFLAGS
17099 CAPI20_CFLAGS = $CAPI20_CFLAGS
17100 CAPI20_LIBS = $CAPI20_LIBS
17101 CUPS_CFLAGS = $CUPS_CFLAGS
17102 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17103 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17104 JPEG_CFLAGS = $JPEG_CFLAGS
17105 JPEG_LIBS = $JPEG_LIBS
17106 PNG_CFLAGS = $PNG_CFLAGS
17107 PNG_LIBS = $PNG_LIBS
17108 TIFF_CFLAGS = $TIFF_CFLAGS
17109 TIFF_LIBS = $TIFF_LIBS
17110 MPG123_CFLAGS = $MPG123_CFLAGS
17111 MPG123_LIBS = $MPG123_LIBS
17112 KSTAT_LIBS = $KSTAT_LIBS
17113 PROCSTAT_LIBS = $PROCSTAT_LIBS
17115 POLL_LIBS = $POLL_LIBS
17117 LDAP_LIBS = $LDAP_LIBS
17122 wine_fn_append_rule
"
17123 # Rules automatically generated by configure
17125 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17130 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
17131 @./config.status Make.tmp Makefile"
17133 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
17134 .gitignore: config.status
17135 @./config.status .gitignore"
17137 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
17138 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17140 if test "x$enable_fonts" != xno
; then
17141 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17142 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17143 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17144 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17145 ac_config_links
="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17146 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf fonts
/wingding.ttf
17148 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17149 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
17150 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
17151 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
17152 ac_config_links
="$ac_config_links wine:tools/winewrapper"
17153 wine_fn_config_symlink wine
17154 if test "x$enable_win64" != xno
; then
17155 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
17156 wine_fn_config_symlink wine64
17159 wine_fn_config_dll acledit enable_acledit
17160 wine_fn_config_dll aclui enable_aclui implib
17161 wine_fn_config_dll activeds enable_activeds implib
17162 wine_fn_config_dll actxprxy enable_actxprxy clean
17163 wine_fn_config_lib adsiid
17164 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
17165 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
17166 wine_fn_config_dll advpack enable_advpack implib
17167 wine_fn_config_test dlls
/advpack
/tests advpack_test
17168 wine_fn_config_dll amstream enable_amstream clean
17169 wine_fn_config_test dlls
/amstream
/tests amstream_test
17170 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17171 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17172 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17173 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17174 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17175 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17176 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17177 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17178 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17179 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17180 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17181 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17182 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17183 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17184 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17185 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17186 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17187 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17188 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17189 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17190 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17191 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17192 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17193 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17194 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17195 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17196 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17197 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17198 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17199 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17200 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17201 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17202 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17203 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17204 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17205 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17206 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17207 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17208 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17209 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17210 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17211 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17212 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17213 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17214 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17215 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17216 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17217 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17218 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17219 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17220 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17221 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17222 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17223 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17224 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17225 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17226 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17227 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17228 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17229 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17230 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17231 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17232 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17233 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17234 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17235 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17236 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17237 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17238 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17239 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17240 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17241 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17242 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17243 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17244 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17245 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17246 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17247 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17248 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17249 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17250 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17251 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17252 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17253 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17254 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17255 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17256 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17257 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17258 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17259 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17260 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17261 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17262 wine_fn_config_dll apphelp enable_apphelp
17263 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
17264 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17265 wine_fn_config_dll atl enable_atl clean
,implib
17266 wine_fn_config_test dlls
/atl
/tests atl_test
17267 wine_fn_config_dll atl100 enable_atl100 clean
,implib
17268 wine_fn_config_test dlls
/atl100
/tests atl100_test
17269 wine_fn_config_dll atl110 enable_atl110 clean
17270 wine_fn_config_dll atl80 enable_atl80 clean
,implib
17271 wine_fn_config_test dlls
/atl80
/tests atl80_test
17272 wine_fn_config_dll atl90 enable_atl90 clean
17273 wine_fn_config_dll authz enable_authz
17274 wine_fn_config_dll avicap32 enable_avicap32 implib
17275 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
17276 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
17277 wine_fn_config_dll avifile.dll16 enable_win16
17278 wine_fn_config_dll avrt enable_avrt implib
17279 wine_fn_config_dll bcrypt enable_bcrypt
17280 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
17281 wine_fn_config_dll browseui enable_browseui clean
,po
17282 wine_fn_config_test dlls
/browseui
/tests browseui_test
17283 wine_fn_config_dll cabinet enable_cabinet implib
17284 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
17285 wine_fn_config_dll capi2032 enable_capi2032 implib
17286 wine_fn_config_dll cards enable_cards implib
17287 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17288 wine_fn_config_dll clusapi enable_clusapi implib
17289 wine_fn_config_dll combase enable_combase
17290 wine_fn_config_test dlls
/combase
/tests combase_test
17291 wine_fn_config_dll comcat enable_comcat
17292 wine_fn_config_test dlls
/comcat
/tests comcat_test
17293 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
17294 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
17295 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
17296 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
17297 wine_fn_config_dll
comm.drv16 enable_win16
17298 wine_fn_config_dll commdlg.dll16 enable_win16
17299 wine_fn_config_dll compobj.dll16 enable_win16
17300 wine_fn_config_dll compstui enable_compstui implib
17301 wine_fn_config_dll comsvcs enable_comsvcs implib
17302 wine_fn_config_dll connect enable_connect
17303 wine_fn_config_dll credui enable_credui implib
,po
17304 wine_fn_config_test dlls
/credui
/tests credui_test
17305 wine_fn_config_dll crtdll enable_crtdll implib
17306 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
17307 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
17308 wine_fn_config_dll cryptdlg enable_cryptdlg po
17309 wine_fn_config_dll cryptdll enable_cryptdll implib
17310 wine_fn_config_dll cryptext enable_cryptext
17311 wine_fn_config_dll cryptnet enable_cryptnet implib
17312 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
17313 wine_fn_config_dll cryptui enable_cryptui implib
,po
17314 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
17315 wine_fn_config_dll ctapi32 enable_ctapi32
17316 wine_fn_config_dll ctl3d.dll16 enable_win16
17317 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17318 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17319 wine_fn_config_dll d2d1 enable_d2d1 implib
17320 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
17321 wine_fn_config_dll d3d10 enable_d3d10 implib
17322 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
17323 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17324 wine_fn_config_dll d3d10core enable_d3d10core implib
17325 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
17326 wine_fn_config_dll d3d11 enable_d3d11 implib
17327 wine_fn_config_test dlls
/d3d11
/tests d3d11_test
17328 wine_fn_config_dll d3d8 enable_d3d8 implib
17329 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
17330 wine_fn_config_dll d3d9 enable_d3d9 implib
17331 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
17332 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17333 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17334 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17335 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17336 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17337 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17338 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17339 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17340 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17341 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17342 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17343 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
17344 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17345 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17346 wine_fn_config_dll d3dim enable_d3dim implib
17347 wine_fn_config_dll d3drm enable_d3drm implib
17348 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
17349 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17350 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17351 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17352 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17353 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17354 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17355 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17356 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17357 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17358 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17359 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17360 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17361 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17362 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17363 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17364 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17365 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17366 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17367 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17368 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17369 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17370 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17371 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17372 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17373 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17374 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17375 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
17376 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17377 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17378 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17379 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17380 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17381 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17382 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17383 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
17384 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
17385 wine_fn_config_dll davclnt enable_davclnt
17386 wine_fn_config_dll dbgeng enable_dbgeng implib
17387 wine_fn_config_dll dbghelp enable_dbghelp implib
17388 wine_fn_config_dll dciman32 enable_dciman32 implib
17389 wine_fn_config_dll ddeml.dll16 enable_win16
17390 wine_fn_config_dll ddraw enable_ddraw clean
,implib
17391 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
17392 wine_fn_config_dll ddrawex enable_ddrawex clean
17393 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
17394 wine_fn_config_dll devenum enable_devenum clean
,po
17395 wine_fn_config_test dlls
/devenum
/tests devenum_test
17396 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17397 wine_fn_config_dll difxapi enable_difxapi
17398 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
17399 wine_fn_config_test dlls
/dinput
/tests dinput_test
17400 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
17401 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
17402 wine_fn_config_dll dispdib.dll16 enable_win16
17403 wine_fn_config_dll dispex enable_dispex clean
17404 wine_fn_config_test dlls
/dispex
/tests dispex_test
17405 wine_fn_config_dll display.drv16 enable_win16
17406 wine_fn_config_dll dmband enable_dmband clean
17407 wine_fn_config_test dlls
/dmband
/tests dmband_test
17408 wine_fn_config_dll dmcompos enable_dmcompos clean
17409 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
17410 wine_fn_config_dll dmime enable_dmime clean
17411 wine_fn_config_test dlls
/dmime
/tests dmime_test
17412 wine_fn_config_dll dmloader enable_dmloader clean
17413 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
17414 wine_fn_config_dll dmscript enable_dmscript clean
17415 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
17416 wine_fn_config_dll dmstyle enable_dmstyle clean
17417 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
17418 wine_fn_config_dll dmsynth enable_dmsynth clean
17419 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
17420 wine_fn_config_dll dmusic enable_dmusic clean
17421 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
17422 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17423 wine_fn_config_dll dnsapi enable_dnsapi implib
17424 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
17425 wine_fn_config_dll dplay enable_dplay implib
17426 wine_fn_config_dll dplayx enable_dplayx clean
,implib
17427 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
17428 wine_fn_config_dll dpnaddr enable_dpnaddr
17429 wine_fn_config_dll dpnet enable_dpnet clean
,implib
17430 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
17431 wine_fn_config_dll dpnhpast enable_dpnhpast
17432 wine_fn_config_dll dpnlobby enable_dpnlobby
17433 wine_fn_config_dll dpvoice enable_dpvoice clean
17434 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
17435 wine_fn_config_dll dpwsockx enable_dpwsockx
17436 wine_fn_config_dll drmclien enable_drmclien
17437 wine_fn_config_dll dsound enable_dsound clean
,implib
17438 wine_fn_config_test dlls
/dsound
/tests dsound_test
17439 wine_fn_config_dll dssenh enable_dssenh
17440 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
17441 wine_fn_config_dll dswave enable_dswave clean
17442 wine_fn_config_test dlls
/dswave
/tests dswave_test
17443 wine_fn_config_dll dwmapi enable_dwmapi implib
17444 wine_fn_config_dll dwrite enable_dwrite implib
17445 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
17446 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
17447 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
17448 wine_fn_config_lib dxerr8
17449 wine_fn_config_lib dxerr9
17450 wine_fn_config_dll dxgi enable_dxgi implib
17451 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
17452 wine_fn_config_lib dxguid
17453 wine_fn_config_dll dxva2 enable_dxva2
17454 wine_fn_config_dll esent enable_esent
17455 wine_fn_config_dll evr enable_evr
17456 wine_fn_config_dll explorerframe enable_explorerframe clean
17457 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17458 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17459 wine_fn_config_dll faultrep enable_faultrep implib
17460 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17461 wine_fn_config_dll fltlib enable_fltlib
17462 wine_fn_config_dll fntcache enable_fntcache
17463 wine_fn_config_dll fontsub enable_fontsub
17464 wine_fn_config_dll fusion enable_fusion
17465 wine_fn_config_test dlls
/fusion
/tests fusion_test
17466 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17467 wine_fn_config_dll gameux enable_gameux clean
17468 wine_fn_config_test dlls
/gameux
/tests gameux_test
17469 wine_fn_config_dll gdi.exe16 enable_win16
17470 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
17471 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
17472 wine_fn_config_dll gdiplus enable_gdiplus implib
17473 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
17474 wine_fn_config_dll glu32 enable_glu32 implib
17475 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17476 wine_fn_config_dll gpkcsp enable_gpkcsp
17477 wine_fn_config_dll hal enable_hal
17478 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
17479 wine_fn_config_dll hid enable_hid implib
17480 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17481 wine_fn_config_dll hlink enable_hlink clean
,implib
17482 wine_fn_config_test dlls
/hlink
/tests hlink_test
17483 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17484 wine_fn_config_dll httpapi enable_httpapi
17485 wine_fn_config_dll iccvid enable_iccvid po
17486 wine_fn_config_dll icmp enable_icmp
17487 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
17488 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17489 wine_fn_config_dll ifsmgr.vxd enable_win16
17490 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17491 wine_fn_config_dll imagehlp enable_imagehlp implib
17492 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17493 wine_fn_config_dll imm.dll16 enable_win16
17494 wine_fn_config_dll imm32 enable_imm32 implib
17495 wine_fn_config_test dlls
/imm32
/tests imm32_test
17496 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17497 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17498 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17499 wine_fn_config_dll inetmib1 enable_inetmib1
17500 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17501 wine_fn_config_dll infosoft enable_infosoft clean
17502 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17503 wine_fn_config_dll initpki enable_initpki
17504 wine_fn_config_dll inkobj enable_inkobj
17505 wine_fn_config_dll inseng enable_inseng clean
17506 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17507 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17508 wine_fn_config_dll itircl enable_itircl
17509 wine_fn_config_dll itss enable_itss clean
17510 wine_fn_config_test dlls
/itss
/tests itss_test
17511 wine_fn_config_dll joy.cpl enable_joy_cpl po
17512 wine_fn_config_dll jscript enable_jscript clean
,po
17513 wine_fn_config_test dlls
/jscript
/tests jscript_test
17514 wine_fn_config_dll jsproxy enable_jsproxy implib
17515 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
17516 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17517 wine_fn_config_dll keyboard.drv16 enable_win16
17518 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17519 wine_fn_config_dll ksuser enable_ksuser
17520 wine_fn_config_dll ktmw32 enable_ktmw32
17521 wine_fn_config_dll loadperf enable_loadperf implib
17522 wine_fn_config_dll localspl enable_localspl po
17523 wine_fn_config_test dlls
/localspl
/tests localspl_test
17524 wine_fn_config_dll localui enable_localui po
17525 wine_fn_config_test dlls
/localui
/tests localui_test
17526 wine_fn_config_dll lz32 enable_lz32 implib
17527 wine_fn_config_test dlls
/lz32
/tests lz32_test
17528 wine_fn_config_dll lzexpand.dll16 enable_win16
17529 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
17530 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17531 wine_fn_config_dll mapistub enable_mapistub
17532 wine_fn_config_dll mciavi32 enable_mciavi32
17533 wine_fn_config_dll mcicda enable_mcicda
17534 wine_fn_config_dll mciqtz32 enable_mciqtz32
17535 wine_fn_config_dll mciseq enable_mciseq
17536 wine_fn_config_dll mciwave enable_mciwave
17537 wine_fn_config_dll mf enable_mf
17538 wine_fn_config_dll mfplat enable_mfplat
17539 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17540 wine_fn_config_dll mgmtapi enable_mgmtapi
17541 wine_fn_config_dll midimap enable_midimap
17542 wine_fn_config_dll mlang enable_mlang clean
,implib
17543 wine_fn_config_test dlls
/mlang
/tests mlang_test
17544 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17545 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
17546 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17547 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
17548 wine_fn_config_dll mmdevldr.vxd enable_win16
17549 wine_fn_config_dll mmsystem.dll16 enable_win16
17550 wine_fn_config_dll monodebg.vxd enable_win16
17551 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17552 wine_fn_config_dll mouse.drv16 enable_win16
17553 wine_fn_config_dll mpr enable_mpr implib
,po
17554 wine_fn_config_test dlls
/mpr
/tests mpr_test
17555 wine_fn_config_dll mprapi enable_mprapi implib
17556 wine_fn_config_dll msacm.dll16 enable_win16
17557 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17558 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
17559 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
17560 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17561 wine_fn_config_dll msasn1 enable_msasn1 implib
17562 wine_fn_config_dll mscat32 enable_mscat32
17563 wine_fn_config_dll mscms enable_mscms implib
17564 wine_fn_config_test dlls
/mscms
/tests mscms_test
17565 wine_fn_config_dll mscoree enable_mscoree clean
17566 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
17567 wine_fn_config_dll msctf enable_msctf clean
17568 wine_fn_config_test dlls
/msctf
/tests msctf_test
17569 wine_fn_config_dll msctfp enable_msctfp clean
17570 wine_fn_config_dll msdaps enable_msdaps clean
17571 wine_fn_config_dll msdelta enable_msdelta
17572 wine_fn_config_dll msdmo enable_msdmo implib
17573 wine_fn_config_test dlls
/msdmo
/tests msdmo_test
17574 wine_fn_config_dll msftedit enable_msftedit
17575 wine_fn_config_dll msg711.acm enable_msg711_acm
17576 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17577 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17578 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
17579 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
17580 wine_fn_config_dll msi enable_msi clean
,implib
,po
17581 wine_fn_config_test dlls
/msi
/tests msi_test
17582 wine_fn_config_dll msident enable_msident clean
17583 wine_fn_config_dll msimg32 enable_msimg32 implib
17584 wine_fn_config_dll msimsg enable_msimsg
17585 wine_fn_config_dll msimtf enable_msimtf clean
17586 wine_fn_config_dll msisip enable_msisip
17587 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17588 wine_fn_config_dll msls31 enable_msls31
17589 wine_fn_config_dll msnet32 enable_msnet32
17590 wine_fn_config_dll mspatcha enable_mspatcha implib
17591 wine_fn_config_dll msrle32 enable_msrle32 po
17592 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
17593 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17594 wine_fn_config_dll mssign32 enable_mssign32
17595 wine_fn_config_dll mssip32 enable_mssip32
17596 wine_fn_config_dll mstask enable_mstask clean
17597 wine_fn_config_test dlls
/mstask
/tests mstask_test
17598 wine_fn_config_dll msvcirt enable_msvcirt
17599 wine_fn_config_test dlls
/msvcirt
/tests msvcirt_test
17600 wine_fn_config_dll msvcm80 enable_msvcm80
17601 wine_fn_config_dll msvcm90 enable_msvcm90
17602 wine_fn_config_dll msvcp100 enable_msvcp100
17603 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
17604 wine_fn_config_dll msvcp110 enable_msvcp110
17605 wine_fn_config_test dlls
/msvcp110
/tests msvcp110_test
17606 wine_fn_config_dll msvcp120 enable_msvcp120
17607 wine_fn_config_test dlls
/msvcp120
/tests msvcp120_test
17608 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17609 wine_fn_config_dll msvcp60 enable_msvcp60
17610 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
17611 wine_fn_config_dll msvcp70 enable_msvcp70
17612 wine_fn_config_dll msvcp71 enable_msvcp71
17613 wine_fn_config_dll msvcp80 enable_msvcp80
17614 wine_fn_config_dll msvcp90 enable_msvcp90
17615 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
17616 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17617 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
17618 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17619 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17620 wine_fn_config_test dlls
/msvcr120
/tests msvcr120_test
17621 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17622 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17623 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17624 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17625 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17626 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17627 wine_fn_config_dll msvcrt enable_msvcrt implib
17628 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17629 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17630 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17631 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17632 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17633 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17634 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17635 wine_fn_config_dll msvidc32 enable_msvidc32 po
17636 wine_fn_config_dll msvideo.dll16 enable_win16
17637 wine_fn_config_dll mswsock enable_mswsock implib
17638 wine_fn_config_dll msxml enable_msxml clean
17639 wine_fn_config_dll msxml2 enable_msxml2 clean
17640 wine_fn_config_dll msxml3 enable_msxml3 clean
17641 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17642 wine_fn_config_dll msxml4 enable_msxml4 clean
17643 wine_fn_config_dll msxml6 enable_msxml6 clean
17644 wine_fn_config_dll nddeapi enable_nddeapi implib
17645 wine_fn_config_dll ndis.sys enable_ndis_sys
17646 wine_fn_config_dll netapi32 enable_netapi32 implib
17647 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17648 wine_fn_config_dll netcfgx enable_netcfgx clean
17649 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
17650 wine_fn_config_dll netprofm enable_netprofm clean
17651 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
17652 wine_fn_config_dll newdev enable_newdev implib
17653 wine_fn_config_dll normaliz enable_normaliz implib
17654 wine_fn_config_dll npmshtml enable_npmshtml
17655 wine_fn_config_dll npptools enable_npptools
17656 wine_fn_config_dll ntdll enable_ntdll implib
17657 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17658 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17659 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17660 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17661 wine_fn_config_dll ntprint enable_ntprint
17662 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17663 wine_fn_config_dll objsel enable_objsel clean
17664 wine_fn_config_dll odbc32 enable_odbc32 implib
17665 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17666 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17667 wine_fn_config_dll odbccu32 enable_odbccu32
17668 wine_fn_config_dll ole2.dll16 enable_win16
17669 wine_fn_config_dll ole2conv.dll16 enable_win16
17670 wine_fn_config_dll ole2disp.dll16 enable_win16
17671 wine_fn_config_dll ole2nls.dll16 enable_win16
17672 wine_fn_config_dll ole2prox.dll16 enable_win16
17673 wine_fn_config_dll ole2thk.dll16 enable_win16
17674 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17675 wine_fn_config_test dlls
/ole32
/tests ole32_test
17676 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17677 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17678 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17679 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17680 wine_fn_config_dll olecli.dll16 enable_win16
17681 wine_fn_config_dll olecli32 enable_olecli32 implib
17682 wine_fn_config_dll oledb32 enable_oledb32 clean
17683 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17684 wine_fn_config_dll oledlg enable_oledlg implib
,po
17685 wine_fn_config_test dlls
/oledlg
/tests oledlg_test
17686 wine_fn_config_dll olepro32 enable_olepro32 implib
17687 wine_fn_config_dll olesvr.dll16 enable_win16
17688 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17689 wine_fn_config_dll olethk32 enable_olethk32
17690 wine_fn_config_dll openal32 enable_openal32
17691 wine_fn_config_dll opencl enable_opencl
17692 wine_fn_config_dll opengl32 enable_opengl32 implib
17693 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17694 wine_fn_config_dll packager enable_packager clean
17695 wine_fn_config_test dlls
/packager
/tests packager_test
17696 wine_fn_config_dll pdh enable_pdh implib
17697 wine_fn_config_test dlls
/pdh
/tests pdh_test
17698 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17699 wine_fn_config_dll pidgen enable_pidgen
17700 wine_fn_config_dll powrprof enable_powrprof implib
17701 wine_fn_config_dll printui enable_printui
17702 wine_fn_config_dll prntvpt enable_prntvpt
17703 wine_fn_config_dll propsys enable_propsys clean
,implib
17704 wine_fn_config_test dlls
/propsys
/tests propsys_test
17705 wine_fn_config_dll psapi enable_psapi implib
17706 wine_fn_config_test dlls
/psapi
/tests psapi_test
17707 wine_fn_config_dll pstorec enable_pstorec clean
17708 wine_fn_config_dll qcap enable_qcap
17709 wine_fn_config_test dlls
/qcap
/tests qcap_test
17710 wine_fn_config_dll qedit enable_qedit clean
17711 wine_fn_config_test dlls
/qedit
/tests qedit_test
17712 wine_fn_config_dll qmgr enable_qmgr clean
17713 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17714 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17715 wine_fn_config_dll quartz enable_quartz clean
,implib
17716 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17717 wine_fn_config_dll query enable_query
17718 wine_fn_config_dll rasapi16.dll16 enable_win16
17719 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17720 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17721 wine_fn_config_dll rasdlg enable_rasdlg implib
17722 wine_fn_config_dll regapi enable_regapi
17723 wine_fn_config_dll resutils enable_resutils implib
17724 wine_fn_config_dll riched20 enable_riched20 clean
,implib
17725 wine_fn_config_test dlls
/riched20
/tests riched20_test
17726 wine_fn_config_dll riched32 enable_riched32
17727 wine_fn_config_test dlls
/riched32
/tests riched32_test
17728 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17729 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17730 wine_fn_config_dll rsabase enable_rsabase
17731 wine_fn_config_dll rsaenh enable_rsaenh implib
17732 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17733 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17734 wine_fn_config_dll rtutils enable_rtutils implib
17735 wine_fn_config_dll samlib enable_samlib
17736 wine_fn_config_dll sane.ds enable_sane_ds po
17737 wine_fn_config_dll scarddlg enable_scarddlg
17738 wine_fn_config_dll sccbase enable_sccbase
17739 wine_fn_config_dll schannel enable_schannel
17740 wine_fn_config_test dlls
/schannel
/tests schannel_test
17741 wine_fn_config_dll schedsvc enable_schedsvc clean
17742 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
17743 wine_fn_config_dll scrrun enable_scrrun clean
17744 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17745 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17746 wine_fn_config_dll secur32 enable_secur32 implib
17747 wine_fn_config_test dlls
/secur32
/tests secur32_test
17748 wine_fn_config_dll security enable_security
17749 wine_fn_config_dll sensapi enable_sensapi implib
17750 wine_fn_config_dll serialui enable_serialui implib
,po
17751 wine_fn_config_test dlls
/serialui
/tests serialui_test
17752 wine_fn_config_dll setupapi enable_setupapi implib
,po
17753 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17754 wine_fn_config_dll setupx.dll16 enable_win16
17755 wine_fn_config_dll sfc enable_sfc implib
17756 wine_fn_config_dll sfc_os enable_sfc_os implib
17757 wine_fn_config_dll shdoclc enable_shdoclc po
17758 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17759 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17760 wine_fn_config_dll shell.dll16 enable_win16
17761 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17762 wine_fn_config_test dlls
/shell32
/tests shell32_test
17763 wine_fn_config_dll shfolder enable_shfolder implib
17764 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17765 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17766 wine_fn_config_dll slbcsp enable_slbcsp
17767 wine_fn_config_dll slc enable_slc implib
17768 wine_fn_config_test dlls
/slc
/tests slc_test
17769 wine_fn_config_dll snmpapi enable_snmpapi implib
17770 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17771 wine_fn_config_dll softpub enable_softpub
17772 wine_fn_config_dll sound.drv16 enable_win16
17773 wine_fn_config_dll spoolss enable_spoolss implib
17774 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17775 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17776 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17777 wine_fn_config_dll sti enable_sti clean
,implib
17778 wine_fn_config_test dlls
/sti
/tests sti_test
17779 wine_fn_config_dll storage.dll16 enable_win16
17780 wine_fn_config_dll stress.dll16 enable_win16
17781 wine_fn_config_lib strmbase
17782 wine_fn_config_lib strmiids
17783 wine_fn_config_dll svrapi enable_svrapi
17784 wine_fn_config_dll sxs enable_sxs implib
17785 wine_fn_config_test dlls
/sxs
/tests sxs_test
17786 wine_fn_config_dll system.drv16 enable_win16
17787 wine_fn_config_dll t2embed enable_t2embed
17788 wine_fn_config_dll tapi32 enable_tapi32 implib
17789 wine_fn_config_dll taskschd enable_taskschd clean
17790 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17791 wine_fn_config_dll toolhelp.dll16 enable_win16
17792 wine_fn_config_dll traffic enable_traffic
17793 wine_fn_config_dll twain.dll16 enable_win16
17794 wine_fn_config_dll twain_32 enable_twain_32
17795 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17796 wine_fn_config_dll typelib.dll16 enable_win16
17797 wine_fn_config_dll ucrtbase enable_ucrtbase
17798 wine_fn_config_test dlls
/ucrtbase
/tests ucrtbase_test
17799 wine_fn_config_dll unicows enable_unicows implib
17800 wine_fn_config_dll updspapi enable_updspapi
17801 wine_fn_config_dll url enable_url implib
17802 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17803 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17804 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17805 wine_fn_config_dll user.exe16 enable_win16
17806 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17807 wine_fn_config_test dlls
/user32
/tests user32_test
17808 wine_fn_config_dll userenv enable_userenv implib
17809 wine_fn_config_test dlls
/userenv
/tests userenv_test
17810 wine_fn_config_dll usp10 enable_usp10 implib
17811 wine_fn_config_test dlls
/usp10
/tests usp10_test
17812 wine_fn_config_lib uuid
17813 wine_fn_config_dll uxtheme enable_uxtheme implib
17814 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17815 wine_fn_config_dll vbscript enable_vbscript clean
17816 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17817 wine_fn_config_dll vcomp enable_vcomp
17818 wine_fn_config_test dlls
/vcomp
/tests vcomp_test
17819 wine_fn_config_dll vcomp100 enable_vcomp100
17820 wine_fn_config_dll vcomp110 enable_vcomp110
17821 wine_fn_config_dll vcomp90 enable_vcomp90
17822 wine_fn_config_dll vdhcp.vxd enable_win16
17823 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17824 wine_fn_config_dll ver.dll16 enable_win16
17825 wine_fn_config_dll version enable_version implib
17826 wine_fn_config_test dlls
/version
/tests version_test
17827 wine_fn_config_dll vmm.vxd enable_win16
17828 wine_fn_config_dll vnbt.vxd enable_win16
17829 wine_fn_config_dll vnetbios.vxd enable_win16
17830 wine_fn_config_dll vssapi enable_vssapi
17831 wine_fn_config_dll vtdapi.vxd enable_win16
17832 wine_fn_config_dll vwin32.vxd enable_win16
17833 wine_fn_config_dll w32skrnl enable_win16
17834 wine_fn_config_dll w32sys.dll16 enable_win16
17835 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17836 wine_fn_config_test dlls
/wbemdisp
/tests wbemdisp_test
17837 wine_fn_config_dll wbemprox enable_wbemprox clean
17838 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17839 wine_fn_config_dll webservices enable_webservices implib
17840 wine_fn_config_test dlls
/webservices
/tests webservices_test
17841 wine_fn_config_dll wer enable_wer implib
17842 wine_fn_config_test dlls
/wer
/tests wer_test
17843 wine_fn_config_dll wevtapi enable_wevtapi
17844 wine_fn_config_dll wiaservc enable_wiaservc clean
17845 wine_fn_config_dll win32s16.dll16 enable_win16
17846 wine_fn_config_dll win87em.dll16 enable_win16
17847 wine_fn_config_dll winaspi.dll16 enable_win16
17848 wine_fn_config_dll windebug.dll16 enable_win16
17849 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17850 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17851 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17852 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17853 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17854 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17855 wine_fn_config_lib winecrt0
17856 wine_fn_config_dll wined3d enable_wined3d implib
17857 wine_fn_config_dll winegstreamer enable_winegstreamer
17858 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17859 wine_fn_config_dll winemac.drv enable_winemac_drv
17860 wine_fn_config_dll winemapi enable_winemapi
17861 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17862 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17863 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17864 wine_fn_config_dll wineps16.drv16 enable_win16
17865 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17866 wine_fn_config_dll winex11.drv enable_winex11_drv
17867 wine_fn_config_dll wing.dll16 enable_win16
17868 wine_fn_config_dll wing32 enable_wing32
17869 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17870 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17871 wine_fn_config_dll wininet enable_wininet implib
,po
17872 wine_fn_config_test dlls
/wininet
/tests wininet_test
17873 wine_fn_config_dll winmm enable_winmm implib
,po
17874 wine_fn_config_test dlls
/winmm
/tests winmm_test
17875 wine_fn_config_dll winnls.dll16 enable_win16
17876 wine_fn_config_dll winnls32 enable_winnls32 implib
17877 wine_fn_config_dll winscard enable_winscard implib
17878 wine_fn_config_dll winsock.dll16 enable_win16
17879 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17880 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17881 wine_fn_config_dll winsta enable_winsta
17882 wine_fn_config_dll wintab.dll16 enable_win16
17883 wine_fn_config_dll wintab32 enable_wintab32 implib
17884 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17885 wine_fn_config_dll wintrust enable_wintrust implib
17886 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17887 wine_fn_config_dll wlanapi enable_wlanapi
17888 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17889 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17890 wine_fn_config_dll wmi enable_wmi
17891 wine_fn_config_dll wmiutils enable_wmiutils clean
17892 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17893 wine_fn_config_dll wmp enable_wmp clean
17894 wine_fn_config_test dlls
/wmp
/tests wmp_test
17895 wine_fn_config_dll wmvcore enable_wmvcore
17896 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17897 wine_fn_config_dll wow32 enable_win16 implib
17898 wine_fn_config_dll wpcap enable_wpcap
17899 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17900 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17901 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17902 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17903 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17904 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17905 wine_fn_config_dll wsock32 enable_wsock32 implib
17906 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17907 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
17908 wine_fn_config_dll wuapi enable_wuapi clean
17909 wine_fn_config_dll wuaueng enable_wuaueng
17910 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
17911 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
17912 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
17913 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
17914 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
17915 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
17916 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
17917 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17918 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
17919 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
17920 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
17921 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
17922 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
17923 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
17924 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
17925 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
17926 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
17927 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
17928 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
17929 wine_fn_config_test dlls
/xaudio2_
7/tests xaudio2_7_test
17930 wine_fn_config_dll xaudio2_8 enable_xaudio2_8
17931 wine_fn_config_dll xinput1_1 enable_xinput1_1
17932 wine_fn_config_dll xinput1_2 enable_xinput1_2
17933 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17934 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17935 wine_fn_config_dll xinput1_4 enable_xinput1_4
17936 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17937 wine_fn_config_dll xmllite enable_xmllite implib
17938 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17939 wine_fn_config_dll xolehlp enable_xolehlp
17940 wine_fn_config_dll xpsprint enable_xpsprint
17941 wine_fn_config_dll xpssvcs enable_xpssvcs
17942 wine_fn_config_makefile documentation enable_documentation clean
17943 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17944 wine_fn_config_makefile include enable_include clean
,install-dev
17945 wine_fn_config_makefile libs
/port enable_libs_port
17946 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17947 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17948 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17949 wine_fn_config_program arp enable_arp
install
17950 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17951 wine_fn_config_program attrib enable_attrib
install,po
17952 wine_fn_config_program cabarc enable_cabarc
install
17953 wine_fn_config_program cacls enable_cacls
install
17954 wine_fn_config_program
clock enable_clock
install,po
17955 wine_fn_config_program cmd enable_cmd
install,po
17956 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17957 wine_fn_config_program conhost enable_conhost
install
17958 wine_fn_config_program control enable_control
install
17959 wine_fn_config_program cscript enable_cscript clean
,install
17960 wine_fn_config_program dpnsvr enable_dpnsvr
install
17961 wine_fn_config_program dxdiag enable_dxdiag
install,po
17962 wine_fn_config_program eject enable_eject
install
17963 wine_fn_config_program
expand enable_expand
install
17964 wine_fn_config_program explorer enable_explorer
install,po
17965 wine_fn_config_program extrac32 enable_extrac32
install
17966 wine_fn_config_program findstr enable_findstr
install
17967 wine_fn_config_program hh enable_hh
install
17968 wine_fn_config_program hostname enable_hostname
install,po
17969 wine_fn_config_program icinfo enable_icinfo
install
17970 wine_fn_config_program iexplore enable_iexplore
install
17971 wine_fn_config_program ipconfig enable_ipconfig
install,po
17972 wine_fn_config_program lodctr enable_lodctr
install
17973 wine_fn_config_program mofcomp enable_mofcomp
install
17974 wine_fn_config_program mshta enable_mshta
install
17975 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17976 wine_fn_config_program net enable_net
install,po
17977 wine_fn_config_program netsh enable_netsh
install
17978 wine_fn_config_program netstat enable_netstat
install,po
17979 wine_fn_config_program ngen enable_ngen
install
17980 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17981 wine_fn_config_program oleview enable_oleview
install,po
17982 wine_fn_config_program
ping enable_ping
install
17983 wine_fn_config_program plugplay enable_plugplay
install
17984 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17985 wine_fn_config_program progman enable_progman
install,po
17986 wine_fn_config_program reg enable_reg
install,po
17987 wine_fn_config_test programs
/reg
/tests reg.exe_test
17988 wine_fn_config_program regasm enable_regasm
install
17989 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17990 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17991 wine_fn_config_program regsvcs enable_regsvcs
install
17992 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
,po
17993 wine_fn_config_program rpcss enable_rpcss clean
,install
17994 wine_fn_config_program rundll.exe16 enable_win16
install
17995 wine_fn_config_program rundll32 enable_rundll32
install
17996 wine_fn_config_program sc enable_sc
install
17997 wine_fn_config_program schtasks enable_schtasks
install
17998 wine_fn_config_program sdbinst enable_sdbinst
install
17999 wine_fn_config_program secedit enable_secedit
install
18000 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
18001 wine_fn_config_program services enable_services clean
,install
18002 wine_fn_config_test programs
/services
/tests services.exe_test
18003 wine_fn_config_program spoolsv enable_spoolsv
install
18004 wine_fn_config_program start enable_start
install,po
18005 wine_fn_config_program svchost enable_svchost
install
18006 wine_fn_config_program systeminfo enable_systeminfo
install
18007 wine_fn_config_program taskkill enable_taskkill
install,po
18008 wine_fn_config_program tasklist enable_tasklist
install
18009 wine_fn_config_program taskmgr enable_taskmgr
install,po
18010 wine_fn_config_program termsv enable_termsv
install
18011 wine_fn_config_program uninstaller enable_uninstaller
install,po
18012 wine_fn_config_program unlodctr enable_unlodctr
install
18013 wine_fn_config_program view enable_view
install,po
18014 wine_fn_config_program wevtutil enable_wevtutil
install
18015 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
18016 wine_fn_config_program winebrowser enable_winebrowser
install
18017 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
18018 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
18019 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
18020 wine_fn_config_program winedevice enable_winedevice
install
18021 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
18022 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
18023 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
18024 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
18025 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
18026 wine_fn_config_program winetest enable_winetest clean
18027 wine_fn_config_program winevdm enable_win16
install
18028 wine_fn_config_program winhelp.exe16 enable_win16
install
18029 wine_fn_config_program winhlp32 enable_winhlp32
install,po
18030 wine_fn_config_program winoldap.mod16 enable_win16
install
18031 wine_fn_config_program winver enable_winver
install
18032 wine_fn_config_program wmic enable_wmic
install,po
18033 wine_fn_config_program wordpad enable_wordpad
install,po
18034 wine_fn_config_program
write enable_write
install,po
18035 wine_fn_config_program wscript enable_wscript clean
,install
18036 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
18037 wine_fn_config_program wusa enable_wusa
install
18038 wine_fn_config_program xcopy enable_xcopy
install,po
18039 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
18040 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
18041 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
18042 wine_fn_config_tool tools
/sfnt2fon clean
18043 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
18044 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
18045 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
18046 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
18047 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
18048 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
18100 wine_fn_ignore_file
".gitignore"
18101 wine_fn_ignore_file
"Makefile"
18102 wine_fn_ignore_file
"TAGS"
18103 wine_fn_ignore_file
"tags"
18104 wine_fn_ignore_file
"autom4te.cache"
18105 wine_fn_ignore_file
"config.cache"
18106 wine_fn_ignore_file
"config.log"
18107 wine_fn_ignore_file
"config.status"
18108 wine_fn_ignore_file
"configure.lineno"
18109 wine_fn_ignore_file
"include/config.h"
18110 wine_fn_ignore_file
"include/stamp-h"
18111 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
18113 if test "x$enable_tools" != xno
18115 wine_fn_ignore_file
"tools/makedep$ac_exeext"
18116 ac_config_commands
="$ac_config_commands tools/makedep"
18120 ac_config_commands
="$ac_config_commands Makefile"
18123 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
18127 if test "x$enable_maintainer_mode" = xyes
18129 wine_fn_append_rule
"configure: configure.ac aclocal.m4
18130 autoconf --warnings=all
18131 include/config.h.in: include/stamp-h.in
18132 include/stamp-h.in: configure.ac aclocal.m4
18133 autoheader --warnings=all
18134 @echo timestamp > \$@"
18137 if test "x$with_gettextpo" = xyes
18139 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
18140 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
18141 \$(LINGUAS:%=po/%.po): po/wine.pot
18142 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
18143 po/wine.pot: \$(ALL_POT_FILES)
18144 msgcat -o \$@ \$(ALL_POT_FILES)"
18147 if test "$MSGFMT" != false
18149 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
18151 \$(RM) \$(LINGUAS:%=po/%.mo)"
18154 test "$srcdir" = . || posrc
="$srcdir/po"
18157 wine_fn_ignore_file
"po/$i.mo"
18158 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
18159 \$(MSGFMT) -o \$@ $posrc/$i.po"
18165 if test "x$enable_tools" != xno
18167 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18168 @./config.status tools/makedep
18169 Makefile: tools/makedep$ac_exeext
18171 \$(RM) tools/makedep$ac_exeext"
18173 wine_fn_append_rule
"\$(MAKEDEP):
18174 @echo \"You need to run make in $TOOLSDIR first\" && false"
18177 if test -n "$with_wine64"
18179 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18180 fonts server tools:
18181 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18182 $with_wine64/loader/wine:
18183 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18184 $with_wine64/loader/wine-preloader:
18185 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18187 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18189 as_fn_append LOADER_RULES
"
18190 install install-lib:: wine.inf install-man-pages
18191 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
18192 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18195 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18199 if test "$srcdir" = .
18201 ac_config_commands
="$ac_config_commands .gitignore"
18205 $as_echo " done" >&6
18206 cat >confcache
<<\_ACEOF
18207 # This file is a shell script that caches the results of configure
18208 # tests run on this system so they can be shared between configure
18209 # scripts and configure runs, see configure's option --config-cache.
18210 # It is not useful on other systems. If it contains results you don't
18211 # want to keep, you may remove or edit it.
18213 # config.status only pays attention to the cache file if you give it
18214 # the --recheck option to rerun configure.
18216 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18217 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18218 # following values.
18222 # The following way of writing the cache mishandles newlines in values,
18223 # but we know of no workaround that is simple, portable, and efficient.
18224 # So, we kill variables containing newlines.
18225 # Ultrix sh set writes to stderr and can't be redirected directly,
18226 # and sets the high bit in the cache file unless we assign to the vars.
18228 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18229 eval ac_val
=\$
$ac_var
18233 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18234 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18237 _ | IFS | as_nl
) ;; #(
18238 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
18239 *) { eval $ac_var=; unset $ac_var;} ;;
18245 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18246 *${as_nl}ac_space
=\
*)
18247 # `set' does not quote correctly, so add quotes: double-quote
18248 # substitution turns \\\\ into \\, and sed turns \\ into \.
18251 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18254 # `set' quotes correctly as required by POSIX, so do not add quotes.
18255 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18264 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18266 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18268 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18269 if test -w "$cache_file"; then
18270 if test "x$cache_file" != "x/dev/null"; then
18271 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18272 $as_echo "$as_me: updating cache $cache_file" >&6;}
18273 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
18274 cat confcache
>"$cache_file"
18276 case $cache_file in #(
18278 mv -f confcache
"$cache_file"$$
&&
18279 mv -f "$cache_file"$$
"$cache_file" ;; #(
18281 mv -f confcache
"$cache_file" ;;
18286 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18287 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18292 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18293 # Let make expand exec_prefix.
18294 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18296 DEFS
=-DHAVE_CONFIG_H
18301 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18302 # 1. Remove the extension, and $U if already installed.
18303 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18304 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18305 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18306 # will be set to the directory where LIBOBJS objects are built.
18307 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18308 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
18310 LIBOBJS
=$ac_libobjs
18312 LTLIBOBJS
=$ac_ltlibobjs
18316 : "${CONFIG_STATUS=./config.status}"
18318 ac_clean_files_save
=$ac_clean_files
18319 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18320 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18321 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18323 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18325 # Generated by $as_me.
18326 # Run this file to recreate the current configuration.
18327 # Compiler output produced by configure, useful for debugging
18328 # configure, is in config.log if it exists.
18331 ac_cs_recheck=false
18334 SHELL=\${CONFIG_SHELL-$SHELL}
18337 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
18338 ## -------------------- ##
18339 ## M4sh Initialization. ##
18340 ## -------------------- ##
18342 # Be more Bourne compatible
18343 DUALCASE
=1; export DUALCASE
# for MKS sh
18344 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
18347 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18348 # is contrary to our usage. Disable this feature.
18349 alias -g '${1+"$@"}'='"$@"'
18350 setopt NO_GLOB_SUBST
18352 case `(set -o) 2>/dev/null` in #(
18364 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18365 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18366 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18367 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18368 # Prefer a ksh shell builtin over an external printf program on Solaris,
18369 # but without wasting forks for bash or zsh.
18370 if test -z "$BASH_VERSION$ZSH_VERSION" \
18371 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18372 as_echo='print
-r --'
18373 as_echo_n='print
-rn --'
18374 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18375 as_echo='printf %s
\n'
18376 as_echo_n='printf %s
'
18378 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18379 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18380 as_echo_n='/usr
/ucb
/echo -n'
18382 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18383 as_echo_n_body='eval
18387 expr "X$arg" : "X\\(.*\\)$as_nl";
18388 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18390 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18392 export as_echo_n_body
18393 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18395 export as_echo_body
18396 as_echo='sh
-c $as_echo_body as_echo
'
18399 # The user is always right.
18400 if test "${PATH_SEPARATOR+set}" != set; then
18402 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18403 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18410 # We need space, tab and new line, in precisely that order. Quoting is
18411 # there to prevent editors from complaining about space-tab.
18412 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18413 # splitting by setting IFS to empty value.)
18416 # Find who we are. Look in the path if we contain no directory separator.
18419 *[\\/]* ) as_myself=$0 ;;
18420 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18421 for as_dir in $PATH
18424 test -z "$as_dir" && as_dir=.
18425 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18431 # We did not find ourselves, most probably we were run as `sh COMMAND'
18432 # in which case we are not to be found in the path.
18433 if test "x$as_myself" = x
; then
18436 if test ! -f "$as_myself"; then
18437 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18441 # Unset variables that we do not need and which cause bugs (e.g. in
18442 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18443 # suppresses any "Segmentation fault" message there. '((' could
18444 # trigger a bug in pdksh 5.2.14.
18445 for as_var
in BASH_ENV ENV MAIL MAILPATH
18446 do eval test x\
${$as_var+set} = xset \
18447 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18460 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18463 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18464 # ----------------------------------------
18465 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18466 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18467 # script with STATUS, using 1 if that was 0.
18470 as_status
=$1; test $as_status -eq 0 && as_status
=1
18472 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18473 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18475 $as_echo "$as_me: error: $2" >&2
18476 as_fn_exit
$as_status
18480 # as_fn_set_status STATUS
18481 # -----------------------
18482 # Set $? to STATUS, without forking.
18483 as_fn_set_status
()
18486 } # as_fn_set_status
18488 # as_fn_exit STATUS
18489 # -----------------
18490 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18494 as_fn_set_status
$1
18500 # Portably unset VAR.
18503 { eval $1=; unset $1;}
18505 as_unset
=as_fn_unset
18506 # as_fn_append VAR VALUE
18507 # ----------------------
18508 # Append the text in VALUE to the end of the definition contained in VAR. Take
18509 # advantage of any shell optimizations that allow amortized linear growth over
18510 # repeated appends, instead of the typical quadratic growth present in naive
18512 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18513 eval 'as_fn_append ()
18524 # as_fn_arith ARG...
18525 # ------------------
18526 # Perform arithmetic evaluation on the ARGs, and store the result in the
18527 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18528 # must be portable across $(()) and expr.
18529 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18530 eval 'as_fn_arith ()
18537 as_val
=`expr "$@" || test $? -eq 1`
18542 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18543 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18549 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18550 as_basename
=basename
18555 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18561 as_me
=`$as_basename -- "$0" ||
18562 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18563 X"$0" : 'X\(//\)$' \| \
18564 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18566 sed '/^.*\/\([^/][^/]*\)\/*$/{
18580 # Avoid depending upon Character Ranges.
18581 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18582 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18583 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18584 as_cr_digits
='0123456789'
18585 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18587 ECHO_C
= ECHO_N
= ECHO_T
=
18588 case `echo -n x` in #(((((
18590 case `echo 'xy\c'` in
18591 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18593 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18600 rm -f conf$$ conf$$.exe conf$$.
file
18601 if test -d conf$$.dir
; then
18602 rm -f conf$$.dir
/conf$$.
file
18605 mkdir conf$$.dir
2>/dev
/null
18607 if (echo >conf$$.
file) 2>/dev
/null
; then
18608 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18610 # ... but there are two gotchas:
18611 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18612 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18613 # In both cases, we have to default to `cp -pR'.
18614 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18616 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18624 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18625 rmdir conf$$.dir
2>/dev
/null
18630 # Create "$as_dir" as a directory, including parents if necessary.
18635 -*) as_dir
=.
/$as_dir;;
18637 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18641 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18642 *) as_qdir
=$as_dir;;
18644 as_dirs
="'$as_qdir' $as_dirs"
18645 as_dir
=`$as_dirname -- "$as_dir" ||
18646 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18647 X"$as_dir" : 'X\(//\)[^/]' \| \
18648 X"$as_dir" : 'X\(//\)$' \| \
18649 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18650 $as_echo X"$as_dir" |
18651 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18655 /^X\(\/\/\)[^/].*/{
18668 test -d "$as_dir" && break
18670 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18671 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18675 if mkdir
-p .
2>/dev
/null
; then
18676 as_mkdir_p
='mkdir -p "$as_dir"'
18678 test -d .
/-p && rmdir .
/-p
18683 # as_fn_executable_p FILE
18684 # -----------------------
18685 # Test if FILE is an executable regular file.
18686 as_fn_executable_p
()
18688 test -f "$1" && test -x "$1"
18689 } # as_fn_executable_p
18690 as_test_x
='test -x'
18691 as_executable_p
=as_fn_executable_p
18693 # Sed expression to map a string onto a valid CPP name.
18694 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18696 # Sed expression to map a string onto a valid variable name.
18697 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18701 ## ----------------------------------- ##
18702 ## Main body of $CONFIG_STATUS script. ##
18703 ## ----------------------------------- ##
18705 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18707 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18708 # Save the log message, to keep $0 and so on meaningful, and to
18709 # report actual input values of CONFIG_FILES etc. instead of their
18710 # values after options handling.
18712 This file was extended by Wine $as_me 1.7.52, which was
18713 generated by GNU Autoconf 2.69. Invocation command line was
18715 CONFIG_FILES = $CONFIG_FILES
18716 CONFIG_HEADERS = $CONFIG_HEADERS
18717 CONFIG_LINKS = $CONFIG_LINKS
18718 CONFIG_COMMANDS = $CONFIG_COMMANDS
18721 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18726 case $ac_config_files in *"
18727 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18730 case $ac_config_headers in *"
18731 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18735 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18736 # Files that config.status was made for.
18737 config_files="$ac_config_files"
18738 config_headers="$ac_config_headers"
18739 config_links="$ac_config_links"
18740 config_commands="$ac_config_commands"
18744 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18746 \`$as_me' instantiates files and other configuration actions
18747 from templates according to the current configuration. Unless the files
18748 and actions are specified as TAGs, all are instantiated by default.
18750 Usage: $0 [OPTION]... [TAG]...
18752 -h, --help print this help, then exit
18753 -V, --version print version number and configuration settings, then exit
18754 --config print configuration, then exit
18755 -q, --quiet, --silent
18756 do not print progress messages
18757 -d, --debug don't remove temporary files
18758 --recheck update $as_me by reconfiguring in the same conditions
18759 --file=FILE[:TEMPLATE]
18760 instantiate the configuration file FILE
18761 --header=FILE[:TEMPLATE]
18762 instantiate the configuration header FILE
18764 Configuration files:
18767 Configuration headers:
18770 Configuration links:
18773 Configuration commands:
18776 Report bugs to <wine-devel@winehq.org>.
18777 Wine home page: <http://www.winehq.org>."
18780 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18781 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18783 Wine config.status 1.7.52
18784 configured by $0, generated by GNU Autoconf 2.69,
18785 with options \\"\$ac_cs_config\\"
18787 Copyright (C) 2012 Free Software Foundation, Inc.
18788 This config.status script is free software; the Free Software Foundation
18789 gives unlimited permission to copy, distribute and modify it."
18793 test -n "\$AWK" || AWK=awk
18796 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18797 # The default lists apply if the user does not specify any file.
18803 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18804 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18808 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18820 # Handling of the options.
18821 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18823 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18824 $as_echo "$ac_cs_version"; exit ;;
18825 --config |
--confi |
--conf |
--con |
--co |
--c )
18826 $as_echo "$ac_cs_config"; exit ;;
18827 --debug |
--debu |
--deb |
--de |
--d |
-d )
18829 --file |
--fil |
--fi |
--f )
18832 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18833 '') as_fn_error $?
"missing file argument" ;;
18835 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18836 ac_need_defaults
=false
;;
18837 --header |
--heade |
--head |
--hea )
18840 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18842 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18843 ac_need_defaults
=false
;;
18845 # Conflict between --help and --header
18846 as_fn_error $?
"ambiguous option: \`$1'
18847 Try \`$0 --help' for more information.";;
18848 --help |
--hel |
-h )
18849 $as_echo "$ac_cs_usage"; exit ;;
18850 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18851 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18854 # This is an error.
18855 -*) as_fn_error $?
"unrecognized option: \`$1'
18856 Try \`$0 --help' for more information." ;;
18858 *) as_fn_append ac_config_targets
" $1"
18859 ac_need_defaults
=false
;;
18865 ac_configure_extra_args
=
18867 if $ac_cs_silent; then
18869 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18873 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18874 if \$ac_cs_recheck; then
18875 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18877 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18878 CONFIG_SHELL='$SHELL'
18879 export CONFIG_SHELL
18884 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18888 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18889 ## Running $as_me. ##
18895 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18899 wine_fn_output_makedep ()
18901 as_dir=tools; as_fn_mkdir_p
18902 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18904 wine_fn_output_makefile ()
18906 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18907 `cat $wine_rules_file`
18909 as_fn_error $? "could not create Makefile" "$LINENO" 5
18911 wine_fn_output_gitignore ()
18913 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18916 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18921 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18923 # Handling of arguments.
18924 for ac_config_target
in $ac_config_targets
18926 case $ac_config_target in
18927 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18928 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18929 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18930 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18931 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18932 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18933 "fonts/wingding.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
18934 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18935 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18936 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18937 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18938 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
18939 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18940 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18941 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18943 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18948 # If the user did not use the arguments to specify the items to instantiate,
18949 # then the envvar interface is used. Set only those that are not.
18950 # We use the long form for the default assignment because of an extremely
18951 # bizarre bug on SunOS 4.1.3.
18952 if $ac_need_defaults; then
18953 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18954 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18955 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18956 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18959 # Have a temporary directory for convenience. Make it in the build tree
18960 # simply because there is no reason against having it here, and in addition,
18961 # creating and moving files from /tmp can sometimes cause problems.
18962 # Hook for its removal unless debugging.
18963 # Note that there is a small window in which the directory will not be cleaned:
18964 # after its creation but before its name has been assigned to `$tmp'.
18968 trap 'exit_status=$?
18969 : "${ac_tmp:=$tmp}"
18970 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18972 trap 'as_fn_exit 1' 1 2 13 15
18974 # Create a (secure) tmp directory for tmp files.
18977 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18981 tmp
=.
/conf$$
-$RANDOM
18982 (umask 077 && mkdir
"$tmp")
18983 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18986 # Set up the scripts for CONFIG_FILES section.
18987 # No need to generate them if there are no CONFIG_FILES.
18988 # This happens for instance with `./config.status config.h'.
18989 if test -n "$CONFIG_FILES"; then
18992 ac_cr
=`echo X | tr X '\015'`
18993 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18994 # But we know of no other shell where ac_cr would be empty at this
18995 # point, so we can use a bashism as a fallback.
18996 if test "x$ac_cr" = x
; then
18997 eval ac_cr
=\$
\'\\r
\'
18999 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19000 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19003 ac_cs_awk_cr
=$ac_cr
19006 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19011 echo "cat >conf$$subs.awk <<_ACEOF" &&
19012 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19014 } >conf$$subs.sh ||
19015 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19016 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19018 for ac_last_try in false false false false false :; do
19019 . ./conf$$subs.sh ||
19020 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19022 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
19023 if test $ac_delim_n = $ac_delim_num; then
19025 elif $ac_last_try; then
19026 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19028 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19031 rm -f conf$$subs.sh
19033 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19034 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
19038 s/^/S["/; s
/!.
*/"]=/
19048 s/\(.\{148\}\)..*/\1/
19050 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
19055 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19062 s/\(.\{148\}\)..*/\1/
19064 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
19068 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19073 ' <conf$$subs.awk | sed '
19078 ' >>$CONFIG_STATUS || ac_write_fail=1
19079 rm -f conf$$subs.awk
19080 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19082 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
19083 for (key in S) S_is_set[key] = 1
19089 nfields = split(line, field, "@
")
19091 len = length(field[1])
19092 for (i = 2; i < nfields; i++) {
19094 keylen = length(key)
19095 if (S_is_set[key]) {
19097 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19098 len += length(value) + length(field[++i])
19109 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19110 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19111 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
19114 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
19115 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
19118 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19119 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
19120 # trailing colons and then remove the whole line if VPATH becomes empty
19121 # (actually we leave an empty line to preserve line numbers).
19122 if test "x
$srcdir" = x.; then
19123 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19141 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19142 fi # test -n "$CONFIG_FILES"
19144 # Set up the scripts for CONFIG_HEADERS section.
19145 # No need to generate them if there are no CONFIG_HEADERS.
19146 # This happens for instance with `./config.status Makefile'.
19147 if test -n "$CONFIG_HEADERS"; then
19148 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
19152 # Transform confdefs.h into an awk script `defines.awk', embedded as
19153 # here-document in config.status, that substitutes the proper values into
19154 # config.h.in to produce config.h.
19156 # Create a delimiter string that does not exist in confdefs.h, to ease
19157 # handling of long lines.
19159 for ac_last_try in false false :; do
19160 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
19161 if test -z "$ac_tt"; then
19163 elif $ac_last_try; then
19164 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
19166 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19170 # For the awk script, D is an array of macro values keyed by name,
19171 # likewise P contains macro parameters if any. Preserve backslash
19172 # newline sequences.
19174 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19176 s/.\{148\}/&'"$ac_delim"'/g
19179 s/^[ ]*#[ ]*define[ ][ ]*/ /
19186 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
19188 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
19192 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
19193 D["\
1"]=" \
3\\\\\\n
"\\/p
19195 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
19200 s/.\{148\}/&'"$ac_delim"'/g
19205 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
19208 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
19210 ' <confdefs.h | sed '
19211 s/'"$ac_delim"'/"\\\
19212 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19214 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19215 for (key in D) D_is_set[key] = 1
19218 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19220 split(line, arg, " ")
19221 if (arg[1] == "#") {
19225 defundef
= substr
(arg
[1], 2)
19228 split(mac1
, mac2
, "(") #)
19230 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
19231 if (D_is_set
[macro
]) {
19232 # Preserve the white space surrounding the "#".
19233 print prefix
"define", macro P
[macro
] D
[macro
]
19236 # Replace #undef with comments. This is necessary, for example,
19237 # in the case of _POSIX_SOURCE, which is predefined and required
19238 # on some systems where configure will not decide to define it.
19239 if (defundef
== "undef") {
19240 print
"/*", prefix defundef
, macro
, "*/"
19248 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19249 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
19250 fi # test -n "$CONFIG_HEADERS"
19253 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19258 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19260 case $ac_mode$ac_tag in
19262 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
19263 :[FH
]-) ac_tag
=-:-;;
19264 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19281 -) ac_f
="$ac_tmp/stdin";;
19282 *) # Look for the file first in the build tree, then in the source tree
19283 # (if the path is not absolute). The absolute path cannot be DOS-style,
19284 # because $ac_f cannot contain `:'.
19288 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19290 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19292 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19293 as_fn_append ac_file_inputs
" '$ac_f'"
19296 # Let's still pretend it is `configure' which instantiates (i.e., don't
19297 # use $as_me), people would be surprised to read:
19298 # /* config.h. Generated by config.status. */
19299 configure_input
='Generated from '`
19300 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19302 if test x
"$ac_file" != x-
; then
19303 configure_input
="$ac_file. $configure_input"
19304 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19305 $as_echo "$as_me: creating $ac_file" >&6;}
19307 # Neutralize special characters interpreted by sed in replacement strings.
19308 case $configure_input in #(
19309 *\
&* |
*\|
* |
*\\* )
19310 ac_sed_conf_input
=`$as_echo "$configure_input" |
19311 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19312 *) ac_sed_conf_input
=$configure_input;;
19316 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
19317 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
19322 ac_dir
=`$as_dirname -- "$ac_file" ||
19323 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19324 X"$ac_file" : 'X\(//\)[^/]' \| \
19325 X"$ac_file" : 'X\(//\)$' \| \
19326 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19327 $as_echo X"$ac_file" |
19328 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19332 /^X\(\/\/\)[^/].*/{
19345 as_dir
="$ac_dir"; as_fn_mkdir_p
19349 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19351 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19352 # A ".." for each directory in $ac_dir_suffix.
19353 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19354 case $ac_top_builddir_sub in
19355 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19356 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19359 ac_abs_top_builddir
=$ac_pwd
19360 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19361 # for backward compatibility:
19362 ac_top_builddir
=$ac_top_build_prefix
19365 .
) # We are building in place.
19367 ac_top_srcdir
=$ac_top_builddir_sub
19368 ac_abs_top_srcdir
=$ac_pwd ;;
19369 [\\/]* | ?
:[\\/]* ) # Absolute name.
19370 ac_srcdir
=$srcdir$ac_dir_suffix;
19371 ac_top_srcdir
=$srcdir
19372 ac_abs_top_srcdir
=$srcdir ;;
19373 *) # Relative name.
19374 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19375 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19376 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19378 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19389 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19390 # If the template does not know about datarootdir, expand it.
19391 # FIXME: This hack should be removed a few years after 2.60.
19392 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19403 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19404 *datarootdir
*) ac_datarootdir_seen
=yes;;
19405 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19407 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19409 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19410 ac_datarootdir_hack='
19411 s&@datadir@&$datadir&g
19412 s&@docdir@&$docdir&g
19413 s&@infodir@&$infodir&g
19414 s&@localedir@&$localedir&g
19415 s&@mandir@&$mandir&g
19416 s&\\\${datarootdir}&$datarootdir&g' ;;
19420 # Neutralize VPATH when `$srcdir' = `.'.
19421 # Shell code in configure.ac might set extrasub.
19422 # FIXME: do we really want to maintain this feature?
19423 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19424 ac_sed_extra="$ac_vpsub
19427 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19429 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19430 s|@configure_input@|
$ac_sed_conf_input|
;t t
19431 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19432 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19433 s
&@srcdir@
&$ac_srcdir&;t t
19434 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19435 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19436 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19437 s
&@builddir@
&$ac_builddir&;t t
19438 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19439 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19440 $ac_datarootdir_hack
19442 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19443 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19445 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19446 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19447 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19448 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19449 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19450 which seems to be undefined. Please make sure it is defined" >&5
19451 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19452 which seems to be undefined. Please make sure it is defined" >&2;}
19454 rm -f "$ac_tmp/stdin"
19456 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19457 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19459 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19465 if test x"$ac_file" != x-; then
19467 $as_echo "/* $configure_input */" \
19468 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19469 } >"$ac_tmp/config.h" \
19470 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19471 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19472 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19473 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19476 mv "$ac_tmp/config.h" "$ac_file" \
19477 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19480 $as_echo "/* $configure_input */" \
19481 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19482 || as_fn_error $? "could not create -" "$LINENO" 5
19490 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
19493 # Prefer the file from the source tree if names are identical.
19494 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19495 ac_source=$srcdir/$ac_source
19498 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19499 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19501 if test ! -r "$ac_source"; then
19502 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19506 # Try a relative symlink, then a hard link, then a copy.
19508 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19509 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19511 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19512 ln "$ac_source" "$ac_file" 2>/dev/null ||
19513 cp -p "$ac_source" "$ac_file" ||
19514 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19517 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19518 $as_echo "$as_me: executing $ac_file commands" >&6;}
19523 case $ac_file$ac_mode in
19524 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19525 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19526 "Makefile":C) wine_fn_output_makefile Makefile ;;
19527 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19535 ac_clean_files=$ac_clean_files_save
19537 test $ac_write_fail = 0 ||
19538 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19541 # configure is writing to config.log, and then calls config.status.
19542 # config.status does its own redirection, appending to config.log.
19543 # Unfortunately, on DOS this fails, as config.log is still kept open
19544 # by configure, so config.status won't be able to
write to it
; its
19545 # output is simply discarded. So we exec the FD to /dev/null,
19546 # effectively closing config.log, so it can be properly (re)opened and
19547 # appended to by config.status. When coming back to configure, we
19548 # need to make the FD available again.
19549 if test "$no_create" != yes; then
19551 ac_config_status_args
=
19552 test "$silent" = yes &&
19553 ac_config_status_args
="$ac_config_status_args --quiet"
19555 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19557 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19558 # would make configure fail if this is the last instruction.
19559 $ac_cs_success || as_fn_exit
1
19561 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19563 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19567 if test "$no_create" = "yes"
19573 if test "x$wine_notices != "x
; then
19576 for msg
in $wine_notices; do
19578 if ${msg:+false} :; then :
19581 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19582 $as_echo "$as_me: $msg" >&6;}
19587 for msg
in $wine_warnings; do
19589 if ${msg:+false} :; then :
19593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19594 $as_echo "$as_me: WARNING: $msg" >&2;}
19600 $as_me: Finished. Do '${ac_make}' to compile Wine.