2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.9.18.
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.9.18'
584 PACKAGE_STRING
='Wine 1.9.18'
585 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
586 PACKAGE_URL
='http://www.winehq.org'
588 ac_unique_file
="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default
="\
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
602 # ifdef HAVE_STDLIB_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
625 ac_subst_vars
='LTLIBOBJS
635 EXCESS_PRECISION_CFLAGS
706 APPLICATIONSERVICES_LIBS
801 program_transform_name
814 enable_option_checking
818 enable_maintainer_mode
877 enable_api_ms_win_core_atoms_l1_1_0
878 enable_api_ms_win_core_com_l1_1_0
879 enable_api_ms_win_core_com_l1_1_1
880 enable_api_ms_win_core_console_l1_1_0
881 enable_api_ms_win_core_console_l2_1_0
882 enable_api_ms_win_core_datetime_l1_1_0
883 enable_api_ms_win_core_datetime_l1_1_1
884 enable_api_ms_win_core_debug_l1_1_0
885 enable_api_ms_win_core_debug_l1_1_1
886 enable_api_ms_win_core_delayload_l1_1_1
887 enable_api_ms_win_core_errorhandling_l1_1_0
888 enable_api_ms_win_core_errorhandling_l1_1_1
889 enable_api_ms_win_core_errorhandling_l1_1_2
890 enable_api_ms_win_core_fibers_l1_1_0
891 enable_api_ms_win_core_fibers_l1_1_1
892 enable_api_ms_win_core_file_l1_1_0
893 enable_api_ms_win_core_file_l1_2_0
894 enable_api_ms_win_core_file_l1_2_1
895 enable_api_ms_win_core_file_l2_1_0
896 enable_api_ms_win_core_file_l2_1_1
897 enable_api_ms_win_core_handle_l1_1_0
898 enable_api_ms_win_core_heap_l1_1_0
899 enable_api_ms_win_core_heap_l1_2_0
900 enable_api_ms_win_core_heap_obsolete_l1_1_0
901 enable_api_ms_win_core_interlocked_l1_1_0
902 enable_api_ms_win_core_interlocked_l1_2_0
903 enable_api_ms_win_core_io_l1_1_1
904 enable_api_ms_win_core_job_l1_1_0
905 enable_api_ms_win_core_job_l2_1_0
906 enable_api_ms_win_core_kernel32_legacy_l1_1_0
907 enable_api_ms_win_core_kernel32_legacy_l1_1_1
908 enable_api_ms_win_core_libraryloader_l1_1_0
909 enable_api_ms_win_core_libraryloader_l1_1_1
910 enable_api_ms_win_core_libraryloader_l1_2_0
911 enable_api_ms_win_core_localization_l1_1_0
912 enable_api_ms_win_core_localization_l1_2_0
913 enable_api_ms_win_core_localization_l1_2_1
914 enable_api_ms_win_core_localization_obsolete_l1_1_0
915 enable_api_ms_win_core_localization_obsolete_l1_2_0
916 enable_api_ms_win_core_localregistry_l1_1_0
917 enable_api_ms_win_core_memory_l1_1_0
918 enable_api_ms_win_core_memory_l1_1_1
919 enable_api_ms_win_core_memory_l1_1_2
920 enable_api_ms_win_core_misc_l1_1_0
921 enable_api_ms_win_core_namedpipe_l1_1_0
922 enable_api_ms_win_core_namedpipe_l1_2_0
923 enable_api_ms_win_core_namespace_l1_1_0
924 enable_api_ms_win_core_normalization_l1_1_0
925 enable_api_ms_win_core_path_l1_1_0
926 enable_api_ms_win_core_privateprofile_l1_1_1
927 enable_api_ms_win_core_processenvironment_l1_1_0
928 enable_api_ms_win_core_processenvironment_l1_2_0
929 enable_api_ms_win_core_processthreads_l1_1_0
930 enable_api_ms_win_core_processthreads_l1_1_1
931 enable_api_ms_win_core_processthreads_l1_1_2
932 enable_api_ms_win_core_profile_l1_1_0
933 enable_api_ms_win_core_psapi_l1_1_0
934 enable_api_ms_win_core_registry_l1_1_0
935 enable_api_ms_win_core_registryuserspecific_l1_1_0
936 enable_api_ms_win_core_rtlsupport_l1_1_0
937 enable_api_ms_win_core_rtlsupport_l1_2_0
938 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
939 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
940 enable_api_ms_win_core_sidebyside_l1_1_0
941 enable_api_ms_win_core_string_l1_1_0
942 enable_api_ms_win_core_string_l2_1_0
943 enable_api_ms_win_core_string_obsolete_l1_1_0
944 enable_api_ms_win_core_stringansi_l1_1_0
945 enable_api_ms_win_core_synch_l1_1_0
946 enable_api_ms_win_core_synch_l1_2_0
947 enable_api_ms_win_core_sysinfo_l1_1_0
948 enable_api_ms_win_core_sysinfo_l1_2_0
949 enable_api_ms_win_core_sysinfo_l1_2_1
950 enable_api_ms_win_core_threadpool_l1_2_0
951 enable_api_ms_win_core_threadpool_legacy_l1_1_0
952 enable_api_ms_win_core_timezone_l1_1_0
953 enable_api_ms_win_core_toolhelp_l1_1_0
954 enable_api_ms_win_core_url_l1_1_0
955 enable_api_ms_win_core_util_l1_1_0
956 enable_api_ms_win_core_version_l1_1_0
957 enable_api_ms_win_core_versionansi_l1_1_0
958 enable_api_ms_win_core_winrt_error_l1_1_0
959 enable_api_ms_win_core_winrt_error_l1_1_1
960 enable_api_ms_win_core_winrt_l1_1_0
961 enable_api_ms_win_core_winrt_registration_l1_1_0
962 enable_api_ms_win_core_winrt_string_l1_1_0
963 enable_api_ms_win_core_wow64_l1_1_0
964 enable_api_ms_win_core_xstate_l2_1_0
965 enable_api_ms_win_crt_conio_l1_1_0
966 enable_api_ms_win_crt_convert_l1_1_0
967 enable_api_ms_win_crt_environment_l1_1_0
968 enable_api_ms_win_crt_filesystem_l1_1_0
969 enable_api_ms_win_crt_heap_l1_1_0
970 enable_api_ms_win_crt_locale_l1_1_0
971 enable_api_ms_win_crt_math_l1_1_0
972 enable_api_ms_win_crt_multibyte_l1_1_0
973 enable_api_ms_win_crt_private_l1_1_0
974 enable_api_ms_win_crt_process_l1_1_0
975 enable_api_ms_win_crt_runtime_l1_1_0
976 enable_api_ms_win_crt_stdio_l1_1_0
977 enable_api_ms_win_crt_string_l1_1_0
978 enable_api_ms_win_crt_time_l1_1_0
979 enable_api_ms_win_crt_utility_l1_1_0
980 enable_api_ms_win_downlevel_advapi32_l1_1_0
981 enable_api_ms_win_downlevel_advapi32_l2_1_0
982 enable_api_ms_win_downlevel_normaliz_l1_1_0
983 enable_api_ms_win_downlevel_ole32_l1_1_0
984 enable_api_ms_win_downlevel_shell32_l1_1_0
985 enable_api_ms_win_downlevel_shlwapi_l1_1_0
986 enable_api_ms_win_downlevel_shlwapi_l2_1_0
987 enable_api_ms_win_downlevel_user32_l1_1_0
988 enable_api_ms_win_downlevel_version_l1_1_0
989 enable_api_ms_win_eventing_classicprovider_l1_1_0
990 enable_api_ms_win_eventing_provider_l1_1_0
991 enable_api_ms_win_eventlog_legacy_l1_1_0
992 enable_api_ms_win_ntuser_dc_access_l1_1_0
993 enable_api_ms_win_security_base_l1_1_0
994 enable_api_ms_win_security_base_l1_2_0
995 enable_api_ms_win_security_lsalookup_l1_1_0
996 enable_api_ms_win_security_lsalookup_l1_1_1
997 enable_api_ms_win_security_sddl_l1_1_0
998 enable_api_ms_win_service_core_l1_1_1
999 enable_api_ms_win_service_management_l1_1_0
1000 enable_api_ms_win_service_winsvc_l1_2_0
1001 enable_api_ms_win_shell_shellfolders_l1_1_0
1014 enable_bluetoothapis
1047 enable_d3dcompiler_33
1048 enable_d3dcompiler_34
1049 enable_d3dcompiler_35
1050 enable_d3dcompiler_36
1051 enable_d3dcompiler_37
1052 enable_d3dcompiler_38
1053 enable_d3dcompiler_39
1054 enable_d3dcompiler_40
1055 enable_d3dcompiler_41
1056 enable_d3dcompiler_42
1057 enable_d3dcompiler_43
1058 enable_d3dcompiler_46
1059 enable_d3dcompiler_47
1137 enable_explorerframe
1138 enable_ext_ms_win_gdi_devcaps_l1_1_0
1304 enable_photometadatahandler
1394 enable_windowscodecs
1395 enable_windowscodecsext
1398 enable_winecoreaudio_drv
1400 enable_winegstreamer
1401 enable_winejoystick_drv
1407 enable_winepulse_drv
1408 enable_wineqtdecoder
1477 enable_aspnet_regiis
1513 enable_presentationfontcache
1526 enable_servicemodelreg
1548 enable_winemenubuilder
1550 enable_winemsibuilder
1565 ac_precious_vars
='build_alias
1620 # Initialize some variables set by options.
1622 ac_init_version
=false
1623 ac_unrecognized_opts
=
1624 ac_unrecognized_sep
=
1625 # The variables have the same names as the options, with
1626 # dashes changed to underlines.
1627 cache_file
=/dev
/null
1634 program_transform_name
=s
,x
,x
,
1642 # Installation directory options.
1643 # These are left unexpanded so users can "make install exec_prefix=/foo"
1644 # and all the variables that are supposed to be based on exec_prefix
1645 # by default will actually change.
1646 # Use braces instead of parens because sh, perl, etc. also accept them.
1647 # (The list follows the same order as the GNU Coding Standards.)
1648 bindir
='${exec_prefix}/bin'
1649 sbindir
='${exec_prefix}/sbin'
1650 libexecdir
='${exec_prefix}/libexec'
1651 datarootdir
='${prefix}/share'
1652 datadir
='${datarootdir}'
1653 sysconfdir
='${prefix}/etc'
1654 sharedstatedir
='${prefix}/com'
1655 localstatedir
='${prefix}/var'
1656 runstatedir
='${localstatedir}/run'
1657 includedir
='${prefix}/include'
1658 oldincludedir
='/usr/include'
1659 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1660 infodir
='${datarootdir}/info'
1665 libdir
='${exec_prefix}/lib'
1666 localedir
='${datarootdir}/locale'
1667 mandir
='${datarootdir}/man'
1673 # If the previous option needs an argument, assign it.
1674 if test -n "$ac_prev"; then
1675 eval $ac_prev=\
$ac_option
1681 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1686 # Accept the important Cygnus configure options, so we can diagnose typos.
1688 case $ac_dashdash$ac_option in
1692 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1694 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1695 bindir
=$ac_optarg ;;
1697 -build |
--build |
--buil |
--bui |
--bu)
1698 ac_prev
=build_alias
;;
1699 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1700 build_alias
=$ac_optarg ;;
1702 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1703 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1704 ac_prev
=cache_file
;;
1705 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1706 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1707 cache_file
=$ac_optarg ;;
1709 --config-cache |
-C)
1710 cache_file
=config.cache
;;
1712 -datadir |
--datadir |
--datadi |
--datad)
1714 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1715 datadir
=$ac_optarg ;;
1717 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1718 |
--dataroo |
--dataro |
--datar)
1719 ac_prev
=datarootdir
;;
1720 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1721 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1722 datarootdir
=$ac_optarg ;;
1724 -disable-* |
--disable-*)
1725 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1726 # Reject names that are not valid shell variable names.
1727 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1728 as_fn_error $?
"invalid feature name: $ac_useropt"
1729 ac_useropt_orig
=$ac_useropt
1730 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1731 case $ac_user_opts in
1733 "enable_
$ac_useropt"
1735 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1736 ac_unrecognized_sep
=', ';;
1738 eval enable_
$ac_useropt=no
;;
1740 -docdir |
--docdir |
--docdi |
--doc |
--do)
1742 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1743 docdir
=$ac_optarg ;;
1745 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1747 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1748 dvidir
=$ac_optarg ;;
1750 -enable-* |
--enable-*)
1751 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1752 # Reject names that are not valid shell variable names.
1753 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1754 as_fn_error $?
"invalid feature name: $ac_useropt"
1755 ac_useropt_orig
=$ac_useropt
1756 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1757 case $ac_user_opts in
1759 "enable_
$ac_useropt"
1761 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1762 ac_unrecognized_sep
=', ';;
1764 eval enable_
$ac_useropt=\
$ac_optarg ;;
1766 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1767 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1768 |
--exec |
--exe |
--ex)
1769 ac_prev
=exec_prefix
;;
1770 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1771 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1772 |
--exec=* |
--exe=* |
--ex=*)
1773 exec_prefix
=$ac_optarg ;;
1775 -gas |
--gas |
--ga |
--g)
1776 # Obsolete; use --with-gas.
1779 -help |
--help |
--hel |
--he |
-h)
1780 ac_init_help
=long
;;
1781 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1782 ac_init_help
=recursive
;;
1783 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1784 ac_init_help
=short
;;
1786 -host |
--host |
--hos |
--ho)
1787 ac_prev
=host_alias
;;
1788 -host=* |
--host=* |
--hos=* |
--ho=*)
1789 host_alias
=$ac_optarg ;;
1791 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1793 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1795 htmldir
=$ac_optarg ;;
1797 -includedir |
--includedir |
--includedi |
--included |
--include \
1798 |
--includ |
--inclu |
--incl |
--inc)
1799 ac_prev
=includedir
;;
1800 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1801 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1802 includedir
=$ac_optarg ;;
1804 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1806 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1807 infodir
=$ac_optarg ;;
1809 -libdir |
--libdir |
--libdi |
--libd)
1811 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1812 libdir
=$ac_optarg ;;
1814 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1815 |
--libexe |
--libex |
--libe)
1816 ac_prev
=libexecdir
;;
1817 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1818 |
--libexe=* |
--libex=* |
--libe=*)
1819 libexecdir
=$ac_optarg ;;
1821 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1822 ac_prev
=localedir
;;
1823 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1824 localedir
=$ac_optarg ;;
1826 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1827 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1828 ac_prev
=localstatedir
;;
1829 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1830 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1831 localstatedir
=$ac_optarg ;;
1833 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1835 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1836 mandir
=$ac_optarg ;;
1838 -nfp |
--nfp |
--nf)
1839 # Obsolete; use --without-fp.
1842 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1843 |
--no-cr |
--no-c |
-n)
1846 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1847 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1850 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1851 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1852 |
--oldin |
--oldi |
--old |
--ol |
--o)
1853 ac_prev
=oldincludedir
;;
1854 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1855 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1856 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1857 oldincludedir
=$ac_optarg ;;
1859 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1861 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1862 prefix
=$ac_optarg ;;
1864 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1865 |
--program-pre |
--program-pr |
--program-p)
1866 ac_prev
=program_prefix
;;
1867 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1868 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1869 program_prefix
=$ac_optarg ;;
1871 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1872 |
--program-suf |
--program-su |
--program-s)
1873 ac_prev
=program_suffix
;;
1874 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1875 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1876 program_suffix
=$ac_optarg ;;
1878 -program-transform-name |
--program-transform-name \
1879 |
--program-transform-nam |
--program-transform-na \
1880 |
--program-transform-n |
--program-transform- \
1881 |
--program-transform |
--program-transfor \
1882 |
--program-transfo |
--program-transf \
1883 |
--program-trans |
--program-tran \
1884 |
--progr-tra |
--program-tr |
--program-t)
1885 ac_prev
=program_transform_name
;;
1886 -program-transform-name=* |
--program-transform-name=* \
1887 |
--program-transform-nam=* |
--program-transform-na=* \
1888 |
--program-transform-n=* |
--program-transform-=* \
1889 |
--program-transform=* |
--program-transfor=* \
1890 |
--program-transfo=* |
--program-transf=* \
1891 |
--program-trans=* |
--program-tran=* \
1892 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1893 program_transform_name
=$ac_optarg ;;
1895 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1897 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1898 pdfdir
=$ac_optarg ;;
1900 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1902 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1905 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1906 |
-silent |
--silent |
--silen |
--sile |
--sil)
1909 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
1910 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
1911 |
--run |
--ru |
--r)
1912 ac_prev
=runstatedir
;;
1913 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
1914 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
1915 |
--run=* |
--ru=* |
--r=*)
1916 runstatedir
=$ac_optarg ;;
1918 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1920 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1922 sbindir
=$ac_optarg ;;
1924 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1925 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1926 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1928 ac_prev
=sharedstatedir
;;
1929 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1930 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1931 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1933 sharedstatedir
=$ac_optarg ;;
1935 -site |
--site |
--sit)
1937 -site=* |
--site=* |
--sit=*)
1940 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1942 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1943 srcdir
=$ac_optarg ;;
1945 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1946 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1947 ac_prev
=sysconfdir
;;
1948 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1949 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1950 sysconfdir
=$ac_optarg ;;
1952 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1953 ac_prev
=target_alias
;;
1954 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1955 target_alias
=$ac_optarg ;;
1957 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1960 -version |
--version |
--versio |
--versi |
--vers |
-V)
1961 ac_init_version
=: ;;
1964 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1965 # Reject names that are not valid shell variable names.
1966 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1967 as_fn_error $?
"invalid package name: $ac_useropt"
1968 ac_useropt_orig
=$ac_useropt
1969 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1970 case $ac_user_opts in
1974 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1975 ac_unrecognized_sep
=', ';;
1977 eval with_
$ac_useropt=\
$ac_optarg ;;
1979 -without-* |
--without-*)
1980 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1981 # Reject names that are not valid shell variable names.
1982 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1983 as_fn_error $?
"invalid package name: $ac_useropt"
1984 ac_useropt_orig
=$ac_useropt
1985 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1986 case $ac_user_opts in
1990 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1991 ac_unrecognized_sep
=', ';;
1993 eval with_
$ac_useropt=no
;;
1996 # Obsolete; use --with-x.
1999 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
2000 |
--x-incl |
--x-inc |
--x-in |
--x-i)
2001 ac_prev
=x_includes
;;
2002 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
2003 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
2004 x_includes
=$ac_optarg ;;
2006 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
2007 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
2008 ac_prev
=x_libraries
;;
2009 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
2010 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
2011 x_libraries
=$ac_optarg ;;
2013 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
2014 Try \`$0 --help' for more information"
2018 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
2019 # Reject names that are not valid shell variable names.
2020 case $ac_envvar in #(
2021 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
2022 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
2024 eval $ac_envvar=\
$ac_optarg
2025 export $ac_envvar ;;
2028 # FIXME: should be removed in autoconf 3.0.
2029 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2030 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
2031 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2032 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2038 if test -n "$ac_prev"; then
2039 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
2040 as_fn_error $?
"missing argument to $ac_option"
2043 if test -n "$ac_unrecognized_opts"; then
2044 case $enable_option_checking in
2046 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
2047 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2051 # Check all directory arguments for consistency.
2052 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2053 datadir sysconfdir sharedstatedir localstatedir includedir \
2054 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2055 libdir localedir mandir runstatedir
2057 eval ac_val
=\$
$ac_var
2058 # Remove trailing slashes.
2061 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2062 eval $ac_var=\
$ac_val;;
2064 # Be sure to have absolute directory names.
2066 [\\/$
]* | ?
:[\\/]* ) continue;;
2067 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2069 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2072 # There might be people who depend on the old broken behavior: `$host'
2073 # used to hold the argument of --host etc.
2074 # FIXME: To remove some day.
2077 target
=$target_alias
2079 # FIXME: To remove some day.
2080 if test "x$host_alias" != x
; then
2081 if test "x$build_alias" = x
; then
2082 cross_compiling
=maybe
2083 elif test "x$build_alias" != "x$host_alias"; then
2089 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2091 test "$silent" = yes && exec 6>/dev
/null
2094 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2095 ac_ls_di
=`ls -di .` &&
2096 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2097 as_fn_error $?
"working directory cannot be determined"
2098 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2099 as_fn_error $?
"pwd does not report name of working directory"
2102 # Find the source files, if location was not specified.
2103 if test -z "$srcdir"; then
2104 ac_srcdir_defaulted
=yes
2105 # Try the directory containing this script, then the parent directory.
2106 ac_confdir
=`$as_dirname -- "$as_myself" ||
2107 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2108 X"$as_myself" : 'X\(//\)[^/]' \| \
2109 X"$as_myself" : 'X\(//\)$' \| \
2110 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2111 $as_echo X"$as_myself" |
2112 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2130 if test ! -r "$srcdir/$ac_unique_file"; then
2134 ac_srcdir_defaulted
=no
2136 if test ! -r "$srcdir/$ac_unique_file"; then
2137 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2138 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2140 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2142 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2144 # When building in place, set srcdir=.
2145 if test "$ac_abs_confdir" = "$ac_pwd"; then
2148 # Remove unnecessary trailing slashes from srcdir.
2149 # Double slashes in file names in object file debugging info
2150 # mess up M-x gdb in Emacs.
2152 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2154 for ac_var
in $ac_precious_vars; do
2155 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2156 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2157 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2158 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2162 # Report the --help message.
2164 if test "$ac_init_help" = "long"; then
2165 # Omit some internal or obsolete options to make the list less imposing.
2166 # This message is too long to be a string in the A/UX 3.1 sh.
2168 \`configure' configures Wine 1.9.18 to adapt to many kinds of systems.
2170 Usage: $0 [OPTION]... [VAR=VALUE]...
2172 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2173 VAR=VALUE. See below for descriptions of some of the useful variables.
2175 Defaults for the options are specified in brackets.
2178 -h, --help display this help and exit
2179 --help=short display options specific to this package
2180 --help=recursive display the short help of all the included packages
2181 -V, --version display version information and exit
2182 -q, --quiet, --silent do not print \`checking ...' messages
2183 --cache-file=FILE cache test results in FILE [disabled]
2184 -C, --config-cache alias for \`--cache-file=config.cache'
2185 -n, --no-create do not create output files
2186 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2188 Installation directories:
2189 --prefix=PREFIX install architecture-independent files in PREFIX
2190 [$ac_default_prefix]
2191 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2194 By default, \`make install' will install all the files in
2195 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2196 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2197 for instance \`--prefix=\$HOME'.
2199 For better control, use the options below.
2201 Fine tuning of the installation directories:
2202 --bindir=DIR user executables [EPREFIX/bin]
2203 --sbindir=DIR system admin executables [EPREFIX/sbin]
2204 --libexecdir=DIR program executables [EPREFIX/libexec]
2205 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2206 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2207 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2208 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2209 --libdir=DIR object code libraries [EPREFIX/lib]
2210 --includedir=DIR C header files [PREFIX/include]
2211 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2212 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2213 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2214 --infodir=DIR info documentation [DATAROOTDIR/info]
2215 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2216 --mandir=DIR man documentation [DATAROOTDIR/man]
2217 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2218 --htmldir=DIR html documentation [DOCDIR]
2219 --dvidir=DIR dvi documentation [DOCDIR]
2220 --pdfdir=DIR pdf documentation [DOCDIR]
2221 --psdir=DIR ps documentation [DOCDIR]
2227 --x-includes=DIR X include files are
in DIR
2228 --x-libraries=DIR X library files are
in DIR
2231 --build=BUILD configure
for building on BUILD
[guessed
]
2232 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2236 if test -n "$ac_init_help"; then
2237 case $ac_init_help in
2238 short | recursive
) echo "Configuration of Wine 1.9.18:";;
2243 --disable-option-checking ignore unrecognized
--enable/--with options
2244 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2245 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2246 --disable-win16 do not include Win16 support
2247 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2249 --disable-tests do not build the regression tests
2250 --enable-maintainer-mode
2251 enable maintainer-specific build rules
2252 --disable-largefile omit support for large files
2255 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2256 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2257 --without-alsa do not use the Alsa sound support
2258 --without-capi do not use CAPI (ISDN support)
2259 --without-cms do not use CMS (color management support)
2260 --without-coreaudio do not use the CoreAudio sound support
2261 --without-cups do not use CUPS
2262 --without-curses do not use (n)curses
2263 --without-dbus do not use DBus (dynamic device support)
2264 --without-fontconfig do not use fontconfig
2265 --without-freetype do not use the FreeType library
2266 --without-gettext do not use gettext
2267 --with-gettextpo use the GetTextPO library to rebuild po files
2268 --without-gphoto do not use gphoto (Digital Camera support)
2269 --without-glu do not use the GLU library
2270 --without-gnutls do not use GnuTLS (schannel support)
2271 --without-gsm do not use libgsm (GSM 06.10 codec support)
2272 --without-gstreamer do not use GStreamer (codecs support)
2273 --without-hal do not use HAL (dynamic device support)
2274 --without-jpeg do not use JPEG
2275 --without-ldap do not use LDAP
2276 --without-mpg123 do not use the mpg123 library
2277 --without-netapi do not use the Samba NetAPI library
2278 --without-openal do not use OpenAL
2279 --without-opencl do not use OpenCL
2280 --without-opengl do not use OpenGL
2281 --without-osmesa do not use the OSMesa library
2282 --without-oss do not use the OSS sound support
2283 --without-pcap do not use the Packet Capture library
2284 --without-png do not use PNG
2285 --without-pthread do not use the pthread library
2286 --without-pulse do not use PulseAudio sound support
2287 --without-sane do not use SANE (scanner support)
2288 --without-tiff do not use TIFF
2289 --without-udev do not use udev (plug and play support)
2290 --without-v4l do not use v4l1 (v4l support)
2291 --without-xcomposite do not use the Xcomposite extension
2292 --without-xcursor do not use the Xcursor extension
2293 --without-xinerama do not use Xinerama (multi-monitor support)
2294 --without-xinput do not use the Xinput extension
2295 --without-xinput2 do not use the Xinput 2 extension
2296 --without-xml do not use XML
2297 --without-xrandr do not use Xrandr (resolution changes)
2298 --without-xrender do not use the Xrender extension
2299 --without-xshape do not use the Xshape extension
2300 --without-xshm do not use XShm (shared memory extension)
2301 --without-xslt do not use XSLT
2302 --without-xxf86vm do not use XFree video mode extension
2303 --without-zlib do not use Zlib (data compression)
2304 --with-wine-tools=DIR use Wine tools from directory DIR
2305 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2306 --with-x use the X Window System
2308 Some influential environment variables:
2309 CC C compiler command
2310 CFLAGS C compiler flags
2311 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2312 nonstandard directory <lib dir>
2313 LIBS libraries to pass to the linker, e.g. -l<library>
2314 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2315 you have headers in a nonstandard directory <include dir>
2316 CXX C++ compiler command
2317 CXXFLAGS C++ compiler flags
2319 XMKMF Path to xmkmf, Makefile generator for X Window System
2320 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2321 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2322 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2323 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2324 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2325 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2326 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2327 HAL_LIBS Linker flags for hal, overriding pkg-config
2329 C compiler flags for gnutls, overriding pkg-config
2330 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2331 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2332 SANE_LIBS Linker flags for libsane, overriding pkg-config
2334 C compiler flags for libgphoto2, overriding pkg-config
2336 Linker flags for libgphoto2, overriding pkg-config
2338 C compiler flags for libgphoto2_port, overriding pkg-config
2340 Linker flags for libgphoto2_port, overriding pkg-config
2342 C compiler flags for lcms2, overriding pkg-config
2343 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2345 C compiler flags for freetype2, overriding pkg-config
2347 Linker flags for freetype2, overriding pkg-config
2349 C compiler flags for libpulse, overriding pkg-config
2350 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2352 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2353 gstreamer-audio-1.0, overriding pkg-config
2355 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2356 gstreamer-audio-1.0, overriding pkg-config
2357 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2358 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2360 C compiler flags for capi20, overriding pkg-config
2361 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2363 C compiler flags for fontconfig, overriding pkg-config
2365 Linker flags for fontconfig, overriding pkg-config
2366 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2367 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2368 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2369 PNG_LIBS Linker flags for libpng, overriding pkg-config
2370 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2371 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2373 C compiler flags for libmpg123, overriding pkg-config
2374 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2376 C compiler flags for netapi, overriding pkg-config
2377 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2379 Use these variables to override the choices made by `configure' or to
help
2380 it to
find libraries and programs with nonstandard names
/locations.
2382 Report bugs to
<wine-devel@winehq.org
>.
2383 Wine home page
: <http
://www.winehq.org
>.
2388 if test "$ac_init_help" = "recursive"; then
2389 # If there are subdirs, report their specific --help.
2390 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2391 test -d "$ac_dir" ||
2392 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2397 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2399 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2400 # A ".." for each directory in $ac_dir_suffix.
2401 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2402 case $ac_top_builddir_sub in
2403 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2404 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2407 ac_abs_top_builddir
=$ac_pwd
2408 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2409 # for backward compatibility:
2410 ac_top_builddir
=$ac_top_build_prefix
2413 .
) # We are building in place.
2415 ac_top_srcdir
=$ac_top_builddir_sub
2416 ac_abs_top_srcdir
=$ac_pwd ;;
2417 [\\/]* | ?
:[\\/]* ) # Absolute name.
2418 ac_srcdir
=$srcdir$ac_dir_suffix;
2419 ac_top_srcdir
=$srcdir
2420 ac_abs_top_srcdir
=$srcdir ;;
2422 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2423 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2424 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2426 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2428 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2429 # Check for guested configure.
2430 if test -f "$ac_srcdir/configure.gnu"; then
2432 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2433 elif test -f "$ac_srcdir/configure"; then
2435 $SHELL "$ac_srcdir/configure" --help=recursive
2437 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2439 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2443 test -n "$ac_init_help" && exit $ac_status
2444 if $ac_init_version; then
2446 Wine configure
1.9.18
2447 generated by GNU Autoconf
2.69
2449 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2450 This configure
script is free software
; the Free Software Foundation
2451 gives unlimited permission to copy
, distribute and modify it.
2456 ## ------------------------ ##
2457 ## Autoconf initialization. ##
2458 ## ------------------------ ##
2460 # ac_fn_c_try_compile LINENO
2461 # --------------------------
2462 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2463 ac_fn_c_try_compile
()
2465 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2466 rm -f conftest.
$ac_objext
2467 if { { ac_try
="$ac_compile"
2469 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2470 *) ac_try_echo=$ac_try;;
2472 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2473 $as_echo "$ac_try_echo"; } >&5
2474 (eval "$ac_compile") 2>conftest.err
2476 if test -s conftest.err; then
2477 grep -v '^ *+' conftest.err >conftest.er1
2478 cat conftest.er1 >&5
2479 mv -f conftest.er1 conftest.err
2481 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2482 test $ac_status = 0; } && {
2483 test -z "$ac_c_werror_flag" ||
2484 test ! -s conftest.err
2485 } && test -s conftest.$ac_objext; then :
2488 $as_echo "$as_me: failed program was:" >&5
2489 sed 's/^/| /' conftest.$ac_ext >&5
2493 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2494 as_fn_set_status $ac_retval
2496 } # ac_fn_c_try_compile
2498 # ac_fn_cxx_try_compile LINENO
2499 # ----------------------------
2500 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2501 ac_fn_cxx_try_compile ()
2503 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2504 rm -f conftest.$ac_objext
2505 if { { ac_try="$ac_compile"
2507 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2508 *) ac_try_echo
=$ac_try;;
2510 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2511 $as_echo "$ac_try_echo"; } >&5
2512 (eval "$ac_compile") 2>conftest.err
2514 if test -s conftest.err
; then
2515 grep -v '^ *+' conftest.err
>conftest.er1
2516 cat conftest.er1
>&5
2517 mv -f conftest.er1 conftest.err
2519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2520 test $ac_status = 0; } && {
2521 test -z "$ac_cxx_werror_flag" ||
2522 test ! -s conftest.err
2523 } && test -s conftest.
$ac_objext; then :
2526 $as_echo "$as_me: failed program was:" >&5
2527 sed 's/^/| /' conftest.
$ac_ext >&5
2531 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2532 as_fn_set_status
$ac_retval
2534 } # ac_fn_cxx_try_compile
2536 # ac_fn_c_try_link LINENO
2537 # -----------------------
2538 # Try to link conftest.$ac_ext, and return whether this succeeded.
2541 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2542 rm -f conftest.
$ac_objext conftest
$ac_exeext
2543 if { { ac_try
="$ac_link"
2545 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2546 *) ac_try_echo=$ac_try;;
2548 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2549 $as_echo "$ac_try_echo"; } >&5
2550 (eval "$ac_link") 2>conftest.err
2552 if test -s conftest.err; then
2553 grep -v '^ *+' conftest.err >conftest.er1
2554 cat conftest.er1 >&5
2555 mv -f conftest.er1 conftest.err
2557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2558 test $ac_status = 0; } && {
2559 test -z "$ac_c_werror_flag" ||
2560 test ! -s conftest.err
2561 } && test -s conftest$ac_exeext && {
2562 test "$cross_compiling" = yes ||
2563 test -x conftest$ac_exeext
2567 $as_echo "$as_me: failed program was:" >&5
2568 sed 's/^/| /' conftest.$ac_ext >&5
2572 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2573 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2574 # interfere with the next link command; also delete a directory that is
2575 # left behind by Apple's compiler. We do this before executing the actions.
2576 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2577 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2578 as_fn_set_status $ac_retval
2580 } # ac_fn_c_try_link
2582 # ac_fn_c_try_cpp LINENO
2583 # ----------------------
2584 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2587 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2588 if { { ac_try="$ac_cpp conftest.$ac_ext"
2590 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2591 *) ac_try_echo
=$ac_try;;
2593 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2594 $as_echo "$ac_try_echo"; } >&5
2595 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2597 if test -s conftest.err
; then
2598 grep -v '^ *+' conftest.err
>conftest.er1
2599 cat conftest.er1
>&5
2600 mv -f conftest.er1 conftest.err
2602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2603 test $ac_status = 0; } > conftest.i
&& {
2604 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2605 test ! -s conftest.err
2609 $as_echo "$as_me: failed program was:" >&5
2610 sed 's/^/| /' conftest.
$ac_ext >&5
2614 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2615 as_fn_set_status
$ac_retval
2619 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2620 # -------------------------------------------------------
2621 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2622 # the include files in INCLUDES and setting the cache variable VAR
2624 ac_fn_c_check_header_mongrel
()
2626 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2627 if eval \
${$3+:} false
; then :
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2629 $as_echo_n "checking for $2... " >&6; }
2630 if eval \
${$3+:} false
; then :
2631 $as_echo_n "(cached) " >&6
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2635 $as_echo "$ac_res" >&6; }
2637 # Is the header compilable?
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2639 $as_echo_n "checking $2 usability... " >&6; }
2640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2641 /* end confdefs.h. */
2645 if ac_fn_c_try_compile
"$LINENO"; then :
2646 ac_header_compiler
=yes
2648 ac_header_compiler
=no
2650 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2652 $as_echo "$ac_header_compiler" >&6; }
2654 # Is the header present?
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2656 $as_echo_n "checking $2 presence... " >&6; }
2657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2658 /* end confdefs.h. */
2661 if ac_fn_c_try_cpp
"$LINENO"; then :
2662 ac_header_preproc
=yes
2664 ac_header_preproc
=no
2666 rm -f conftest.err conftest.i conftest.
$ac_ext
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2668 $as_echo "$ac_header_preproc" >&6; }
2670 # So? What about this header?
2671 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2674 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2676 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2680 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2682 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2684 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2686 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2688 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2689 ( $as_echo "## ------------------------------------ ##
2690 ## Report this to wine-devel@winehq.org ##
2691 ## ------------------------------------ ##"
2692 ) |
sed "s/^/$as_me: WARNING: /" >&2
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2696 $as_echo_n "checking for $2... " >&6; }
2697 if eval \
${$3+:} false
; then :
2698 $as_echo_n "(cached) " >&6
2700 eval "$3=\$ac_header_compiler"
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2704 $as_echo "$ac_res" >&6; }
2706 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2708 } # ac_fn_c_check_header_mongrel
2710 # ac_fn_c_try_run LINENO
2711 # ----------------------
2712 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2713 # that executables *can* be run.
2716 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2717 if { { ac_try
="$ac_link"
2719 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2720 *) ac_try_echo=$ac_try;;
2722 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2723 $as_echo "$ac_try_echo"; } >&5
2724 (eval "$ac_link") 2>&5
2726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2727 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2728 { { case "(($ac_try" in
2729 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2730 *) ac_try_echo
=$ac_try;;
2732 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2733 $as_echo "$ac_try_echo"; } >&5
2734 (eval "$ac_try") 2>&5
2736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2737 test $ac_status = 0; }; }; then :
2740 $as_echo "$as_me: program exited with status $ac_status" >&5
2741 $as_echo "$as_me: failed program was:" >&5
2742 sed 's/^/| /' conftest.
$ac_ext >&5
2744 ac_retval
=$ac_status
2746 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2747 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2748 as_fn_set_status
$ac_retval
2752 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2753 # -------------------------------------------------------
2754 # Tests whether HEADER exists and can be compiled using the include files in
2755 # INCLUDES, setting the cache variable VAR accordingly.
2756 ac_fn_c_check_header_compile
()
2758 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2760 $as_echo_n "checking for $2... " >&6; }
2761 if eval \
${$3+:} false
; then :
2762 $as_echo_n "(cached) " >&6
2764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2765 /* end confdefs.h. */
2769 if ac_fn_c_try_compile
"$LINENO"; then :
2774 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2778 $as_echo "$ac_res" >&6; }
2779 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2781 } # ac_fn_c_check_header_compile
2783 # ac_fn_c_check_func LINENO FUNC VAR
2784 # ----------------------------------
2785 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2786 ac_fn_c_check_func
()
2788 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2790 $as_echo_n "checking for $2... " >&6; }
2791 if eval \
${$3+:} false
; then :
2792 $as_echo_n "(cached) " >&6
2794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2795 /* end confdefs.h. */
2796 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2798 #define $2 innocuous_$2
2800 /* System header to define __stub macros and hopefully few prototypes,
2801 which can conflict with char $2 (); below.
2802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2803 <limits.h> exists even on freestanding compilers. */
2806 # include <limits.h>
2808 # include <assert.h>
2813 /* Override any GCC internal prototype to avoid an error.
2814 Use char because int might match the return type of a GCC
2815 builtin and then its argument prototype would still apply. */
2820 /* The GNU C library defines this for functions which it implements
2821 to always fail with ENOSYS. Some functions are actually named
2822 something starting with __ and the normal name is an alias. */
2823 #if defined __stub_$2 || defined __stub___$2
2835 if ac_fn_c_try_link
"$LINENO"; then :
2840 rm -f core conftest.err conftest.
$ac_objext \
2841 conftest
$ac_exeext conftest.
$ac_ext
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2845 $as_echo "$ac_res" >&6; }
2846 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2848 } # ac_fn_c_check_func
2850 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2851 # ----------------------------------------------------
2852 # Tries to find if the field MEMBER exists in type AGGR, after including
2853 # INCLUDES, setting cache variable VAR accordingly.
2854 ac_fn_c_check_member
()
2856 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2858 $as_echo_n "checking for $2.$3... " >&6; }
2859 if eval \
${$4+:} false
; then :
2860 $as_echo_n "(cached) " >&6
2862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2863 /* end confdefs.h. */
2875 if ac_fn_c_try_compile
"$LINENO"; then :
2878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2879 /* end confdefs.h. */
2885 if (sizeof ac_aggr.$3)
2891 if ac_fn_c_try_compile
"$LINENO"; then :
2896 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2898 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2902 $as_echo "$ac_res" >&6; }
2903 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2905 } # ac_fn_c_check_member
2907 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2908 # -------------------------------------------
2909 # Tests whether TYPE exists after having included INCLUDES, setting cache
2910 # variable VAR accordingly.
2911 ac_fn_c_check_type
()
2913 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2915 $as_echo_n "checking for $2... " >&6; }
2916 if eval \
${$3+:} false
; then :
2917 $as_echo_n "(cached) " >&6
2920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2921 /* end confdefs.h. */
2932 if ac_fn_c_try_compile
"$LINENO"; then :
2933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2934 /* end confdefs.h. */
2945 if ac_fn_c_try_compile
"$LINENO"; then :
2950 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2952 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2956 $as_echo "$ac_res" >&6; }
2957 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2959 } # ac_fn_c_check_type
2960 cat >config.log
<<_ACEOF
2961 This file contains any messages produced by compilers while
2962 running configure, to aid debugging if configure makes a mistake.
2964 It was created by Wine $as_me 1.9.18, which was
2965 generated by GNU Autoconf 2.69. Invocation command line was
2977 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2978 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2979 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2980 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2981 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2983 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2984 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2986 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2987 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2988 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2989 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2990 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2991 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2992 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3000 test -z "$as_dir" && as_dir
=.
3001 $as_echo "PATH: $as_dir"
3017 # Keep a trace of the command line.
3018 # Strip out --no-create and --no-recursion so they do not pile up.
3019 # Strip out --silent because we don't want to record it for future runs.
3020 # Also quote any args containing shell meta-characters.
3021 # Make two passes to allow for proper duplicate-argument suppression.
3025 ac_must_keep_next
=false
3031 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
3032 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
3033 |
-silent |
--silent |
--silen |
--sile |
--sil)
3036 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3039 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
3041 as_fn_append ac_configure_args1
" '$ac_arg'"
3042 if test $ac_must_keep_next = true
; then
3043 ac_must_keep_next
=false
# Got value, back to normal.
3046 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
3047 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
3048 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
3049 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
3050 case "$ac_configure_args0 " in
3051 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3054 -* ) ac_must_keep_next
=true
;;
3057 as_fn_append ac_configure_args
" '$ac_arg'"
3062 { ac_configure_args0
=; unset ac_configure_args0
;}
3063 { ac_configure_args1
=; unset ac_configure_args1
;}
3065 # When interrupted or exit'd, cleanup temporary files, and complete
3066 # config.log. We remove comments because anyway the quotes in there
3067 # would cause problems or look ugly.
3068 # WARNING: Use '\'' to represent an apostrophe within the trap.
3069 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3070 trap 'exit_status=$?
3071 # Save into config.log some information that might help in debugging.
3075 $as_echo "## ---------------- ##
3076 ## Cache variables. ##
3077 ## ---------------- ##"
3079 # The following way of writing the cache mishandles newlines in values,
3081 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3082 eval ac_val=\$$ac_var
3086 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3087 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3090 _ | IFS | as_nl) ;; #(
3091 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3092 *) { eval $ac_var=; unset $ac_var;} ;;
3097 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3098 *${as_nl}ac_space=\ *)
3100 "s/'\''/'\''\\\\'\'''\''/g;
3101 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3104 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3111 $as_echo "## ----------------- ##
3112 ## Output variables. ##
3113 ## ----------------- ##"
3115 for ac_var in $ac_subst_vars
3117 eval ac_val=\$$ac_var
3119 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3121 $as_echo "$ac_var='\''$ac_val'\''"
3125 if test -n "$ac_subst_files"; then
3126 $as_echo "## ------------------- ##
3127 ## File substitutions. ##
3128 ## ------------------- ##"
3130 for ac_var
in $ac_subst_files
3132 eval ac_val
=\$
$ac_var
3134 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3136 $as_echo "$ac_var='\''$ac_val'\''"
3141 if test -s confdefs.h; then
3142 $as_echo "## ----------- ##
3149 test "$ac_signal" != 0 &&
3150 $as_echo "$as_me: caught signal $ac_signal"
3151 $as_echo "$as_me: exit $exit_status"
3153 rm -f core *.core core.conftest.* &&
3154 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3157 for ac_signal
in 1 2 13 15; do
3158 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3162 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3163 rm -f -r conftest
* confdefs.h
3165 $as_echo "/* confdefs.h */" > confdefs.h
3167 # Predefined preprocessor variables.
3169 cat >>confdefs.h
<<_ACEOF
3170 #define PACKAGE_NAME "$PACKAGE_NAME"
3173 cat >>confdefs.h
<<_ACEOF
3174 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3177 cat >>confdefs.h
<<_ACEOF
3178 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3181 cat >>confdefs.h
<<_ACEOF
3182 #define PACKAGE_STRING "$PACKAGE_STRING"
3185 cat >>confdefs.h
<<_ACEOF
3186 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3189 cat >>confdefs.h
<<_ACEOF
3190 #define PACKAGE_URL "$PACKAGE_URL"
3194 # Let the site file select an alternate cache file if it wants to.
3195 # Prefer an explicitly selected file to automatically selected ones.
3198 if test -n "$CONFIG_SITE"; then
3199 # We do not want a PATH search for config.site.
3200 case $CONFIG_SITE in #((
3201 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3202 */*) ac_site_file1
=$CONFIG_SITE;;
3203 *) ac_site_file1
=.
/$CONFIG_SITE;;
3205 elif test "x$prefix" != xNONE
; then
3206 ac_site_file1
=$prefix/share
/config.site
3207 ac_site_file2
=$prefix/etc
/config.site
3209 ac_site_file1
=$ac_default_prefix/share
/config.site
3210 ac_site_file2
=$ac_default_prefix/etc
/config.site
3212 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3214 test "x$ac_site_file" = xNONE
&& continue
3215 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3217 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3218 sed 's/^/| /' "$ac_site_file" >&5
3220 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3221 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3222 as_fn_error $?
"failed to load site script $ac_site_file
3223 See \`config.log' for more details" "$LINENO" 5; }
3227 if test -r "$cache_file"; then
3228 # Some versions of bash will fail to source /dev/null (special files
3229 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3230 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3232 $as_echo "$as_me: loading cache $cache_file" >&6;}
3234 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3235 *) .
"./$cache_file";;
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3240 $as_echo "$as_me: creating cache $cache_file" >&6;}
3244 # Check that the precious variables saved in the cache have kept the same
3246 ac_cache_corrupted
=false
3247 for ac_var
in $ac_precious_vars; do
3248 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3249 eval ac_new_set
=\
$ac_env_${ac_var}_set
3250 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3251 eval ac_new_val
=\
$ac_env_${ac_var}_value
3252 case $ac_old_set,$ac_new_set in
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3255 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3256 ac_cache_corrupted
=: ;;
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3259 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3260 ac_cache_corrupted
=: ;;
3263 if test "x$ac_old_val" != "x$ac_new_val"; then
3264 # differences in whitespace do not lead to failure.
3265 ac_old_val_w
=`echo x $ac_old_val`
3266 ac_new_val_w
=`echo x $ac_new_val`
3267 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3269 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3270 ac_cache_corrupted
=:
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3273 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3274 eval $ac_var=\
$ac_old_val
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3277 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3279 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3282 # Pass precious variables to config.status.
3283 if test "$ac_new_set" = set; then
3285 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3286 *) ac_arg
=$ac_var=$ac_new_val ;;
3288 case " $ac_configure_args " in
3289 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3290 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3294 if $ac_cache_corrupted; then
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3296 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3298 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3299 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3301 ## -------------------- ##
3302 ## Main body of script. ##
3303 ## -------------------- ##
3306 ac_cpp
='$CPP $CPPFLAGS'
3307 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3308 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3309 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3313 ac_config_headers
="$ac_config_headers include/config.h"
3316 for ac_dir
in tools
"$srcdir"/tools
; do
3317 if test -f "$ac_dir/install-sh"; then
3319 ac_install_sh
="$ac_aux_dir/install-sh -c"
3321 elif test -f "$ac_dir/install.sh"; then
3323 ac_install_sh
="$ac_aux_dir/install.sh -c"
3325 elif test -f "$ac_dir/shtool"; then
3327 ac_install_sh
="$ac_aux_dir/shtool install -c"
3331 if test -z "$ac_aux_dir"; then
3332 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3335 # These three variables are undocumented and unsupported,
3336 # and are intended to be withdrawn in a future Autoconf release.
3337 # They can cause serious problems if a builder's source tree is in a directory
3338 # whose full name contains unusual characters.
3339 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3340 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3341 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3345 libwine_version
="1.0"
3349 # Check whether --enable-win16 was given.
3350 if test "${enable_win16+set}" = set; then :
3351 enableval
=$enable_win16;
3354 # Check whether --enable-win64 was given.
3355 if test "${enable_win64+set}" = set; then :
3356 enableval
=$enable_win64;
3359 # Check whether --enable-tests was given.
3360 if test "${enable_tests+set}" = set; then :
3361 enableval
=$enable_tests;
3364 # Check whether --enable-maintainer-mode was given.
3365 if test "${enable_maintainer_mode+set}" = set; then :
3366 enableval
=$enable_maintainer_mode;
3371 # Check whether --with-alsa was given.
3372 if test "${with_alsa+set}" = set; then :
3373 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3377 # Check whether --with-capi was given.
3378 if test "${with_capi+set}" = set; then :
3383 # Check whether --with-cms was given.
3384 if test "${with_cms+set}" = set; then :
3389 # Check whether --with-coreaudio was given.
3390 if test "${with_coreaudio+set}" = set; then :
3391 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3395 # Check whether --with-cups was given.
3396 if test "${with_cups+set}" = set; then :
3401 # Check whether --with-curses was given.
3402 if test "${with_curses+set}" = set; then :
3403 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3407 # Check whether --with-dbus was given.
3408 if test "${with_dbus+set}" = set; then :
3413 # Check whether --with-fontconfig was given.
3414 if test "${with_fontconfig+set}" = set; then :
3415 withval
=$with_fontconfig;
3419 # Check whether --with-freetype was given.
3420 if test "${with_freetype+set}" = set; then :
3421 withval
=$with_freetype;
3425 # Check whether --with-gettext was given.
3426 if test "${with_gettext+set}" = set; then :
3427 withval
=$with_gettext;
3431 # Check whether --with-gettextpo was given.
3432 if test "${with_gettextpo+set}" = set; then :
3433 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3437 # Check whether --with-gphoto was given.
3438 if test "${with_gphoto+set}" = set; then :
3439 withval
=$with_gphoto;
3443 # Check whether --with-glu was given.
3444 if test "${with_glu+set}" = set; then :
3449 # Check whether --with-gnutls was given.
3450 if test "${with_gnutls+set}" = set; then :
3451 withval
=$with_gnutls;
3455 # Check whether --with-gsm was given.
3456 if test "${with_gsm+set}" = set; then :
3457 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3461 # Check whether --with-gstreamer was given.
3462 if test "${with_gstreamer+set}" = set; then :
3463 withval
=$with_gstreamer;
3467 # Check whether --with-hal was given.
3468 if test "${with_hal+set}" = set; then :
3473 # Check whether --with-jpeg was given.
3474 if test "${with_jpeg+set}" = set; then :
3479 # Check whether --with-ldap was given.
3480 if test "${with_ldap+set}" = set; then :
3481 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3485 # Check whether --with-mpg123 was given.
3486 if test "${with_mpg123+set}" = set; then :
3487 withval
=$with_mpg123;
3491 # Check whether --with-netapi was given.
3492 if test "${with_netapi+set}" = set; then :
3493 withval
=$with_netapi;
3497 # Check whether --with-openal was given.
3498 if test "${with_openal+set}" = set; then :
3499 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3503 # Check whether --with-opencl was given.
3504 if test "${with_opencl+set}" = set; then :
3505 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3509 # Check whether --with-opengl was given.
3510 if test "${with_opengl+set}" = set; then :
3511 withval
=$with_opengl;
3515 # Check whether --with-osmesa was given.
3516 if test "${with_osmesa+set}" = set; then :
3517 withval
=$with_osmesa;
3521 # Check whether --with-oss was given.
3522 if test "${with_oss+set}" = set; then :
3527 # Check whether --with-pcap was given.
3528 if test "${with_pcap+set}" = set; then :
3529 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3533 # Check whether --with-png was given.
3534 if test "${with_png+set}" = set; then :
3539 # Check whether --with-pthread was given.
3540 if test "${with_pthread+set}" = set; then :
3541 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3545 # Check whether --with-pulse was given.
3546 if test "${with_pulse+set}" = set; then :
3547 withval
=$with_pulse;
3551 # Check whether --with-sane was given.
3552 if test "${with_sane+set}" = set; then :
3557 # Check whether --with-tiff was given.
3558 if test "${with_tiff+set}" = set; then :
3563 # Check whether --with-udev was given.
3564 if test "${with_udev+set}" = set; then :
3569 # Check whether --with-v4l was given.
3570 if test "${with_v4l+set}" = set; then :
3575 # Check whether --with-xcomposite was given.
3576 if test "${with_xcomposite+set}" = set; then :
3577 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3581 # Check whether --with-xcursor was given.
3582 if test "${with_xcursor+set}" = set; then :
3583 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3587 # Check whether --with-xinerama was given.
3588 if test "${with_xinerama+set}" = set; then :
3589 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3593 # Check whether --with-xinput was given.
3594 if test "${with_xinput+set}" = set; then :
3595 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3599 # Check whether --with-xinput2 was given.
3600 if test "${with_xinput2+set}" = set; then :
3601 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3605 # Check whether --with-xml was given.
3606 if test "${with_xml+set}" = set; then :
3611 # Check whether --with-xrandr was given.
3612 if test "${with_xrandr+set}" = set; then :
3613 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3617 # Check whether --with-xrender was given.
3618 if test "${with_xrender+set}" = set; then :
3619 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3623 # Check whether --with-xshape was given.
3624 if test "${with_xshape+set}" = set; then :
3625 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3629 # Check whether --with-xshm was given.
3630 if test "${with_xshm+set}" = set; then :
3631 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3635 # Check whether --with-xslt was given.
3636 if test "${with_xslt+set}" = set; then :
3641 # Check whether --with-xxf86vm was given.
3642 if test "${with_xxf86vm+set}" = set; then :
3643 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
3647 # Check whether --with-zlib was given.
3648 if test "${with_zlib+set}" = set; then :
3649 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3654 # Check whether --with-wine-tools was given.
3655 if test "${with_wine_tools+set}" = set; then :
3656 withval
=$with_wine_tools;
3660 # Check whether --with-wine64 was given.
3661 if test "${with_wine64+set}" = set; then :
3662 withval
=$with_wine64;
3666 # Make sure we can run config.sub.
3667 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3668 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3671 $as_echo_n "checking build system type... " >&6; }
3672 if ${ac_cv_build+:} false
; then :
3673 $as_echo_n "(cached) " >&6
3675 ac_build_alias
=$build_alias
3676 test "x$ac_build_alias" = x
&&
3677 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3678 test "x$ac_build_alias" = x
&&
3679 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3680 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3681 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3685 $as_echo "$ac_cv_build" >&6; }
3686 case $ac_cv_build in
3688 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3691 ac_save_IFS
=$IFS; IFS
='-'
3697 # Remember, the first character of IFS is used to create $*,
3698 # except with old shells:
3701 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3705 $as_echo_n "checking host system type... " >&6; }
3706 if ${ac_cv_host+:} false
; then :
3707 $as_echo_n "(cached) " >&6
3709 if test "x$host_alias" = x
; then
3710 ac_cv_host
=$ac_cv_build
3712 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3713 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3718 $as_echo "$ac_cv_host" >&6; }
3721 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3724 ac_save_IFS
=$IFS; IFS
='-'
3730 # Remember, the first character of IFS is used to create $*,
3731 # except with old shells:
3734 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3740 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3741 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3742 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3748 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3750 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3751 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3752 $as_echo_n "(cached) " >&6
3754 cat >conftest.
make <<\_ACEOF
3757 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3759 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3760 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3762 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3764 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3768 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3770 $as_echo "yes" >&6; }
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3774 $as_echo "no" >&6; }
3775 SET_MAKE
="MAKE=${MAKE-make}"
3779 ac_cpp
='$CPP $CPPFLAGS'
3780 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3781 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3782 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3783 if test -n "$ac_tool_prefix"; then
3784 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3785 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3787 $as_echo_n "checking for $ac_word... " >&6; }
3788 if ${ac_cv_prog_CC+:} false
; then :
3789 $as_echo_n "(cached) " >&6
3791 if test -n "$CC"; then
3792 ac_cv_prog_CC
="$CC" # Let the user override the test.
3794 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3798 test -z "$as_dir" && as_dir
=.
3799 for ac_exec_ext
in '' $ac_executable_extensions; do
3800 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3801 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3812 if test -n "$CC"; then
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3814 $as_echo "$CC" >&6; }
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3817 $as_echo "no" >&6; }
3822 if test -z "$ac_cv_prog_CC"; then
3824 # Extract the first word of "gcc", so it can be a program name with args.
3825 set dummy gcc
; ac_word
=$2
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3827 $as_echo_n "checking for $ac_word... " >&6; }
3828 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3829 $as_echo_n "(cached) " >&6
3831 if test -n "$ac_ct_CC"; then
3832 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3834 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3838 test -z "$as_dir" && as_dir
=.
3839 for ac_exec_ext
in '' $ac_executable_extensions; do
3840 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3841 ac_cv_prog_ac_ct_CC
="gcc"
3842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3851 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3852 if test -n "$ac_ct_CC"; then
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3854 $as_echo "$ac_ct_CC" >&6; }
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3857 $as_echo "no" >&6; }
3860 if test "x$ac_ct_CC" = x
; then
3863 case $cross_compiling:$ac_tool_warned in
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3866 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3867 ac_tool_warned
=yes ;;
3875 if test -z "$CC"; then
3876 if test -n "$ac_tool_prefix"; then
3877 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3878 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3880 $as_echo_n "checking for $ac_word... " >&6; }
3881 if ${ac_cv_prog_CC+:} false
; then :
3882 $as_echo_n "(cached) " >&6
3884 if test -n "$CC"; then
3885 ac_cv_prog_CC
="$CC" # Let the user override the test.
3887 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3891 test -z "$as_dir" && as_dir
=.
3892 for ac_exec_ext
in '' $ac_executable_extensions; do
3893 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3894 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3905 if test -n "$CC"; then
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3907 $as_echo "$CC" >&6; }
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3910 $as_echo "no" >&6; }
3916 if test -z "$CC"; then
3917 # Extract the first word of "cc", so it can be a program name with args.
3918 set dummy cc
; ac_word
=$2
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3920 $as_echo_n "checking for $ac_word... " >&6; }
3921 if ${ac_cv_prog_CC+:} false
; then :
3922 $as_echo_n "(cached) " >&6
3924 if test -n "$CC"; then
3925 ac_cv_prog_CC
="$CC" # Let the user override the test.
3928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3932 test -z "$as_dir" && as_dir
=.
3933 for ac_exec_ext
in '' $ac_executable_extensions; do
3934 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3935 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3936 ac_prog_rejected
=yes
3940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3947 if test $ac_prog_rejected = yes; then
3948 # We found a bogon in the path, so make sure we never use it.
3949 set dummy
$ac_cv_prog_CC
3951 if test $# != 0; then
3952 # We chose a different compiler from the bogus one.
3953 # However, it has the same basename, so the bogon will be chosen
3954 # first if we set CC to just the basename; use the full file name.
3956 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3962 if test -n "$CC"; then
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3964 $as_echo "$CC" >&6; }
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3967 $as_echo "no" >&6; }
3972 if test -z "$CC"; then
3973 if test -n "$ac_tool_prefix"; then
3974 for ac_prog
in cl.exe
3976 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3977 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3979 $as_echo_n "checking for $ac_word... " >&6; }
3980 if ${ac_cv_prog_CC+:} false
; then :
3981 $as_echo_n "(cached) " >&6
3983 if test -n "$CC"; then
3984 ac_cv_prog_CC
="$CC" # Let the user override the test.
3986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3990 test -z "$as_dir" && as_dir
=.
3991 for ac_exec_ext
in '' $ac_executable_extensions; do
3992 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3993 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4004 if test -n "$CC"; then
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4006 $as_echo "$CC" >&6; }
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4009 $as_echo "no" >&6; }
4013 test -n "$CC" && break
4016 if test -z "$CC"; then
4018 for ac_prog
in cl.exe
4020 # Extract the first word of "$ac_prog", so it can be a program name with args.
4021 set dummy
$ac_prog; ac_word
=$2
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4023 $as_echo_n "checking for $ac_word... " >&6; }
4024 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4025 $as_echo_n "(cached) " >&6
4027 if test -n "$ac_ct_CC"; then
4028 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4034 test -z "$as_dir" && as_dir
=.
4035 for ac_exec_ext
in '' $ac_executable_extensions; do
4036 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4037 ac_cv_prog_ac_ct_CC
="$ac_prog"
4038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4047 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4048 if test -n "$ac_ct_CC"; then
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4050 $as_echo "$ac_ct_CC" >&6; }
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4053 $as_echo "no" >&6; }
4057 test -n "$ac_ct_CC" && break
4060 if test "x$ac_ct_CC" = x
; then
4063 case $cross_compiling:$ac_tool_warned in
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4066 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4067 ac_tool_warned
=yes ;;
4076 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4077 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4078 as_fn_error $?
"no acceptable C compiler found in \$PATH
4079 See \`config.log' for more details" "$LINENO" 5; }
4081 # Provide some information about the compiler.
4082 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4085 for ac_option
in --version -v -V -qversion; do
4086 { { ac_try
="$ac_compiler $ac_option >&5"
4088 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4089 *) ac_try_echo=$ac_try;;
4091 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4092 $as_echo "$ac_try_echo"; } >&5
4093 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4095 if test -s conftest.err; then
4097 ... rest of stderr output deleted ...
4098 10q' conftest.err >conftest.er1
4099 cat conftest.er1 >&5
4101 rm -f conftest.er1 conftest.err
4102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4103 test $ac_status = 0; }
4106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4107 /* end confdefs.h. */
4117 ac_clean_files_save=$ac_clean_files
4118 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4119 # Try to create an executable without -o first, disregard a.out.
4120 # It will help us diagnose broken compilers, and finding out an intuition
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4123 $as_echo_n "checking whether the C compiler works... " >&6; }
4124 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4126 # The possible output files:
4127 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4130 for ac_file in $ac_files
4133 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4134 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4139 if { { ac_try="$ac_link_default"
4141 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4142 *) ac_try_echo
=$ac_try;;
4144 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4145 $as_echo "$ac_try_echo"; } >&5
4146 (eval "$ac_link_default") 2>&5
4148 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4149 test $ac_status = 0; }; then :
4150 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4151 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4152 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4153 # so that the user can short-circuit this test for compilers unknown to
4155 for ac_file
in $ac_files ''
4157 test -f "$ac_file" ||
continue
4159 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4162 # We found the default executable, but exeext='' is most
4166 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4168 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4170 # We set ac_cv_exeext here because the later test for it is not
4171 # safe: cross compilers may not add the suffix if given an `-o'
4172 # argument, so we may need to know it at that point already.
4173 # Even if this section looks crufty: it has the advantage of
4180 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4185 if test -z "$ac_file"; then :
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4187 $as_echo "no" >&6; }
4188 $as_echo "$as_me: failed program was:" >&5
4189 sed 's/^/| /' conftest.
$ac_ext >&5
4191 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4192 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4193 as_fn_error
77 "C compiler cannot create executables
4194 See \`config.log' for more details" "$LINENO" 5; }
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4197 $as_echo "yes" >&6; }
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4200 $as_echo_n "checking for C compiler default output file name... " >&6; }
4201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4202 $as_echo "$ac_file" >&6; }
4203 ac_exeext
=$ac_cv_exeext
4205 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4206 ac_clean_files
=$ac_clean_files_save
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4208 $as_echo_n "checking for suffix of executables... " >&6; }
4209 if { { ac_try
="$ac_link"
4211 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4212 *) ac_try_echo=$ac_try;;
4214 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4215 $as_echo "$ac_try_echo"; } >&5
4216 (eval "$ac_link") 2>&5
4218 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4219 test $ac_status = 0; }; then :
4220 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4221 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4222 # work properly (i.e., refer to `conftest.exe'), while it won't with
4224 for ac_file
in conftest.exe conftest conftest.
*; do
4225 test -f "$ac_file" ||
continue
4227 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4228 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4234 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4235 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4236 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4237 See \`config.log' for more details" "$LINENO" 5; }
4239 rm -f conftest conftest
$ac_cv_exeext
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4241 $as_echo "$ac_cv_exeext" >&6; }
4243 rm -f conftest.
$ac_ext
4244 EXEEXT
=$ac_cv_exeext
4246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4247 /* end confdefs.h. */
4252 FILE *f = fopen ("conftest.out", "w");
4253 return ferror (f) || fclose (f) != 0;
4259 ac_clean_files
="$ac_clean_files conftest.out"
4260 # Check that the compiler produces executables we can run. If not, either
4261 # the compiler is broken, or we cross compile.
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4263 $as_echo_n "checking whether we are cross compiling... " >&6; }
4264 if test "$cross_compiling" != yes; then
4265 { { ac_try
="$ac_link"
4267 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4268 *) ac_try_echo=$ac_try;;
4270 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4271 $as_echo "$ac_try_echo"; } >&5
4272 (eval "$ac_link") 2>&5
4274 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4275 test $ac_status = 0; }
4276 if { ac_try='./conftest$ac_cv_exeext'
4277 { { case "(($ac_try" in
4278 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4279 *) ac_try_echo
=$ac_try;;
4281 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4282 $as_echo "$ac_try_echo"; } >&5
4283 (eval "$ac_try") 2>&5
4285 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4286 test $ac_status = 0; }; }; then
4289 if test "$cross_compiling" = maybe
; then
4292 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4293 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4294 as_fn_error $?
"cannot run C compiled programs.
4295 If you meant to cross compile, use \`--host'.
4296 See \`config.log' for more details" "$LINENO" 5; }
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4301 $as_echo "$cross_compiling" >&6; }
4303 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4304 ac_clean_files
=$ac_clean_files_save
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4306 $as_echo_n "checking for suffix of object files... " >&6; }
4307 if ${ac_cv_objext+:} false
; then :
4308 $as_echo_n "(cached) " >&6
4310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4311 /* end confdefs.h. */
4321 rm -f conftest.o conftest.obj
4322 if { { ac_try
="$ac_compile"
4324 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4325 *) ac_try_echo=$ac_try;;
4327 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4328 $as_echo "$ac_try_echo"; } >&5
4329 (eval "$ac_compile") 2>&5
4331 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4332 test $ac_status = 0; }; then :
4333 for ac_file in conftest.o conftest.obj conftest.*; do
4334 test -f "$ac_file" || continue;
4336 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4337 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4342 $as_echo "$as_me: failed program was:" >&5
4343 sed 's/^/| /' conftest.$ac_ext >&5
4345 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4346 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4347 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4348 See \
`config.log' for more details" "$LINENO" 5; }
4350 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4353 $as_echo "$ac_cv_objext" >&6; }
4354 OBJEXT=$ac_cv_objext
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4357 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4358 if ${ac_cv_c_compiler_gnu+:} false; then :
4359 $as_echo_n "(cached) " >&6
4361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4362 /* end confdefs.h. */
4375 if ac_fn_c_try_compile "$LINENO"; then :
4380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4381 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4385 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4386 if test $ac_compiler_gnu = yes; then
4391 ac_test_CFLAGS=${CFLAGS+set}
4392 ac_save_CFLAGS=$CFLAGS
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4394 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4395 if ${ac_cv_prog_cc_g+:} false; then :
4396 $as_echo_n "(cached) " >&6
4398 ac_save_c_werror_flag=$ac_c_werror_flag
4399 ac_c_werror_flag=yes
4402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4403 /* end confdefs.h. */
4413 if ac_fn_c_try_compile "$LINENO"; then :
4417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4418 /* end confdefs.h. */
4428 if ac_fn_c_try_compile "$LINENO"; then :
4431 ac_c_werror_flag=$ac_save_c_werror_flag
4433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4434 /* end confdefs.h. */
4444 if ac_fn_c_try_compile "$LINENO"; then :
4447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4452 ac_c_werror_flag=$ac_save_c_werror_flag
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4455 $as_echo "$ac_cv_prog_cc_g" >&6; }
4456 if test "$ac_test_CFLAGS" = set; then
4457 CFLAGS=$ac_save_CFLAGS
4458 elif test $ac_cv_prog_cc_g = yes; then
4459 if test "$GCC" = yes; then
4465 if test "$GCC" = yes; then
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4472 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4473 if ${ac_cv_prog_cc_c89+:} false; then :
4474 $as_echo_n "(cached) " >&6
4476 ac_cv_prog_cc_c89=no
4478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4479 /* end confdefs.h. */
4483 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4484 struct buf { int x; };
4485 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4486 static char *e (p, i)
4492 static char *f (char * (*g) (char **, int), char **p, ...)
4497 s = g (p, va_arg (v,int));
4502 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4503 function prototypes and stuff, but not '\xHH' hex character constants.
4504 These don't provoke an error unfortunately, instead are silently treated
4505 as 'x'. The following induces an error, until -std is added to get
4506 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4507 array size at least. It's necessary to write '\x00'==0 to get something
4508 that's true only with -std. */
4509 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4511 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4512 inside strings and character constants. */
4514 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4516 int test (int i, double x);
4517 struct s1 {int (*f) (int a);};
4518 struct s2 {int (*f) (double a);};
4519 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4525 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4530 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4531 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4533 CC="$ac_save_CC $ac_arg"
4534 if ac_fn_c_try_compile "$LINENO"; then :
4535 ac_cv_prog_cc_c89=$ac_arg
4537 rm -f core conftest.err conftest.$ac_objext
4538 test "x$ac_cv_prog_cc_c89" != "xno" && break
4540 rm -f conftest.$ac_ext
4545 case "x$ac_cv_prog_cc_c89" in
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4548 $as_echo "none needed" >&6; } ;;
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4551 $as_echo "unsupported" >&6; } ;;
4553 CC="$CC $ac_cv_prog_cc_c89"
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4555 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4557 if test "x$ac_cv_prog_cc_c89" != xno; then :
4562 ac_cpp='$CPP $CPPFLAGS'
4563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4568 ac_cpp='$CXXCPP $CPPFLAGS'
4569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4572 if test -z "$CXX"; then
4573 if test -n "$CCC"; then
4576 if test -n "$ac_tool_prefix"; then
4577 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4579 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4580 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4582 $as_echo_n "checking for $ac_word... " >&6; }
4583 if ${ac_cv_prog_CXX+:} false; then :
4584 $as_echo_n "(cached) " >&6
4586 if test -n "$CXX"; then
4587 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4593 test -z "$as_dir" && as_dir=.
4594 for ac_exec_ext in '' $ac_executable_extensions; do
4595 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4596 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4607 if test -n "$CXX"; then
4608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4609 $as_echo "$CXX" >&6; }
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4612 $as_echo "no" >&6; }
4616 test -n "$CXX" && break
4619 if test -z "$CXX"; then
4621 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4623 # Extract the first word of "$ac_prog", so it can be a program name with args.
4624 set dummy $ac_prog; ac_word=$2
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4626 $as_echo_n "checking for $ac_word... " >&6; }
4627 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4628 $as_echo_n "(cached) " >&6
4630 if test -n "$ac_ct_CXX"; then
4631 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4637 test -z "$as_dir" && as_dir=.
4638 for ac_exec_ext in '' $ac_executable_extensions; do
4639 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4640 ac_cv_prog_ac_ct_CXX="$ac_prog"
4641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4650 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4651 if test -n "$ac_ct_CXX"; then
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4653 $as_echo "$ac_ct_CXX" >&6; }
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4656 $as_echo "no" >&6; }
4660 test -n "$ac_ct_CXX" && break
4663 if test "x$ac_ct_CXX" = x; then
4666 case $cross_compiling:$ac_tool_warned in
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4669 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4670 ac_tool_warned=yes ;;
4678 # Provide some information about the compiler.
4679 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4682 for ac_option in --version -v -V -qversion; do
4683 { { ac_try="$ac_compiler $ac_option >&5"
4685 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4686 *) ac_try_echo
=$ac_try;;
4688 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4689 $as_echo "$ac_try_echo"; } >&5
4690 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4692 if test -s conftest.err
; then
4694 ... rest of stderr output deleted ...
4695 10q' conftest.err
>conftest.er1
4696 cat conftest.er1
>&5
4698 rm -f conftest.er1 conftest.err
4699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4700 test $ac_status = 0; }
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4704 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4705 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4706 $as_echo_n "(cached) " >&6
4708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4709 /* end confdefs.h. */
4722 if ac_fn_cxx_try_compile
"$LINENO"; then :
4727 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4728 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4732 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4733 if test $ac_compiler_gnu = yes; then
4738 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4739 ac_save_CXXFLAGS
=$CXXFLAGS
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4741 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4742 if ${ac_cv_prog_cxx_g+:} false
; then :
4743 $as_echo_n "(cached) " >&6
4745 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4746 ac_cxx_werror_flag
=yes
4749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4750 /* end confdefs.h. */
4760 if ac_fn_cxx_try_compile
"$LINENO"; then :
4761 ac_cv_prog_cxx_g
=yes
4764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4765 /* end confdefs.h. */
4775 if ac_fn_cxx_try_compile
"$LINENO"; then :
4778 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4781 /* end confdefs.h. */
4791 if ac_fn_cxx_try_compile
"$LINENO"; then :
4792 ac_cv_prog_cxx_g
=yes
4794 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4796 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4798 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4799 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4802 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4803 if test "$ac_test_CXXFLAGS" = set; then
4804 CXXFLAGS
=$ac_save_CXXFLAGS
4805 elif test $ac_cv_prog_cxx_g = yes; then
4806 if test "$GXX" = yes; then
4812 if test "$GXX" = yes; then
4819 ac_cpp
='$CPP $CPPFLAGS'
4820 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4821 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4822 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4824 if test -n "$ac_tool_prefix"; then
4825 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4826 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4828 $as_echo_n "checking for $ac_word... " >&6; }
4829 if ${ac_cv_prog_CPPBIN+:} false
; then :
4830 $as_echo_n "(cached) " >&6
4832 if test -n "$CPPBIN"; then
4833 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4835 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4839 test -z "$as_dir" && as_dir
=.
4840 for ac_exec_ext
in '' $ac_executable_extensions; do
4841 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4842 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4852 CPPBIN
=$ac_cv_prog_CPPBIN
4853 if test -n "$CPPBIN"; then
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4855 $as_echo "$CPPBIN" >&6; }
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4858 $as_echo "no" >&6; }
4863 if test -z "$ac_cv_prog_CPPBIN"; then
4864 ac_ct_CPPBIN
=$CPPBIN
4865 # Extract the first word of "cpp", so it can be a program name with args.
4866 set dummy cpp
; ac_word
=$2
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4868 $as_echo_n "checking for $ac_word... " >&6; }
4869 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4870 $as_echo_n "(cached) " >&6
4872 if test -n "$ac_ct_CPPBIN"; then
4873 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4875 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4879 test -z "$as_dir" && as_dir
=.
4880 for ac_exec_ext
in '' $ac_executable_extensions; do
4881 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4882 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4892 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4893 if test -n "$ac_ct_CPPBIN"; then
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4895 $as_echo "$ac_ct_CPPBIN" >&6; }
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4898 $as_echo "no" >&6; }
4901 if test "x$ac_ct_CPPBIN" = x
; then
4904 case $cross_compiling:$ac_tool_warned in
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4907 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4908 ac_tool_warned
=yes ;;
4910 CPPBIN
=$ac_ct_CPPBIN
4913 CPPBIN
="$ac_cv_prog_CPPBIN"
4917 cat >>confdefs.h
<<_ACEOF
4918 #define EXEEXT "$ac_exeext"
4921 if test -n "$ac_tool_prefix"; then
4922 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4923 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4925 $as_echo_n "checking for $ac_word... " >&6; }
4926 if ${ac_cv_prog_LD+:} false
; then :
4927 $as_echo_n "(cached) " >&6
4929 if test -n "$LD"; then
4930 ac_cv_prog_LD
="$LD" # Let the user override the test.
4932 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4936 test -z "$as_dir" && as_dir
=.
4937 for ac_exec_ext
in '' $ac_executable_extensions; do
4938 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4939 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4950 if test -n "$LD"; then
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4952 $as_echo "$LD" >&6; }
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4955 $as_echo "no" >&6; }
4960 if test -z "$ac_cv_prog_LD"; then
4962 # Extract the first word of "ld", so it can be a program name with args.
4963 set dummy ld
; ac_word
=$2
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4965 $as_echo_n "checking for $ac_word... " >&6; }
4966 if ${ac_cv_prog_ac_ct_LD+:} false
; then :
4967 $as_echo_n "(cached) " >&6
4969 if test -n "$ac_ct_LD"; then
4970 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
4972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4976 test -z "$as_dir" && as_dir
=.
4977 for ac_exec_ext
in '' $ac_executable_extensions; do
4978 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4979 ac_cv_prog_ac_ct_LD
="ld"
4980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4989 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
4990 if test -n "$ac_ct_LD"; then
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4992 $as_echo "$ac_ct_LD" >&6; }
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4995 $as_echo "no" >&6; }
4998 if test "x$ac_ct_LD" = x
; then
5001 case $cross_compiling:$ac_tool_warned in
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5004 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5005 ac_tool_warned
=yes ;;
5016 with_fontconfig
=${with_fontconfig:-no}
5018 *-mingw32*|
*-cygwin*)
5019 enable_win16
=${enable_win16:-no}
5020 CFLAGS
="$CFLAGS -D_WIN32"
5026 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5031 $as_echo_n "checking whether $CC works... " >&6; }
5033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5034 /* end confdefs.h. */
5044 if ac_fn_c_try_link
"$LINENO"; then :
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5046 $as_echo "yes" >&6; }
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5049 $as_echo "no" >&6; }
5050 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5052 rm -f core conftest.err conftest.
$ac_objext \
5053 conftest
$ac_exeext conftest.
$ac_ext
5055 notice_platform
="32-bit "
5058 enable_win16
=${enable_win16:-yes}
5060 if test "x${GCC}" = "xyes"
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5063 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5065 /* end confdefs.h. */
5070 void func(__builtin_ms_va_list *args);
5075 if ac_fn_c_try_compile
"$LINENO"; then :
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5077 $as_echo "yes" >&6; }
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5080 $as_echo "no" >&6; }
5081 as_fn_error $?
"You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5083 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5088 notice_platform
="64-bit "
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5095 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5097 /* end confdefs.h. */
5098 int ac_test(int i) { return i; }
5102 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5107 if ac_fn_c_try_link
"$LINENO"; then :
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5109 $as_echo "yes" >&6; }
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5112 $as_echo "no" >&6; }
5113 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5115 rm -f core conftest.err conftest.
$ac_objext \
5116 conftest
$ac_exeext conftest.
$ac_ext
5117 CFLAGS
="$CFLAGS -marm"
5122 enable_win16
=${enable_win16:-yes}
5126 enable_win16
=${enable_win16:-no}
5127 enable_win64
=${enable_win64:-no}
5129 enable_winetest
=${enable_winetest:-$enable_tests}
5131 if test -n "$with_wine64"
5133 if test "x$enable_win64" = "xyes"
5135 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
5136 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5138 test "$srcdir" != . || as_fn_error $?
"--with-wine64 cannot be used when building inside the source tree.
5139 You should create a separate build directory and run configure from there." "$LINENO" 5
5140 enable_fonts
=${enable_fonts:-no}
5141 enable_server
=${enable_server:-no}
5142 elif test "x$enable_win64" = "xyes"
5144 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5148 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5149 if ${wine_cv_toolsdir+:} false
; then :
5150 $as_echo_n "(cached) " >&6
5152 wine_cv_toolsdir
="$with_wine_tools"
5153 if test -z "$with_wine_tools"; then
5154 if test "$cross_compiling" = "yes"; then
5155 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5156 elif test -n "$with_wine64"; then
5157 wine_cv_toolsdir
="$with_wine64"
5160 if test -z "$wine_cv_toolsdir"; then
5161 wine_makedep
=tools
/makedep
5162 wine_cv_toolsdir
="\$(top_builddir)"
5163 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5164 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
5165 case "$wine_cv_toolsdir" in
5167 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
5169 enable_tools
=${enable_tools:-no}
5170 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5172 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5176 $as_echo "$wine_cv_toolsdir" >&6; }
5177 TOOLSDIR
=$wine_cv_toolsdir
5179 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5181 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
5187 # Extract the first word of "$ac_prog", so it can be a program name with args.
5188 set dummy
$ac_prog; ac_word
=$2
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5190 $as_echo_n "checking for $ac_word... " >&6; }
5191 if ${ac_cv_prog_FLEX+:} false
; then :
5192 $as_echo_n "(cached) " >&6
5194 if test -n "$FLEX"; then
5195 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5201 test -z "$as_dir" && as_dir
=.
5202 for ac_exec_ext
in '' $ac_executable_extensions; do
5203 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5204 ac_cv_prog_FLEX
="$ac_prog"
5205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5214 FLEX
=$ac_cv_prog_FLEX
5215 if test -n "$FLEX"; then
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5217 $as_echo "$FLEX" >&6; }
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5220 $as_echo "no" >&6; }
5224 test -n "$FLEX" && break
5226 test -n "$FLEX" || FLEX
="none"
5228 if test "$FLEX" = "none"
5230 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5233 $as_echo_n "checking whether flex is recent enough... " >&6; }
5234 cat >conftest.l
<<EOF
5236 #include "prediluvian.h"
5240 if $FLEX -t conftest.l
>/dev
/null
2>&5
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5243 $as_echo "yes" >&6; }
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5246 $as_echo "no" >&6; }
5247 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5250 for ac_prog
in bison
5252 # Extract the first word of "$ac_prog", so it can be a program name with args.
5253 set dummy
$ac_prog; ac_word
=$2
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5255 $as_echo_n "checking for $ac_word... " >&6; }
5256 if ${ac_cv_prog_BISON+:} false
; then :
5257 $as_echo_n "(cached) " >&6
5259 if test -n "$BISON"; then
5260 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5262 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5266 test -z "$as_dir" && as_dir
=.
5267 for ac_exec_ext
in '' $ac_executable_extensions; do
5268 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5269 ac_cv_prog_BISON
="$ac_prog"
5270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5279 BISON
=$ac_cv_prog_BISON
5280 if test -n "$BISON"; then
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5282 $as_echo "$BISON" >&6; }
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5285 $as_echo "no" >&6; }
5289 test -n "$BISON" && break
5291 test -n "$BISON" || BISON
="none"
5293 if test "$BISON" = "none"
5295 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5298 if test -n "$ac_tool_prefix"; then
5299 for ac_prog
in ar gar
5301 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5302 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5304 $as_echo_n "checking for $ac_word... " >&6; }
5305 if ${ac_cv_prog_AR+:} false
; then :
5306 $as_echo_n "(cached) " >&6
5308 if test -n "$AR"; then
5309 ac_cv_prog_AR
="$AR" # Let the user override the test.
5311 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5315 test -z "$as_dir" && as_dir
=.
5316 for ac_exec_ext
in '' $ac_executable_extensions; do
5317 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5318 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5329 if test -n "$AR"; then
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5331 $as_echo "$AR" >&6; }
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5334 $as_echo "no" >&6; }
5338 test -n "$AR" && break
5341 if test -z "$AR"; then
5343 for ac_prog
in ar gar
5345 # Extract the first word of "$ac_prog", so it can be a program name with args.
5346 set dummy
$ac_prog; ac_word
=$2
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5348 $as_echo_n "checking for $ac_word... " >&6; }
5349 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5350 $as_echo_n "(cached) " >&6
5352 if test -n "$ac_ct_AR"; then
5353 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5355 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5359 test -z "$as_dir" && as_dir
=.
5360 for ac_exec_ext
in '' $ac_executable_extensions; do
5361 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5362 ac_cv_prog_ac_ct_AR
="$ac_prog"
5363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5372 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5373 if test -n "$ac_ct_AR"; then
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5375 $as_echo "$ac_ct_AR" >&6; }
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5378 $as_echo "no" >&6; }
5382 test -n "$ac_ct_AR" && break
5385 if test "x$ac_ct_AR" = x
; then
5388 case $cross_compiling:$ac_tool_warned in
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5391 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5392 ac_tool_warned
=yes ;;
5398 if test -n "$ac_tool_prefix"; then
5399 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5400 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5402 $as_echo_n "checking for $ac_word... " >&6; }
5403 if ${ac_cv_prog_STRIP+:} false
; then :
5404 $as_echo_n "(cached) " >&6
5406 if test -n "$STRIP"; then
5407 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5409 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5413 test -z "$as_dir" && as_dir
=.
5414 for ac_exec_ext
in '' $ac_executable_extensions; do
5415 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5416 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5426 STRIP
=$ac_cv_prog_STRIP
5427 if test -n "$STRIP"; then
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5429 $as_echo "$STRIP" >&6; }
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5432 $as_echo "no" >&6; }
5437 if test -z "$ac_cv_prog_STRIP"; then
5439 # Extract the first word of "strip", so it can be a program name with args.
5440 set dummy strip
; ac_word
=$2
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5442 $as_echo_n "checking for $ac_word... " >&6; }
5443 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5444 $as_echo_n "(cached) " >&6
5446 if test -n "$ac_ct_STRIP"; then
5447 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5449 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5453 test -z "$as_dir" && as_dir
=.
5454 for ac_exec_ext
in '' $ac_executable_extensions; do
5455 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5456 ac_cv_prog_ac_ct_STRIP
="strip"
5457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5466 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5467 if test -n "$ac_ct_STRIP"; then
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5469 $as_echo "$ac_ct_STRIP" >&6; }
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5472 $as_echo "no" >&6; }
5475 if test "x$ac_ct_STRIP" = x
; then
5478 case $cross_compiling:$ac_tool_warned in
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5481 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5482 ac_tool_warned
=yes ;;
5487 STRIP
="$ac_cv_prog_STRIP"
5492 if test -n "$ac_tool_prefix"; then
5493 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5494 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5496 $as_echo_n "checking for $ac_word... " >&6; }
5497 if ${ac_cv_prog_RANLIB+:} false
; then :
5498 $as_echo_n "(cached) " >&6
5500 if test -n "$RANLIB"; then
5501 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5503 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5507 test -z "$as_dir" && as_dir
=.
5508 for ac_exec_ext
in '' $ac_executable_extensions; do
5509 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5510 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5520 RANLIB
=$ac_cv_prog_RANLIB
5521 if test -n "$RANLIB"; then
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5523 $as_echo "$RANLIB" >&6; }
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5526 $as_echo "no" >&6; }
5531 if test -z "$ac_cv_prog_RANLIB"; then
5532 ac_ct_RANLIB
=$RANLIB
5533 # Extract the first word of "ranlib", so it can be a program name with args.
5534 set dummy ranlib
; ac_word
=$2
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5536 $as_echo_n "checking for $ac_word... " >&6; }
5537 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5538 $as_echo_n "(cached) " >&6
5540 if test -n "$ac_ct_RANLIB"; then
5541 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5543 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5547 test -z "$as_dir" && as_dir
=.
5548 for ac_exec_ext
in '' $ac_executable_extensions; do
5549 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5550 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5560 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5561 if test -n "$ac_ct_RANLIB"; then
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5563 $as_echo "$ac_ct_RANLIB" >&6; }
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5566 $as_echo "no" >&6; }
5569 if test "x$ac_ct_RANLIB" = x
; then
5572 case $cross_compiling:$ac_tool_warned in
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5575 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5576 ac_tool_warned
=yes ;;
5578 RANLIB
=$ac_ct_RANLIB
5581 RANLIB
="$ac_cv_prog_RANLIB"
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5585 $as_echo_n "checking whether ln -s works... " >&6; }
5587 if test "$LN_S" = "ln -s"; then
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5589 $as_echo "yes" >&6; }
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5592 $as_echo "no, using $LN_S" >&6; }
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5596 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5597 if ${ac_cv_path_GREP+:} false
; then :
5598 $as_echo_n "(cached) " >&6
5600 if test -z "$GREP"; then
5601 ac_path_GREP_found
=false
5602 # Loop through the user's path and test for each of PROGNAME-LIST
5603 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5604 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5607 test -z "$as_dir" && as_dir
=.
5608 for ac_prog
in grep ggrep
; do
5609 for ac_exec_ext
in '' $ac_executable_extensions; do
5610 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5611 as_fn_executable_p
"$ac_path_GREP" ||
continue
5612 # Check for GNU ac_path_GREP and select it if it is found.
5613 # Check for GNU $ac_path_GREP
5614 case `"$ac_path_GREP" --version 2>&1` in
5616 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5619 $as_echo_n 0123456789 >"conftest.in"
5622 cat "conftest.in" "conftest.in" >"conftest.tmp"
5623 mv "conftest.tmp" "conftest.in"
5624 cp "conftest.in" "conftest.nl"
5625 $as_echo 'GREP' >> "conftest.nl"
5626 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5627 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5628 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5629 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5630 # Best one so far, save it but keep looking for a better one
5631 ac_cv_path_GREP
="$ac_path_GREP"
5632 ac_path_GREP_max
=$ac_count
5634 # 10*(2^10) chars as input seems more than enough
5635 test $ac_count -gt 10 && break
5637 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5640 $ac_path_GREP_found && break 3
5645 if test -z "$ac_cv_path_GREP"; then
5646 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5649 ac_cv_path_GREP
=$GREP
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5654 $as_echo "$ac_cv_path_GREP" >&6; }
5655 GREP
="$ac_cv_path_GREP"
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5659 $as_echo_n "checking for egrep... " >&6; }
5660 if ${ac_cv_path_EGREP+:} false
; then :
5661 $as_echo_n "(cached) " >&6
5663 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5664 then ac_cv_path_EGREP
="$GREP -E"
5666 if test -z "$EGREP"; then
5667 ac_path_EGREP_found
=false
5668 # Loop through the user's path and test for each of PROGNAME-LIST
5669 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5670 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5673 test -z "$as_dir" && as_dir
=.
5674 for ac_prog
in egrep; do
5675 for ac_exec_ext
in '' $ac_executable_extensions; do
5676 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5677 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5678 # Check for GNU ac_path_EGREP and select it if it is found.
5679 # Check for GNU $ac_path_EGREP
5680 case `"$ac_path_EGREP" --version 2>&1` in
5682 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5685 $as_echo_n 0123456789 >"conftest.in"
5688 cat "conftest.in" "conftest.in" >"conftest.tmp"
5689 mv "conftest.tmp" "conftest.in"
5690 cp "conftest.in" "conftest.nl"
5691 $as_echo 'EGREP' >> "conftest.nl"
5692 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5693 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5694 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5695 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5696 # Best one so far, save it but keep looking for a better one
5697 ac_cv_path_EGREP
="$ac_path_EGREP"
5698 ac_path_EGREP_max
=$ac_count
5700 # 10*(2^10) chars as input seems more than enough
5701 test $ac_count -gt 10 && break
5703 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5706 $ac_path_EGREP_found && break 3
5711 if test -z "$ac_cv_path_EGREP"; then
5712 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5715 ac_cv_path_EGREP
=$EGREP
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5721 $as_echo "$ac_cv_path_EGREP" >&6; }
5722 EGREP
="$ac_cv_path_EGREP"
5725 # Extract the first word of "ldconfig", so it can be a program name with args.
5726 set dummy ldconfig
; ac_word
=$2
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5728 $as_echo_n "checking for $ac_word... " >&6; }
5729 if ${ac_cv_path_LDCONFIG+:} false
; then :
5730 $as_echo_n "(cached) " >&6
5734 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5737 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5738 for as_dir
in /sbin
/usr
/sbin
$PATH
5741 test -z "$as_dir" && as_dir
=.
5742 for ac_exec_ext
in '' $ac_executable_extensions; do
5743 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5744 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5752 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5756 LDCONFIG
=$ac_cv_path_LDCONFIG
5757 if test -n "$LDCONFIG"; then
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5759 $as_echo "$LDCONFIG" >&6; }
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5762 $as_echo "no" >&6; }
5766 for ac_prog
in msgfmt
5768 # Extract the first word of "$ac_prog", so it can be a program name with args.
5769 set dummy
$ac_prog; ac_word
=$2
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5771 $as_echo_n "checking for $ac_word... " >&6; }
5772 if ${ac_cv_prog_MSGFMT+:} false
; then :
5773 $as_echo_n "(cached) " >&6
5775 if test -n "$MSGFMT"; then
5776 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5782 test -z "$as_dir" && as_dir
=.
5783 for ac_exec_ext
in '' $ac_executable_extensions; do
5784 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5785 ac_cv_prog_MSGFMT
="$ac_prog"
5786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5795 MSGFMT
=$ac_cv_prog_MSGFMT
5796 if test -n "$MSGFMT"; then
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5798 $as_echo "$MSGFMT" >&6; }
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5801 $as_echo "no" >&6; }
5805 test -n "$MSGFMT" && break
5807 test -n "$MSGFMT" || MSGFMT
="false"
5809 if ${ac_tool_prefix+:} false
; then :
5810 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5811 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5813 $as_echo_n "checking for $ac_word... " >&6; }
5814 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5815 $as_echo_n "(cached) " >&6
5817 if test -n "$PKG_CONFIG"; then
5818 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5820 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5824 test -z "$as_dir" && as_dir
=.
5825 for ac_exec_ext
in '' $ac_executable_extensions; do
5826 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5827 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5837 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5838 if test -n "$PKG_CONFIG"; then
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5840 $as_echo "$PKG_CONFIG" >&6; }
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5843 $as_echo "no" >&6; }
5848 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5849 if test "x$cross_compiling" = xyes
; then :
5852 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5853 # Extract the first word of "pkg-config", so it can be a program name with args.
5854 set dummy pkg-config
; ac_word
=$2
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5856 $as_echo_n "checking for $ac_word... " >&6; }
5857 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5858 $as_echo_n "(cached) " >&6
5860 if test -n "$PKG_CONFIG"; then
5861 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5863 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5867 test -z "$as_dir" && as_dir
=.
5868 for ac_exec_ext
in '' $ac_executable_extensions; do
5869 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5870 ac_cv_prog_PKG_CONFIG
="pkg-config"
5871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5880 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5881 if test -n "$PKG_CONFIG"; then
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5883 $as_echo "$PKG_CONFIG" >&6; }
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5886 $as_echo "no" >&6; }
5892 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5895 if test "x$enable_maintainer_mode" != "xyes"
5902 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5903 for ac_prog
in fontforge
5905 # Extract the first word of "$ac_prog", so it can be a program name with args.
5906 set dummy
$ac_prog; ac_word
=$2
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5908 $as_echo_n "checking for $ac_word... " >&6; }
5909 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5910 $as_echo_n "(cached) " >&6
5912 if test -n "$FONTFORGE"; then
5913 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5919 test -z "$as_dir" && as_dir
=.
5920 for ac_exec_ext
in '' $ac_executable_extensions; do
5921 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5922 ac_cv_prog_FONTFORGE
="$ac_prog"
5923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5932 FONTFORGE
=$ac_cv_prog_FONTFORGE
5933 if test -n "$FONTFORGE"; then
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5935 $as_echo "$FONTFORGE" >&6; }
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5938 $as_echo "no" >&6; }
5942 test -n "$FONTFORGE" && break
5944 test -n "$FONTFORGE" || FONTFORGE
="false"
5946 for ac_prog
in rsvg-convert rsvg
5948 # Extract the first word of "$ac_prog", so it can be a program name with args.
5949 set dummy
$ac_prog; ac_word
=$2
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5951 $as_echo_n "checking for $ac_word... " >&6; }
5952 if ${ac_cv_prog_RSVG+:} false
; then :
5953 $as_echo_n "(cached) " >&6
5955 if test -n "$RSVG"; then
5956 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5958 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5962 test -z "$as_dir" && as_dir
=.
5963 for ac_exec_ext
in '' $ac_executable_extensions; do
5964 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5965 ac_cv_prog_RSVG
="$ac_prog"
5966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5975 RSVG
=$ac_cv_prog_RSVG
5976 if test -n "$RSVG"; then
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5978 $as_echo "$RSVG" >&6; }
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5981 $as_echo "no" >&6; }
5985 test -n "$RSVG" && break
5987 test -n "$RSVG" || RSVG
="false"
5989 for ac_prog
in convert
5991 # Extract the first word of "$ac_prog", so it can be a program name with args.
5992 set dummy
$ac_prog; ac_word
=$2
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5994 $as_echo_n "checking for $ac_word... " >&6; }
5995 if ${ac_cv_prog_CONVERT+:} false
; then :
5996 $as_echo_n "(cached) " >&6
5998 if test -n "$CONVERT"; then
5999 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
6001 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6005 test -z "$as_dir" && as_dir
=.
6006 for ac_exec_ext
in '' $ac_executable_extensions; do
6007 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6008 ac_cv_prog_CONVERT
="$ac_prog"
6009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6018 CONVERT
=$ac_cv_prog_CONVERT
6019 if test -n "$CONVERT"; then
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6021 $as_echo "$CONVERT" >&6; }
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6024 $as_echo "no" >&6; }
6028 test -n "$CONVERT" && break
6030 test -n "$CONVERT" || CONVERT
="false"
6032 for ac_prog
in icotool
6034 # Extract the first word of "$ac_prog", so it can be a program name with args.
6035 set dummy
$ac_prog; ac_word
=$2
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6037 $as_echo_n "checking for $ac_word... " >&6; }
6038 if ${ac_cv_prog_ICOTOOL+:} false
; then :
6039 $as_echo_n "(cached) " >&6
6041 if test -n "$ICOTOOL"; then
6042 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
6044 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6048 test -z "$as_dir" && as_dir
=.
6049 for ac_exec_ext
in '' $ac_executable_extensions; do
6050 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6051 ac_cv_prog_ICOTOOL
="$ac_prog"
6052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6061 ICOTOOL
=$ac_cv_prog_ICOTOOL
6062 if test -n "$ICOTOOL"; then
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6064 $as_echo "$ICOTOOL" >&6; }
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6067 $as_echo "no" >&6; }
6071 test -n "$ICOTOOL" && break
6073 test -n "$ICOTOOL" || ICOTOOL
="false"
6075 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6076 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6078 if test "$CONVERT" = false
6080 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6083 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6084 convert_version
=`convert --version | head -n1`
6085 if test "x$convert_version" != "x"
6087 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6088 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6089 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6094 if test "$CONVERT" = false
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6097 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6098 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6101 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6105 if test "$ICOTOOL" = false
6107 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6110 $as_echo_n "checking for recent enough icotool... " >&6; }
6111 icotool_version
=`icotool --version | head -n1`
6112 if test "x$icotool_version" != "x"
6114 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6115 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6116 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6119 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
6122 if test "$ICOTOOL" = false
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6125 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6126 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6129 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6135 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
6138 test "x$with_gettext" != xno || MSGFMT
=false
6139 if test "$MSGFMT" != "false"
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6142 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6143 cat >conftest.po
<<EOF
6149 if $MSGFMT -o /dev
/null conftest.po
2>&5
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6152 $as_echo "yes" >&6; }
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6155 $as_echo "no" >&6; }
6159 if test "$MSGFMT" = false
; then :
6160 case "x$with_gettext" in
6161 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
6163 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
6164 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6166 enable_po
=${enable_po:-no}
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6171 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6172 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
6173 $as_echo_n "(cached) " >&6
6175 ac_check_lib_save_LIBS
=$LIBS
6177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6178 /* end confdefs.h. */
6180 /* Override any GCC internal prototype to avoid an error.
6181 Use char because int might match the return type of a GCC
6182 builtin and then its argument prototype would still apply. */
6186 char i386_set_ldt ();
6190 return i386_set_ldt ();
6195 if ac_fn_c_try_link
"$LINENO"; then :
6196 ac_cv_lib_i386_i386_set_ldt
=yes
6198 ac_cv_lib_i386_i386_set_ldt
=no
6200 rm -f core conftest.err conftest.
$ac_objext \
6201 conftest
$ac_exeext conftest.
$ac_ext
6202 LIBS
=$ac_check_lib_save_LIBS
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6205 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6206 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
6207 cat >>confdefs.h
<<_ACEOF
6208 #define HAVE_LIBI386 1
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6216 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6217 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
6218 $as_echo_n "(cached) " >&6
6220 ac_check_lib_save_LIBS
=$LIBS
6221 LIBS
="-lossaudio $LIBS"
6222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6223 /* end confdefs.h. */
6225 /* Override any GCC internal prototype to avoid an error.
6226 Use char because int might match the return type of a GCC
6227 builtin and then its argument prototype would still apply. */
6235 return _oss_ioctl ();
6240 if ac_fn_c_try_link
"$LINENO"; then :
6241 ac_cv_lib_ossaudio__oss_ioctl
=yes
6243 ac_cv_lib_ossaudio__oss_ioctl
=no
6245 rm -f core conftest.err conftest.
$ac_objext \
6246 conftest
$ac_exeext conftest.
$ac_ext
6247 LIBS
=$ac_check_lib_save_LIBS
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6250 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6251 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
6252 cat >>confdefs.h
<<_ACEOF
6253 #define HAVE_LIBOSSAUDIO 1
6256 LIBS
="-lossaudio $LIBS"
6265 # Check whether --enable-largefile was given.
6266 if test "${enable_largefile+set}" = set; then :
6267 enableval
=$enable_largefile;
6270 if test "$enable_largefile" != no
; then
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6273 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6274 if ${ac_cv_sys_largefile_CC+:} false
; then :
6275 $as_echo_n "(cached) " >&6
6277 ac_cv_sys_largefile_CC
=no
6278 if test "$GCC" != yes; then
6281 # IRIX 6.2 and later do not support large files by default,
6282 # so use the C compiler's -n32 option if that helps.
6283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6284 /* end confdefs.h. */
6285 #include <sys/types.h>
6286 /* Check that off_t can represent 2**63 - 1 correctly.
6287 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6288 since some C++ compilers masquerading as C compilers
6289 incorrectly reject 9223372036854775807. */
6290 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6291 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6292 && LARGE_OFF_T % 2147483647 == 1)
6302 if ac_fn_c_try_compile
"$LINENO"; then :
6305 rm -f core conftest.err conftest.
$ac_objext
6307 if ac_fn_c_try_compile
"$LINENO"; then :
6308 ac_cv_sys_largefile_CC
=' -n32'; break
6310 rm -f core conftest.err conftest.
$ac_objext
6314 rm -f conftest.
$ac_ext
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6318 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6319 if test "$ac_cv_sys_largefile_CC" != no
; then
6320 CC
=$CC$ac_cv_sys_largefile_CC
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6324 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6325 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6326 $as_echo_n "(cached) " >&6
6329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6330 /* end confdefs.h. */
6331 #include <sys/types.h>
6332 /* Check that off_t can represent 2**63 - 1 correctly.
6333 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6334 since some C++ compilers masquerading as C compilers
6335 incorrectly reject 9223372036854775807. */
6336 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6337 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6338 && LARGE_OFF_T % 2147483647 == 1)
6348 if ac_fn_c_try_compile
"$LINENO"; then :
6349 ac_cv_sys_file_offset_bits
=no
; break
6351 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6352 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6353 /* end confdefs.h. */
6354 #define _FILE_OFFSET_BITS 64
6355 #include <sys/types.h>
6356 /* Check that off_t can represent 2**63 - 1 correctly.
6357 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6358 since some C++ compilers masquerading as C compilers
6359 incorrectly reject 9223372036854775807. */
6360 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6361 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6362 && LARGE_OFF_T % 2147483647 == 1)
6372 if ac_fn_c_try_compile
"$LINENO"; then :
6373 ac_cv_sys_file_offset_bits
=64; break
6375 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6376 ac_cv_sys_file_offset_bits
=unknown
6380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6381 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6382 case $ac_cv_sys_file_offset_bits in #(
6385 cat >>confdefs.h
<<_ACEOF
6386 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6391 if test $ac_cv_sys_file_offset_bits = unknown
; then
6392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6393 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6394 if ${ac_cv_sys_large_files+:} false
; then :
6395 $as_echo_n "(cached) " >&6
6398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6399 /* end confdefs.h. */
6400 #include <sys/types.h>
6401 /* Check that off_t can represent 2**63 - 1 correctly.
6402 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6403 since some C++ compilers masquerading as C compilers
6404 incorrectly reject 9223372036854775807. */
6405 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6406 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6407 && LARGE_OFF_T % 2147483647 == 1)
6417 if ac_fn_c_try_compile
"$LINENO"; then :
6418 ac_cv_sys_large_files
=no
; break
6420 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6422 /* end confdefs.h. */
6423 #define _LARGE_FILES 1
6424 #include <sys/types.h>
6425 /* Check that off_t can represent 2**63 - 1 correctly.
6426 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6427 since some C++ compilers masquerading as C compilers
6428 incorrectly reject 9223372036854775807. */
6429 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6430 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6431 && LARGE_OFF_T % 2147483647 == 1)
6441 if ac_fn_c_try_compile
"$LINENO"; then :
6442 ac_cv_sys_large_files
=1; break
6444 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6445 ac_cv_sys_large_files
=unknown
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6450 $as_echo "$ac_cv_sys_large_files" >&6; }
6451 case $ac_cv_sys_large_files in #(
6454 cat >>confdefs.h
<<_ACEOF
6455 #define _LARGE_FILES $ac_cv_sys_large_files
6467 ac_cpp
='$CPP $CPPFLAGS'
6468 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6469 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6470 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6472 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6473 # On Suns, sometimes $CPP names a directory.
6474 if test -n "$CPP" && test -d "$CPP"; then
6477 if test -z "$CPP"; then
6478 if ${ac_cv_prog_CPP+:} false
; then :
6479 $as_echo_n "(cached) " >&6
6481 # Double quotes because CPP needs to be expanded
6482 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6485 for ac_c_preproc_warn_flag
in '' yes
6487 # Use a header file that comes with gcc, so configuring glibc
6488 # with a fresh cross-compiler works.
6489 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6490 # <limits.h> exists even on freestanding compilers.
6491 # On the NeXT, cc -E runs the code through the compiler's parser,
6492 # not just through cpp. "Syntax error" is here to catch this case.
6493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6494 /* end confdefs.h. */
6496 # include <limits.h>
6498 # include <assert.h>
6502 if ac_fn_c_try_cpp
"$LINENO"; then :
6505 # Broken: fails on valid input.
6508 rm -f conftest.err conftest.i conftest.
$ac_ext
6510 # OK, works on sane cases. Now check whether nonexistent headers
6511 # can be detected and how.
6512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6513 /* end confdefs.h. */
6514 #include <ac_nonexistent.h>
6516 if ac_fn_c_try_cpp
"$LINENO"; then :
6517 # Broken: success on invalid input.
6520 # Passes both tests.
6524 rm -f conftest.err conftest.i conftest.
$ac_ext
6527 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6528 rm -f conftest.i conftest.err conftest.
$ac_ext
6529 if $ac_preproc_ok; then :
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6542 $as_echo "$CPP" >&6; }
6544 for ac_c_preproc_warn_flag
in '' yes
6546 # Use a header file that comes with gcc, so configuring glibc
6547 # with a fresh cross-compiler works.
6548 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6549 # <limits.h> exists even on freestanding compilers.
6550 # On the NeXT, cc -E runs the code through the compiler's parser,
6551 # not just through cpp. "Syntax error" is here to catch this case.
6552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6553 /* end confdefs.h. */
6555 # include <limits.h>
6557 # include <assert.h>
6561 if ac_fn_c_try_cpp
"$LINENO"; then :
6564 # Broken: fails on valid input.
6567 rm -f conftest.err conftest.i conftest.
$ac_ext
6569 # OK, works on sane cases. Now check whether nonexistent headers
6570 # can be detected and how.
6571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6572 /* end confdefs.h. */
6573 #include <ac_nonexistent.h>
6575 if ac_fn_c_try_cpp
"$LINENO"; then :
6576 # Broken: success on invalid input.
6579 # Passes both tests.
6583 rm -f conftest.err conftest.i conftest.
$ac_ext
6586 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6587 rm -f conftest.i conftest.err conftest.
$ac_ext
6588 if $ac_preproc_ok; then :
6591 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6592 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6593 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6594 See \`config.log' for more details" "$LINENO" 5; }
6598 ac_cpp
='$CPP $CPPFLAGS'
6599 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6600 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6601 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6605 $as_echo_n "checking for ANSI C header files... " >&6; }
6606 if ${ac_cv_header_stdc+:} false
; then :
6607 $as_echo_n "(cached) " >&6
6609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6610 /* end confdefs.h. */
6624 if ac_fn_c_try_compile
"$LINENO"; then :
6625 ac_cv_header_stdc
=yes
6627 ac_cv_header_stdc
=no
6629 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6631 if test $ac_cv_header_stdc = yes; then
6632 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6634 /* end confdefs.h. */
6638 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6639 $EGREP "memchr" >/dev
/null
2>&1; then :
6642 ac_cv_header_stdc
=no
6648 if test $ac_cv_header_stdc = yes; then
6649 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6651 /* end confdefs.h. */
6655 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6656 $EGREP "free" >/dev
/null
2>&1; then :
6659 ac_cv_header_stdc
=no
6665 if test $ac_cv_header_stdc = yes; then
6666 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6667 if test "$cross_compiling" = yes; then :
6670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6671 /* end confdefs.h. */
6674 #if ((' ' & 0x0FF) == 0x020)
6675 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6676 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6678 # define ISLOWER(c) \
6679 (('a' <= (c) && (c) <= 'i') \
6680 || ('j' <= (c) && (c) <= 'r') \
6681 || ('s' <= (c) && (c) <= 'z'))
6682 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6685 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6690 for (i = 0; i < 256; i++)
6691 if (XOR (islower (i), ISLOWER (i))
6692 || toupper (i) != TOUPPER (i))
6697 if ac_fn_c_try_run
"$LINENO"; then :
6700 ac_cv_header_stdc
=no
6702 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6703 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6709 $as_echo "$ac_cv_header_stdc" >&6; }
6710 if test $ac_cv_header_stdc = yes; then
6712 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6716 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6717 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6718 inttypes.h stdint.h unistd.h
6720 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6721 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6723 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6724 cat >>confdefs.h
<<_ACEOF
6725 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6735 ApplicationServices
/ApplicationServices.h \
6736 AudioToolbox
/AudioConverter.h \
6737 AudioUnit
/AudioUnit.h \
6738 AudioUnit
/AudioComponent.h \
6741 CommonCrypto
/CommonDigest.h \
6742 CoreAudio
/CoreAudio.h \
6743 CoreServices
/CoreServices.h \
6744 DiskArbitration
/DiskArbitration.h \
6746 IOKit
/hid
/IOHIDLib.h \
6749 QuickTime
/ImageCompression.h \
6750 Security
/Security.h \
6801 netinet
/in_systm.h \
6865 valgrind
/memcheck.h \
6866 valgrind
/valgrind.h \
6870 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6871 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6872 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6873 cat >>confdefs.h
<<_ACEOF
6874 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6882 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6883 if ${ac_cv_header_sys_types_h_makedev+:} false
; then :
6884 $as_echo_n "(cached) " >&6
6886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6887 /* end confdefs.h. */
6888 #include <sys/types.h>
6892 return makedev(0, 0);
6897 if ac_fn_c_try_link
"$LINENO"; then :
6898 ac_cv_header_sys_types_h_makedev
=yes
6900 ac_cv_header_sys_types_h_makedev
=no
6902 rm -f core conftest.err conftest.
$ac_objext \
6903 conftest
$ac_exeext conftest.
$ac_ext
6906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6907 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6909 if test $ac_cv_header_sys_types_h_makedev = no
; then
6910 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6911 if test "x$ac_cv_header_sys_mkdev_h" = xyes
; then :
6913 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6919 if test $ac_cv_header_sys_mkdev_h = no
; then
6920 ac_fn_c_check_header_mongrel
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6921 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
; then :
6923 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6932 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6933 if ${ac_cv_header_stat_broken+:} false
; then :
6934 $as_echo_n "(cached) " >&6
6936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6937 /* end confdefs.h. */
6938 #include <sys/types.h>
6939 #include <sys/stat.h>
6941 #if defined S_ISBLK && defined S_IFDIR
6942 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6945 #if defined S_ISBLK && defined S_IFCHR
6946 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6949 #if defined S_ISLNK && defined S_IFREG
6950 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6953 #if defined S_ISSOCK && defined S_IFREG
6954 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6958 if ac_fn_c_try_compile
"$LINENO"; then :
6959 ac_cv_header_stat_broken
=no
6961 ac_cv_header_stat_broken
=yes
6963 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6966 $as_echo "$ac_cv_header_stat_broken" >&6; }
6967 if test $ac_cv_header_stat_broken = yes; then
6969 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6975 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6977 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6978 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6979 #ifdef HAVE_SYS_PARAM_H
6980 # include <sys/param.h>
6983 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6984 cat >>confdefs.h
<<_ACEOF
6985 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7000 netinet
/if_ether.h \
7001 netinet
/if_inarp.h \
7010 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7011 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7012 #ifdef HAVE_SYS_SOCKET_H
7013 # include <sys/socket.h>
7015 #ifdef HAVE_SYS_SOCKETVAR_H
7016 # include <sys/socketvar.h>
7018 #ifdef HAVE_NET_ROUTE_H
7019 # include <net/route.h>
7021 #ifdef HAVE_NETINET_IN_H
7022 # include <netinet/in.h>
7024 #ifdef HAVE_NETINET_IN_SYSTM_H
7025 # include <netinet/in_systm.h>
7027 #ifdef HAVE_NET_IF_H
7028 # include <net/if.h>
7030 #ifdef HAVE_NETINET_IP_H
7031 # include <netinet/ip.h>
7034 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7035 cat >>confdefs.h
<<_ACEOF
7036 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7044 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
7046 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7047 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7051 #ifdef HAVE_SYS_SOCKET_H
7052 # include <sys/socket.h>
7054 #ifdef HAVE_SYS_SOCKETVAR_H
7055 # include <sys/socketvar.h>
7057 #ifdef HAVE_SYS_TIMEOUT_H
7058 # include <sys/timeout.h>
7060 #ifdef HAVE_NETINET_IN_H
7061 # include <netinet/in.h>
7063 #ifdef HAVE_NETINET_IN_SYSTM_H
7064 # include <netinet/in_systm.h>
7066 #ifdef HAVE_NETINET_IP_H
7067 # include <netinet/ip.h>
7069 #ifdef HAVE_NETINET_IP_VAR_H
7070 # include <netinet/ip_var.h>
7072 #ifdef HAVE_NETINET_IP_ICMP_H
7073 # include <netinet/ip_icmp.h>
7075 #ifdef HAVE_NETINET_UDP_H
7076 # include <netinet/udp.h>
7078 #ifdef HAVE_NETINET_TCP_H
7079 # include <netinet/tcp.h>
7081 #ifdef HAVE_NETINET_TCP_TIMER_H
7082 #include <netinet/tcp_timer.h>
7085 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7086 cat >>confdefs.h
<<_ACEOF
7087 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7095 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
7097 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7098 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7099 #ifdef HAVE_ASM_TYPES_H
7100 # include <asm/types.h>
7102 #ifdef HAVE_SYS_SOCKET_H
7103 # include <sys/socket.h>
7105 #ifdef HAVE_LINUX_TYPES_H
7106 # include <linux/types.h>
7109 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7110 cat >>confdefs.h
<<_ACEOF
7111 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7119 for ac_header
in mach-o
/dyld_images.h
7121 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7122 # include <stdbool.h>
7124 #ifdef HAVE_STDINT_H
7125 # include <stdint.h>
7128 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
7129 cat >>confdefs.h
<<_ACEOF
7130 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7138 for ac_header
in resolv.h
7140 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7141 #ifdef HAVE_SYS_SOCKET_H
7142 # include <sys/socket.h>
7144 #ifdef HAVE_NETINET_IN_H
7145 # include <netinet/in.h>
7147 #ifdef HAVE_ARPA_NAMESER_H
7148 # include <arpa/nameser.h>
7151 if test "x$ac_cv_header_resolv_h" = xyes
; then :
7152 cat >>confdefs.h
<<_ACEOF
7153 #define HAVE_RESOLV_H 1
7161 for ac_header
in ifaddrs.h
7163 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7165 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
7166 cat >>confdefs.h
<<_ACEOF
7167 #define HAVE_IFADDRS_H 1
7175 for ac_header
in sys
/ucontext.h
7177 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7179 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
7180 cat >>confdefs.h
<<_ACEOF
7181 #define HAVE_SYS_UCONTEXT_H 1
7189 for ac_header
in sys
/thr.h
7191 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7192 #ifdef HAVE_SYS_UCONTEXT_H
7193 #include <sys/ucontext.h>
7196 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
7197 cat >>confdefs.h
<<_ACEOF
7198 #define HAVE_SYS_THR_H 1
7206 for ac_header
in pthread_np.h
7208 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7209 #include <pthread.h>
7212 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
7213 cat >>confdefs.h
<<_ACEOF
7214 #define HAVE_PTHREAD_NP_H 1
7222 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
7224 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7225 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7226 #include <sys/time.h>
7228 #include <sys/types.h>
7229 #ifdef HAVE_ASM_TYPES_H
7230 #include <asm/types.h>
7233 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7234 cat >>confdefs.h
<<_ACEOF
7235 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7243 for ac_header
in libprocstat.h
7245 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7246 #include <sys/param.h>
7248 #ifdef HAVE_SYS_QUEUE_H
7249 #include <sys/queue.h>
7251 #ifdef HAVE_SYS_SOCKET_H
7252 #include <sys/socket.h>
7255 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
7256 cat >>confdefs.h
<<_ACEOF
7257 #define HAVE_LIBPROCSTAT_H 1
7266 dlldir
="\${libdir}/wine"
7268 DLLFLAGS
="-D_REENTRANT"
7279 # Extract the first word of "ldd", so it can be a program name with args.
7280 set dummy ldd
; ac_word
=$2
7281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7282 $as_echo_n "checking for $ac_word... " >&6; }
7283 if ${ac_cv_path_LDD+:} false
; then :
7284 $as_echo_n "(cached) " >&6
7288 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7292 as_dummy
="/sbin:/usr/sbin:$PATH"
7293 for as_dir
in $as_dummy
7296 test -z "$as_dir" && as_dir
=.
7297 for ac_exec_ext
in '' $ac_executable_extensions; do
7298 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7299 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7307 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7312 if test -n "$LDD"; then
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7314 $as_echo "$LDD" >&6; }
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7317 $as_echo "no" >&6; }
7321 if test -n "$ac_tool_prefix"; then
7322 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7323 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7325 $as_echo_n "checking for $ac_word... " >&6; }
7326 if ${ac_cv_prog_OTOOL+:} false
; then :
7327 $as_echo_n "(cached) " >&6
7329 if test -n "$OTOOL"; then
7330 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7332 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7336 test -z "$as_dir" && as_dir
=.
7337 for ac_exec_ext
in '' $ac_executable_extensions; do
7338 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7339 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7349 OTOOL
=$ac_cv_prog_OTOOL
7350 if test -n "$OTOOL"; then
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7352 $as_echo "$OTOOL" >&6; }
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7355 $as_echo "no" >&6; }
7360 if test -z "$ac_cv_prog_OTOOL"; then
7362 # Extract the first word of "otool", so it can be a program name with args.
7363 set dummy otool
; ac_word
=$2
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7365 $as_echo_n "checking for $ac_word... " >&6; }
7366 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
7367 $as_echo_n "(cached) " >&6
7369 if test -n "$ac_ct_OTOOL"; then
7370 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7372 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7376 test -z "$as_dir" && as_dir
=.
7377 for ac_exec_ext
in '' $ac_executable_extensions; do
7378 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7379 ac_cv_prog_ac_ct_OTOOL
="otool"
7380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7389 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7390 if test -n "$ac_ct_OTOOL"; then
7391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7392 $as_echo "$ac_ct_OTOOL" >&6; }
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7395 $as_echo "no" >&6; }
7398 if test "x$ac_ct_OTOOL" = x
; then
7401 case $cross_compiling:$ac_tool_warned in
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7404 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7405 ac_tool_warned
=yes ;;
7410 OTOOL
="$ac_cv_prog_OTOOL"
7413 if test -n "$ac_tool_prefix"; then
7414 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7415 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7417 $as_echo_n "checking for $ac_word... " >&6; }
7418 if ${ac_cv_prog_READELF+:} false
; then :
7419 $as_echo_n "(cached) " >&6
7421 if test -n "$READELF"; then
7422 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7424 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7428 test -z "$as_dir" && as_dir
=.
7429 for ac_exec_ext
in '' $ac_executable_extensions; do
7430 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7431 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7441 READELF
=$ac_cv_prog_READELF
7442 if test -n "$READELF"; then
7443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7444 $as_echo "$READELF" >&6; }
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7447 $as_echo "no" >&6; }
7452 if test -z "$ac_cv_prog_READELF"; then
7453 ac_ct_READELF
=$READELF
7454 # Extract the first word of "readelf", so it can be a program name with args.
7455 set dummy readelf
; ac_word
=$2
7456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7457 $as_echo_n "checking for $ac_word... " >&6; }
7458 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7459 $as_echo_n "(cached) " >&6
7461 if test -n "$ac_ct_READELF"; then
7462 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7464 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7468 test -z "$as_dir" && as_dir
=.
7469 for ac_exec_ext
in '' $ac_executable_extensions; do
7470 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7471 ac_cv_prog_ac_ct_READELF
="readelf"
7472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7481 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7482 if test -n "$ac_ct_READELF"; then
7483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7484 $as_echo "$ac_ct_READELF" >&6; }
7486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7487 $as_echo "no" >&6; }
7490 if test "x$ac_ct_READELF" = x
; then
7493 case $cross_compiling:$ac_tool_warned in
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7496 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7497 ac_tool_warned
=yes ;;
7499 READELF
=$ac_ct_READELF
7502 READELF
="$ac_cv_prog_READELF"
7505 wine_rules_file
=conf$
$rules.
make
7506 rm -f $wine_rules_file
7511 CONFIGURE_TARGETS
=""
7513 ALL_TEST_RESOURCES
=""
7516 wine_fn_append_file
()
7518 as_fn_append
$1 " \\$as_nl $2"
7521 wine_fn_append_rule
()
7523 $as_echo "$1" >>$wine_rules_file
7528 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7531 wine_fn_all_rules
()
7533 wine_fn_append_file SUBDIRS
$ac_dir
7534 wine_fn_append_rule \
7538 @cd $ac_dir && \$(MAKE)"
7541 wine_fn_install_rules
()
7543 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7545 wine_fn_append_rule \
7546 ".PHONY: $ac_dir/install $ac_dir/uninstall
7547 $ac_dir/install:: $ac_dir
7548 @cd $ac_dir && \$(MAKE) install
7550 @cd $ac_dir && \$(MAKE) uninstall
7551 install:: $ac_dir/install
7552 __uninstall__: $ac_dir/uninstall"
7554 if wine_fn_has_flag install-lib
7556 wine_fn_append_rule \
7557 ".PHONY: $ac_dir/install-lib
7558 $ac_dir/install-lib:: $ac_dir
7559 @cd $ac_dir && \$(MAKE) install-lib
7560 install-lib:: $ac_dir/install-lib"
7563 if wine_fn_has_flag install-dev
7565 wine_fn_append_rule \
7566 ".PHONY: $ac_dir/install-dev
7567 $ac_dir/install-dev:: $ac_dir
7568 @cd $ac_dir && \$(MAKE) install-dev
7569 install-dev:: $ac_dir/install-dev"
7573 wine_fn_clean_rules
()
7577 if wine_fn_has_flag clean
7579 wine_fn_append_rule \
7580 "$ac_dir/clean: dummy
7581 @cd $ac_dir && \$(MAKE) clean"
7583 wine_fn_append_rule \
7584 "$ac_dir/clean: dummy
7585 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7587 wine_fn_append_rule \
7588 "__clean__: $ac_dir/clean
7589 .PHONY: $ac_dir/clean"
7592 wine_fn_disabled_rules
()
7596 wine_fn_append_file SUBDIRS
$ac_dir
7597 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir
7598 wine_fn_append_rule \
7599 "__clean__: $ac_dir/clean
7600 .PHONY: $ac_dir/clean
7601 $ac_dir/clean: dummy
7602 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7605 wine_fn_config_makefile
()
7612 fonts|server
) test -z "$with_wine64" ||
return ;;
7614 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7615 wine_fn_disabled_rules
; return
7618 wine_fn_install_rules
7622 wine_fn_config_lib
()
7626 ac_dir
=dlls
/$ac_name
7629 if test "x$enable_tools" = xno
; then :
7632 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7637 wine_fn_append_rule \
7638 ".PHONY: $ac_dir/install $ac_dir/uninstall
7639 $ac_dir/install:: $ac_dir
7640 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7642 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7643 install install-dev:: $ac_dir/install
7644 __uninstall__: $ac_dir/uninstall
7645 __builddeps__: $ac_dir
7649 wine_fn_config_dll
()
7652 ac_dir
=dlls
/$ac_name
7655 ac_implib
=${4:-$ac_name}
7656 ac_file
=$ac_dir/lib
$ac_implib
7661 if test "x$enable_tools" = xno
; then :
7664 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7667 *16) ac_implibflags
=" -m16" ;;
7669 *) ac_dll
=$ac_dll.dll
;;
7673 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7674 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7676 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7677 if test "$ac_enable" != enable_win16
7679 wine_fn_clean_rules
$ac_clean
7680 wine_fn_append_file SUBDIRS
$ac_dir
7681 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir
7683 wine_fn_disabled_rules
$ac_clean
7688 wine_fn_clean_rules
$ac_clean
7689 wine_fn_append_rule \
7690 "$ac_dir: __builddeps__
7691 manpages htmlpages sgmlpages xmlpages::
7692 @cd $ac_dir && \$(MAKE) \$@
7693 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7694 install install-lib:: $ac_dir/install-lib
7695 __uninstall__: $ac_dir/uninstall"
7696 if test -n "$DLLEXT"
7698 wine_fn_append_rule \
7699 "$ac_dir/install-lib:: $ac_dir
7700 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7701 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7703 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7705 wine_fn_append_rule \
7706 "$ac_dir/install-lib:: $ac_dir
7707 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7709 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7713 if wine_fn_has_flag staticimplib
7715 wine_fn_append_rule \
7716 "__builddeps__: $ac_file.a
7717 $ac_file.a $ac_file.cross.a: $ac_deps
7719 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7720 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7721 $ac_dir/install-dev:: $ac_file.a
7722 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7724 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7725 install install-dev:: $ac_dir/install-dev
7726 __uninstall__: $ac_dir/uninstall"
7728 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7730 wine_fn_append_rule \
7731 "__builddeps__: $ac_file.cross.a
7732 $ac_file.cross.a: dummy
7733 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7736 elif wine_fn_has_flag implib
7738 wine_fn_append_rule \
7739 "__builddeps__: $ac_file.$IMPLIBEXT
7740 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7741 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7742 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7743 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7744 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7745 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7746 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7748 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7749 install install-dev:: $ac_dir/install-dev
7750 __uninstall__: $ac_dir/uninstall"
7751 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7753 wine_fn_append_rule \
7754 "__builddeps__: $ac_file.cross.a
7755 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7756 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7761 wine_fn_config_program
()
7764 ac_dir
=programs
/$ac_name
7771 *) ac_program
=$ac_program.exe
;;
7775 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7776 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7778 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7779 wine_fn_disabled_rules
$ac_clean; return
7783 wine_fn_clean_rules
$ac_clean
7784 wine_fn_append_rule
"$ac_dir: __builddeps__"
7786 wine_fn_has_flag
install ||
return
7787 wine_fn_append_rule \
7788 ".PHONY: $ac_dir/install $ac_dir/uninstall
7789 install install-lib:: $ac_dir/install
7790 __uninstall__: $ac_dir/uninstall"
7792 if test -n "$DLLEXT"
7794 wine_fn_append_rule \
7795 "$ac_dir/install:: $ac_dir
7796 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7797 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7799 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7801 if test -z "$with_wine64" && wine_fn_has_flag installbin
7803 wine_fn_append_rule \
7804 "$ac_dir/install:: __tooldeps__
7805 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7807 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7810 wine_fn_append_rule \
7811 "$ac_dir/install:: $ac_dir
7812 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7814 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7817 if test -z "$with_wine64" && wine_fn_has_flag manpage
7819 wine_fn_append_rule \
7820 "$ac_dir/install:: $ac_dir
7821 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7823 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7827 wine_fn_config_test
()
7834 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7835 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7837 if test "x$enable_tests" = xno
; then :
7838 wine_fn_disabled_rules
$ac_clean; return
7841 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7843 wine_fn_clean_rules
$ac_clean
7845 wine_fn_append_rule \
7846 "$ac_dir: __builddeps__
7847 programs/winetest: $ac_dir
7848 check test: $ac_dir/test
7849 .PHONY: $ac_dir/test
7851 @cd $ac_dir && \$(MAKE) test
7853 \$(RM) $ac_dir/*.ok"
7855 if test -n "$CROSSTARGET"
7857 wine_fn_append_rule \
7858 "crosstest: $ac_dir/crosstest
7859 .PHONY: $ac_dir/crosstest
7860 $ac_dir/crosstest: __builddeps__ dummy
7861 @cd $ac_dir && \$(MAKE) crosstest"
7865 wine_fn_config_tool
()
7869 if test "x$enable_tools" = xno
; then :
7870 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir; return
7874 wine_fn_install_rules
7877 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7878 wine_fn_append_rule
"$ac_dir: libs/port"
7880 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7884 wine_fn_config_symlink
()
7887 if test "x$1" = "x-d"
7893 wine_fn_append_rule \
7895 @./config.status \$@"
7896 for f
in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS
$f; done
7897 test -n "$ac_linkdir" ||
return
7898 wine_fn_append_rule
"$ac_linkdir/depend: $ac_links"
7902 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7903 WINELOADER_PROGRAMS
="$wine_binary"
7905 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7909 if test -n "$ac_tool_prefix"; then
7910 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7911 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7913 $as_echo_n "checking for $ac_word... " >&6; }
7914 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7915 $as_echo_n "(cached) " >&6
7917 if test -n "$DLLTOOL"; then
7918 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7920 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7924 test -z "$as_dir" && as_dir
=.
7925 for ac_exec_ext
in '' $ac_executable_extensions; do
7926 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7927 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7937 DLLTOOL
=$ac_cv_prog_DLLTOOL
7938 if test -n "$DLLTOOL"; then
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7940 $as_echo "$DLLTOOL" >&6; }
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7943 $as_echo "no" >&6; }
7948 if test -z "$ac_cv_prog_DLLTOOL"; then
7949 ac_ct_DLLTOOL
=$DLLTOOL
7950 # Extract the first word of "dlltool", so it can be a program name with args.
7951 set dummy dlltool
; ac_word
=$2
7952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7953 $as_echo_n "checking for $ac_word... " >&6; }
7954 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7955 $as_echo_n "(cached) " >&6
7957 if test -n "$ac_ct_DLLTOOL"; then
7958 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7960 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7964 test -z "$as_dir" && as_dir
=.
7965 for ac_exec_ext
in '' $ac_executable_extensions; do
7966 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7967 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7977 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7978 if test -n "$ac_ct_DLLTOOL"; then
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7980 $as_echo "$ac_ct_DLLTOOL" >&6; }
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7983 $as_echo "no" >&6; }
7986 if test "x$ac_ct_DLLTOOL" = x
; then
7989 case $cross_compiling:$ac_tool_warned in
7991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7992 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7993 ac_tool_warned
=yes ;;
7995 DLLTOOL
=$ac_ct_DLLTOOL
7998 DLLTOOL
="$ac_cv_prog_DLLTOOL"
8004 enable_iphlpapi
=${enable_iphlpapi:-no}
8005 enable_kernel32
=${enable_kernel32:-no}
8006 enable_msvcrt
=${enable_msvcrt:-no}
8007 enable_ntdll
=${enable_ntdll:-no}
8008 enable_ws2_32
=${enable_ws2_32:-no}
8009 enable_loader
=${enable_loader:-no}
8010 enable_server
=${enable_server:-no}
8011 with_x
=${with_x:-no}
8012 with_pthread
=${with_pthread:-no}
8018 SOCKET_LIBS
="-lws2_32"
8022 LIBWINE_SHAREDLIB
="libwine.dll"
8024 LIBWINE_IMPORTLIB
="libwine.a"
8026 LIBWINE_INSTALL_LIB
="libwine.dll"
8028 LIBWINE_INSTALL_DEV
="libwine.a"
8030 LIBWINE_LDFLAGS
="-shared \$(srcdir)/wine.def"
8032 LIBWINE_DEPENDS
="wine.def"
8037 for ac_header
in libunwind.h
8039 ac_fn_c_check_header_mongrel
"$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8040 if test "x$ac_cv_header_libunwind_h" = xyes
; then :
8041 cat >>confdefs.h
<<_ACEOF
8042 #define HAVE_LIBUNWIND_H 1
8050 DLLFLAGS
="$DLLFLAGS -fPIC"
8051 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8052 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8053 COREFOUNDATION_LIBS
="-framework CoreFoundation"
8055 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
8057 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
8059 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
8061 CORESERVICES_LIBS
="-framework CoreServices"
8063 APPKIT_LIBS
="-framework AppKit"
8065 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8067 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8068 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
8069 $as_echo_n "(cached) " >&6
8071 ac_wine_try_cflags_saved
=$CFLAGS
8072 CFLAGS
="$CFLAGS -Wl,-no_pie"
8073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8074 /* end confdefs.h. */
8075 int main(int argc, char **argv) { return 0; }
8077 if ac_fn_c_try_link
"$LINENO"; then :
8078 ac_cv_cflags__Wl__no_pie
=yes
8080 ac_cv_cflags__Wl__no_pie
=no
8082 rm -f core conftest.err conftest.
$ac_objext \
8083 conftest
$ac_exeext conftest.
$ac_ext
8084 CFLAGS
=$ac_wine_try_cflags_saved
8086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8087 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8088 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
8089 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
8091 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8093 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
8096 if test "$ac_cv_header_Security_Security_h" = "yes"
8098 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
8100 ac_save_LIBS
="$LIBS"
8101 LIBS
="$LIBS $SECURITY_LIBS"
8102 for ac_func
in SSLCopyPeerCertificates
8104 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8105 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
8106 cat >>confdefs.h
<<_ACEOF
8107 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8113 LIBS
="$ac_save_LIBS"
8114 with_gnutls
=${with_gnutls:-no}
8116 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8118 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8120 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8123 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8126 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-yes}
8127 ac_save_LIBS
="$LIBS"
8128 LIBS
="$LIBS $COREAUDIO_LIBS"
8129 for ac_func
in AUGraphAddNode
8131 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8132 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
8133 cat >>confdefs.h
<<_ACEOF
8134 #define HAVE_AUGRAPHADDNODE 1
8140 LIBS
="$ac_save_LIBS"
8142 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8144 OPENAL_LIBS
="-framework OpenAL"
8147 cat >>confdefs.h
<<_ACEOF
8148 #define HAVE_OPENAL 1
8151 ac_cv_lib_openal
=yes
8153 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8155 OPENCL_LIBS
="-framework OpenCL"
8157 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
8159 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8161 ac_save_LIBS
="$LIBS"
8162 LIBS
="$LIBS $IOKIT_LIBS"
8163 for ac_func
in IOHIDManagerCreate
8165 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8166 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
8167 cat >>confdefs.h
<<_ACEOF
8168 #define HAVE_IOHIDMANAGERCREATE 1
8174 LIBS
="$ac_save_LIBS"
8176 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8178 ac_save_LIBS
="$LIBS"
8179 LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8181 $as_echo_n "checking for the QuickTime framework... " >&6; }
8182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8183 /* end confdefs.h. */
8184 #include <QuickTime/ImageCompression.h>
8188 CodecManagerVersion(NULL);
8193 if ac_fn_c_try_link
"$LINENO"; then :
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8195 $as_echo "yes" >&6; }
8196 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8198 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8201 $as_echo "no" >&6; }
8202 ac_cv_header_QuickTime_ImageCompression_h
=no
8204 rm -f core conftest.err conftest.
$ac_objext \
8205 conftest
$ac_exeext conftest.
$ac_ext
8206 LIBS
="$ac_save_LIBS"
8208 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8210 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8212 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8214 CARBON_LIBS
="-framework Carbon"
8218 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8220 ac_save_LIBS
="$LIBS"
8221 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
8222 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8223 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
8224 enable_winemac_drv
=${enable_winemac_drv:-yes}
8227 LIBS
="$ac_save_LIBS"
8230 if test "x$enable_win16" = "xyes"
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8233 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8234 if test "$cross_compiling" = yes; then :
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8236 $as_echo "cross-compiling, assuming yes" >&6; }
8238 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8239 /* end confdefs.h. */
8242 "good:\tnop;nop\n\t"
8243 ".globl _testfunc\n"
8244 "_testfunc:\tcallw good");
8245 extern void testfunc();
8249 unsigned short *p = (unsigned short *)testfunc;
8250 return p[0] != 0xe866 || p[1] != 0xfffa
8255 if ac_fn_c_try_run
"$LINENO"; then :
8256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8257 $as_echo "yes" >&6; }
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8260 $as_echo "no" >&6; }
8261 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
8263 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8264 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8269 LIBWINE_SHAREDLIB
="libwine.$libwine_version.dylib"
8271 LIBWINE_INSTALL_LIB
="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8273 LIBWINE_INSTALL_DEV
="libwine.dylib"
8275 LIBWINE_LDFLAGS
="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8277 WINELOADER_DEPENDS
="wine_info.plist"
8282 DLLFLAGS
="$DLLFLAGS -fPIC"
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8284 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8285 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8286 $as_echo_n "(cached) " >&6
8288 ac_wine_try_cflags_saved
=$CFLAGS
8289 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8291 /* end confdefs.h. */
8292 int main(int argc, char **argv) { return 0; }
8294 if ac_fn_c_try_link
"$LINENO"; then :
8295 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8297 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8299 rm -f core conftest.err conftest.
$ac_objext \
8300 conftest
$ac_exeext conftest.
$ac_ext
8301 CFLAGS
=$ac_wine_try_cflags_saved
8303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8304 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8305 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8306 LDEXECFLAGS
="-Wl,--export-dynamic"
8308 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8310 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8311 if eval \
${$as_ac_var+:} false
; then :
8312 $as_echo_n "(cached) " >&6
8314 ac_wine_try_cflags_saved
=$CFLAGS
8315 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8317 /* end confdefs.h. */
8318 int main(int argc, char **argv) { return 0; }
8320 if ac_fn_c_try_link
"$LINENO"; then :
8321 eval "$as_ac_var=yes"
8323 eval "$as_ac_var=no"
8325 rm -f core conftest.err conftest.
$ac_objext \
8326 conftest
$ac_exeext conftest.
$ac_ext
8327 CFLAGS
=$ac_wine_try_cflags_saved
8329 eval ac_res
=\$
$as_ac_var
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8331 $as_echo "$ac_res" >&6; }
8332 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8333 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8334 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8336 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8338 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8339 if eval \
${$as_ac_var+:} false
; then :
8340 $as_echo_n "(cached) " >&6
8342 ac_wine_try_cflags_saved
=$CFLAGS
8343 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8345 /* end confdefs.h. */
8346 int main(int argc, char **argv) { return 0; }
8348 if ac_fn_c_try_link
"$LINENO"; then :
8349 eval "$as_ac_var=yes"
8351 eval "$as_ac_var=no"
8353 rm -f core conftest.err conftest.
$ac_objext \
8354 conftest
$ac_exeext conftest.
$ac_ext
8355 CFLAGS
=$ac_wine_try_cflags_saved
8357 eval ac_res
=\$
$as_ac_var
8358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8359 $as_echo "$ac_res" >&6; }
8360 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8361 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8362 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8367 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8368 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8369 $as_echo_n "(cached) " >&6
8371 ac_wine_try_cflags_saved
=$CFLAGS
8372 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8374 /* end confdefs.h. */
8375 int main(int argc, char **argv) { return 0; }
8377 if ac_fn_c_try_link
"$LINENO"; then :
8378 ac_cv_cflags__Wl___enable_new_dtags
=yes
8380 ac_cv_cflags__Wl___enable_new_dtags
=no
8382 rm -f core conftest.err conftest.
$ac_objext \
8383 conftest
$ac_exeext conftest.
$ac_ext
8384 CFLAGS
=$ac_wine_try_cflags_saved
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8387 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8388 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8389 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8392 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8393 if ${ac_cv_cflags__Wl__pie+:} false
; then :
8394 $as_echo_n "(cached) " >&6
8396 ac_wine_try_cflags_saved
=$CFLAGS
8397 CFLAGS
="$CFLAGS -Wl,-pie"
8398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8399 /* end confdefs.h. */
8400 int main(int argc, char **argv) { return 0; }
8402 if ac_fn_c_try_link
"$LINENO"; then :
8403 ac_cv_cflags__Wl__pie
=yes
8405 ac_cv_cflags__Wl__pie
=no
8407 rm -f core conftest.err conftest.
$ac_objext \
8408 conftest
$ac_exeext conftest.
$ac_ext
8409 CFLAGS
=$ac_wine_try_cflags_saved
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8412 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8413 if test "x$ac_cv_cflags__Wl__pie" = xyes
; then :
8414 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,-pie"
8417 LIBWINE_SHAREDLIB
="libwine.so"
8419 LIBWINE_INSTALL_LIB
="libwine.so"
8421 LIBWINE_LDFLAGS
="-shared -Wl,-soname,libwine.so"
8426 DLLFLAGS
="$DLLFLAGS -fPIC"
8428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8429 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8430 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8431 $as_echo_n "(cached) " >&6
8433 ac_wine_try_cflags_saved
=$CFLAGS
8434 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8436 /* end confdefs.h. */
8439 if ac_fn_c_try_link
"$LINENO"; then :
8440 ac_cv_c_dll_gnuelf
="yes"
8442 ac_cv_c_dll_gnuelf
="no"
8444 rm -f core conftest.err conftest.
$ac_objext \
8445 conftest
$ac_exeext conftest.
$ac_ext
8446 CFLAGS
=$ac_wine_try_cflags_saved
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8449 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8450 if test "$ac_cv_c_dll_gnuelf" = "yes"
8452 LIBWINE_LDFLAGS
="-shared"
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8454 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8455 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8456 $as_echo_n "(cached) " >&6
8458 ac_wine_try_cflags_saved
=$CFLAGS
8459 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8461 /* end confdefs.h. */
8462 int main(int argc, char **argv) { return 0; }
8464 if ac_fn_c_try_link
"$LINENO"; then :
8465 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8467 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8469 rm -f core conftest.err conftest.
$ac_objext \
8470 conftest
$ac_exeext conftest.
$ac_ext
8471 CFLAGS
=$ac_wine_try_cflags_saved
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8474 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8475 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8476 LIBWINE_LDFLAGS
="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8479 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8480 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8481 $as_echo_n "(cached) " >&6
8483 ac_wine_try_cflags_saved
=$CFLAGS
8484 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8486 /* end confdefs.h. */
8487 int main(int argc, char **argv) { return 0; }
8489 if ac_fn_c_try_link
"$LINENO"; then :
8490 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8492 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8494 rm -f core conftest.err conftest.
$ac_objext \
8495 conftest
$ac_exeext conftest.
$ac_ext
8496 CFLAGS
=$ac_wine_try_cflags_saved
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8499 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8500 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8501 LIBWINE_LDFLAGS
="-shared -Wl,-h,libwine.so.$libwine_soversion"
8505 echo '{ global: *; };' >conftest.map
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8507 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8508 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8509 $as_echo_n "(cached) " >&6
8511 ac_wine_try_cflags_saved
=$CFLAGS
8512 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8514 /* end confdefs.h. */
8515 int main(int argc, char **argv) { return 0; }
8517 if ac_fn_c_try_link
"$LINENO"; then :
8518 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8520 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8522 rm -f core conftest.err conftest.
$ac_objext \
8523 conftest
$ac_exeext conftest.
$ac_ext
8524 CFLAGS
=$ac_wine_try_cflags_saved
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8527 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8528 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8529 LIBWINE_LDFLAGS
="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8534 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8535 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8536 $as_echo_n "(cached) " >&6
8538 ac_wine_try_cflags_saved
=$CFLAGS
8539 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8541 /* end confdefs.h. */
8542 int main(int argc, char **argv) { return 0; }
8544 if ac_fn_c_try_link
"$LINENO"; then :
8545 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8547 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8549 rm -f core conftest.err conftest.
$ac_objext \
8550 conftest
$ac_exeext conftest.
$ac_ext
8551 CFLAGS
=$ac_wine_try_cflags_saved
8553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8554 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8555 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8556 LDEXECFLAGS
="-Wl,--export-dynamic"
8559 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8561 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8562 if eval \
${$as_ac_var+:} false
; then :
8563 $as_echo_n "(cached) " >&6
8565 ac_wine_try_cflags_saved
=$CFLAGS
8566 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8568 /* end confdefs.h. */
8569 int main(int argc, char **argv) { return 0; }
8571 if ac_fn_c_try_link
"$LINENO"; then :
8572 eval "$as_ac_var=yes"
8574 eval "$as_ac_var=no"
8576 rm -f core conftest.err conftest.
$ac_objext \
8577 conftest
$ac_exeext conftest.
$ac_ext
8578 CFLAGS
=$ac_wine_try_cflags_saved
8580 eval ac_res
=\$
$as_ac_var
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8582 $as_echo "$ac_res" >&6; }
8583 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8584 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8585 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8587 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8589 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8590 if eval \
${$as_ac_var+:} false
; then :
8591 $as_echo_n "(cached) " >&6
8593 ac_wine_try_cflags_saved
=$CFLAGS
8594 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8596 /* end confdefs.h. */
8597 int main(int argc, char **argv) { return 0; }
8599 if ac_fn_c_try_link
"$LINENO"; then :
8600 eval "$as_ac_var=yes"
8602 eval "$as_ac_var=no"
8604 rm -f core conftest.err conftest.
$ac_objext \
8605 conftest
$ac_exeext conftest.
$ac_ext
8606 CFLAGS
=$ac_wine_try_cflags_saved
8608 eval ac_res
=\$
$as_ac_var
8609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8610 $as_echo "$ac_res" >&6; }
8611 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8612 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8613 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8618 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8619 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8620 $as_echo_n "(cached) " >&6
8622 ac_wine_try_cflags_saved
=$CFLAGS
8623 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8625 /* end confdefs.h. */
8626 int main(int argc, char **argv) { return 0; }
8628 if ac_fn_c_try_link
"$LINENO"; then :
8629 ac_cv_cflags__Wl___enable_new_dtags
=yes
8631 ac_cv_cflags__Wl___enable_new_dtags
=no
8633 rm -f core conftest.err conftest.
$ac_objext \
8634 conftest
$ac_exeext conftest.
$ac_ext
8635 CFLAGS
=$ac_wine_try_cflags_saved
8637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8638 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8639 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8640 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8644 *i
[3456789]86* | x86_64
)
8645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8646 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8647 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false
; then :
8648 $as_echo_n "(cached) " >&6
8650 ac_wine_try_cflags_saved
=$CFLAGS
8651 CFLAGS
="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8653 /* end confdefs.h. */
8654 int main(int argc, char **argv) { return 0; }
8656 if ac_fn_c_try_link
"$LINENO"; then :
8657 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000
=yes
8659 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000
=no
8661 rm -f core conftest.err conftest.
$ac_objext \
8662 conftest
$ac_exeext conftest.
$ac_ext
8663 CFLAGS
=$ac_wine_try_cflags_saved
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8666 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8667 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
; then :
8669 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8670 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8674 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8675 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false
; then :
8676 $as_echo_n "(cached) " >&6
8678 ac_wine_try_cflags_saved
=$CFLAGS
8679 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8681 /* end confdefs.h. */
8682 int main(int argc, char **argv) { return 0; }
8684 if ac_fn_c_try_link
"$LINENO"; then :
8685 ac_cv_cflags__Wl___section_start__interp_0x7c000400
=yes
8687 ac_cv_cflags__Wl___section_start__interp_0x7c000400
=no
8689 rm -f core conftest.err conftest.
$ac_objext \
8690 conftest
$ac_exeext conftest.
$ac_ext
8691 CFLAGS
=$ac_wine_try_cflags_saved
8693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8694 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8695 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes
; then :
8697 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8698 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8701 # Extract the first word of "prelink", so it can be a program name with args.
8702 set dummy prelink
; ac_word
=$2
8703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8704 $as_echo_n "checking for $ac_word... " >&6; }
8705 if ${ac_cv_path_PRELINK+:} false
; then :
8706 $as_echo_n "(cached) " >&6
8710 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8714 for as_dir
in /sbin
/usr
/sbin
$PATH
8717 test -z "$as_dir" && as_dir
=.
8718 for ac_exec_ext
in '' $ac_executable_extensions; do
8719 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8720 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8728 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8732 PRELINK
=$ac_cv_path_PRELINK
8733 if test -n "$PRELINK"; then
8734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8735 $as_echo "$PRELINK" >&6; }
8737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8738 $as_echo "no" >&6; }
8742 if test "x$PRELINK" = xfalse
8744 as_fn_append wine_warnings
"|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8748 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8749 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false
; then :
8750 $as_echo_n "(cached) " >&6
8752 ac_wine_try_cflags_saved
=$CFLAGS
8753 CFLAGS
="$CFLAGS -Wl,-z,max-page-size=0x1000"
8754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8755 /* end confdefs.h. */
8756 int main(int argc, char **argv) { return 0; }
8758 if ac_fn_c_try_link
"$LINENO"; then :
8759 ac_cv_cflags__Wl__z_max_page_size_0x1000
=yes
8761 ac_cv_cflags__Wl__z_max_page_size_0x1000
=no
8763 rm -f core conftest.err conftest.
$ac_objext \
8764 conftest
$ac_exeext conftest.
$ac_ext
8765 CFLAGS
=$ac_wine_try_cflags_saved
8767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8768 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8769 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
; then :
8770 LDEXECFLAGS
="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8777 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8778 if ${ac_cv_c_dll_unixware+:} false
; then :
8779 $as_echo_n "(cached) " >&6
8781 ac_wine_try_cflags_saved
=$CFLAGS
8782 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8784 /* end confdefs.h. */
8787 if ac_fn_c_try_link
"$LINENO"; then :
8788 ac_cv_c_dll_unixware
="yes"
8790 ac_cv_c_dll_unixware
="no"
8792 rm -f core conftest.err conftest.
$ac_objext \
8793 conftest
$ac_exeext conftest.
$ac_ext
8794 CFLAGS
=$ac_wine_try_cflags_saved
8796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8797 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8798 if test "$ac_cv_c_dll_unixware" = "yes"
8800 LIBWINE_LDFLAGS
="-Wl,-G,-h,libwine.so.$libwine_soversion"
8803 LIBWINE_SHAREDLIB
="libwine.so.$libwine_version"
8805 LIBWINE_INSTALL_LIB
="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8807 LIBWINE_INSTALL_DEV
="libwine.so"
8809 LIBWINE_DEPENDS
="wine.map"
8814 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
8815 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8816 enable_winemac_drv
=${enable_winemac_drv:-no}
8817 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
8821 if test "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8825 ac_prefix_list
="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8827 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
8828 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8831 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
8832 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8834 ac_prefix_list
="" ;;
8836 for ac_prog
in $ac_prefix_list
8838 # Extract the first word of "$ac_prog", so it can be a program name with args.
8839 set dummy
$ac_prog; ac_word
=$2
8840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8841 $as_echo_n "checking for $ac_word... " >&6; }
8842 if ${ac_cv_prog_CROSSCC+:} false
; then :
8843 $as_echo_n "(cached) " >&6
8845 if test -n "$CROSSCC"; then
8846 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8848 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8852 test -z "$as_dir" && as_dir
=.
8853 for ac_exec_ext
in '' $ac_executable_extensions; do
8854 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8855 ac_cv_prog_CROSSCC
="$ac_prog"
8856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8865 CROSSCC
=$ac_cv_prog_CROSSCC
8866 if test -n "$CROSSCC"; then
8867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8868 $as_echo "$CROSSCC" >&6; }
8870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8871 $as_echo "no" >&6; }
8875 test -n "$CROSSCC" && break
8877 test -n "$CROSSCC" || CROSSCC
="false"
8879 if test "$CROSSCC" != "false"
8883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8884 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8886 /* end confdefs.h. */
8896 if ac_fn_c_try_compile
"$LINENO"; then :
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8898 $as_echo "yes" >&6; }
8904 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8905 *-clang) CROSSTARGET
=`expr "$1" : '\(.*\)-clang'` ;;
8910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8911 $as_echo "no" >&6; }
8913 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8919 if test "$ac_cv_header_pthread_h" = "yes"
8921 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8922 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8926 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8927 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8928 $as_echo_n "(cached) " >&6
8930 ac_check_lib_save_LIBS
=$LIBS
8931 LIBS
="-lpthread $LIBS"
8932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8933 /* end confdefs.h. */
8935 /* Override any GCC internal prototype to avoid an error.
8936 Use char because int might match the return type of a GCC
8937 builtin and then its argument prototype would still apply. */
8941 char pthread_create ();
8945 return pthread_create ();
8950 if ac_fn_c_try_link
"$LINENO"; then :
8951 ac_cv_lib_pthread_pthread_create
=yes
8953 ac_cv_lib_pthread_pthread_create
=no
8955 rm -f core conftest.err conftest.
$ac_objext \
8956 conftest
$ac_exeext conftest.
$ac_ext
8957 LIBS
=$ac_check_lib_save_LIBS
8959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8960 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8961 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8962 PTHREAD_LIBS
="-lpthread"
8969 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8970 case "x$with_pthread" in
8972 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8973 Wine cannot support threads without libpthread.
8974 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8981 $as_echo_n "checking for X... " >&6; }
8984 # Check whether --with-x was given.
8985 if test "${with_x+set}" = set; then :
8989 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8990 if test "x$with_x" = xno
; then
8991 # The user explicitly disabled X.
8994 case $x_includes,$x_libraries in #(
8995 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8996 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8997 $as_echo_n "(cached) " >&6
8999 # One or both of the vars are not set, and there is no cached value.
9000 ac_x_includes
=no ac_x_libraries
=no
9001 rm -f -r conftest.dir
9002 if mkdir conftest.dir
; then
9004 cat >Imakefile
<<'_ACEOF'
9006 @echo incroot='${INCROOT}'
9008 @echo usrlibdir='${USRLIBDIR}'
9010 @echo libdir='${LIBDIR}'
9012 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
9013 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9014 for ac_var
in incroot usrlibdir libdir
; do
9015 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9017 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9018 for ac_extension
in a so sl dylib la dll
; do
9019 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9020 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9021 ac_im_usrlibdir
=$ac_im_libdir; break
9024 # Screen out bogus values from the imake configuration. They are
9025 # bogus both because they are the default anyway, and because
9026 # using them would break gcc on systems where it needs fixed includes.
9027 case $ac_im_incroot in
9028 /usr
/include
) ac_x_includes
= ;;
9029 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
9031 case $ac_im_usrlibdir in
9032 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
9033 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
9037 rm -f -r conftest.dir
9040 # Standard set of common directories for X headers.
9041 # Check X11 before X11Rn because it is often a symlink to the current release.
9055 /usr/local/X11/include
9056 /usr/local/X11R7/include
9057 /usr/local/X11R6/include
9058 /usr/local/X11R5/include
9059 /usr/local/X11R4/include
9061 /usr/local/include/X11
9062 /usr/local/include/X11R7
9063 /usr/local/include/X11R6
9064 /usr/local/include/X11R5
9065 /usr/local/include/X11R4
9069 /usr/XFree86/include/X11
9073 /usr/unsupported/include
9075 /usr/local/x11r5/include
9076 /usr/lpp/Xamples/include
9078 /usr/openwin/include
9079 /usr/openwin/share/include'
9081 if test "$ac_x_includes" = no
; then
9082 # Guess where to find include files, by looking for Xlib.h.
9083 # First, try using that file with no special directory specified.
9084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9085 /* end confdefs.h. */
9086 #include <X11/Xlib.h>
9088 if ac_fn_c_try_cpp
"$LINENO"; then :
9089 # We can compile using X headers with no special include directory.
9092 for ac_dir
in $ac_x_header_dirs; do
9093 if test -r "$ac_dir/X11/Xlib.h"; then
9094 ac_x_includes
=$ac_dir
9099 rm -f conftest.err conftest.i conftest.
$ac_ext
9100 fi # $ac_x_includes = no
9102 if test "$ac_x_libraries" = no
; then
9103 # Check for the libraries.
9104 # See if we find them without any special options.
9105 # Don't add to $LIBS permanently.
9108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9109 /* end confdefs.h. */
9110 #include <X11/Xlib.h>
9119 if ac_fn_c_try_link
"$LINENO"; then :
9121 # We can link X programs with no special library path.
9125 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9127 # Don't even attempt the hair of trying to link an X program!
9128 for ac_extension
in a so sl dylib la dll
; do
9129 if test -r "$ac_dir/libX11.$ac_extension"; then
9130 ac_x_libraries
=$ac_dir
9136 rm -f core conftest.err conftest.
$ac_objext \
9137 conftest
$ac_exeext conftest.
$ac_ext
9138 fi # $ac_x_libraries = no
9140 case $ac_x_includes,$ac_x_libraries in #(
9142 # Didn't find X, or a directory has "'" in its name.
9143 ac_cv_have_x
="have_x=no";; #(
9145 # Record where we found X for the cache.
9146 ac_cv_have_x
="have_x=yes\
9147 ac_x_includes='$ac_x_includes'\
9148 ac_x_libraries='$ac_x_libraries'"
9154 eval "$ac_cv_have_x"
9157 if test "$have_x" != yes; then
9158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9159 $as_echo "$have_x" >&6; }
9162 # If each of the values was on the command line, it overrides each guess.
9163 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
9164 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
9165 # Update the cache value to reflect the command line values.
9166 ac_cv_have_x
="have_x=yes\
9167 ac_x_includes='$x_includes'\
9168 ac_x_libraries='$x_libraries'"
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9170 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9173 if test "$no_x" = yes; then
9174 # Not all programs may use this symbol, but it does not hurt to define it.
9176 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9178 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
9180 if test -n "$x_includes"; then
9181 X_CFLAGS
="$X_CFLAGS -I$x_includes"
9184 # It would also be nice to do this for all -L options, not just this one.
9185 if test -n "$x_libraries"; then
9186 X_LIBS
="$X_LIBS -L$x_libraries"
9187 # For Solaris; some versions of Sun CC require a space after -R and
9188 # others require no space. Words are not sufficient . . . .
9189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9190 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9191 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
9192 ac_xsave_c_werror_flag
=$ac_c_werror_flag
9193 ac_c_werror_flag
=yes
9194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9195 /* end confdefs.h. */
9205 if ac_fn_c_try_link
"$LINENO"; then :
9206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9207 $as_echo "no" >&6; }
9208 X_LIBS
="$X_LIBS -R$x_libraries"
9210 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9212 /* end confdefs.h. */
9222 if ac_fn_c_try_link
"$LINENO"; then :
9223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9224 $as_echo "yes" >&6; }
9225 X_LIBS
="$X_LIBS -R $x_libraries"
9227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9228 $as_echo "neither works" >&6; }
9230 rm -f core conftest.err conftest.
$ac_objext \
9231 conftest
$ac_exeext conftest.
$ac_ext
9233 rm -f core conftest.err conftest.
$ac_objext \
9234 conftest
$ac_exeext conftest.
$ac_ext
9235 ac_c_werror_flag
=$ac_xsave_c_werror_flag
9239 # Check for system-dependent libraries X programs must link with.
9240 # Do this before checking for the system-independent R6 libraries
9241 # (-lICE), since we may need -lsocket or whatever for X linking.
9243 if test "$ISC" = yes; then
9244 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9246 # Martyn Johnson says this is needed for Ultrix, if the X
9247 # libraries were built with DECnet support. And Karl Berry says
9248 # the Alpha needs dnet_stub (dnet does not exist).
9249 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
9250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9251 /* end confdefs.h. */
9253 /* Override any GCC internal prototype to avoid an error.
9254 Use char because int might match the return type of a GCC
9255 builtin and then its argument prototype would still apply. */
9259 char XOpenDisplay ();
9263 return XOpenDisplay ();
9268 if ac_fn_c_try_link
"$LINENO"; then :
9271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9272 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9273 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
9274 $as_echo_n "(cached) " >&6
9276 ac_check_lib_save_LIBS
=$LIBS
9278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9279 /* end confdefs.h. */
9281 /* Override any GCC internal prototype to avoid an error.
9282 Use char because int might match the return type of a GCC
9283 builtin and then its argument prototype would still apply. */
9291 return dnet_ntoa ();
9296 if ac_fn_c_try_link
"$LINENO"; then :
9297 ac_cv_lib_dnet_dnet_ntoa
=yes
9299 ac_cv_lib_dnet_dnet_ntoa
=no
9301 rm -f core conftest.err conftest.
$ac_objext \
9302 conftest
$ac_exeext conftest.
$ac_ext
9303 LIBS
=$ac_check_lib_save_LIBS
9305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9306 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9307 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
9308 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9311 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9313 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9314 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
9315 $as_echo_n "(cached) " >&6
9317 ac_check_lib_save_LIBS
=$LIBS
9318 LIBS
="-ldnet_stub $LIBS"
9319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9320 /* end confdefs.h. */
9322 /* Override any GCC internal prototype to avoid an error.
9323 Use char because int might match the return type of a GCC
9324 builtin and then its argument prototype would still apply. */
9332 return dnet_ntoa ();
9337 if ac_fn_c_try_link
"$LINENO"; then :
9338 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
9340 ac_cv_lib_dnet_stub_dnet_ntoa
=no
9342 rm -f core conftest.err conftest.
$ac_objext \
9343 conftest
$ac_exeext conftest.
$ac_ext
9344 LIBS
=$ac_check_lib_save_LIBS
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9347 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9348 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9349 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9354 rm -f core conftest.err conftest.
$ac_objext \
9355 conftest
$ac_exeext conftest.
$ac_ext
9356 LIBS
="$ac_xsave_LIBS"
9358 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9359 # to get the SysV transport functions.
9360 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9362 # The nsl library prevents programs from opening the X display
9363 # on Irix 5.2, according to T.E. Dickey.
9364 # The functions gethostbyname, getservbyname, and inet_addr are
9365 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9366 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9367 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9371 if test $ac_cv_func_gethostbyname = no
; then
9372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9373 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9374 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9375 $as_echo_n "(cached) " >&6
9377 ac_check_lib_save_LIBS
=$LIBS
9379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9380 /* end confdefs.h. */
9382 /* Override any GCC internal prototype to avoid an error.
9383 Use char because int might match the return type of a GCC
9384 builtin and then its argument prototype would still apply. */
9388 char gethostbyname ();
9392 return gethostbyname ();
9397 if ac_fn_c_try_link
"$LINENO"; then :
9398 ac_cv_lib_nsl_gethostbyname
=yes
9400 ac_cv_lib_nsl_gethostbyname
=no
9402 rm -f core conftest.err conftest.
$ac_objext \
9403 conftest
$ac_exeext conftest.
$ac_ext
9404 LIBS
=$ac_check_lib_save_LIBS
9406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9407 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9408 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9409 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9412 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9414 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9415 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9416 $as_echo_n "(cached) " >&6
9418 ac_check_lib_save_LIBS
=$LIBS
9420 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9421 /* end confdefs.h. */
9423 /* Override any GCC internal prototype to avoid an error.
9424 Use char because int might match the return type of a GCC
9425 builtin and then its argument prototype would still apply. */
9429 char gethostbyname ();
9433 return gethostbyname ();
9438 if ac_fn_c_try_link
"$LINENO"; then :
9439 ac_cv_lib_bsd_gethostbyname
=yes
9441 ac_cv_lib_bsd_gethostbyname
=no
9443 rm -f core conftest.err conftest.
$ac_objext \
9444 conftest
$ac_exeext conftest.
$ac_ext
9445 LIBS
=$ac_check_lib_save_LIBS
9447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9448 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9449 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9450 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9456 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9457 # socket/setsockopt and other routines are undefined under SCO ODT
9458 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9459 # on later versions), says Simon Leinen: it contains gethostby*
9460 # variants that don't use the name server (or something). -lsocket
9461 # must be given before -lnsl if both are needed. We assume that
9462 # if connect needs -lnsl, so does gethostbyname.
9463 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9464 if test "x$ac_cv_func_connect" = xyes
; then :
9468 if test $ac_cv_func_connect = no
; then
9469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9470 $as_echo_n "checking for connect in -lsocket... " >&6; }
9471 if ${ac_cv_lib_socket_connect+:} false
; then :
9472 $as_echo_n "(cached) " >&6
9474 ac_check_lib_save_LIBS
=$LIBS
9475 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9477 /* end confdefs.h. */
9479 /* Override any GCC internal prototype to avoid an error.
9480 Use char because int might match the return type of a GCC
9481 builtin and then its argument prototype would still apply. */
9494 if ac_fn_c_try_link
"$LINENO"; then :
9495 ac_cv_lib_socket_connect
=yes
9497 ac_cv_lib_socket_connect
=no
9499 rm -f core conftest.err conftest.
$ac_objext \
9500 conftest
$ac_exeext conftest.
$ac_ext
9501 LIBS
=$ac_check_lib_save_LIBS
9503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9504 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9505 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9506 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9511 # Guillermo Gomez says -lposix is necessary on A/UX.
9512 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9513 if test "x$ac_cv_func_remove" = xyes
; then :
9517 if test $ac_cv_func_remove = no
; then
9518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9519 $as_echo_n "checking for remove in -lposix... " >&6; }
9520 if ${ac_cv_lib_posix_remove+:} false
; then :
9521 $as_echo_n "(cached) " >&6
9523 ac_check_lib_save_LIBS
=$LIBS
9524 LIBS
="-lposix $LIBS"
9525 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9526 /* end confdefs.h. */
9528 /* Override any GCC internal prototype to avoid an error.
9529 Use char because int might match the return type of a GCC
9530 builtin and then its argument prototype would still apply. */
9543 if ac_fn_c_try_link
"$LINENO"; then :
9544 ac_cv_lib_posix_remove
=yes
9546 ac_cv_lib_posix_remove
=no
9548 rm -f core conftest.err conftest.
$ac_objext \
9549 conftest
$ac_exeext conftest.
$ac_ext
9550 LIBS
=$ac_check_lib_save_LIBS
9552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9553 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9554 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9555 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9560 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9561 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9562 if test "x$ac_cv_func_shmat" = xyes
; then :
9566 if test $ac_cv_func_shmat = no
; then
9567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9568 $as_echo_n "checking for shmat in -lipc... " >&6; }
9569 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9570 $as_echo_n "(cached) " >&6
9572 ac_check_lib_save_LIBS
=$LIBS
9574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9575 /* end confdefs.h. */
9577 /* Override any GCC internal prototype to avoid an error.
9578 Use char because int might match the return type of a GCC
9579 builtin and then its argument prototype would still apply. */
9592 if ac_fn_c_try_link
"$LINENO"; then :
9593 ac_cv_lib_ipc_shmat
=yes
9595 ac_cv_lib_ipc_shmat
=no
9597 rm -f core conftest.err conftest.
$ac_objext \
9598 conftest
$ac_exeext conftest.
$ac_ext
9599 LIBS
=$ac_check_lib_save_LIBS
9601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9602 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9603 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9604 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9610 # Check for libraries that X11R6 Xt/Xaw programs need.
9611 ac_save_LDFLAGS
=$LDFLAGS
9612 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9613 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9614 # check for ICE first), but we must link in the order -lSM -lICE or
9615 # we get undefined symbols. So assume we have SM if we have ICE.
9616 # These have to be linked with before -lX11, unlike the other
9617 # libraries we check for below, so use a different variable.
9618 # John Interrante, Karl Berry
9619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9620 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9621 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9622 $as_echo_n "(cached) " >&6
9624 ac_check_lib_save_LIBS
=$LIBS
9625 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9627 /* end confdefs.h. */
9629 /* Override any GCC internal prototype to avoid an error.
9630 Use char because int might match the return type of a GCC
9631 builtin and then its argument prototype would still apply. */
9635 char IceConnectionNumber ();
9639 return IceConnectionNumber ();
9644 if ac_fn_c_try_link
"$LINENO"; then :
9645 ac_cv_lib_ICE_IceConnectionNumber
=yes
9647 ac_cv_lib_ICE_IceConnectionNumber
=no
9649 rm -f core conftest.err conftest.
$ac_objext \
9650 conftest
$ac_exeext conftest.
$ac_ext
9651 LIBS
=$ac_check_lib_save_LIBS
9653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9654 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9655 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9656 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9659 LDFLAGS
=$ac_save_LDFLAGS
9664 if test "$have_x" = "yes"
9666 ac_save_CPPFLAGS
="$CPPFLAGS"
9667 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9670 $as_echo_n "checking for -lX11... " >&6; }
9671 if ${ac_cv_lib_soname_X11+:} false
; then :
9672 $as_echo_n "(cached) " >&6
9674 ac_check_soname_save_LIBS
=$LIBS
9675 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9677 /* end confdefs.h. */
9679 /* Override any GCC internal prototype to avoid an error.
9680 Use char because int might match the return type of a GCC
9681 builtin and then its argument prototype would still apply. */
9685 char XCreateWindow ();
9689 return XCreateWindow ();
9694 if ac_fn_c_try_link
"$LINENO"; then :
9696 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9697 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'` ;;
9698 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9699 if ${ac_cv_lib_soname_X11:+false} :; then :
9700 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9704 rm -f core conftest.err conftest.
$ac_objext \
9705 conftest
$ac_exeext conftest.
$ac_ext
9706 LIBS
=$ac_check_soname_save_LIBS
9708 if ${ac_cv_lib_soname_X11:+false} :; then :
9709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9710 $as_echo "not found" >&6; }
9713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9714 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9716 cat >>confdefs.h
<<_ACEOF
9717 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9723 $as_echo_n "checking for -lXext... " >&6; }
9724 if ${ac_cv_lib_soname_Xext+:} false
; then :
9725 $as_echo_n "(cached) " >&6
9727 ac_check_soname_save_LIBS
=$LIBS
9728 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9730 /* end confdefs.h. */
9732 /* Override any GCC internal prototype to avoid an error.
9733 Use char because int might match the return type of a GCC
9734 builtin and then its argument prototype would still apply. */
9738 char XextCreateExtension ();
9742 return XextCreateExtension ();
9747 if ac_fn_c_try_link
"$LINENO"; then :
9749 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9750 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'` ;;
9751 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9752 if ${ac_cv_lib_soname_Xext:+false} :; then :
9753 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9757 rm -f core conftest.err conftest.
$ac_objext \
9758 conftest
$ac_exeext conftest.
$ac_ext
9759 LIBS
=$ac_check_soname_save_LIBS
9761 if ${ac_cv_lib_soname_Xext:+false} :; then :
9762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9763 $as_echo "not found" >&6; }
9766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9767 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9769 cat >>confdefs.h
<<_ACEOF
9770 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9773 X_LIBS
="$X_LIBS -lXext"
9775 X_LIBS
="$X_LIBS -lX11"
9777 for ac_header
in X11
/Xlib.h \
9780 X11
/Xcursor
/Xcursor.h \
9781 X11
/extensions
/shape.h \
9782 X11
/extensions
/XInput.h \
9783 X11
/extensions
/XInput2.h \
9784 X11
/extensions
/XShm.h \
9785 X11
/extensions
/Xcomposite.h \
9786 X11
/extensions
/Xinerama.h \
9787 X11
/extensions
/Xrandr.h \
9788 X11
/extensions
/Xrender.h \
9789 X11
/extensions
/xf86vmode.h \
9790 X11
/extensions
/xf86vmproto.h
9792 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9793 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9794 # include <X11/Xlib.h>
9796 #ifdef HAVE_X11_XUTIL_H
9797 # include <X11/Xutil.h>
9800 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9801 cat >>confdefs.h
<<_ACEOF
9802 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9810 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9813 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9814 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9815 $as_echo_n "(cached) " >&6
9817 ac_check_lib_save_LIBS
=$LIBS
9818 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9820 /* end confdefs.h. */
9822 /* Override any GCC internal prototype to avoid an error.
9823 Use char because int might match the return type of a GCC
9824 builtin and then its argument prototype would still apply. */
9828 char XkbQueryExtension ();
9832 return XkbQueryExtension ();
9837 if ac_fn_c_try_link
"$LINENO"; then :
9838 ac_cv_lib_X11_XkbQueryExtension
=yes
9840 ac_cv_lib_X11_XkbQueryExtension
=no
9842 rm -f core conftest.err conftest.
$ac_objext \
9843 conftest
$ac_exeext conftest.
$ac_ext
9844 LIBS
=$ac_check_lib_save_LIBS
9846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9847 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9848 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9850 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9856 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9859 $as_echo_n "checking for -lXcursor... " >&6; }
9860 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9861 $as_echo_n "(cached) " >&6
9863 ac_check_soname_save_LIBS
=$LIBS
9864 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9866 /* end confdefs.h. */
9868 /* Override any GCC internal prototype to avoid an error.
9869 Use char because int might match the return type of a GCC
9870 builtin and then its argument prototype would still apply. */
9874 char XcursorImageLoadCursor ();
9878 return XcursorImageLoadCursor ();
9883 if ac_fn_c_try_link
"$LINENO"; then :
9885 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9886 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'` ;;
9887 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9888 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9889 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9893 rm -f core conftest.err conftest.
$ac_objext \
9894 conftest
$ac_exeext conftest.
$ac_ext
9895 LIBS
=$ac_check_soname_save_LIBS
9897 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9899 $as_echo "not found" >&6; }
9902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9903 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9905 cat >>confdefs.h
<<_ACEOF
9906 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9912 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9913 case "x$with_xcursor" in
9914 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9916 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9917 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9922 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9925 $as_echo_n "checking for -lXi... " >&6; }
9926 if ${ac_cv_lib_soname_Xi+:} false
; then :
9927 $as_echo_n "(cached) " >&6
9929 ac_check_soname_save_LIBS
=$LIBS
9930 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9932 /* end confdefs.h. */
9934 /* Override any GCC internal prototype to avoid an error.
9935 Use char because int might match the return type of a GCC
9936 builtin and then its argument prototype would still apply. */
9940 char XOpenDevice ();
9944 return XOpenDevice ();
9949 if ac_fn_c_try_link
"$LINENO"; then :
9951 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9952 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'` ;;
9953 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9954 if ${ac_cv_lib_soname_Xi:+false} :; then :
9955 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9959 rm -f core conftest.err conftest.
$ac_objext \
9960 conftest
$ac_exeext conftest.
$ac_ext
9961 LIBS
=$ac_check_soname_save_LIBS
9963 if ${ac_cv_lib_soname_Xi:+false} :; then :
9964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9965 $as_echo "not found" >&6; }
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9969 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9971 cat >>confdefs.h
<<_ACEOF
9972 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9978 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9979 case "x$with_xinput" in
9980 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9982 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9983 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9988 if test "x$ac_cv_lib_soname_Xi" != x
9990 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9991 case "x$with_xinput2" in
9992 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9994 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9995 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10001 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10004 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10005 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
10006 $as_echo_n "(cached) " >&6
10008 ac_check_lib_save_LIBS
=$LIBS
10009 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10011 /* end confdefs.h. */
10013 /* Override any GCC internal prototype to avoid an error.
10014 Use char because int might match the return type of a GCC
10015 builtin and then its argument prototype would still apply. */
10019 char XShmQueryExtension ();
10023 return XShmQueryExtension ();
10028 if ac_fn_c_try_link
"$LINENO"; then :
10029 ac_cv_lib_Xext_XShmQueryExtension
=yes
10031 ac_cv_lib_Xext_XShmQueryExtension
=no
10033 rm -f core conftest.err conftest.
$ac_objext \
10034 conftest
$ac_exeext conftest.
$ac_ext
10035 LIBS
=$ac_check_lib_save_LIBS
10037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10038 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10039 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
10041 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10046 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10047 case "x$with_xshm" in
10048 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10050 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10051 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10056 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10059 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10060 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
10061 $as_echo_n "(cached) " >&6
10063 ac_check_lib_save_LIBS
=$LIBS
10064 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10066 /* end confdefs.h. */
10068 /* Override any GCC internal prototype to avoid an error.
10069 Use char because int might match the return type of a GCC
10070 builtin and then its argument prototype would still apply. */
10074 char XShapeQueryExtension ();
10078 return XShapeQueryExtension ();
10083 if ac_fn_c_try_link
"$LINENO"; then :
10084 ac_cv_lib_Xext_XShapeQueryExtension
=yes
10086 ac_cv_lib_Xext_XShapeQueryExtension
=no
10088 rm -f core conftest.err conftest.
$ac_objext \
10089 conftest
$ac_exeext conftest.
$ac_ext
10090 LIBS
=$ac_check_lib_save_LIBS
10092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10093 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10094 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
10096 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10101 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10102 case "x$with_xshape" in
10103 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10105 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
10106 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10111 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10114 $as_echo_n "checking for -lXxf86vm... " >&6; }
10115 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
10116 $as_echo_n "(cached) " >&6
10118 ac_check_soname_save_LIBS
=$LIBS
10119 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10121 /* end confdefs.h. */
10123 /* Override any GCC internal prototype to avoid an error.
10124 Use char because int might match the return type of a GCC
10125 builtin and then its argument prototype would still apply. */
10129 char XF86VidModeQueryExtension ();
10133 return XF86VidModeQueryExtension ();
10138 if ac_fn_c_try_link
"$LINENO"; then :
10140 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10141 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'` ;;
10142 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10143 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10144 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10148 rm -f core conftest.err conftest.
$ac_objext \
10149 conftest
$ac_exeext conftest.
$ac_ext
10150 LIBS
=$ac_check_soname_save_LIBS
10152 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10154 $as_echo "not found" >&6; }
10157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10158 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10160 cat >>confdefs.h
<<_ACEOF
10161 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10167 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10168 case "x$with_xxf86vm" in
10169 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10171 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10172 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10177 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10180 $as_echo_n "checking for -lXrender... " >&6; }
10181 if ${ac_cv_lib_soname_Xrender+:} false
; then :
10182 $as_echo_n "(cached) " >&6
10184 ac_check_soname_save_LIBS
=$LIBS
10185 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10187 /* end confdefs.h. */
10189 /* Override any GCC internal prototype to avoid an error.
10190 Use char because int might match the return type of a GCC
10191 builtin and then its argument prototype would still apply. */
10195 char XRenderQueryExtension ();
10199 return XRenderQueryExtension ();
10204 if ac_fn_c_try_link
"$LINENO"; then :
10206 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10207 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'` ;;
10208 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10209 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10210 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10214 rm -f core conftest.err conftest.
$ac_objext \
10215 conftest
$ac_exeext conftest.
$ac_ext
10216 LIBS
=$ac_check_soname_save_LIBS
10218 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10220 $as_echo "not found" >&6; }
10223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10224 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10226 cat >>confdefs.h
<<_ACEOF
10227 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10231 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10232 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
10233 $as_echo_n "(cached) " >&6
10235 ac_check_lib_save_LIBS
=$LIBS
10236 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10238 /* end confdefs.h. */
10240 /* Override any GCC internal prototype to avoid an error.
10241 Use char because int might match the return type of a GCC
10242 builtin and then its argument prototype would still apply. */
10246 char XRenderSetPictureTransform ();
10250 return XRenderSetPictureTransform ();
10255 if ac_fn_c_try_link
"$LINENO"; then :
10256 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10258 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10260 rm -f core conftest.err conftest.
$ac_objext \
10261 conftest
$ac_exeext conftest.
$ac_ext
10262 LIBS
=$ac_check_lib_save_LIBS
10264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10265 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10266 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
10268 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10273 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10274 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
10275 $as_echo_n "(cached) " >&6
10277 ac_check_lib_save_LIBS
=$LIBS
10278 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10280 /* end confdefs.h. */
10282 /* Override any GCC internal prototype to avoid an error.
10283 Use char because int might match the return type of a GCC
10284 builtin and then its argument prototype would still apply. */
10288 char XRenderCreateLinearGradient ();
10292 return XRenderCreateLinearGradient ();
10297 if ac_fn_c_try_link
"$LINENO"; then :
10298 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
10300 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
10302 rm -f core conftest.err conftest.
$ac_objext \
10303 conftest
$ac_exeext conftest.
$ac_ext
10304 LIBS
=$ac_check_lib_save_LIBS
10306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10307 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10308 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
10310 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10317 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10318 case "x$with_xrender" in
10319 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10321 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
10322 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10327 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10330 /* end confdefs.h. */
10331 #include <X11/Xlib.h>
10332 #include <X11/extensions/Xrandr.h>
10336 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10341 if ac_fn_c_try_compile
"$LINENO"; then :
10342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10343 $as_echo_n "checking for -lXrandr... " >&6; }
10344 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
10345 $as_echo_n "(cached) " >&6
10347 ac_check_soname_save_LIBS
=$LIBS
10348 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10349 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10350 /* end confdefs.h. */
10352 /* Override any GCC internal prototype to avoid an error.
10353 Use char because int might match the return type of a GCC
10354 builtin and then its argument prototype would still apply. */
10358 char XRRQueryExtension ();
10362 return XRRQueryExtension ();
10367 if ac_fn_c_try_link
"$LINENO"; then :
10369 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10370 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'` ;;
10371 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10372 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10373 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10377 rm -f core conftest.err conftest.
$ac_objext \
10378 conftest
$ac_exeext conftest.
$ac_ext
10379 LIBS
=$ac_check_soname_save_LIBS
10381 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10383 $as_echo "not found" >&6; }
10386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10387 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10389 cat >>confdefs.h
<<_ACEOF
10390 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10394 /* end confdefs.h. */
10395 #include <X11/Xlib.h>
10396 #include <X11/extensions/Xrandr.h>
10400 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10405 if ac_fn_c_try_compile
"$LINENO"; then :
10407 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10410 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10413 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10415 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10416 case "x$with_xrandr" in
10417 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10419 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10420 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10425 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10427 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10428 /* end confdefs.h. */
10429 #include <X11/Xlib.h>
10430 #include <X11/extensions/Xinerama.h>
10434 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10439 if ac_fn_c_try_compile
"$LINENO"; then :
10440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10441 $as_echo_n "checking for -lXinerama... " >&6; }
10442 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10443 $as_echo_n "(cached) " >&6
10445 ac_check_soname_save_LIBS
=$LIBS
10446 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10448 /* end confdefs.h. */
10450 /* Override any GCC internal prototype to avoid an error.
10451 Use char because int might match the return type of a GCC
10452 builtin and then its argument prototype would still apply. */
10456 char XineramaQueryScreens ();
10460 return XineramaQueryScreens ();
10465 if ac_fn_c_try_link
"$LINENO"; then :
10467 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10468 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'` ;;
10469 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10470 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10471 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10475 rm -f core conftest.err conftest.
$ac_objext \
10476 conftest
$ac_exeext conftest.
$ac_ext
10477 LIBS
=$ac_check_soname_save_LIBS
10479 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10481 $as_echo "not found" >&6; }
10484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10485 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10487 cat >>confdefs.h
<<_ACEOF
10488 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10494 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10496 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10497 case "x$with_xinerama" in
10498 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10500 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10501 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10506 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10509 $as_echo_n "checking for -lXcomposite... " >&6; }
10510 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10511 $as_echo_n "(cached) " >&6
10513 ac_check_soname_save_LIBS
=$LIBS
10514 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10516 /* end confdefs.h. */
10518 /* Override any GCC internal prototype to avoid an error.
10519 Use char because int might match the return type of a GCC
10520 builtin and then its argument prototype would still apply. */
10524 char XCompositeRedirectWindow ();
10528 return XCompositeRedirectWindow ();
10533 if ac_fn_c_try_link
"$LINENO"; then :
10535 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10536 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'` ;;
10537 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10538 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10539 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10543 rm -f core conftest.err conftest.
$ac_objext \
10544 conftest
$ac_exeext conftest.
$ac_ext
10545 LIBS
=$ac_check_soname_save_LIBS
10547 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10549 $as_echo "not found" >&6; }
10552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10553 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10555 cat >>confdefs.h
<<_ACEOF
10556 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10562 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10563 case "x$with_xcomposite" in
10564 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10566 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10567 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10572 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10573 #include <X11/Xlib.h>
10576 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10578 cat >>confdefs.h
<<_ACEOF
10579 #define HAVE_XICCALLBACK_CALLBACK 1
10584 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10585 #include <X11/Xlib.h>
10588 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10590 cat >>confdefs.h
<<_ACEOF
10591 #define HAVE_XEVENT_XCOOKIE 1
10600 if test "x$with_opengl" != "xno"
10602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10603 $as_echo_n "checking for -lGL... " >&6; }
10604 if ${ac_cv_lib_soname_GL+:} false
; then :
10605 $as_echo_n "(cached) " >&6
10607 ac_check_soname_save_LIBS
=$LIBS
10608 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10610 /* end confdefs.h. */
10612 /* Override any GCC internal prototype to avoid an error.
10613 Use char because int might match the return type of a GCC
10614 builtin and then its argument prototype would still apply. */
10618 char glXCreateContext ();
10622 return glXCreateContext ();
10627 if ac_fn_c_try_link
"$LINENO"; then :
10629 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10630 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'` ;;
10631 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10632 if ${ac_cv_lib_soname_GL:+false} :; then :
10633 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10637 rm -f core conftest.err conftest.
$ac_objext \
10638 conftest
$ac_exeext conftest.
$ac_ext
10639 LIBS
=$ac_check_soname_save_LIBS
10641 if ${ac_cv_lib_soname_GL:+false} :; then :
10642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10643 $as_echo "not found" >&6; }
10644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10645 $as_echo_n "checking for -lGL... " >&6; }
10646 if ${ac_cv_lib_soname_GL+:} false
; then :
10647 $as_echo_n "(cached) " >&6
10649 ac_check_soname_save_LIBS
=$LIBS
10650 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"
10651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10652 /* end confdefs.h. */
10654 /* Override any GCC internal prototype to avoid an error.
10655 Use char because int might match the return type of a GCC
10656 builtin and then its argument prototype would still apply. */
10660 char glXCreateContext ();
10664 return glXCreateContext ();
10669 if ac_fn_c_try_link
"$LINENO"; then :
10671 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10672 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'` ;;
10673 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10674 if ${ac_cv_lib_soname_GL:+false} :; then :
10675 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10679 rm -f core conftest.err conftest.
$ac_objext \
10680 conftest
$ac_exeext conftest.
$ac_ext
10681 LIBS
=$ac_check_soname_save_LIBS
10683 if ${ac_cv_lib_soname_GL:+false} :; then :
10684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10685 $as_echo "not found" >&6; }
10686 if test -f /usr
/X11R
6/lib
/libGL.a
10688 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10689 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10691 opengl_msg
="No OpenGL library found on this system."
10694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10695 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10697 cat >>confdefs.h
<<_ACEOF
10698 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10701 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"
10704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10705 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10707 cat >>confdefs.h
<<_ACEOF
10708 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10713 if test "x$with_glu" != "xno"
10715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10716 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10717 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10718 $as_echo_n "(cached) " >&6
10720 ac_check_lib_save_LIBS
=$LIBS
10721 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10723 /* end confdefs.h. */
10725 /* Override any GCC internal prototype to avoid an error.
10726 Use char because int might match the return type of a GCC
10727 builtin and then its argument prototype would still apply. */
10735 return gluLookAt ();
10740 if ac_fn_c_try_link
"$LINENO"; then :
10741 ac_cv_lib_GLU_gluLookAt
=yes
10743 ac_cv_lib_GLU_gluLookAt
=no
10745 rm -f core conftest.err conftest.
$ac_objext \
10746 conftest
$ac_exeext conftest.
$ac_ext
10747 LIBS
=$ac_check_lib_save_LIBS
10749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10750 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10751 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10755 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10756 case "x$with_glu" in
10757 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10759 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10760 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10766 if test "x$with_osmesa" != "xno"
10768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10769 $as_echo_n "checking for -lOSMesa... " >&6; }
10770 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10771 $as_echo_n "(cached) " >&6
10773 ac_check_soname_save_LIBS
=$LIBS
10774 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10776 /* end confdefs.h. */
10778 /* Override any GCC internal prototype to avoid an error.
10779 Use char because int might match the return type of a GCC
10780 builtin and then its argument prototype would still apply. */
10793 if ac_fn_c_try_link
"$LINENO"; then :
10795 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10796 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'` ;;
10797 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10798 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10799 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10803 rm -f core conftest.err conftest.
$ac_objext \
10804 conftest
$ac_exeext conftest.
$ac_ext
10805 LIBS
=$ac_check_soname_save_LIBS
10807 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10809 $as_echo "not found" >&6; }
10812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10813 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10815 cat >>confdefs.h
<<_ACEOF
10816 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10821 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10822 case "x$with_osmesa" in
10823 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10825 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10826 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10832 if test -n "$opengl_msg"; then :
10833 case "x$with_opengl" in
10834 x
) as_fn_append wine_warnings
"|$opengl_msg
10835 OpenGL and Direct3D won't be supported." ;;
10837 *) as_fn_error $?
"$opengl_msg
10838 OpenGL and Direct3D won't be supported.
10839 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10844 CPPFLAGS
="$ac_save_CPPFLAGS"
10849 if test "x$X_LIBS" = "x"; then :
10852 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10853 without X support, which probably isn't what you want. You will need
10854 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10855 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10857 enable_winex11_drv
=${enable_winex11_drv:-no}
10860 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10862 if test "$ac_cv_header_CL_cl_h" = "yes"
10864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10865 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10866 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10867 $as_echo_n "(cached) " >&6
10869 ac_check_lib_save_LIBS
=$LIBS
10870 LIBS
="-lOpenCL $LIBS"
10871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10872 /* end confdefs.h. */
10874 /* Override any GCC internal prototype to avoid an error.
10875 Use char because int might match the return type of a GCC
10876 builtin and then its argument prototype would still apply. */
10880 char clGetPlatformInfo ();
10884 return clGetPlatformInfo ();
10889 if ac_fn_c_try_link
"$LINENO"; then :
10890 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10892 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10894 rm -f core conftest.err conftest.
$ac_objext \
10895 conftest
$ac_exeext conftest.
$ac_ext
10896 LIBS
=$ac_check_lib_save_LIBS
10898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10899 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10900 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10901 OPENCL_LIBS
="-lOpenCL"
10906 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10907 case "x$with_opencl" in
10908 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10910 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10911 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10913 enable_opencl
=${enable_opencl:-no}
10916 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10919 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10920 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10921 $as_echo_n "(cached) " >&6
10923 ac_check_lib_save_LIBS
=$LIBS
10924 LIBS
="-lpcap $LIBS"
10925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10926 /* end confdefs.h. */
10928 /* Override any GCC internal prototype to avoid an error.
10929 Use char because int might match the return type of a GCC
10930 builtin and then its argument prototype would still apply. */
10934 char pcap_create ();
10938 return pcap_create ();
10943 if ac_fn_c_try_link
"$LINENO"; then :
10944 ac_cv_lib_pcap_pcap_create
=yes
10946 ac_cv_lib_pcap_pcap_create
=no
10948 rm -f core conftest.err conftest.
$ac_objext \
10949 conftest
$ac_exeext conftest.
$ac_ext
10950 LIBS
=$ac_check_lib_save_LIBS
10952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10953 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10954 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10960 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10961 case "x$with_pcap" in
10962 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10964 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10965 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10967 enable_wpcap
=${enable_wpcap:-no}
10971 if test "x$with_xml" != "xno"
10973 if ${XML2_CFLAGS:+false} :; then :
10974 if ${PKG_CONFIG+:} false
; then :
10975 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10978 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
10979 if ${XML2_LIBS:+false} :; then :
10980 if ${PKG_CONFIG+:} false
; then :
10981 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10984 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
10985 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10986 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10987 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10988 ac_save_CPPFLAGS
=$CPPFLAGS
10989 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10990 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10992 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10993 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10994 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10995 cat >>confdefs.h
<<_ACEOF
10996 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11003 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"
11005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11006 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11007 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
11008 $as_echo_n "(cached) " >&6
11010 ac_check_lib_save_LIBS
=$LIBS
11011 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11013 /* end confdefs.h. */
11015 /* Override any GCC internal prototype to avoid an error.
11016 Use char because int might match the return type of a GCC
11017 builtin and then its argument prototype would still apply. */
11021 char xmlParseMemory ();
11025 return xmlParseMemory ();
11030 if ac_fn_c_try_link
"$LINENO"; then :
11031 ac_cv_lib_xml2_xmlParseMemory
=yes
11033 ac_cv_lib_xml2_xmlParseMemory
=no
11035 rm -f core conftest.err conftest.
$ac_objext \
11036 conftest
$ac_exeext conftest.
$ac_ext
11037 LIBS
=$ac_check_lib_save_LIBS
11039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11040 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11041 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
11043 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11050 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11051 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
11052 $as_echo_n "(cached) " >&6
11054 ac_check_lib_save_LIBS
=$LIBS
11055 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11057 /* end confdefs.h. */
11059 /* Override any GCC internal prototype to avoid an error.
11060 Use char because int might match the return type of a GCC
11061 builtin and then its argument prototype would still apply. */
11065 char xmlReadMemory ();
11069 return xmlReadMemory ();
11074 if ac_fn_c_try_link
"$LINENO"; then :
11075 ac_cv_lib_xml2_xmlReadMemory
=yes
11077 ac_cv_lib_xml2_xmlReadMemory
=no
11079 rm -f core conftest.err conftest.
$ac_objext \
11080 conftest
$ac_exeext conftest.
$ac_ext
11081 LIBS
=$ac_check_lib_save_LIBS
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11084 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11085 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
11087 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11092 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11093 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
11094 $as_echo_n "(cached) " >&6
11096 ac_check_lib_save_LIBS
=$LIBS
11097 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11099 /* end confdefs.h. */
11101 /* Override any GCC internal prototype to avoid an error.
11102 Use char because int might match the return type of a GCC
11103 builtin and then its argument prototype would still apply. */
11107 char xmlNewDocPI ();
11111 return xmlNewDocPI ();
11116 if ac_fn_c_try_link
"$LINENO"; then :
11117 ac_cv_lib_xml2_xmlNewDocPI
=yes
11119 ac_cv_lib_xml2_xmlNewDocPI
=no
11121 rm -f core conftest.err conftest.
$ac_objext \
11122 conftest
$ac_exeext conftest.
$ac_ext
11123 LIBS
=$ac_check_lib_save_LIBS
11125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11126 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11127 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
11129 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11134 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11135 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
11136 $as_echo_n "(cached) " >&6
11138 ac_check_lib_save_LIBS
=$LIBS
11139 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11141 /* end confdefs.h. */
11143 /* Override any GCC internal prototype to avoid an error.
11144 Use char because int might match the return type of a GCC
11145 builtin and then its argument prototype would still apply. */
11149 char xmlSchemaSetParserStructuredErrors ();
11153 return xmlSchemaSetParserStructuredErrors ();
11158 if ac_fn_c_try_link
"$LINENO"; then :
11159 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
11161 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
11163 rm -f core conftest.err conftest.
$ac_objext \
11164 conftest
$ac_exeext conftest.
$ac_ext
11165 LIBS
=$ac_check_lib_save_LIBS
11167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11168 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11169 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
11171 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11176 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11177 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
11178 $as_echo_n "(cached) " >&6
11180 ac_check_lib_save_LIBS
=$LIBS
11181 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11183 /* end confdefs.h. */
11185 /* Override any GCC internal prototype to avoid an error.
11186 Use char because int might match the return type of a GCC
11187 builtin and then its argument prototype would still apply. */
11191 char xmlSchemaSetValidStructuredErrors ();
11195 return xmlSchemaSetValidStructuredErrors ();
11200 if ac_fn_c_try_link
"$LINENO"; then :
11201 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
11203 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
11205 rm -f core conftest.err conftest.
$ac_objext \
11206 conftest
$ac_exeext conftest.
$ac_ext
11207 LIBS
=$ac_check_lib_save_LIBS
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11210 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11211 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
11213 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11218 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11219 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
11220 $as_echo_n "(cached) " >&6
11222 ac_check_lib_save_LIBS
=$LIBS
11223 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11225 /* end confdefs.h. */
11227 /* Override any GCC internal prototype to avoid an error.
11228 Use char because int might match the return type of a GCC
11229 builtin and then its argument prototype would still apply. */
11233 char xmlFirstElementChild ();
11237 return xmlFirstElementChild ();
11242 if ac_fn_c_try_link
"$LINENO"; then :
11243 ac_cv_lib_xml2_xmlFirstElementChild
=yes
11245 ac_cv_lib_xml2_xmlFirstElementChild
=no
11247 rm -f core conftest.err conftest.
$ac_objext \
11248 conftest
$ac_exeext conftest.
$ac_ext
11249 LIBS
=$ac_check_lib_save_LIBS
11251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11252 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11253 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
11255 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11259 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11261 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
11263 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11271 CPPFLAGS
=$ac_save_CPPFLAGS
11272 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11273 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11276 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11277 case "x$with_xml" in
11278 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11280 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11281 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11286 if test "x$with_xslt" != "xno"
11288 if ${XSLT_CFLAGS:+false} :; then :
11289 if ${PKG_CONFIG+:} false
; then :
11290 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11293 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11294 if ${XSLT_LIBS:+false} :; then :
11295 if ${PKG_CONFIG+:} false
; then :
11296 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11299 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11300 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
11301 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11302 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11303 ac_save_CPPFLAGS
=$CPPFLAGS
11304 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
11305 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11307 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11308 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11309 # include <libxslt/pattern.h>
11312 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11313 cat >>confdefs.h
<<_ACEOF
11314 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11321 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11324 $as_echo_n "checking for -lxslt... " >&6; }
11325 if ${ac_cv_lib_soname_xslt+:} false
; then :
11326 $as_echo_n "(cached) " >&6
11328 ac_check_soname_save_LIBS
=$LIBS
11329 LIBS
="-lxslt $XSLT_LIBS $LIBS"
11330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11331 /* end confdefs.h. */
11333 /* Override any GCC internal prototype to avoid an error.
11334 Use char because int might match the return type of a GCC
11335 builtin and then its argument prototype would still apply. */
11339 char xsltCompilePattern ();
11343 return xsltCompilePattern ();
11348 if ac_fn_c_try_link
"$LINENO"; then :
11350 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11351 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'` ;;
11352 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11353 if ${ac_cv_lib_soname_xslt:+false} :; then :
11354 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11358 rm -f core conftest.err conftest.
$ac_objext \
11359 conftest
$ac_exeext conftest.
$ac_ext
11360 LIBS
=$ac_check_soname_save_LIBS
11362 if ${ac_cv_lib_soname_xslt:+false} :; then :
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11364 $as_echo "not found" >&6; }
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11368 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11370 cat >>confdefs.h
<<_ACEOF
11371 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11379 CPPFLAGS
=$ac_save_CPPFLAGS
11380 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11381 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11384 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11385 case "x$with_xslt" in
11386 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11388 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11389 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11394 if test "x$with_dbus" != "xno"
11396 if ${DBUS_CFLAGS:+false} :; then :
11397 if ${PKG_CONFIG+:} false
; then :
11398 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11402 if ${DBUS_LIBS:+false} :; then :
11403 if ${PKG_CONFIG+:} false
; then :
11404 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11409 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11410 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11411 ac_save_CPPFLAGS
=$CPPFLAGS
11412 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11413 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11414 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11416 $as_echo_n "checking for -ldbus-1... " >&6; }
11417 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11418 $as_echo_n "(cached) " >&6
11420 ac_check_soname_save_LIBS
=$LIBS
11421 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11423 /* end confdefs.h. */
11425 /* Override any GCC internal prototype to avoid an error.
11426 Use char because int might match the return type of a GCC
11427 builtin and then its argument prototype would still apply. */
11431 char dbus_connection_close ();
11435 return dbus_connection_close ();
11440 if ac_fn_c_try_link
"$LINENO"; then :
11442 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11443 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'` ;;
11444 *) 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'`
11445 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11446 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11450 rm -f core conftest.err conftest.
$ac_objext \
11451 conftest
$ac_exeext conftest.
$ac_ext
11452 LIBS
=$ac_check_soname_save_LIBS
11454 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11456 $as_echo "not found" >&6; }
11459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11460 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11462 cat >>confdefs.h
<<_ACEOF
11463 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11473 CPPFLAGS
=$ac_save_CPPFLAGS
11474 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11475 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11478 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11479 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11480 case "x$with_dbus" in
11481 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11483 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11484 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11489 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11491 if ${HAL_CFLAGS:+false} :; then :
11492 if ${PKG_CONFIG+:} false
; then :
11493 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11497 if ${HAL_LIBS:+false} :; then :
11498 if ${PKG_CONFIG+:} false
; then :
11499 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11503 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11504 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11505 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11506 ac_save_CPPFLAGS
=$CPPFLAGS
11507 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11508 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11509 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11511 $as_echo_n "checking for -lhal... " >&6; }
11512 if ${ac_cv_lib_soname_hal+:} false
; then :
11513 $as_echo_n "(cached) " >&6
11515 ac_check_soname_save_LIBS
=$LIBS
11516 LIBS
="-lhal $HAL_LIBS $LIBS"
11517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11518 /* end confdefs.h. */
11520 /* Override any GCC internal prototype to avoid an error.
11521 Use char because int might match the return type of a GCC
11522 builtin and then its argument prototype would still apply. */
11526 char libhal_ctx_new ();
11530 return libhal_ctx_new ();
11535 if ac_fn_c_try_link
"$LINENO"; then :
11537 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11538 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'` ;;
11539 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11540 if ${ac_cv_lib_soname_hal:+false} :; then :
11541 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11545 rm -f core conftest.err conftest.
$ac_objext \
11546 conftest
$ac_exeext conftest.
$ac_ext
11547 LIBS
=$ac_check_soname_save_LIBS
11549 if ${ac_cv_lib_soname_hal:+false} :; then :
11550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11551 $as_echo "not found" >&6; }
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11555 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11557 cat >>confdefs.h
<<_ACEOF
11558 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11568 CPPFLAGS
=$ac_save_CPPFLAGS
11569 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11570 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11572 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11573 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11574 case "x$with_hal" in
11575 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11577 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11578 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11584 if test "x$with_gnutls" != "xno"
11586 if ${GNUTLS_CFLAGS:+false} :; then :
11587 if ${PKG_CONFIG+:} false
; then :
11588 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11592 if ${GNUTLS_LIBS:+false} :; then :
11593 if ${PKG_CONFIG+:} false
; then :
11594 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11599 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11600 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11601 ac_save_CPPFLAGS
=$CPPFLAGS
11602 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11603 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11604 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11606 /* end confdefs.h. */
11607 #include <gnutls/gnutls.h>
11608 #include <gnutls/crypto.h>
11612 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11617 if ac_fn_c_try_compile
"$LINENO"; then :
11618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11619 $as_echo_n "checking for -lgnutls... " >&6; }
11620 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11621 $as_echo_n "(cached) " >&6
11623 ac_check_soname_save_LIBS
=$LIBS
11624 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11625 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11626 /* end confdefs.h. */
11628 /* Override any GCC internal prototype to avoid an error.
11629 Use char because int might match the return type of a GCC
11630 builtin and then its argument prototype would still apply. */
11634 char gnutls_global_init ();
11638 return gnutls_global_init ();
11643 if ac_fn_c_try_link
"$LINENO"; then :
11645 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11646 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'` ;;
11647 *) 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'`
11648 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11649 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'`
11653 rm -f core conftest.err conftest.
$ac_objext \
11654 conftest
$ac_exeext conftest.
$ac_ext
11655 LIBS
=$ac_check_soname_save_LIBS
11657 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11659 $as_echo "not found" >&6; }
11662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11663 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11665 cat >>confdefs.h
<<_ACEOF
11666 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11671 ac_wine_check_funcs_save_LIBS
="$LIBS"
11672 LIBS
="$LIBS $GNUTLS_LIBS"
11673 for ac_func
in gnutls_hash
11675 ac_fn_c_check_func
"$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11676 if test "x$ac_cv_func_gnutls_hash" = xyes
; then :
11677 cat >>confdefs.h
<<_ACEOF
11678 #define HAVE_GNUTLS_HASH 1
11682 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11686 LIBS
="$ac_wine_check_funcs_save_LIBS"
11688 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11694 CPPFLAGS
=$ac_save_CPPFLAGS
11695 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11696 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11699 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11700 case "x$with_gnutls" in
11701 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11703 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11704 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11710 if test "$ac_cv_header_ncurses_h" = "yes"
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11713 $as_echo_n "checking for -lncurses... " >&6; }
11714 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11715 $as_echo_n "(cached) " >&6
11717 ac_check_soname_save_LIBS
=$LIBS
11718 LIBS
="-lncurses $LIBS"
11719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11720 /* end confdefs.h. */
11722 /* Override any GCC internal prototype to avoid an error.
11723 Use char because int might match the return type of a GCC
11724 builtin and then its argument prototype would still apply. */
11737 if ac_fn_c_try_link
"$LINENO"; then :
11739 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11740 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'` ;;
11741 *) 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'`
11742 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11743 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11747 rm -f core conftest.err conftest.
$ac_objext \
11748 conftest
$ac_exeext conftest.
$ac_ext
11749 LIBS
=$ac_check_soname_save_LIBS
11751 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11753 $as_echo "not found" >&6; }
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11757 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11759 cat >>confdefs.h
<<_ACEOF
11760 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11763 CURSES_LIBS
="-lncurses"
11765 elif test "$ac_cv_header_curses_h" = "yes"
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11768 $as_echo_n "checking for -lcurses... " >&6; }
11769 if ${ac_cv_lib_soname_curses+:} false
; then :
11770 $as_echo_n "(cached) " >&6
11772 ac_check_soname_save_LIBS
=$LIBS
11773 LIBS
="-lcurses $LIBS"
11774 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11775 /* end confdefs.h. */
11777 /* Override any GCC internal prototype to avoid an error.
11778 Use char because int might match the return type of a GCC
11779 builtin and then its argument prototype would still apply. */
11792 if ac_fn_c_try_link
"$LINENO"; then :
11794 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11795 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'` ;;
11796 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11797 if ${ac_cv_lib_soname_curses:+false} :; then :
11798 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11802 rm -f core conftest.err conftest.
$ac_objext \
11803 conftest
$ac_exeext conftest.
$ac_ext
11804 LIBS
=$ac_check_soname_save_LIBS
11806 if ${ac_cv_lib_soname_curses:+false} :; then :
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11808 $as_echo "not found" >&6; }
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11812 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11814 cat >>confdefs.h
<<_ACEOF
11815 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11818 CURSES_LIBS
="-lcurses"
11821 ac_save_LIBS
="$LIBS"
11822 LIBS
="$LIBS $CURSES_LIBS"
11823 for ac_func
in mousemask
11825 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11826 if test "x$ac_cv_func_mousemask" = xyes
; then :
11827 cat >>confdefs.h
<<_ACEOF
11828 #define HAVE_MOUSEMASK 1
11834 LIBS
="$ac_save_LIBS"
11835 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11836 case "x$with_curses" in
11837 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11839 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11840 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11845 if test "x$with_sane" != "xno"
11847 if ${SANE_CFLAGS:+false} :; then :
11848 if ${PKG_CONFIG+:} false
; then :
11849 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11852 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11853 if ${SANE_LIBS:+false} :; then :
11854 if ${PKG_CONFIG+:} false
; then :
11855 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11858 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11860 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11861 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11862 ac_save_CPPFLAGS
=$CPPFLAGS
11863 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11864 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11865 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11867 $as_echo_n "checking for -lsane... " >&6; }
11868 if ${ac_cv_lib_soname_sane+:} false
; then :
11869 $as_echo_n "(cached) " >&6
11871 ac_check_soname_save_LIBS
=$LIBS
11872 LIBS
="-lsane $SANE_LIBS $LIBS"
11873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11874 /* end confdefs.h. */
11876 /* Override any GCC internal prototype to avoid an error.
11877 Use char because int might match the return type of a GCC
11878 builtin and then its argument prototype would still apply. */
11886 return sane_init ();
11891 if ac_fn_c_try_link
"$LINENO"; then :
11893 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11894 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'` ;;
11895 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11896 if ${ac_cv_lib_soname_sane:+false} :; then :
11897 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11901 rm -f core conftest.err conftest.
$ac_objext \
11902 conftest
$ac_exeext conftest.
$ac_ext
11903 LIBS
=$ac_check_soname_save_LIBS
11905 if ${ac_cv_lib_soname_sane:+false} :; then :
11906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11907 $as_echo "not found" >&6; }
11910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11911 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11913 cat >>confdefs.h
<<_ACEOF
11914 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11924 CPPFLAGS
=$ac_save_CPPFLAGS
11925 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11926 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11929 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11930 case "x$with_sane" in
11931 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11933 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11934 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11939 if test "x$with_v4l" != "xno"
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11942 $as_echo_n "checking for -lv4l1... " >&6; }
11943 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11944 $as_echo_n "(cached) " >&6
11946 ac_check_soname_save_LIBS
=$LIBS
11947 LIBS
="-lv4l1 $LIBS"
11948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11949 /* end confdefs.h. */
11951 /* Override any GCC internal prototype to avoid an error.
11952 Use char because int might match the return type of a GCC
11953 builtin and then its argument prototype would still apply. */
11961 return v4l1_open ();
11966 if ac_fn_c_try_link
"$LINENO"; then :
11968 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11969 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'` ;;
11970 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11971 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11972 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11976 rm -f core conftest.err conftest.
$ac_objext \
11977 conftest
$ac_exeext conftest.
$ac_ext
11978 LIBS
=$ac_check_soname_save_LIBS
11980 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11982 $as_echo "not found" >&6; }
11985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11986 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11988 cat >>confdefs.h
<<_ACEOF
11989 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11995 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11996 case "x$with_v4l" in
11997 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11999 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
12000 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12005 if test "x$with_gphoto" != "xno"
12007 if ${GPHOTO2_CFLAGS:+false} :; then :
12008 if ${PKG_CONFIG+:} false
; then :
12009 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12012 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12013 if ${GPHOTO2_LIBS:+false} :; then :
12014 if ${PKG_CONFIG+:} false
; then :
12015 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12018 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12019 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
12020 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12021 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12022 ac_save_CPPFLAGS
=$CPPFLAGS
12023 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
12024 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12025 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12027 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12028 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
12029 $as_echo_n "(cached) " >&6
12031 ac_check_lib_save_LIBS
=$LIBS
12032 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12034 /* end confdefs.h. */
12036 /* Override any GCC internal prototype to avoid an error.
12037 Use char because int might match the return type of a GCC
12038 builtin and then its argument prototype would still apply. */
12042 char gp_camera_new ();
12046 return gp_camera_new ();
12051 if ac_fn_c_try_link
"$LINENO"; then :
12052 ac_cv_lib_gphoto2_gp_camera_new
=yes
12054 ac_cv_lib_gphoto2_gp_camera_new
=no
12056 rm -f core conftest.err conftest.
$ac_objext \
12057 conftest
$ac_exeext conftest.
$ac_ext
12058 LIBS
=$ac_check_lib_save_LIBS
12060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12061 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12062 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
12064 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12067 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
12071 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
12075 CPPFLAGS
=$ac_save_CPPFLAGS
12076 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12077 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12079 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12080 if ${PKG_CONFIG+:} false
; then :
12081 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12084 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12085 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12086 if ${PKG_CONFIG+:} false
; then :
12087 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12090 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12091 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12092 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12093 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12094 ac_save_CPPFLAGS
=$CPPFLAGS
12095 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12096 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12097 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
12098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12099 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12100 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
12101 $as_echo_n "(cached) " >&6
12103 ac_check_lib_save_LIBS
=$LIBS
12104 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12106 /* end confdefs.h. */
12108 /* Override any GCC internal prototype to avoid an error.
12109 Use char because int might match the return type of a GCC
12110 builtin and then its argument prototype would still apply. */
12114 char gp_port_info_list_new ();
12118 return gp_port_info_list_new ();
12123 if ac_fn_c_try_link
"$LINENO"; then :
12124 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
12126 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
12128 rm -f core conftest.err conftest.
$ac_objext \
12129 conftest
$ac_exeext conftest.
$ac_ext
12130 LIBS
=$ac_check_lib_save_LIBS
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12133 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12134 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
12136 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12139 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12143 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12147 CPPFLAGS
=$ac_save_CPPFLAGS
12148 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12149 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12152 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12153 case "x$with_gphoto" in
12154 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12156 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12157 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12161 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12162 case "x$with_gphoto" in
12163 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12165 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12166 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12172 if test "$ac_cv_header_resolv_h" = "yes"
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12175 $as_echo_n "checking for resolver library... " >&6; }
12176 if ${ac_cv_have_resolv+:} false
; then :
12177 $as_echo_n "(cached) " >&6
12179 ac_save_LIBS
="$LIBS"
12180 for lib
in '' -lresolv
12182 LIBS
="$lib $ac_save_LIBS"
12183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12184 /* end confdefs.h. */
12185 #ifdef HAVE_NETINET_IN_H
12186 #include <netinet/in.h>
12188 #include <resolv.h>
12192 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12197 if ac_fn_c_try_link
"$LINENO"; then :
12198 ac_cv_have_resolv
=${lib:-"none required"}
12200 ac_cv_have_resolv
="not found"
12202 rm -f core conftest.err conftest.
$ac_objext \
12203 conftest
$ac_exeext conftest.
$ac_ext
12204 test "x$ac_cv_have_resolv" = "xnot found" ||
break
12206 LIBS
="$ac_save_LIBS"
12208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12209 $as_echo "$ac_cv_have_resolv" >&6; }
12211 case "$ac_cv_have_resolv" in
12215 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12218 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12220 RESOLV_LIBS
=$ac_cv_have_resolv
12225 if test "x$with_cms" != "xno"
12227 if ${LCMS2_CFLAGS:+false} :; then :
12228 if ${PKG_CONFIG+:} false
; then :
12229 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12233 if ${LCMS2_LIBS:+false} :; then :
12234 if ${PKG_CONFIG+:} false
; then :
12235 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12239 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
12240 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12241 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12242 ac_save_CPPFLAGS
=$CPPFLAGS
12243 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
12244 for ac_header
in lcms2.h
12246 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12247 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
12248 cat >>confdefs.h
<<_ACEOF
12249 #define HAVE_LCMS2_H 1
12256 if test "$ac_cv_header_lcms2_h" = "yes"
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12259 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12260 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
12261 $as_echo_n "(cached) " >&6
12263 ac_check_lib_save_LIBS
=$LIBS
12264 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
12265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12266 /* end confdefs.h. */
12268 /* Override any GCC internal prototype to avoid an error.
12269 Use char because int might match the return type of a GCC
12270 builtin and then its argument prototype would still apply. */
12274 char cmsOpenProfileFromFile ();
12278 return cmsOpenProfileFromFile ();
12283 if ac_fn_c_try_link
"$LINENO"; then :
12284 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
12286 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
12288 rm -f core conftest.err conftest.
$ac_objext \
12289 conftest
$ac_exeext conftest.
$ac_ext
12290 LIBS
=$ac_check_lib_save_LIBS
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12293 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12294 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
12296 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12306 CPPFLAGS
=$ac_save_CPPFLAGS
12307 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12308 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12311 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12312 case "x$with_cms" in
12313 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12315 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12316 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12321 if test "x$with_freetype" != "xno"
12323 if ${FREETYPE_CFLAGS:+false} :; then :
12324 if ${PKG_CONFIG+:} false
; then :
12325 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12328 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12329 if ${FREETYPE_LIBS:+false} :; then :
12330 if ${PKG_CONFIG+:} false
; then :
12331 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12334 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12335 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
12336 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12337 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12338 ac_save_CPPFLAGS
=$CPPFLAGS
12339 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
12340 for ac_header
in ft2build.h
12342 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12343 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
12344 cat >>confdefs.h
<<_ACEOF
12345 #define HAVE_FT2BUILD_H 1
12352 if test "$ac_cv_header_ft2build_h" = "yes"
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12355 $as_echo_n "checking for -lfreetype... " >&6; }
12356 if ${ac_cv_lib_soname_freetype+:} false
; then :
12357 $as_echo_n "(cached) " >&6
12359 ac_check_soname_save_LIBS
=$LIBS
12360 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
12361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12362 /* end confdefs.h. */
12364 /* Override any GCC internal prototype to avoid an error.
12365 Use char because int might match the return type of a GCC
12366 builtin and then its argument prototype would still apply. */
12370 char FT_Init_FreeType ();
12374 return FT_Init_FreeType ();
12379 if ac_fn_c_try_link
"$LINENO"; then :
12381 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12382 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'` ;;
12383 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12384 if ${ac_cv_lib_soname_freetype:+false} :; then :
12385 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12389 rm -f core conftest.err conftest.
$ac_objext \
12390 conftest
$ac_exeext conftest.
$ac_ext
12391 LIBS
=$ac_check_soname_save_LIBS
12393 if ${ac_cv_lib_soname_freetype:+false} :; then :
12394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12395 $as_echo "not found" >&6; }
12398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12399 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12401 cat >>confdefs.h
<<_ACEOF
12402 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12406 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12408 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12409 #include FT_MODULE_H
12411 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12413 cat >>confdefs.h
<<_ACEOF
12414 #define HAVE_FT_TRUETYPEENGINETYPE 1
12425 CPPFLAGS
=$ac_save_CPPFLAGS
12426 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12427 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12430 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12431 case "x$with_freetype" in
12433 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12434 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12436 enable_fonts
=${enable_fonts:-no}
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12440 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12441 if ${ac_cv_c_ppdev+:} false
; then :
12442 $as_echo_n "(cached) " >&6
12444 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12445 /* end confdefs.h. */
12446 #ifdef HAVE_SYS_IOCTL_H
12447 # include <sys/ioctl.h>
12449 #include <linux/ppdev.h>
12453 ioctl (1,PPCLAIM,0)
12458 if ac_fn_c_try_compile
"$LINENO"; then :
12459 ac_cv_c_ppdev
="yes"
12463 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12466 $as_echo "$ac_cv_c_ppdev" >&6; }
12467 if test "$ac_cv_c_ppdev" = "yes"
12470 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12474 ac_wine_check_funcs_save_LIBS
="$LIBS"
12475 LIBS
="$LIBS $PTHREAD_LIBS"
12477 pthread_attr_get_np \
12478 pthread_getattr_np \
12479 pthread_getthreadid_np \
12480 pthread_get_stackaddr_np \
12481 pthread_get_stacksize_np
12483 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12484 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12485 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12486 cat >>confdefs.h
<<_ACEOF
12487 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12493 LIBS
="$ac_wine_check_funcs_save_LIBS"
12495 if test "$ac_cv_header_zlib_h" = "yes"
12497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12498 $as_echo_n "checking for inflate in -lz... " >&6; }
12499 if ${ac_cv_lib_z_inflate+:} false
; then :
12500 $as_echo_n "(cached) " >&6
12502 ac_check_lib_save_LIBS
=$LIBS
12504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12505 /* end confdefs.h. */
12507 /* Override any GCC internal prototype to avoid an error.
12508 Use char because int might match the return type of a GCC
12509 builtin and then its argument prototype would still apply. */
12522 if ac_fn_c_try_link
"$LINENO"; then :
12523 ac_cv_lib_z_inflate
=yes
12525 ac_cv_lib_z_inflate
=no
12527 rm -f core conftest.err conftest.
$ac_objext \
12528 conftest
$ac_exeext conftest.
$ac_ext
12529 LIBS
=$ac_check_lib_save_LIBS
12531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12532 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12533 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12535 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12542 if test "x$Z_LIBS" = "x"; then :
12543 case "x$with_zlib" in
12544 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12546 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12547 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12552 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
12554 if test "$ac_cv_header_gettext_po_h" = "yes"
12556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12557 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12558 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12559 $as_echo_n "(cached) " >&6
12561 ac_check_lib_save_LIBS
=$LIBS
12562 LIBS
="-lgettextpo $LIBS"
12563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12564 /* end confdefs.h. */
12566 /* Override any GCC internal prototype to avoid an error.
12567 Use char because int might match the return type of a GCC
12568 builtin and then its argument prototype would still apply. */
12572 char po_message_msgctxt ();
12576 return po_message_msgctxt ();
12581 if ac_fn_c_try_link
"$LINENO"; then :
12582 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12584 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12586 rm -f core conftest.err conftest.
$ac_objext \
12587 conftest
$ac_exeext conftest.
$ac_ext
12588 LIBS
=$ac_check_lib_save_LIBS
12590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12591 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12592 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12594 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12596 GETTEXTPO_LIBS
="-lgettextpo"
12601 if test "x$GETTEXTPO_LIBS" = "x"; then :
12602 case "x$with_gettextpo" in
12603 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12605 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12606 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12610 if test "$srcdir" != .
; then :
12611 case "x$with_gettextpo" in
12612 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
12614 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
12615 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12621 if test "x$with_pulse" != "xno";
12623 if ${PULSE_CFLAGS:+false} :; then :
12624 if ${PKG_CONFIG+:} false
; then :
12625 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12629 if ${PULSE_LIBS:+false} :; then :
12630 if ${PKG_CONFIG+:} false
; then :
12631 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12636 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12637 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12638 ac_save_CPPFLAGS
=$CPPFLAGS
12639 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
12640 for ac_header
in pulse
/pulseaudio.h
12642 ac_fn_c_check_header_mongrel
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12643 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
; then :
12644 cat >>confdefs.h
<<_ACEOF
12645 #define HAVE_PULSE_PULSEAUDIO_H 1
12647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12648 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12649 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false
; then :
12650 $as_echo_n "(cached) " >&6
12652 ac_check_lib_save_LIBS
=$LIBS
12653 LIBS
="-lpulse $PULSE_LIBS $LIBS"
12654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12655 /* end confdefs.h. */
12657 /* Override any GCC internal prototype to avoid an error.
12658 Use char because int might match the return type of a GCC
12659 builtin and then its argument prototype would still apply. */
12663 char pa_stream_is_corked ();
12667 return pa_stream_is_corked ();
12672 if ac_fn_c_try_link
"$LINENO"; then :
12673 ac_cv_lib_pulse_pa_stream_is_corked
=yes
12675 ac_cv_lib_pulse_pa_stream_is_corked
=no
12677 rm -f core conftest.err conftest.
$ac_objext \
12678 conftest
$ac_exeext conftest.
$ac_ext
12679 LIBS
=$ac_check_lib_save_LIBS
12681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12682 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12683 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
; then :
12695 CPPFLAGS
=$ac_save_CPPFLAGS
12696 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS
=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12697 test -z "$PULSE_LIBS" || PULSE_LIBS
=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12700 if test -z "$PULSE_LIBS"; then :
12701 case "x$with_pulse" in
12702 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12704 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12705 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12707 enable_winepulse_drv
=${enable_winepulse_drv:-no}
12710 if test "x$with_gstreamer" != "xno"
12712 if ${GSTREAMER_CFLAGS:+false} :; then :
12713 if ${PKG_CONFIG+:} false
; then :
12714 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12718 if ${GSTREAMER_LIBS:+false} :; then :
12719 if ${PKG_CONFIG+:} false
; then :
12720 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12725 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12726 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12727 ac_save_CPPFLAGS
=$CPPFLAGS
12728 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12730 for i
in $GSTREAMER_CFLAGS
12733 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12736 GSTREAMER_CFLAGS
=$ac_gst_incl
12737 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12738 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12739 if test "x$ac_cv_header_gst_gst_h" = xyes
; then :
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12741 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12743 /* end confdefs.h. */
12744 #include <gst/gst.h>
12748 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12753 if ac_fn_c_try_compile
"$LINENO"; then :
12754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12755 $as_echo "yes" >&6; }
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12757 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12758 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false
; then :
12759 $as_echo_n "(cached) " >&6
12761 ac_check_lib_save_LIBS
=$LIBS
12762 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12764 /* end confdefs.h. */
12766 /* Override any GCC internal prototype to avoid an error.
12767 Use char because int might match the return type of a GCC
12768 builtin and then its argument prototype would still apply. */
12772 char gst_pad_new ();
12776 return gst_pad_new ();
12781 if ac_fn_c_try_link
"$LINENO"; then :
12782 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
12784 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
12786 rm -f core conftest.err conftest.
$ac_objext \
12787 conftest
$ac_exeext conftest.
$ac_ext
12788 LIBS
=$ac_check_lib_save_LIBS
12790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12791 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12792 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
; then :
12797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12798 $as_echo "no" >&6; }
12799 ac_glib2_broken
=yes
12800 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12802 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12806 CPPFLAGS
=$ac_save_CPPFLAGS
12807 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12808 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12811 if test "x$ac_glib2_broken" != xyes
-a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12812 case "x$with_gstreamer" in
12813 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12815 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12816 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12820 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12824 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12827 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12828 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12829 $as_echo_n "(cached) " >&6
12831 ac_check_lib_save_LIBS
=$LIBS
12832 LIBS
="-lasound $LIBS"
12833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12834 /* end confdefs.h. */
12836 /* Override any GCC internal prototype to avoid an error.
12837 Use char because int might match the return type of a GCC
12838 builtin and then its argument prototype would still apply. */
12842 char snd_pcm_hw_params_get_access_mask ();
12846 return snd_pcm_hw_params_get_access_mask ();
12851 if ac_fn_c_try_link
"$LINENO"; then :
12852 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12854 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12856 rm -f core conftest.err conftest.
$ac_objext \
12857 conftest
$ac_exeext conftest.
$ac_ext
12858 LIBS
=$ac_check_lib_save_LIBS
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12861 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12862 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12864 /* end confdefs.h. */
12865 #ifdef HAVE_ALSA_ASOUNDLIB_H
12866 #include <alsa/asoundlib.h>
12867 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12868 #include <sys/asoundlib.h>
12873 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12878 if ac_fn_c_try_compile
"$LINENO"; then :
12879 ALSA_LIBS
="-lasound"
12881 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12885 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
12887 if test "x$with_oss" != xno
12889 ac_save_CPPFLAGS
="$CPPFLAGS"
12890 if test -f /etc
/oss.conf
12894 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12895 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12896 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12897 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12898 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12900 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12902 cat >>confdefs.h
<<_ACEOF
12903 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12906 OSS4_CFLAGS
="$ac_oss_incl"
12913 CPPFLAGS
="$ac_save_CPPFLAGS"
12915 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
; then :
12916 case "x$with_oss" in
12917 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12919 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12920 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12922 enable_wineoss_drv
=${enable_wineoss_drv:-no}
12925 if test "x$with_udev" != "xno"
12927 if ${UDEV_CFLAGS:+false} :; then :
12928 if ${PKG_CONFIG+:} false
; then :
12929 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>/dev/null`
12933 if ${UDEV_LIBS:+false} :; then :
12934 if ${PKG_CONFIG+:} false
; then :
12935 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
12940 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
12941 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
12942 ac_save_CPPFLAGS
=$CPPFLAGS
12943 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
12944 for ac_header
in libudev.h
12946 ac_fn_c_check_header_mongrel
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
12947 if test "x$ac_cv_header_libudev_h" = xyes
; then :
12948 cat >>confdefs.h
<<_ACEOF
12949 #define HAVE_LIBUDEV_H 1
12951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
12952 $as_echo_n "checking for udev_new in -ludev... " >&6; }
12953 if ${ac_cv_lib_udev_udev_new+:} false
; then :
12954 $as_echo_n "(cached) " >&6
12956 ac_check_lib_save_LIBS
=$LIBS
12957 LIBS
="-ludev $UDEV_LIBS $LIBS"
12958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12959 /* end confdefs.h. */
12961 /* Override any GCC internal prototype to avoid an error.
12962 Use char because int might match the return type of a GCC
12963 builtin and then its argument prototype would still apply. */
12971 return udev_new ();
12976 if ac_fn_c_try_link
"$LINENO"; then :
12977 ac_cv_lib_udev_udev_new
=yes
12979 ac_cv_lib_udev_udev_new
=no
12981 rm -f core conftest.err conftest.
$ac_objext \
12982 conftest
$ac_exeext conftest.
$ac_ext
12983 LIBS
=$ac_check_lib_save_LIBS
12985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
12986 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
12987 if test "x$ac_cv_lib_udev_udev_new" = xyes
; then :
12989 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13001 CPPFLAGS
=$ac_save_CPPFLAGS
13002 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS
=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13003 test -z "$UDEV_LIBS" || UDEV_LIBS
=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13006 if test "x$UDEV_LIBS" = "x"; then :
13007 case "x$with_udev" in
13008 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13010 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
13011 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13016 if test "x$with_capi" != "xno"
13018 if ${CAPI20_CFLAGS:+false} :; then :
13019 if ${PKG_CONFIG+:} false
; then :
13020 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13024 if ${CAPI20_LIBS:+false} :; then :
13025 if ${PKG_CONFIG+:} false
; then :
13026 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
13031 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13032 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13033 ac_save_CPPFLAGS
=$CPPFLAGS
13034 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
13035 for ac_header
in capi20.h linux
/capi.h
13037 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13038 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13040 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
13041 cat >>confdefs.h
<<_ACEOF
13042 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13049 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13052 $as_echo_n "checking for -lcapi20... " >&6; }
13053 if ${ac_cv_lib_soname_capi20+:} false
; then :
13054 $as_echo_n "(cached) " >&6
13056 ac_check_soname_save_LIBS
=$LIBS
13057 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
13058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13059 /* end confdefs.h. */
13061 /* Override any GCC internal prototype to avoid an error.
13062 Use char because int might match the return type of a GCC
13063 builtin and then its argument prototype would still apply. */
13067 char capi20_register ();
13071 return capi20_register ();
13076 if ac_fn_c_try_link
"$LINENO"; then :
13078 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13079 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'` ;;
13080 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13081 if ${ac_cv_lib_soname_capi20:+false} :; then :
13082 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13086 rm -f core conftest.err conftest.
$ac_objext \
13087 conftest
$ac_exeext conftest.
$ac_ext
13088 LIBS
=$ac_check_soname_save_LIBS
13090 if ${ac_cv_lib_soname_capi20:+false} :; then :
13091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13092 $as_echo "not found" >&6; }
13095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13096 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13098 cat >>confdefs.h
<<_ACEOF
13099 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13105 CPPFLAGS
=$ac_save_CPPFLAGS
13106 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13107 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13110 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13111 case "x$with_capi" in
13112 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13114 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13115 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13122 if test "x$with_cups" != "xno"
13124 ac_save_CPPFLAGS
="$CPPFLAGS"
13125 ac_cups_cflags
=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13126 ac_cups_libs
=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13127 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
13128 for ac_header
in cups
/cups.h
13130 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13131 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
13132 cat >>confdefs.h
<<_ACEOF
13133 #define HAVE_CUPS_CUPS_H 1
13135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13136 $as_echo_n "checking for -lcups... " >&6; }
13137 if ${ac_cv_lib_soname_cups+:} false
; then :
13138 $as_echo_n "(cached) " >&6
13140 ac_check_soname_save_LIBS
=$LIBS
13141 LIBS
="-lcups $ac_cups_libs $LIBS"
13142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13143 /* end confdefs.h. */
13145 /* Override any GCC internal prototype to avoid an error.
13146 Use char because int might match the return type of a GCC
13147 builtin and then its argument prototype would still apply. */
13151 char cupsGetDefault ();
13155 return cupsGetDefault ();
13160 if ac_fn_c_try_link
"$LINENO"; then :
13162 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13163 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'` ;;
13164 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13165 if ${ac_cv_lib_soname_cups:+false} :; then :
13166 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13170 rm -f core conftest.err conftest.
$ac_objext \
13171 conftest
$ac_exeext conftest.
$ac_ext
13172 LIBS
=$ac_check_soname_save_LIBS
13174 if ${ac_cv_lib_soname_cups:+false} :; then :
13175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13176 $as_echo "not found" >&6; }
13179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13180 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13182 cat >>confdefs.h
<<_ACEOF
13183 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13186 CUPS_CFLAGS
="$ac_cups_cflags"
13188 for ac_header
in cups
/ppd.h
13190 ac_fn_c_check_header_mongrel
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13191 if test "x$ac_cv_header_cups_ppd_h" = xyes
; then :
13192 cat >>confdefs.h
<<_ACEOF
13193 #define HAVE_CUPS_PPD_H 1
13204 CPPFLAGS
="$ac_save_CPPFLAGS"
13206 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13207 case "x$with_cups" in
13208 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13210 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
13211 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13216 if test "x$with_fontconfig" != "xno"
13218 if ${FONTCONFIG_CFLAGS:+false} :; then :
13219 if ${PKG_CONFIG+:} false
; then :
13220 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13223 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13224 if ${FONTCONFIG_LIBS:+false} :; then :
13225 if ${PKG_CONFIG+:} false
; then :
13226 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13229 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
13231 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13232 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13233 ac_save_CPPFLAGS
=$CPPFLAGS
13234 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
13235 for ac_header
in fontconfig
/fontconfig.h
13237 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13238 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
13239 cat >>confdefs.h
<<_ACEOF
13240 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13247 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13250 $as_echo_n "checking for -lfontconfig... " >&6; }
13251 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
13252 $as_echo_n "(cached) " >&6
13254 ac_check_soname_save_LIBS
=$LIBS
13255 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13257 /* end confdefs.h. */
13259 /* Override any GCC internal prototype to avoid an error.
13260 Use char because int might match the return type of a GCC
13261 builtin and then its argument prototype would still apply. */
13274 if ac_fn_c_try_link
"$LINENO"; then :
13276 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13277 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'` ;;
13278 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13279 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13280 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13284 rm -f core conftest.err conftest.
$ac_objext \
13285 conftest
$ac_exeext conftest.
$ac_ext
13286 LIBS
=$ac_check_soname_save_LIBS
13288 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13290 $as_echo "not found" >&6; }
13291 FONTCONFIG_CFLAGS
=""
13293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13294 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13296 cat >>confdefs.h
<<_ACEOF
13297 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13303 FONTCONFIG_CFLAGS
=""
13305 CPPFLAGS
=$ac_save_CPPFLAGS
13306 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13307 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13310 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13311 case "x$with_fontconfig" in
13312 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13314 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13315 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13320 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13323 $as_echo_n "checking for -lgsm... " >&6; }
13324 if ${ac_cv_lib_soname_gsm+:} false
; then :
13325 $as_echo_n "(cached) " >&6
13327 ac_check_soname_save_LIBS
=$LIBS
13329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13330 /* end confdefs.h. */
13332 /* Override any GCC internal prototype to avoid an error.
13333 Use char because int might match the return type of a GCC
13334 builtin and then its argument prototype would still apply. */
13338 char gsm_create ();
13342 return gsm_create ();
13347 if ac_fn_c_try_link
"$LINENO"; then :
13349 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13350 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'` ;;
13351 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13352 if ${ac_cv_lib_soname_gsm:+false} :; then :
13353 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13357 rm -f core conftest.err conftest.
$ac_objext \
13358 conftest
$ac_exeext conftest.
$ac_ext
13359 LIBS
=$ac_check_soname_save_LIBS
13361 if ${ac_cv_lib_soname_gsm:+false} :; then :
13362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13363 $as_echo "not found" >&6; }
13366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13367 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13369 cat >>confdefs.h
<<_ACEOF
13370 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13376 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13377 case "x$with_gsm" in
13378 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13380 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13381 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13386 if test "x$with_jpeg" != "xno"
13388 if ${JPEG_CFLAGS:+false} :; then :
13389 if ${PKG_CONFIG+:} false
; then :
13390 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13394 if ${JPEG_LIBS:+false} :; then :
13395 if ${PKG_CONFIG+:} false
; then :
13396 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13401 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13402 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13403 ac_save_CPPFLAGS
=$CPPFLAGS
13404 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
13405 for ac_header
in jpeglib.h
13407 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13408 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
13409 cat >>confdefs.h
<<_ACEOF
13410 #define HAVE_JPEGLIB_H 1
13417 if test "$ac_cv_header_jpeglib_h" = "yes"
13419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13420 $as_echo_n "checking for -ljpeg... " >&6; }
13421 if ${ac_cv_lib_soname_jpeg+:} false
; then :
13422 $as_echo_n "(cached) " >&6
13424 ac_check_soname_save_LIBS
=$LIBS
13425 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
13426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13427 /* end confdefs.h. */
13429 /* Override any GCC internal prototype to avoid an error.
13430 Use char because int might match the return type of a GCC
13431 builtin and then its argument prototype would still apply. */
13435 char jpeg_start_decompress ();
13439 return jpeg_start_decompress ();
13444 if ac_fn_c_try_link
"$LINENO"; then :
13446 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13447 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'` ;;
13448 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13449 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13450 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13454 rm -f core conftest.err conftest.
$ac_objext \
13455 conftest
$ac_exeext conftest.
$ac_ext
13456 LIBS
=$ac_check_soname_save_LIBS
13458 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13460 $as_echo "not found" >&6; }
13463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13464 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13466 cat >>confdefs.h
<<_ACEOF
13467 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13475 CPPFLAGS
=$ac_save_CPPFLAGS
13476 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13477 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13480 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13481 case "x$with_jpeg" in
13482 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13484 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13485 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13490 if test "x$with_png" != "xno"
13492 if ${PNG_CFLAGS:+false} :; then :
13493 if ${PKG_CONFIG+:} false
; then :
13494 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13497 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
13498 if ${PNG_LIBS:+false} :; then :
13499 if ${PKG_CONFIG+:} false
; then :
13500 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
13503 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
13505 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13506 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13507 ac_save_CPPFLAGS
=$CPPFLAGS
13508 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
13509 for ac_header
in png.h
13511 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13512 if test "x$ac_cv_header_png_h" = xyes
; then :
13513 cat >>confdefs.h
<<_ACEOF
13514 #define HAVE_PNG_H 1
13521 if test "$ac_cv_header_png_h" = "yes"
13523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13524 $as_echo_n "checking for -lpng... " >&6; }
13525 if ${ac_cv_lib_soname_png+:} false
; then :
13526 $as_echo_n "(cached) " >&6
13528 ac_check_soname_save_LIBS
=$LIBS
13529 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
13530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13531 /* end confdefs.h. */
13533 /* Override any GCC internal prototype to avoid an error.
13534 Use char because int might match the return type of a GCC
13535 builtin and then its argument prototype would still apply. */
13539 char png_create_read_struct ();
13543 return png_create_read_struct ();
13548 if ac_fn_c_try_link
"$LINENO"; then :
13550 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13551 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'` ;;
13552 *) 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'`
13553 if ${ac_cv_lib_soname_png:+false} :; then :
13554 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13558 rm -f core conftest.err conftest.
$ac_objext \
13559 conftest
$ac_exeext conftest.
$ac_ext
13560 LIBS
=$ac_check_soname_save_LIBS
13562 if ${ac_cv_lib_soname_png:+false} :; then :
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13564 $as_echo "not found" >&6; }
13567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13568 $as_echo "$ac_cv_lib_soname_png" >&6; }
13570 cat >>confdefs.h
<<_ACEOF
13571 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13575 /* end confdefs.h. */
13580 typeof(png_set_expand_gray_1_2_4_to_8) *p
13585 if ac_fn_c_try_compile
"$LINENO"; then :
13587 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13590 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13595 CPPFLAGS
=$ac_save_CPPFLAGS
13596 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13597 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13600 if test "x$ac_cv_lib_soname_png" = "x"; then :
13601 case "x$with_png" in
13602 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13604 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13605 This is an error since --with-png was requested." "$LINENO" 5 ;;
13610 if test "x$with_tiff" != "xno"
13612 if ${TIFF_CFLAGS:+false} :; then :
13613 if ${PKG_CONFIG+:} false
; then :
13614 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13618 if ${TIFF_LIBS:+false} :; then :
13619 if ${PKG_CONFIG+:} false
; then :
13620 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13625 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13626 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13627 ac_save_CPPFLAGS
=$CPPFLAGS
13628 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13629 for ac_header
in tiffio.h
13631 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13632 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13633 cat >>confdefs.h
<<_ACEOF
13634 #define HAVE_TIFFIO_H 1
13641 if test "$ac_cv_header_tiffio_h" = "yes"
13643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13644 $as_echo_n "checking for -ltiff... " >&6; }
13645 if ${ac_cv_lib_soname_tiff+:} false
; then :
13646 $as_echo_n "(cached) " >&6
13648 ac_check_soname_save_LIBS
=$LIBS
13649 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13651 /* end confdefs.h. */
13653 /* Override any GCC internal prototype to avoid an error.
13654 Use char because int might match the return type of a GCC
13655 builtin and then its argument prototype would still apply. */
13659 char TIFFClientOpen ();
13663 return TIFFClientOpen ();
13668 if ac_fn_c_try_link
"$LINENO"; then :
13670 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13671 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'` ;;
13672 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13673 if ${ac_cv_lib_soname_tiff:+false} :; then :
13674 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13678 rm -f core conftest.err conftest.
$ac_objext \
13679 conftest
$ac_exeext conftest.
$ac_ext
13680 LIBS
=$ac_check_soname_save_LIBS
13682 if ${ac_cv_lib_soname_tiff:+false} :; then :
13683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13684 $as_echo "not found" >&6; }
13687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13688 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13690 cat >>confdefs.h
<<_ACEOF
13691 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13697 CPPFLAGS
=$ac_save_CPPFLAGS
13698 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13699 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13702 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13703 case "x$with_tiff" in
13704 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13706 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13707 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13712 if test "x$with_mpg123" != "xno"
13714 if ${MPG123_CFLAGS:+false} :; then :
13715 if ${PKG_CONFIG+:} false
; then :
13716 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13720 if ${MPG123_LIBS:+false} :; then :
13721 if ${PKG_CONFIG+:} false
; then :
13722 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13726 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13727 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13728 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13729 ac_save_CPPFLAGS
=$CPPFLAGS
13730 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13731 for ac_header
in mpg123.h
13733 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13734 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13735 cat >>confdefs.h
<<_ACEOF
13736 #define HAVE_MPG123_H 1
13743 if test "$ac_cv_header_mpg123_h" = "yes"
13745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13746 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13747 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13748 $as_echo_n "(cached) " >&6
13750 ac_check_lib_save_LIBS
=$LIBS
13751 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13753 /* end confdefs.h. */
13755 /* Override any GCC internal prototype to avoid an error.
13756 Use char because int might match the return type of a GCC
13757 builtin and then its argument prototype would still apply. */
13761 char mpg123_feed ();
13765 return mpg123_feed ();
13770 if ac_fn_c_try_link
"$LINENO"; then :
13771 ac_cv_lib_mpg123_mpg123_feed
=yes
13773 ac_cv_lib_mpg123_mpg123_feed
=no
13775 rm -f core conftest.err conftest.
$ac_objext \
13776 conftest
$ac_exeext conftest.
$ac_ext
13777 LIBS
=$ac_check_lib_save_LIBS
13779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13780 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13781 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13791 CPPFLAGS
=$ac_save_CPPFLAGS
13792 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13793 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13796 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13797 case "x$with_mpg123" in
13798 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13800 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13801 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13803 enable_winemp3_acm
=${enable_winemp3_acm:-no}
13806 if test "$ac_cv_header_AL_al_h" = "yes"
13808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13809 $as_echo_n "checking for -lopenal... " >&6; }
13810 if ${ac_cv_lib_soname_openal+:} false
; then :
13811 $as_echo_n "(cached) " >&6
13813 ac_check_soname_save_LIBS
=$LIBS
13814 LIBS
="-lopenal $LIBS"
13815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13816 /* end confdefs.h. */
13818 /* Override any GCC internal prototype to avoid an error.
13819 Use char because int might match the return type of a GCC
13820 builtin and then its argument prototype would still apply. */
13824 char alGetSource3i ();
13828 return alGetSource3i ();
13833 if ac_fn_c_try_link
"$LINENO"; then :
13835 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13836 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'` ;;
13837 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13838 if ${ac_cv_lib_soname_openal:+false} :; then :
13839 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13843 rm -f core conftest.err conftest.
$ac_objext \
13844 conftest
$ac_exeext conftest.
$ac_ext
13845 LIBS
=$ac_check_soname_save_LIBS
13847 if ${ac_cv_lib_soname_openal:+false} :; then :
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13849 $as_echo "not found" >&6; }
13852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13853 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13855 cat >>confdefs.h
<<_ACEOF
13856 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13859 OPENAL_LIBS
="-lopenal"
13861 ac_cv_lib_openal
=yes
13863 cat >>confdefs.h
<<_ACEOF
13864 #define HAVE_OPENAL 1
13869 if test "x$ac_cv_lib_openal" != xyes
; then :
13870 case "x$with_openal" in
13871 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13873 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13874 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13876 enable_openal32
=${enable_openal32:-no}
13879 if test "x$ac_cv_lib_openal" = xyes
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13882 $as_echo_n "checking for openal-soft... " >&6; }
13883 if ${ac_cv_have_openalsoft+:} false
; then :
13884 $as_echo_n "(cached) " >&6
13886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13887 /* end confdefs.h. */
13889 #include <AL/alc.h>
13890 #include <AL/alext.h>
13891 LPALCRENDERSAMPLESSOFT x;
13900 if ac_fn_c_try_compile
"$LINENO"; then :
13901 ac_cv_have_openalsoft
=yes
13903 ac_cv_have_openalsoft
=no
13905 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13908 $as_echo "$ac_cv_have_openalsoft" >&6; }
13910 if test "x$ac_cv_have_openalsoft" != xyes
13912 as_fn_append wine_notices
"|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13913 enable_x3daudio1_0
=${enable_x3daudio1_0:-no}
13914 enable_x3daudio1_1
=${enable_x3daudio1_1:-no}
13915 enable_x3daudio1_2
=${enable_x3daudio1_2:-no}
13916 enable_x3daudio1_3
=${enable_x3daudio1_3:-no}
13917 enable_x3daudio1_4
=${enable_x3daudio1_4:-no}
13918 enable_x3daudio1_5
=${enable_x3daudio1_5:-no}
13919 enable_x3daudio1_6
=${enable_x3daudio1_6:-no}
13920 enable_x3daudio1_7
=${enable_x3daudio1_7:-no}
13921 enable_xapofx1_1
=${enable_xapofx1_1:-no}
13922 enable_xapofx1_2
=${enable_xapofx1_2:-no}
13923 enable_xapofx1_3
=${enable_xapofx1_3:-no}
13924 enable_xapofx1_4
=${enable_xapofx1_4:-no}
13925 enable_xapofx1_5
=${enable_xapofx1_5:-no}
13926 enable_xaudio2_0
=${enable_xaudio2_0:-no}
13927 enable_xaudio2_1
=${enable_xaudio2_1:-no}
13928 enable_xaudio2_2
=${enable_xaudio2_2:-no}
13929 enable_xaudio2_3
=${enable_xaudio2_3:-no}
13930 enable_xaudio2_4
=${enable_xaudio2_4:-no}
13931 enable_xaudio2_5
=${enable_xaudio2_5:-no}
13932 enable_xaudio2_6
=${enable_xaudio2_6:-no}
13933 enable_xaudio2_7
=${enable_xaudio2_7:-no}
13934 enable_xaudio2_8
=${enable_xaudio2_8:-no}
13935 enable_xaudio2_9
=${enable_xaudio2_9:-no}
13938 if test "$ac_cv_header_kstat_h" = "yes"
13940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13941 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13942 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13943 $as_echo_n "(cached) " >&6
13945 ac_check_lib_save_LIBS
=$LIBS
13946 LIBS
="-lkstat $LIBS"
13947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13948 /* end confdefs.h. */
13950 /* Override any GCC internal prototype to avoid an error.
13951 Use char because int might match the return type of a GCC
13952 builtin and then its argument prototype would still apply. */
13956 char kstat_open ();
13960 return kstat_open ();
13965 if ac_fn_c_try_link
"$LINENO"; then :
13966 ac_cv_lib_kstat_kstat_open
=yes
13968 ac_cv_lib_kstat_kstat_open
=no
13970 rm -f core conftest.err conftest.
$ac_objext \
13971 conftest
$ac_exeext conftest.
$ac_ext
13972 LIBS
=$ac_check_lib_save_LIBS
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13975 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13976 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13978 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13980 KSTAT_LIBS
="-lkstat"
13986 if test "$ac_cv_header_libprocstat_h" = "yes"
13988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13989 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13990 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13991 $as_echo_n "(cached) " >&6
13993 ac_check_lib_save_LIBS
=$LIBS
13994 LIBS
="-lprocstat $LIBS"
13995 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13996 /* end confdefs.h. */
13998 /* Override any GCC internal prototype to avoid an error.
13999 Use char because int might match the return type of a GCC
14000 builtin and then its argument prototype would still apply. */
14004 char procstat_open_sysctl ();
14008 return procstat_open_sysctl ();
14013 if ac_fn_c_try_link
"$LINENO"; then :
14014 ac_cv_lib_procstat_procstat_open_sysctl
=yes
14016 ac_cv_lib_procstat_procstat_open_sysctl
=no
14018 rm -f core conftest.err conftest.
$ac_objext \
14019 conftest
$ac_exeext conftest.
$ac_ext
14020 LIBS
=$ac_check_lib_save_LIBS
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14023 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14024 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
14026 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14028 PROCSTAT_LIBS
="-lprocstat"
14034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14035 $as_echo_n "checking for -lodbc... " >&6; }
14036 if ${ac_cv_lib_soname_odbc+:} false
; then :
14037 $as_echo_n "(cached) " >&6
14039 ac_check_soname_save_LIBS
=$LIBS
14040 LIBS
="-lodbc $LIBS"
14041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14042 /* end confdefs.h. */
14044 /* Override any GCC internal prototype to avoid an error.
14045 Use char because int might match the return type of a GCC
14046 builtin and then its argument prototype would still apply. */
14050 char SQLConnect ();
14054 return SQLConnect ();
14059 if ac_fn_c_try_link
"$LINENO"; then :
14061 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14062 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'` ;;
14063 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14064 if ${ac_cv_lib_soname_odbc:+false} :; then :
14065 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14069 rm -f core conftest.err conftest.
$ac_objext \
14070 conftest
$ac_exeext conftest.
$ac_ext
14071 LIBS
=$ac_check_soname_save_LIBS
14073 if ${ac_cv_lib_soname_odbc:+false} :; then :
14074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14075 $as_echo "not found" >&6; }
14076 cat >>confdefs.h
<<_ACEOF
14077 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14082 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14084 cat >>confdefs.h
<<_ACEOF
14085 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14091 if test "x$with_netapi" != "xno"
14093 if ${NETAPI_CFLAGS:+false} :; then :
14094 if ${PKG_CONFIG+:} false
; then :
14095 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14099 if ${NETAPI_LIBS:+false} :; then :
14100 if ${PKG_CONFIG+:} false
; then :
14101 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
14106 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14107 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14108 ac_save_CPPFLAGS
=$CPPFLAGS
14109 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
14110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14111 $as_echo_n "checking for -lnetapi... " >&6; }
14112 if ${ac_cv_lib_soname_netapi+:} false
; then :
14113 $as_echo_n "(cached) " >&6
14115 ac_check_soname_save_LIBS
=$LIBS
14116 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
14117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14118 /* end confdefs.h. */
14120 /* Override any GCC internal prototype to avoid an error.
14121 Use char because int might match the return type of a GCC
14122 builtin and then its argument prototype would still apply. */
14126 char libnetapi_init ();
14130 return libnetapi_init ();
14135 if ac_fn_c_try_link
"$LINENO"; then :
14137 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14138 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'` ;;
14139 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14140 if ${ac_cv_lib_soname_netapi:+false} :; then :
14141 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14145 rm -f core conftest.err conftest.
$ac_objext \
14146 conftest
$ac_exeext conftest.
$ac_ext
14147 LIBS
=$ac_check_soname_save_LIBS
14149 if ${ac_cv_lib_soname_netapi:+false} :; then :
14150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14151 $as_echo "not found" >&6; }
14152 cat >>confdefs.h
<<_ACEOF
14153 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14158 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14160 cat >>confdefs.h
<<_ACEOF
14161 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14166 CPPFLAGS
=$ac_save_CPPFLAGS
14167 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS
=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14168 test -z "$NETAPI_LIBS" || NETAPI_LIBS
=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14172 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono
-a \
14173 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14175 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
14181 if test "x${GCC}" = "xyes"
14183 EXTRACFLAGS
="-Wall -pipe"
14185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14186 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14187 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
14188 $as_echo_n "(cached) " >&6
14190 if test "$cross_compiling" = yes; then :
14191 ac_cv_c_gcc_strength_bug
="no"
14193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14194 /* end confdefs.h. */
14195 int L[4] = {0,1,2,3};
14199 static int Array[3];
14200 unsigned int B = 3;
14202 for(i=0; i<B; i++) Array[i] = i - 3;
14203 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14205 return (Array[1] != -2 || L[2] != 3)
14210 if ac_fn_c_try_run
"$LINENO"; then :
14211 ac_cv_c_gcc_strength_bug
="no"
14213 ac_cv_c_gcc_strength_bug
="yes"
14215 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14216 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14221 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14222 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14224 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
14227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14228 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14229 if ${ac_cv_cflags__fno_builtin+:} false
; then :
14230 $as_echo_n "(cached) " >&6
14232 ac_wine_try_cflags_saved
=$CFLAGS
14233 CFLAGS
="$CFLAGS -fno-builtin"
14234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14235 /* end confdefs.h. */
14236 int main(int argc, char **argv) { return 0; }
14238 if ac_fn_c_try_link
"$LINENO"; then :
14239 ac_cv_cflags__fno_builtin
=yes
14241 ac_cv_cflags__fno_builtin
=no
14243 rm -f core conftest.err conftest.
$ac_objext \
14244 conftest
$ac_exeext conftest.
$ac_ext
14245 CFLAGS
=$ac_wine_try_cflags_saved
14247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14248 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14249 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
14250 BUILTINFLAG
="-fno-builtin"
14253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14254 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14255 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
14256 $as_echo_n "(cached) " >&6
14258 ac_wine_try_cflags_saved
=$CFLAGS
14259 CFLAGS
="$CFLAGS -fno-strict-aliasing"
14260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14261 /* end confdefs.h. */
14262 int main(int argc, char **argv) { return 0; }
14264 if ac_fn_c_try_link
"$LINENO"; then :
14265 ac_cv_cflags__fno_strict_aliasing
=yes
14267 ac_cv_cflags__fno_strict_aliasing
=no
14269 rm -f core conftest.err conftest.
$ac_objext \
14270 conftest
$ac_exeext conftest.
$ac_ext
14271 CFLAGS
=$ac_wine_try_cflags_saved
14273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14274 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14275 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
14276 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
14278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14279 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14280 if ${ac_cv_cflags__fexcess_precision_standard+:} false
; then :
14281 $as_echo_n "(cached) " >&6
14283 ac_wine_try_cflags_saved
=$CFLAGS
14284 CFLAGS
="$CFLAGS -fexcess-precision=standard"
14285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14286 /* end confdefs.h. */
14287 int main(int argc, char **argv) { return 0; }
14289 if ac_fn_c_try_link
"$LINENO"; then :
14290 ac_cv_cflags__fexcess_precision_standard
=yes
14292 ac_cv_cflags__fexcess_precision_standard
=no
14294 rm -f core conftest.err conftest.
$ac_objext \
14295 conftest
$ac_exeext conftest.
$ac_ext
14296 CFLAGS
=$ac_wine_try_cflags_saved
14298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14299 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14300 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
; then :
14301 EXCESS_PRECISION_CFLAGS
="-fexcess-precision=standard"
14304 saved_CFLAGS
=$CFLAGS
14305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14306 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14307 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
14308 $as_echo_n "(cached) " >&6
14310 ac_wine_try_cflags_saved
=$CFLAGS
14311 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14313 /* end confdefs.h. */
14314 int main(int argc, char **argv) { return 0; }
14316 if ac_fn_c_try_link
"$LINENO"; then :
14317 ac_cv_cflags__Werror_unknown_warning_option
=yes
14319 ac_cv_cflags__Werror_unknown_warning_option
=no
14321 rm -f core conftest.err conftest.
$ac_objext \
14322 conftest
$ac_exeext conftest.
$ac_ext
14323 CFLAGS
=$ac_wine_try_cflags_saved
14325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14326 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14327 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
14328 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14331 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14332 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
14333 $as_echo_n "(cached) " >&6
14335 ac_wine_try_cflags_saved
=$CFLAGS
14336 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
14337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14338 /* end confdefs.h. */
14339 int main(int argc, char **argv) { return 0; }
14341 if ac_fn_c_try_link
"$LINENO"; then :
14342 ac_cv_cflags__Wdeclaration_after_statement
=yes
14344 ac_cv_cflags__Wdeclaration_after_statement
=no
14346 rm -f core conftest.err conftest.
$ac_objext \
14347 conftest
$ac_exeext conftest.
$ac_ext
14348 CFLAGS
=$ac_wine_try_cflags_saved
14350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14351 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14352 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
14353 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14356 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14357 if ${ac_cv_cflags__Wempty_body+:} false
; then :
14358 $as_echo_n "(cached) " >&6
14360 ac_wine_try_cflags_saved
=$CFLAGS
14361 CFLAGS
="$CFLAGS -Wempty-body"
14362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14363 /* end confdefs.h. */
14364 int main(int argc, char **argv) { return 0; }
14366 if ac_fn_c_try_link
"$LINENO"; then :
14367 ac_cv_cflags__Wempty_body
=yes
14369 ac_cv_cflags__Wempty_body
=no
14371 rm -f core conftest.err conftest.
$ac_objext \
14372 conftest
$ac_exeext conftest.
$ac_ext
14373 CFLAGS
=$ac_wine_try_cflags_saved
14375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14376 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14377 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
14378 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
14380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14381 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14382 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
14383 $as_echo_n "(cached) " >&6
14385 ac_wine_try_cflags_saved
=$CFLAGS
14386 CFLAGS
="$CFLAGS -Wignored-qualifiers"
14387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14388 /* end confdefs.h. */
14389 int main(int argc, char **argv) { return 0; }
14391 if ac_fn_c_try_link
"$LINENO"; then :
14392 ac_cv_cflags__Wignored_qualifiers
=yes
14394 ac_cv_cflags__Wignored_qualifiers
=no
14396 rm -f core conftest.err conftest.
$ac_objext \
14397 conftest
$ac_exeext conftest.
$ac_ext
14398 CFLAGS
=$ac_wine_try_cflags_saved
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14401 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14402 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
14403 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14406 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14407 if ${ac_cv_cflags__Wshift_overflow_2+:} false
; then :
14408 $as_echo_n "(cached) " >&6
14410 ac_wine_try_cflags_saved
=$CFLAGS
14411 CFLAGS
="$CFLAGS -Wshift-overflow=2"
14412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14413 /* end confdefs.h. */
14414 int main(int argc, char **argv) { return 0; }
14416 if ac_fn_c_try_link
"$LINENO"; then :
14417 ac_cv_cflags__Wshift_overflow_2
=yes
14419 ac_cv_cflags__Wshift_overflow_2
=no
14421 rm -f core conftest.err conftest.
$ac_objext \
14422 conftest
$ac_exeext conftest.
$ac_ext
14423 CFLAGS
=$ac_wine_try_cflags_saved
14425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14426 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14427 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
; then :
14428 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
14430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14431 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14432 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
14433 $as_echo_n "(cached) " >&6
14435 ac_wine_try_cflags_saved
=$CFLAGS
14436 CFLAGS
="$CFLAGS -Wstrict-prototypes"
14437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14438 /* end confdefs.h. */
14439 int main(int argc, char **argv) { return 0; }
14441 if ac_fn_c_try_link
"$LINENO"; then :
14442 ac_cv_cflags__Wstrict_prototypes
=yes
14444 ac_cv_cflags__Wstrict_prototypes
=no
14446 rm -f core conftest.err conftest.
$ac_objext \
14447 conftest
$ac_exeext conftest.
$ac_ext
14448 CFLAGS
=$ac_wine_try_cflags_saved
14450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14451 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14452 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
14453 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
14455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14456 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14457 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
14458 $as_echo_n "(cached) " >&6
14460 ac_wine_try_cflags_saved
=$CFLAGS
14461 CFLAGS
="$CFLAGS -Wtype-limits"
14462 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14463 /* end confdefs.h. */
14464 int main(int argc, char **argv) { return 0; }
14466 if ac_fn_c_try_link
"$LINENO"; then :
14467 ac_cv_cflags__Wtype_limits
=yes
14469 ac_cv_cflags__Wtype_limits
=no
14471 rm -f core conftest.err conftest.
$ac_objext \
14472 conftest
$ac_exeext conftest.
$ac_ext
14473 CFLAGS
=$ac_wine_try_cflags_saved
14475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14476 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14477 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
14478 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
14480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14481 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14482 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
14483 $as_echo_n "(cached) " >&6
14485 ac_wine_try_cflags_saved
=$CFLAGS
14486 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
14487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14488 /* end confdefs.h. */
14489 int main(int argc, char **argv) { return 0; }
14491 if ac_fn_c_try_link
"$LINENO"; then :
14492 ac_cv_cflags__Wunused_but_set_parameter
=yes
14494 ac_cv_cflags__Wunused_but_set_parameter
=no
14496 rm -f core conftest.err conftest.
$ac_objext \
14497 conftest
$ac_exeext conftest.
$ac_ext
14498 CFLAGS
=$ac_wine_try_cflags_saved
14500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14501 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14502 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
14503 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
14505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14506 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14507 if ${ac_cv_cflags__Wvla+:} false
; then :
14508 $as_echo_n "(cached) " >&6
14510 ac_wine_try_cflags_saved
=$CFLAGS
14511 CFLAGS
="$CFLAGS -Wvla"
14512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14513 /* end confdefs.h. */
14514 int main(int argc, char **argv) { return 0; }
14516 if ac_fn_c_try_link
"$LINENO"; then :
14517 ac_cv_cflags__Wvla
=yes
14519 ac_cv_cflags__Wvla
=no
14521 rm -f core conftest.err conftest.
$ac_objext \
14522 conftest
$ac_exeext conftest.
$ac_ext
14523 CFLAGS
=$ac_wine_try_cflags_saved
14525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14526 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14527 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
14528 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
14530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14531 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14532 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
14533 $as_echo_n "(cached) " >&6
14535 ac_wine_try_cflags_saved
=$CFLAGS
14536 CFLAGS
="$CFLAGS -Wwrite-strings"
14537 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14538 /* end confdefs.h. */
14539 int main(int argc, char **argv) { return 0; }
14541 if ac_fn_c_try_link
"$LINENO"; then :
14542 ac_cv_cflags__Wwrite_strings
=yes
14544 ac_cv_cflags__Wwrite_strings
=no
14546 rm -f core conftest.err conftest.
$ac_objext \
14547 conftest
$ac_exeext conftest.
$ac_ext
14548 CFLAGS
=$ac_wine_try_cflags_saved
14550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14551 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14552 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
14553 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
14556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14557 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14558 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
14559 $as_echo_n "(cached) " >&6
14561 ac_wine_try_cflags_saved
=$CFLAGS
14562 CFLAGS
="$CFLAGS -Wpointer-arith"
14563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14564 /* end confdefs.h. */
14565 int main(int argc, char **argv) { return 0; }
14567 if ac_fn_c_try_link
"$LINENO"; then :
14568 ac_cv_cflags__Wpointer_arith
=yes
14570 ac_cv_cflags__Wpointer_arith
=no
14572 rm -f core conftest.err conftest.
$ac_objext \
14573 conftest
$ac_exeext conftest.
$ac_ext
14574 CFLAGS
=$ac_wine_try_cflags_saved
14576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14577 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14578 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
14579 saved_string_h_CFLAGS
=$CFLAGS
14580 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14582 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14583 if ${ac_cv_c_string_h_warnings+:} false
; then :
14584 $as_echo_n "(cached) " >&6
14586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14587 /* end confdefs.h. */
14588 #include <string.h>
14597 if ac_fn_c_try_compile
"$LINENO"; then :
14598 ac_cv_c_string_h_warnings
=no
14600 ac_cv_c_string_h_warnings
=yes
14602 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14605 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14606 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
14607 CFLAGS
=$saved_string_h_CFLAGS
14610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14611 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14612 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
14613 $as_echo_n "(cached) " >&6
14615 ac_wine_try_cflags_saved
=$CFLAGS
14616 CFLAGS
="$CFLAGS -Wlogical-op"
14617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14618 /* end confdefs.h. */
14619 int main(int argc, char **argv) { return 0; }
14621 if ac_fn_c_try_link
"$LINENO"; then :
14622 ac_cv_cflags__Wlogical_op
=yes
14624 ac_cv_cflags__Wlogical_op
=no
14626 rm -f core conftest.err conftest.
$ac_objext \
14627 conftest
$ac_exeext conftest.
$ac_ext
14628 CFLAGS
=$ac_wine_try_cflags_saved
14630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14631 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14632 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
14633 saved_string_h_CFLAGS
=$CFLAGS
14634 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14636 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14637 if ${ac_cv_c_logicalop_noisy+:} false
; then :
14638 $as_echo_n "(cached) " >&6
14640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14641 /* end confdefs.h. */
14642 #include <string.h>
14643 char*f(const char *h,char n) {return strchr(h,n);}
14652 if ac_fn_c_try_compile
"$LINENO"; then :
14653 ac_cv_c_logicalop_noisy
=no
14655 ac_cv_c_logicalop_noisy
=yes
14657 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14660 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14661 CFLAGS
=$saved_string_h_CFLAGS
14662 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
14665 CFLAGS
=$saved_CFLAGS
14667 for ac_flag
in $CFLAGS; do
14669 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14670 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14671 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14672 $as_echo_n "(cached) " >&6
14674 ac_wine_try_cflags_saved
=$CFLAGS
14675 CFLAGS
="$CFLAGS -gdwarf-2"
14676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14677 /* end confdefs.h. */
14678 int main(int argc, char **argv) { return 0; }
14680 if ac_fn_c_try_link
"$LINENO"; then :
14681 ac_cv_cflags__gdwarf_2
=yes
14683 ac_cv_cflags__gdwarf_2
=no
14685 rm -f core conftest.err conftest.
$ac_objext \
14686 conftest
$ac_exeext conftest.
$ac_ext
14687 CFLAGS
=$ac_wine_try_cflags_saved
14689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14690 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14691 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14692 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14695 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14696 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14697 $as_echo_n "(cached) " >&6
14699 ac_wine_try_cflags_saved
=$CFLAGS
14700 CFLAGS
="$CFLAGS -gstrict-dwarf"
14701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14702 /* end confdefs.h. */
14703 int main(int argc, char **argv) { return 0; }
14705 if ac_fn_c_try_link
"$LINENO"; then :
14706 ac_cv_cflags__gstrict_dwarf
=yes
14708 ac_cv_cflags__gstrict_dwarf
=no
14710 rm -f core conftest.err conftest.
$ac_objext \
14711 conftest
$ac_exeext conftest.
$ac_ext
14712 CFLAGS
=$ac_wine_try_cflags_saved
14714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14715 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14716 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14717 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14723 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14724 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14725 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14726 $as_echo_n "(cached) " >&6
14728 ac_wine_try_cflags_saved
=$CFLAGS
14729 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14731 /* end confdefs.h. */
14732 int main(int argc, char **argv) { return 0; }
14734 if ac_fn_c_try_link
"$LINENO"; then :
14735 ac_cv_cflags__fno_omit_frame_pointer
=yes
14737 ac_cv_cflags__fno_omit_frame_pointer
=no
14739 rm -f core conftest.err conftest.
$ac_objext \
14740 conftest
$ac_exeext conftest.
$ac_ext
14741 CFLAGS
=$ac_wine_try_cflags_saved
14743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14744 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14745 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14746 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14751 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14752 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14753 if ${ac_cv_cflags__Wno_format+:} false
; then :
14754 $as_echo_n "(cached) " >&6
14756 ac_wine_try_cflags_saved
=$CFLAGS
14757 CFLAGS
="$CFLAGS -Wno-format"
14758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14759 /* end confdefs.h. */
14760 int main(int argc, char **argv) { return 0; }
14762 if ac_fn_c_try_link
"$LINENO"; then :
14763 ac_cv_cflags__Wno_format
=yes
14765 ac_cv_cflags__Wno_format
=no
14767 rm -f core conftest.err conftest.
$ac_objext \
14768 conftest
$ac_exeext conftest.
$ac_ext
14769 CFLAGS
=$ac_wine_try_cflags_saved
14771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14772 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14773 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14774 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14778 if test "x$enable_maintainer_mode" = "xyes"
14780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14781 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14782 if ${ac_cv_cflags__Werror+:} false
; then :
14783 $as_echo_n "(cached) " >&6
14785 ac_wine_try_cflags_saved
=$CFLAGS
14786 CFLAGS
="$CFLAGS -Werror"
14787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14788 /* end confdefs.h. */
14789 int main(int argc, char **argv) { return 0; }
14791 if ac_fn_c_try_link
"$LINENO"; then :
14792 ac_cv_cflags__Werror
=yes
14794 ac_cv_cflags__Werror
=no
14796 rm -f core conftest.err conftest.
$ac_objext \
14797 conftest
$ac_exeext conftest.
$ac_ext
14798 CFLAGS
=$ac_wine_try_cflags_saved
14800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14801 $as_echo "$ac_cv_cflags__Werror" >&6; }
14802 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14803 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14807 saved_CFLAGS
="$CFLAGS"
14808 CFLAGS
="$CFLAGS -Werror"
14809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14810 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14811 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14812 $as_echo_n "(cached) " >&6
14814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14815 /* end confdefs.h. */
14816 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14825 if ac_fn_c_try_compile
"$LINENO"; then :
14826 ac_cv_have_ms_hook_prologue
="yes"
14828 ac_cv_have_ms_hook_prologue
="no"
14830 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14833 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14834 CFLAGS
="$saved_CFLAGS"
14835 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14838 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14841 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14848 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14849 if ${ac_cv_c_fortify_enabled+:} false
; then :
14850 $as_echo_n "(cached) " >&6
14852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14853 /* end confdefs.h. */
14854 #include <string.h>
14858 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14859 #error Fortify enabled
14865 if ac_fn_c_try_compile
"$LINENO"; then :
14866 ac_cv_c_fortify_enabled
=no
14868 ac_cv_c_fortify_enabled
=yes
14870 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14873 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14874 if test "$ac_cv_c_fortify_enabled" = yes
14876 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14881 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14882 if ${ac_cv_c_extern_prefix+:} false
; then :
14883 $as_echo_n "(cached) " >&6
14885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14886 /* end confdefs.h. */
14887 extern int ac_test;
14891 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14896 if ac_fn_c_try_link
"$LINENO"; then :
14897 ac_cv_c_extern_prefix
="yes"
14899 ac_cv_c_extern_prefix
="no"
14901 rm -f core conftest.err conftest.
$ac_objext \
14902 conftest
$ac_exeext conftest.
$ac_ext
14904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14905 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14910 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14911 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14912 $as_echo_n "(cached) " >&6
14914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14915 /* end confdefs.h. */
14917 #define __stdcall __attribute__((__stdcall__))
14919 int __stdcall ac_test(int i) { return i; }
14923 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14928 if ac_fn_c_try_link
"$LINENO"; then :
14929 ac_cv_c_stdcall_suffix
="yes"
14931 ac_cv_c_stdcall_suffix
="no"
14933 rm -f core conftest.err conftest.
$ac_objext \
14934 conftest
$ac_exeext conftest.
$ac_ext
14936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14937 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14938 *) ac_cv_c_stdcall_suffix
="no" ;;
14942 if test "$ac_cv_c_extern_prefix" = "yes"
14944 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14946 asm_name_prefix
="_"
14948 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14954 if test "$ac_cv_c_stdcall_suffix" = "yes"
14956 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14959 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14965 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14966 if ${ac_cv_asm_func_def+:} false
; then :
14967 $as_echo_n "(cached) " >&6
14969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14970 /* end confdefs.h. */
14975 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14980 if ac_fn_c_try_link
"$LINENO"; then :
14981 ac_cv_asm_func_def
=".def"
14983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14984 /* end confdefs.h. */
14989 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14994 if ac_fn_c_try_link
"$LINENO"; then :
14995 ac_cv_asm_func_def
=".type @function"
14997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14998 /* end confdefs.h. */
15003 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15008 if ac_fn_c_try_link
"$LINENO"; then :
15009 ac_cv_asm_func_def
=".type 2"
15011 ac_cv_asm_func_def
="unknown"
15013 rm -f core conftest.err conftest.
$ac_objext \
15014 conftest
$ac_exeext conftest.
$ac_ext
15016 rm -f core conftest.err conftest.
$ac_objext \
15017 conftest
$ac_exeext conftest.
$ac_ext
15019 rm -f core conftest.err conftest.
$ac_objext \
15020 conftest
$ac_exeext conftest.
$ac_ext
15022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15023 $as_echo "$ac_cv_asm_func_def" >&6; }
15026 case "$ac_cv_asm_func_def" in
15028 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15030 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15032 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15034 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
15036 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15038 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
15040 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15042 asm_func_header
="" ;;
15045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15046 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15047 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
15048 $as_echo_n "(cached) " >&6
15050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15051 /* end confdefs.h. */
15052 asm(".text\n\t.long 0");
15061 if ac_fn_c_try_compile
"$LINENO"; then :
15062 ac_cv_c_asm_outside_funcs
="yes"
15064 ac_cv_c_asm_outside_funcs
="no"
15066 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15069 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15072 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15073 if ${ac_cv_c_dot_previous+:} false
; then :
15074 $as_echo_n "(cached) " >&6
15076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15077 /* end confdefs.h. */
15082 asm(".text\nac_test:\t.long 0\n\t.previous");
15087 if ac_fn_c_try_link
"$LINENO"; then :
15088 ac_cv_c_dot_previous
="yes"
15090 ac_cv_c_dot_previous
="no"
15092 rm -f core conftest.err conftest.
$ac_objext \
15093 conftest
$ac_exeext conftest.
$ac_ext
15095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15096 $as_echo "$ac_cv_c_dot_previous" >&6; }
15098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15099 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15100 if ${ac_cv_c_cfi_support+:} false
; then :
15101 $as_echo_n "(cached) " >&6
15103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15104 /* end confdefs.h. */
15105 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15114 if ac_fn_c_try_compile
"$LINENO"; then :
15115 ac_cv_c_cfi_support
="yes"
15117 ac_cv_c_cfi_support
="no"
15119 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15122 $as_echo "$ac_cv_c_cfi_support" >&6; }
15124 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15125 asm_func_trailer
=""
15126 if test "$ac_cv_c_dot_previous" = "yes"
15128 asm_func_trailer
="\\n\\t.previous"
15130 if test "$ac_cv_c_cfi_support" = "yes"
15132 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
15133 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
15135 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15137 UNWINDFLAGS
=-fasynchronous-unwind-tables
15140 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15142 if test "x$enable_win64" = "xyes"
15144 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15148 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
15151 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15153 cat >>confdefs.h
<<_ACEOF
15154 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15158 cat >>confdefs.h
<<_ACEOF
15159 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15164 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15167 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15172 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
15180 *i
[3456789]86*|x86_64
*)
15181 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS
"loader/wine-preloader"
15182 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
15189 ac_save_CFLAGS
="$CFLAGS"
15190 CFLAGS
="$CFLAGS $BUILTINFLAG"
15270 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15271 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15272 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15273 cat >>confdefs.h
<<_ACEOF
15274 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15280 CFLAGS
="$ac_save_CFLAGS"
15282 if test "$ac_cv_func_dlopen" = no
15284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15285 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15286 if ${ac_cv_lib_dl_dlopen+:} false
; then :
15287 $as_echo_n "(cached) " >&6
15289 ac_check_lib_save_LIBS
=$LIBS
15291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15292 /* end confdefs.h. */
15294 /* Override any GCC internal prototype to avoid an error.
15295 Use char because int might match the return type of a GCC
15296 builtin and then its argument prototype would still apply. */
15309 if ac_fn_c_try_link
"$LINENO"; then :
15310 ac_cv_lib_dl_dlopen
=yes
15312 ac_cv_lib_dl_dlopen
=no
15314 rm -f core conftest.err conftest.
$ac_objext \
15315 conftest
$ac_exeext conftest.
$ac_ext
15316 LIBS
=$ac_check_lib_save_LIBS
15318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15319 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15320 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
15321 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15327 ac_wine_check_funcs_save_LIBS
="$LIBS"
15328 LIBS
="$LIBS $DL_LIBS"
15329 for ac_func
in dladdr
15331 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
15332 if test "x$ac_cv_func_dladdr" = xyes
; then :
15333 cat >>confdefs.h
<<_ACEOF
15334 #define HAVE_DLADDR 1
15340 LIBS
="$ac_wine_check_funcs_save_LIBS"
15342 if test "$ac_cv_func_poll" = no
15344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15345 $as_echo_n "checking for poll in -lpoll... " >&6; }
15346 if ${ac_cv_lib_poll_poll+:} false
; then :
15347 $as_echo_n "(cached) " >&6
15349 ac_check_lib_save_LIBS
=$LIBS
15350 LIBS
="-lpoll $LIBS"
15351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15352 /* end confdefs.h. */
15354 /* Override any GCC internal prototype to avoid an error.
15355 Use char because int might match the return type of a GCC
15356 builtin and then its argument prototype would still apply. */
15369 if ac_fn_c_try_link
"$LINENO"; then :
15370 ac_cv_lib_poll_poll
=yes
15372 ac_cv_lib_poll_poll
=no
15374 rm -f core conftest.err conftest.
$ac_objext \
15375 conftest
$ac_exeext conftest.
$ac_ext
15376 LIBS
=$ac_check_lib_save_LIBS
15378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15379 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15380 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
15381 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15389 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15390 if ${ac_cv_search_gethostbyname+:} false
; then :
15391 $as_echo_n "(cached) " >&6
15393 ac_func_search_save_LIBS
=$LIBS
15394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15395 /* end confdefs.h. */
15397 /* Override any GCC internal prototype to avoid an error.
15398 Use char because int might match the return type of a GCC
15399 builtin and then its argument prototype would still apply. */
15403 char gethostbyname ();
15407 return gethostbyname ();
15412 for ac_lib
in '' nsl
; do
15413 if test -z "$ac_lib"; then
15414 ac_res
="none required"
15417 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15419 if ac_fn_c_try_link
"$LINENO"; then :
15420 ac_cv_search_gethostbyname
=$ac_res
15422 rm -f core conftest.err conftest.
$ac_objext \
15424 if ${ac_cv_search_gethostbyname+:} false
; then :
15428 if ${ac_cv_search_gethostbyname+:} false
; then :
15431 ac_cv_search_gethostbyname
=no
15433 rm conftest.
$ac_ext
15434 LIBS
=$ac_func_search_save_LIBS
15436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15437 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15438 ac_res
=$ac_cv_search_gethostbyname
15439 if test "$ac_res" != no
; then :
15440 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15446 $as_echo_n "checking for library containing connect... " >&6; }
15447 if ${ac_cv_search_connect+:} false
; then :
15448 $as_echo_n "(cached) " >&6
15450 ac_func_search_save_LIBS
=$LIBS
15451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15452 /* end confdefs.h. */
15454 /* Override any GCC internal prototype to avoid an error.
15455 Use char because int might match the return type of a GCC
15456 builtin and then its argument prototype would still apply. */
15469 for ac_lib
in '' socket
; do
15470 if test -z "$ac_lib"; then
15471 ac_res
="none required"
15474 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15476 if ac_fn_c_try_link
"$LINENO"; then :
15477 ac_cv_search_connect
=$ac_res
15479 rm -f core conftest.err conftest.
$ac_objext \
15481 if ${ac_cv_search_connect+:} false
; then :
15485 if ${ac_cv_search_connect+:} false
; then :
15488 ac_cv_search_connect
=no
15490 rm conftest.
$ac_ext
15491 LIBS
=$ac_func_search_save_LIBS
15493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15494 $as_echo "$ac_cv_search_connect" >&6; }
15495 ac_res
=$ac_cv_search_connect
15496 if test "$ac_res" != no
; then :
15497 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15503 $as_echo_n "checking for library containing inet_aton... " >&6; }
15504 if ${ac_cv_search_inet_aton+:} false
; then :
15505 $as_echo_n "(cached) " >&6
15507 ac_func_search_save_LIBS
=$LIBS
15508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15509 /* end confdefs.h. */
15511 /* Override any GCC internal prototype to avoid an error.
15512 Use char because int might match the return type of a GCC
15513 builtin and then its argument prototype would still apply. */
15521 return inet_aton ();
15526 for ac_lib
in '' resolv
; do
15527 if test -z "$ac_lib"; then
15528 ac_res
="none required"
15531 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15533 if ac_fn_c_try_link
"$LINENO"; then :
15534 ac_cv_search_inet_aton
=$ac_res
15536 rm -f core conftest.err conftest.
$ac_objext \
15538 if ${ac_cv_search_inet_aton+:} false
; then :
15542 if ${ac_cv_search_inet_aton+:} false
; then :
15545 ac_cv_search_inet_aton
=no
15547 rm conftest.
$ac_ext
15548 LIBS
=$ac_func_search_save_LIBS
15550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15551 $as_echo "$ac_cv_search_inet_aton" >&6; }
15552 ac_res
=$ac_cv_search_inet_aton
15553 if test "$ac_res" != no
; then :
15554 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15574 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15575 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15576 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15577 cat >>confdefs.h
<<_ACEOF
15578 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15587 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15588 if ${ac_cv_search_clock_gettime+:} false
; then :
15589 $as_echo_n "(cached) " >&6
15591 ac_func_search_save_LIBS
=$LIBS
15592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15593 /* end confdefs.h. */
15595 /* Override any GCC internal prototype to avoid an error.
15596 Use char because int might match the return type of a GCC
15597 builtin and then its argument prototype would still apply. */
15601 char clock_gettime ();
15605 return clock_gettime ();
15610 for ac_lib
in '' rt
; do
15611 if test -z "$ac_lib"; then
15612 ac_res
="none required"
15615 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15617 if ac_fn_c_try_link
"$LINENO"; then :
15618 ac_cv_search_clock_gettime
=$ac_res
15620 rm -f core conftest.err conftest.
$ac_objext \
15622 if ${ac_cv_search_clock_gettime+:} false
; then :
15626 if ${ac_cv_search_clock_gettime+:} false
; then :
15629 ac_cv_search_clock_gettime
=no
15631 rm conftest.
$ac_ext
15632 LIBS
=$ac_func_search_save_LIBS
15634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15635 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15636 ac_res
=$ac_cv_search_clock_gettime
15637 if test "$ac_res" != no
; then :
15638 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15640 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15642 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
15650 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15652 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15654 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15656 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15657 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15658 $as_echo_n "(cached) " >&6
15660 ac_check_lib_save_LIBS
=$LIBS
15661 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15663 /* end confdefs.h. */
15665 /* Override any GCC internal prototype to avoid an error.
15666 Use char because int might match the return type of a GCC
15667 builtin and then its argument prototype would still apply. */
15671 char ldap_initialize ();
15675 return ldap_initialize ();
15680 if ac_fn_c_try_link
"$LINENO"; then :
15681 ac_cv_lib_ldap_r_ldap_initialize
=yes
15683 ac_cv_lib_ldap_r_ldap_initialize
=no
15685 rm -f core conftest.err conftest.
$ac_objext \
15686 conftest
$ac_exeext conftest.
$ac_ext
15687 LIBS
=$ac_check_lib_save_LIBS
15689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15690 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15691 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15693 $as_echo_n "checking for ber_init in -llber... " >&6; }
15694 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15695 $as_echo_n "(cached) " >&6
15697 ac_check_lib_save_LIBS
=$LIBS
15698 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15700 /* end confdefs.h. */
15702 /* Override any GCC internal prototype to avoid an error.
15703 Use char because int might match the return type of a GCC
15704 builtin and then its argument prototype would still apply. */
15712 return ber_init ();
15717 if ac_fn_c_try_link
"$LINENO"; then :
15718 ac_cv_lib_lber_ber_init
=yes
15720 ac_cv_lib_lber_ber_init
=no
15722 rm -f core conftest.err conftest.
$ac_objext \
15723 conftest
$ac_exeext conftest.
$ac_ext
15724 LIBS
=$ac_check_lib_save_LIBS
15726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15727 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15728 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15730 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15732 LDAP_LIBS
="-lldap_r -llber"
15739 ac_wine_check_funcs_save_LIBS
="$LIBS"
15740 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15742 ldap_count_references \
15743 ldap_first_reference \
15744 ldap_next_reference \
15745 ldap_parse_reference \
15746 ldap_parse_sort_control \
15747 ldap_parse_sortresponse_control \
15748 ldap_parse_vlv_control \
15749 ldap_parse_vlvresponse_control
15751 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15752 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15753 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15754 cat >>confdefs.h
<<_ACEOF
15755 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15761 LIBS
="$ac_wine_check_funcs_save_LIBS"
15763 if test "x$LDAP_LIBS" = "x"; then :
15764 case "x$with_ldap" in
15765 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15767 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15768 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15774 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15775 if ${wine_cv_one_arg_mkdir+:} false
; then :
15776 $as_echo_n "(cached) " >&6
15778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15779 /* end confdefs.h. */
15780 #include <sys/stat.h>
15789 if ac_fn_c_try_compile
"$LINENO"; then :
15790 wine_cv_one_arg_mkdir
=yes
15792 wine_cv_one_arg_mkdir
=no
15794 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15797 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15798 if test "$wine_cv_one_arg_mkdir" = "yes"
15801 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15806 $as_echo_n "checking for sched_setaffinity... " >&6; }
15807 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15808 $as_echo_n "(cached) " >&6
15810 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15811 /* end confdefs.h. */
15812 #define _GNU_SOURCE
15817 sched_setaffinity(0, 0, 0);
15822 if ac_fn_c_try_link
"$LINENO"; then :
15823 wine_cv_have_sched_setaffinity
=yes
15825 wine_cv_have_sched_setaffinity
=no
15827 rm -f core conftest.err conftest.
$ac_objext \
15828 conftest
$ac_exeext conftest.
$ac_ext
15830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15831 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15832 if test "$wine_cv_have_sched_setaffinity" = "yes"
15835 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15840 $as_echo_n "checking for fallocate... " >&6; }
15841 if ${wine_cv_have_fallocate+:} false
; then :
15842 $as_echo_n "(cached) " >&6
15844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15845 /* end confdefs.h. */
15846 #define _GNU_SOURCE
15851 fallocate(-1, 0, 0, 0);
15856 if ac_fn_c_try_link
"$LINENO"; then :
15857 wine_cv_have_fallocate
=yes
15859 wine_cv_have_fallocate
=no
15861 rm -f core conftest.err conftest.
$ac_objext \
15862 conftest
$ac_exeext conftest.
$ac_ext
15864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15865 $as_echo "$wine_cv_have_fallocate" >&6; }
15866 if test "$wine_cv_have_fallocate" = "yes"
15869 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15875 $as_echo_n "checking for inline... " >&6; }
15876 if ${ac_cv_c_inline+:} false
; then :
15877 $as_echo_n "(cached) " >&6
15880 for ac_kw
in inline __inline__ __inline
; do
15881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15882 /* end confdefs.h. */
15883 #ifndef __cplusplus
15885 static $ac_kw foo_t static_foo () {return 0; }
15886 $ac_kw foo_t foo () {return 0; }
15890 if ac_fn_c_try_compile
"$LINENO"; then :
15891 ac_cv_c_inline
=$ac_kw
15893 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15894 test "$ac_cv_c_inline" != no
&& break
15898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15899 $as_echo "$ac_cv_c_inline" >&6; }
15901 case $ac_cv_c_inline in
15904 case $ac_cv_c_inline in
15906 *) ac_val
=$ac_cv_c_inline;;
15908 cat >>confdefs.h
<<_ACEOF
15909 #ifndef __cplusplus
15910 #define inline $ac_val
15916 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15917 if test "x$ac_cv_type_mode_t" = xyes
; then :
15919 cat >>confdefs.h
<<_ACEOF
15920 #define HAVE_MODE_T 1
15925 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15926 if test "x$ac_cv_type_off_t" = xyes
; then :
15928 cat >>confdefs.h
<<_ACEOF
15929 #define HAVE_OFF_T 1
15934 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15935 if test "x$ac_cv_type_pid_t" = xyes
; then :
15937 cat >>confdefs.h
<<_ACEOF
15938 #define HAVE_PID_T 1
15943 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15944 if test "x$ac_cv_type_size_t" = xyes
; then :
15946 cat >>confdefs.h
<<_ACEOF
15947 #define HAVE_SIZE_T 1
15952 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15953 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15955 cat >>confdefs.h
<<_ACEOF
15956 #define HAVE_SSIZE_T 1
15961 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15962 if test "x$ac_cv_type_long_long" = xyes
; then :
15964 cat >>confdefs.h
<<_ACEOF
15965 #define HAVE_LONG_LONG 1
15970 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15971 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15973 cat >>confdefs.h
<<_ACEOF
15974 #define HAVE_FSBLKCNT_T 1
15979 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15980 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15982 cat >>confdefs.h
<<_ACEOF
15983 #define HAVE_FSFILCNT_T 1
15989 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15990 #include <signal.h>
15992 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15994 cat >>confdefs.h
<<_ACEOF
15995 #define HAVE_SIGSET_T 1
16001 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16003 if test "x$ac_cv_type_request_sense" = xyes
; then :
16005 cat >>confdefs.h
<<_ACEOF
16006 #define HAVE_REQUEST_SENSE 1
16013 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16014 #ifdef HAVE_SYS_SOCKET_H
16015 #include <sys/socket.h>
16017 #ifdef HAVE_SYS_SOCKETVAR_H
16018 #include <sys/socketvar.h>
16020 #ifdef HAVE_NET_ROUTE_H
16021 #include <net/route.h>
16023 #ifdef HAVE_NETINET_IN_H
16024 #include <netinet/in.h>
16026 #ifdef HAVE_NETINET_IN_SYSTM_H
16027 #include <netinet/in_systm.h>
16029 #ifdef HAVE_NETINET_IP_H
16030 #include <netinet/ip.h>
16032 #ifdef HAVE_NETINET_IN_PCB_H
16033 #include <netinet/in_pcb.h>
16036 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
16038 cat >>confdefs.h
<<_ACEOF
16039 #define HAVE_STRUCT_XINPGEN 1
16046 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16049 #ifdef HAVE_SYS_LINK_H
16050 #include <sys/link.h>
16053 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
16055 cat >>confdefs.h
<<_ACEOF
16056 #define HAVE_STRUCT_R_DEBUG 1
16061 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16064 #ifdef HAVE_SYS_LINK_H
16065 #include <sys/link.h>
16068 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
16070 cat >>confdefs.h
<<_ACEOF
16071 #define HAVE_STRUCT_LINK_MAP 1
16078 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16079 #include <linux/input.h>
16082 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
16084 cat >>confdefs.h
<<_ACEOF
16085 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16093 $as_echo_n "checking for sigaddset... " >&6; }
16094 if ${wine_cv_have_sigaddset+:} false
; then :
16095 $as_echo_n "(cached) " >&6
16097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16098 /* end confdefs.h. */
16099 #include <signal.h>
16103 sigset_t set; sigaddset(&set,SIGTERM);
16108 if ac_fn_c_try_link
"$LINENO"; then :
16109 wine_cv_have_sigaddset
=yes
16111 wine_cv_have_sigaddset
=no
16113 rm -f core conftest.err conftest.
$ac_objext \
16114 conftest
$ac_exeext conftest.
$ac_ext
16116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16117 $as_echo "$wine_cv_have_sigaddset" >&6; }
16118 if test "$wine_cv_have_sigaddset" = "yes"
16121 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16127 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16128 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
16129 $as_echo_n "(cached) " >&6
16131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16132 /* end confdefs.h. */
16140 struct hostent *result;
16147 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16148 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16154 if ac_fn_c_try_link
"$LINENO"; then :
16155 wine_cv_linux_gethostbyname_r_6
=yes
16157 wine_cv_linux_gethostbyname_r_6
=no
16160 rm -f core conftest.err conftest.
$ac_objext \
16161 conftest
$ac_exeext conftest.
$ac_ext
16164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16165 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16166 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16169 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16173 if test "$ac_cv_header_linux_joystick_h" = "yes"
16175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16176 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16177 if ${wine_cv_linux_joystick_22_api+:} false
; then :
16178 $as_echo_n "(cached) " >&6
16180 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16181 /* end confdefs.h. */
16183 #include <sys/ioctl.h>
16184 #include <sys/types.h>
16185 #include <linux/joystick.h>
16187 struct js_event blub;
16188 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16189 #error "no 2.2 header"
16200 if ac_fn_c_try_compile
"$LINENO"; then :
16201 wine_cv_linux_joystick_22_api
=yes
16203 wine_cv_linux_joystick_22_api
=no
16205 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16209 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16210 if test "$wine_cv_linux_joystick_22_api" = "yes"
16213 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16219 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16220 #ifdef HAVE_SYS_PARAM_H
16221 # include <sys/param.h>
16223 #ifdef HAVE_SYS_MOUNT_H
16224 # include <sys/mount.h>
16226 #ifdef HAVE_SYS_VFS_H
16227 # include <sys/vfs.h>
16229 #ifdef HAVE_SYS_STATFS_H
16230 # include <sys/statfs.h>
16233 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
16235 cat >>confdefs.h
<<_ACEOF
16236 #define HAVE_STRUCT_STATFS_F_BFREE 1
16241 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16242 #ifdef HAVE_SYS_PARAM_H
16243 # include <sys/param.h>
16245 #ifdef HAVE_SYS_MOUNT_H
16246 # include <sys/mount.h>
16248 #ifdef HAVE_SYS_VFS_H
16249 # include <sys/vfs.h>
16251 #ifdef HAVE_SYS_STATFS_H
16252 # include <sys/statfs.h>
16255 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
16257 cat >>confdefs.h
<<_ACEOF
16258 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16263 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16264 #ifdef HAVE_SYS_PARAM_H
16265 # include <sys/param.h>
16267 #ifdef HAVE_SYS_MOUNT_H
16268 # include <sys/mount.h>
16270 #ifdef HAVE_SYS_VFS_H
16271 # include <sys/vfs.h>
16273 #ifdef HAVE_SYS_STATFS_H
16274 # include <sys/statfs.h>
16277 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
16279 cat >>confdefs.h
<<_ACEOF
16280 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16285 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16286 #ifdef HAVE_SYS_PARAM_H
16287 # include <sys/param.h>
16289 #ifdef HAVE_SYS_MOUNT_H
16290 # include <sys/mount.h>
16292 #ifdef HAVE_SYS_VFS_H
16293 # include <sys/vfs.h>
16295 #ifdef HAVE_SYS_STATFS_H
16296 # include <sys/statfs.h>
16299 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
16301 cat >>confdefs.h
<<_ACEOF
16302 #define HAVE_STRUCT_STATFS_F_FFREE 1
16307 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16308 #ifdef HAVE_SYS_PARAM_H
16309 # include <sys/param.h>
16311 #ifdef HAVE_SYS_MOUNT_H
16312 # include <sys/mount.h>
16314 #ifdef HAVE_SYS_VFS_H
16315 # include <sys/vfs.h>
16317 #ifdef HAVE_SYS_STATFS_H
16318 # include <sys/statfs.h>
16321 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
16323 cat >>confdefs.h
<<_ACEOF
16324 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16329 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16330 #ifdef HAVE_SYS_PARAM_H
16331 # include <sys/param.h>
16333 #ifdef HAVE_SYS_MOUNT_H
16334 # include <sys/mount.h>
16336 #ifdef HAVE_SYS_VFS_H
16337 # include <sys/vfs.h>
16339 #ifdef HAVE_SYS_STATFS_H
16340 # include <sys/statfs.h>
16343 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
16345 cat >>confdefs.h
<<_ACEOF
16346 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16353 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16354 #include <sys/statvfs.h>
16357 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
16359 cat >>confdefs.h
<<_ACEOF
16360 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16367 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16368 #include <dirent.h>
16371 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
16373 cat >>confdefs.h
<<_ACEOF
16374 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16381 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16382 #ifdef HAVE_SYS_SOCKET_H
16383 # include <sys/socket.h>
16385 #ifdef HAVE_SYS_UN_H
16386 # include <sys/un.h>
16389 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
16391 cat >>confdefs.h
<<_ACEOF
16392 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16397 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16398 #ifdef HAVE_SYS_SOCKET_H
16399 # include <sys/socket.h>
16401 #ifdef HAVE_SYS_UN_H
16402 # include <sys/un.h>
16405 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
16407 cat >>confdefs.h
<<_ACEOF
16408 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16413 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16414 #ifdef HAVE_SYS_SOCKET_H
16415 # include <sys/socket.h>
16417 #ifdef HAVE_SYS_UN_H
16418 # include <sys/un.h>
16421 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
16423 cat >>confdefs.h
<<_ACEOF
16424 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16431 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16432 #ifdef HAVE_SCSI_SG_H
16433 #include <scsi/sg.h>
16436 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
16438 cat >>confdefs.h
<<_ACEOF
16439 #define HAVE_SCSIREQ_T_CMD 1
16444 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>
16445 #ifdef HAVE_SCSI_SG_H
16446 #include <scsi/sg.h>
16449 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
16451 cat >>confdefs.h
<<_ACEOF
16452 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16459 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16461 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
16463 cat >>confdefs.h
<<_ACEOF
16464 #define HAVE_SIGINFO_T_SI_FD 1
16471 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16472 #ifdef HAVE_SYS_MTIO_H
16473 #include <sys/mtio.h>
16476 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
16478 cat >>confdefs.h
<<_ACEOF
16479 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16484 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16485 #ifdef HAVE_SYS_MTIO_H
16486 #include <sys/mtio.h>
16489 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
16491 cat >>confdefs.h
<<_ACEOF
16492 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16497 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16498 #ifdef HAVE_SYS_MTIO_H
16499 #include <sys/mtio.h>
16502 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
16504 cat >>confdefs.h
<<_ACEOF
16505 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16512 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16513 #include <getopt.h>
16516 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
16518 cat >>confdefs.h
<<_ACEOF
16519 #define HAVE_STRUCT_OPTION_NAME 1
16526 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16527 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
16529 cat >>confdefs.h
<<_ACEOF
16530 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16535 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16536 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
16538 cat >>confdefs.h
<<_ACEOF
16539 #define HAVE_STRUCT_STAT_ST_MTIM 1
16544 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16545 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
16547 cat >>confdefs.h
<<_ACEOF
16548 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16553 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16554 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
16556 cat >>confdefs.h
<<_ACEOF
16557 #define HAVE_STRUCT_STAT_ST_CTIM 1
16562 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16563 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
16565 cat >>confdefs.h
<<_ACEOF
16566 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16571 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16572 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
16574 cat >>confdefs.h
<<_ACEOF
16575 #define HAVE_STRUCT_STAT_ST_ATIM 1
16580 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16581 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
16583 cat >>confdefs.h
<<_ACEOF
16584 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16589 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16590 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
16592 cat >>confdefs.h
<<_ACEOF
16593 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16598 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16599 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
16601 cat >>confdefs.h
<<_ACEOF
16602 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16607 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16608 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
16610 cat >>confdefs.h
<<_ACEOF
16611 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16616 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16617 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
16619 cat >>confdefs.h
<<_ACEOF
16620 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16625 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16626 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
16628 cat >>confdefs.h
<<_ACEOF
16629 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16636 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
16637 #include <sys/types.h>
16639 #ifdef HAVE_NETINET_IN_H
16640 #include <netinet/in.h>
16643 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
16645 cat >>confdefs.h
<<_ACEOF
16646 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16653 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16654 #include <resolv.h>
16657 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
16659 cat >>confdefs.h
<<_ACEOF
16660 #define HAVE_STRUCT___RES_STATE 1
16667 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
16668 #include <resolv.h>
16671 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16673 cat >>confdefs.h
<<_ACEOF
16674 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16681 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16682 #include <sys/types.h>
16684 #ifdef HAVE_NETINET_IN_H
16685 # include <netinet/in.h>
16687 #ifdef HAVE_ARPA_NAMESER_H
16688 # include <arpa/nameser.h>
16691 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16693 cat >>confdefs.h
<<_ACEOF
16694 #define HAVE_NS_MSG__MSG_PTR 1
16701 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16702 #include <sys/types.h>
16704 #ifdef HAVE_NETINET_IP_H
16705 #include <netinet/ip.h>
16707 #ifdef HAVE_NETINET_IP_ICMP_H
16708 #include <netinet/ip_icmp.h>
16710 #ifdef HAVE_NETINET_ICMP_VAR_H
16711 #include <netinet/icmp_var.h>
16714 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16716 cat >>confdefs.h
<<_ACEOF
16717 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16724 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16725 #include <sys/types.h>
16727 #ifdef HAVE_ALIAS_H
16730 #ifdef HAVE_SYS_SOCKET_H
16731 #include <sys/socket.h>
16733 #ifdef HAVE_SYS_SOCKETVAR_H
16734 #include <sys/socketvar.h>
16736 #ifdef HAVE_SYS_TIMEOUT_H
16737 #include <sys/timeout.h>
16739 #ifdef HAVE_NETINET_IN_H
16740 #include <netinet/in.h>
16742 #ifdef HAVE_NETINET_IN_SYSTM_H
16743 #include <netinet/in_systm.h>
16745 #ifdef HAVE_NETINET_IP_H
16746 #include <netinet/ip.h>
16748 #ifdef HAVE_NETINET_IP_VAR_H
16749 #include <netinet/ip_var.h>
16751 #ifdef HAVE_NETINET_IP_ICMP_H
16752 #include <netinet/ip_icmp.h>
16754 #ifdef HAVE_NETINET_ICMP_VAR_H
16755 #include <netinet/icmp_var.h>
16758 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16760 cat >>confdefs.h
<<_ACEOF
16761 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16768 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16769 #include <sys/types.h>
16771 #ifdef HAVE_SYS_SOCKETVAR_H
16772 #include <sys/socketvar.h>
16774 #ifdef HAVE_NETINET_IN_H
16775 #include <netinet/in.h>
16777 #ifdef HAVE_NETINET_IP_VAR_H
16778 #include <netinet/ip_var.h>
16781 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16783 cat >>confdefs.h
<<_ACEOF
16784 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16791 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
16792 #include <netinet/ip_var.h>
16795 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16797 cat >>confdefs.h
<<_ACEOF
16798 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16805 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16806 #include <sys/types.h>
16808 #ifdef HAVE_SYS_SOCKETVAR_H
16809 #include <sys/socketvar.h>
16811 #ifdef HAVE_NETINET_IN_H
16812 #include <netinet/in.h>
16814 #ifdef HAVE_NETINET_TCP_H
16815 #include <netinet/tcp.h>
16817 #ifdef HAVE_NETINET_TCP_VAR_H
16818 #include <netinet/tcp_var.h>
16821 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16823 cat >>confdefs.h
<<_ACEOF
16824 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16831 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
16832 #include <netinet/tcp_var.h>
16835 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16837 cat >>confdefs.h
<<_ACEOF
16838 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16845 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16846 #include <sys/types.h>
16848 #ifdef HAVE_NETINET_IN_H
16849 #include <netinet/in.h>
16851 #ifdef HAVE_NETINET_IP_VAR_H
16852 #include <netinet/ip_var.h>
16854 #ifdef HAVE_NETINET_UDP_H
16855 #include <netinet/udp.h>
16857 #ifdef HAVE_NETINET_UDP_VAR_H
16858 #include <netinet/udp_var.h>
16861 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16863 cat >>confdefs.h
<<_ACEOF
16864 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16871 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16872 #include <sys/types.h>
16874 #ifdef HAVE_NET_IF_H
16875 # include <net/if.h>
16878 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16880 cat >>confdefs.h
<<_ACEOF
16881 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16889 $as_echo_n "checking for timezone variable... " >&6; }
16890 if ${ac_cv_have_timezone+:} false
; then :
16891 $as_echo_n "(cached) " >&6
16893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16894 /* end confdefs.h. */
16904 if ac_fn_c_try_link
"$LINENO"; then :
16905 ac_cv_have_timezone
="yes"
16907 ac_cv_have_timezone
="no"
16909 rm -f core conftest.err conftest.
$ac_objext \
16910 conftest
$ac_exeext conftest.
$ac_ext
16912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16913 $as_echo "$ac_cv_have_timezone" >&6; }
16914 if test "$ac_cv_have_timezone" = "yes"
16917 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16921 $as_echo_n "checking for daylight variable... " >&6; }
16922 if ${ac_cv_have_daylight+:} false
; then :
16923 $as_echo_n "(cached) " >&6
16925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16926 /* end confdefs.h. */
16936 if ac_fn_c_try_link
"$LINENO"; then :
16937 ac_cv_have_daylight
="yes"
16939 ac_cv_have_daylight
="no"
16941 rm -f core conftest.err conftest.
$ac_objext \
16942 conftest
$ac_exeext conftest.
$ac_ext
16944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16945 $as_echo "$ac_cv_have_daylight" >&6; }
16946 if test "$ac_cv_have_daylight" = "yes"
16949 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16953 ac_save_LIBS
="$LIBS"
16955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16956 $as_echo_n "checking for isfinite... " >&6; }
16957 if ${ac_cv_have_isfinite+:} false
; then :
16958 $as_echo_n "(cached) " >&6
16960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16961 /* end confdefs.h. */
16962 #define _GNU_SOURCE
16967 float f = 0.0; return isfinite(f)
16972 if ac_fn_c_try_link
"$LINENO"; then :
16973 ac_cv_have_isfinite
="yes"
16975 ac_cv_have_isfinite
="no"
16977 rm -f core conftest.err conftest.
$ac_objext \
16978 conftest
$ac_exeext conftest.
$ac_ext
16980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16981 $as_echo "$ac_cv_have_isfinite" >&6; }
16982 if test "$ac_cv_have_isfinite" = "yes"
16985 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16990 $as_echo_n "checking for isinf... " >&6; }
16991 if ${ac_cv_have_isinf+:} false
; then :
16992 $as_echo_n "(cached) " >&6
16994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16995 /* end confdefs.h. */
17000 float f = 0.0; return isinf(f)
17005 if ac_fn_c_try_link
"$LINENO"; then :
17006 ac_cv_have_isinf
="yes"
17008 ac_cv_have_isinf
="no"
17010 rm -f core conftest.err conftest.
$ac_objext \
17011 conftest
$ac_exeext conftest.
$ac_ext
17013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17014 $as_echo "$ac_cv_have_isinf" >&6; }
17015 if test "$ac_cv_have_isinf" = "yes"
17018 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17023 $as_echo_n "checking for isnan... " >&6; }
17024 if ${ac_cv_have_isnan+:} false
; then :
17025 $as_echo_n "(cached) " >&6
17027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17028 /* end confdefs.h. */
17033 float f = 0.0; return isnan(f)
17038 if ac_fn_c_try_link
"$LINENO"; then :
17039 ac_cv_have_isnan
="yes"
17041 ac_cv_have_isnan
="no"
17043 rm -f core conftest.err conftest.
$ac_objext \
17044 conftest
$ac_exeext conftest.
$ac_ext
17046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17047 $as_echo "$ac_cv_have_isnan" >&6; }
17048 if test "$ac_cv_have_isnan" = "yes"
17051 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17087 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17088 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
17089 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
17090 cat >>confdefs.h
<<_ACEOF
17091 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17097 LIBS
="$ac_save_LIBS"
17099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17100 $as_echo_n "checking for __builtin_clz... " >&6; }
17101 if ${ac_cv_have___builtin_clz+:} false
; then :
17102 $as_echo_n "(cached) " >&6
17104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17105 /* end confdefs.h. */
17110 return __builtin_clz(1)
17115 if ac_fn_c_try_link
"$LINENO"; then :
17116 ac_cv_have___builtin_clz
="yes"
17118 ac_cv_have___builtin_clz
="no"
17120 rm -f core conftest.err conftest.
$ac_objext \
17121 conftest
$ac_exeext conftest.
$ac_ext
17123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17124 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17125 if test "$ac_cv_have___builtin_clz" = "yes"
17128 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17133 $as_echo_n "checking for __builtin_popcount... " >&6; }
17134 if ${ac_cv_have___builtin_popcount+:} false
; then :
17135 $as_echo_n "(cached) " >&6
17137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17138 /* end confdefs.h. */
17143 return __builtin_popcount(1)
17148 if ac_fn_c_try_link
"$LINENO"; then :
17149 ac_cv_have___builtin_popcount
="yes"
17151 ac_cv_have___builtin_popcount
="no"
17153 rm -f core conftest.err conftest.
$ac_objext \
17154 conftest
$ac_exeext conftest.
$ac_ext
17156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17157 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17158 if test "$ac_cv_have___builtin_popcount" = "yes"
17161 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17167 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17168 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17169 if ${ac_cv_cpp_def___i386__+:} false
; then :
17170 $as_echo_n "(cached) " >&6
17172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17173 /* end confdefs.h. */
17178 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17179 $EGREP "yes" >/dev
/null
2>&1; then :
17180 ac_cv_cpp_def___i386__
=yes
17182 ac_cv_cpp_def___i386__
=no
17187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17188 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17189 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
17190 CFLAGS
="$CFLAGS -D__i386__"
17191 LINTFLAGS
="$LINTFLAGS -D__i386__"
17193 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17194 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17195 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
17196 $as_echo_n "(cached) " >&6
17198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17199 /* end confdefs.h. */
17204 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17205 $EGREP "yes" >/dev
/null
2>&1; then :
17206 ac_cv_cpp_def___x86_64__
=yes
17208 ac_cv_cpp_def___x86_64__
=no
17213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17214 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17215 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
17216 CFLAGS
="$CFLAGS -D__x86_64__"
17217 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
17219 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17220 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17221 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
17222 $as_echo_n "(cached) " >&6
17224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17225 /* end confdefs.h. */
17226 #ifndef __sparc64__
17230 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17231 $EGREP "yes" >/dev
/null
2>&1; then :
17232 ac_cv_cpp_def___sparc64__
=yes
17234 ac_cv_cpp_def___sparc64__
=no
17239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17240 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17241 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
17242 CFLAGS
="$CFLAGS -D__sparc64__"
17243 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
17245 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17246 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17247 if ${ac_cv_cpp_def___sparc__+:} false
; then :
17248 $as_echo_n "(cached) " >&6
17250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17251 /* end confdefs.h. */
17256 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17257 $EGREP "yes" >/dev
/null
2>&1; then :
17258 ac_cv_cpp_def___sparc__
=yes
17260 ac_cv_cpp_def___sparc__
=no
17265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17266 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17267 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
17268 CFLAGS
="$CFLAGS -D__sparc__"
17269 LINTFLAGS
="$LINTFLAGS -D__sparc__"
17271 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17272 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17273 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
17274 $as_echo_n "(cached) " >&6
17276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17277 /* end confdefs.h. */
17278 #ifndef __powerpc64__
17282 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17283 $EGREP "yes" >/dev
/null
2>&1; then :
17284 ac_cv_cpp_def___powerpc64__
=yes
17286 ac_cv_cpp_def___powerpc64__
=no
17291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17292 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17293 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
17294 CFLAGS
="$CFLAGS -D__powerpc64__"
17295 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
17297 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17298 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17299 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
17300 $as_echo_n "(cached) " >&6
17302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17303 /* end confdefs.h. */
17304 #ifndef __powerpc__
17308 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17309 $EGREP "yes" >/dev
/null
2>&1; then :
17310 ac_cv_cpp_def___powerpc__
=yes
17312 ac_cv_cpp_def___powerpc__
=no
17317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17318 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17319 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
17320 CFLAGS
="$CFLAGS -D__powerpc__"
17321 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
17323 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17324 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17325 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
17326 $as_echo_n "(cached) " >&6
17328 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17329 /* end confdefs.h. */
17330 #ifndef __aarch64__
17334 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17335 $EGREP "yes" >/dev
/null
2>&1; then :
17336 ac_cv_cpp_def___aarch64__
=yes
17338 ac_cv_cpp_def___aarch64__
=no
17343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17344 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17345 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
17346 CFLAGS
="$CFLAGS -D__aarch64__"
17347 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
17349 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17350 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17351 if ${ac_cv_cpp_def___arm__+:} false
; then :
17352 $as_echo_n "(cached) " >&6
17354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17355 /* end confdefs.h. */
17360 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17361 $EGREP "yes" >/dev
/null
2>&1; then :
17362 ac_cv_cpp_def___arm__
=yes
17364 ac_cv_cpp_def___arm__
=no
17369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17370 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17371 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
17372 CFLAGS
="$CFLAGS -D__arm__"
17373 LINTFLAGS
="$LINTFLAGS -D__arm__"
17377 case $host_vendor in
17378 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17379 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17380 if ${ac_cv_cpp_def___sun__+:} false
; then :
17381 $as_echo_n "(cached) " >&6
17383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17384 /* end confdefs.h. */
17389 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17390 $EGREP "yes" >/dev
/null
2>&1; then :
17391 ac_cv_cpp_def___sun__
=yes
17393 ac_cv_cpp_def___sun__
=no
17398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17399 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17400 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
17401 CFLAGS
="$CFLAGS -D__sun__"
17402 LINTFLAGS
="$LINTFLAGS -D__sun__"
17410 ac_config_commands
="$ac_config_commands include/stamp-h"
17412 $as_echo_n "creating Makefile rules..." >&6
17414 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
17415 SOCKET_LIBS = $SOCKET_LIBS
17416 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17417 IOKIT_LIBS = $IOKIT_LIBS
17418 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17419 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17420 CORESERVICES_LIBS = $CORESERVICES_LIBS
17421 APPKIT_LIBS = $APPKIT_LIBS
17422 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17423 SECURITY_LIBS = $SECURITY_LIBS
17424 COREAUDIO_LIBS = $COREAUDIO_LIBS
17425 OPENAL_LIBS = $OPENAL_LIBS
17426 OPENCL_LIBS = $OPENCL_LIBS
17427 QUICKTIME_LIBS = $QUICKTIME_LIBS
17428 CARBON_LIBS = $CARBON_LIBS
17429 PTHREAD_LIBS = $PTHREAD_LIBS
17430 X_CFLAGS = $X_CFLAGS
17431 X_PRE_LIBS = $X_PRE_LIBS
17433 X_EXTRA_LIBS = $X_EXTRA_LIBS
17434 PCAP_LIBS = $PCAP_LIBS
17435 XML2_CFLAGS = $XML2_CFLAGS
17436 XML2_LIBS = $XML2_LIBS
17437 XSLT_CFLAGS = $XSLT_CFLAGS
17438 XSLT_LIBS = $XSLT_LIBS
17439 DBUS_CFLAGS = $DBUS_CFLAGS
17440 DBUS_LIBS = $DBUS_LIBS
17441 HAL_CFLAGS = $HAL_CFLAGS
17442 HAL_LIBS = $HAL_LIBS
17443 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17444 GNUTLS_LIBS = $GNUTLS_LIBS
17445 SANE_CFLAGS = $SANE_CFLAGS
17446 SANE_LIBS = $SANE_LIBS
17447 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17448 GPHOTO2_LIBS = $GPHOTO2_LIBS
17449 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17450 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17451 RESOLV_LIBS = $RESOLV_LIBS
17452 LCMS2_CFLAGS = $LCMS2_CFLAGS
17453 LCMS2_LIBS = $LCMS2_LIBS
17454 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17455 FREETYPE_LIBS = $FREETYPE_LIBS
17457 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17458 PULSE_CFLAGS = $PULSE_CFLAGS
17459 PULSE_LIBS = $PULSE_LIBS
17460 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17461 GSTREAMER_LIBS = $GSTREAMER_LIBS
17462 ALSA_LIBS = $ALSA_LIBS
17463 OSS4_CFLAGS = $OSS4_CFLAGS
17464 UDEV_CFLAGS = $UDEV_CFLAGS
17465 UDEV_LIBS = $UDEV_LIBS
17466 CAPI20_CFLAGS = $CAPI20_CFLAGS
17467 CAPI20_LIBS = $CAPI20_LIBS
17468 CUPS_CFLAGS = $CUPS_CFLAGS
17469 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17470 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17471 JPEG_CFLAGS = $JPEG_CFLAGS
17472 JPEG_LIBS = $JPEG_LIBS
17473 PNG_CFLAGS = $PNG_CFLAGS
17474 PNG_LIBS = $PNG_LIBS
17475 TIFF_CFLAGS = $TIFF_CFLAGS
17476 TIFF_LIBS = $TIFF_LIBS
17477 MPG123_CFLAGS = $MPG123_CFLAGS
17478 MPG123_LIBS = $MPG123_LIBS
17479 KSTAT_LIBS = $KSTAT_LIBS
17480 PROCSTAT_LIBS = $PROCSTAT_LIBS
17481 NETAPI_CFLAGS = $NETAPI_CFLAGS
17482 NETAPI_LIBS = $NETAPI_LIBS
17483 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17485 POLL_LIBS = $POLL_LIBS
17487 LDAP_LIBS = $LDAP_LIBS
17492 wine_fn_append_rule
"
17493 # Rules automatically generated by configure
17495 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17500 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17501 @./config.status Make.tmp Makefile
17502 depend: \$(MAKEDEP) dummy
17505 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
17506 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17508 if test "x$enable_fonts" != xno
; then
17509 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17510 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17511 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17512 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17513 ac_config_links
="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17514 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf fonts
/wingding.ttf
17516 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17517 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
17518 ac_config_links
="$ac_config_links wine:tools/winewrapper"
17519 wine_fn_config_symlink wine
17520 if test "x$enable_win64" != xno
; then
17521 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
17522 wine_fn_config_symlink wine64
17525 wine_fn_config_dll acledit enable_acledit
17526 wine_fn_config_dll aclui enable_aclui implib
17527 wine_fn_config_dll activeds enable_activeds implib
17528 wine_fn_config_dll actxprxy enable_actxprxy clean
17529 wine_fn_config_lib adsiid
17530 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
17531 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
17532 wine_fn_config_dll advpack enable_advpack implib
17533 wine_fn_config_test dlls
/advpack
/tests advpack_test
17534 wine_fn_config_dll amstream enable_amstream clean
17535 wine_fn_config_test dlls
/amstream
/tests amstream_test
17536 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17537 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17538 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17539 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17540 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17541 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17542 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17543 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17544 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17545 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17546 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17547 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17548 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17549 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17550 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17551 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17552 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17553 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17554 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17555 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17556 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17557 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17558 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17559 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17560 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17561 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17562 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17563 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17564 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17565 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17566 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17567 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17568 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17569 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17570 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17571 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17572 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17573 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17574 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17575 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17576 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17577 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17578 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17579 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17580 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17581 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17582 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17583 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17584 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17585 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17586 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17587 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17588 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17589 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17590 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17591 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17592 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17593 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17594 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17595 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17596 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17597 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17598 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17599 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17600 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17601 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17602 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17603 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17604 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17605 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17606 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17607 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17608 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17609 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17610 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17611 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17612 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17613 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17614 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17615 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17616 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17617 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17618 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17619 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17620 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17621 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17622 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17623 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17624 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17625 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17626 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17627 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17628 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17629 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17630 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17631 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17632 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17633 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17634 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17635 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17636 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17637 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17638 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17639 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17640 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17641 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17642 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17643 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17644 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17645 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17646 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17647 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17648 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17649 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17650 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17651 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17652 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17653 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17654 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17655 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17656 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17657 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17658 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17659 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17660 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17661 wine_fn_config_dll apphelp enable_apphelp
17662 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
17663 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17664 wine_fn_config_dll atl enable_atl clean
,implib
17665 wine_fn_config_test dlls
/atl
/tests atl_test
17666 wine_fn_config_dll atl100 enable_atl100 clean
,implib
17667 wine_fn_config_test dlls
/atl100
/tests atl100_test
17668 wine_fn_config_dll atl110 enable_atl110 clean
17669 wine_fn_config_dll atl80 enable_atl80 clean
,implib
17670 wine_fn_config_test dlls
/atl80
/tests atl80_test
17671 wine_fn_config_dll atl90 enable_atl90 clean
17672 wine_fn_config_dll authz enable_authz
17673 wine_fn_config_dll avicap32 enable_avicap32 implib
17674 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
17675 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
17676 wine_fn_config_dll avifile.dll16 enable_win16
17677 wine_fn_config_dll avrt enable_avrt implib
17678 wine_fn_config_dll bcrypt enable_bcrypt implib
17679 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
17680 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17681 wine_fn_config_dll browseui enable_browseui clean
17682 wine_fn_config_test dlls
/browseui
/tests browseui_test
17683 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17684 wine_fn_config_dll cabinet enable_cabinet implib
17685 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
17686 wine_fn_config_dll capi2032 enable_capi2032 implib
17687 wine_fn_config_dll cards enable_cards implib
17688 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17689 wine_fn_config_dll clusapi enable_clusapi implib
17690 wine_fn_config_dll combase enable_combase
17691 wine_fn_config_test dlls
/combase
/tests combase_test
17692 wine_fn_config_dll comcat enable_comcat
17693 wine_fn_config_test dlls
/comcat
/tests comcat_test
17694 wine_fn_config_dll comctl32 enable_comctl32 clean
,implib
17695 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
17696 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
17697 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
17698 wine_fn_config_dll
comm.drv16 enable_win16
17699 wine_fn_config_dll commdlg.dll16 enable_win16
17700 wine_fn_config_dll compobj.dll16 enable_win16
17701 wine_fn_config_dll compstui enable_compstui implib
17702 wine_fn_config_dll comsvcs enable_comsvcs implib
17703 wine_fn_config_dll concrt140 enable_concrt140
17704 wine_fn_config_dll connect enable_connect
17705 wine_fn_config_dll credui enable_credui clean
,implib
17706 wine_fn_config_test dlls
/credui
/tests credui_test
17707 wine_fn_config_dll crtdll enable_crtdll
17708 wine_fn_config_dll crypt32 enable_crypt32 clean
,implib
17709 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
17710 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17711 wine_fn_config_dll cryptdll enable_cryptdll implib
17712 wine_fn_config_dll cryptext enable_cryptext
17713 wine_fn_config_dll cryptnet enable_cryptnet implib
17714 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
17715 wine_fn_config_dll cryptui enable_cryptui clean
,implib
17716 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
17717 wine_fn_config_dll ctapi32 enable_ctapi32
17718 wine_fn_config_dll ctl3d.dll16 enable_win16
17719 wine_fn_config_dll ctl3d32 enable_ctl3d32
17720 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17721 wine_fn_config_dll d2d1 enable_d2d1 implib
17722 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
17723 wine_fn_config_dll d3d10 enable_d3d10 implib
17724 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
17725 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17726 wine_fn_config_test dlls
/d3d10_
1/tests d3d10_1_test
17727 wine_fn_config_dll d3d10core enable_d3d10core implib
17728 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
17729 wine_fn_config_dll d3d11 enable_d3d11 implib
17730 wine_fn_config_test dlls
/d3d11
/tests d3d11_test
17731 wine_fn_config_dll d3d8 enable_d3d8 implib
17732 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
17733 wine_fn_config_dll d3d9 enable_d3d9 implib
17734 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
17735 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17736 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17737 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17738 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17739 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17740 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17741 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17742 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17743 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17744 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17745 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17746 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
17747 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17748 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17749 wine_fn_config_dll d3dim enable_d3dim
17750 wine_fn_config_dll d3drm enable_d3drm implib
17751 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
17752 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17753 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17754 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17755 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17756 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17757 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17758 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17759 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17760 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17761 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17762 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17763 wine_fn_config_test dlls
/d3dx10_43
/tests d3dx10_43_test
17764 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17765 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17766 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17767 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17768 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17769 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17770 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17771 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17772 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17773 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17774 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17775 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17776 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17777 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17778 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17779 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
17780 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17781 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17782 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17783 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17784 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17785 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17786 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17787 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
17788 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
17789 wine_fn_config_dll davclnt enable_davclnt
17790 wine_fn_config_dll dbgeng enable_dbgeng implib
17791 wine_fn_config_dll dbghelp enable_dbghelp implib
17792 wine_fn_config_dll dciman32 enable_dciman32 implib
17793 wine_fn_config_dll ddeml.dll16 enable_win16
17794 wine_fn_config_dll ddraw enable_ddraw clean
,implib
17795 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
17796 wine_fn_config_dll ddrawex enable_ddrawex clean
17797 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
17798 wine_fn_config_dll devenum enable_devenum clean
17799 wine_fn_config_test dlls
/devenum
/tests devenum_test
17800 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17801 wine_fn_config_dll difxapi enable_difxapi
17802 wine_fn_config_dll dinput enable_dinput clean
,implib
,staticimplib
17803 wine_fn_config_test dlls
/dinput
/tests dinput_test
17804 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
17805 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
17806 wine_fn_config_dll dispdib.dll16 enable_win16
17807 wine_fn_config_dll dispex enable_dispex clean
17808 wine_fn_config_test dlls
/dispex
/tests dispex_test
17809 wine_fn_config_dll display.drv16 enable_win16
17810 wine_fn_config_dll dmband enable_dmband clean
17811 wine_fn_config_test dlls
/dmband
/tests dmband_test
17812 wine_fn_config_dll dmcompos enable_dmcompos clean
17813 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
17814 wine_fn_config_dll dmime enable_dmime clean
17815 wine_fn_config_test dlls
/dmime
/tests dmime_test
17816 wine_fn_config_dll dmloader enable_dmloader clean
17817 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
17818 wine_fn_config_dll dmscript enable_dmscript clean
17819 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
17820 wine_fn_config_dll dmstyle enable_dmstyle clean
17821 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
17822 wine_fn_config_dll dmsynth enable_dmsynth clean
17823 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
17824 wine_fn_config_dll dmusic enable_dmusic clean
17825 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
17826 wine_fn_config_dll dmusic32 enable_dmusic32
17827 wine_fn_config_dll dnsapi enable_dnsapi implib
17828 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
17829 wine_fn_config_dll dplay enable_dplay
17830 wine_fn_config_dll dplayx enable_dplayx clean
,implib
17831 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
17832 wine_fn_config_dll dpnaddr enable_dpnaddr
17833 wine_fn_config_dll dpnet enable_dpnet clean
,implib
17834 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
17835 wine_fn_config_dll dpnhpast enable_dpnhpast
17836 wine_fn_config_dll dpnlobby enable_dpnlobby
17837 wine_fn_config_dll dpvoice enable_dpvoice clean
17838 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
17839 wine_fn_config_dll dpwsockx enable_dpwsockx
17840 wine_fn_config_dll drmclien enable_drmclien
17841 wine_fn_config_dll dsound enable_dsound clean
,implib
17842 wine_fn_config_test dlls
/dsound
/tests dsound_test
17843 wine_fn_config_dll dssenh enable_dssenh
17844 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
17845 wine_fn_config_dll dswave enable_dswave clean
17846 wine_fn_config_test dlls
/dswave
/tests dswave_test
17847 wine_fn_config_dll dwmapi enable_dwmapi implib
17848 wine_fn_config_dll dwrite enable_dwrite implib
17849 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
17850 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17851 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
17852 wine_fn_config_lib dxerr8
17853 wine_fn_config_lib dxerr9
17854 wine_fn_config_dll dxgi enable_dxgi implib
17855 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
17856 wine_fn_config_lib dxguid
17857 wine_fn_config_dll dxva2 enable_dxva2
17858 wine_fn_config_dll esent enable_esent
17859 wine_fn_config_dll evr enable_evr
17860 wine_fn_config_dll explorerframe enable_explorerframe clean
17861 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17862 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17863 wine_fn_config_dll faultrep enable_faultrep implib
17864 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17865 wine_fn_config_dll fltlib enable_fltlib
17866 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17867 wine_fn_config_dll fntcache enable_fntcache
17868 wine_fn_config_dll fontsub enable_fontsub
17869 wine_fn_config_dll fusion enable_fusion
17870 wine_fn_config_test dlls
/fusion
/tests fusion_test
17871 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17872 wine_fn_config_dll gameux enable_gameux clean
17873 wine_fn_config_test dlls
/gameux
/tests gameux_test
17874 wine_fn_config_dll gdi.exe16 enable_win16
17875 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
17876 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
17877 wine_fn_config_dll gdiplus enable_gdiplus implib
17878 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
17879 wine_fn_config_dll glu32 enable_glu32 implib
17880 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17881 wine_fn_config_dll gpkcsp enable_gpkcsp
17882 wine_fn_config_dll hal enable_hal
17883 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib htmlhelp
17884 wine_fn_config_dll hid enable_hid implib
17885 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17886 wine_fn_config_dll hlink enable_hlink clean
,implib
17887 wine_fn_config_test dlls
/hlink
/tests hlink_test
17888 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17889 wine_fn_config_test dlls
/hnetcfg
/tests hnetcfg_test
17890 wine_fn_config_dll httpapi enable_httpapi
17891 wine_fn_config_dll iccvid enable_iccvid clean
17892 wine_fn_config_dll icmp enable_icmp
17893 wine_fn_config_dll ieframe enable_ieframe clean
,implib
17894 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17895 wine_fn_config_dll ifsmgr.vxd enable_win16
17896 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17897 wine_fn_config_dll imagehlp enable_imagehlp implib
17898 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17899 wine_fn_config_dll imm.dll16 enable_win16
17900 wine_fn_config_dll imm32 enable_imm32 implib
17901 wine_fn_config_test dlls
/imm32
/tests imm32_test
17902 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17903 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17904 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17905 wine_fn_config_dll inetmib1 enable_inetmib1
17906 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17907 wine_fn_config_dll infosoft enable_infosoft clean
17908 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17909 wine_fn_config_dll initpki enable_initpki
17910 wine_fn_config_dll inkobj enable_inkobj
17911 wine_fn_config_dll inseng enable_inseng clean
17912 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17913 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17914 wine_fn_config_dll irprops.cpl enable_irprops_cpl
17915 wine_fn_config_dll itircl enable_itircl
17916 wine_fn_config_dll itss enable_itss clean
17917 wine_fn_config_test dlls
/itss
/tests itss_test
17918 wine_fn_config_dll joy.cpl enable_joy_cpl clean
17919 wine_fn_config_dll jscript enable_jscript clean
17920 wine_fn_config_test dlls
/jscript
/tests jscript_test
17921 wine_fn_config_dll jsproxy enable_jsproxy implib
17922 wine_fn_config_test dlls
/jsproxy
/tests jsproxy_test
17923 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
17924 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17925 wine_fn_config_dll kernelbase enable_kernelbase
17926 wine_fn_config_dll keyboard.drv16 enable_win16
17927 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17928 wine_fn_config_dll ksuser enable_ksuser
17929 wine_fn_config_dll ktmw32 enable_ktmw32
17930 wine_fn_config_dll loadperf enable_loadperf implib
17931 wine_fn_config_dll localspl enable_localspl clean
17932 wine_fn_config_test dlls
/localspl
/tests localspl_test
17933 wine_fn_config_dll localui enable_localui clean
17934 wine_fn_config_test dlls
/localui
/tests localui_test
17935 wine_fn_config_dll lz32 enable_lz32 implib
17936 wine_fn_config_test dlls
/lz32
/tests lz32_test
17937 wine_fn_config_dll lzexpand.dll16 enable_win16
17938 wine_fn_config_dll mapi32 enable_mapi32 clean
,implib
17939 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17940 wine_fn_config_dll mapistub enable_mapistub
17941 wine_fn_config_dll mciavi32 enable_mciavi32
17942 wine_fn_config_dll mcicda enable_mcicda
17943 wine_fn_config_dll mciqtz32 enable_mciqtz32
17944 wine_fn_config_dll mciseq enable_mciseq
17945 wine_fn_config_dll mciwave enable_mciwave
17946 wine_fn_config_dll mf enable_mf
17947 wine_fn_config_dll mfplat enable_mfplat
17948 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17949 wine_fn_config_dll mgmtapi enable_mgmtapi
17950 wine_fn_config_dll midimap enable_midimap
17951 wine_fn_config_dll mlang enable_mlang clean
,implib
17952 wine_fn_config_test dlls
/mlang
/tests mlang_test
17953 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17954 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
17955 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17956 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
17957 wine_fn_config_dll mmdevldr.vxd enable_win16
17958 wine_fn_config_dll mmsystem.dll16 enable_win16
17959 wine_fn_config_dll monodebg.vxd enable_win16
17960 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17961 wine_fn_config_dll mouse.drv16 enable_win16
17962 wine_fn_config_dll mpr enable_mpr clean
,implib
17963 wine_fn_config_test dlls
/mpr
/tests mpr_test
17964 wine_fn_config_dll mprapi enable_mprapi implib
17965 wine_fn_config_dll msacm.dll16 enable_win16
17966 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17967 wine_fn_config_dll msacm32 enable_msacm32 clean
,implib
17968 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
17969 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17970 wine_fn_config_dll msasn1 enable_msasn1 implib
17971 wine_fn_config_dll mscat32 enable_mscat32
17972 wine_fn_config_dll mscms enable_mscms implib
17973 wine_fn_config_test dlls
/mscms
/tests mscms_test
17974 wine_fn_config_dll mscoree enable_mscoree clean
17975 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
17976 wine_fn_config_dll msctf enable_msctf clean
17977 wine_fn_config_test dlls
/msctf
/tests msctf_test
17978 wine_fn_config_dll msctfp enable_msctfp clean
17979 wine_fn_config_dll msdaps enable_msdaps clean
17980 wine_fn_config_dll msdelta enable_msdelta
17981 wine_fn_config_dll msdmo enable_msdmo implib
17982 wine_fn_config_test dlls
/msdmo
/tests msdmo_test
17983 wine_fn_config_dll msdrm enable_msdrm
17984 wine_fn_config_dll msftedit enable_msftedit
17985 wine_fn_config_dll msg711.acm enable_msg711_acm
17986 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17987 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17988 wine_fn_config_dll mshtml enable_mshtml clean
,implib
17989 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
17990 wine_fn_config_dll msi enable_msi clean
,implib
17991 wine_fn_config_test dlls
/msi
/tests msi_test
17992 wine_fn_config_dll msident enable_msident clean
17993 wine_fn_config_dll msimg32 enable_msimg32 implib
17994 wine_fn_config_dll msimsg enable_msimsg
17995 wine_fn_config_dll msimtf enable_msimtf clean
17996 wine_fn_config_dll msisip enable_msisip
17997 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17998 wine_fn_config_dll msls31 enable_msls31
17999 wine_fn_config_dll msnet32 enable_msnet32
18000 wine_fn_config_dll mspatcha enable_mspatcha implib
18001 wine_fn_config_dll msports enable_msports
18002 wine_fn_config_dll msrle32 enable_msrle32 clean
18003 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
18004 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18005 wine_fn_config_test dlls
/msscript.ocx
/tests msscript.ocx_test clean
18006 wine_fn_config_dll mssign32 enable_mssign32
18007 wine_fn_config_dll mssip32 enable_mssip32
18008 wine_fn_config_dll mstask enable_mstask clean
18009 wine_fn_config_test dlls
/mstask
/tests mstask_test
18010 wine_fn_config_dll msvcirt enable_msvcirt
18011 wine_fn_config_test dlls
/msvcirt
/tests msvcirt_test
18012 wine_fn_config_dll msvcm80 enable_msvcm80
18013 wine_fn_config_dll msvcm90 enable_msvcm90
18014 wine_fn_config_dll msvcp100 enable_msvcp100
18015 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
18016 wine_fn_config_dll msvcp110 enable_msvcp110
18017 wine_fn_config_test dlls
/msvcp110
/tests msvcp110_test
18018 wine_fn_config_dll msvcp120 enable_msvcp120
18019 wine_fn_config_test dlls
/msvcp120
/tests msvcp120_test
18020 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18021 wine_fn_config_dll msvcp140 enable_msvcp140
18022 wine_fn_config_test dlls
/msvcp140
/tests msvcp140_test
18023 wine_fn_config_dll msvcp60 enable_msvcp60
18024 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
18025 wine_fn_config_dll msvcp70 enable_msvcp70
18026 wine_fn_config_dll msvcp71 enable_msvcp71
18027 wine_fn_config_dll msvcp80 enable_msvcp80
18028 wine_fn_config_dll msvcp90 enable_msvcp90
18029 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
18030 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18031 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
18032 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18033 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18034 wine_fn_config_test dlls
/msvcr120
/tests msvcr120_test
18035 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18036 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18037 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18038 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18039 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18040 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
18041 wine_fn_config_dll msvcrt enable_msvcrt implib
18042 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
18043 wine_fn_config_dll msvcrt20 enable_msvcrt20
18044 wine_fn_config_dll msvcrt40 enable_msvcrt40
18045 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18046 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
18047 wine_fn_config_dll msvfw32 enable_msvfw32 clean
,implib
18048 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
18049 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18050 wine_fn_config_dll msvideo.dll16 enable_win16
18051 wine_fn_config_dll mswsock enable_mswsock implib
18052 wine_fn_config_dll msxml enable_msxml clean
18053 wine_fn_config_dll msxml2 enable_msxml2 clean
18054 wine_fn_config_dll msxml3 enable_msxml3 clean
18055 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
18056 wine_fn_config_dll msxml4 enable_msxml4 clean
18057 wine_fn_config_dll msxml6 enable_msxml6 clean
18058 wine_fn_config_dll ncrypt enable_ncrypt
18059 wine_fn_config_dll nddeapi enable_nddeapi implib
18060 wine_fn_config_dll ndis.sys enable_ndis_sys
18061 wine_fn_config_dll netapi32 enable_netapi32 implib
18062 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
18063 wine_fn_config_dll netcfgx enable_netcfgx clean
18064 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
18065 wine_fn_config_dll netprofm enable_netprofm clean
18066 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
18067 wine_fn_config_dll newdev enable_newdev implib
18068 wine_fn_config_dll normaliz enable_normaliz implib
18069 wine_fn_config_dll npmshtml enable_npmshtml
18070 wine_fn_config_dll npptools enable_npptools
18071 wine_fn_config_dll ntdll enable_ntdll implib
18072 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
18073 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18074 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
18075 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18076 wine_fn_config_dll ntprint enable_ntprint
18077 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
18078 wine_fn_config_dll objsel enable_objsel clean
18079 wine_fn_config_dll odbc32 enable_odbc32 implib
18080 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18081 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
18082 wine_fn_config_dll odbccu32 enable_odbccu32
18083 wine_fn_config_dll ole2.dll16 enable_win16
18084 wine_fn_config_dll ole2conv.dll16 enable_win16
18085 wine_fn_config_dll ole2disp.dll16 enable_win16
18086 wine_fn_config_dll ole2nls.dll16 enable_win16
18087 wine_fn_config_dll ole2prox.dll16 enable_win16
18088 wine_fn_config_dll ole2thk.dll16 enable_win16
18089 wine_fn_config_dll ole32 enable_ole32 clean
,implib
18090 wine_fn_config_test dlls
/ole32
/tests ole32_test
18091 wine_fn_config_dll oleacc enable_oleacc clean
,implib
18092 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
18093 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
18094 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
18095 wine_fn_config_dll olecli.dll16 enable_win16
18096 wine_fn_config_dll olecli32 enable_olecli32 implib
18097 wine_fn_config_dll oledb32 enable_oledb32 clean
18098 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
18099 wine_fn_config_dll oledlg enable_oledlg clean
,implib
18100 wine_fn_config_test dlls
/oledlg
/tests oledlg_test
18101 wine_fn_config_dll olepro32 enable_olepro32 clean
,implib
18102 wine_fn_config_dll olesvr.dll16 enable_win16
18103 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18104 wine_fn_config_dll olethk32 enable_olethk32
18105 wine_fn_config_dll openal32 enable_openal32
18106 wine_fn_config_dll opencl enable_opencl
18107 wine_fn_config_dll opengl32 enable_opengl32 implib
18108 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
18109 wine_fn_config_dll packager enable_packager clean
18110 wine_fn_config_test dlls
/packager
/tests packager_test
18111 wine_fn_config_dll pdh enable_pdh implib
18112 wine_fn_config_test dlls
/pdh
/tests pdh_test
18113 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18114 wine_fn_config_dll pidgen enable_pidgen
18115 wine_fn_config_dll powrprof enable_powrprof implib
18116 wine_fn_config_dll printui enable_printui
18117 wine_fn_config_dll prntvpt enable_prntvpt
18118 wine_fn_config_dll propsys enable_propsys clean
,implib
18119 wine_fn_config_test dlls
/propsys
/tests propsys_test
18120 wine_fn_config_dll psapi enable_psapi implib
18121 wine_fn_config_test dlls
/psapi
/tests psapi_test
18122 wine_fn_config_dll pstorec enable_pstorec clean
18123 wine_fn_config_dll qcap enable_qcap
18124 wine_fn_config_test dlls
/qcap
/tests qcap_test
18125 wine_fn_config_dll qedit enable_qedit clean
18126 wine_fn_config_test dlls
/qedit
/tests qedit_test
18127 wine_fn_config_dll qmgr enable_qmgr clean
18128 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
18129 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18130 wine_fn_config_dll quartz enable_quartz clean
,implib
18131 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
18132 wine_fn_config_dll query enable_query
18133 wine_fn_config_dll rasapi16.dll16 enable_win16
18134 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18135 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
18136 wine_fn_config_dll rasdlg enable_rasdlg implib
18137 wine_fn_config_dll regapi enable_regapi
18138 wine_fn_config_dll resutils enable_resutils implib
18139 wine_fn_config_dll riched20 enable_riched20 clean
,implib
18140 wine_fn_config_test dlls
/riched20
/tests riched20_test
18141 wine_fn_config_dll riched32 enable_riched32
18142 wine_fn_config_test dlls
/riched32
/tests riched32_test
18143 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
18144 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
18145 wine_fn_config_dll rsabase enable_rsabase
18146 wine_fn_config_dll rsaenh enable_rsaenh implib
18147 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
18148 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18149 wine_fn_config_dll rtutils enable_rtutils implib
18150 wine_fn_config_dll samlib enable_samlib
18151 wine_fn_config_dll sane.ds enable_sane_ds clean
18152 wine_fn_config_dll scarddlg enable_scarddlg
18153 wine_fn_config_dll sccbase enable_sccbase
18154 wine_fn_config_dll schannel enable_schannel
18155 wine_fn_config_test dlls
/schannel
/tests schannel_test
18156 wine_fn_config_dll schedsvc enable_schedsvc clean
18157 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
18158 wine_fn_config_dll scrrun enable_scrrun clean
18159 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
18160 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18161 wine_fn_config_dll secur32 enable_secur32 implib
18162 wine_fn_config_test dlls
/secur32
/tests secur32_test
18163 wine_fn_config_dll security enable_security
18164 wine_fn_config_dll sensapi enable_sensapi implib
18165 wine_fn_config_dll serialui enable_serialui clean
18166 wine_fn_config_test dlls
/serialui
/tests serialui_test
18167 wine_fn_config_dll setupapi enable_setupapi clean
,implib
18168 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
18169 wine_fn_config_dll setupx.dll16 enable_win16
18170 wine_fn_config_dll sfc enable_sfc implib
18171 wine_fn_config_dll sfc_os enable_sfc_os implib
18172 wine_fn_config_dll shdoclc enable_shdoclc clean
18173 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
18174 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
18175 wine_fn_config_dll shell.dll16 enable_win16
18176 wine_fn_config_dll shell32 enable_shell32 clean
,implib
18177 wine_fn_config_test dlls
/shell32
/tests shell32_test
18178 wine_fn_config_dll shfolder enable_shfolder implib
18179 wine_fn_config_dll shlwapi enable_shlwapi clean
,implib
18180 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
18181 wine_fn_config_dll slbcsp enable_slbcsp
18182 wine_fn_config_dll slc enable_slc implib
18183 wine_fn_config_test dlls
/slc
/tests slc_test
18184 wine_fn_config_dll snmpapi enable_snmpapi implib
18185 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
18186 wine_fn_config_dll softpub enable_softpub
18187 wine_fn_config_dll sound.drv16 enable_win16
18188 wine_fn_config_dll spoolss enable_spoolss implib
18189 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
18190 wine_fn_config_dll sspicli enable_sspicli
18191 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18192 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18193 wine_fn_config_dll sti enable_sti clean
,implib
18194 wine_fn_config_test dlls
/sti
/tests sti_test
18195 wine_fn_config_dll storage.dll16 enable_win16
18196 wine_fn_config_dll stress.dll16 enable_win16
18197 wine_fn_config_lib strmbase
18198 wine_fn_config_lib strmiids
18199 wine_fn_config_dll svrapi enable_svrapi
18200 wine_fn_config_dll sxs enable_sxs implib
18201 wine_fn_config_test dlls
/sxs
/tests sxs_test
18202 wine_fn_config_dll system.drv16 enable_win16
18203 wine_fn_config_dll t2embed enable_t2embed implib
18204 wine_fn_config_test dlls
/t2embed
/tests t2embed_test
18205 wine_fn_config_dll tapi32 enable_tapi32 implib
18206 wine_fn_config_dll taskschd enable_taskschd clean
18207 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
18208 wine_fn_config_dll tdi.sys enable_tdi_sys
18209 wine_fn_config_dll toolhelp.dll16 enable_win16
18210 wine_fn_config_dll traffic enable_traffic
18211 wine_fn_config_dll twain.dll16 enable_win16
18212 wine_fn_config_dll twain_32 enable_twain_32
18213 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
18214 wine_fn_config_dll typelib.dll16 enable_win16
18215 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18216 wine_fn_config_test dlls
/ucrtbase
/tests ucrtbase_test
18217 wine_fn_config_dll unicows enable_unicows implib
18218 wine_fn_config_dll updspapi enable_updspapi
18219 wine_fn_config_dll url enable_url implib
18220 wine_fn_config_dll urlmon enable_urlmon clean
,implib
18221 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
18222 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18223 wine_fn_config_dll user.exe16 enable_win16
18224 wine_fn_config_dll user32 enable_user32 clean
,implib
18225 wine_fn_config_test dlls
/user32
/tests user32_test
18226 wine_fn_config_dll userenv enable_userenv implib
18227 wine_fn_config_test dlls
/userenv
/tests userenv_test
18228 wine_fn_config_dll usp10 enable_usp10 implib
18229 wine_fn_config_test dlls
/usp10
/tests usp10_test
18230 wine_fn_config_lib uuid
18231 wine_fn_config_dll uxtheme enable_uxtheme implib
18232 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
18233 wine_fn_config_dll vbscript enable_vbscript clean
18234 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
18235 wine_fn_config_dll vcomp enable_vcomp
18236 wine_fn_config_test dlls
/vcomp
/tests vcomp_test
18237 wine_fn_config_dll vcomp100 enable_vcomp100
18238 wine_fn_config_dll vcomp110 enable_vcomp110
18239 wine_fn_config_dll vcomp120 enable_vcomp120
18240 wine_fn_config_dll vcomp140 enable_vcomp140
18241 wine_fn_config_dll vcomp90 enable_vcomp90
18242 wine_fn_config_dll vcruntime140 enable_vcruntime140
18243 wine_fn_config_dll vdhcp.vxd enable_win16
18244 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18245 wine_fn_config_dll ver.dll16 enable_win16
18246 wine_fn_config_dll version enable_version implib
18247 wine_fn_config_test dlls
/version
/tests version_test
18248 wine_fn_config_dll vmm.vxd enable_win16
18249 wine_fn_config_dll vnbt.vxd enable_win16
18250 wine_fn_config_dll vnetbios.vxd enable_win16
18251 wine_fn_config_dll vssapi enable_vssapi
18252 wine_fn_config_dll vtdapi.vxd enable_win16
18253 wine_fn_config_dll vwin32.vxd enable_win16
18254 wine_fn_config_dll w32skrnl enable_win16
18255 wine_fn_config_dll w32sys.dll16 enable_win16
18256 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18257 wine_fn_config_test dlls
/wbemdisp
/tests wbemdisp_test
18258 wine_fn_config_dll wbemprox enable_wbemprox clean
18259 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
18260 wine_fn_config_dll webservices enable_webservices implib
18261 wine_fn_config_test dlls
/webservices
/tests webservices_test
18262 wine_fn_config_dll wer enable_wer implib
18263 wine_fn_config_test dlls
/wer
/tests wer_test
18264 wine_fn_config_dll wevtapi enable_wevtapi
18265 wine_fn_config_dll wiaservc enable_wiaservc clean
18266 wine_fn_config_test dlls
/wiaservc
/tests wiaservc_test
18267 wine_fn_config_dll wimgapi enable_wimgapi
18268 wine_fn_config_dll win32s16.dll16 enable_win16
18269 wine_fn_config_dll win87em.dll16 enable_win16
18270 wine_fn_config_dll winaspi.dll16 enable_win16
18271 wine_fn_config_dll windebug.dll16 enable_win16
18272 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
18273 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
18274 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18275 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
18276 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18277 wine_fn_config_dll winebus.sys enable_winebus_sys
18278 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18279 wine_fn_config_lib winecrt0
18280 wine_fn_config_dll wined3d enable_wined3d implib
18281 wine_fn_config_dll winegstreamer enable_winegstreamer
18282 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18283 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18284 wine_fn_config_dll winemapi enable_winemapi
18285 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18286 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18287 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18288 wine_fn_config_dll wineps16.drv16 enable_win16
18289 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18290 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18291 wine_fn_config_dll winex11.drv enable_winex11_drv
18292 wine_fn_config_dll wing.dll16 enable_win16
18293 wine_fn_config_dll wing32 enable_wing32
18294 wine_fn_config_dll winhttp enable_winhttp clean
,implib
18295 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
18296 wine_fn_config_dll wininet enable_wininet clean
,implib
18297 wine_fn_config_test dlls
/wininet
/tests wininet_test
18298 wine_fn_config_dll winmm enable_winmm clean
,implib
18299 wine_fn_config_test dlls
/winmm
/tests winmm_test
18300 wine_fn_config_dll winnls.dll16 enable_win16
18301 wine_fn_config_dll winnls32 enable_winnls32 implib
18302 wine_fn_config_dll winscard enable_winscard implib
18303 wine_fn_config_dll winsock.dll16 enable_win16
18304 wine_fn_config_dll winspool.drv enable_winspool_drv clean
,implib winspool
18305 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
18306 wine_fn_config_dll winsta enable_winsta
18307 wine_fn_config_dll wintab.dll16 enable_win16
18308 wine_fn_config_dll wintab32 enable_wintab32 implib
18309 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
18310 wine_fn_config_dll wintrust enable_wintrust implib
18311 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
18312 wine_fn_config_dll wlanapi enable_wlanapi
18313 wine_fn_config_dll wldap32 enable_wldap32 clean
,implib
18314 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
18315 wine_fn_config_dll wmasf enable_wmasf
18316 wine_fn_config_dll wmi enable_wmi
18317 wine_fn_config_dll wmiutils enable_wmiutils clean
18318 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
18319 wine_fn_config_dll wmp enable_wmp clean
18320 wine_fn_config_test dlls
/wmp
/tests wmp_test
18321 wine_fn_config_dll wmvcore enable_wmvcore
18322 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18323 wine_fn_config_dll wow32 enable_win16 implib
18324 wine_fn_config_dll wpc enable_wpc clean
18325 wine_fn_config_test dlls
/wpc
/tests wpc_test
18326 wine_fn_config_dll wpcap enable_wpcap
18327 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18328 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
18329 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18330 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
18331 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18332 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
18333 wine_fn_config_dll wsock32 enable_wsock32 implib
18334 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18335 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
18336 wine_fn_config_dll wuapi enable_wuapi clean
18337 wine_fn_config_dll wuaueng enable_wuaueng
18338 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18339 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18340 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18341 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18342 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18343 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18344 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18345 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18346 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18347 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18348 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18349 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18350 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18351 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18352 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18353 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18354 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18355 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18356 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18357 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18358 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18359 wine_fn_config_test dlls
/xaudio2_
7/tests xaudio2_7_test
18360 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18361 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18362 wine_fn_config_dll xinput1_1 enable_xinput1_1
18363 wine_fn_config_dll xinput1_2 enable_xinput1_2
18364 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18365 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
18366 wine_fn_config_dll xinput1_4 enable_xinput1_4
18367 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18368 wine_fn_config_dll xmllite enable_xmllite implib
18369 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
18370 wine_fn_config_dll xolehlp enable_xolehlp
18371 wine_fn_config_dll xpsprint enable_xpsprint
18372 wine_fn_config_dll xpssvcs enable_xpssvcs
18373 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
18374 wine_fn_config_makefile include enable_include clean
,install-dev
18375 wine_fn_config_makefile libs
/port enable_libs_port
18376 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,implib
,install-dev
,install-lib
18377 wine_fn_config_makefile libs
/wpp enable_libs_wpp
18378 wine_fn_config_makefile loader enable_loader clean
,install-lib
18379 wine_fn_config_makefile po enable_po clean
18380 wine_fn_config_program arp enable_arp
install
18381 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
18382 wine_fn_config_program attrib enable_attrib clean
,install
18383 wine_fn_config_program cabarc enable_cabarc
install
18384 wine_fn_config_program cacls enable_cacls
install
18385 wine_fn_config_program
clock enable_clock clean
,install
18386 wine_fn_config_program cmd enable_cmd clean
,install
18387 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
18388 wine_fn_config_program conhost enable_conhost
install
18389 wine_fn_config_program control enable_control
install
18390 wine_fn_config_program cscript enable_cscript clean
,install
18391 wine_fn_config_program dpnsvr enable_dpnsvr
install
18392 wine_fn_config_program dxdiag enable_dxdiag clean
,install
18393 wine_fn_config_program eject enable_eject
install
18394 wine_fn_config_program
expand enable_expand
install
18395 wine_fn_config_program explorer enable_explorer clean
,install
18396 wine_fn_config_program extrac32 enable_extrac32
install
18397 wine_fn_config_program findstr enable_findstr
install
18398 wine_fn_config_program fsutil enable_fsutil
install
18399 wine_fn_config_program hh enable_hh
install
18400 wine_fn_config_program hostname enable_hostname clean
,install
18401 wine_fn_config_program icacls enable_icacls
install
18402 wine_fn_config_program icinfo enable_icinfo
install
18403 wine_fn_config_program iexplore enable_iexplore
install
18404 wine_fn_config_program ipconfig enable_ipconfig clean
,install
18405 wine_fn_config_program lodctr enable_lodctr
install
18406 wine_fn_config_program mofcomp enable_mofcomp
install
18407 wine_fn_config_program mshta enable_mshta
install
18408 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
18409 wine_fn_config_program msinfo32 enable_msinfo32
install
18410 wine_fn_config_program net enable_net clean
,install
18411 wine_fn_config_program netsh enable_netsh
install
18412 wine_fn_config_program netstat enable_netstat clean
,install
18413 wine_fn_config_program ngen enable_ngen
install
18414 wine_fn_config_program notepad enable_notepad clean
,install,installbin
,manpage
18415 wine_fn_config_program oleview enable_oleview clean
,install
18416 wine_fn_config_program
ping enable_ping
install
18417 wine_fn_config_program plugplay enable_plugplay
install
18418 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
18419 wine_fn_config_program progman enable_progman clean
,install
18420 wine_fn_config_program reg enable_reg clean
,install
18421 wine_fn_config_test programs
/reg
/tests reg.exe_test
18422 wine_fn_config_program regasm enable_regasm
install
18423 wine_fn_config_program regedit enable_regedit clean
,install,installbin
,manpage
18424 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
18425 wine_fn_config_program regsvcs enable_regsvcs
install
18426 wine_fn_config_program regsvr32 enable_regsvr32 clean
,install,installbin
,manpage
18427 wine_fn_config_program rpcss enable_rpcss clean
,install
18428 wine_fn_config_program rundll.exe16 enable_win16
install
18429 wine_fn_config_program rundll32 enable_rundll32
install
18430 wine_fn_config_program sc enable_sc
install
18431 wine_fn_config_program schtasks enable_schtasks
install
18432 wine_fn_config_program sdbinst enable_sdbinst
install
18433 wine_fn_config_program secedit enable_secedit
install
18434 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
18435 wine_fn_config_program services enable_services clean
,install
18436 wine_fn_config_test programs
/services
/tests services.exe_test
18437 wine_fn_config_program shutdown enable_shutdown
install
18438 wine_fn_config_program spoolsv enable_spoolsv
install
18439 wine_fn_config_program start enable_start clean
,install
18440 wine_fn_config_program svchost enable_svchost
install
18441 wine_fn_config_program systeminfo enable_systeminfo
install
18442 wine_fn_config_program taskkill enable_taskkill clean
,install
18443 wine_fn_config_program tasklist enable_tasklist
install
18444 wine_fn_config_program taskmgr enable_taskmgr clean
,install
18445 wine_fn_config_program termsv enable_termsv
install
18446 wine_fn_config_program uninstaller enable_uninstaller clean
,install
18447 wine_fn_config_program unlodctr enable_unlodctr
install
18448 wine_fn_config_program view enable_view clean
,install
18449 wine_fn_config_program wevtutil enable_wevtutil
install
18450 wine_fn_config_program wineboot enable_wineboot clean
,install,installbin
,manpage
18451 wine_fn_config_program winebrowser enable_winebrowser
install
18452 wine_fn_config_program winecfg enable_winecfg clean
,install,installbin
,manpage
18453 wine_fn_config_program wineconsole enable_wineconsole clean
,install,installbin
,manpage
18454 wine_fn_config_program winedbg enable_winedbg clean
,install,installbin
,manpage
18455 wine_fn_config_program winedevice enable_winedevice
install
18456 wine_fn_config_program winefile enable_winefile clean
,install,installbin
,manpage
18457 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
18458 wine_fn_config_program winemine enable_winemine clean
,install,installbin
,manpage
18459 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
18460 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
18461 wine_fn_config_program winetest enable_winetest clean
18462 wine_fn_config_program winevdm enable_win16
install
18463 wine_fn_config_program winhelp.exe16 enable_win16
install
18464 wine_fn_config_program winhlp32 enable_winhlp32 clean
,install
18465 wine_fn_config_program winoldap.mod16 enable_win16
install
18466 wine_fn_config_program winver enable_winver
install
18467 wine_fn_config_program wmic enable_wmic clean
,install
18468 wine_fn_config_program wmplayer enable_wmplayer
install
18469 wine_fn_config_program wordpad enable_wordpad clean
,install
18470 wine_fn_config_program
write enable_write clean
,install
18471 wine_fn_config_program wscript enable_wscript clean
,install
18472 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
18473 wine_fn_config_program wusa enable_wusa
install
18474 wine_fn_config_program xcopy enable_xcopy clean
,install
18475 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
18476 wine_fn_config_makefile server enable_server clean
,install-lib
18477 wine_fn_config_tool tools clean
18478 wine_fn_config_tool tools
/sfnt2fon clean
18479 wine_fn_config_tool tools
/widl clean
,install-dev
18480 wine_fn_config_tool tools
/winebuild clean
,install-dev
18481 wine_fn_config_tool tools
/winedump clean
,install-dev
18482 wine_fn_config_tool tools
/winegcc clean
,install-dev
18483 wine_fn_config_tool tools
/winemaker clean
,install-dev
18484 wine_fn_config_tool tools
/wmc clean
,install-dev
18485 wine_fn_config_tool tools
/wrc clean
,install-dev
18488 wine_fn_append_file CONFIGURE_TARGETS
"TAGS"
18489 wine_fn_append_file CONFIGURE_TARGETS
"tags"
18490 wine_fn_append_file CONFIGURE_TARGETS
"autom4te.cache"
18491 wine_fn_append_file CONFIGURE_TARGETS
"config.log"
18492 wine_fn_append_file CONFIGURE_TARGETS
"config.status"
18493 wine_fn_append_file CONFIGURE_TARGETS
"include/config.h"
18494 wine_fn_append_file CONFIGURE_TARGETS
"include/stamp-h"
18495 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS
"loader/wine"
18497 if test "x$enable_tools" != xno
18499 wine_fn_append_file CONFIGURE_TARGETS
"tools/makedep$ac_exeext"
18500 ac_config_commands
="$ac_config_commands tools/makedep"
18504 ac_config_commands
="$ac_config_commands Makefile"
18507 ac_config_files
="$ac_config_files Make.tmp:Makefile.in"
18511 if test "x$enable_maintainer_mode" = xyes
18513 wine_fn_append_rule
"configure: configure.ac aclocal.m4
18514 autoconf --warnings=all
18515 include/config.h.in: include/stamp-h.in
18516 include/stamp-h.in: configure.ac aclocal.m4
18517 autoheader --warnings=all
18518 @echo timestamp > \$@"
18521 if test "x$enable_tools" != xno
18523 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18524 @./config.status tools/makedep
18525 Makefile: tools/makedep$ac_exeext"
18527 wine_fn_append_rule
"\$(MAKEDEP):
18528 @echo \"You need to run make in $TOOLSDIR first\" && false"
18531 if test -n "$with_wine64"
18533 wine_fn_append_rule
"all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18535 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18536 $with_wine64/loader/wine:
18537 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18538 $with_wine64/loader/wine-preloader:
18539 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18541 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18543 WINELOADER_INSTALL
="wine.inf"
18545 wine_fn_append_rule
"install install-lib::
18546 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18548 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18550 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
18551 *) wine_fn_append_rule
"install install-lib::
18552 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18554 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18558 $as_echo " done" >&6
18559 cat >confcache
<<\_ACEOF
18560 # This file is a shell script that caches the results of configure
18561 # tests run on this system so they can be shared between configure
18562 # scripts and configure runs, see configure's option --config-cache.
18563 # It is not useful on other systems. If it contains results you don't
18564 # want to keep, you may remove or edit it.
18566 # config.status only pays attention to the cache file if you give it
18567 # the --recheck option to rerun configure.
18569 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18570 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18571 # following values.
18575 # The following way of writing the cache mishandles newlines in values,
18576 # but we know of no workaround that is simple, portable, and efficient.
18577 # So, we kill variables containing newlines.
18578 # Ultrix sh set writes to stderr and can't be redirected directly,
18579 # and sets the high bit in the cache file unless we assign to the vars.
18581 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18582 eval ac_val
=\$
$ac_var
18586 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18587 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18590 _ | IFS | as_nl
) ;; #(
18591 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
18592 *) { eval $ac_var=; unset $ac_var;} ;;
18598 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18599 *${as_nl}ac_space
=\
*)
18600 # `set' does not quote correctly, so add quotes: double-quote
18601 # substitution turns \\\\ into \\, and sed turns \\ into \.
18604 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18607 # `set' quotes correctly as required by POSIX, so do not add quotes.
18608 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18617 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18619 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18621 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18622 if test -w "$cache_file"; then
18623 if test "x$cache_file" != "x/dev/null"; then
18624 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18625 $as_echo "$as_me: updating cache $cache_file" >&6;}
18626 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
18627 cat confcache
>"$cache_file"
18629 case $cache_file in #(
18631 mv -f confcache
"$cache_file"$$
&&
18632 mv -f "$cache_file"$$
"$cache_file" ;; #(
18634 mv -f confcache
"$cache_file" ;;
18639 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18640 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18645 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18646 # Let make expand exec_prefix.
18647 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18649 DEFS
=-DHAVE_CONFIG_H
18654 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18655 # 1. Remove the extension, and $U if already installed.
18656 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18657 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18658 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18659 # will be set to the directory where LIBOBJS objects are built.
18660 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18661 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
18663 LIBOBJS
=$ac_libobjs
18665 LTLIBOBJS
=$ac_ltlibobjs
18669 : "${CONFIG_STATUS=./config.status}"
18671 ac_clean_files_save
=$ac_clean_files
18672 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18673 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18674 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18676 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18678 # Generated by $as_me.
18679 # Run this file to recreate the current configuration.
18680 # Compiler output produced by configure, useful for debugging
18681 # configure, is in config.log if it exists.
18684 ac_cs_recheck=false
18687 SHELL=\${CONFIG_SHELL-$SHELL}
18690 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
18691 ## -------------------- ##
18692 ## M4sh Initialization. ##
18693 ## -------------------- ##
18695 # Be more Bourne compatible
18696 DUALCASE
=1; export DUALCASE
# for MKS sh
18697 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
18700 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18701 # is contrary to our usage. Disable this feature.
18702 alias -g '${1+"$@"}'='"$@"'
18703 setopt NO_GLOB_SUBST
18705 case `(set -o) 2>/dev/null` in #(
18717 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18718 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18719 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18720 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18721 # Prefer a ksh shell builtin over an external printf program on Solaris,
18722 # but without wasting forks for bash or zsh.
18723 if test -z "$BASH_VERSION$ZSH_VERSION" \
18724 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18725 as_echo='print
-r --'
18726 as_echo_n='print
-rn --'
18727 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18728 as_echo='printf %s
\n'
18729 as_echo_n='printf %s
'
18731 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18732 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18733 as_echo_n='/usr
/ucb
/echo -n'
18735 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18736 as_echo_n_body='eval
18740 expr "X$arg" : "X\\(.*\\)$as_nl";
18741 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18743 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18745 export as_echo_n_body
18746 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18748 export as_echo_body
18749 as_echo='sh
-c $as_echo_body as_echo
'
18752 # The user is always right.
18753 if test "${PATH_SEPARATOR+set}" != set; then
18755 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18756 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18763 # We need space, tab and new line, in precisely that order. Quoting is
18764 # there to prevent editors from complaining about space-tab.
18765 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18766 # splitting by setting IFS to empty value.)
18769 # Find who we are. Look in the path if we contain no directory separator.
18772 *[\\/]* ) as_myself=$0 ;;
18773 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18774 for as_dir in $PATH
18777 test -z "$as_dir" && as_dir=.
18778 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18784 # We did not find ourselves, most probably we were run as `sh COMMAND'
18785 # in which case we are not to be found in the path.
18786 if test "x$as_myself" = x
; then
18789 if test ! -f "$as_myself"; then
18790 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18794 # Unset variables that we do not need and which cause bugs (e.g. in
18795 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18796 # suppresses any "Segmentation fault" message there. '((' could
18797 # trigger a bug in pdksh 5.2.14.
18798 for as_var
in BASH_ENV ENV MAIL MAILPATH
18799 do eval test x\
${$as_var+set} = xset \
18800 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18813 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18816 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18817 # ----------------------------------------
18818 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18819 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18820 # script with STATUS, using 1 if that was 0.
18823 as_status
=$1; test $as_status -eq 0 && as_status
=1
18825 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18826 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18828 $as_echo "$as_me: error: $2" >&2
18829 as_fn_exit
$as_status
18833 # as_fn_set_status STATUS
18834 # -----------------------
18835 # Set $? to STATUS, without forking.
18836 as_fn_set_status
()
18839 } # as_fn_set_status
18841 # as_fn_exit STATUS
18842 # -----------------
18843 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18847 as_fn_set_status
$1
18853 # Portably unset VAR.
18856 { eval $1=; unset $1;}
18858 as_unset
=as_fn_unset
18859 # as_fn_append VAR VALUE
18860 # ----------------------
18861 # Append the text in VALUE to the end of the definition contained in VAR. Take
18862 # advantage of any shell optimizations that allow amortized linear growth over
18863 # repeated appends, instead of the typical quadratic growth present in naive
18865 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18866 eval 'as_fn_append ()
18877 # as_fn_arith ARG...
18878 # ------------------
18879 # Perform arithmetic evaluation on the ARGs, and store the result in the
18880 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18881 # must be portable across $(()) and expr.
18882 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18883 eval 'as_fn_arith ()
18890 as_val
=`expr "$@" || test $? -eq 1`
18895 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18896 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18902 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18903 as_basename
=basename
18908 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18914 as_me
=`$as_basename -- "$0" ||
18915 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18916 X"$0" : 'X\(//\)$' \| \
18917 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18919 sed '/^.*\/\([^/][^/]*\)\/*$/{
18933 # Avoid depending upon Character Ranges.
18934 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18935 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18936 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18937 as_cr_digits
='0123456789'
18938 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18940 ECHO_C
= ECHO_N
= ECHO_T
=
18941 case `echo -n x` in #(((((
18943 case `echo 'xy\c'` in
18944 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18946 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18953 rm -f conf$$ conf$$.exe conf$$.
file
18954 if test -d conf$$.dir
; then
18955 rm -f conf$$.dir
/conf$$.
file
18958 mkdir conf$$.dir
2>/dev
/null
18960 if (echo >conf$$.
file) 2>/dev
/null
; then
18961 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18963 # ... but there are two gotchas:
18964 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18965 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18966 # In both cases, we have to default to `cp -pR'.
18967 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18969 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18977 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18978 rmdir conf$$.dir
2>/dev
/null
18983 # Create "$as_dir" as a directory, including parents if necessary.
18988 -*) as_dir
=.
/$as_dir;;
18990 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18994 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18995 *) as_qdir
=$as_dir;;
18997 as_dirs
="'$as_qdir' $as_dirs"
18998 as_dir
=`$as_dirname -- "$as_dir" ||
18999 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19000 X"$as_dir" : 'X\(//\)[^/]' \| \
19001 X"$as_dir" : 'X\(//\)$' \| \
19002 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19003 $as_echo X"$as_dir" |
19004 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19008 /^X\(\/\/\)[^/].*/{
19021 test -d "$as_dir" && break
19023 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
19024 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
19028 if mkdir
-p .
2>/dev
/null
; then
19029 as_mkdir_p
='mkdir -p "$as_dir"'
19031 test -d .
/-p && rmdir .
/-p
19036 # as_fn_executable_p FILE
19037 # -----------------------
19038 # Test if FILE is an executable regular file.
19039 as_fn_executable_p
()
19041 test -f "$1" && test -x "$1"
19042 } # as_fn_executable_p
19043 as_test_x
='test -x'
19044 as_executable_p
=as_fn_executable_p
19046 # Sed expression to map a string onto a valid CPP name.
19047 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19049 # Sed expression to map a string onto a valid variable name.
19050 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19054 ## ----------------------------------- ##
19055 ## Main body of $CONFIG_STATUS script. ##
19056 ## ----------------------------------- ##
19058 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
19060 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19061 # Save the log message, to keep $0 and so on meaningful, and to
19062 # report actual input values of CONFIG_FILES etc. instead of their
19063 # values after options handling.
19065 This file was extended by Wine $as_me 1.9.18, which was
19066 generated by GNU Autoconf 2.69. Invocation command line was
19068 CONFIG_FILES = $CONFIG_FILES
19069 CONFIG_HEADERS = $CONFIG_HEADERS
19070 CONFIG_LINKS = $CONFIG_LINKS
19071 CONFIG_COMMANDS = $CONFIG_COMMANDS
19074 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19079 case $ac_config_files in *"
19080 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
19083 case $ac_config_headers in *"
19084 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
19088 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19089 # Files that config.status was made for.
19090 config_files="$ac_config_files"
19091 config_headers="$ac_config_headers"
19092 config_links="$ac_config_links"
19093 config_commands="$ac_config_commands"
19097 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19099 \`$as_me' instantiates files and other configuration actions
19100 from templates according to the current configuration. Unless the files
19101 and actions are specified as TAGs, all are instantiated by default.
19103 Usage: $0 [OPTION]... [TAG]...
19105 -h, --help print this help, then exit
19106 -V, --version print version number and configuration settings, then exit
19107 --config print configuration, then exit
19108 -q, --quiet, --silent
19109 do not print progress messages
19110 -d, --debug don't remove temporary files
19111 --recheck update $as_me by reconfiguring in the same conditions
19112 --file=FILE[:TEMPLATE]
19113 instantiate the configuration file FILE
19114 --header=FILE[:TEMPLATE]
19115 instantiate the configuration header FILE
19117 Configuration files:
19120 Configuration headers:
19123 Configuration links:
19126 Configuration commands:
19129 Report bugs to <wine-devel@winehq.org>.
19130 Wine home page: <http://www.winehq.org>."
19133 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19134 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19136 Wine config.status 1.9.18
19137 configured by $0, generated by GNU Autoconf 2.69,
19138 with options \\"\$ac_cs_config\\"
19140 Copyright (C) 2012 Free Software Foundation, Inc.
19141 This config.status script is free software; the Free Software Foundation
19142 gives unlimited permission to copy, distribute and modify it."
19146 test -n "\$AWK" || AWK=awk
19149 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19150 # The default lists apply if the user does not specify any file.
19156 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19157 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
19161 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19173 # Handling of the options.
19174 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
19176 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
19177 $as_echo "$ac_cs_version"; exit ;;
19178 --config |
--confi |
--conf |
--con |
--co |
--c )
19179 $as_echo "$ac_cs_config"; exit ;;
19180 --debug |
--debu |
--deb |
--de |
--d |
-d )
19182 --file |
--fil |
--fi |
--f )
19185 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19186 '') as_fn_error $?
"missing file argument" ;;
19188 as_fn_append CONFIG_FILES
" '$ac_optarg'"
19189 ac_need_defaults
=false
;;
19190 --header |
--heade |
--head |
--hea )
19193 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19195 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
19196 ac_need_defaults
=false
;;
19198 # Conflict between --help and --header
19199 as_fn_error $?
"ambiguous option: \`$1'
19200 Try \`$0 --help' for more information.";;
19201 --help |
--hel |
-h )
19202 $as_echo "$ac_cs_usage"; exit ;;
19203 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
19204 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
19207 # This is an error.
19208 -*) as_fn_error $?
"unrecognized option: \`$1'
19209 Try \`$0 --help' for more information." ;;
19211 *) as_fn_append ac_config_targets
" $1"
19212 ac_need_defaults
=false
;;
19218 ac_configure_extra_args
=
19220 if $ac_cs_silent; then
19222 ac_configure_extra_args
="$ac_configure_extra_args --silent"
19226 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19227 if \$ac_cs_recheck; then
19228 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19230 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19231 CONFIG_SHELL='$SHELL'
19232 export CONFIG_SHELL
19237 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19241 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19242 ## Running $as_me. ##
19248 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19252 wine_fn_output_makedep ()
19254 as_dir=tools; as_fn_mkdir_p
19255 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19257 wine_fn_output_makefile ()
19259 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19260 `cat $wine_rules_file`
19262 as_fn_error $? "could not create Makefile" "$LINENO" 5
19267 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19269 # Handling of arguments.
19270 for ac_config_target
in $ac_config_targets
19272 case $ac_config_target in
19273 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
19274 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
19275 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19276 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19277 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19278 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19279 "fonts/wingding.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19280 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19281 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
19282 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19283 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
19284 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
19285 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19287 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19292 # If the user did not use the arguments to specify the items to instantiate,
19293 # then the envvar interface is used. Set only those that are not.
19294 # We use the long form for the default assignment because of an extremely
19295 # bizarre bug on SunOS 4.1.3.
19296 if $ac_need_defaults; then
19297 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
19298 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
19299 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
19300 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
19303 # Have a temporary directory for convenience. Make it in the build tree
19304 # simply because there is no reason against having it here, and in addition,
19305 # creating and moving files from /tmp can sometimes cause problems.
19306 # Hook for its removal unless debugging.
19307 # Note that there is a small window in which the directory will not be cleaned:
19308 # after its creation but before its name has been assigned to `$tmp'.
19312 trap 'exit_status=$?
19313 : "${ac_tmp:=$tmp}"
19314 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19316 trap 'as_fn_exit 1' 1 2 13 15
19318 # Create a (secure) tmp directory for tmp files.
19321 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19325 tmp
=.
/conf$$
-$RANDOM
19326 (umask 077 && mkdir
"$tmp")
19327 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
19330 # Set up the scripts for CONFIG_FILES section.
19331 # No need to generate them if there are no CONFIG_FILES.
19332 # This happens for instance with `./config.status config.h'.
19333 if test -n "$CONFIG_FILES"; then
19336 ac_cr
=`echo X | tr X '\015'`
19337 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19338 # But we know of no other shell where ac_cr would be empty at this
19339 # point, so we can use a bashism as a fallback.
19340 if test "x$ac_cr" = x
; then
19341 eval ac_cr
=\$
\'\\r
\'
19343 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19344 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19347 ac_cs_awk_cr
=$ac_cr
19350 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19355 echo "cat >conf$$subs.awk <<_ACEOF" &&
19356 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19358 } >conf$$subs.sh ||
19359 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19360 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19362 for ac_last_try in false false false false false :; do
19363 . ./conf$$subs.sh ||
19364 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19366 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
19367 if test $ac_delim_n = $ac_delim_num; then
19369 elif $ac_last_try; then
19370 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19372 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19375 rm -f conf$$subs.sh
19377 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19378 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
19382 s/^/S["/; s
/!.
*/"]=/
19392 s/\(.\{148\}\)..*/\1/
19394 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
19399 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19406 s/\(.\{148\}\)..*/\1/
19408 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
19412 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19417 ' <conf$$subs.awk | sed '
19422 ' >>$CONFIG_STATUS || ac_write_fail=1
19423 rm -f conf$$subs.awk
19424 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19426 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
19427 for (key in S) S_is_set[key] = 1
19433 nfields = split(line, field, "@
")
19435 len = length(field[1])
19436 for (i = 2; i < nfields; i++) {
19438 keylen = length(key)
19439 if (S_is_set[key]) {
19441 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19442 len += length(value) + length(field[++i])
19453 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19454 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19455 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
19458 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
19459 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
19462 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19463 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
19464 # trailing colons and then remove the whole line if VPATH becomes empty
19465 # (actually we leave an empty line to preserve line numbers).
19466 if test "x
$srcdir" = x.; then
19467 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19485 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19486 fi # test -n "$CONFIG_FILES"
19488 # Set up the scripts for CONFIG_HEADERS section.
19489 # No need to generate them if there are no CONFIG_HEADERS.
19490 # This happens for instance with `./config.status Makefile'.
19491 if test -n "$CONFIG_HEADERS"; then
19492 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
19496 # Transform confdefs.h into an awk script `defines.awk', embedded as
19497 # here-document in config.status, that substitutes the proper values into
19498 # config.h.in to produce config.h.
19500 # Create a delimiter string that does not exist in confdefs.h, to ease
19501 # handling of long lines.
19503 for ac_last_try in false false :; do
19504 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
19505 if test -z "$ac_tt"; then
19507 elif $ac_last_try; then
19508 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
19510 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19514 # For the awk script, D is an array of macro values keyed by name,
19515 # likewise P contains macro parameters if any. Preserve backslash
19516 # newline sequences.
19518 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19520 s/.\{148\}/&'"$ac_delim"'/g
19523 s/^[ ]*#[ ]*define[ ][ ]*/ /
19530 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
19532 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
19536 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
19537 D["\
1"]=" \
3\\\\\\n
"\\/p
19539 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
19544 s/.\{148\}/&'"$ac_delim"'/g
19549 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
19552 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
19554 ' <confdefs.h | sed '
19555 s/'"$ac_delim"'/"\\\
19556 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19558 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19559 for (key in D) D_is_set[key] = 1
19562 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19564 split(line, arg, " ")
19565 if (arg[1] == "#") {
19569 defundef
= substr
(arg
[1], 2)
19572 split(mac1
, mac2
, "(") #)
19574 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
19575 if (D_is_set
[macro
]) {
19576 # Preserve the white space surrounding the "#".
19577 print prefix
"define", macro P
[macro
] D
[macro
]
19580 # Replace #undef with comments. This is necessary, for example,
19581 # in the case of _POSIX_SOURCE, which is predefined and required
19582 # on some systems where configure will not decide to define it.
19583 if (defundef
== "undef") {
19584 print
"/*", prefix defundef
, macro
, "*/"
19592 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19593 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
19594 fi # test -n "$CONFIG_HEADERS"
19597 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19602 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19604 case $ac_mode$ac_tag in
19606 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
19607 :[FH
]-) ac_tag
=-:-;;
19608 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19625 -) ac_f
="$ac_tmp/stdin";;
19626 *) # Look for the file first in the build tree, then in the source tree
19627 # (if the path is not absolute). The absolute path cannot be DOS-style,
19628 # because $ac_f cannot contain `:'.
19632 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19634 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19636 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19637 as_fn_append ac_file_inputs
" '$ac_f'"
19640 # Let's still pretend it is `configure' which instantiates (i.e., don't
19641 # use $as_me), people would be surprised to read:
19642 # /* config.h. Generated by config.status. */
19643 configure_input
='Generated from '`
19644 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19646 if test x
"$ac_file" != x-
; then
19647 configure_input
="$ac_file. $configure_input"
19648 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19649 $as_echo "$as_me: creating $ac_file" >&6;}
19651 # Neutralize special characters interpreted by sed in replacement strings.
19652 case $configure_input in #(
19653 *\
&* |
*\|
* |
*\\* )
19654 ac_sed_conf_input
=`$as_echo "$configure_input" |
19655 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19656 *) ac_sed_conf_input
=$configure_input;;
19660 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
19661 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
19666 ac_dir
=`$as_dirname -- "$ac_file" ||
19667 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19668 X"$ac_file" : 'X\(//\)[^/]' \| \
19669 X"$ac_file" : 'X\(//\)$' \| \
19670 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19671 $as_echo X"$ac_file" |
19672 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19676 /^X\(\/\/\)[^/].*/{
19689 as_dir
="$ac_dir"; as_fn_mkdir_p
19693 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19695 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19696 # A ".." for each directory in $ac_dir_suffix.
19697 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19698 case $ac_top_builddir_sub in
19699 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19700 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19703 ac_abs_top_builddir
=$ac_pwd
19704 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19705 # for backward compatibility:
19706 ac_top_builddir
=$ac_top_build_prefix
19709 .
) # We are building in place.
19711 ac_top_srcdir
=$ac_top_builddir_sub
19712 ac_abs_top_srcdir
=$ac_pwd ;;
19713 [\\/]* | ?
:[\\/]* ) # Absolute name.
19714 ac_srcdir
=$srcdir$ac_dir_suffix;
19715 ac_top_srcdir
=$srcdir
19716 ac_abs_top_srcdir
=$srcdir ;;
19717 *) # Relative name.
19718 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19719 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19720 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19722 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19733 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19734 # If the template does not know about datarootdir, expand it.
19735 # FIXME: This hack should be removed a few years after 2.60.
19736 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19747 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19748 *datarootdir
*) ac_datarootdir_seen
=yes;;
19749 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19751 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19753 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19754 ac_datarootdir_hack='
19755 s&@datadir@&$datadir&g
19756 s&@docdir@&$docdir&g
19757 s&@infodir@&$infodir&g
19758 s&@localedir@&$localedir&g
19759 s&@mandir@&$mandir&g
19760 s&\\\${datarootdir}&$datarootdir&g' ;;
19764 # Neutralize VPATH when `$srcdir' = `.'.
19765 # Shell code in configure.ac might set extrasub.
19766 # FIXME: do we really want to maintain this feature?
19767 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19768 ac_sed_extra="$ac_vpsub
19771 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19773 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19774 s|@configure_input@|
$ac_sed_conf_input|
;t t
19775 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19776 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19777 s
&@srcdir@
&$ac_srcdir&;t t
19778 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19779 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19780 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19781 s
&@builddir@
&$ac_builddir&;t t
19782 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19783 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19784 $ac_datarootdir_hack
19786 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19787 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19789 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19790 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19791 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19792 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19794 which seems to be undefined. Please make sure it is defined" >&5
19795 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19796 which seems to be undefined. Please make sure it is defined" >&2;}
19798 rm -f "$ac_tmp/stdin"
19800 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19801 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19803 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19809 if test x"$ac_file" != x-; then
19811 $as_echo "/* $configure_input */" \
19812 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19813 } >"$ac_tmp/config.h" \
19814 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19815 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19816 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19817 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19820 mv "$ac_tmp/config.h" "$ac_file" \
19821 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19824 $as_echo "/* $configure_input */" \
19825 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19826 || as_fn_error $? "could not create -" "$LINENO" 5
19834 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
19837 # Prefer the file from the source tree if names are identical.
19838 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19839 ac_source=$srcdir/$ac_source
19842 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19843 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19845 if test ! -r "$ac_source"; then
19846 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19850 # Try a relative symlink, then a hard link, then a copy.
19852 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19853 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19855 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19856 ln "$ac_source" "$ac_file" 2>/dev/null ||
19857 cp -p "$ac_source" "$ac_file" ||
19858 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19861 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19862 $as_echo "$as_me: executing $ac_file commands" >&6;}
19867 case $ac_file$ac_mode in
19868 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19869 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19870 "Makefile":C) wine_fn_output_makefile Makefile ;;
19878 ac_clean_files=$ac_clean_files_save
19880 test $ac_write_fail = 0 ||
19881 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19884 # configure is writing to config.log, and then calls config.status.
19885 # config.status does its own redirection, appending to config.log.
19886 # Unfortunately, on DOS this fails, as config.log is still kept open
19887 # by configure, so config.status won't be able to
write to it
; its
19888 # output is simply discarded. So we exec the FD to /dev/null,
19889 # effectively closing config.log, so it can be properly (re)opened and
19890 # appended to by config.status. When coming back to configure, we
19891 # need to make the FD available again.
19892 if test "$no_create" != yes; then
19894 ac_config_status_args
=
19895 test "$silent" = yes &&
19896 ac_config_status_args
="$ac_config_status_args --quiet"
19898 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19900 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19901 # would make configure fail if this is the last instruction.
19902 $ac_cs_success || as_fn_exit
1
19904 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19906 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19910 if test "$no_create" = "yes"
19916 if test "x$wine_notices" != x
; then
19919 for msg
in $wine_notices; do
19921 if ${msg:+false} :; then :
19924 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19925 $as_echo "$as_me: $msg" >&6;}
19930 for msg
in $wine_warnings; do
19932 if ${msg:+false} :; then :
19936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19937 $as_echo "$as_me: WARNING: $msg" >&2;}
19943 $as_me: Finished. Do '${ac_make}' to compile Wine.