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_apiquery_l1_1_0
878 enable_api_ms_win_core_atoms_l1_1_0
879 enable_api_ms_win_core_com_l1_1_0
880 enable_api_ms_win_core_com_l1_1_1
881 enable_api_ms_win_core_console_l1_1_0
882 enable_api_ms_win_core_console_l2_1_0
883 enable_api_ms_win_core_datetime_l1_1_0
884 enable_api_ms_win_core_datetime_l1_1_1
885 enable_api_ms_win_core_debug_l1_1_0
886 enable_api_ms_win_core_debug_l1_1_1
887 enable_api_ms_win_core_delayload_l1_1_1
888 enable_api_ms_win_core_errorhandling_l1_1_0
889 enable_api_ms_win_core_errorhandling_l1_1_1
890 enable_api_ms_win_core_errorhandling_l1_1_2
891 enable_api_ms_win_core_fibers_l1_1_0
892 enable_api_ms_win_core_fibers_l1_1_1
893 enable_api_ms_win_core_file_l1_1_0
894 enable_api_ms_win_core_file_l1_2_0
895 enable_api_ms_win_core_file_l1_2_1
896 enable_api_ms_win_core_file_l2_1_0
897 enable_api_ms_win_core_file_l2_1_1
898 enable_api_ms_win_core_handle_l1_1_0
899 enable_api_ms_win_core_heap_l1_1_0
900 enable_api_ms_win_core_heap_l1_2_0
901 enable_api_ms_win_core_heap_obsolete_l1_1_0
902 enable_api_ms_win_core_interlocked_l1_1_0
903 enable_api_ms_win_core_interlocked_l1_2_0
904 enable_api_ms_win_core_io_l1_1_1
905 enable_api_ms_win_core_job_l1_1_0
906 enable_api_ms_win_core_job_l2_1_0
907 enable_api_ms_win_core_kernel32_legacy_l1_1_0
908 enable_api_ms_win_core_kernel32_legacy_l1_1_1
909 enable_api_ms_win_core_kernel32_private_l1_1_1
910 enable_api_ms_win_core_libraryloader_l1_1_0
911 enable_api_ms_win_core_libraryloader_l1_1_1
912 enable_api_ms_win_core_libraryloader_l1_2_0
913 enable_api_ms_win_core_localization_l1_1_0
914 enable_api_ms_win_core_localization_l1_2_0
915 enable_api_ms_win_core_localization_l1_2_1
916 enable_api_ms_win_core_localization_obsolete_l1_1_0
917 enable_api_ms_win_core_localization_obsolete_l1_2_0
918 enable_api_ms_win_core_localregistry_l1_1_0
919 enable_api_ms_win_core_memory_l1_1_0
920 enable_api_ms_win_core_memory_l1_1_1
921 enable_api_ms_win_core_memory_l1_1_2
922 enable_api_ms_win_core_misc_l1_1_0
923 enable_api_ms_win_core_namedpipe_l1_1_0
924 enable_api_ms_win_core_namedpipe_l1_2_0
925 enable_api_ms_win_core_namespace_l1_1_0
926 enable_api_ms_win_core_normalization_l1_1_0
927 enable_api_ms_win_core_path_l1_1_0
928 enable_api_ms_win_core_privateprofile_l1_1_1
929 enable_api_ms_win_core_processenvironment_l1_1_0
930 enable_api_ms_win_core_processenvironment_l1_2_0
931 enable_api_ms_win_core_processthreads_l1_1_0
932 enable_api_ms_win_core_processthreads_l1_1_1
933 enable_api_ms_win_core_processthreads_l1_1_2
934 enable_api_ms_win_core_profile_l1_1_0
935 enable_api_ms_win_core_psapi_l1_1_0
936 enable_api_ms_win_core_registry_l1_1_0
937 enable_api_ms_win_core_registryuserspecific_l1_1_0
938 enable_api_ms_win_core_rtlsupport_l1_1_0
939 enable_api_ms_win_core_rtlsupport_l1_2_0
940 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
941 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
942 enable_api_ms_win_core_sidebyside_l1_1_0
943 enable_api_ms_win_core_string_l1_1_0
944 enable_api_ms_win_core_string_l2_1_0
945 enable_api_ms_win_core_string_obsolete_l1_1_0
946 enable_api_ms_win_core_stringansi_l1_1_0
947 enable_api_ms_win_core_synch_l1_1_0
948 enable_api_ms_win_core_synch_l1_2_0
949 enable_api_ms_win_core_sysinfo_l1_1_0
950 enable_api_ms_win_core_sysinfo_l1_2_0
951 enable_api_ms_win_core_sysinfo_l1_2_1
952 enable_api_ms_win_core_threadpool_l1_1_0
953 enable_api_ms_win_core_threadpool_l1_2_0
954 enable_api_ms_win_core_threadpool_legacy_l1_1_0
955 enable_api_ms_win_core_timezone_l1_1_0
956 enable_api_ms_win_core_toolhelp_l1_1_0
957 enable_api_ms_win_core_url_l1_1_0
958 enable_api_ms_win_core_util_l1_1_0
959 enable_api_ms_win_core_version_l1_1_0
960 enable_api_ms_win_core_versionansi_l1_1_0
961 enable_api_ms_win_core_winrt_error_l1_1_0
962 enable_api_ms_win_core_winrt_error_l1_1_1
963 enable_api_ms_win_core_winrt_l1_1_0
964 enable_api_ms_win_core_winrt_registration_l1_1_0
965 enable_api_ms_win_core_winrt_string_l1_1_0
966 enable_api_ms_win_core_wow64_l1_1_0
967 enable_api_ms_win_core_xstate_l2_1_0
968 enable_api_ms_win_crt_conio_l1_1_0
969 enable_api_ms_win_crt_convert_l1_1_0
970 enable_api_ms_win_crt_environment_l1_1_0
971 enable_api_ms_win_crt_filesystem_l1_1_0
972 enable_api_ms_win_crt_heap_l1_1_0
973 enable_api_ms_win_crt_locale_l1_1_0
974 enable_api_ms_win_crt_math_l1_1_0
975 enable_api_ms_win_crt_multibyte_l1_1_0
976 enable_api_ms_win_crt_private_l1_1_0
977 enable_api_ms_win_crt_process_l1_1_0
978 enable_api_ms_win_crt_runtime_l1_1_0
979 enable_api_ms_win_crt_stdio_l1_1_0
980 enable_api_ms_win_crt_string_l1_1_0
981 enable_api_ms_win_crt_time_l1_1_0
982 enable_api_ms_win_crt_utility_l1_1_0
983 enable_api_ms_win_downlevel_advapi32_l1_1_0
984 enable_api_ms_win_downlevel_advapi32_l2_1_0
985 enable_api_ms_win_downlevel_normaliz_l1_1_0
986 enable_api_ms_win_downlevel_ole32_l1_1_0
987 enable_api_ms_win_downlevel_shell32_l1_1_0
988 enable_api_ms_win_downlevel_shlwapi_l1_1_0
989 enable_api_ms_win_downlevel_shlwapi_l2_1_0
990 enable_api_ms_win_downlevel_user32_l1_1_0
991 enable_api_ms_win_downlevel_version_l1_1_0
992 enable_api_ms_win_eventing_classicprovider_l1_1_0
993 enable_api_ms_win_eventing_provider_l1_1_0
994 enable_api_ms_win_eventlog_legacy_l1_1_0
995 enable_api_ms_win_ntuser_dc_access_l1_1_0
996 enable_api_ms_win_security_base_l1_1_0
997 enable_api_ms_win_security_base_l1_2_0
998 enable_api_ms_win_security_lsalookup_l1_1_0
999 enable_api_ms_win_security_lsalookup_l1_1_1
1000 enable_api_ms_win_security_sddl_l1_1_0
1001 enable_api_ms_win_service_core_l1_1_1
1002 enable_api_ms_win_service_management_l1_1_0
1003 enable_api_ms_win_service_winsvc_l1_2_0
1004 enable_api_ms_win_shell_shellfolders_l1_1_0
1017 enable_bluetoothapis
1050 enable_d3dcompiler_33
1051 enable_d3dcompiler_34
1052 enable_d3dcompiler_35
1053 enable_d3dcompiler_36
1054 enable_d3dcompiler_37
1055 enable_d3dcompiler_38
1056 enable_d3dcompiler_39
1057 enable_d3dcompiler_40
1058 enable_d3dcompiler_41
1059 enable_d3dcompiler_42
1060 enable_d3dcompiler_43
1061 enable_d3dcompiler_46
1062 enable_d3dcompiler_47
1140 enable_explorerframe
1141 enable_ext_ms_win_gdi_devcaps_l1_1_0
1307 enable_photometadatahandler
1397 enable_windowscodecs
1398 enable_windowscodecsext
1401 enable_winecoreaudio_drv
1403 enable_winegstreamer
1404 enable_winejoystick_drv
1410 enable_winepulse_drv
1411 enable_wineqtdecoder
1480 enable_aspnet_regiis
1516 enable_presentationfontcache
1529 enable_servicemodelreg
1551 enable_winemenubuilder
1553 enable_winemsibuilder
1568 ac_precious_vars
='build_alias
1623 # Initialize some variables set by options.
1625 ac_init_version
=false
1626 ac_unrecognized_opts
=
1627 ac_unrecognized_sep
=
1628 # The variables have the same names as the options, with
1629 # dashes changed to underlines.
1630 cache_file
=/dev
/null
1637 program_transform_name
=s
,x
,x
,
1645 # Installation directory options.
1646 # These are left unexpanded so users can "make install exec_prefix=/foo"
1647 # and all the variables that are supposed to be based on exec_prefix
1648 # by default will actually change.
1649 # Use braces instead of parens because sh, perl, etc. also accept them.
1650 # (The list follows the same order as the GNU Coding Standards.)
1651 bindir
='${exec_prefix}/bin'
1652 sbindir
='${exec_prefix}/sbin'
1653 libexecdir
='${exec_prefix}/libexec'
1654 datarootdir
='${prefix}/share'
1655 datadir
='${datarootdir}'
1656 sysconfdir
='${prefix}/etc'
1657 sharedstatedir
='${prefix}/com'
1658 localstatedir
='${prefix}/var'
1659 runstatedir
='${localstatedir}/run'
1660 includedir
='${prefix}/include'
1661 oldincludedir
='/usr/include'
1662 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1663 infodir
='${datarootdir}/info'
1668 libdir
='${exec_prefix}/lib'
1669 localedir
='${datarootdir}/locale'
1670 mandir
='${datarootdir}/man'
1676 # If the previous option needs an argument, assign it.
1677 if test -n "$ac_prev"; then
1678 eval $ac_prev=\
$ac_option
1684 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1689 # Accept the important Cygnus configure options, so we can diagnose typos.
1691 case $ac_dashdash$ac_option in
1695 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1697 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1698 bindir
=$ac_optarg ;;
1700 -build |
--build |
--buil |
--bui |
--bu)
1701 ac_prev
=build_alias
;;
1702 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1703 build_alias
=$ac_optarg ;;
1705 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1706 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1707 ac_prev
=cache_file
;;
1708 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1709 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1710 cache_file
=$ac_optarg ;;
1712 --config-cache |
-C)
1713 cache_file
=config.cache
;;
1715 -datadir |
--datadir |
--datadi |
--datad)
1717 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1718 datadir
=$ac_optarg ;;
1720 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1721 |
--dataroo |
--dataro |
--datar)
1722 ac_prev
=datarootdir
;;
1723 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1724 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1725 datarootdir
=$ac_optarg ;;
1727 -disable-* |
--disable-*)
1728 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1729 # Reject names that are not valid shell variable names.
1730 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1731 as_fn_error $?
"invalid feature name: $ac_useropt"
1732 ac_useropt_orig
=$ac_useropt
1733 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1734 case $ac_user_opts in
1736 "enable_
$ac_useropt"
1738 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1739 ac_unrecognized_sep
=', ';;
1741 eval enable_
$ac_useropt=no
;;
1743 -docdir |
--docdir |
--docdi |
--doc |
--do)
1745 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1746 docdir
=$ac_optarg ;;
1748 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1750 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1751 dvidir
=$ac_optarg ;;
1753 -enable-* |
--enable-*)
1754 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1755 # Reject names that are not valid shell variable names.
1756 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1757 as_fn_error $?
"invalid feature name: $ac_useropt"
1758 ac_useropt_orig
=$ac_useropt
1759 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1760 case $ac_user_opts in
1762 "enable_
$ac_useropt"
1764 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1765 ac_unrecognized_sep
=', ';;
1767 eval enable_
$ac_useropt=\
$ac_optarg ;;
1769 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1770 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1771 |
--exec |
--exe |
--ex)
1772 ac_prev
=exec_prefix
;;
1773 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1774 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1775 |
--exec=* |
--exe=* |
--ex=*)
1776 exec_prefix
=$ac_optarg ;;
1778 -gas |
--gas |
--ga |
--g)
1779 # Obsolete; use --with-gas.
1782 -help |
--help |
--hel |
--he |
-h)
1783 ac_init_help
=long
;;
1784 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1785 ac_init_help
=recursive
;;
1786 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1787 ac_init_help
=short
;;
1789 -host |
--host |
--hos |
--ho)
1790 ac_prev
=host_alias
;;
1791 -host=* |
--host=* |
--hos=* |
--ho=*)
1792 host_alias
=$ac_optarg ;;
1794 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1796 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1798 htmldir
=$ac_optarg ;;
1800 -includedir |
--includedir |
--includedi |
--included |
--include \
1801 |
--includ |
--inclu |
--incl |
--inc)
1802 ac_prev
=includedir
;;
1803 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1804 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1805 includedir
=$ac_optarg ;;
1807 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1809 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1810 infodir
=$ac_optarg ;;
1812 -libdir |
--libdir |
--libdi |
--libd)
1814 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1815 libdir
=$ac_optarg ;;
1817 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1818 |
--libexe |
--libex |
--libe)
1819 ac_prev
=libexecdir
;;
1820 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1821 |
--libexe=* |
--libex=* |
--libe=*)
1822 libexecdir
=$ac_optarg ;;
1824 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1825 ac_prev
=localedir
;;
1826 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1827 localedir
=$ac_optarg ;;
1829 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1830 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1831 ac_prev
=localstatedir
;;
1832 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1833 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1834 localstatedir
=$ac_optarg ;;
1836 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1838 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1839 mandir
=$ac_optarg ;;
1841 -nfp |
--nfp |
--nf)
1842 # Obsolete; use --without-fp.
1845 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1846 |
--no-cr |
--no-c |
-n)
1849 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1850 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1853 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1854 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1855 |
--oldin |
--oldi |
--old |
--ol |
--o)
1856 ac_prev
=oldincludedir
;;
1857 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1858 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1859 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1860 oldincludedir
=$ac_optarg ;;
1862 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1864 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1865 prefix
=$ac_optarg ;;
1867 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1868 |
--program-pre |
--program-pr |
--program-p)
1869 ac_prev
=program_prefix
;;
1870 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1871 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1872 program_prefix
=$ac_optarg ;;
1874 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1875 |
--program-suf |
--program-su |
--program-s)
1876 ac_prev
=program_suffix
;;
1877 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1878 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1879 program_suffix
=$ac_optarg ;;
1881 -program-transform-name |
--program-transform-name \
1882 |
--program-transform-nam |
--program-transform-na \
1883 |
--program-transform-n |
--program-transform- \
1884 |
--program-transform |
--program-transfor \
1885 |
--program-transfo |
--program-transf \
1886 |
--program-trans |
--program-tran \
1887 |
--progr-tra |
--program-tr |
--program-t)
1888 ac_prev
=program_transform_name
;;
1889 -program-transform-name=* |
--program-transform-name=* \
1890 |
--program-transform-nam=* |
--program-transform-na=* \
1891 |
--program-transform-n=* |
--program-transform-=* \
1892 |
--program-transform=* |
--program-transfor=* \
1893 |
--program-transfo=* |
--program-transf=* \
1894 |
--program-trans=* |
--program-tran=* \
1895 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1896 program_transform_name
=$ac_optarg ;;
1898 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1900 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1901 pdfdir
=$ac_optarg ;;
1903 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1905 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1908 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1909 |
-silent |
--silent |
--silen |
--sile |
--sil)
1912 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
1913 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
1914 |
--run |
--ru |
--r)
1915 ac_prev
=runstatedir
;;
1916 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
1917 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
1918 |
--run=* |
--ru=* |
--r=*)
1919 runstatedir
=$ac_optarg ;;
1921 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1923 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1925 sbindir
=$ac_optarg ;;
1927 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1928 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1929 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1931 ac_prev
=sharedstatedir
;;
1932 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1933 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1934 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1936 sharedstatedir
=$ac_optarg ;;
1938 -site |
--site |
--sit)
1940 -site=* |
--site=* |
--sit=*)
1943 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1945 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1946 srcdir
=$ac_optarg ;;
1948 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1949 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1950 ac_prev
=sysconfdir
;;
1951 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1952 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1953 sysconfdir
=$ac_optarg ;;
1955 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1956 ac_prev
=target_alias
;;
1957 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1958 target_alias
=$ac_optarg ;;
1960 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1963 -version |
--version |
--versio |
--versi |
--vers |
-V)
1964 ac_init_version
=: ;;
1967 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1968 # Reject names that are not valid shell variable names.
1969 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1970 as_fn_error $?
"invalid package name: $ac_useropt"
1971 ac_useropt_orig
=$ac_useropt
1972 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1973 case $ac_user_opts in
1977 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1978 ac_unrecognized_sep
=', ';;
1980 eval with_
$ac_useropt=\
$ac_optarg ;;
1982 -without-* |
--without-*)
1983 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1984 # Reject names that are not valid shell variable names.
1985 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1986 as_fn_error $?
"invalid package name: $ac_useropt"
1987 ac_useropt_orig
=$ac_useropt
1988 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1989 case $ac_user_opts in
1993 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1994 ac_unrecognized_sep
=', ';;
1996 eval with_
$ac_useropt=no
;;
1999 # Obsolete; use --with-x.
2002 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
2003 |
--x-incl |
--x-inc |
--x-in |
--x-i)
2004 ac_prev
=x_includes
;;
2005 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
2006 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
2007 x_includes
=$ac_optarg ;;
2009 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
2010 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
2011 ac_prev
=x_libraries
;;
2012 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
2013 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
2014 x_libraries
=$ac_optarg ;;
2016 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
2017 Try \`$0 --help' for more information"
2021 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
2022 # Reject names that are not valid shell variable names.
2023 case $ac_envvar in #(
2024 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
2025 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
2027 eval $ac_envvar=\
$ac_optarg
2028 export $ac_envvar ;;
2031 # FIXME: should be removed in autoconf 3.0.
2032 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2033 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
2034 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2035 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2041 if test -n "$ac_prev"; then
2042 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
2043 as_fn_error $?
"missing argument to $ac_option"
2046 if test -n "$ac_unrecognized_opts"; then
2047 case $enable_option_checking in
2049 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
2050 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2054 # Check all directory arguments for consistency.
2055 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2056 datadir sysconfdir sharedstatedir localstatedir includedir \
2057 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2058 libdir localedir mandir runstatedir
2060 eval ac_val
=\$
$ac_var
2061 # Remove trailing slashes.
2064 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2065 eval $ac_var=\
$ac_val;;
2067 # Be sure to have absolute directory names.
2069 [\\/$
]* | ?
:[\\/]* ) continue;;
2070 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2072 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2075 # There might be people who depend on the old broken behavior: `$host'
2076 # used to hold the argument of --host etc.
2077 # FIXME: To remove some day.
2080 target
=$target_alias
2082 # FIXME: To remove some day.
2083 if test "x$host_alias" != x
; then
2084 if test "x$build_alias" = x
; then
2085 cross_compiling
=maybe
2086 elif test "x$build_alias" != "x$host_alias"; then
2092 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2094 test "$silent" = yes && exec 6>/dev
/null
2097 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2098 ac_ls_di
=`ls -di .` &&
2099 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2100 as_fn_error $?
"working directory cannot be determined"
2101 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2102 as_fn_error $?
"pwd does not report name of working directory"
2105 # Find the source files, if location was not specified.
2106 if test -z "$srcdir"; then
2107 ac_srcdir_defaulted
=yes
2108 # Try the directory containing this script, then the parent directory.
2109 ac_confdir
=`$as_dirname -- "$as_myself" ||
2110 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2111 X"$as_myself" : 'X\(//\)[^/]' \| \
2112 X"$as_myself" : 'X\(//\)$' \| \
2113 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2114 $as_echo X"$as_myself" |
2115 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2133 if test ! -r "$srcdir/$ac_unique_file"; then
2137 ac_srcdir_defaulted
=no
2139 if test ! -r "$srcdir/$ac_unique_file"; then
2140 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2141 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2143 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2145 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2147 # When building in place, set srcdir=.
2148 if test "$ac_abs_confdir" = "$ac_pwd"; then
2151 # Remove unnecessary trailing slashes from srcdir.
2152 # Double slashes in file names in object file debugging info
2153 # mess up M-x gdb in Emacs.
2155 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2157 for ac_var
in $ac_precious_vars; do
2158 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2159 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2160 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2161 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2165 # Report the --help message.
2167 if test "$ac_init_help" = "long"; then
2168 # Omit some internal or obsolete options to make the list less imposing.
2169 # This message is too long to be a string in the A/UX 3.1 sh.
2171 \`configure' configures Wine 1.9.18 to adapt to many kinds of systems.
2173 Usage: $0 [OPTION]... [VAR=VALUE]...
2175 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2176 VAR=VALUE. See below for descriptions of some of the useful variables.
2178 Defaults for the options are specified in brackets.
2181 -h, --help display this help and exit
2182 --help=short display options specific to this package
2183 --help=recursive display the short help of all the included packages
2184 -V, --version display version information and exit
2185 -q, --quiet, --silent do not print \`checking ...' messages
2186 --cache-file=FILE cache test results in FILE [disabled]
2187 -C, --config-cache alias for \`--cache-file=config.cache'
2188 -n, --no-create do not create output files
2189 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2191 Installation directories:
2192 --prefix=PREFIX install architecture-independent files in PREFIX
2193 [$ac_default_prefix]
2194 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2197 By default, \`make install' will install all the files in
2198 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2199 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2200 for instance \`--prefix=\$HOME'.
2202 For better control, use the options below.
2204 Fine tuning of the installation directories:
2205 --bindir=DIR user executables [EPREFIX/bin]
2206 --sbindir=DIR system admin executables [EPREFIX/sbin]
2207 --libexecdir=DIR program executables [EPREFIX/libexec]
2208 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2209 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2210 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2211 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2212 --libdir=DIR object code libraries [EPREFIX/lib]
2213 --includedir=DIR C header files [PREFIX/include]
2214 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2215 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2216 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2217 --infodir=DIR info documentation [DATAROOTDIR/info]
2218 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2219 --mandir=DIR man documentation [DATAROOTDIR/man]
2220 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2221 --htmldir=DIR html documentation [DOCDIR]
2222 --dvidir=DIR dvi documentation [DOCDIR]
2223 --pdfdir=DIR pdf documentation [DOCDIR]
2224 --psdir=DIR ps documentation [DOCDIR]
2230 --x-includes=DIR X include files are
in DIR
2231 --x-libraries=DIR X library files are
in DIR
2234 --build=BUILD configure
for building on BUILD
[guessed
]
2235 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2239 if test -n "$ac_init_help"; then
2240 case $ac_init_help in
2241 short | recursive
) echo "Configuration of Wine 1.9.18:";;
2246 --disable-option-checking ignore unrecognized
--enable/--with options
2247 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2248 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2249 --disable-win16 do not include Win16 support
2250 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2252 --disable-tests do not build the regression tests
2253 --enable-maintainer-mode
2254 enable maintainer-specific build rules
2255 --disable-largefile omit support for large files
2258 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2259 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2260 --without-alsa do not use the Alsa sound support
2261 --without-capi do not use CAPI (ISDN support)
2262 --without-cms do not use CMS (color management support)
2263 --without-coreaudio do not use the CoreAudio sound support
2264 --without-cups do not use CUPS
2265 --without-curses do not use (n)curses
2266 --without-dbus do not use DBus (dynamic device support)
2267 --without-fontconfig do not use fontconfig
2268 --without-freetype do not use the FreeType library
2269 --without-gettext do not use gettext
2270 --with-gettextpo use the GetTextPO library to rebuild po files
2271 --without-gphoto do not use gphoto (Digital Camera support)
2272 --without-glu do not use the GLU library
2273 --without-gnutls do not use GnuTLS (schannel support)
2274 --without-gsm do not use libgsm (GSM 06.10 codec support)
2275 --without-gstreamer do not use GStreamer (codecs support)
2276 --without-hal do not use HAL (dynamic device support)
2277 --without-jpeg do not use JPEG
2278 --without-ldap do not use LDAP
2279 --without-mpg123 do not use the mpg123 library
2280 --without-netapi do not use the Samba NetAPI library
2281 --without-openal do not use OpenAL
2282 --without-opencl do not use OpenCL
2283 --without-opengl do not use OpenGL
2284 --without-osmesa do not use the OSMesa library
2285 --without-oss do not use the OSS sound support
2286 --without-pcap do not use the Packet Capture library
2287 --without-png do not use PNG
2288 --without-pthread do not use the pthread library
2289 --without-pulse do not use PulseAudio sound support
2290 --without-sane do not use SANE (scanner support)
2291 --without-tiff do not use TIFF
2292 --without-udev do not use udev (plug and play support)
2293 --without-v4l do not use v4l1 (v4l support)
2294 --without-xcomposite do not use the Xcomposite extension
2295 --without-xcursor do not use the Xcursor extension
2296 --without-xinerama do not use Xinerama (multi-monitor support)
2297 --without-xinput do not use the Xinput extension
2298 --without-xinput2 do not use the Xinput 2 extension
2299 --without-xml do not use XML
2300 --without-xrandr do not use Xrandr (resolution changes)
2301 --without-xrender do not use the Xrender extension
2302 --without-xshape do not use the Xshape extension
2303 --without-xshm do not use XShm (shared memory extension)
2304 --without-xslt do not use XSLT
2305 --without-xxf86vm do not use XFree video mode extension
2306 --without-zlib do not use Zlib (data compression)
2307 --with-wine-tools=DIR use Wine tools from directory DIR
2308 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2309 --with-x use the X Window System
2311 Some influential environment variables:
2312 CC C compiler command
2313 CFLAGS C compiler flags
2314 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2315 nonstandard directory <lib dir>
2316 LIBS libraries to pass to the linker, e.g. -l<library>
2317 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2318 you have headers in a nonstandard directory <include dir>
2319 CXX C++ compiler command
2320 CXXFLAGS C++ compiler flags
2322 XMKMF Path to xmkmf, Makefile generator for X Window System
2323 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2324 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2325 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2326 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2327 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2328 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2329 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2330 HAL_LIBS Linker flags for hal, overriding pkg-config
2332 C compiler flags for gnutls, overriding pkg-config
2333 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2334 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2335 SANE_LIBS Linker flags for libsane, overriding pkg-config
2337 C compiler flags for libgphoto2, overriding pkg-config
2339 Linker flags for libgphoto2, overriding pkg-config
2341 C compiler flags for libgphoto2_port, overriding pkg-config
2343 Linker flags for libgphoto2_port, overriding pkg-config
2345 C compiler flags for lcms2, overriding pkg-config
2346 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2348 C compiler flags for freetype2, overriding pkg-config
2350 Linker flags for freetype2, overriding pkg-config
2352 C compiler flags for libpulse, overriding pkg-config
2353 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2355 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2356 gstreamer-audio-1.0, overriding pkg-config
2358 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2359 gstreamer-audio-1.0, overriding pkg-config
2360 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2361 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2363 C compiler flags for capi20, overriding pkg-config
2364 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2366 C compiler flags for fontconfig, overriding pkg-config
2368 Linker flags for fontconfig, overriding pkg-config
2369 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2370 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2371 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2372 PNG_LIBS Linker flags for libpng, overriding pkg-config
2373 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2374 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2376 C compiler flags for libmpg123, overriding pkg-config
2377 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2379 C compiler flags for netapi, overriding pkg-config
2380 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2382 Use these variables to override the choices made by `configure' or to
help
2383 it to
find libraries and programs with nonstandard names
/locations.
2385 Report bugs to
<wine-devel@winehq.org
>.
2386 Wine home page
: <http
://www.winehq.org
>.
2391 if test "$ac_init_help" = "recursive"; then
2392 # If there are subdirs, report their specific --help.
2393 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2394 test -d "$ac_dir" ||
2395 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2400 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2402 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2403 # A ".." for each directory in $ac_dir_suffix.
2404 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2405 case $ac_top_builddir_sub in
2406 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2407 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2410 ac_abs_top_builddir
=$ac_pwd
2411 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2412 # for backward compatibility:
2413 ac_top_builddir
=$ac_top_build_prefix
2416 .
) # We are building in place.
2418 ac_top_srcdir
=$ac_top_builddir_sub
2419 ac_abs_top_srcdir
=$ac_pwd ;;
2420 [\\/]* | ?
:[\\/]* ) # Absolute name.
2421 ac_srcdir
=$srcdir$ac_dir_suffix;
2422 ac_top_srcdir
=$srcdir
2423 ac_abs_top_srcdir
=$srcdir ;;
2425 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2426 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2427 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2429 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2431 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2432 # Check for guested configure.
2433 if test -f "$ac_srcdir/configure.gnu"; then
2435 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2436 elif test -f "$ac_srcdir/configure"; then
2438 $SHELL "$ac_srcdir/configure" --help=recursive
2440 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2442 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2446 test -n "$ac_init_help" && exit $ac_status
2447 if $ac_init_version; then
2449 Wine configure
1.9.18
2450 generated by GNU Autoconf
2.69
2452 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2453 This configure
script is free software
; the Free Software Foundation
2454 gives unlimited permission to copy
, distribute and modify it.
2459 ## ------------------------ ##
2460 ## Autoconf initialization. ##
2461 ## ------------------------ ##
2463 # ac_fn_c_try_compile LINENO
2464 # --------------------------
2465 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2466 ac_fn_c_try_compile
()
2468 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2469 rm -f conftest.
$ac_objext
2470 if { { ac_try
="$ac_compile"
2472 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2473 *) ac_try_echo=$ac_try;;
2475 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2476 $as_echo "$ac_try_echo"; } >&5
2477 (eval "$ac_compile") 2>conftest.err
2479 if test -s conftest.err; then
2480 grep -v '^ *+' conftest.err >conftest.er1
2481 cat conftest.er1 >&5
2482 mv -f conftest.er1 conftest.err
2484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2485 test $ac_status = 0; } && {
2486 test -z "$ac_c_werror_flag" ||
2487 test ! -s conftest.err
2488 } && test -s conftest.$ac_objext; then :
2491 $as_echo "$as_me: failed program was:" >&5
2492 sed 's/^/| /' conftest.$ac_ext >&5
2496 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2497 as_fn_set_status $ac_retval
2499 } # ac_fn_c_try_compile
2501 # ac_fn_cxx_try_compile LINENO
2502 # ----------------------------
2503 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2504 ac_fn_cxx_try_compile ()
2506 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2507 rm -f conftest.$ac_objext
2508 if { { ac_try="$ac_compile"
2510 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2511 *) ac_try_echo
=$ac_try;;
2513 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2514 $as_echo "$ac_try_echo"; } >&5
2515 (eval "$ac_compile") 2>conftest.err
2517 if test -s conftest.err
; then
2518 grep -v '^ *+' conftest.err
>conftest.er1
2519 cat conftest.er1
>&5
2520 mv -f conftest.er1 conftest.err
2522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2523 test $ac_status = 0; } && {
2524 test -z "$ac_cxx_werror_flag" ||
2525 test ! -s conftest.err
2526 } && test -s conftest.
$ac_objext; then :
2529 $as_echo "$as_me: failed program was:" >&5
2530 sed 's/^/| /' conftest.
$ac_ext >&5
2534 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2535 as_fn_set_status
$ac_retval
2537 } # ac_fn_cxx_try_compile
2539 # ac_fn_c_try_link LINENO
2540 # -----------------------
2541 # Try to link conftest.$ac_ext, and return whether this succeeded.
2544 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2545 rm -f conftest.
$ac_objext conftest
$ac_exeext
2546 if { { ac_try
="$ac_link"
2548 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2549 *) ac_try_echo=$ac_try;;
2551 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2552 $as_echo "$ac_try_echo"; } >&5
2553 (eval "$ac_link") 2>conftest.err
2555 if test -s conftest.err; then
2556 grep -v '^ *+' conftest.err >conftest.er1
2557 cat conftest.er1 >&5
2558 mv -f conftest.er1 conftest.err
2560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2561 test $ac_status = 0; } && {
2562 test -z "$ac_c_werror_flag" ||
2563 test ! -s conftest.err
2564 } && test -s conftest$ac_exeext && {
2565 test "$cross_compiling" = yes ||
2566 test -x conftest$ac_exeext
2570 $as_echo "$as_me: failed program was:" >&5
2571 sed 's/^/| /' conftest.$ac_ext >&5
2575 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2576 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2577 # interfere with the next link command; also delete a directory that is
2578 # left behind by Apple's compiler. We do this before executing the actions.
2579 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2580 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2581 as_fn_set_status $ac_retval
2583 } # ac_fn_c_try_link
2585 # ac_fn_c_try_cpp LINENO
2586 # ----------------------
2587 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2590 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2591 if { { ac_try="$ac_cpp conftest.$ac_ext"
2593 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2594 *) ac_try_echo
=$ac_try;;
2596 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2597 $as_echo "$ac_try_echo"; } >&5
2598 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2600 if test -s conftest.err
; then
2601 grep -v '^ *+' conftest.err
>conftest.er1
2602 cat conftest.er1
>&5
2603 mv -f conftest.er1 conftest.err
2605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2606 test $ac_status = 0; } > conftest.i
&& {
2607 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2608 test ! -s conftest.err
2612 $as_echo "$as_me: failed program was:" >&5
2613 sed 's/^/| /' conftest.
$ac_ext >&5
2617 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2618 as_fn_set_status
$ac_retval
2622 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2623 # -------------------------------------------------------
2624 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2625 # the include files in INCLUDES and setting the cache variable VAR
2627 ac_fn_c_check_header_mongrel
()
2629 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2630 if eval \
${$3+:} false
; then :
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2632 $as_echo_n "checking for $2... " >&6; }
2633 if eval \
${$3+:} false
; then :
2634 $as_echo_n "(cached) " >&6
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2638 $as_echo "$ac_res" >&6; }
2640 # Is the header compilable?
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2642 $as_echo_n "checking $2 usability... " >&6; }
2643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2644 /* end confdefs.h. */
2648 if ac_fn_c_try_compile
"$LINENO"; then :
2649 ac_header_compiler
=yes
2651 ac_header_compiler
=no
2653 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2655 $as_echo "$ac_header_compiler" >&6; }
2657 # Is the header present?
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2659 $as_echo_n "checking $2 presence... " >&6; }
2660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2661 /* end confdefs.h. */
2664 if ac_fn_c_try_cpp
"$LINENO"; then :
2665 ac_header_preproc
=yes
2667 ac_header_preproc
=no
2669 rm -f conftest.err conftest.i conftest.
$ac_ext
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2671 $as_echo "$ac_header_preproc" >&6; }
2673 # So? What about this header?
2674 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2677 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2679 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2683 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2685 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2687 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2689 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2691 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2692 ( $as_echo "## ------------------------------------ ##
2693 ## Report this to wine-devel@winehq.org ##
2694 ## ------------------------------------ ##"
2695 ) |
sed "s/^/$as_me: WARNING: /" >&2
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2699 $as_echo_n "checking for $2... " >&6; }
2700 if eval \
${$3+:} false
; then :
2701 $as_echo_n "(cached) " >&6
2703 eval "$3=\$ac_header_compiler"
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2707 $as_echo "$ac_res" >&6; }
2709 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2711 } # ac_fn_c_check_header_mongrel
2713 # ac_fn_c_try_run LINENO
2714 # ----------------------
2715 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2716 # that executables *can* be run.
2719 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2720 if { { ac_try
="$ac_link"
2722 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2723 *) ac_try_echo=$ac_try;;
2725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2726 $as_echo "$ac_try_echo"; } >&5
2727 (eval "$ac_link") 2>&5
2729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2730 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2731 { { case "(($ac_try" in
2732 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2733 *) ac_try_echo
=$ac_try;;
2735 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2736 $as_echo "$ac_try_echo"; } >&5
2737 (eval "$ac_try") 2>&5
2739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2740 test $ac_status = 0; }; }; then :
2743 $as_echo "$as_me: program exited with status $ac_status" >&5
2744 $as_echo "$as_me: failed program was:" >&5
2745 sed 's/^/| /' conftest.
$ac_ext >&5
2747 ac_retval
=$ac_status
2749 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2750 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2751 as_fn_set_status
$ac_retval
2755 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2756 # -------------------------------------------------------
2757 # Tests whether HEADER exists and can be compiled using the include files in
2758 # INCLUDES, setting the cache variable VAR accordingly.
2759 ac_fn_c_check_header_compile
()
2761 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2763 $as_echo_n "checking for $2... " >&6; }
2764 if eval \
${$3+:} false
; then :
2765 $as_echo_n "(cached) " >&6
2767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2768 /* end confdefs.h. */
2772 if ac_fn_c_try_compile
"$LINENO"; then :
2777 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2781 $as_echo "$ac_res" >&6; }
2782 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2784 } # ac_fn_c_check_header_compile
2786 # ac_fn_c_check_func LINENO FUNC VAR
2787 # ----------------------------------
2788 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2789 ac_fn_c_check_func
()
2791 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2793 $as_echo_n "checking for $2... " >&6; }
2794 if eval \
${$3+:} false
; then :
2795 $as_echo_n "(cached) " >&6
2797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2798 /* end confdefs.h. */
2799 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2801 #define $2 innocuous_$2
2803 /* System header to define __stub macros and hopefully few prototypes,
2804 which can conflict with char $2 (); below.
2805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2806 <limits.h> exists even on freestanding compilers. */
2809 # include <limits.h>
2811 # include <assert.h>
2816 /* Override any GCC internal prototype to avoid an error.
2817 Use char because int might match the return type of a GCC
2818 builtin and then its argument prototype would still apply. */
2823 /* The GNU C library defines this for functions which it implements
2824 to always fail with ENOSYS. Some functions are actually named
2825 something starting with __ and the normal name is an alias. */
2826 #if defined __stub_$2 || defined __stub___$2
2838 if ac_fn_c_try_link
"$LINENO"; then :
2843 rm -f core conftest.err conftest.
$ac_objext \
2844 conftest
$ac_exeext conftest.
$ac_ext
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2848 $as_echo "$ac_res" >&6; }
2849 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2851 } # ac_fn_c_check_func
2853 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2854 # ----------------------------------------------------
2855 # Tries to find if the field MEMBER exists in type AGGR, after including
2856 # INCLUDES, setting cache variable VAR accordingly.
2857 ac_fn_c_check_member
()
2859 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2861 $as_echo_n "checking for $2.$3... " >&6; }
2862 if eval \
${$4+:} false
; then :
2863 $as_echo_n "(cached) " >&6
2865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2866 /* end confdefs.h. */
2878 if ac_fn_c_try_compile
"$LINENO"; then :
2881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2882 /* end confdefs.h. */
2888 if (sizeof ac_aggr.$3)
2894 if ac_fn_c_try_compile
"$LINENO"; then :
2899 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2901 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2905 $as_echo "$ac_res" >&6; }
2906 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2908 } # ac_fn_c_check_member
2910 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2911 # -------------------------------------------
2912 # Tests whether TYPE exists after having included INCLUDES, setting cache
2913 # variable VAR accordingly.
2914 ac_fn_c_check_type
()
2916 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2918 $as_echo_n "checking for $2... " >&6; }
2919 if eval \
${$3+:} false
; then :
2920 $as_echo_n "(cached) " >&6
2923 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2924 /* end confdefs.h. */
2935 if ac_fn_c_try_compile
"$LINENO"; then :
2936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2937 /* end confdefs.h. */
2948 if ac_fn_c_try_compile
"$LINENO"; then :
2953 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2955 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2959 $as_echo "$ac_res" >&6; }
2960 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2962 } # ac_fn_c_check_type
2963 cat >config.log
<<_ACEOF
2964 This file contains any messages produced by compilers while
2965 running configure, to aid debugging if configure makes a mistake.
2967 It was created by Wine $as_me 1.9.18, which was
2968 generated by GNU Autoconf 2.69. Invocation command line was
2980 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2981 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2982 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2983 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2984 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2986 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2987 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2989 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2990 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2991 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2992 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2993 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2994 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2995 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2999 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3003 test -z "$as_dir" && as_dir
=.
3004 $as_echo "PATH: $as_dir"
3020 # Keep a trace of the command line.
3021 # Strip out --no-create and --no-recursion so they do not pile up.
3022 # Strip out --silent because we don't want to record it for future runs.
3023 # Also quote any args containing shell meta-characters.
3024 # Make two passes to allow for proper duplicate-argument suppression.
3028 ac_must_keep_next
=false
3034 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
3035 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
3036 |
-silent |
--silent |
--silen |
--sile |
--sil)
3039 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3042 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
3044 as_fn_append ac_configure_args1
" '$ac_arg'"
3045 if test $ac_must_keep_next = true
; then
3046 ac_must_keep_next
=false
# Got value, back to normal.
3049 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
3050 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
3051 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
3052 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
3053 case "$ac_configure_args0 " in
3054 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3057 -* ) ac_must_keep_next
=true
;;
3060 as_fn_append ac_configure_args
" '$ac_arg'"
3065 { ac_configure_args0
=; unset ac_configure_args0
;}
3066 { ac_configure_args1
=; unset ac_configure_args1
;}
3068 # When interrupted or exit'd, cleanup temporary files, and complete
3069 # config.log. We remove comments because anyway the quotes in there
3070 # would cause problems or look ugly.
3071 # WARNING: Use '\'' to represent an apostrophe within the trap.
3072 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3073 trap 'exit_status=$?
3074 # Save into config.log some information that might help in debugging.
3078 $as_echo "## ---------------- ##
3079 ## Cache variables. ##
3080 ## ---------------- ##"
3082 # The following way of writing the cache mishandles newlines in values,
3084 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3085 eval ac_val=\$$ac_var
3089 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3090 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3093 _ | IFS | as_nl) ;; #(
3094 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3095 *) { eval $ac_var=; unset $ac_var;} ;;
3100 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3101 *${as_nl}ac_space=\ *)
3103 "s/'\''/'\''\\\\'\'''\''/g;
3104 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3107 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3114 $as_echo "## ----------------- ##
3115 ## Output variables. ##
3116 ## ----------------- ##"
3118 for ac_var in $ac_subst_vars
3120 eval ac_val=\$$ac_var
3122 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3124 $as_echo "$ac_var='\''$ac_val'\''"
3128 if test -n "$ac_subst_files"; then
3129 $as_echo "## ------------------- ##
3130 ## File substitutions. ##
3131 ## ------------------- ##"
3133 for ac_var
in $ac_subst_files
3135 eval ac_val
=\$
$ac_var
3137 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3139 $as_echo "$ac_var='\''$ac_val'\''"
3144 if test -s confdefs.h; then
3145 $as_echo "## ----------- ##
3152 test "$ac_signal" != 0 &&
3153 $as_echo "$as_me: caught signal $ac_signal"
3154 $as_echo "$as_me: exit $exit_status"
3156 rm -f core *.core core.conftest.* &&
3157 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3160 for ac_signal
in 1 2 13 15; do
3161 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3165 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3166 rm -f -r conftest
* confdefs.h
3168 $as_echo "/* confdefs.h */" > confdefs.h
3170 # Predefined preprocessor variables.
3172 cat >>confdefs.h
<<_ACEOF
3173 #define PACKAGE_NAME "$PACKAGE_NAME"
3176 cat >>confdefs.h
<<_ACEOF
3177 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3180 cat >>confdefs.h
<<_ACEOF
3181 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3184 cat >>confdefs.h
<<_ACEOF
3185 #define PACKAGE_STRING "$PACKAGE_STRING"
3188 cat >>confdefs.h
<<_ACEOF
3189 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3192 cat >>confdefs.h
<<_ACEOF
3193 #define PACKAGE_URL "$PACKAGE_URL"
3197 # Let the site file select an alternate cache file if it wants to.
3198 # Prefer an explicitly selected file to automatically selected ones.
3201 if test -n "$CONFIG_SITE"; then
3202 # We do not want a PATH search for config.site.
3203 case $CONFIG_SITE in #((
3204 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3205 */*) ac_site_file1
=$CONFIG_SITE;;
3206 *) ac_site_file1
=.
/$CONFIG_SITE;;
3208 elif test "x$prefix" != xNONE
; then
3209 ac_site_file1
=$prefix/share
/config.site
3210 ac_site_file2
=$prefix/etc
/config.site
3212 ac_site_file1
=$ac_default_prefix/share
/config.site
3213 ac_site_file2
=$ac_default_prefix/etc
/config.site
3215 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3217 test "x$ac_site_file" = xNONE
&& continue
3218 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3220 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3221 sed 's/^/| /' "$ac_site_file" >&5
3223 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3224 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3225 as_fn_error $?
"failed to load site script $ac_site_file
3226 See \`config.log' for more details" "$LINENO" 5; }
3230 if test -r "$cache_file"; then
3231 # Some versions of bash will fail to source /dev/null (special files
3232 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3233 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3235 $as_echo "$as_me: loading cache $cache_file" >&6;}
3237 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3238 *) .
"./$cache_file";;
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3243 $as_echo "$as_me: creating cache $cache_file" >&6;}
3247 # Check that the precious variables saved in the cache have kept the same
3249 ac_cache_corrupted
=false
3250 for ac_var
in $ac_precious_vars; do
3251 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3252 eval ac_new_set
=\
$ac_env_${ac_var}_set
3253 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3254 eval ac_new_val
=\
$ac_env_${ac_var}_value
3255 case $ac_old_set,$ac_new_set in
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3258 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3259 ac_cache_corrupted
=: ;;
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3262 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3263 ac_cache_corrupted
=: ;;
3266 if test "x$ac_old_val" != "x$ac_new_val"; then
3267 # differences in whitespace do not lead to failure.
3268 ac_old_val_w
=`echo x $ac_old_val`
3269 ac_new_val_w
=`echo x $ac_new_val`
3270 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3272 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3273 ac_cache_corrupted
=:
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3276 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3277 eval $ac_var=\
$ac_old_val
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3280 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3282 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3285 # Pass precious variables to config.status.
3286 if test "$ac_new_set" = set; then
3288 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3289 *) ac_arg
=$ac_var=$ac_new_val ;;
3291 case " $ac_configure_args " in
3292 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3293 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3297 if $ac_cache_corrupted; then
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3299 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3301 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3302 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3304 ## -------------------- ##
3305 ## Main body of script. ##
3306 ## -------------------- ##
3309 ac_cpp
='$CPP $CPPFLAGS'
3310 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3311 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3312 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3316 ac_config_headers
="$ac_config_headers include/config.h"
3319 for ac_dir
in tools
"$srcdir"/tools
; do
3320 if test -f "$ac_dir/install-sh"; then
3322 ac_install_sh
="$ac_aux_dir/install-sh -c"
3324 elif test -f "$ac_dir/install.sh"; then
3326 ac_install_sh
="$ac_aux_dir/install.sh -c"
3328 elif test -f "$ac_dir/shtool"; then
3330 ac_install_sh
="$ac_aux_dir/shtool install -c"
3334 if test -z "$ac_aux_dir"; then
3335 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3338 # These three variables are undocumented and unsupported,
3339 # and are intended to be withdrawn in a future Autoconf release.
3340 # They can cause serious problems if a builder's source tree is in a directory
3341 # whose full name contains unusual characters.
3342 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3343 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3344 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3348 libwine_version
="1.0"
3352 # Check whether --enable-win16 was given.
3353 if test "${enable_win16+set}" = set; then :
3354 enableval
=$enable_win16;
3357 # Check whether --enable-win64 was given.
3358 if test "${enable_win64+set}" = set; then :
3359 enableval
=$enable_win64;
3362 # Check whether --enable-tests was given.
3363 if test "${enable_tests+set}" = set; then :
3364 enableval
=$enable_tests;
3367 # Check whether --enable-maintainer-mode was given.
3368 if test "${enable_maintainer_mode+set}" = set; then :
3369 enableval
=$enable_maintainer_mode;
3374 # Check whether --with-alsa was given.
3375 if test "${with_alsa+set}" = set; then :
3376 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3380 # Check whether --with-capi was given.
3381 if test "${with_capi+set}" = set; then :
3386 # Check whether --with-cms was given.
3387 if test "${with_cms+set}" = set; then :
3392 # Check whether --with-coreaudio was given.
3393 if test "${with_coreaudio+set}" = set; then :
3394 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3398 # Check whether --with-cups was given.
3399 if test "${with_cups+set}" = set; then :
3404 # Check whether --with-curses was given.
3405 if test "${with_curses+set}" = set; then :
3406 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3410 # Check whether --with-dbus was given.
3411 if test "${with_dbus+set}" = set; then :
3416 # Check whether --with-fontconfig was given.
3417 if test "${with_fontconfig+set}" = set; then :
3418 withval
=$with_fontconfig;
3422 # Check whether --with-freetype was given.
3423 if test "${with_freetype+set}" = set; then :
3424 withval
=$with_freetype;
3428 # Check whether --with-gettext was given.
3429 if test "${with_gettext+set}" = set; then :
3430 withval
=$with_gettext;
3434 # Check whether --with-gettextpo was given.
3435 if test "${with_gettextpo+set}" = set; then :
3436 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3440 # Check whether --with-gphoto was given.
3441 if test "${with_gphoto+set}" = set; then :
3442 withval
=$with_gphoto;
3446 # Check whether --with-glu was given.
3447 if test "${with_glu+set}" = set; then :
3452 # Check whether --with-gnutls was given.
3453 if test "${with_gnutls+set}" = set; then :
3454 withval
=$with_gnutls;
3458 # Check whether --with-gsm was given.
3459 if test "${with_gsm+set}" = set; then :
3460 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3464 # Check whether --with-gstreamer was given.
3465 if test "${with_gstreamer+set}" = set; then :
3466 withval
=$with_gstreamer;
3470 # Check whether --with-hal was given.
3471 if test "${with_hal+set}" = set; then :
3476 # Check whether --with-jpeg was given.
3477 if test "${with_jpeg+set}" = set; then :
3482 # Check whether --with-ldap was given.
3483 if test "${with_ldap+set}" = set; then :
3484 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3488 # Check whether --with-mpg123 was given.
3489 if test "${with_mpg123+set}" = set; then :
3490 withval
=$with_mpg123;
3494 # Check whether --with-netapi was given.
3495 if test "${with_netapi+set}" = set; then :
3496 withval
=$with_netapi;
3500 # Check whether --with-openal was given.
3501 if test "${with_openal+set}" = set; then :
3502 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3506 # Check whether --with-opencl was given.
3507 if test "${with_opencl+set}" = set; then :
3508 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3512 # Check whether --with-opengl was given.
3513 if test "${with_opengl+set}" = set; then :
3514 withval
=$with_opengl;
3518 # Check whether --with-osmesa was given.
3519 if test "${with_osmesa+set}" = set; then :
3520 withval
=$with_osmesa;
3524 # Check whether --with-oss was given.
3525 if test "${with_oss+set}" = set; then :
3530 # Check whether --with-pcap was given.
3531 if test "${with_pcap+set}" = set; then :
3532 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3536 # Check whether --with-png was given.
3537 if test "${with_png+set}" = set; then :
3542 # Check whether --with-pthread was given.
3543 if test "${with_pthread+set}" = set; then :
3544 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3548 # Check whether --with-pulse was given.
3549 if test "${with_pulse+set}" = set; then :
3550 withval
=$with_pulse;
3554 # Check whether --with-sane was given.
3555 if test "${with_sane+set}" = set; then :
3560 # Check whether --with-tiff was given.
3561 if test "${with_tiff+set}" = set; then :
3566 # Check whether --with-udev was given.
3567 if test "${with_udev+set}" = set; then :
3572 # Check whether --with-v4l was given.
3573 if test "${with_v4l+set}" = set; then :
3578 # Check whether --with-xcomposite was given.
3579 if test "${with_xcomposite+set}" = set; then :
3580 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3584 # Check whether --with-xcursor was given.
3585 if test "${with_xcursor+set}" = set; then :
3586 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3590 # Check whether --with-xinerama was given.
3591 if test "${with_xinerama+set}" = set; then :
3592 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3596 # Check whether --with-xinput was given.
3597 if test "${with_xinput+set}" = set; then :
3598 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3602 # Check whether --with-xinput2 was given.
3603 if test "${with_xinput2+set}" = set; then :
3604 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3608 # Check whether --with-xml was given.
3609 if test "${with_xml+set}" = set; then :
3614 # Check whether --with-xrandr was given.
3615 if test "${with_xrandr+set}" = set; then :
3616 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3620 # Check whether --with-xrender was given.
3621 if test "${with_xrender+set}" = set; then :
3622 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3626 # Check whether --with-xshape was given.
3627 if test "${with_xshape+set}" = set; then :
3628 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3632 # Check whether --with-xshm was given.
3633 if test "${with_xshm+set}" = set; then :
3634 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3638 # Check whether --with-xslt was given.
3639 if test "${with_xslt+set}" = set; then :
3644 # Check whether --with-xxf86vm was given.
3645 if test "${with_xxf86vm+set}" = set; then :
3646 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
3650 # Check whether --with-zlib was given.
3651 if test "${with_zlib+set}" = set; then :
3652 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3657 # Check whether --with-wine-tools was given.
3658 if test "${with_wine_tools+set}" = set; then :
3659 withval
=$with_wine_tools;
3663 # Check whether --with-wine64 was given.
3664 if test "${with_wine64+set}" = set; then :
3665 withval
=$with_wine64;
3669 # Make sure we can run config.sub.
3670 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3671 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3674 $as_echo_n "checking build system type... " >&6; }
3675 if ${ac_cv_build+:} false
; then :
3676 $as_echo_n "(cached) " >&6
3678 ac_build_alias
=$build_alias
3679 test "x$ac_build_alias" = x
&&
3680 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3681 test "x$ac_build_alias" = x
&&
3682 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3683 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3684 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3688 $as_echo "$ac_cv_build" >&6; }
3689 case $ac_cv_build in
3691 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3694 ac_save_IFS
=$IFS; IFS
='-'
3700 # Remember, the first character of IFS is used to create $*,
3701 # except with old shells:
3704 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3708 $as_echo_n "checking host system type... " >&6; }
3709 if ${ac_cv_host+:} false
; then :
3710 $as_echo_n "(cached) " >&6
3712 if test "x$host_alias" = x
; then
3713 ac_cv_host
=$ac_cv_build
3715 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3716 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3721 $as_echo "$ac_cv_host" >&6; }
3724 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3727 ac_save_IFS
=$IFS; IFS
='-'
3733 # Remember, the first character of IFS is used to create $*,
3734 # except with old shells:
3737 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3743 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3744 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3745 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3751 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3753 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3754 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3755 $as_echo_n "(cached) " >&6
3757 cat >conftest.
make <<\_ACEOF
3760 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3762 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3763 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3765 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3767 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3771 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3773 $as_echo "yes" >&6; }
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3777 $as_echo "no" >&6; }
3778 SET_MAKE
="MAKE=${MAKE-make}"
3782 ac_cpp
='$CPP $CPPFLAGS'
3783 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3784 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3785 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3786 if test -n "$ac_tool_prefix"; then
3787 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3788 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3790 $as_echo_n "checking for $ac_word... " >&6; }
3791 if ${ac_cv_prog_CC+:} false
; then :
3792 $as_echo_n "(cached) " >&6
3794 if test -n "$CC"; then
3795 ac_cv_prog_CC
="$CC" # Let the user override the test.
3797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3801 test -z "$as_dir" && as_dir
=.
3802 for ac_exec_ext
in '' $ac_executable_extensions; do
3803 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3804 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3815 if test -n "$CC"; then
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3817 $as_echo "$CC" >&6; }
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3820 $as_echo "no" >&6; }
3825 if test -z "$ac_cv_prog_CC"; then
3827 # Extract the first word of "gcc", so it can be a program name with args.
3828 set dummy gcc
; ac_word
=$2
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3830 $as_echo_n "checking for $ac_word... " >&6; }
3831 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3832 $as_echo_n "(cached) " >&6
3834 if test -n "$ac_ct_CC"; then
3835 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3837 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3841 test -z "$as_dir" && as_dir
=.
3842 for ac_exec_ext
in '' $ac_executable_extensions; do
3843 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3844 ac_cv_prog_ac_ct_CC
="gcc"
3845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3854 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3855 if test -n "$ac_ct_CC"; then
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3857 $as_echo "$ac_ct_CC" >&6; }
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3860 $as_echo "no" >&6; }
3863 if test "x$ac_ct_CC" = x
; then
3866 case $cross_compiling:$ac_tool_warned in
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3869 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3870 ac_tool_warned
=yes ;;
3878 if test -z "$CC"; then
3879 if test -n "$ac_tool_prefix"; then
3880 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3881 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3883 $as_echo_n "checking for $ac_word... " >&6; }
3884 if ${ac_cv_prog_CC+:} false
; then :
3885 $as_echo_n "(cached) " >&6
3887 if test -n "$CC"; then
3888 ac_cv_prog_CC
="$CC" # Let the user override the test.
3890 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3894 test -z "$as_dir" && as_dir
=.
3895 for ac_exec_ext
in '' $ac_executable_extensions; do
3896 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3897 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3908 if test -n "$CC"; then
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3910 $as_echo "$CC" >&6; }
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3913 $as_echo "no" >&6; }
3919 if test -z "$CC"; then
3920 # Extract the first word of "cc", so it can be a program name with args.
3921 set dummy cc
; ac_word
=$2
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3923 $as_echo_n "checking for $ac_word... " >&6; }
3924 if ${ac_cv_prog_CC+:} false
; then :
3925 $as_echo_n "(cached) " >&6
3927 if test -n "$CC"; then
3928 ac_cv_prog_CC
="$CC" # Let the user override the test.
3931 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3935 test -z "$as_dir" && as_dir
=.
3936 for ac_exec_ext
in '' $ac_executable_extensions; do
3937 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3938 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3939 ac_prog_rejected
=yes
3943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3950 if test $ac_prog_rejected = yes; then
3951 # We found a bogon in the path, so make sure we never use it.
3952 set dummy
$ac_cv_prog_CC
3954 if test $# != 0; then
3955 # We chose a different compiler from the bogus one.
3956 # However, it has the same basename, so the bogon will be chosen
3957 # first if we set CC to just the basename; use the full file name.
3959 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3965 if test -n "$CC"; then
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3967 $as_echo "$CC" >&6; }
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3970 $as_echo "no" >&6; }
3975 if test -z "$CC"; then
3976 if test -n "$ac_tool_prefix"; then
3977 for ac_prog
in cl.exe
3979 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3980 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3982 $as_echo_n "checking for $ac_word... " >&6; }
3983 if ${ac_cv_prog_CC+:} false
; then :
3984 $as_echo_n "(cached) " >&6
3986 if test -n "$CC"; then
3987 ac_cv_prog_CC
="$CC" # Let the user override the test.
3989 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3993 test -z "$as_dir" && as_dir
=.
3994 for ac_exec_ext
in '' $ac_executable_extensions; do
3995 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3996 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4007 if test -n "$CC"; then
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4009 $as_echo "$CC" >&6; }
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4012 $as_echo "no" >&6; }
4016 test -n "$CC" && break
4019 if test -z "$CC"; then
4021 for ac_prog
in cl.exe
4023 # Extract the first word of "$ac_prog", so it can be a program name with args.
4024 set dummy
$ac_prog; ac_word
=$2
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4026 $as_echo_n "checking for $ac_word... " >&6; }
4027 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4028 $as_echo_n "(cached) " >&6
4030 if test -n "$ac_ct_CC"; then
4031 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4037 test -z "$as_dir" && as_dir
=.
4038 for ac_exec_ext
in '' $ac_executable_extensions; do
4039 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4040 ac_cv_prog_ac_ct_CC
="$ac_prog"
4041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4050 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4051 if test -n "$ac_ct_CC"; then
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4053 $as_echo "$ac_ct_CC" >&6; }
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4056 $as_echo "no" >&6; }
4060 test -n "$ac_ct_CC" && break
4063 if test "x$ac_ct_CC" = x
; then
4066 case $cross_compiling:$ac_tool_warned in
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4069 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4070 ac_tool_warned
=yes ;;
4079 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4080 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4081 as_fn_error $?
"no acceptable C compiler found in \$PATH
4082 See \`config.log' for more details" "$LINENO" 5; }
4084 # Provide some information about the compiler.
4085 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4088 for ac_option
in --version -v -V -qversion; do
4089 { { ac_try
="$ac_compiler $ac_option >&5"
4091 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4092 *) ac_try_echo=$ac_try;;
4094 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4095 $as_echo "$ac_try_echo"; } >&5
4096 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4098 if test -s conftest.err; then
4100 ... rest of stderr output deleted ...
4101 10q' conftest.err >conftest.er1
4102 cat conftest.er1 >&5
4104 rm -f conftest.er1 conftest.err
4105 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4106 test $ac_status = 0; }
4109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4110 /* end confdefs.h. */
4120 ac_clean_files_save=$ac_clean_files
4121 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4122 # Try to create an executable without -o first, disregard a.out.
4123 # It will help us diagnose broken compilers, and finding out an intuition
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4126 $as_echo_n "checking whether the C compiler works... " >&6; }
4127 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4129 # The possible output files:
4130 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4133 for ac_file in $ac_files
4136 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4137 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4142 if { { ac_try="$ac_link_default"
4144 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4145 *) ac_try_echo
=$ac_try;;
4147 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4148 $as_echo "$ac_try_echo"; } >&5
4149 (eval "$ac_link_default") 2>&5
4151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4152 test $ac_status = 0; }; then :
4153 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4154 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4155 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4156 # so that the user can short-circuit this test for compilers unknown to
4158 for ac_file
in $ac_files ''
4160 test -f "$ac_file" ||
continue
4162 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4165 # We found the default executable, but exeext='' is most
4169 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4171 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4173 # We set ac_cv_exeext here because the later test for it is not
4174 # safe: cross compilers may not add the suffix if given an `-o'
4175 # argument, so we may need to know it at that point already.
4176 # Even if this section looks crufty: it has the advantage of
4183 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4188 if test -z "$ac_file"; then :
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4190 $as_echo "no" >&6; }
4191 $as_echo "$as_me: failed program was:" >&5
4192 sed 's/^/| /' conftest.
$ac_ext >&5
4194 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4195 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4196 as_fn_error
77 "C compiler cannot create executables
4197 See \`config.log' for more details" "$LINENO" 5; }
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4200 $as_echo "yes" >&6; }
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4203 $as_echo_n "checking for C compiler default output file name... " >&6; }
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4205 $as_echo "$ac_file" >&6; }
4206 ac_exeext
=$ac_cv_exeext
4208 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4209 ac_clean_files
=$ac_clean_files_save
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4211 $as_echo_n "checking for suffix of executables... " >&6; }
4212 if { { ac_try
="$ac_link"
4214 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4215 *) ac_try_echo=$ac_try;;
4217 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4218 $as_echo "$ac_try_echo"; } >&5
4219 (eval "$ac_link") 2>&5
4221 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4222 test $ac_status = 0; }; then :
4223 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4224 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4225 # work properly (i.e., refer to `conftest.exe'), while it won't with
4227 for ac_file
in conftest.exe conftest conftest.
*; do
4228 test -f "$ac_file" ||
continue
4230 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4231 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4237 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4238 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4239 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4240 See \`config.log' for more details" "$LINENO" 5; }
4242 rm -f conftest conftest
$ac_cv_exeext
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4244 $as_echo "$ac_cv_exeext" >&6; }
4246 rm -f conftest.
$ac_ext
4247 EXEEXT
=$ac_cv_exeext
4249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4250 /* end confdefs.h. */
4255 FILE *f = fopen ("conftest.out", "w");
4256 return ferror (f) || fclose (f) != 0;
4262 ac_clean_files
="$ac_clean_files conftest.out"
4263 # Check that the compiler produces executables we can run. If not, either
4264 # the compiler is broken, or we cross compile.
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4266 $as_echo_n "checking whether we are cross compiling... " >&6; }
4267 if test "$cross_compiling" != yes; then
4268 { { ac_try
="$ac_link"
4270 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4271 *) ac_try_echo=$ac_try;;
4273 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4274 $as_echo "$ac_try_echo"; } >&5
4275 (eval "$ac_link") 2>&5
4277 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4278 test $ac_status = 0; }
4279 if { ac_try='./conftest$ac_cv_exeext'
4280 { { case "(($ac_try" in
4281 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4282 *) ac_try_echo
=$ac_try;;
4284 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4285 $as_echo "$ac_try_echo"; } >&5
4286 (eval "$ac_try") 2>&5
4288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4289 test $ac_status = 0; }; }; then
4292 if test "$cross_compiling" = maybe
; then
4295 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4296 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4297 as_fn_error $?
"cannot run C compiled programs.
4298 If you meant to cross compile, use \`--host'.
4299 See \`config.log' for more details" "$LINENO" 5; }
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4304 $as_echo "$cross_compiling" >&6; }
4306 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4307 ac_clean_files
=$ac_clean_files_save
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4309 $as_echo_n "checking for suffix of object files... " >&6; }
4310 if ${ac_cv_objext+:} false
; then :
4311 $as_echo_n "(cached) " >&6
4313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4314 /* end confdefs.h. */
4324 rm -f conftest.o conftest.obj
4325 if { { ac_try
="$ac_compile"
4327 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4328 *) ac_try_echo=$ac_try;;
4330 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4331 $as_echo "$ac_try_echo"; } >&5
4332 (eval "$ac_compile") 2>&5
4334 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4335 test $ac_status = 0; }; then :
4336 for ac_file in conftest.o conftest.obj conftest.*; do
4337 test -f "$ac_file" || continue;
4339 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4340 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4345 $as_echo "$as_me: failed program was:" >&5
4346 sed 's/^/| /' conftest.$ac_ext >&5
4348 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4349 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4350 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4351 See \
`config.log' for more details" "$LINENO" 5; }
4353 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4356 $as_echo "$ac_cv_objext" >&6; }
4357 OBJEXT=$ac_cv_objext
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4360 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4361 if ${ac_cv_c_compiler_gnu+:} false; then :
4362 $as_echo_n "(cached) " >&6
4364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4365 /* end confdefs.h. */
4378 if ac_fn_c_try_compile "$LINENO"; then :
4383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4384 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4388 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4389 if test $ac_compiler_gnu = yes; then
4394 ac_test_CFLAGS=${CFLAGS+set}
4395 ac_save_CFLAGS=$CFLAGS
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4397 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4398 if ${ac_cv_prog_cc_g+:} false; then :
4399 $as_echo_n "(cached) " >&6
4401 ac_save_c_werror_flag=$ac_c_werror_flag
4402 ac_c_werror_flag=yes
4405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4406 /* end confdefs.h. */
4416 if ac_fn_c_try_compile "$LINENO"; then :
4420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4421 /* end confdefs.h. */
4431 if ac_fn_c_try_compile "$LINENO"; then :
4434 ac_c_werror_flag=$ac_save_c_werror_flag
4436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4437 /* end confdefs.h. */
4447 if ac_fn_c_try_compile "$LINENO"; then :
4450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4455 ac_c_werror_flag=$ac_save_c_werror_flag
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4458 $as_echo "$ac_cv_prog_cc_g" >&6; }
4459 if test "$ac_test_CFLAGS" = set; then
4460 CFLAGS=$ac_save_CFLAGS
4461 elif test $ac_cv_prog_cc_g = yes; then
4462 if test "$GCC" = yes; then
4468 if test "$GCC" = yes; then
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4475 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4476 if ${ac_cv_prog_cc_c89+:} false; then :
4477 $as_echo_n "(cached) " >&6
4479 ac_cv_prog_cc_c89=no
4481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4482 /* end confdefs.h. */
4486 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4487 struct buf { int x; };
4488 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4489 static char *e (p, i)
4495 static char *f (char * (*g) (char **, int), char **p, ...)
4500 s = g (p, va_arg (v,int));
4505 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4506 function prototypes and stuff, but not '\xHH' hex character constants.
4507 These don't provoke an error unfortunately, instead are silently treated
4508 as 'x'. The following induces an error, until -std is added to get
4509 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4510 array size at least. It's necessary to write '\x00'==0 to get something
4511 that's true only with -std. */
4512 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4514 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4515 inside strings and character constants. */
4517 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4519 int test (int i, double x);
4520 struct s1 {int (*f) (int a);};
4521 struct s2 {int (*f) (double a);};
4522 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4528 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4533 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4534 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4536 CC="$ac_save_CC $ac_arg"
4537 if ac_fn_c_try_compile "$LINENO"; then :
4538 ac_cv_prog_cc_c89=$ac_arg
4540 rm -f core conftest.err conftest.$ac_objext
4541 test "x$ac_cv_prog_cc_c89" != "xno" && break
4543 rm -f conftest.$ac_ext
4548 case "x$ac_cv_prog_cc_c89" in
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4551 $as_echo "none needed" >&6; } ;;
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4554 $as_echo "unsupported" >&6; } ;;
4556 CC="$CC $ac_cv_prog_cc_c89"
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4558 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4560 if test "x$ac_cv_prog_cc_c89" != xno; then :
4565 ac_cpp='$CPP $CPPFLAGS'
4566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4571 ac_cpp='$CXXCPP $CPPFLAGS'
4572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4575 if test -z "$CXX"; then
4576 if test -n "$CCC"; then
4579 if test -n "$ac_tool_prefix"; then
4580 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4582 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4583 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4585 $as_echo_n "checking for $ac_word... " >&6; }
4586 if ${ac_cv_prog_CXX+:} false; then :
4587 $as_echo_n "(cached) " >&6
4589 if test -n "$CXX"; then
4590 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4596 test -z "$as_dir" && as_dir=.
4597 for ac_exec_ext in '' $ac_executable_extensions; do
4598 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4599 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4610 if test -n "$CXX"; then
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4612 $as_echo "$CXX" >&6; }
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4615 $as_echo "no" >&6; }
4619 test -n "$CXX" && break
4622 if test -z "$CXX"; then
4624 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4626 # Extract the first word of "$ac_prog", so it can be a program name with args.
4627 set dummy $ac_prog; ac_word=$2
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4629 $as_echo_n "checking for $ac_word... " >&6; }
4630 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4631 $as_echo_n "(cached) " >&6
4633 if test -n "$ac_ct_CXX"; then
4634 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4640 test -z "$as_dir" && as_dir=.
4641 for ac_exec_ext in '' $ac_executable_extensions; do
4642 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4643 ac_cv_prog_ac_ct_CXX="$ac_prog"
4644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4653 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4654 if test -n "$ac_ct_CXX"; then
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4656 $as_echo "$ac_ct_CXX" >&6; }
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4659 $as_echo "no" >&6; }
4663 test -n "$ac_ct_CXX" && break
4666 if test "x$ac_ct_CXX" = x; then
4669 case $cross_compiling:$ac_tool_warned in
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4672 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4673 ac_tool_warned=yes ;;
4681 # Provide some information about the compiler.
4682 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4685 for ac_option in --version -v -V -qversion; do
4686 { { ac_try="$ac_compiler $ac_option >&5"
4688 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4689 *) ac_try_echo
=$ac_try;;
4691 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4692 $as_echo "$ac_try_echo"; } >&5
4693 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4695 if test -s conftest.err
; then
4697 ... rest of stderr output deleted ...
4698 10q' conftest.err
>conftest.er1
4699 cat conftest.er1
>&5
4701 rm -f conftest.er1 conftest.err
4702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4703 test $ac_status = 0; }
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4707 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4708 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4709 $as_echo_n "(cached) " >&6
4711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4712 /* end confdefs.h. */
4725 if ac_fn_cxx_try_compile
"$LINENO"; then :
4730 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4731 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4735 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4736 if test $ac_compiler_gnu = yes; then
4741 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4742 ac_save_CXXFLAGS
=$CXXFLAGS
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4744 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4745 if ${ac_cv_prog_cxx_g+:} false
; then :
4746 $as_echo_n "(cached) " >&6
4748 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4749 ac_cxx_werror_flag
=yes
4752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4753 /* end confdefs.h. */
4763 if ac_fn_cxx_try_compile
"$LINENO"; then :
4764 ac_cv_prog_cxx_g
=yes
4767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4768 /* end confdefs.h. */
4778 if ac_fn_cxx_try_compile
"$LINENO"; then :
4781 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4784 /* end confdefs.h. */
4794 if ac_fn_cxx_try_compile
"$LINENO"; then :
4795 ac_cv_prog_cxx_g
=yes
4797 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4799 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4801 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4802 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4805 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4806 if test "$ac_test_CXXFLAGS" = set; then
4807 CXXFLAGS
=$ac_save_CXXFLAGS
4808 elif test $ac_cv_prog_cxx_g = yes; then
4809 if test "$GXX" = yes; then
4815 if test "$GXX" = yes; then
4822 ac_cpp
='$CPP $CPPFLAGS'
4823 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4824 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4825 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4827 if test -n "$ac_tool_prefix"; then
4828 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4829 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4831 $as_echo_n "checking for $ac_word... " >&6; }
4832 if ${ac_cv_prog_CPPBIN+:} false
; then :
4833 $as_echo_n "(cached) " >&6
4835 if test -n "$CPPBIN"; then
4836 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4842 test -z "$as_dir" && as_dir
=.
4843 for ac_exec_ext
in '' $ac_executable_extensions; do
4844 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4845 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4855 CPPBIN
=$ac_cv_prog_CPPBIN
4856 if test -n "$CPPBIN"; then
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4858 $as_echo "$CPPBIN" >&6; }
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4861 $as_echo "no" >&6; }
4866 if test -z "$ac_cv_prog_CPPBIN"; then
4867 ac_ct_CPPBIN
=$CPPBIN
4868 # Extract the first word of "cpp", so it can be a program name with args.
4869 set dummy cpp
; ac_word
=$2
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4871 $as_echo_n "checking for $ac_word... " >&6; }
4872 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4873 $as_echo_n "(cached) " >&6
4875 if test -n "$ac_ct_CPPBIN"; then
4876 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4882 test -z "$as_dir" && as_dir
=.
4883 for ac_exec_ext
in '' $ac_executable_extensions; do
4884 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4885 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4895 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4896 if test -n "$ac_ct_CPPBIN"; then
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4898 $as_echo "$ac_ct_CPPBIN" >&6; }
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4901 $as_echo "no" >&6; }
4904 if test "x$ac_ct_CPPBIN" = x
; then
4907 case $cross_compiling:$ac_tool_warned in
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4910 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4911 ac_tool_warned
=yes ;;
4913 CPPBIN
=$ac_ct_CPPBIN
4916 CPPBIN
="$ac_cv_prog_CPPBIN"
4920 cat >>confdefs.h
<<_ACEOF
4921 #define EXEEXT "$ac_exeext"
4924 if test -n "$ac_tool_prefix"; then
4925 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4926 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4928 $as_echo_n "checking for $ac_word... " >&6; }
4929 if ${ac_cv_prog_LD+:} false
; then :
4930 $as_echo_n "(cached) " >&6
4932 if test -n "$LD"; then
4933 ac_cv_prog_LD
="$LD" # Let the user override the test.
4935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4939 test -z "$as_dir" && as_dir
=.
4940 for ac_exec_ext
in '' $ac_executable_extensions; do
4941 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4942 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4953 if test -n "$LD"; then
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4955 $as_echo "$LD" >&6; }
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4958 $as_echo "no" >&6; }
4963 if test -z "$ac_cv_prog_LD"; then
4965 # Extract the first word of "ld", so it can be a program name with args.
4966 set dummy ld
; ac_word
=$2
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4968 $as_echo_n "checking for $ac_word... " >&6; }
4969 if ${ac_cv_prog_ac_ct_LD+:} false
; then :
4970 $as_echo_n "(cached) " >&6
4972 if test -n "$ac_ct_LD"; then
4973 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
4975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4979 test -z "$as_dir" && as_dir
=.
4980 for ac_exec_ext
in '' $ac_executable_extensions; do
4981 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4982 ac_cv_prog_ac_ct_LD
="ld"
4983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4992 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
4993 if test -n "$ac_ct_LD"; then
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4995 $as_echo "$ac_ct_LD" >&6; }
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4998 $as_echo "no" >&6; }
5001 if test "x$ac_ct_LD" = x
; then
5004 case $cross_compiling:$ac_tool_warned in
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5007 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5008 ac_tool_warned
=yes ;;
5019 with_fontconfig
=${with_fontconfig:-no}
5021 *-mingw32*|
*-cygwin*)
5022 enable_win16
=${enable_win16:-no}
5023 CFLAGS
="$CFLAGS -D_WIN32"
5029 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5034 $as_echo_n "checking whether $CC works... " >&6; }
5036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5037 /* end confdefs.h. */
5047 if ac_fn_c_try_link
"$LINENO"; then :
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5049 $as_echo "yes" >&6; }
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5052 $as_echo "no" >&6; }
5053 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5055 rm -f core conftest.err conftest.
$ac_objext \
5056 conftest
$ac_exeext conftest.
$ac_ext
5058 notice_platform
="32-bit "
5061 enable_win16
=${enable_win16:-yes}
5063 if test "x${GCC}" = "xyes"
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5066 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5068 /* end confdefs.h. */
5073 void func(__builtin_ms_va_list *args);
5078 if ac_fn_c_try_compile
"$LINENO"; then :
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5080 $as_echo "yes" >&6; }
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5083 $as_echo "no" >&6; }
5084 as_fn_error $?
"You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5086 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5091 notice_platform
="64-bit "
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5098 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5099 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5100 /* end confdefs.h. */
5101 int ac_test(int i) { return i; }
5105 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5110 if ac_fn_c_try_link
"$LINENO"; then :
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5112 $as_echo "yes" >&6; }
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5115 $as_echo "no" >&6; }
5116 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5118 rm -f core conftest.err conftest.
$ac_objext \
5119 conftest
$ac_exeext conftest.
$ac_ext
5120 CFLAGS
="$CFLAGS -marm"
5125 enable_win16
=${enable_win16:-yes}
5129 enable_win16
=${enable_win16:-no}
5130 enable_win64
=${enable_win64:-no}
5132 enable_winetest
=${enable_winetest:-$enable_tests}
5134 if test -n "$with_wine64"
5136 if test "x$enable_win64" = "xyes"
5138 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
5139 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5141 test "$srcdir" != . || as_fn_error $?
"--with-wine64 cannot be used when building inside the source tree.
5142 You should create a separate build directory and run configure from there." "$LINENO" 5
5143 enable_fonts
=${enable_fonts:-no}
5144 enable_server
=${enable_server:-no}
5145 elif test "x$enable_win64" = "xyes"
5147 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5151 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5152 if ${wine_cv_toolsdir+:} false
; then :
5153 $as_echo_n "(cached) " >&6
5155 wine_cv_toolsdir
="$with_wine_tools"
5156 if test -z "$with_wine_tools"; then
5157 if test "$cross_compiling" = "yes"; then
5158 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5159 elif test -n "$with_wine64"; then
5160 wine_cv_toolsdir
="$with_wine64"
5163 if test -z "$wine_cv_toolsdir"; then
5164 wine_makedep
=tools
/makedep
5165 wine_cv_toolsdir
="\$(top_builddir)"
5166 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5167 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
5168 case "$wine_cv_toolsdir" in
5170 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
5172 enable_tools
=${enable_tools:-no}
5173 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5175 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5179 $as_echo "$wine_cv_toolsdir" >&6; }
5180 TOOLSDIR
=$wine_cv_toolsdir
5182 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5184 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
5190 # Extract the first word of "$ac_prog", so it can be a program name with args.
5191 set dummy
$ac_prog; ac_word
=$2
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5193 $as_echo_n "checking for $ac_word... " >&6; }
5194 if ${ac_cv_prog_FLEX+:} false
; then :
5195 $as_echo_n "(cached) " >&6
5197 if test -n "$FLEX"; then
5198 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5200 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5204 test -z "$as_dir" && as_dir
=.
5205 for ac_exec_ext
in '' $ac_executable_extensions; do
5206 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5207 ac_cv_prog_FLEX
="$ac_prog"
5208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5217 FLEX
=$ac_cv_prog_FLEX
5218 if test -n "$FLEX"; then
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5220 $as_echo "$FLEX" >&6; }
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5223 $as_echo "no" >&6; }
5227 test -n "$FLEX" && break
5229 test -n "$FLEX" || FLEX
="none"
5231 if test "$FLEX" = "none"
5233 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5236 $as_echo_n "checking whether flex is recent enough... " >&6; }
5237 cat >conftest.l
<<EOF
5239 #include "prediluvian.h"
5243 if $FLEX -t conftest.l
>/dev
/null
2>&5
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5246 $as_echo "yes" >&6; }
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5249 $as_echo "no" >&6; }
5250 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5253 for ac_prog
in bison
5255 # Extract the first word of "$ac_prog", so it can be a program name with args.
5256 set dummy
$ac_prog; ac_word
=$2
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5258 $as_echo_n "checking for $ac_word... " >&6; }
5259 if ${ac_cv_prog_BISON+:} false
; then :
5260 $as_echo_n "(cached) " >&6
5262 if test -n "$BISON"; then
5263 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5265 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5269 test -z "$as_dir" && as_dir
=.
5270 for ac_exec_ext
in '' $ac_executable_extensions; do
5271 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5272 ac_cv_prog_BISON
="$ac_prog"
5273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5282 BISON
=$ac_cv_prog_BISON
5283 if test -n "$BISON"; then
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5285 $as_echo "$BISON" >&6; }
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5288 $as_echo "no" >&6; }
5292 test -n "$BISON" && break
5294 test -n "$BISON" || BISON
="none"
5296 if test "$BISON" = "none"
5298 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5301 if test -n "$ac_tool_prefix"; then
5302 for ac_prog
in ar gar
5304 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5305 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5307 $as_echo_n "checking for $ac_word... " >&6; }
5308 if ${ac_cv_prog_AR+:} false
; then :
5309 $as_echo_n "(cached) " >&6
5311 if test -n "$AR"; then
5312 ac_cv_prog_AR
="$AR" # Let the user override the test.
5314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5318 test -z "$as_dir" && as_dir
=.
5319 for ac_exec_ext
in '' $ac_executable_extensions; do
5320 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5321 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5332 if test -n "$AR"; then
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5334 $as_echo "$AR" >&6; }
5336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5337 $as_echo "no" >&6; }
5341 test -n "$AR" && break
5344 if test -z "$AR"; then
5346 for ac_prog
in ar gar
5348 # Extract the first word of "$ac_prog", so it can be a program name with args.
5349 set dummy
$ac_prog; ac_word
=$2
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5351 $as_echo_n "checking for $ac_word... " >&6; }
5352 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5353 $as_echo_n "(cached) " >&6
5355 if test -n "$ac_ct_AR"; then
5356 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5362 test -z "$as_dir" && as_dir
=.
5363 for ac_exec_ext
in '' $ac_executable_extensions; do
5364 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5365 ac_cv_prog_ac_ct_AR
="$ac_prog"
5366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5375 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5376 if test -n "$ac_ct_AR"; then
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5378 $as_echo "$ac_ct_AR" >&6; }
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5381 $as_echo "no" >&6; }
5385 test -n "$ac_ct_AR" && break
5388 if test "x$ac_ct_AR" = x
; then
5391 case $cross_compiling:$ac_tool_warned in
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5394 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5395 ac_tool_warned
=yes ;;
5401 if test -n "$ac_tool_prefix"; then
5402 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5403 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5405 $as_echo_n "checking for $ac_word... " >&6; }
5406 if ${ac_cv_prog_STRIP+:} false
; then :
5407 $as_echo_n "(cached) " >&6
5409 if test -n "$STRIP"; then
5410 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5412 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5416 test -z "$as_dir" && as_dir
=.
5417 for ac_exec_ext
in '' $ac_executable_extensions; do
5418 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5419 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5429 STRIP
=$ac_cv_prog_STRIP
5430 if test -n "$STRIP"; then
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5432 $as_echo "$STRIP" >&6; }
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5435 $as_echo "no" >&6; }
5440 if test -z "$ac_cv_prog_STRIP"; then
5442 # Extract the first word of "strip", so it can be a program name with args.
5443 set dummy strip
; ac_word
=$2
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5445 $as_echo_n "checking for $ac_word... " >&6; }
5446 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5447 $as_echo_n "(cached) " >&6
5449 if test -n "$ac_ct_STRIP"; then
5450 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5456 test -z "$as_dir" && as_dir
=.
5457 for ac_exec_ext
in '' $ac_executable_extensions; do
5458 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5459 ac_cv_prog_ac_ct_STRIP
="strip"
5460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5469 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5470 if test -n "$ac_ct_STRIP"; then
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5472 $as_echo "$ac_ct_STRIP" >&6; }
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5475 $as_echo "no" >&6; }
5478 if test "x$ac_ct_STRIP" = x
; then
5481 case $cross_compiling:$ac_tool_warned in
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5484 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5485 ac_tool_warned
=yes ;;
5490 STRIP
="$ac_cv_prog_STRIP"
5495 if test -n "$ac_tool_prefix"; then
5496 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5497 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5499 $as_echo_n "checking for $ac_word... " >&6; }
5500 if ${ac_cv_prog_RANLIB+:} false
; then :
5501 $as_echo_n "(cached) " >&6
5503 if test -n "$RANLIB"; then
5504 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5506 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5510 test -z "$as_dir" && as_dir
=.
5511 for ac_exec_ext
in '' $ac_executable_extensions; do
5512 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5513 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5523 RANLIB
=$ac_cv_prog_RANLIB
5524 if test -n "$RANLIB"; then
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5526 $as_echo "$RANLIB" >&6; }
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5529 $as_echo "no" >&6; }
5534 if test -z "$ac_cv_prog_RANLIB"; then
5535 ac_ct_RANLIB
=$RANLIB
5536 # Extract the first word of "ranlib", so it can be a program name with args.
5537 set dummy ranlib
; ac_word
=$2
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5539 $as_echo_n "checking for $ac_word... " >&6; }
5540 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5541 $as_echo_n "(cached) " >&6
5543 if test -n "$ac_ct_RANLIB"; then
5544 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5546 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5550 test -z "$as_dir" && as_dir
=.
5551 for ac_exec_ext
in '' $ac_executable_extensions; do
5552 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5553 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5563 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5564 if test -n "$ac_ct_RANLIB"; then
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5566 $as_echo "$ac_ct_RANLIB" >&6; }
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5569 $as_echo "no" >&6; }
5572 if test "x$ac_ct_RANLIB" = x
; then
5575 case $cross_compiling:$ac_tool_warned in
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5578 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5579 ac_tool_warned
=yes ;;
5581 RANLIB
=$ac_ct_RANLIB
5584 RANLIB
="$ac_cv_prog_RANLIB"
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5588 $as_echo_n "checking whether ln -s works... " >&6; }
5590 if test "$LN_S" = "ln -s"; then
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5592 $as_echo "yes" >&6; }
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5595 $as_echo "no, using $LN_S" >&6; }
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5599 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5600 if ${ac_cv_path_GREP+:} false
; then :
5601 $as_echo_n "(cached) " >&6
5603 if test -z "$GREP"; then
5604 ac_path_GREP_found
=false
5605 # Loop through the user's path and test for each of PROGNAME-LIST
5606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5607 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5610 test -z "$as_dir" && as_dir
=.
5611 for ac_prog
in grep ggrep
; do
5612 for ac_exec_ext
in '' $ac_executable_extensions; do
5613 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5614 as_fn_executable_p
"$ac_path_GREP" ||
continue
5615 # Check for GNU ac_path_GREP and select it if it is found.
5616 # Check for GNU $ac_path_GREP
5617 case `"$ac_path_GREP" --version 2>&1` in
5619 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5622 $as_echo_n 0123456789 >"conftest.in"
5625 cat "conftest.in" "conftest.in" >"conftest.tmp"
5626 mv "conftest.tmp" "conftest.in"
5627 cp "conftest.in" "conftest.nl"
5628 $as_echo 'GREP' >> "conftest.nl"
5629 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5630 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5631 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5632 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5633 # Best one so far, save it but keep looking for a better one
5634 ac_cv_path_GREP
="$ac_path_GREP"
5635 ac_path_GREP_max
=$ac_count
5637 # 10*(2^10) chars as input seems more than enough
5638 test $ac_count -gt 10 && break
5640 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5643 $ac_path_GREP_found && break 3
5648 if test -z "$ac_cv_path_GREP"; then
5649 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5652 ac_cv_path_GREP
=$GREP
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5657 $as_echo "$ac_cv_path_GREP" >&6; }
5658 GREP
="$ac_cv_path_GREP"
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5662 $as_echo_n "checking for egrep... " >&6; }
5663 if ${ac_cv_path_EGREP+:} false
; then :
5664 $as_echo_n "(cached) " >&6
5666 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5667 then ac_cv_path_EGREP
="$GREP -E"
5669 if test -z "$EGREP"; then
5670 ac_path_EGREP_found
=false
5671 # Loop through the user's path and test for each of PROGNAME-LIST
5672 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5673 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5676 test -z "$as_dir" && as_dir
=.
5677 for ac_prog
in egrep; do
5678 for ac_exec_ext
in '' $ac_executable_extensions; do
5679 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5680 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5681 # Check for GNU ac_path_EGREP and select it if it is found.
5682 # Check for GNU $ac_path_EGREP
5683 case `"$ac_path_EGREP" --version 2>&1` in
5685 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5688 $as_echo_n 0123456789 >"conftest.in"
5691 cat "conftest.in" "conftest.in" >"conftest.tmp"
5692 mv "conftest.tmp" "conftest.in"
5693 cp "conftest.in" "conftest.nl"
5694 $as_echo 'EGREP' >> "conftest.nl"
5695 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5696 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5697 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5698 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5699 # Best one so far, save it but keep looking for a better one
5700 ac_cv_path_EGREP
="$ac_path_EGREP"
5701 ac_path_EGREP_max
=$ac_count
5703 # 10*(2^10) chars as input seems more than enough
5704 test $ac_count -gt 10 && break
5706 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5709 $ac_path_EGREP_found && break 3
5714 if test -z "$ac_cv_path_EGREP"; then
5715 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5718 ac_cv_path_EGREP
=$EGREP
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5724 $as_echo "$ac_cv_path_EGREP" >&6; }
5725 EGREP
="$ac_cv_path_EGREP"
5728 # Extract the first word of "ldconfig", so it can be a program name with args.
5729 set dummy ldconfig
; ac_word
=$2
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5731 $as_echo_n "checking for $ac_word... " >&6; }
5732 if ${ac_cv_path_LDCONFIG+:} false
; then :
5733 $as_echo_n "(cached) " >&6
5737 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5741 for as_dir
in /sbin
/usr
/sbin
$PATH
5744 test -z "$as_dir" && as_dir
=.
5745 for ac_exec_ext
in '' $ac_executable_extensions; do
5746 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5747 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5755 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5759 LDCONFIG
=$ac_cv_path_LDCONFIG
5760 if test -n "$LDCONFIG"; then
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5762 $as_echo "$LDCONFIG" >&6; }
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5765 $as_echo "no" >&6; }
5769 for ac_prog
in msgfmt
5771 # Extract the first word of "$ac_prog", so it can be a program name with args.
5772 set dummy
$ac_prog; ac_word
=$2
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5774 $as_echo_n "checking for $ac_word... " >&6; }
5775 if ${ac_cv_prog_MSGFMT+:} false
; then :
5776 $as_echo_n "(cached) " >&6
5778 if test -n "$MSGFMT"; then
5779 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5781 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5785 test -z "$as_dir" && as_dir
=.
5786 for ac_exec_ext
in '' $ac_executable_extensions; do
5787 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5788 ac_cv_prog_MSGFMT
="$ac_prog"
5789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5798 MSGFMT
=$ac_cv_prog_MSGFMT
5799 if test -n "$MSGFMT"; then
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5801 $as_echo "$MSGFMT" >&6; }
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5804 $as_echo "no" >&6; }
5808 test -n "$MSGFMT" && break
5810 test -n "$MSGFMT" || MSGFMT
="false"
5812 if ${ac_tool_prefix+:} false
; then :
5813 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5814 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5816 $as_echo_n "checking for $ac_word... " >&6; }
5817 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5818 $as_echo_n "(cached) " >&6
5820 if test -n "$PKG_CONFIG"; then
5821 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5827 test -z "$as_dir" && as_dir
=.
5828 for ac_exec_ext
in '' $ac_executable_extensions; do
5829 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5830 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5840 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5841 if test -n "$PKG_CONFIG"; then
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5843 $as_echo "$PKG_CONFIG" >&6; }
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5846 $as_echo "no" >&6; }
5851 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5852 if test "x$cross_compiling" = xyes
; then :
5855 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5856 # Extract the first word of "pkg-config", so it can be a program name with args.
5857 set dummy pkg-config
; ac_word
=$2
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5859 $as_echo_n "checking for $ac_word... " >&6; }
5860 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5861 $as_echo_n "(cached) " >&6
5863 if test -n "$PKG_CONFIG"; then
5864 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5866 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5870 test -z "$as_dir" && as_dir
=.
5871 for ac_exec_ext
in '' $ac_executable_extensions; do
5872 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5873 ac_cv_prog_PKG_CONFIG
="pkg-config"
5874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5883 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5884 if test -n "$PKG_CONFIG"; then
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5886 $as_echo "$PKG_CONFIG" >&6; }
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5889 $as_echo "no" >&6; }
5895 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5898 if test "x$enable_maintainer_mode" != "xyes"
5905 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5906 for ac_prog
in fontforge
5908 # Extract the first word of "$ac_prog", so it can be a program name with args.
5909 set dummy
$ac_prog; ac_word
=$2
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5911 $as_echo_n "checking for $ac_word... " >&6; }
5912 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5913 $as_echo_n "(cached) " >&6
5915 if test -n "$FONTFORGE"; then
5916 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5922 test -z "$as_dir" && as_dir
=.
5923 for ac_exec_ext
in '' $ac_executable_extensions; do
5924 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5925 ac_cv_prog_FONTFORGE
="$ac_prog"
5926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5935 FONTFORGE
=$ac_cv_prog_FONTFORGE
5936 if test -n "$FONTFORGE"; then
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5938 $as_echo "$FONTFORGE" >&6; }
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5941 $as_echo "no" >&6; }
5945 test -n "$FONTFORGE" && break
5947 test -n "$FONTFORGE" || FONTFORGE
="false"
5949 for ac_prog
in rsvg-convert rsvg
5951 # Extract the first word of "$ac_prog", so it can be a program name with args.
5952 set dummy
$ac_prog; ac_word
=$2
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5954 $as_echo_n "checking for $ac_word... " >&6; }
5955 if ${ac_cv_prog_RSVG+:} false
; then :
5956 $as_echo_n "(cached) " >&6
5958 if test -n "$RSVG"; then
5959 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5961 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5965 test -z "$as_dir" && as_dir
=.
5966 for ac_exec_ext
in '' $ac_executable_extensions; do
5967 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5968 ac_cv_prog_RSVG
="$ac_prog"
5969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5978 RSVG
=$ac_cv_prog_RSVG
5979 if test -n "$RSVG"; then
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5981 $as_echo "$RSVG" >&6; }
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5984 $as_echo "no" >&6; }
5988 test -n "$RSVG" && break
5990 test -n "$RSVG" || RSVG
="false"
5992 for ac_prog
in convert
5994 # Extract the first word of "$ac_prog", so it can be a program name with args.
5995 set dummy
$ac_prog; ac_word
=$2
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5997 $as_echo_n "checking for $ac_word... " >&6; }
5998 if ${ac_cv_prog_CONVERT+:} false
; then :
5999 $as_echo_n "(cached) " >&6
6001 if test -n "$CONVERT"; then
6002 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
6004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6008 test -z "$as_dir" && as_dir
=.
6009 for ac_exec_ext
in '' $ac_executable_extensions; do
6010 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6011 ac_cv_prog_CONVERT
="$ac_prog"
6012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6021 CONVERT
=$ac_cv_prog_CONVERT
6022 if test -n "$CONVERT"; then
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6024 $as_echo "$CONVERT" >&6; }
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6027 $as_echo "no" >&6; }
6031 test -n "$CONVERT" && break
6033 test -n "$CONVERT" || CONVERT
="false"
6035 for ac_prog
in icotool
6037 # Extract the first word of "$ac_prog", so it can be a program name with args.
6038 set dummy
$ac_prog; ac_word
=$2
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6040 $as_echo_n "checking for $ac_word... " >&6; }
6041 if ${ac_cv_prog_ICOTOOL+:} false
; then :
6042 $as_echo_n "(cached) " >&6
6044 if test -n "$ICOTOOL"; then
6045 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
6047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6051 test -z "$as_dir" && as_dir
=.
6052 for ac_exec_ext
in '' $ac_executable_extensions; do
6053 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6054 ac_cv_prog_ICOTOOL
="$ac_prog"
6055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6064 ICOTOOL
=$ac_cv_prog_ICOTOOL
6065 if test -n "$ICOTOOL"; then
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6067 $as_echo "$ICOTOOL" >&6; }
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6070 $as_echo "no" >&6; }
6074 test -n "$ICOTOOL" && break
6076 test -n "$ICOTOOL" || ICOTOOL
="false"
6078 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6079 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6081 if test "$CONVERT" = false
6083 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6086 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6087 convert_version
=`convert --version | head -n1`
6088 if test "x$convert_version" != "x"
6090 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6091 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6092 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6097 if test "$CONVERT" = false
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6100 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6101 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6104 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6108 if test "$ICOTOOL" = false
6110 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6113 $as_echo_n "checking for recent enough icotool... " >&6; }
6114 icotool_version
=`icotool --version | head -n1`
6115 if test "x$icotool_version" != "x"
6117 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6118 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6119 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6122 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
6125 if test "$ICOTOOL" = false
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6128 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6129 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6132 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6138 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
6141 test "x$with_gettext" != xno || MSGFMT
=false
6142 if test "$MSGFMT" != "false"
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6145 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6146 cat >conftest.po
<<EOF
6152 if $MSGFMT -o /dev
/null conftest.po
2>&5
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6155 $as_echo "yes" >&6; }
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6158 $as_echo "no" >&6; }
6162 if test "$MSGFMT" = false
; then :
6163 case "x$with_gettext" in
6164 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
6166 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
6167 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6169 enable_po
=${enable_po:-no}
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6174 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6175 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
6176 $as_echo_n "(cached) " >&6
6178 ac_check_lib_save_LIBS
=$LIBS
6180 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6181 /* end confdefs.h. */
6183 /* Override any GCC internal prototype to avoid an error.
6184 Use char because int might match the return type of a GCC
6185 builtin and then its argument prototype would still apply. */
6189 char i386_set_ldt ();
6193 return i386_set_ldt ();
6198 if ac_fn_c_try_link
"$LINENO"; then :
6199 ac_cv_lib_i386_i386_set_ldt
=yes
6201 ac_cv_lib_i386_i386_set_ldt
=no
6203 rm -f core conftest.err conftest.
$ac_objext \
6204 conftest
$ac_exeext conftest.
$ac_ext
6205 LIBS
=$ac_check_lib_save_LIBS
6207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6208 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6209 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
6210 cat >>confdefs.h
<<_ACEOF
6211 #define HAVE_LIBI386 1
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6219 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6220 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
6221 $as_echo_n "(cached) " >&6
6223 ac_check_lib_save_LIBS
=$LIBS
6224 LIBS
="-lossaudio $LIBS"
6225 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6226 /* end confdefs.h. */
6228 /* Override any GCC internal prototype to avoid an error.
6229 Use char because int might match the return type of a GCC
6230 builtin and then its argument prototype would still apply. */
6238 return _oss_ioctl ();
6243 if ac_fn_c_try_link
"$LINENO"; then :
6244 ac_cv_lib_ossaudio__oss_ioctl
=yes
6246 ac_cv_lib_ossaudio__oss_ioctl
=no
6248 rm -f core conftest.err conftest.
$ac_objext \
6249 conftest
$ac_exeext conftest.
$ac_ext
6250 LIBS
=$ac_check_lib_save_LIBS
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6253 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6254 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
6255 cat >>confdefs.h
<<_ACEOF
6256 #define HAVE_LIBOSSAUDIO 1
6259 LIBS
="-lossaudio $LIBS"
6268 # Check whether --enable-largefile was given.
6269 if test "${enable_largefile+set}" = set; then :
6270 enableval
=$enable_largefile;
6273 if test "$enable_largefile" != no
; then
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6276 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6277 if ${ac_cv_sys_largefile_CC+:} false
; then :
6278 $as_echo_n "(cached) " >&6
6280 ac_cv_sys_largefile_CC
=no
6281 if test "$GCC" != yes; then
6284 # IRIX 6.2 and later do not support large files by default,
6285 # so use the C compiler's -n32 option if that helps.
6286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6287 /* end confdefs.h. */
6288 #include <sys/types.h>
6289 /* Check that off_t can represent 2**63 - 1 correctly.
6290 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6291 since some C++ compilers masquerading as C compilers
6292 incorrectly reject 9223372036854775807. */
6293 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6294 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6295 && LARGE_OFF_T % 2147483647 == 1)
6305 if ac_fn_c_try_compile
"$LINENO"; then :
6308 rm -f core conftest.err conftest.
$ac_objext
6310 if ac_fn_c_try_compile
"$LINENO"; then :
6311 ac_cv_sys_largefile_CC
=' -n32'; break
6313 rm -f core conftest.err conftest.
$ac_objext
6317 rm -f conftest.
$ac_ext
6320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6321 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6322 if test "$ac_cv_sys_largefile_CC" != no
; then
6323 CC
=$CC$ac_cv_sys_largefile_CC
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6327 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6328 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6329 $as_echo_n "(cached) " >&6
6332 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6333 /* end confdefs.h. */
6334 #include <sys/types.h>
6335 /* Check that off_t can represent 2**63 - 1 correctly.
6336 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6337 since some C++ compilers masquerading as C compilers
6338 incorrectly reject 9223372036854775807. */
6339 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6340 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6341 && LARGE_OFF_T % 2147483647 == 1)
6351 if ac_fn_c_try_compile
"$LINENO"; then :
6352 ac_cv_sys_file_offset_bits
=no
; break
6354 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6356 /* end confdefs.h. */
6357 #define _FILE_OFFSET_BITS 64
6358 #include <sys/types.h>
6359 /* Check that off_t can represent 2**63 - 1 correctly.
6360 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6361 since some C++ compilers masquerading as C compilers
6362 incorrectly reject 9223372036854775807. */
6363 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6364 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6365 && LARGE_OFF_T % 2147483647 == 1)
6375 if ac_fn_c_try_compile
"$LINENO"; then :
6376 ac_cv_sys_file_offset_bits
=64; break
6378 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6379 ac_cv_sys_file_offset_bits
=unknown
6383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6384 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6385 case $ac_cv_sys_file_offset_bits in #(
6388 cat >>confdefs.h
<<_ACEOF
6389 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6394 if test $ac_cv_sys_file_offset_bits = unknown
; then
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6396 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6397 if ${ac_cv_sys_large_files+:} false
; then :
6398 $as_echo_n "(cached) " >&6
6401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6402 /* end confdefs.h. */
6403 #include <sys/types.h>
6404 /* Check that off_t can represent 2**63 - 1 correctly.
6405 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6406 since some C++ compilers masquerading as C compilers
6407 incorrectly reject 9223372036854775807. */
6408 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6409 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6410 && LARGE_OFF_T % 2147483647 == 1)
6420 if ac_fn_c_try_compile
"$LINENO"; then :
6421 ac_cv_sys_large_files
=no
; break
6423 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6424 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6425 /* end confdefs.h. */
6426 #define _LARGE_FILES 1
6427 #include <sys/types.h>
6428 /* Check that off_t can represent 2**63 - 1 correctly.
6429 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6430 since some C++ compilers masquerading as C compilers
6431 incorrectly reject 9223372036854775807. */
6432 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6433 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6434 && LARGE_OFF_T % 2147483647 == 1)
6444 if ac_fn_c_try_compile
"$LINENO"; then :
6445 ac_cv_sys_large_files
=1; break
6447 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6448 ac_cv_sys_large_files
=unknown
6452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6453 $as_echo "$ac_cv_sys_large_files" >&6; }
6454 case $ac_cv_sys_large_files in #(
6457 cat >>confdefs.h
<<_ACEOF
6458 #define _LARGE_FILES $ac_cv_sys_large_files
6470 ac_cpp
='$CPP $CPPFLAGS'
6471 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6472 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6473 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6475 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6476 # On Suns, sometimes $CPP names a directory.
6477 if test -n "$CPP" && test -d "$CPP"; then
6480 if test -z "$CPP"; then
6481 if ${ac_cv_prog_CPP+:} false
; then :
6482 $as_echo_n "(cached) " >&6
6484 # Double quotes because CPP needs to be expanded
6485 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6488 for ac_c_preproc_warn_flag
in '' yes
6490 # Use a header file that comes with gcc, so configuring glibc
6491 # with a fresh cross-compiler works.
6492 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6493 # <limits.h> exists even on freestanding compilers.
6494 # On the NeXT, cc -E runs the code through the compiler's parser,
6495 # not just through cpp. "Syntax error" is here to catch this case.
6496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6497 /* end confdefs.h. */
6499 # include <limits.h>
6501 # include <assert.h>
6505 if ac_fn_c_try_cpp
"$LINENO"; then :
6508 # Broken: fails on valid input.
6511 rm -f conftest.err conftest.i conftest.
$ac_ext
6513 # OK, works on sane cases. Now check whether nonexistent headers
6514 # can be detected and how.
6515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6516 /* end confdefs.h. */
6517 #include <ac_nonexistent.h>
6519 if ac_fn_c_try_cpp
"$LINENO"; then :
6520 # Broken: success on invalid input.
6523 # Passes both tests.
6527 rm -f conftest.err conftest.i conftest.
$ac_ext
6530 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6531 rm -f conftest.i conftest.err conftest.
$ac_ext
6532 if $ac_preproc_ok; then :
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6545 $as_echo "$CPP" >&6; }
6547 for ac_c_preproc_warn_flag
in '' yes
6549 # Use a header file that comes with gcc, so configuring glibc
6550 # with a fresh cross-compiler works.
6551 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6552 # <limits.h> exists even on freestanding compilers.
6553 # On the NeXT, cc -E runs the code through the compiler's parser,
6554 # not just through cpp. "Syntax error" is here to catch this case.
6555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6556 /* end confdefs.h. */
6558 # include <limits.h>
6560 # include <assert.h>
6564 if ac_fn_c_try_cpp
"$LINENO"; then :
6567 # Broken: fails on valid input.
6570 rm -f conftest.err conftest.i conftest.
$ac_ext
6572 # OK, works on sane cases. Now check whether nonexistent headers
6573 # can be detected and how.
6574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6575 /* end confdefs.h. */
6576 #include <ac_nonexistent.h>
6578 if ac_fn_c_try_cpp
"$LINENO"; then :
6579 # Broken: success on invalid input.
6582 # Passes both tests.
6586 rm -f conftest.err conftest.i conftest.
$ac_ext
6589 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6590 rm -f conftest.i conftest.err conftest.
$ac_ext
6591 if $ac_preproc_ok; then :
6594 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6595 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6596 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6597 See \`config.log' for more details" "$LINENO" 5; }
6601 ac_cpp
='$CPP $CPPFLAGS'
6602 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6603 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6604 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6608 $as_echo_n "checking for ANSI C header files... " >&6; }
6609 if ${ac_cv_header_stdc+:} false
; then :
6610 $as_echo_n "(cached) " >&6
6612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6613 /* end confdefs.h. */
6627 if ac_fn_c_try_compile
"$LINENO"; then :
6628 ac_cv_header_stdc
=yes
6630 ac_cv_header_stdc
=no
6632 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6634 if test $ac_cv_header_stdc = yes; then
6635 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6636 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6637 /* end confdefs.h. */
6641 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6642 $EGREP "memchr" >/dev
/null
2>&1; then :
6645 ac_cv_header_stdc
=no
6651 if test $ac_cv_header_stdc = yes; then
6652 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6654 /* end confdefs.h. */
6658 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6659 $EGREP "free" >/dev
/null
2>&1; then :
6662 ac_cv_header_stdc
=no
6668 if test $ac_cv_header_stdc = yes; then
6669 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6670 if test "$cross_compiling" = yes; then :
6673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6674 /* end confdefs.h. */
6677 #if ((' ' & 0x0FF) == 0x020)
6678 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6679 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6681 # define ISLOWER(c) \
6682 (('a' <= (c) && (c) <= 'i') \
6683 || ('j' <= (c) && (c) <= 'r') \
6684 || ('s' <= (c) && (c) <= 'z'))
6685 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6688 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6693 for (i = 0; i < 256; i++)
6694 if (XOR (islower (i), ISLOWER (i))
6695 || toupper (i) != TOUPPER (i))
6700 if ac_fn_c_try_run
"$LINENO"; then :
6703 ac_cv_header_stdc
=no
6705 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6706 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6712 $as_echo "$ac_cv_header_stdc" >&6; }
6713 if test $ac_cv_header_stdc = yes; then
6715 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6719 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6720 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6721 inttypes.h stdint.h unistd.h
6723 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6724 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6726 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6727 cat >>confdefs.h
<<_ACEOF
6728 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6738 ApplicationServices
/ApplicationServices.h \
6739 AudioToolbox
/AudioConverter.h \
6740 AudioUnit
/AudioUnit.h \
6741 AudioUnit
/AudioComponent.h \
6744 CommonCrypto
/CommonDigest.h \
6745 CoreAudio
/CoreAudio.h \
6746 CoreServices
/CoreServices.h \
6747 DiskArbitration
/DiskArbitration.h \
6749 IOKit
/hid
/IOHIDLib.h \
6752 QuickTime
/ImageCompression.h \
6753 Security
/Security.h \
6804 netinet
/in_systm.h \
6868 valgrind
/memcheck.h \
6869 valgrind
/valgrind.h \
6873 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6874 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6875 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6876 cat >>confdefs.h
<<_ACEOF
6877 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6885 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6886 if ${ac_cv_header_sys_types_h_makedev+:} false
; then :
6887 $as_echo_n "(cached) " >&6
6889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6890 /* end confdefs.h. */
6891 #include <sys/types.h>
6895 return makedev(0, 0);
6900 if ac_fn_c_try_link
"$LINENO"; then :
6901 ac_cv_header_sys_types_h_makedev
=yes
6903 ac_cv_header_sys_types_h_makedev
=no
6905 rm -f core conftest.err conftest.
$ac_objext \
6906 conftest
$ac_exeext conftest.
$ac_ext
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6910 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6912 if test $ac_cv_header_sys_types_h_makedev = no
; then
6913 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6914 if test "x$ac_cv_header_sys_mkdev_h" = xyes
; then :
6916 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6922 if test $ac_cv_header_sys_mkdev_h = no
; then
6923 ac_fn_c_check_header_mongrel
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6924 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
; then :
6926 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6935 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6936 if ${ac_cv_header_stat_broken+:} false
; then :
6937 $as_echo_n "(cached) " >&6
6939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6940 /* end confdefs.h. */
6941 #include <sys/types.h>
6942 #include <sys/stat.h>
6944 #if defined S_ISBLK && defined S_IFDIR
6945 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6948 #if defined S_ISBLK && defined S_IFCHR
6949 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6952 #if defined S_ISLNK && defined S_IFREG
6953 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6956 #if defined S_ISSOCK && defined S_IFREG
6957 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6961 if ac_fn_c_try_compile
"$LINENO"; then :
6962 ac_cv_header_stat_broken
=no
6964 ac_cv_header_stat_broken
=yes
6966 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6969 $as_echo "$ac_cv_header_stat_broken" >&6; }
6970 if test $ac_cv_header_stat_broken = yes; then
6972 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6978 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6980 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6981 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6982 #ifdef HAVE_SYS_PARAM_H
6983 # include <sys/param.h>
6986 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6987 cat >>confdefs.h
<<_ACEOF
6988 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7003 netinet
/if_ether.h \
7004 netinet
/if_inarp.h \
7013 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7014 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7015 #ifdef HAVE_SYS_SOCKET_H
7016 # include <sys/socket.h>
7018 #ifdef HAVE_SYS_SOCKETVAR_H
7019 # include <sys/socketvar.h>
7021 #ifdef HAVE_NET_ROUTE_H
7022 # include <net/route.h>
7024 #ifdef HAVE_NETINET_IN_H
7025 # include <netinet/in.h>
7027 #ifdef HAVE_NETINET_IN_SYSTM_H
7028 # include <netinet/in_systm.h>
7030 #ifdef HAVE_NET_IF_H
7031 # include <net/if.h>
7033 #ifdef HAVE_NETINET_IP_H
7034 # include <netinet/ip.h>
7037 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7038 cat >>confdefs.h
<<_ACEOF
7039 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7047 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
7049 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7050 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7054 #ifdef HAVE_SYS_SOCKET_H
7055 # include <sys/socket.h>
7057 #ifdef HAVE_SYS_SOCKETVAR_H
7058 # include <sys/socketvar.h>
7060 #ifdef HAVE_SYS_TIMEOUT_H
7061 # include <sys/timeout.h>
7063 #ifdef HAVE_NETINET_IN_H
7064 # include <netinet/in.h>
7066 #ifdef HAVE_NETINET_IN_SYSTM_H
7067 # include <netinet/in_systm.h>
7069 #ifdef HAVE_NETINET_IP_H
7070 # include <netinet/ip.h>
7072 #ifdef HAVE_NETINET_IP_VAR_H
7073 # include <netinet/ip_var.h>
7075 #ifdef HAVE_NETINET_IP_ICMP_H
7076 # include <netinet/ip_icmp.h>
7078 #ifdef HAVE_NETINET_UDP_H
7079 # include <netinet/udp.h>
7081 #ifdef HAVE_NETINET_TCP_H
7082 # include <netinet/tcp.h>
7084 #ifdef HAVE_NETINET_TCP_TIMER_H
7085 #include <netinet/tcp_timer.h>
7088 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7089 cat >>confdefs.h
<<_ACEOF
7090 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7098 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
7100 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7101 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7102 #ifdef HAVE_ASM_TYPES_H
7103 # include <asm/types.h>
7105 #ifdef HAVE_SYS_SOCKET_H
7106 # include <sys/socket.h>
7108 #ifdef HAVE_LINUX_TYPES_H
7109 # include <linux/types.h>
7112 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7113 cat >>confdefs.h
<<_ACEOF
7114 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7122 for ac_header
in mach-o
/dyld_images.h
7124 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7125 # include <stdbool.h>
7127 #ifdef HAVE_STDINT_H
7128 # include <stdint.h>
7131 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
7132 cat >>confdefs.h
<<_ACEOF
7133 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7141 for ac_header
in resolv.h
7143 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7144 #ifdef HAVE_SYS_SOCKET_H
7145 # include <sys/socket.h>
7147 #ifdef HAVE_NETINET_IN_H
7148 # include <netinet/in.h>
7150 #ifdef HAVE_ARPA_NAMESER_H
7151 # include <arpa/nameser.h>
7154 if test "x$ac_cv_header_resolv_h" = xyes
; then :
7155 cat >>confdefs.h
<<_ACEOF
7156 #define HAVE_RESOLV_H 1
7164 for ac_header
in ifaddrs.h
7166 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7168 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
7169 cat >>confdefs.h
<<_ACEOF
7170 #define HAVE_IFADDRS_H 1
7178 for ac_header
in sys
/ucontext.h
7180 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7182 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
7183 cat >>confdefs.h
<<_ACEOF
7184 #define HAVE_SYS_UCONTEXT_H 1
7192 for ac_header
in sys
/thr.h
7194 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7195 #ifdef HAVE_SYS_UCONTEXT_H
7196 #include <sys/ucontext.h>
7199 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
7200 cat >>confdefs.h
<<_ACEOF
7201 #define HAVE_SYS_THR_H 1
7209 for ac_header
in pthread_np.h
7211 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7212 #include <pthread.h>
7215 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
7216 cat >>confdefs.h
<<_ACEOF
7217 #define HAVE_PTHREAD_NP_H 1
7225 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
7227 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7228 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7229 #include <sys/time.h>
7231 #include <sys/types.h>
7232 #ifdef HAVE_ASM_TYPES_H
7233 #include <asm/types.h>
7236 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7237 cat >>confdefs.h
<<_ACEOF
7238 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7246 for ac_header
in libprocstat.h
7248 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7249 #include <sys/param.h>
7251 #ifdef HAVE_SYS_QUEUE_H
7252 #include <sys/queue.h>
7254 #ifdef HAVE_SYS_SOCKET_H
7255 #include <sys/socket.h>
7258 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
7259 cat >>confdefs.h
<<_ACEOF
7260 #define HAVE_LIBPROCSTAT_H 1
7269 dlldir
="\${libdir}/wine"
7271 DLLFLAGS
="-D_REENTRANT"
7282 # Extract the first word of "ldd", so it can be a program name with args.
7283 set dummy ldd
; ac_word
=$2
7284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7285 $as_echo_n "checking for $ac_word... " >&6; }
7286 if ${ac_cv_path_LDD+:} false
; then :
7287 $as_echo_n "(cached) " >&6
7291 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7294 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7295 as_dummy
="/sbin:/usr/sbin:$PATH"
7296 for as_dir
in $as_dummy
7299 test -z "$as_dir" && as_dir
=.
7300 for ac_exec_ext
in '' $ac_executable_extensions; do
7301 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7302 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7310 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7315 if test -n "$LDD"; then
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7317 $as_echo "$LDD" >&6; }
7319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7320 $as_echo "no" >&6; }
7324 if test -n "$ac_tool_prefix"; then
7325 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7326 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7328 $as_echo_n "checking for $ac_word... " >&6; }
7329 if ${ac_cv_prog_OTOOL+:} false
; then :
7330 $as_echo_n "(cached) " >&6
7332 if test -n "$OTOOL"; then
7333 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7335 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7339 test -z "$as_dir" && as_dir
=.
7340 for ac_exec_ext
in '' $ac_executable_extensions; do
7341 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7342 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7352 OTOOL
=$ac_cv_prog_OTOOL
7353 if test -n "$OTOOL"; then
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7355 $as_echo "$OTOOL" >&6; }
7357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7358 $as_echo "no" >&6; }
7363 if test -z "$ac_cv_prog_OTOOL"; then
7365 # Extract the first word of "otool", so it can be a program name with args.
7366 set dummy otool
; ac_word
=$2
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7368 $as_echo_n "checking for $ac_word... " >&6; }
7369 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
7370 $as_echo_n "(cached) " >&6
7372 if test -n "$ac_ct_OTOOL"; then
7373 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7375 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7379 test -z "$as_dir" && as_dir
=.
7380 for ac_exec_ext
in '' $ac_executable_extensions; do
7381 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7382 ac_cv_prog_ac_ct_OTOOL
="otool"
7383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7392 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7393 if test -n "$ac_ct_OTOOL"; then
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7395 $as_echo "$ac_ct_OTOOL" >&6; }
7397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7398 $as_echo "no" >&6; }
7401 if test "x$ac_ct_OTOOL" = x
; then
7404 case $cross_compiling:$ac_tool_warned in
7406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7407 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7408 ac_tool_warned
=yes ;;
7413 OTOOL
="$ac_cv_prog_OTOOL"
7416 if test -n "$ac_tool_prefix"; then
7417 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7418 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7420 $as_echo_n "checking for $ac_word... " >&6; }
7421 if ${ac_cv_prog_READELF+:} false
; then :
7422 $as_echo_n "(cached) " >&6
7424 if test -n "$READELF"; then
7425 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7427 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7431 test -z "$as_dir" && as_dir
=.
7432 for ac_exec_ext
in '' $ac_executable_extensions; do
7433 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7434 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7444 READELF
=$ac_cv_prog_READELF
7445 if test -n "$READELF"; then
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7447 $as_echo "$READELF" >&6; }
7449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7450 $as_echo "no" >&6; }
7455 if test -z "$ac_cv_prog_READELF"; then
7456 ac_ct_READELF
=$READELF
7457 # Extract the first word of "readelf", so it can be a program name with args.
7458 set dummy readelf
; ac_word
=$2
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7460 $as_echo_n "checking for $ac_word... " >&6; }
7461 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7462 $as_echo_n "(cached) " >&6
7464 if test -n "$ac_ct_READELF"; then
7465 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7467 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7471 test -z "$as_dir" && as_dir
=.
7472 for ac_exec_ext
in '' $ac_executable_extensions; do
7473 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7474 ac_cv_prog_ac_ct_READELF
="readelf"
7475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7484 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7485 if test -n "$ac_ct_READELF"; then
7486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7487 $as_echo "$ac_ct_READELF" >&6; }
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7490 $as_echo "no" >&6; }
7493 if test "x$ac_ct_READELF" = x
; then
7496 case $cross_compiling:$ac_tool_warned in
7498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7499 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7500 ac_tool_warned
=yes ;;
7502 READELF
=$ac_ct_READELF
7505 READELF
="$ac_cv_prog_READELF"
7508 wine_rules_file
=conf$
$rules.
make
7509 rm -f $wine_rules_file
7514 CONFIGURE_TARGETS
=""
7516 ALL_TEST_RESOURCES
=""
7519 wine_fn_append_file
()
7521 as_fn_append
$1 " \\$as_nl $2"
7524 wine_fn_append_rule
()
7526 $as_echo "$1" >>$wine_rules_file
7531 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7534 wine_fn_all_rules
()
7536 wine_fn_append_file SUBDIRS
$ac_dir
7537 wine_fn_append_rule \
7541 @cd $ac_dir && \$(MAKE)"
7544 wine_fn_install_rules
()
7546 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7548 wine_fn_append_rule \
7549 ".PHONY: $ac_dir/install $ac_dir/uninstall
7550 $ac_dir/install:: $ac_dir
7551 @cd $ac_dir && \$(MAKE) install
7553 @cd $ac_dir && \$(MAKE) uninstall
7554 install:: $ac_dir/install
7555 __uninstall__: $ac_dir/uninstall"
7557 if wine_fn_has_flag install-lib
7559 wine_fn_append_rule \
7560 ".PHONY: $ac_dir/install-lib
7561 $ac_dir/install-lib:: $ac_dir
7562 @cd $ac_dir && \$(MAKE) install-lib
7563 install-lib:: $ac_dir/install-lib"
7566 if wine_fn_has_flag install-dev
7568 wine_fn_append_rule \
7569 ".PHONY: $ac_dir/install-dev
7570 $ac_dir/install-dev:: $ac_dir
7571 @cd $ac_dir && \$(MAKE) install-dev
7572 install-dev:: $ac_dir/install-dev"
7576 wine_fn_clean_rules
()
7580 if wine_fn_has_flag clean
7582 wine_fn_append_rule \
7583 "$ac_dir/clean: dummy
7584 @cd $ac_dir && \$(MAKE) clean"
7586 wine_fn_append_rule \
7587 "$ac_dir/clean: dummy
7588 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7590 wine_fn_append_rule \
7591 "__clean__: $ac_dir/clean
7592 .PHONY: $ac_dir/clean"
7595 wine_fn_disabled_rules
()
7599 wine_fn_append_file SUBDIRS
$ac_dir
7600 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir
7601 wine_fn_append_rule \
7602 "__clean__: $ac_dir/clean
7603 .PHONY: $ac_dir/clean
7604 $ac_dir/clean: dummy
7605 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7608 wine_fn_config_makefile
()
7615 fonts|server
) test -z "$with_wine64" ||
return ;;
7617 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7618 wine_fn_disabled_rules
; return
7621 wine_fn_install_rules
7625 wine_fn_config_lib
()
7629 ac_dir
=dlls
/$ac_name
7632 if test "x$enable_tools" = xno
; then :
7635 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7640 wine_fn_append_rule \
7641 ".PHONY: $ac_dir/install $ac_dir/uninstall
7642 $ac_dir/install:: $ac_dir
7643 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7645 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7646 install install-dev:: $ac_dir/install
7647 __uninstall__: $ac_dir/uninstall
7648 __builddeps__: $ac_dir
7652 wine_fn_config_dll
()
7655 ac_dir
=dlls
/$ac_name
7658 ac_implib
=${4:-$ac_name}
7659 ac_file
=$ac_dir/lib
$ac_implib
7664 if test "x$enable_tools" = xno
; then :
7667 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7670 *16) ac_implibflags
=" -m16" ;;
7672 *) ac_dll
=$ac_dll.dll
;;
7676 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7677 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7679 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7680 if test "$ac_enable" != enable_win16
7682 wine_fn_clean_rules
$ac_clean
7683 wine_fn_append_file SUBDIRS
$ac_dir
7684 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir
7686 wine_fn_disabled_rules
$ac_clean
7691 wine_fn_clean_rules
$ac_clean
7692 wine_fn_append_rule \
7693 "$ac_dir: __builddeps__
7694 manpages htmlpages sgmlpages xmlpages::
7695 @cd $ac_dir && \$(MAKE) \$@
7696 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7697 install install-lib:: $ac_dir/install-lib
7698 __uninstall__: $ac_dir/uninstall"
7699 if test -n "$DLLEXT"
7701 wine_fn_append_rule \
7702 "$ac_dir/install-lib:: $ac_dir
7703 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7704 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7706 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7708 wine_fn_append_rule \
7709 "$ac_dir/install-lib:: $ac_dir
7710 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7712 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7716 if wine_fn_has_flag staticimplib
7718 wine_fn_append_rule \
7719 "__builddeps__: $ac_file.a
7720 $ac_file.a $ac_file.cross.a: $ac_deps
7722 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7723 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7724 $ac_dir/install-dev:: $ac_file.a
7725 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7727 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7728 install install-dev:: $ac_dir/install-dev
7729 __uninstall__: $ac_dir/uninstall"
7731 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7733 wine_fn_append_rule \
7734 "__builddeps__: $ac_file.cross.a
7735 $ac_file.cross.a: dummy
7736 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7739 elif wine_fn_has_flag implib
7741 wine_fn_append_rule \
7742 "__builddeps__: $ac_file.$IMPLIBEXT
7743 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7744 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7745 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7746 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7747 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7748 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7749 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7751 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7752 install install-dev:: $ac_dir/install-dev
7753 __uninstall__: $ac_dir/uninstall"
7754 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7756 wine_fn_append_rule \
7757 "__builddeps__: $ac_file.cross.a
7758 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7759 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7764 wine_fn_config_program
()
7767 ac_dir
=programs
/$ac_name
7774 *) ac_program
=$ac_program.exe
;;
7778 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7779 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7781 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7782 wine_fn_disabled_rules
$ac_clean; return
7786 wine_fn_clean_rules
$ac_clean
7787 wine_fn_append_rule
"$ac_dir: __builddeps__"
7789 wine_fn_has_flag
install ||
return
7790 wine_fn_append_rule \
7791 ".PHONY: $ac_dir/install $ac_dir/uninstall
7792 install install-lib:: $ac_dir/install
7793 __uninstall__: $ac_dir/uninstall"
7795 if test -n "$DLLEXT"
7797 wine_fn_append_rule \
7798 "$ac_dir/install:: $ac_dir
7799 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7800 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7802 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7804 if test -z "$with_wine64" && wine_fn_has_flag installbin
7806 wine_fn_append_rule \
7807 "$ac_dir/install:: __tooldeps__
7808 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7810 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7813 wine_fn_append_rule \
7814 "$ac_dir/install:: $ac_dir
7815 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7817 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7820 if test -z "$with_wine64" && wine_fn_has_flag manpage
7822 wine_fn_append_rule \
7823 "$ac_dir/install:: $ac_dir
7824 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7826 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7830 wine_fn_config_test
()
7837 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7838 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7840 if test "x$enable_tests" = xno
; then :
7841 wine_fn_disabled_rules
$ac_clean; return
7844 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7846 wine_fn_clean_rules
$ac_clean
7848 wine_fn_append_rule \
7849 "$ac_dir: __builddeps__
7850 programs/winetest: $ac_dir
7851 check test: $ac_dir/test
7852 .PHONY: $ac_dir/test
7854 @cd $ac_dir && \$(MAKE) test
7856 \$(RM) $ac_dir/*.ok"
7858 if test -n "$CROSSTARGET"
7860 wine_fn_append_rule \
7861 "crosstest: $ac_dir/crosstest
7862 .PHONY: $ac_dir/crosstest
7863 $ac_dir/crosstest: __builddeps__ dummy
7864 @cd $ac_dir && \$(MAKE) crosstest"
7868 wine_fn_config_tool
()
7872 if test "x$enable_tools" = xno
; then :
7873 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir; return
7877 wine_fn_install_rules
7880 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7881 wine_fn_append_rule
"$ac_dir: libs/port"
7883 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7887 wine_fn_config_symlink
()
7890 if test "x$1" = "x-d"
7896 wine_fn_append_rule \
7898 @./config.status \$@"
7899 for f
in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS
$f; done
7900 test -n "$ac_linkdir" ||
return
7901 wine_fn_append_rule
"$ac_linkdir/depend: $ac_links"
7905 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7906 WINELOADER_PROGRAMS
="$wine_binary"
7908 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7912 if test -n "$ac_tool_prefix"; then
7913 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7914 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7916 $as_echo_n "checking for $ac_word... " >&6; }
7917 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7918 $as_echo_n "(cached) " >&6
7920 if test -n "$DLLTOOL"; then
7921 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7927 test -z "$as_dir" && as_dir
=.
7928 for ac_exec_ext
in '' $ac_executable_extensions; do
7929 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7930 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7940 DLLTOOL
=$ac_cv_prog_DLLTOOL
7941 if test -n "$DLLTOOL"; then
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7943 $as_echo "$DLLTOOL" >&6; }
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7946 $as_echo "no" >&6; }
7951 if test -z "$ac_cv_prog_DLLTOOL"; then
7952 ac_ct_DLLTOOL
=$DLLTOOL
7953 # Extract the first word of "dlltool", so it can be a program name with args.
7954 set dummy dlltool
; ac_word
=$2
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7956 $as_echo_n "checking for $ac_word... " >&6; }
7957 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7958 $as_echo_n "(cached) " >&6
7960 if test -n "$ac_ct_DLLTOOL"; then
7961 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7963 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7967 test -z "$as_dir" && as_dir
=.
7968 for ac_exec_ext
in '' $ac_executable_extensions; do
7969 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7970 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7980 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7981 if test -n "$ac_ct_DLLTOOL"; then
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7983 $as_echo "$ac_ct_DLLTOOL" >&6; }
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7986 $as_echo "no" >&6; }
7989 if test "x$ac_ct_DLLTOOL" = x
; then
7992 case $cross_compiling:$ac_tool_warned in
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7995 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7996 ac_tool_warned
=yes ;;
7998 DLLTOOL
=$ac_ct_DLLTOOL
8001 DLLTOOL
="$ac_cv_prog_DLLTOOL"
8007 enable_iphlpapi
=${enable_iphlpapi:-no}
8008 enable_kernel32
=${enable_kernel32:-no}
8009 enable_msvcrt
=${enable_msvcrt:-no}
8010 enable_ntdll
=${enable_ntdll:-no}
8011 enable_ws2_32
=${enable_ws2_32:-no}
8012 enable_loader
=${enable_loader:-no}
8013 enable_server
=${enable_server:-no}
8014 with_x
=${with_x:-no}
8015 with_pthread
=${with_pthread:-no}
8021 SOCKET_LIBS
="-lws2_32"
8025 LIBWINE_SHAREDLIB
="libwine.dll"
8027 LIBWINE_IMPORTLIB
="libwine.a"
8029 LIBWINE_INSTALL_LIB
="libwine.dll"
8031 LIBWINE_INSTALL_DEV
="libwine.a"
8033 LIBWINE_LDFLAGS
="-shared \$(srcdir)/wine.def"
8035 LIBWINE_DEPENDS
="wine.def"
8040 for ac_header
in libunwind.h
8042 ac_fn_c_check_header_mongrel
"$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8043 if test "x$ac_cv_header_libunwind_h" = xyes
; then :
8044 cat >>confdefs.h
<<_ACEOF
8045 #define HAVE_LIBUNWIND_H 1
8053 DLLFLAGS
="$DLLFLAGS -fPIC"
8054 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8055 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8056 COREFOUNDATION_LIBS
="-framework CoreFoundation"
8058 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
8060 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
8062 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
8064 CORESERVICES_LIBS
="-framework CoreServices"
8066 APPKIT_LIBS
="-framework AppKit"
8068 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8070 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8071 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
8072 $as_echo_n "(cached) " >&6
8074 ac_wine_try_cflags_saved
=$CFLAGS
8075 CFLAGS
="$CFLAGS -Wl,-no_pie"
8076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8077 /* end confdefs.h. */
8078 int main(int argc, char **argv) { return 0; }
8080 if ac_fn_c_try_link
"$LINENO"; then :
8081 ac_cv_cflags__Wl__no_pie
=yes
8083 ac_cv_cflags__Wl__no_pie
=no
8085 rm -f core conftest.err conftest.
$ac_objext \
8086 conftest
$ac_exeext conftest.
$ac_ext
8087 CFLAGS
=$ac_wine_try_cflags_saved
8089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8090 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8091 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
8092 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
8094 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8096 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
8099 if test "$ac_cv_header_Security_Security_h" = "yes"
8101 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
8103 ac_save_LIBS
="$LIBS"
8104 LIBS
="$LIBS $SECURITY_LIBS"
8105 for ac_func
in SSLCopyPeerCertificates
8107 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8108 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
8109 cat >>confdefs.h
<<_ACEOF
8110 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8116 LIBS
="$ac_save_LIBS"
8117 with_gnutls
=${with_gnutls:-no}
8119 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8121 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8123 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8126 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8129 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-yes}
8130 ac_save_LIBS
="$LIBS"
8131 LIBS
="$LIBS $COREAUDIO_LIBS"
8132 for ac_func
in AUGraphAddNode
8134 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8135 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
8136 cat >>confdefs.h
<<_ACEOF
8137 #define HAVE_AUGRAPHADDNODE 1
8143 LIBS
="$ac_save_LIBS"
8145 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8147 OPENAL_LIBS
="-framework OpenAL"
8150 cat >>confdefs.h
<<_ACEOF
8151 #define HAVE_OPENAL 1
8154 ac_cv_lib_openal
=yes
8156 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8158 OPENCL_LIBS
="-framework OpenCL"
8160 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
8162 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8164 ac_save_LIBS
="$LIBS"
8165 LIBS
="$LIBS $IOKIT_LIBS"
8166 for ac_func
in IOHIDManagerCreate
8168 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8169 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
8170 cat >>confdefs.h
<<_ACEOF
8171 #define HAVE_IOHIDMANAGERCREATE 1
8177 LIBS
="$ac_save_LIBS"
8179 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8181 ac_save_LIBS
="$LIBS"
8182 LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8184 $as_echo_n "checking for the QuickTime framework... " >&6; }
8185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8186 /* end confdefs.h. */
8187 #include <QuickTime/ImageCompression.h>
8191 CodecManagerVersion(NULL);
8196 if ac_fn_c_try_link
"$LINENO"; then :
8197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8198 $as_echo "yes" >&6; }
8199 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8201 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8204 $as_echo "no" >&6; }
8205 ac_cv_header_QuickTime_ImageCompression_h
=no
8207 rm -f core conftest.err conftest.
$ac_objext \
8208 conftest
$ac_exeext conftest.
$ac_ext
8209 LIBS
="$ac_save_LIBS"
8211 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8213 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8215 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8217 CARBON_LIBS
="-framework Carbon"
8221 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8223 ac_save_LIBS
="$LIBS"
8224 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
8225 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8226 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
8227 enable_winemac_drv
=${enable_winemac_drv:-yes}
8230 LIBS
="$ac_save_LIBS"
8233 if test "x$enable_win16" = "xyes"
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8236 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8237 if test "$cross_compiling" = yes; then :
8238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8239 $as_echo "cross-compiling, assuming yes" >&6; }
8241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8242 /* end confdefs.h. */
8245 "good:\tnop;nop\n\t"
8246 ".globl _testfunc\n"
8247 "_testfunc:\tcallw good");
8248 extern void testfunc();
8252 unsigned short *p = (unsigned short *)testfunc;
8253 return p[0] != 0xe866 || p[1] != 0xfffa
8258 if ac_fn_c_try_run
"$LINENO"; then :
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8260 $as_echo "yes" >&6; }
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8263 $as_echo "no" >&6; }
8264 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
8266 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8267 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8272 LIBWINE_SHAREDLIB
="libwine.$libwine_version.dylib"
8274 LIBWINE_INSTALL_LIB
="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8276 LIBWINE_INSTALL_DEV
="libwine.dylib"
8278 LIBWINE_LDFLAGS
="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8280 WINELOADER_DEPENDS
="wine_info.plist"
8285 DLLFLAGS
="$DLLFLAGS -fPIC"
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8287 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8288 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8289 $as_echo_n "(cached) " >&6
8291 ac_wine_try_cflags_saved
=$CFLAGS
8292 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8294 /* end confdefs.h. */
8295 int main(int argc, char **argv) { return 0; }
8297 if ac_fn_c_try_link
"$LINENO"; then :
8298 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8300 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8302 rm -f core conftest.err conftest.
$ac_objext \
8303 conftest
$ac_exeext conftest.
$ac_ext
8304 CFLAGS
=$ac_wine_try_cflags_saved
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8307 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8308 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8309 LDEXECFLAGS
="-Wl,--export-dynamic"
8311 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8313 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8314 if eval \
${$as_ac_var+:} false
; then :
8315 $as_echo_n "(cached) " >&6
8317 ac_wine_try_cflags_saved
=$CFLAGS
8318 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8320 /* end confdefs.h. */
8321 int main(int argc, char **argv) { return 0; }
8323 if ac_fn_c_try_link
"$LINENO"; then :
8324 eval "$as_ac_var=yes"
8326 eval "$as_ac_var=no"
8328 rm -f core conftest.err conftest.
$ac_objext \
8329 conftest
$ac_exeext conftest.
$ac_ext
8330 CFLAGS
=$ac_wine_try_cflags_saved
8332 eval ac_res
=\$
$as_ac_var
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8334 $as_echo "$ac_res" >&6; }
8335 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8336 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8337 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8339 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8341 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8342 if eval \
${$as_ac_var+:} false
; then :
8343 $as_echo_n "(cached) " >&6
8345 ac_wine_try_cflags_saved
=$CFLAGS
8346 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8348 /* end confdefs.h. */
8349 int main(int argc, char **argv) { return 0; }
8351 if ac_fn_c_try_link
"$LINENO"; then :
8352 eval "$as_ac_var=yes"
8354 eval "$as_ac_var=no"
8356 rm -f core conftest.err conftest.
$ac_objext \
8357 conftest
$ac_exeext conftest.
$ac_ext
8358 CFLAGS
=$ac_wine_try_cflags_saved
8360 eval ac_res
=\$
$as_ac_var
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8362 $as_echo "$ac_res" >&6; }
8363 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8364 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8365 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8370 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8371 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8372 $as_echo_n "(cached) " >&6
8374 ac_wine_try_cflags_saved
=$CFLAGS
8375 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8376 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8377 /* end confdefs.h. */
8378 int main(int argc, char **argv) { return 0; }
8380 if ac_fn_c_try_link
"$LINENO"; then :
8381 ac_cv_cflags__Wl___enable_new_dtags
=yes
8383 ac_cv_cflags__Wl___enable_new_dtags
=no
8385 rm -f core conftest.err conftest.
$ac_objext \
8386 conftest
$ac_exeext conftest.
$ac_ext
8387 CFLAGS
=$ac_wine_try_cflags_saved
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8390 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8391 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8392 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8395 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8396 if ${ac_cv_cflags__Wl__pie+:} false
; then :
8397 $as_echo_n "(cached) " >&6
8399 ac_wine_try_cflags_saved
=$CFLAGS
8400 CFLAGS
="$CFLAGS -Wl,-pie"
8401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8402 /* end confdefs.h. */
8403 int main(int argc, char **argv) { return 0; }
8405 if ac_fn_c_try_link
"$LINENO"; then :
8406 ac_cv_cflags__Wl__pie
=yes
8408 ac_cv_cflags__Wl__pie
=no
8410 rm -f core conftest.err conftest.
$ac_objext \
8411 conftest
$ac_exeext conftest.
$ac_ext
8412 CFLAGS
=$ac_wine_try_cflags_saved
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8415 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8416 if test "x$ac_cv_cflags__Wl__pie" = xyes
; then :
8417 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,-pie"
8420 LIBWINE_SHAREDLIB
="libwine.so"
8422 LIBWINE_INSTALL_LIB
="libwine.so"
8424 LIBWINE_LDFLAGS
="-shared -Wl,-soname,libwine.so"
8429 DLLFLAGS
="$DLLFLAGS -fPIC"
8431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8432 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8433 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8434 $as_echo_n "(cached) " >&6
8436 ac_wine_try_cflags_saved
=$CFLAGS
8437 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8439 /* end confdefs.h. */
8442 if ac_fn_c_try_link
"$LINENO"; then :
8443 ac_cv_c_dll_gnuelf
="yes"
8445 ac_cv_c_dll_gnuelf
="no"
8447 rm -f core conftest.err conftest.
$ac_objext \
8448 conftest
$ac_exeext conftest.
$ac_ext
8449 CFLAGS
=$ac_wine_try_cflags_saved
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8452 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8453 if test "$ac_cv_c_dll_gnuelf" = "yes"
8455 LIBWINE_LDFLAGS
="-shared"
8456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8457 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8458 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8459 $as_echo_n "(cached) " >&6
8461 ac_wine_try_cflags_saved
=$CFLAGS
8462 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8464 /* end confdefs.h. */
8465 int main(int argc, char **argv) { return 0; }
8467 if ac_fn_c_try_link
"$LINENO"; then :
8468 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8470 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8472 rm -f core conftest.err conftest.
$ac_objext \
8473 conftest
$ac_exeext conftest.
$ac_ext
8474 CFLAGS
=$ac_wine_try_cflags_saved
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8477 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8478 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8479 LIBWINE_LDFLAGS
="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8482 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8483 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8484 $as_echo_n "(cached) " >&6
8486 ac_wine_try_cflags_saved
=$CFLAGS
8487 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8489 /* end confdefs.h. */
8490 int main(int argc, char **argv) { return 0; }
8492 if ac_fn_c_try_link
"$LINENO"; then :
8493 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8495 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8497 rm -f core conftest.err conftest.
$ac_objext \
8498 conftest
$ac_exeext conftest.
$ac_ext
8499 CFLAGS
=$ac_wine_try_cflags_saved
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8502 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8503 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8504 LIBWINE_LDFLAGS
="-shared -Wl,-h,libwine.so.$libwine_soversion"
8508 echo '{ global: *; };' >conftest.map
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8510 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8511 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8512 $as_echo_n "(cached) " >&6
8514 ac_wine_try_cflags_saved
=$CFLAGS
8515 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8516 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8517 /* end confdefs.h. */
8518 int main(int argc, char **argv) { return 0; }
8520 if ac_fn_c_try_link
"$LINENO"; then :
8521 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8523 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8525 rm -f core conftest.err conftest.
$ac_objext \
8526 conftest
$ac_exeext conftest.
$ac_ext
8527 CFLAGS
=$ac_wine_try_cflags_saved
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8530 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8531 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8532 LIBWINE_LDFLAGS
="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8537 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8538 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8539 $as_echo_n "(cached) " >&6
8541 ac_wine_try_cflags_saved
=$CFLAGS
8542 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8544 /* end confdefs.h. */
8545 int main(int argc, char **argv) { return 0; }
8547 if ac_fn_c_try_link
"$LINENO"; then :
8548 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8550 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8552 rm -f core conftest.err conftest.
$ac_objext \
8553 conftest
$ac_exeext conftest.
$ac_ext
8554 CFLAGS
=$ac_wine_try_cflags_saved
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8557 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8558 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8559 LDEXECFLAGS
="-Wl,--export-dynamic"
8562 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8564 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8565 if eval \
${$as_ac_var+:} false
; then :
8566 $as_echo_n "(cached) " >&6
8568 ac_wine_try_cflags_saved
=$CFLAGS
8569 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8571 /* end confdefs.h. */
8572 int main(int argc, char **argv) { return 0; }
8574 if ac_fn_c_try_link
"$LINENO"; then :
8575 eval "$as_ac_var=yes"
8577 eval "$as_ac_var=no"
8579 rm -f core conftest.err conftest.
$ac_objext \
8580 conftest
$ac_exeext conftest.
$ac_ext
8581 CFLAGS
=$ac_wine_try_cflags_saved
8583 eval ac_res
=\$
$as_ac_var
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8585 $as_echo "$ac_res" >&6; }
8586 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8587 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8588 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8590 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8592 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8593 if eval \
${$as_ac_var+:} false
; then :
8594 $as_echo_n "(cached) " >&6
8596 ac_wine_try_cflags_saved
=$CFLAGS
8597 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8599 /* end confdefs.h. */
8600 int main(int argc, char **argv) { return 0; }
8602 if ac_fn_c_try_link
"$LINENO"; then :
8603 eval "$as_ac_var=yes"
8605 eval "$as_ac_var=no"
8607 rm -f core conftest.err conftest.
$ac_objext \
8608 conftest
$ac_exeext conftest.
$ac_ext
8609 CFLAGS
=$ac_wine_try_cflags_saved
8611 eval ac_res
=\$
$as_ac_var
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8613 $as_echo "$ac_res" >&6; }
8614 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8615 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8616 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8621 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8622 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8623 $as_echo_n "(cached) " >&6
8625 ac_wine_try_cflags_saved
=$CFLAGS
8626 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8628 /* end confdefs.h. */
8629 int main(int argc, char **argv) { return 0; }
8631 if ac_fn_c_try_link
"$LINENO"; then :
8632 ac_cv_cflags__Wl___enable_new_dtags
=yes
8634 ac_cv_cflags__Wl___enable_new_dtags
=no
8636 rm -f core conftest.err conftest.
$ac_objext \
8637 conftest
$ac_exeext conftest.
$ac_ext
8638 CFLAGS
=$ac_wine_try_cflags_saved
8640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8641 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8642 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8643 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8647 *i
[3456789]86* | x86_64
)
8648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8649 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8650 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false
; then :
8651 $as_echo_n "(cached) " >&6
8653 ac_wine_try_cflags_saved
=$CFLAGS
8654 CFLAGS
="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8656 /* end confdefs.h. */
8657 int main(int argc, char **argv) { return 0; }
8659 if ac_fn_c_try_link
"$LINENO"; then :
8660 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000
=yes
8662 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000
=no
8664 rm -f core conftest.err conftest.
$ac_objext \
8665 conftest
$ac_exeext conftest.
$ac_ext
8666 CFLAGS
=$ac_wine_try_cflags_saved
8668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8669 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8670 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
; then :
8672 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8673 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8677 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8678 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false
; then :
8679 $as_echo_n "(cached) " >&6
8681 ac_wine_try_cflags_saved
=$CFLAGS
8682 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8684 /* end confdefs.h. */
8685 int main(int argc, char **argv) { return 0; }
8687 if ac_fn_c_try_link
"$LINENO"; then :
8688 ac_cv_cflags__Wl___section_start__interp_0x7c000400
=yes
8690 ac_cv_cflags__Wl___section_start__interp_0x7c000400
=no
8692 rm -f core conftest.err conftest.
$ac_objext \
8693 conftest
$ac_exeext conftest.
$ac_ext
8694 CFLAGS
=$ac_wine_try_cflags_saved
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8697 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8698 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes
; then :
8700 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8701 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8704 # Extract the first word of "prelink", so it can be a program name with args.
8705 set dummy prelink
; ac_word
=$2
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8707 $as_echo_n "checking for $ac_word... " >&6; }
8708 if ${ac_cv_path_PRELINK+:} false
; then :
8709 $as_echo_n "(cached) " >&6
8713 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8716 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8717 for as_dir
in /sbin
/usr
/sbin
$PATH
8720 test -z "$as_dir" && as_dir
=.
8721 for ac_exec_ext
in '' $ac_executable_extensions; do
8722 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8723 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8731 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8735 PRELINK
=$ac_cv_path_PRELINK
8736 if test -n "$PRELINK"; then
8737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8738 $as_echo "$PRELINK" >&6; }
8740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8741 $as_echo "no" >&6; }
8745 if test "x$PRELINK" = xfalse
8747 as_fn_append wine_warnings
"|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8751 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8752 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false
; then :
8753 $as_echo_n "(cached) " >&6
8755 ac_wine_try_cflags_saved
=$CFLAGS
8756 CFLAGS
="$CFLAGS -Wl,-z,max-page-size=0x1000"
8757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8758 /* end confdefs.h. */
8759 int main(int argc, char **argv) { return 0; }
8761 if ac_fn_c_try_link
"$LINENO"; then :
8762 ac_cv_cflags__Wl__z_max_page_size_0x1000
=yes
8764 ac_cv_cflags__Wl__z_max_page_size_0x1000
=no
8766 rm -f core conftest.err conftest.
$ac_objext \
8767 conftest
$ac_exeext conftest.
$ac_ext
8768 CFLAGS
=$ac_wine_try_cflags_saved
8770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8771 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8772 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
; then :
8773 LDEXECFLAGS
="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8780 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8781 if ${ac_cv_c_dll_unixware+:} false
; then :
8782 $as_echo_n "(cached) " >&6
8784 ac_wine_try_cflags_saved
=$CFLAGS
8785 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8787 /* end confdefs.h. */
8790 if ac_fn_c_try_link
"$LINENO"; then :
8791 ac_cv_c_dll_unixware
="yes"
8793 ac_cv_c_dll_unixware
="no"
8795 rm -f core conftest.err conftest.
$ac_objext \
8796 conftest
$ac_exeext conftest.
$ac_ext
8797 CFLAGS
=$ac_wine_try_cflags_saved
8799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8800 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8801 if test "$ac_cv_c_dll_unixware" = "yes"
8803 LIBWINE_LDFLAGS
="-Wl,-G,-h,libwine.so.$libwine_soversion"
8806 LIBWINE_SHAREDLIB
="libwine.so.$libwine_version"
8808 LIBWINE_INSTALL_LIB
="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8810 LIBWINE_INSTALL_DEV
="libwine.so"
8812 LIBWINE_DEPENDS
="wine.map"
8817 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
8818 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8819 enable_winemac_drv
=${enable_winemac_drv:-no}
8820 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
8824 if test "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8828 ac_prefix_list
="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8830 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
8831 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8834 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
8835 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8837 ac_prefix_list
="" ;;
8839 for ac_prog
in $ac_prefix_list
8841 # Extract the first word of "$ac_prog", so it can be a program name with args.
8842 set dummy
$ac_prog; ac_word
=$2
8843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8844 $as_echo_n "checking for $ac_word... " >&6; }
8845 if ${ac_cv_prog_CROSSCC+:} false
; then :
8846 $as_echo_n "(cached) " >&6
8848 if test -n "$CROSSCC"; then
8849 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8851 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8855 test -z "$as_dir" && as_dir
=.
8856 for ac_exec_ext
in '' $ac_executable_extensions; do
8857 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8858 ac_cv_prog_CROSSCC
="$ac_prog"
8859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8868 CROSSCC
=$ac_cv_prog_CROSSCC
8869 if test -n "$CROSSCC"; then
8870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8871 $as_echo "$CROSSCC" >&6; }
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8874 $as_echo "no" >&6; }
8878 test -n "$CROSSCC" && break
8880 test -n "$CROSSCC" || CROSSCC
="false"
8882 if test "$CROSSCC" != "false"
8886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8887 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8889 /* end confdefs.h. */
8899 if ac_fn_c_try_compile
"$LINENO"; then :
8900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8901 $as_echo "yes" >&6; }
8907 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8908 *-clang) CROSSTARGET
=`expr "$1" : '\(.*\)-clang'` ;;
8913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8914 $as_echo "no" >&6; }
8916 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8922 if test "$ac_cv_header_pthread_h" = "yes"
8924 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8925 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8929 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8930 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8931 $as_echo_n "(cached) " >&6
8933 ac_check_lib_save_LIBS
=$LIBS
8934 LIBS
="-lpthread $LIBS"
8935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8936 /* end confdefs.h. */
8938 /* Override any GCC internal prototype to avoid an error.
8939 Use char because int might match the return type of a GCC
8940 builtin and then its argument prototype would still apply. */
8944 char pthread_create ();
8948 return pthread_create ();
8953 if ac_fn_c_try_link
"$LINENO"; then :
8954 ac_cv_lib_pthread_pthread_create
=yes
8956 ac_cv_lib_pthread_pthread_create
=no
8958 rm -f core conftest.err conftest.
$ac_objext \
8959 conftest
$ac_exeext conftest.
$ac_ext
8960 LIBS
=$ac_check_lib_save_LIBS
8962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8963 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8964 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8965 PTHREAD_LIBS
="-lpthread"
8972 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8973 case "x$with_pthread" in
8975 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8976 Wine cannot support threads without libpthread.
8977 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8984 $as_echo_n "checking for X... " >&6; }
8987 # Check whether --with-x was given.
8988 if test "${with_x+set}" = set; then :
8992 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8993 if test "x$with_x" = xno
; then
8994 # The user explicitly disabled X.
8997 case $x_includes,$x_libraries in #(
8998 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8999 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
9000 $as_echo_n "(cached) " >&6
9002 # One or both of the vars are not set, and there is no cached value.
9003 ac_x_includes
=no ac_x_libraries
=no
9004 rm -f -r conftest.dir
9005 if mkdir conftest.dir
; then
9007 cat >Imakefile
<<'_ACEOF'
9009 @echo incroot='${INCROOT}'
9011 @echo usrlibdir='${USRLIBDIR}'
9013 @echo libdir='${LIBDIR}'
9015 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
9016 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9017 for ac_var
in incroot usrlibdir libdir
; do
9018 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9020 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9021 for ac_extension
in a so sl dylib la dll
; do
9022 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9023 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9024 ac_im_usrlibdir
=$ac_im_libdir; break
9027 # Screen out bogus values from the imake configuration. They are
9028 # bogus both because they are the default anyway, and because
9029 # using them would break gcc on systems where it needs fixed includes.
9030 case $ac_im_incroot in
9031 /usr
/include
) ac_x_includes
= ;;
9032 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
9034 case $ac_im_usrlibdir in
9035 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
9036 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
9040 rm -f -r conftest.dir
9043 # Standard set of common directories for X headers.
9044 # Check X11 before X11Rn because it is often a symlink to the current release.
9058 /usr/local/X11/include
9059 /usr/local/X11R7/include
9060 /usr/local/X11R6/include
9061 /usr/local/X11R5/include
9062 /usr/local/X11R4/include
9064 /usr/local/include/X11
9065 /usr/local/include/X11R7
9066 /usr/local/include/X11R6
9067 /usr/local/include/X11R5
9068 /usr/local/include/X11R4
9072 /usr/XFree86/include/X11
9076 /usr/unsupported/include
9078 /usr/local/x11r5/include
9079 /usr/lpp/Xamples/include
9081 /usr/openwin/include
9082 /usr/openwin/share/include'
9084 if test "$ac_x_includes" = no
; then
9085 # Guess where to find include files, by looking for Xlib.h.
9086 # First, try using that file with no special directory specified.
9087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9088 /* end confdefs.h. */
9089 #include <X11/Xlib.h>
9091 if ac_fn_c_try_cpp
"$LINENO"; then :
9092 # We can compile using X headers with no special include directory.
9095 for ac_dir
in $ac_x_header_dirs; do
9096 if test -r "$ac_dir/X11/Xlib.h"; then
9097 ac_x_includes
=$ac_dir
9102 rm -f conftest.err conftest.i conftest.
$ac_ext
9103 fi # $ac_x_includes = no
9105 if test "$ac_x_libraries" = no
; then
9106 # Check for the libraries.
9107 # See if we find them without any special options.
9108 # Don't add to $LIBS permanently.
9111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9112 /* end confdefs.h. */
9113 #include <X11/Xlib.h>
9122 if ac_fn_c_try_link
"$LINENO"; then :
9124 # We can link X programs with no special library path.
9128 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9130 # Don't even attempt the hair of trying to link an X program!
9131 for ac_extension
in a so sl dylib la dll
; do
9132 if test -r "$ac_dir/libX11.$ac_extension"; then
9133 ac_x_libraries
=$ac_dir
9139 rm -f core conftest.err conftest.
$ac_objext \
9140 conftest
$ac_exeext conftest.
$ac_ext
9141 fi # $ac_x_libraries = no
9143 case $ac_x_includes,$ac_x_libraries in #(
9145 # Didn't find X, or a directory has "'" in its name.
9146 ac_cv_have_x
="have_x=no";; #(
9148 # Record where we found X for the cache.
9149 ac_cv_have_x
="have_x=yes\
9150 ac_x_includes='$ac_x_includes'\
9151 ac_x_libraries='$ac_x_libraries'"
9157 eval "$ac_cv_have_x"
9160 if test "$have_x" != yes; then
9161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9162 $as_echo "$have_x" >&6; }
9165 # If each of the values was on the command line, it overrides each guess.
9166 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
9167 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
9168 # Update the cache value to reflect the command line values.
9169 ac_cv_have_x
="have_x=yes\
9170 ac_x_includes='$x_includes'\
9171 ac_x_libraries='$x_libraries'"
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9173 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9176 if test "$no_x" = yes; then
9177 # Not all programs may use this symbol, but it does not hurt to define it.
9179 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9181 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
9183 if test -n "$x_includes"; then
9184 X_CFLAGS
="$X_CFLAGS -I$x_includes"
9187 # It would also be nice to do this for all -L options, not just this one.
9188 if test -n "$x_libraries"; then
9189 X_LIBS
="$X_LIBS -L$x_libraries"
9190 # For Solaris; some versions of Sun CC require a space after -R and
9191 # others require no space. Words are not sufficient . . . .
9192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9193 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9194 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
9195 ac_xsave_c_werror_flag
=$ac_c_werror_flag
9196 ac_c_werror_flag
=yes
9197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9198 /* end confdefs.h. */
9208 if ac_fn_c_try_link
"$LINENO"; then :
9209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9210 $as_echo "no" >&6; }
9211 X_LIBS
="$X_LIBS -R$x_libraries"
9213 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9214 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9215 /* end confdefs.h. */
9225 if ac_fn_c_try_link
"$LINENO"; then :
9226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9227 $as_echo "yes" >&6; }
9228 X_LIBS
="$X_LIBS -R $x_libraries"
9230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9231 $as_echo "neither works" >&6; }
9233 rm -f core conftest.err conftest.
$ac_objext \
9234 conftest
$ac_exeext conftest.
$ac_ext
9236 rm -f core conftest.err conftest.
$ac_objext \
9237 conftest
$ac_exeext conftest.
$ac_ext
9238 ac_c_werror_flag
=$ac_xsave_c_werror_flag
9242 # Check for system-dependent libraries X programs must link with.
9243 # Do this before checking for the system-independent R6 libraries
9244 # (-lICE), since we may need -lsocket or whatever for X linking.
9246 if test "$ISC" = yes; then
9247 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9249 # Martyn Johnson says this is needed for Ultrix, if the X
9250 # libraries were built with DECnet support. And Karl Berry says
9251 # the Alpha needs dnet_stub (dnet does not exist).
9252 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
9253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9254 /* end confdefs.h. */
9256 /* Override any GCC internal prototype to avoid an error.
9257 Use char because int might match the return type of a GCC
9258 builtin and then its argument prototype would still apply. */
9262 char XOpenDisplay ();
9266 return XOpenDisplay ();
9271 if ac_fn_c_try_link
"$LINENO"; then :
9274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9275 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9276 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
9277 $as_echo_n "(cached) " >&6
9279 ac_check_lib_save_LIBS
=$LIBS
9281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9282 /* end confdefs.h. */
9284 /* Override any GCC internal prototype to avoid an error.
9285 Use char because int might match the return type of a GCC
9286 builtin and then its argument prototype would still apply. */
9294 return dnet_ntoa ();
9299 if ac_fn_c_try_link
"$LINENO"; then :
9300 ac_cv_lib_dnet_dnet_ntoa
=yes
9302 ac_cv_lib_dnet_dnet_ntoa
=no
9304 rm -f core conftest.err conftest.
$ac_objext \
9305 conftest
$ac_exeext conftest.
$ac_ext
9306 LIBS
=$ac_check_lib_save_LIBS
9308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9309 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9310 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
9311 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9314 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9316 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9317 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
9318 $as_echo_n "(cached) " >&6
9320 ac_check_lib_save_LIBS
=$LIBS
9321 LIBS
="-ldnet_stub $LIBS"
9322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9323 /* end confdefs.h. */
9325 /* Override any GCC internal prototype to avoid an error.
9326 Use char because int might match the return type of a GCC
9327 builtin and then its argument prototype would still apply. */
9335 return dnet_ntoa ();
9340 if ac_fn_c_try_link
"$LINENO"; then :
9341 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
9343 ac_cv_lib_dnet_stub_dnet_ntoa
=no
9345 rm -f core conftest.err conftest.
$ac_objext \
9346 conftest
$ac_exeext conftest.
$ac_ext
9347 LIBS
=$ac_check_lib_save_LIBS
9349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9350 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9351 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9352 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9357 rm -f core conftest.err conftest.
$ac_objext \
9358 conftest
$ac_exeext conftest.
$ac_ext
9359 LIBS
="$ac_xsave_LIBS"
9361 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9362 # to get the SysV transport functions.
9363 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9365 # The nsl library prevents programs from opening the X display
9366 # on Irix 5.2, according to T.E. Dickey.
9367 # The functions gethostbyname, getservbyname, and inet_addr are
9368 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9369 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9370 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9374 if test $ac_cv_func_gethostbyname = no
; then
9375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9376 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9377 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9378 $as_echo_n "(cached) " >&6
9380 ac_check_lib_save_LIBS
=$LIBS
9382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9383 /* end confdefs.h. */
9385 /* Override any GCC internal prototype to avoid an error.
9386 Use char because int might match the return type of a GCC
9387 builtin and then its argument prototype would still apply. */
9391 char gethostbyname ();
9395 return gethostbyname ();
9400 if ac_fn_c_try_link
"$LINENO"; then :
9401 ac_cv_lib_nsl_gethostbyname
=yes
9403 ac_cv_lib_nsl_gethostbyname
=no
9405 rm -f core conftest.err conftest.
$ac_objext \
9406 conftest
$ac_exeext conftest.
$ac_ext
9407 LIBS
=$ac_check_lib_save_LIBS
9409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9410 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9411 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9412 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9415 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9417 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9418 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9419 $as_echo_n "(cached) " >&6
9421 ac_check_lib_save_LIBS
=$LIBS
9423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9424 /* end confdefs.h. */
9426 /* Override any GCC internal prototype to avoid an error.
9427 Use char because int might match the return type of a GCC
9428 builtin and then its argument prototype would still apply. */
9432 char gethostbyname ();
9436 return gethostbyname ();
9441 if ac_fn_c_try_link
"$LINENO"; then :
9442 ac_cv_lib_bsd_gethostbyname
=yes
9444 ac_cv_lib_bsd_gethostbyname
=no
9446 rm -f core conftest.err conftest.
$ac_objext \
9447 conftest
$ac_exeext conftest.
$ac_ext
9448 LIBS
=$ac_check_lib_save_LIBS
9450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9451 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9452 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9453 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9459 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9460 # socket/setsockopt and other routines are undefined under SCO ODT
9461 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9462 # on later versions), says Simon Leinen: it contains gethostby*
9463 # variants that don't use the name server (or something). -lsocket
9464 # must be given before -lnsl if both are needed. We assume that
9465 # if connect needs -lnsl, so does gethostbyname.
9466 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9467 if test "x$ac_cv_func_connect" = xyes
; then :
9471 if test $ac_cv_func_connect = no
; then
9472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9473 $as_echo_n "checking for connect in -lsocket... " >&6; }
9474 if ${ac_cv_lib_socket_connect+:} false
; then :
9475 $as_echo_n "(cached) " >&6
9477 ac_check_lib_save_LIBS
=$LIBS
9478 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9480 /* end confdefs.h. */
9482 /* Override any GCC internal prototype to avoid an error.
9483 Use char because int might match the return type of a GCC
9484 builtin and then its argument prototype would still apply. */
9497 if ac_fn_c_try_link
"$LINENO"; then :
9498 ac_cv_lib_socket_connect
=yes
9500 ac_cv_lib_socket_connect
=no
9502 rm -f core conftest.err conftest.
$ac_objext \
9503 conftest
$ac_exeext conftest.
$ac_ext
9504 LIBS
=$ac_check_lib_save_LIBS
9506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9507 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9508 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9509 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9514 # Guillermo Gomez says -lposix is necessary on A/UX.
9515 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9516 if test "x$ac_cv_func_remove" = xyes
; then :
9520 if test $ac_cv_func_remove = no
; then
9521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9522 $as_echo_n "checking for remove in -lposix... " >&6; }
9523 if ${ac_cv_lib_posix_remove+:} false
; then :
9524 $as_echo_n "(cached) " >&6
9526 ac_check_lib_save_LIBS
=$LIBS
9527 LIBS
="-lposix $LIBS"
9528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9529 /* end confdefs.h. */
9531 /* Override any GCC internal prototype to avoid an error.
9532 Use char because int might match the return type of a GCC
9533 builtin and then its argument prototype would still apply. */
9546 if ac_fn_c_try_link
"$LINENO"; then :
9547 ac_cv_lib_posix_remove
=yes
9549 ac_cv_lib_posix_remove
=no
9551 rm -f core conftest.err conftest.
$ac_objext \
9552 conftest
$ac_exeext conftest.
$ac_ext
9553 LIBS
=$ac_check_lib_save_LIBS
9555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9556 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9557 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9558 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9563 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9564 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9565 if test "x$ac_cv_func_shmat" = xyes
; then :
9569 if test $ac_cv_func_shmat = no
; then
9570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9571 $as_echo_n "checking for shmat in -lipc... " >&6; }
9572 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9573 $as_echo_n "(cached) " >&6
9575 ac_check_lib_save_LIBS
=$LIBS
9577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9578 /* end confdefs.h. */
9580 /* Override any GCC internal prototype to avoid an error.
9581 Use char because int might match the return type of a GCC
9582 builtin and then its argument prototype would still apply. */
9595 if ac_fn_c_try_link
"$LINENO"; then :
9596 ac_cv_lib_ipc_shmat
=yes
9598 ac_cv_lib_ipc_shmat
=no
9600 rm -f core conftest.err conftest.
$ac_objext \
9601 conftest
$ac_exeext conftest.
$ac_ext
9602 LIBS
=$ac_check_lib_save_LIBS
9604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9605 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9606 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9607 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9613 # Check for libraries that X11R6 Xt/Xaw programs need.
9614 ac_save_LDFLAGS
=$LDFLAGS
9615 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9616 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9617 # check for ICE first), but we must link in the order -lSM -lICE or
9618 # we get undefined symbols. So assume we have SM if we have ICE.
9619 # These have to be linked with before -lX11, unlike the other
9620 # libraries we check for below, so use a different variable.
9621 # John Interrante, Karl Berry
9622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9623 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9624 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9625 $as_echo_n "(cached) " >&6
9627 ac_check_lib_save_LIBS
=$LIBS
9628 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9630 /* end confdefs.h. */
9632 /* Override any GCC internal prototype to avoid an error.
9633 Use char because int might match the return type of a GCC
9634 builtin and then its argument prototype would still apply. */
9638 char IceConnectionNumber ();
9642 return IceConnectionNumber ();
9647 if ac_fn_c_try_link
"$LINENO"; then :
9648 ac_cv_lib_ICE_IceConnectionNumber
=yes
9650 ac_cv_lib_ICE_IceConnectionNumber
=no
9652 rm -f core conftest.err conftest.
$ac_objext \
9653 conftest
$ac_exeext conftest.
$ac_ext
9654 LIBS
=$ac_check_lib_save_LIBS
9656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9657 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9658 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9659 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9662 LDFLAGS
=$ac_save_LDFLAGS
9667 if test "$have_x" = "yes"
9669 ac_save_CPPFLAGS
="$CPPFLAGS"
9670 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9673 $as_echo_n "checking for -lX11... " >&6; }
9674 if ${ac_cv_lib_soname_X11+:} false
; then :
9675 $as_echo_n "(cached) " >&6
9677 ac_check_soname_save_LIBS
=$LIBS
9678 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9680 /* end confdefs.h. */
9682 /* Override any GCC internal prototype to avoid an error.
9683 Use char because int might match the return type of a GCC
9684 builtin and then its argument prototype would still apply. */
9688 char XCreateWindow ();
9692 return XCreateWindow ();
9697 if ac_fn_c_try_link
"$LINENO"; then :
9699 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9700 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'` ;;
9701 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9702 if ${ac_cv_lib_soname_X11:+false} :; then :
9703 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9707 rm -f core conftest.err conftest.
$ac_objext \
9708 conftest
$ac_exeext conftest.
$ac_ext
9709 LIBS
=$ac_check_soname_save_LIBS
9711 if ${ac_cv_lib_soname_X11:+false} :; then :
9712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9713 $as_echo "not found" >&6; }
9716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9717 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9719 cat >>confdefs.h
<<_ACEOF
9720 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9726 $as_echo_n "checking for -lXext... " >&6; }
9727 if ${ac_cv_lib_soname_Xext+:} false
; then :
9728 $as_echo_n "(cached) " >&6
9730 ac_check_soname_save_LIBS
=$LIBS
9731 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9732 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9733 /* end confdefs.h. */
9735 /* Override any GCC internal prototype to avoid an error.
9736 Use char because int might match the return type of a GCC
9737 builtin and then its argument prototype would still apply. */
9741 char XextCreateExtension ();
9745 return XextCreateExtension ();
9750 if ac_fn_c_try_link
"$LINENO"; then :
9752 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9753 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'` ;;
9754 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9755 if ${ac_cv_lib_soname_Xext:+false} :; then :
9756 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9760 rm -f core conftest.err conftest.
$ac_objext \
9761 conftest
$ac_exeext conftest.
$ac_ext
9762 LIBS
=$ac_check_soname_save_LIBS
9764 if ${ac_cv_lib_soname_Xext:+false} :; then :
9765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9766 $as_echo "not found" >&6; }
9769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9770 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9772 cat >>confdefs.h
<<_ACEOF
9773 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9776 X_LIBS
="$X_LIBS -lXext"
9778 X_LIBS
="$X_LIBS -lX11"
9780 for ac_header
in X11
/Xlib.h \
9783 X11
/Xcursor
/Xcursor.h \
9784 X11
/extensions
/shape.h \
9785 X11
/extensions
/XInput.h \
9786 X11
/extensions
/XInput2.h \
9787 X11
/extensions
/XShm.h \
9788 X11
/extensions
/Xcomposite.h \
9789 X11
/extensions
/Xinerama.h \
9790 X11
/extensions
/Xrandr.h \
9791 X11
/extensions
/Xrender.h \
9792 X11
/extensions
/xf86vmode.h \
9793 X11
/extensions
/xf86vmproto.h
9795 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9796 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9797 # include <X11/Xlib.h>
9799 #ifdef HAVE_X11_XUTIL_H
9800 # include <X11/Xutil.h>
9803 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9804 cat >>confdefs.h
<<_ACEOF
9805 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9813 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9816 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9817 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9818 $as_echo_n "(cached) " >&6
9820 ac_check_lib_save_LIBS
=$LIBS
9821 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9823 /* end confdefs.h. */
9825 /* Override any GCC internal prototype to avoid an error.
9826 Use char because int might match the return type of a GCC
9827 builtin and then its argument prototype would still apply. */
9831 char XkbQueryExtension ();
9835 return XkbQueryExtension ();
9840 if ac_fn_c_try_link
"$LINENO"; then :
9841 ac_cv_lib_X11_XkbQueryExtension
=yes
9843 ac_cv_lib_X11_XkbQueryExtension
=no
9845 rm -f core conftest.err conftest.
$ac_objext \
9846 conftest
$ac_exeext conftest.
$ac_ext
9847 LIBS
=$ac_check_lib_save_LIBS
9849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9850 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9851 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9853 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9859 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9862 $as_echo_n "checking for -lXcursor... " >&6; }
9863 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9864 $as_echo_n "(cached) " >&6
9866 ac_check_soname_save_LIBS
=$LIBS
9867 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9869 /* end confdefs.h. */
9871 /* Override any GCC internal prototype to avoid an error.
9872 Use char because int might match the return type of a GCC
9873 builtin and then its argument prototype would still apply. */
9877 char XcursorImageLoadCursor ();
9881 return XcursorImageLoadCursor ();
9886 if ac_fn_c_try_link
"$LINENO"; then :
9888 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9889 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'` ;;
9890 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9891 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9892 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9896 rm -f core conftest.err conftest.
$ac_objext \
9897 conftest
$ac_exeext conftest.
$ac_ext
9898 LIBS
=$ac_check_soname_save_LIBS
9900 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9902 $as_echo "not found" >&6; }
9905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9906 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9908 cat >>confdefs.h
<<_ACEOF
9909 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9915 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9916 case "x$with_xcursor" in
9917 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9919 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9920 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9925 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9928 $as_echo_n "checking for -lXi... " >&6; }
9929 if ${ac_cv_lib_soname_Xi+:} false
; then :
9930 $as_echo_n "(cached) " >&6
9932 ac_check_soname_save_LIBS
=$LIBS
9933 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9935 /* end confdefs.h. */
9937 /* Override any GCC internal prototype to avoid an error.
9938 Use char because int might match the return type of a GCC
9939 builtin and then its argument prototype would still apply. */
9943 char XOpenDevice ();
9947 return XOpenDevice ();
9952 if ac_fn_c_try_link
"$LINENO"; then :
9954 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9955 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'` ;;
9956 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9957 if ${ac_cv_lib_soname_Xi:+false} :; then :
9958 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9962 rm -f core conftest.err conftest.
$ac_objext \
9963 conftest
$ac_exeext conftest.
$ac_ext
9964 LIBS
=$ac_check_soname_save_LIBS
9966 if ${ac_cv_lib_soname_Xi:+false} :; then :
9967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9968 $as_echo "not found" >&6; }
9971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9972 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9974 cat >>confdefs.h
<<_ACEOF
9975 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9981 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9982 case "x$with_xinput" in
9983 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9985 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9986 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9991 if test "x$ac_cv_lib_soname_Xi" != x
9993 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9994 case "x$with_xinput2" in
9995 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9997 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9998 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10004 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10007 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10008 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
10009 $as_echo_n "(cached) " >&6
10011 ac_check_lib_save_LIBS
=$LIBS
10012 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10014 /* end confdefs.h. */
10016 /* Override any GCC internal prototype to avoid an error.
10017 Use char because int might match the return type of a GCC
10018 builtin and then its argument prototype would still apply. */
10022 char XShmQueryExtension ();
10026 return XShmQueryExtension ();
10031 if ac_fn_c_try_link
"$LINENO"; then :
10032 ac_cv_lib_Xext_XShmQueryExtension
=yes
10034 ac_cv_lib_Xext_XShmQueryExtension
=no
10036 rm -f core conftest.err conftest.
$ac_objext \
10037 conftest
$ac_exeext conftest.
$ac_ext
10038 LIBS
=$ac_check_lib_save_LIBS
10040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10041 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10042 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
10044 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10049 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10050 case "x$with_xshm" in
10051 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10053 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10054 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10059 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10062 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10063 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
10064 $as_echo_n "(cached) " >&6
10066 ac_check_lib_save_LIBS
=$LIBS
10067 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10069 /* end confdefs.h. */
10071 /* Override any GCC internal prototype to avoid an error.
10072 Use char because int might match the return type of a GCC
10073 builtin and then its argument prototype would still apply. */
10077 char XShapeQueryExtension ();
10081 return XShapeQueryExtension ();
10086 if ac_fn_c_try_link
"$LINENO"; then :
10087 ac_cv_lib_Xext_XShapeQueryExtension
=yes
10089 ac_cv_lib_Xext_XShapeQueryExtension
=no
10091 rm -f core conftest.err conftest.
$ac_objext \
10092 conftest
$ac_exeext conftest.
$ac_ext
10093 LIBS
=$ac_check_lib_save_LIBS
10095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10096 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10097 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
10099 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10104 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10105 case "x$with_xshape" in
10106 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10108 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
10109 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10114 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10117 $as_echo_n "checking for -lXxf86vm... " >&6; }
10118 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
10119 $as_echo_n "(cached) " >&6
10121 ac_check_soname_save_LIBS
=$LIBS
10122 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10124 /* end confdefs.h. */
10126 /* Override any GCC internal prototype to avoid an error.
10127 Use char because int might match the return type of a GCC
10128 builtin and then its argument prototype would still apply. */
10132 char XF86VidModeQueryExtension ();
10136 return XF86VidModeQueryExtension ();
10141 if ac_fn_c_try_link
"$LINENO"; then :
10143 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10144 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'` ;;
10145 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10146 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10147 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10151 rm -f core conftest.err conftest.
$ac_objext \
10152 conftest
$ac_exeext conftest.
$ac_ext
10153 LIBS
=$ac_check_soname_save_LIBS
10155 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10157 $as_echo "not found" >&6; }
10160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10161 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10163 cat >>confdefs.h
<<_ACEOF
10164 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10170 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10171 case "x$with_xxf86vm" in
10172 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10174 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10175 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10180 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10183 $as_echo_n "checking for -lXrender... " >&6; }
10184 if ${ac_cv_lib_soname_Xrender+:} false
; then :
10185 $as_echo_n "(cached) " >&6
10187 ac_check_soname_save_LIBS
=$LIBS
10188 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10190 /* end confdefs.h. */
10192 /* Override any GCC internal prototype to avoid an error.
10193 Use char because int might match the return type of a GCC
10194 builtin and then its argument prototype would still apply. */
10198 char XRenderQueryExtension ();
10202 return XRenderQueryExtension ();
10207 if ac_fn_c_try_link
"$LINENO"; then :
10209 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10210 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'` ;;
10211 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10212 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10213 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10217 rm -f core conftest.err conftest.
$ac_objext \
10218 conftest
$ac_exeext conftest.
$ac_ext
10219 LIBS
=$ac_check_soname_save_LIBS
10221 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10223 $as_echo "not found" >&6; }
10226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10227 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10229 cat >>confdefs.h
<<_ACEOF
10230 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10234 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10235 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
10236 $as_echo_n "(cached) " >&6
10238 ac_check_lib_save_LIBS
=$LIBS
10239 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10241 /* end confdefs.h. */
10243 /* Override any GCC internal prototype to avoid an error.
10244 Use char because int might match the return type of a GCC
10245 builtin and then its argument prototype would still apply. */
10249 char XRenderSetPictureTransform ();
10253 return XRenderSetPictureTransform ();
10258 if ac_fn_c_try_link
"$LINENO"; then :
10259 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10261 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10263 rm -f core conftest.err conftest.
$ac_objext \
10264 conftest
$ac_exeext conftest.
$ac_ext
10265 LIBS
=$ac_check_lib_save_LIBS
10267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10268 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10269 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
10271 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10276 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10277 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
10278 $as_echo_n "(cached) " >&6
10280 ac_check_lib_save_LIBS
=$LIBS
10281 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10283 /* end confdefs.h. */
10285 /* Override any GCC internal prototype to avoid an error.
10286 Use char because int might match the return type of a GCC
10287 builtin and then its argument prototype would still apply. */
10291 char XRenderCreateLinearGradient ();
10295 return XRenderCreateLinearGradient ();
10300 if ac_fn_c_try_link
"$LINENO"; then :
10301 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
10303 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
10305 rm -f core conftest.err conftest.
$ac_objext \
10306 conftest
$ac_exeext conftest.
$ac_ext
10307 LIBS
=$ac_check_lib_save_LIBS
10309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10310 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10311 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
10313 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10320 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10321 case "x$with_xrender" in
10322 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10324 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
10325 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10330 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10332 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10333 /* end confdefs.h. */
10334 #include <X11/Xlib.h>
10335 #include <X11/extensions/Xrandr.h>
10339 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10344 if ac_fn_c_try_compile
"$LINENO"; then :
10345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10346 $as_echo_n "checking for -lXrandr... " >&6; }
10347 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
10348 $as_echo_n "(cached) " >&6
10350 ac_check_soname_save_LIBS
=$LIBS
10351 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10352 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10353 /* end confdefs.h. */
10355 /* Override any GCC internal prototype to avoid an error.
10356 Use char because int might match the return type of a GCC
10357 builtin and then its argument prototype would still apply. */
10361 char XRRQueryExtension ();
10365 return XRRQueryExtension ();
10370 if ac_fn_c_try_link
"$LINENO"; then :
10372 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10373 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'` ;;
10374 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10375 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10376 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10380 rm -f core conftest.err conftest.
$ac_objext \
10381 conftest
$ac_exeext conftest.
$ac_ext
10382 LIBS
=$ac_check_soname_save_LIBS
10384 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10386 $as_echo "not found" >&6; }
10389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10390 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10392 cat >>confdefs.h
<<_ACEOF
10393 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10397 /* end confdefs.h. */
10398 #include <X11/Xlib.h>
10399 #include <X11/extensions/Xrandr.h>
10403 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10408 if ac_fn_c_try_compile
"$LINENO"; then :
10410 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10413 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10416 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10418 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10419 case "x$with_xrandr" in
10420 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10422 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10423 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10428 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10431 /* end confdefs.h. */
10432 #include <X11/Xlib.h>
10433 #include <X11/extensions/Xinerama.h>
10437 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10442 if ac_fn_c_try_compile
"$LINENO"; then :
10443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10444 $as_echo_n "checking for -lXinerama... " >&6; }
10445 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10446 $as_echo_n "(cached) " >&6
10448 ac_check_soname_save_LIBS
=$LIBS
10449 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10451 /* end confdefs.h. */
10453 /* Override any GCC internal prototype to avoid an error.
10454 Use char because int might match the return type of a GCC
10455 builtin and then its argument prototype would still apply. */
10459 char XineramaQueryScreens ();
10463 return XineramaQueryScreens ();
10468 if ac_fn_c_try_link
"$LINENO"; then :
10470 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10471 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'` ;;
10472 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10473 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10474 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10478 rm -f core conftest.err conftest.
$ac_objext \
10479 conftest
$ac_exeext conftest.
$ac_ext
10480 LIBS
=$ac_check_soname_save_LIBS
10482 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10484 $as_echo "not found" >&6; }
10487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10488 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10490 cat >>confdefs.h
<<_ACEOF
10491 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10497 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10499 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10500 case "x$with_xinerama" in
10501 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10503 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10504 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10509 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10512 $as_echo_n "checking for -lXcomposite... " >&6; }
10513 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10514 $as_echo_n "(cached) " >&6
10516 ac_check_soname_save_LIBS
=$LIBS
10517 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10519 /* end confdefs.h. */
10521 /* Override any GCC internal prototype to avoid an error.
10522 Use char because int might match the return type of a GCC
10523 builtin and then its argument prototype would still apply. */
10527 char XCompositeRedirectWindow ();
10531 return XCompositeRedirectWindow ();
10536 if ac_fn_c_try_link
"$LINENO"; then :
10538 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10539 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'` ;;
10540 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10541 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10542 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10546 rm -f core conftest.err conftest.
$ac_objext \
10547 conftest
$ac_exeext conftest.
$ac_ext
10548 LIBS
=$ac_check_soname_save_LIBS
10550 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10552 $as_echo "not found" >&6; }
10555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10556 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10558 cat >>confdefs.h
<<_ACEOF
10559 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10565 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10566 case "x$with_xcomposite" in
10567 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10569 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10570 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10575 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10576 #include <X11/Xlib.h>
10579 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10581 cat >>confdefs.h
<<_ACEOF
10582 #define HAVE_XICCALLBACK_CALLBACK 1
10587 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10588 #include <X11/Xlib.h>
10591 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10593 cat >>confdefs.h
<<_ACEOF
10594 #define HAVE_XEVENT_XCOOKIE 1
10603 if test "x$with_opengl" != "xno"
10605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10606 $as_echo_n "checking for -lGL... " >&6; }
10607 if ${ac_cv_lib_soname_GL+:} false
; then :
10608 $as_echo_n "(cached) " >&6
10610 ac_check_soname_save_LIBS
=$LIBS
10611 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10613 /* end confdefs.h. */
10615 /* Override any GCC internal prototype to avoid an error.
10616 Use char because int might match the return type of a GCC
10617 builtin and then its argument prototype would still apply. */
10621 char glXCreateContext ();
10625 return glXCreateContext ();
10630 if ac_fn_c_try_link
"$LINENO"; then :
10632 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10633 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'` ;;
10634 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10635 if ${ac_cv_lib_soname_GL:+false} :; then :
10636 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10640 rm -f core conftest.err conftest.
$ac_objext \
10641 conftest
$ac_exeext conftest.
$ac_ext
10642 LIBS
=$ac_check_soname_save_LIBS
10644 if ${ac_cv_lib_soname_GL:+false} :; then :
10645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10646 $as_echo "not found" >&6; }
10647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10648 $as_echo_n "checking for -lGL... " >&6; }
10649 if ${ac_cv_lib_soname_GL+:} false
; then :
10650 $as_echo_n "(cached) " >&6
10652 ac_check_soname_save_LIBS
=$LIBS
10653 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"
10654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10655 /* end confdefs.h. */
10657 /* Override any GCC internal prototype to avoid an error.
10658 Use char because int might match the return type of a GCC
10659 builtin and then its argument prototype would still apply. */
10663 char glXCreateContext ();
10667 return glXCreateContext ();
10672 if ac_fn_c_try_link
"$LINENO"; then :
10674 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10675 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'` ;;
10676 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10677 if ${ac_cv_lib_soname_GL:+false} :; then :
10678 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10682 rm -f core conftest.err conftest.
$ac_objext \
10683 conftest
$ac_exeext conftest.
$ac_ext
10684 LIBS
=$ac_check_soname_save_LIBS
10686 if ${ac_cv_lib_soname_GL:+false} :; then :
10687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10688 $as_echo "not found" >&6; }
10689 if test -f /usr
/X11R
6/lib
/libGL.a
10691 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10692 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10694 opengl_msg
="No OpenGL library found on this system."
10697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10698 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10700 cat >>confdefs.h
<<_ACEOF
10701 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10704 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"
10707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10708 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10710 cat >>confdefs.h
<<_ACEOF
10711 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10716 if test "x$with_glu" != "xno"
10718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10719 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10720 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10721 $as_echo_n "(cached) " >&6
10723 ac_check_lib_save_LIBS
=$LIBS
10724 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10726 /* end confdefs.h. */
10728 /* Override any GCC internal prototype to avoid an error.
10729 Use char because int might match the return type of a GCC
10730 builtin and then its argument prototype would still apply. */
10738 return gluLookAt ();
10743 if ac_fn_c_try_link
"$LINENO"; then :
10744 ac_cv_lib_GLU_gluLookAt
=yes
10746 ac_cv_lib_GLU_gluLookAt
=no
10748 rm -f core conftest.err conftest.
$ac_objext \
10749 conftest
$ac_exeext conftest.
$ac_ext
10750 LIBS
=$ac_check_lib_save_LIBS
10752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10753 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10754 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10758 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10759 case "x$with_glu" in
10760 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10762 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10763 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10769 if test "x$with_osmesa" != "xno"
10771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10772 $as_echo_n "checking for -lOSMesa... " >&6; }
10773 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10774 $as_echo_n "(cached) " >&6
10776 ac_check_soname_save_LIBS
=$LIBS
10777 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10779 /* end confdefs.h. */
10781 /* Override any GCC internal prototype to avoid an error.
10782 Use char because int might match the return type of a GCC
10783 builtin and then its argument prototype would still apply. */
10796 if ac_fn_c_try_link
"$LINENO"; then :
10798 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10799 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'` ;;
10800 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10801 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10802 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10806 rm -f core conftest.err conftest.
$ac_objext \
10807 conftest
$ac_exeext conftest.
$ac_ext
10808 LIBS
=$ac_check_soname_save_LIBS
10810 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10812 $as_echo "not found" >&6; }
10815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10816 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10818 cat >>confdefs.h
<<_ACEOF
10819 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10824 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10825 case "x$with_osmesa" in
10826 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10828 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10829 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10835 if test -n "$opengl_msg"; then :
10836 case "x$with_opengl" in
10837 x
) as_fn_append wine_warnings
"|$opengl_msg
10838 OpenGL and Direct3D won't be supported." ;;
10840 *) as_fn_error $?
"$opengl_msg
10841 OpenGL and Direct3D won't be supported.
10842 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10847 CPPFLAGS
="$ac_save_CPPFLAGS"
10852 if test "x$X_LIBS" = "x"; then :
10855 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10856 without X support, which probably isn't what you want. You will need
10857 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10858 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10860 enable_winex11_drv
=${enable_winex11_drv:-no}
10863 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10865 if test "$ac_cv_header_CL_cl_h" = "yes"
10867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10868 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10869 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10870 $as_echo_n "(cached) " >&6
10872 ac_check_lib_save_LIBS
=$LIBS
10873 LIBS
="-lOpenCL $LIBS"
10874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10875 /* end confdefs.h. */
10877 /* Override any GCC internal prototype to avoid an error.
10878 Use char because int might match the return type of a GCC
10879 builtin and then its argument prototype would still apply. */
10883 char clGetPlatformInfo ();
10887 return clGetPlatformInfo ();
10892 if ac_fn_c_try_link
"$LINENO"; then :
10893 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10895 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10897 rm -f core conftest.err conftest.
$ac_objext \
10898 conftest
$ac_exeext conftest.
$ac_ext
10899 LIBS
=$ac_check_lib_save_LIBS
10901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10902 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10903 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10904 OPENCL_LIBS
="-lOpenCL"
10909 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10910 case "x$with_opencl" in
10911 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10913 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10914 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10916 enable_opencl
=${enable_opencl:-no}
10919 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10922 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10923 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10924 $as_echo_n "(cached) " >&6
10926 ac_check_lib_save_LIBS
=$LIBS
10927 LIBS
="-lpcap $LIBS"
10928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10929 /* end confdefs.h. */
10931 /* Override any GCC internal prototype to avoid an error.
10932 Use char because int might match the return type of a GCC
10933 builtin and then its argument prototype would still apply. */
10937 char pcap_create ();
10941 return pcap_create ();
10946 if ac_fn_c_try_link
"$LINENO"; then :
10947 ac_cv_lib_pcap_pcap_create
=yes
10949 ac_cv_lib_pcap_pcap_create
=no
10951 rm -f core conftest.err conftest.
$ac_objext \
10952 conftest
$ac_exeext conftest.
$ac_ext
10953 LIBS
=$ac_check_lib_save_LIBS
10955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10956 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10957 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10963 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10964 case "x$with_pcap" in
10965 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10967 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10968 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10970 enable_wpcap
=${enable_wpcap:-no}
10974 if test "x$with_xml" != "xno"
10976 if ${XML2_CFLAGS:+false} :; then :
10977 if ${PKG_CONFIG+:} false
; then :
10978 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10981 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
10982 if ${XML2_LIBS:+false} :; then :
10983 if ${PKG_CONFIG+:} false
; then :
10984 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10987 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
10988 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10989 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10990 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10991 ac_save_CPPFLAGS
=$CPPFLAGS
10992 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10993 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10995 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10996 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10997 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10998 cat >>confdefs.h
<<_ACEOF
10999 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11006 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"
11008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11009 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11010 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
11011 $as_echo_n "(cached) " >&6
11013 ac_check_lib_save_LIBS
=$LIBS
11014 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11016 /* end confdefs.h. */
11018 /* Override any GCC internal prototype to avoid an error.
11019 Use char because int might match the return type of a GCC
11020 builtin and then its argument prototype would still apply. */
11024 char xmlParseMemory ();
11028 return xmlParseMemory ();
11033 if ac_fn_c_try_link
"$LINENO"; then :
11034 ac_cv_lib_xml2_xmlParseMemory
=yes
11036 ac_cv_lib_xml2_xmlParseMemory
=no
11038 rm -f core conftest.err conftest.
$ac_objext \
11039 conftest
$ac_exeext conftest.
$ac_ext
11040 LIBS
=$ac_check_lib_save_LIBS
11042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11043 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11044 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
11046 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11053 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11054 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
11055 $as_echo_n "(cached) " >&6
11057 ac_check_lib_save_LIBS
=$LIBS
11058 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11060 /* end confdefs.h. */
11062 /* Override any GCC internal prototype to avoid an error.
11063 Use char because int might match the return type of a GCC
11064 builtin and then its argument prototype would still apply. */
11068 char xmlReadMemory ();
11072 return xmlReadMemory ();
11077 if ac_fn_c_try_link
"$LINENO"; then :
11078 ac_cv_lib_xml2_xmlReadMemory
=yes
11080 ac_cv_lib_xml2_xmlReadMemory
=no
11082 rm -f core conftest.err conftest.
$ac_objext \
11083 conftest
$ac_exeext conftest.
$ac_ext
11084 LIBS
=$ac_check_lib_save_LIBS
11086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11087 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11088 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
11090 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11095 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11096 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
11097 $as_echo_n "(cached) " >&6
11099 ac_check_lib_save_LIBS
=$LIBS
11100 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11102 /* end confdefs.h. */
11104 /* Override any GCC internal prototype to avoid an error.
11105 Use char because int might match the return type of a GCC
11106 builtin and then its argument prototype would still apply. */
11110 char xmlNewDocPI ();
11114 return xmlNewDocPI ();
11119 if ac_fn_c_try_link
"$LINENO"; then :
11120 ac_cv_lib_xml2_xmlNewDocPI
=yes
11122 ac_cv_lib_xml2_xmlNewDocPI
=no
11124 rm -f core conftest.err conftest.
$ac_objext \
11125 conftest
$ac_exeext conftest.
$ac_ext
11126 LIBS
=$ac_check_lib_save_LIBS
11128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11129 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11130 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
11132 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11137 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11138 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
11139 $as_echo_n "(cached) " >&6
11141 ac_check_lib_save_LIBS
=$LIBS
11142 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11144 /* end confdefs.h. */
11146 /* Override any GCC internal prototype to avoid an error.
11147 Use char because int might match the return type of a GCC
11148 builtin and then its argument prototype would still apply. */
11152 char xmlSchemaSetParserStructuredErrors ();
11156 return xmlSchemaSetParserStructuredErrors ();
11161 if ac_fn_c_try_link
"$LINENO"; then :
11162 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
11164 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
11166 rm -f core conftest.err conftest.
$ac_objext \
11167 conftest
$ac_exeext conftest.
$ac_ext
11168 LIBS
=$ac_check_lib_save_LIBS
11170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11171 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11172 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
11174 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11179 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11180 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
11181 $as_echo_n "(cached) " >&6
11183 ac_check_lib_save_LIBS
=$LIBS
11184 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11186 /* end confdefs.h. */
11188 /* Override any GCC internal prototype to avoid an error.
11189 Use char because int might match the return type of a GCC
11190 builtin and then its argument prototype would still apply. */
11194 char xmlSchemaSetValidStructuredErrors ();
11198 return xmlSchemaSetValidStructuredErrors ();
11203 if ac_fn_c_try_link
"$LINENO"; then :
11204 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
11206 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
11208 rm -f core conftest.err conftest.
$ac_objext \
11209 conftest
$ac_exeext conftest.
$ac_ext
11210 LIBS
=$ac_check_lib_save_LIBS
11212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11213 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11214 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
11216 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11221 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11222 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
11223 $as_echo_n "(cached) " >&6
11225 ac_check_lib_save_LIBS
=$LIBS
11226 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11228 /* end confdefs.h. */
11230 /* Override any GCC internal prototype to avoid an error.
11231 Use char because int might match the return type of a GCC
11232 builtin and then its argument prototype would still apply. */
11236 char xmlFirstElementChild ();
11240 return xmlFirstElementChild ();
11245 if ac_fn_c_try_link
"$LINENO"; then :
11246 ac_cv_lib_xml2_xmlFirstElementChild
=yes
11248 ac_cv_lib_xml2_xmlFirstElementChild
=no
11250 rm -f core conftest.err conftest.
$ac_objext \
11251 conftest
$ac_exeext conftest.
$ac_ext
11252 LIBS
=$ac_check_lib_save_LIBS
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11255 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11256 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
11258 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11262 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11264 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
11266 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11274 CPPFLAGS
=$ac_save_CPPFLAGS
11275 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11276 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11279 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11280 case "x$with_xml" in
11281 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11283 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11284 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11289 if test "x$with_xslt" != "xno"
11291 if ${XSLT_CFLAGS:+false} :; then :
11292 if ${PKG_CONFIG+:} false
; then :
11293 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11296 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11297 if ${XSLT_LIBS:+false} :; then :
11298 if ${PKG_CONFIG+:} false
; then :
11299 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11302 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11303 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
11304 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11305 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11306 ac_save_CPPFLAGS
=$CPPFLAGS
11307 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
11308 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11310 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11311 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11312 # include <libxslt/pattern.h>
11315 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11316 cat >>confdefs.h
<<_ACEOF
11317 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11324 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11327 $as_echo_n "checking for -lxslt... " >&6; }
11328 if ${ac_cv_lib_soname_xslt+:} false
; then :
11329 $as_echo_n "(cached) " >&6
11331 ac_check_soname_save_LIBS
=$LIBS
11332 LIBS
="-lxslt $XSLT_LIBS $LIBS"
11333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11334 /* end confdefs.h. */
11336 /* Override any GCC internal prototype to avoid an error.
11337 Use char because int might match the return type of a GCC
11338 builtin and then its argument prototype would still apply. */
11342 char xsltCompilePattern ();
11346 return xsltCompilePattern ();
11351 if ac_fn_c_try_link
"$LINENO"; then :
11353 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11354 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'` ;;
11355 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11356 if ${ac_cv_lib_soname_xslt:+false} :; then :
11357 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11361 rm -f core conftest.err conftest.
$ac_objext \
11362 conftest
$ac_exeext conftest.
$ac_ext
11363 LIBS
=$ac_check_soname_save_LIBS
11365 if ${ac_cv_lib_soname_xslt:+false} :; then :
11366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11367 $as_echo "not found" >&6; }
11370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11371 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11373 cat >>confdefs.h
<<_ACEOF
11374 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11382 CPPFLAGS
=$ac_save_CPPFLAGS
11383 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11384 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11387 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11388 case "x$with_xslt" in
11389 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11391 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11392 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11397 if test "x$with_dbus" != "xno"
11399 if ${DBUS_CFLAGS:+false} :; then :
11400 if ${PKG_CONFIG+:} false
; then :
11401 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11405 if ${DBUS_LIBS:+false} :; then :
11406 if ${PKG_CONFIG+:} false
; then :
11407 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11412 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11413 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11414 ac_save_CPPFLAGS
=$CPPFLAGS
11415 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11416 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11417 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11419 $as_echo_n "checking for -ldbus-1... " >&6; }
11420 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11421 $as_echo_n "(cached) " >&6
11423 ac_check_soname_save_LIBS
=$LIBS
11424 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11426 /* end confdefs.h. */
11428 /* Override any GCC internal prototype to avoid an error.
11429 Use char because int might match the return type of a GCC
11430 builtin and then its argument prototype would still apply. */
11434 char dbus_connection_close ();
11438 return dbus_connection_close ();
11443 if ac_fn_c_try_link
"$LINENO"; then :
11445 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11446 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'` ;;
11447 *) 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'`
11448 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11449 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11453 rm -f core conftest.err conftest.
$ac_objext \
11454 conftest
$ac_exeext conftest.
$ac_ext
11455 LIBS
=$ac_check_soname_save_LIBS
11457 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11459 $as_echo "not found" >&6; }
11462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11463 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11465 cat >>confdefs.h
<<_ACEOF
11466 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11476 CPPFLAGS
=$ac_save_CPPFLAGS
11477 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11478 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11481 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11482 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11483 case "x$with_dbus" in
11484 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11486 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11487 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11492 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11494 if ${HAL_CFLAGS:+false} :; then :
11495 if ${PKG_CONFIG+:} false
; then :
11496 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11500 if ${HAL_LIBS:+false} :; then :
11501 if ${PKG_CONFIG+:} false
; then :
11502 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11506 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11507 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11508 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11509 ac_save_CPPFLAGS
=$CPPFLAGS
11510 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11511 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11512 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11514 $as_echo_n "checking for -lhal... " >&6; }
11515 if ${ac_cv_lib_soname_hal+:} false
; then :
11516 $as_echo_n "(cached) " >&6
11518 ac_check_soname_save_LIBS
=$LIBS
11519 LIBS
="-lhal $HAL_LIBS $LIBS"
11520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11521 /* end confdefs.h. */
11523 /* Override any GCC internal prototype to avoid an error.
11524 Use char because int might match the return type of a GCC
11525 builtin and then its argument prototype would still apply. */
11529 char libhal_ctx_new ();
11533 return libhal_ctx_new ();
11538 if ac_fn_c_try_link
"$LINENO"; then :
11540 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11541 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'` ;;
11542 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11543 if ${ac_cv_lib_soname_hal:+false} :; then :
11544 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11548 rm -f core conftest.err conftest.
$ac_objext \
11549 conftest
$ac_exeext conftest.
$ac_ext
11550 LIBS
=$ac_check_soname_save_LIBS
11552 if ${ac_cv_lib_soname_hal:+false} :; then :
11553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11554 $as_echo "not found" >&6; }
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11558 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11560 cat >>confdefs.h
<<_ACEOF
11561 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11571 CPPFLAGS
=$ac_save_CPPFLAGS
11572 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11573 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11575 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11576 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11577 case "x$with_hal" in
11578 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11580 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11581 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11587 if test "x$with_gnutls" != "xno"
11589 if ${GNUTLS_CFLAGS:+false} :; then :
11590 if ${PKG_CONFIG+:} false
; then :
11591 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11595 if ${GNUTLS_LIBS:+false} :; then :
11596 if ${PKG_CONFIG+:} false
; then :
11597 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11602 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11603 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11604 ac_save_CPPFLAGS
=$CPPFLAGS
11605 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11606 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11607 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11609 /* end confdefs.h. */
11610 #include <gnutls/gnutls.h>
11611 #include <gnutls/crypto.h>
11615 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11620 if ac_fn_c_try_compile
"$LINENO"; then :
11621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11622 $as_echo_n "checking for -lgnutls... " >&6; }
11623 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11624 $as_echo_n "(cached) " >&6
11626 ac_check_soname_save_LIBS
=$LIBS
11627 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11629 /* end confdefs.h. */
11631 /* Override any GCC internal prototype to avoid an error.
11632 Use char because int might match the return type of a GCC
11633 builtin and then its argument prototype would still apply. */
11637 char gnutls_global_init ();
11641 return gnutls_global_init ();
11646 if ac_fn_c_try_link
"$LINENO"; then :
11648 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11649 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'` ;;
11650 *) 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'`
11651 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11652 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'`
11656 rm -f core conftest.err conftest.
$ac_objext \
11657 conftest
$ac_exeext conftest.
$ac_ext
11658 LIBS
=$ac_check_soname_save_LIBS
11660 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11662 $as_echo "not found" >&6; }
11665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11666 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11668 cat >>confdefs.h
<<_ACEOF
11669 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11674 ac_wine_check_funcs_save_LIBS
="$LIBS"
11675 LIBS
="$LIBS $GNUTLS_LIBS"
11676 for ac_func
in gnutls_hash
11678 ac_fn_c_check_func
"$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11679 if test "x$ac_cv_func_gnutls_hash" = xyes
; then :
11680 cat >>confdefs.h
<<_ACEOF
11681 #define HAVE_GNUTLS_HASH 1
11685 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11689 LIBS
="$ac_wine_check_funcs_save_LIBS"
11691 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11697 CPPFLAGS
=$ac_save_CPPFLAGS
11698 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11699 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11702 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11703 case "x$with_gnutls" in
11704 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11706 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11707 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11713 if test "$ac_cv_header_ncurses_h" = "yes"
11715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11716 $as_echo_n "checking for -lncurses... " >&6; }
11717 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11718 $as_echo_n "(cached) " >&6
11720 ac_check_soname_save_LIBS
=$LIBS
11721 LIBS
="-lncurses $LIBS"
11722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11723 /* end confdefs.h. */
11725 /* Override any GCC internal prototype to avoid an error.
11726 Use char because int might match the return type of a GCC
11727 builtin and then its argument prototype would still apply. */
11740 if ac_fn_c_try_link
"$LINENO"; then :
11742 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11743 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'` ;;
11744 *) 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'`
11745 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11746 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11750 rm -f core conftest.err conftest.
$ac_objext \
11751 conftest
$ac_exeext conftest.
$ac_ext
11752 LIBS
=$ac_check_soname_save_LIBS
11754 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11756 $as_echo "not found" >&6; }
11759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11760 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11762 cat >>confdefs.h
<<_ACEOF
11763 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11766 CURSES_LIBS
="-lncurses"
11768 elif test "$ac_cv_header_curses_h" = "yes"
11770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11771 $as_echo_n "checking for -lcurses... " >&6; }
11772 if ${ac_cv_lib_soname_curses+:} false
; then :
11773 $as_echo_n "(cached) " >&6
11775 ac_check_soname_save_LIBS
=$LIBS
11776 LIBS
="-lcurses $LIBS"
11777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11778 /* end confdefs.h. */
11780 /* Override any GCC internal prototype to avoid an error.
11781 Use char because int might match the return type of a GCC
11782 builtin and then its argument prototype would still apply. */
11795 if ac_fn_c_try_link
"$LINENO"; then :
11797 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11798 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'` ;;
11799 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11800 if ${ac_cv_lib_soname_curses:+false} :; then :
11801 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11805 rm -f core conftest.err conftest.
$ac_objext \
11806 conftest
$ac_exeext conftest.
$ac_ext
11807 LIBS
=$ac_check_soname_save_LIBS
11809 if ${ac_cv_lib_soname_curses:+false} :; then :
11810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11811 $as_echo "not found" >&6; }
11814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11815 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11817 cat >>confdefs.h
<<_ACEOF
11818 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11821 CURSES_LIBS
="-lcurses"
11824 ac_save_LIBS
="$LIBS"
11825 LIBS
="$LIBS $CURSES_LIBS"
11826 for ac_func
in mousemask
11828 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11829 if test "x$ac_cv_func_mousemask" = xyes
; then :
11830 cat >>confdefs.h
<<_ACEOF
11831 #define HAVE_MOUSEMASK 1
11837 LIBS
="$ac_save_LIBS"
11838 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11839 case "x$with_curses" in
11840 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11842 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11843 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11848 if test "x$with_sane" != "xno"
11850 if ${SANE_CFLAGS:+false} :; then :
11851 if ${PKG_CONFIG+:} false
; then :
11852 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11855 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11856 if ${SANE_LIBS:+false} :; then :
11857 if ${PKG_CONFIG+:} false
; then :
11858 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11861 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11863 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11864 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11865 ac_save_CPPFLAGS
=$CPPFLAGS
11866 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11867 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11868 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11870 $as_echo_n "checking for -lsane... " >&6; }
11871 if ${ac_cv_lib_soname_sane+:} false
; then :
11872 $as_echo_n "(cached) " >&6
11874 ac_check_soname_save_LIBS
=$LIBS
11875 LIBS
="-lsane $SANE_LIBS $LIBS"
11876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11877 /* end confdefs.h. */
11879 /* Override any GCC internal prototype to avoid an error.
11880 Use char because int might match the return type of a GCC
11881 builtin and then its argument prototype would still apply. */
11889 return sane_init ();
11894 if ac_fn_c_try_link
"$LINENO"; then :
11896 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11897 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'` ;;
11898 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11899 if ${ac_cv_lib_soname_sane:+false} :; then :
11900 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11904 rm -f core conftest.err conftest.
$ac_objext \
11905 conftest
$ac_exeext conftest.
$ac_ext
11906 LIBS
=$ac_check_soname_save_LIBS
11908 if ${ac_cv_lib_soname_sane:+false} :; then :
11909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11910 $as_echo "not found" >&6; }
11913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11914 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11916 cat >>confdefs.h
<<_ACEOF
11917 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11927 CPPFLAGS
=$ac_save_CPPFLAGS
11928 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11929 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11932 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11933 case "x$with_sane" in
11934 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11936 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11937 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11942 if test "x$with_v4l" != "xno"
11944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11945 $as_echo_n "checking for -lv4l1... " >&6; }
11946 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11947 $as_echo_n "(cached) " >&6
11949 ac_check_soname_save_LIBS
=$LIBS
11950 LIBS
="-lv4l1 $LIBS"
11951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11952 /* end confdefs.h. */
11954 /* Override any GCC internal prototype to avoid an error.
11955 Use char because int might match the return type of a GCC
11956 builtin and then its argument prototype would still apply. */
11964 return v4l1_open ();
11969 if ac_fn_c_try_link
"$LINENO"; then :
11971 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11972 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'` ;;
11973 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11974 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11975 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11979 rm -f core conftest.err conftest.
$ac_objext \
11980 conftest
$ac_exeext conftest.
$ac_ext
11981 LIBS
=$ac_check_soname_save_LIBS
11983 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11985 $as_echo "not found" >&6; }
11988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11989 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11991 cat >>confdefs.h
<<_ACEOF
11992 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11998 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11999 case "x$with_v4l" in
12000 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
12002 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
12003 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12008 if test "x$with_gphoto" != "xno"
12010 if ${GPHOTO2_CFLAGS:+false} :; then :
12011 if ${PKG_CONFIG+:} false
; then :
12012 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12015 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12016 if ${GPHOTO2_LIBS:+false} :; then :
12017 if ${PKG_CONFIG+:} false
; then :
12018 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12021 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12022 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
12023 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12024 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12025 ac_save_CPPFLAGS
=$CPPFLAGS
12026 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
12027 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12028 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
12029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12030 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12031 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
12032 $as_echo_n "(cached) " >&6
12034 ac_check_lib_save_LIBS
=$LIBS
12035 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12037 /* end confdefs.h. */
12039 /* Override any GCC internal prototype to avoid an error.
12040 Use char because int might match the return type of a GCC
12041 builtin and then its argument prototype would still apply. */
12045 char gp_camera_new ();
12049 return gp_camera_new ();
12054 if ac_fn_c_try_link
"$LINENO"; then :
12055 ac_cv_lib_gphoto2_gp_camera_new
=yes
12057 ac_cv_lib_gphoto2_gp_camera_new
=no
12059 rm -f core conftest.err conftest.
$ac_objext \
12060 conftest
$ac_exeext conftest.
$ac_ext
12061 LIBS
=$ac_check_lib_save_LIBS
12063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12064 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12065 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
12067 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12070 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
12074 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
12078 CPPFLAGS
=$ac_save_CPPFLAGS
12079 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12080 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12082 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12083 if ${PKG_CONFIG+:} false
; then :
12084 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12087 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12088 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12089 if ${PKG_CONFIG+:} false
; then :
12090 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12093 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12094 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12095 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12096 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12097 ac_save_CPPFLAGS
=$CPPFLAGS
12098 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12099 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12100 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12102 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12103 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
12104 $as_echo_n "(cached) " >&6
12106 ac_check_lib_save_LIBS
=$LIBS
12107 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12109 /* end confdefs.h. */
12111 /* Override any GCC internal prototype to avoid an error.
12112 Use char because int might match the return type of a GCC
12113 builtin and then its argument prototype would still apply. */
12117 char gp_port_info_list_new ();
12121 return gp_port_info_list_new ();
12126 if ac_fn_c_try_link
"$LINENO"; then :
12127 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
12129 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
12131 rm -f core conftest.err conftest.
$ac_objext \
12132 conftest
$ac_exeext conftest.
$ac_ext
12133 LIBS
=$ac_check_lib_save_LIBS
12135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12136 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12137 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
12139 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12142 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12146 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12150 CPPFLAGS
=$ac_save_CPPFLAGS
12151 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12152 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12155 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12156 case "x$with_gphoto" in
12157 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12159 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12160 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12164 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12165 case "x$with_gphoto" in
12166 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12168 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12169 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12175 if test "$ac_cv_header_resolv_h" = "yes"
12177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12178 $as_echo_n "checking for resolver library... " >&6; }
12179 if ${ac_cv_have_resolv+:} false
; then :
12180 $as_echo_n "(cached) " >&6
12182 ac_save_LIBS
="$LIBS"
12183 for lib
in '' -lresolv
12185 LIBS
="$lib $ac_save_LIBS"
12186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12187 /* end confdefs.h. */
12188 #ifdef HAVE_NETINET_IN_H
12189 #include <netinet/in.h>
12191 #include <resolv.h>
12195 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12200 if ac_fn_c_try_link
"$LINENO"; then :
12201 ac_cv_have_resolv
=${lib:-"none required"}
12203 ac_cv_have_resolv
="not found"
12205 rm -f core conftest.err conftest.
$ac_objext \
12206 conftest
$ac_exeext conftest.
$ac_ext
12207 test "x$ac_cv_have_resolv" = "xnot found" ||
break
12209 LIBS
="$ac_save_LIBS"
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12212 $as_echo "$ac_cv_have_resolv" >&6; }
12214 case "$ac_cv_have_resolv" in
12218 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12221 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12223 RESOLV_LIBS
=$ac_cv_have_resolv
12228 if test "x$with_cms" != "xno"
12230 if ${LCMS2_CFLAGS:+false} :; then :
12231 if ${PKG_CONFIG+:} false
; then :
12232 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12236 if ${LCMS2_LIBS:+false} :; then :
12237 if ${PKG_CONFIG+:} false
; then :
12238 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12242 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
12243 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12244 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12245 ac_save_CPPFLAGS
=$CPPFLAGS
12246 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
12247 for ac_header
in lcms2.h
12249 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12250 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
12251 cat >>confdefs.h
<<_ACEOF
12252 #define HAVE_LCMS2_H 1
12259 if test "$ac_cv_header_lcms2_h" = "yes"
12261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12262 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12263 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
12264 $as_echo_n "(cached) " >&6
12266 ac_check_lib_save_LIBS
=$LIBS
12267 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
12268 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12269 /* end confdefs.h. */
12271 /* Override any GCC internal prototype to avoid an error.
12272 Use char because int might match the return type of a GCC
12273 builtin and then its argument prototype would still apply. */
12277 char cmsOpenProfileFromFile ();
12281 return cmsOpenProfileFromFile ();
12286 if ac_fn_c_try_link
"$LINENO"; then :
12287 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
12289 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
12291 rm -f core conftest.err conftest.
$ac_objext \
12292 conftest
$ac_exeext conftest.
$ac_ext
12293 LIBS
=$ac_check_lib_save_LIBS
12295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12296 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12297 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
12299 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12309 CPPFLAGS
=$ac_save_CPPFLAGS
12310 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12311 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12314 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12315 case "x$with_cms" in
12316 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12318 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12319 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12324 if test "x$with_freetype" != "xno"
12326 if ${FREETYPE_CFLAGS:+false} :; then :
12327 if ${PKG_CONFIG+:} false
; then :
12328 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12331 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12332 if ${FREETYPE_LIBS:+false} :; then :
12333 if ${PKG_CONFIG+:} false
; then :
12334 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12337 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12338 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
12339 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12340 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12341 ac_save_CPPFLAGS
=$CPPFLAGS
12342 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
12343 for ac_header
in ft2build.h
12345 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12346 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
12347 cat >>confdefs.h
<<_ACEOF
12348 #define HAVE_FT2BUILD_H 1
12355 if test "$ac_cv_header_ft2build_h" = "yes"
12357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12358 $as_echo_n "checking for -lfreetype... " >&6; }
12359 if ${ac_cv_lib_soname_freetype+:} false
; then :
12360 $as_echo_n "(cached) " >&6
12362 ac_check_soname_save_LIBS
=$LIBS
12363 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
12364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12365 /* end confdefs.h. */
12367 /* Override any GCC internal prototype to avoid an error.
12368 Use char because int might match the return type of a GCC
12369 builtin and then its argument prototype would still apply. */
12373 char FT_Init_FreeType ();
12377 return FT_Init_FreeType ();
12382 if ac_fn_c_try_link
"$LINENO"; then :
12384 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12385 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'` ;;
12386 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12387 if ${ac_cv_lib_soname_freetype:+false} :; then :
12388 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12392 rm -f core conftest.err conftest.
$ac_objext \
12393 conftest
$ac_exeext conftest.
$ac_ext
12394 LIBS
=$ac_check_soname_save_LIBS
12396 if ${ac_cv_lib_soname_freetype:+false} :; then :
12397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12398 $as_echo "not found" >&6; }
12401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12402 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12404 cat >>confdefs.h
<<_ACEOF
12405 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12409 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12411 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12412 #include FT_MODULE_H
12414 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12416 cat >>confdefs.h
<<_ACEOF
12417 #define HAVE_FT_TRUETYPEENGINETYPE 1
12428 CPPFLAGS
=$ac_save_CPPFLAGS
12429 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12430 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12433 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12434 case "x$with_freetype" in
12436 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12437 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12439 enable_fonts
=${enable_fonts:-no}
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12443 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12444 if ${ac_cv_c_ppdev+:} false
; then :
12445 $as_echo_n "(cached) " >&6
12447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12448 /* end confdefs.h. */
12449 #ifdef HAVE_SYS_IOCTL_H
12450 # include <sys/ioctl.h>
12452 #include <linux/ppdev.h>
12456 ioctl (1,PPCLAIM,0)
12461 if ac_fn_c_try_compile
"$LINENO"; then :
12462 ac_cv_c_ppdev
="yes"
12466 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12469 $as_echo "$ac_cv_c_ppdev" >&6; }
12470 if test "$ac_cv_c_ppdev" = "yes"
12473 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12477 ac_wine_check_funcs_save_LIBS
="$LIBS"
12478 LIBS
="$LIBS $PTHREAD_LIBS"
12480 pthread_attr_get_np \
12481 pthread_getattr_np \
12482 pthread_getthreadid_np \
12483 pthread_get_stackaddr_np \
12484 pthread_get_stacksize_np
12486 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12487 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12488 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12489 cat >>confdefs.h
<<_ACEOF
12490 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12496 LIBS
="$ac_wine_check_funcs_save_LIBS"
12498 if test "$ac_cv_header_zlib_h" = "yes"
12500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12501 $as_echo_n "checking for inflate in -lz... " >&6; }
12502 if ${ac_cv_lib_z_inflate+:} false
; then :
12503 $as_echo_n "(cached) " >&6
12505 ac_check_lib_save_LIBS
=$LIBS
12507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12508 /* end confdefs.h. */
12510 /* Override any GCC internal prototype to avoid an error.
12511 Use char because int might match the return type of a GCC
12512 builtin and then its argument prototype would still apply. */
12525 if ac_fn_c_try_link
"$LINENO"; then :
12526 ac_cv_lib_z_inflate
=yes
12528 ac_cv_lib_z_inflate
=no
12530 rm -f core conftest.err conftest.
$ac_objext \
12531 conftest
$ac_exeext conftest.
$ac_ext
12532 LIBS
=$ac_check_lib_save_LIBS
12534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12535 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12536 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12538 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12545 if test "x$Z_LIBS" = "x"; then :
12546 case "x$with_zlib" in
12547 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12549 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12550 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12555 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
12557 if test "$ac_cv_header_gettext_po_h" = "yes"
12559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12560 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12561 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12562 $as_echo_n "(cached) " >&6
12564 ac_check_lib_save_LIBS
=$LIBS
12565 LIBS
="-lgettextpo $LIBS"
12566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12567 /* end confdefs.h. */
12569 /* Override any GCC internal prototype to avoid an error.
12570 Use char because int might match the return type of a GCC
12571 builtin and then its argument prototype would still apply. */
12575 char po_message_msgctxt ();
12579 return po_message_msgctxt ();
12584 if ac_fn_c_try_link
"$LINENO"; then :
12585 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12587 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12589 rm -f core conftest.err conftest.
$ac_objext \
12590 conftest
$ac_exeext conftest.
$ac_ext
12591 LIBS
=$ac_check_lib_save_LIBS
12593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12594 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12595 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12597 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12599 GETTEXTPO_LIBS
="-lgettextpo"
12604 if test "x$GETTEXTPO_LIBS" = "x"; then :
12605 case "x$with_gettextpo" in
12606 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12608 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12609 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12613 if test "$srcdir" != .
; then :
12614 case "x$with_gettextpo" in
12615 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
12617 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
12618 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12624 if test "x$with_pulse" != "xno";
12626 if ${PULSE_CFLAGS:+false} :; then :
12627 if ${PKG_CONFIG+:} false
; then :
12628 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12632 if ${PULSE_LIBS:+false} :; then :
12633 if ${PKG_CONFIG+:} false
; then :
12634 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12639 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12640 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12641 ac_save_CPPFLAGS
=$CPPFLAGS
12642 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
12643 for ac_header
in pulse
/pulseaudio.h
12645 ac_fn_c_check_header_mongrel
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12646 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
; then :
12647 cat >>confdefs.h
<<_ACEOF
12648 #define HAVE_PULSE_PULSEAUDIO_H 1
12650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12651 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12652 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false
; then :
12653 $as_echo_n "(cached) " >&6
12655 ac_check_lib_save_LIBS
=$LIBS
12656 LIBS
="-lpulse $PULSE_LIBS $LIBS"
12657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12658 /* end confdefs.h. */
12660 /* Override any GCC internal prototype to avoid an error.
12661 Use char because int might match the return type of a GCC
12662 builtin and then its argument prototype would still apply. */
12666 char pa_stream_is_corked ();
12670 return pa_stream_is_corked ();
12675 if ac_fn_c_try_link
"$LINENO"; then :
12676 ac_cv_lib_pulse_pa_stream_is_corked
=yes
12678 ac_cv_lib_pulse_pa_stream_is_corked
=no
12680 rm -f core conftest.err conftest.
$ac_objext \
12681 conftest
$ac_exeext conftest.
$ac_ext
12682 LIBS
=$ac_check_lib_save_LIBS
12684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12685 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12686 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
; then :
12698 CPPFLAGS
=$ac_save_CPPFLAGS
12699 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS
=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12700 test -z "$PULSE_LIBS" || PULSE_LIBS
=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12703 if test -z "$PULSE_LIBS"; then :
12704 case "x$with_pulse" in
12705 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12707 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12708 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12710 enable_winepulse_drv
=${enable_winepulse_drv:-no}
12713 if test "x$with_gstreamer" != "xno"
12715 if ${GSTREAMER_CFLAGS:+false} :; then :
12716 if ${PKG_CONFIG+:} false
; then :
12717 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12721 if ${GSTREAMER_LIBS:+false} :; then :
12722 if ${PKG_CONFIG+:} false
; then :
12723 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12728 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12729 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12730 ac_save_CPPFLAGS
=$CPPFLAGS
12731 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12733 for i
in $GSTREAMER_CFLAGS
12736 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12739 GSTREAMER_CFLAGS
=$ac_gst_incl
12740 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12741 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12742 if test "x$ac_cv_header_gst_gst_h" = xyes
; then :
12743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12744 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12745 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12746 /* end confdefs.h. */
12747 #include <gst/gst.h>
12751 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12756 if ac_fn_c_try_compile
"$LINENO"; then :
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12758 $as_echo "yes" >&6; }
12759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12760 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12761 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false
; then :
12762 $as_echo_n "(cached) " >&6
12764 ac_check_lib_save_LIBS
=$LIBS
12765 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12767 /* end confdefs.h. */
12769 /* Override any GCC internal prototype to avoid an error.
12770 Use char because int might match the return type of a GCC
12771 builtin and then its argument prototype would still apply. */
12775 char gst_pad_new ();
12779 return gst_pad_new ();
12784 if ac_fn_c_try_link
"$LINENO"; then :
12785 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
12787 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
12789 rm -f core conftest.err conftest.
$ac_objext \
12790 conftest
$ac_exeext conftest.
$ac_ext
12791 LIBS
=$ac_check_lib_save_LIBS
12793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12794 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12795 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
; then :
12800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12801 $as_echo "no" >&6; }
12802 ac_glib2_broken
=yes
12803 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12805 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12809 CPPFLAGS
=$ac_save_CPPFLAGS
12810 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12811 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12814 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 :
12815 case "x$with_gstreamer" in
12816 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12818 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12819 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12823 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12827 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12830 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12831 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12832 $as_echo_n "(cached) " >&6
12834 ac_check_lib_save_LIBS
=$LIBS
12835 LIBS
="-lasound $LIBS"
12836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12837 /* end confdefs.h. */
12839 /* Override any GCC internal prototype to avoid an error.
12840 Use char because int might match the return type of a GCC
12841 builtin and then its argument prototype would still apply. */
12845 char snd_pcm_hw_params_get_access_mask ();
12849 return snd_pcm_hw_params_get_access_mask ();
12854 if ac_fn_c_try_link
"$LINENO"; then :
12855 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12857 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12859 rm -f core conftest.err conftest.
$ac_objext \
12860 conftest
$ac_exeext conftest.
$ac_ext
12861 LIBS
=$ac_check_lib_save_LIBS
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12864 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12865 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12867 /* end confdefs.h. */
12868 #ifdef HAVE_ALSA_ASOUNDLIB_H
12869 #include <alsa/asoundlib.h>
12870 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12871 #include <sys/asoundlib.h>
12876 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12881 if ac_fn_c_try_compile
"$LINENO"; then :
12882 ALSA_LIBS
="-lasound"
12884 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12888 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
12890 if test "x$with_oss" != xno
12892 ac_save_CPPFLAGS
="$CPPFLAGS"
12893 if test -f /etc
/oss.conf
12897 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12898 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12899 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12900 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12901 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12903 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12905 cat >>confdefs.h
<<_ACEOF
12906 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12909 OSS4_CFLAGS
="$ac_oss_incl"
12916 CPPFLAGS
="$ac_save_CPPFLAGS"
12918 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
; then :
12919 case "x$with_oss" in
12920 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12922 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12923 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12925 enable_wineoss_drv
=${enable_wineoss_drv:-no}
12928 if test "x$with_udev" != "xno"
12930 if ${UDEV_CFLAGS:+false} :; then :
12931 if ${PKG_CONFIG+:} false
; then :
12932 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>/dev/null`
12936 if ${UDEV_LIBS:+false} :; then :
12937 if ${PKG_CONFIG+:} false
; then :
12938 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
12943 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
12944 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
12945 ac_save_CPPFLAGS
=$CPPFLAGS
12946 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
12947 for ac_header
in libudev.h
12949 ac_fn_c_check_header_mongrel
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
12950 if test "x$ac_cv_header_libudev_h" = xyes
; then :
12951 cat >>confdefs.h
<<_ACEOF
12952 #define HAVE_LIBUDEV_H 1
12954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
12955 $as_echo_n "checking for udev_new in -ludev... " >&6; }
12956 if ${ac_cv_lib_udev_udev_new+:} false
; then :
12957 $as_echo_n "(cached) " >&6
12959 ac_check_lib_save_LIBS
=$LIBS
12960 LIBS
="-ludev $UDEV_LIBS $LIBS"
12961 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12962 /* end confdefs.h. */
12964 /* Override any GCC internal prototype to avoid an error.
12965 Use char because int might match the return type of a GCC
12966 builtin and then its argument prototype would still apply. */
12974 return udev_new ();
12979 if ac_fn_c_try_link
"$LINENO"; then :
12980 ac_cv_lib_udev_udev_new
=yes
12982 ac_cv_lib_udev_udev_new
=no
12984 rm -f core conftest.err conftest.
$ac_objext \
12985 conftest
$ac_exeext conftest.
$ac_ext
12986 LIBS
=$ac_check_lib_save_LIBS
12988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
12989 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
12990 if test "x$ac_cv_lib_udev_udev_new" = xyes
; then :
12992 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13004 CPPFLAGS
=$ac_save_CPPFLAGS
13005 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS
=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13006 test -z "$UDEV_LIBS" || UDEV_LIBS
=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13009 if test "x$UDEV_LIBS" = "x"; then :
13010 case "x$with_udev" in
13011 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13013 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
13014 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13019 if test "x$with_capi" != "xno"
13021 if ${CAPI20_CFLAGS:+false} :; then :
13022 if ${PKG_CONFIG+:} false
; then :
13023 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13027 if ${CAPI20_LIBS:+false} :; then :
13028 if ${PKG_CONFIG+:} false
; then :
13029 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
13034 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13035 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13036 ac_save_CPPFLAGS
=$CPPFLAGS
13037 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
13038 for ac_header
in capi20.h linux
/capi.h
13040 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13041 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13043 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
13044 cat >>confdefs.h
<<_ACEOF
13045 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13052 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13055 $as_echo_n "checking for -lcapi20... " >&6; }
13056 if ${ac_cv_lib_soname_capi20+:} false
; then :
13057 $as_echo_n "(cached) " >&6
13059 ac_check_soname_save_LIBS
=$LIBS
13060 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
13061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13062 /* end confdefs.h. */
13064 /* Override any GCC internal prototype to avoid an error.
13065 Use char because int might match the return type of a GCC
13066 builtin and then its argument prototype would still apply. */
13070 char capi20_register ();
13074 return capi20_register ();
13079 if ac_fn_c_try_link
"$LINENO"; then :
13081 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13082 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'` ;;
13083 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13084 if ${ac_cv_lib_soname_capi20:+false} :; then :
13085 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13089 rm -f core conftest.err conftest.
$ac_objext \
13090 conftest
$ac_exeext conftest.
$ac_ext
13091 LIBS
=$ac_check_soname_save_LIBS
13093 if ${ac_cv_lib_soname_capi20:+false} :; then :
13094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13095 $as_echo "not found" >&6; }
13098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13099 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13101 cat >>confdefs.h
<<_ACEOF
13102 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13108 CPPFLAGS
=$ac_save_CPPFLAGS
13109 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13110 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13113 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13114 case "x$with_capi" in
13115 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13117 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13118 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13125 if test "x$with_cups" != "xno"
13127 ac_save_CPPFLAGS
="$CPPFLAGS"
13128 ac_cups_cflags
=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13129 ac_cups_libs
=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13130 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
13131 for ac_header
in cups
/cups.h
13133 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13134 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
13135 cat >>confdefs.h
<<_ACEOF
13136 #define HAVE_CUPS_CUPS_H 1
13138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13139 $as_echo_n "checking for -lcups... " >&6; }
13140 if ${ac_cv_lib_soname_cups+:} false
; then :
13141 $as_echo_n "(cached) " >&6
13143 ac_check_soname_save_LIBS
=$LIBS
13144 LIBS
="-lcups $ac_cups_libs $LIBS"
13145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13146 /* end confdefs.h. */
13148 /* Override any GCC internal prototype to avoid an error.
13149 Use char because int might match the return type of a GCC
13150 builtin and then its argument prototype would still apply. */
13154 char cupsGetDefault ();
13158 return cupsGetDefault ();
13163 if ac_fn_c_try_link
"$LINENO"; then :
13165 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13166 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'` ;;
13167 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13168 if ${ac_cv_lib_soname_cups:+false} :; then :
13169 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13173 rm -f core conftest.err conftest.
$ac_objext \
13174 conftest
$ac_exeext conftest.
$ac_ext
13175 LIBS
=$ac_check_soname_save_LIBS
13177 if ${ac_cv_lib_soname_cups:+false} :; then :
13178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13179 $as_echo "not found" >&6; }
13182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13183 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13185 cat >>confdefs.h
<<_ACEOF
13186 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13189 CUPS_CFLAGS
="$ac_cups_cflags"
13191 for ac_header
in cups
/ppd.h
13193 ac_fn_c_check_header_mongrel
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13194 if test "x$ac_cv_header_cups_ppd_h" = xyes
; then :
13195 cat >>confdefs.h
<<_ACEOF
13196 #define HAVE_CUPS_PPD_H 1
13207 CPPFLAGS
="$ac_save_CPPFLAGS"
13209 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13210 case "x$with_cups" in
13211 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13213 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
13214 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13219 if test "x$with_fontconfig" != "xno"
13221 if ${FONTCONFIG_CFLAGS:+false} :; then :
13222 if ${PKG_CONFIG+:} false
; then :
13223 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13226 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13227 if ${FONTCONFIG_LIBS:+false} :; then :
13228 if ${PKG_CONFIG+:} false
; then :
13229 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13232 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
13234 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13235 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13236 ac_save_CPPFLAGS
=$CPPFLAGS
13237 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
13238 for ac_header
in fontconfig
/fontconfig.h
13240 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13241 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
13242 cat >>confdefs.h
<<_ACEOF
13243 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13250 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13253 $as_echo_n "checking for -lfontconfig... " >&6; }
13254 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
13255 $as_echo_n "(cached) " >&6
13257 ac_check_soname_save_LIBS
=$LIBS
13258 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13260 /* end confdefs.h. */
13262 /* Override any GCC internal prototype to avoid an error.
13263 Use char because int might match the return type of a GCC
13264 builtin and then its argument prototype would still apply. */
13277 if ac_fn_c_try_link
"$LINENO"; then :
13279 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13280 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'` ;;
13281 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13282 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13283 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13287 rm -f core conftest.err conftest.
$ac_objext \
13288 conftest
$ac_exeext conftest.
$ac_ext
13289 LIBS
=$ac_check_soname_save_LIBS
13291 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13293 $as_echo "not found" >&6; }
13294 FONTCONFIG_CFLAGS
=""
13296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13297 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13299 cat >>confdefs.h
<<_ACEOF
13300 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13306 FONTCONFIG_CFLAGS
=""
13308 CPPFLAGS
=$ac_save_CPPFLAGS
13309 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13310 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13313 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13314 case "x$with_fontconfig" in
13315 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13317 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13318 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13323 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13326 $as_echo_n "checking for -lgsm... " >&6; }
13327 if ${ac_cv_lib_soname_gsm+:} false
; then :
13328 $as_echo_n "(cached) " >&6
13330 ac_check_soname_save_LIBS
=$LIBS
13332 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13333 /* end confdefs.h. */
13335 /* Override any GCC internal prototype to avoid an error.
13336 Use char because int might match the return type of a GCC
13337 builtin and then its argument prototype would still apply. */
13341 char gsm_create ();
13345 return gsm_create ();
13350 if ac_fn_c_try_link
"$LINENO"; then :
13352 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13353 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'` ;;
13354 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13355 if ${ac_cv_lib_soname_gsm:+false} :; then :
13356 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13360 rm -f core conftest.err conftest.
$ac_objext \
13361 conftest
$ac_exeext conftest.
$ac_ext
13362 LIBS
=$ac_check_soname_save_LIBS
13364 if ${ac_cv_lib_soname_gsm:+false} :; then :
13365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13366 $as_echo "not found" >&6; }
13369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13370 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13372 cat >>confdefs.h
<<_ACEOF
13373 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13379 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13380 case "x$with_gsm" in
13381 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13383 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13384 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13389 if test "x$with_jpeg" != "xno"
13391 if ${JPEG_CFLAGS:+false} :; then :
13392 if ${PKG_CONFIG+:} false
; then :
13393 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13397 if ${JPEG_LIBS:+false} :; then :
13398 if ${PKG_CONFIG+:} false
; then :
13399 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13404 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13405 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13406 ac_save_CPPFLAGS
=$CPPFLAGS
13407 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
13408 for ac_header
in jpeglib.h
13410 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13411 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
13412 cat >>confdefs.h
<<_ACEOF
13413 #define HAVE_JPEGLIB_H 1
13420 if test "$ac_cv_header_jpeglib_h" = "yes"
13422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13423 $as_echo_n "checking for -ljpeg... " >&6; }
13424 if ${ac_cv_lib_soname_jpeg+:} false
; then :
13425 $as_echo_n "(cached) " >&6
13427 ac_check_soname_save_LIBS
=$LIBS
13428 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
13429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13430 /* end confdefs.h. */
13432 /* Override any GCC internal prototype to avoid an error.
13433 Use char because int might match the return type of a GCC
13434 builtin and then its argument prototype would still apply. */
13438 char jpeg_start_decompress ();
13442 return jpeg_start_decompress ();
13447 if ac_fn_c_try_link
"$LINENO"; then :
13449 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13450 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'` ;;
13451 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13452 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13453 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13457 rm -f core conftest.err conftest.
$ac_objext \
13458 conftest
$ac_exeext conftest.
$ac_ext
13459 LIBS
=$ac_check_soname_save_LIBS
13461 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13463 $as_echo "not found" >&6; }
13466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13467 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13469 cat >>confdefs.h
<<_ACEOF
13470 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13478 CPPFLAGS
=$ac_save_CPPFLAGS
13479 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13480 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13483 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13484 case "x$with_jpeg" in
13485 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13487 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13488 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13493 if test "x$with_png" != "xno"
13495 if ${PNG_CFLAGS:+false} :; then :
13496 if ${PKG_CONFIG+:} false
; then :
13497 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13500 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
13501 if ${PNG_LIBS:+false} :; then :
13502 if ${PKG_CONFIG+:} false
; then :
13503 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
13506 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
13508 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13509 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13510 ac_save_CPPFLAGS
=$CPPFLAGS
13511 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
13512 for ac_header
in png.h
13514 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13515 if test "x$ac_cv_header_png_h" = xyes
; then :
13516 cat >>confdefs.h
<<_ACEOF
13517 #define HAVE_PNG_H 1
13524 if test "$ac_cv_header_png_h" = "yes"
13526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13527 $as_echo_n "checking for -lpng... " >&6; }
13528 if ${ac_cv_lib_soname_png+:} false
; then :
13529 $as_echo_n "(cached) " >&6
13531 ac_check_soname_save_LIBS
=$LIBS
13532 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
13533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13534 /* end confdefs.h. */
13536 /* Override any GCC internal prototype to avoid an error.
13537 Use char because int might match the return type of a GCC
13538 builtin and then its argument prototype would still apply. */
13542 char png_create_read_struct ();
13546 return png_create_read_struct ();
13551 if ac_fn_c_try_link
"$LINENO"; then :
13553 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13554 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'` ;;
13555 *) 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'`
13556 if ${ac_cv_lib_soname_png:+false} :; then :
13557 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13561 rm -f core conftest.err conftest.
$ac_objext \
13562 conftest
$ac_exeext conftest.
$ac_ext
13563 LIBS
=$ac_check_soname_save_LIBS
13565 if ${ac_cv_lib_soname_png:+false} :; then :
13566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13567 $as_echo "not found" >&6; }
13570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13571 $as_echo "$ac_cv_lib_soname_png" >&6; }
13573 cat >>confdefs.h
<<_ACEOF
13574 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13578 /* end confdefs.h. */
13583 typeof(png_set_expand_gray_1_2_4_to_8) *p
13588 if ac_fn_c_try_compile
"$LINENO"; then :
13590 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13593 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13598 CPPFLAGS
=$ac_save_CPPFLAGS
13599 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13600 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13603 if test "x$ac_cv_lib_soname_png" = "x"; then :
13604 case "x$with_png" in
13605 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13607 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13608 This is an error since --with-png was requested." "$LINENO" 5 ;;
13613 if test "x$with_tiff" != "xno"
13615 if ${TIFF_CFLAGS:+false} :; then :
13616 if ${PKG_CONFIG+:} false
; then :
13617 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13621 if ${TIFF_LIBS:+false} :; then :
13622 if ${PKG_CONFIG+:} false
; then :
13623 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13628 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13629 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13630 ac_save_CPPFLAGS
=$CPPFLAGS
13631 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13632 for ac_header
in tiffio.h
13634 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13635 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13636 cat >>confdefs.h
<<_ACEOF
13637 #define HAVE_TIFFIO_H 1
13644 if test "$ac_cv_header_tiffio_h" = "yes"
13646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13647 $as_echo_n "checking for -ltiff... " >&6; }
13648 if ${ac_cv_lib_soname_tiff+:} false
; then :
13649 $as_echo_n "(cached) " >&6
13651 ac_check_soname_save_LIBS
=$LIBS
13652 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13654 /* end confdefs.h. */
13656 /* Override any GCC internal prototype to avoid an error.
13657 Use char because int might match the return type of a GCC
13658 builtin and then its argument prototype would still apply. */
13662 char TIFFClientOpen ();
13666 return TIFFClientOpen ();
13671 if ac_fn_c_try_link
"$LINENO"; then :
13673 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13674 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'` ;;
13675 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13676 if ${ac_cv_lib_soname_tiff:+false} :; then :
13677 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13681 rm -f core conftest.err conftest.
$ac_objext \
13682 conftest
$ac_exeext conftest.
$ac_ext
13683 LIBS
=$ac_check_soname_save_LIBS
13685 if ${ac_cv_lib_soname_tiff:+false} :; then :
13686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13687 $as_echo "not found" >&6; }
13690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13691 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13693 cat >>confdefs.h
<<_ACEOF
13694 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13700 CPPFLAGS
=$ac_save_CPPFLAGS
13701 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13702 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13705 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13706 case "x$with_tiff" in
13707 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13709 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13710 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13715 if test "x$with_mpg123" != "xno"
13717 if ${MPG123_CFLAGS:+false} :; then :
13718 if ${PKG_CONFIG+:} false
; then :
13719 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13723 if ${MPG123_LIBS:+false} :; then :
13724 if ${PKG_CONFIG+:} false
; then :
13725 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13729 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13730 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13731 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13732 ac_save_CPPFLAGS
=$CPPFLAGS
13733 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13734 for ac_header
in mpg123.h
13736 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13737 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13738 cat >>confdefs.h
<<_ACEOF
13739 #define HAVE_MPG123_H 1
13746 if test "$ac_cv_header_mpg123_h" = "yes"
13748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13749 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13750 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13751 $as_echo_n "(cached) " >&6
13753 ac_check_lib_save_LIBS
=$LIBS
13754 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13756 /* end confdefs.h. */
13758 /* Override any GCC internal prototype to avoid an error.
13759 Use char because int might match the return type of a GCC
13760 builtin and then its argument prototype would still apply. */
13764 char mpg123_feed ();
13768 return mpg123_feed ();
13773 if ac_fn_c_try_link
"$LINENO"; then :
13774 ac_cv_lib_mpg123_mpg123_feed
=yes
13776 ac_cv_lib_mpg123_mpg123_feed
=no
13778 rm -f core conftest.err conftest.
$ac_objext \
13779 conftest
$ac_exeext conftest.
$ac_ext
13780 LIBS
=$ac_check_lib_save_LIBS
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13783 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13784 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13794 CPPFLAGS
=$ac_save_CPPFLAGS
13795 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13796 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13799 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13800 case "x$with_mpg123" in
13801 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13803 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13804 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13806 enable_winemp3_acm
=${enable_winemp3_acm:-no}
13809 if test "$ac_cv_header_AL_al_h" = "yes"
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13812 $as_echo_n "checking for -lopenal... " >&6; }
13813 if ${ac_cv_lib_soname_openal+:} false
; then :
13814 $as_echo_n "(cached) " >&6
13816 ac_check_soname_save_LIBS
=$LIBS
13817 LIBS
="-lopenal $LIBS"
13818 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13819 /* end confdefs.h. */
13821 /* Override any GCC internal prototype to avoid an error.
13822 Use char because int might match the return type of a GCC
13823 builtin and then its argument prototype would still apply. */
13827 char alGetSource3i ();
13831 return alGetSource3i ();
13836 if ac_fn_c_try_link
"$LINENO"; then :
13838 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13839 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'` ;;
13840 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13841 if ${ac_cv_lib_soname_openal:+false} :; then :
13842 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13846 rm -f core conftest.err conftest.
$ac_objext \
13847 conftest
$ac_exeext conftest.
$ac_ext
13848 LIBS
=$ac_check_soname_save_LIBS
13850 if ${ac_cv_lib_soname_openal:+false} :; then :
13851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13852 $as_echo "not found" >&6; }
13855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13856 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13858 cat >>confdefs.h
<<_ACEOF
13859 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13862 OPENAL_LIBS
="-lopenal"
13864 ac_cv_lib_openal
=yes
13866 cat >>confdefs.h
<<_ACEOF
13867 #define HAVE_OPENAL 1
13872 if test "x$ac_cv_lib_openal" != xyes
; then :
13873 case "x$with_openal" in
13874 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13876 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13877 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13879 enable_openal32
=${enable_openal32:-no}
13882 if test "x$ac_cv_lib_openal" = xyes
13884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13885 $as_echo_n "checking for openal-soft... " >&6; }
13886 if ${ac_cv_have_openalsoft+:} false
; then :
13887 $as_echo_n "(cached) " >&6
13889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13890 /* end confdefs.h. */
13892 #include <AL/alc.h>
13893 #include <AL/alext.h>
13894 LPALCRENDERSAMPLESSOFT x;
13903 if ac_fn_c_try_compile
"$LINENO"; then :
13904 ac_cv_have_openalsoft
=yes
13906 ac_cv_have_openalsoft
=no
13908 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13911 $as_echo "$ac_cv_have_openalsoft" >&6; }
13913 if test "x$ac_cv_have_openalsoft" != xyes
13915 as_fn_append wine_notices
"|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13916 enable_x3daudio1_0
=${enable_x3daudio1_0:-no}
13917 enable_x3daudio1_1
=${enable_x3daudio1_1:-no}
13918 enable_x3daudio1_2
=${enable_x3daudio1_2:-no}
13919 enable_x3daudio1_3
=${enable_x3daudio1_3:-no}
13920 enable_x3daudio1_4
=${enable_x3daudio1_4:-no}
13921 enable_x3daudio1_5
=${enable_x3daudio1_5:-no}
13922 enable_x3daudio1_6
=${enable_x3daudio1_6:-no}
13923 enable_x3daudio1_7
=${enable_x3daudio1_7:-no}
13924 enable_xapofx1_1
=${enable_xapofx1_1:-no}
13925 enable_xapofx1_2
=${enable_xapofx1_2:-no}
13926 enable_xapofx1_3
=${enable_xapofx1_3:-no}
13927 enable_xapofx1_4
=${enable_xapofx1_4:-no}
13928 enable_xapofx1_5
=${enable_xapofx1_5:-no}
13929 enable_xaudio2_0
=${enable_xaudio2_0:-no}
13930 enable_xaudio2_1
=${enable_xaudio2_1:-no}
13931 enable_xaudio2_2
=${enable_xaudio2_2:-no}
13932 enable_xaudio2_3
=${enable_xaudio2_3:-no}
13933 enable_xaudio2_4
=${enable_xaudio2_4:-no}
13934 enable_xaudio2_5
=${enable_xaudio2_5:-no}
13935 enable_xaudio2_6
=${enable_xaudio2_6:-no}
13936 enable_xaudio2_7
=${enable_xaudio2_7:-no}
13937 enable_xaudio2_8
=${enable_xaudio2_8:-no}
13938 enable_xaudio2_9
=${enable_xaudio2_9:-no}
13941 if test "$ac_cv_header_kstat_h" = "yes"
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13944 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13945 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13946 $as_echo_n "(cached) " >&6
13948 ac_check_lib_save_LIBS
=$LIBS
13949 LIBS
="-lkstat $LIBS"
13950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13951 /* end confdefs.h. */
13953 /* Override any GCC internal prototype to avoid an error.
13954 Use char because int might match the return type of a GCC
13955 builtin and then its argument prototype would still apply. */
13959 char kstat_open ();
13963 return kstat_open ();
13968 if ac_fn_c_try_link
"$LINENO"; then :
13969 ac_cv_lib_kstat_kstat_open
=yes
13971 ac_cv_lib_kstat_kstat_open
=no
13973 rm -f core conftest.err conftest.
$ac_objext \
13974 conftest
$ac_exeext conftest.
$ac_ext
13975 LIBS
=$ac_check_lib_save_LIBS
13977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13978 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13979 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13981 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13983 KSTAT_LIBS
="-lkstat"
13989 if test "$ac_cv_header_libprocstat_h" = "yes"
13991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13992 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13993 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13994 $as_echo_n "(cached) " >&6
13996 ac_check_lib_save_LIBS
=$LIBS
13997 LIBS
="-lprocstat $LIBS"
13998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13999 /* end confdefs.h. */
14001 /* Override any GCC internal prototype to avoid an error.
14002 Use char because int might match the return type of a GCC
14003 builtin and then its argument prototype would still apply. */
14007 char procstat_open_sysctl ();
14011 return procstat_open_sysctl ();
14016 if ac_fn_c_try_link
"$LINENO"; then :
14017 ac_cv_lib_procstat_procstat_open_sysctl
=yes
14019 ac_cv_lib_procstat_procstat_open_sysctl
=no
14021 rm -f core conftest.err conftest.
$ac_objext \
14022 conftest
$ac_exeext conftest.
$ac_ext
14023 LIBS
=$ac_check_lib_save_LIBS
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14026 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14027 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
14029 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14031 PROCSTAT_LIBS
="-lprocstat"
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14038 $as_echo_n "checking for -lodbc... " >&6; }
14039 if ${ac_cv_lib_soname_odbc+:} false
; then :
14040 $as_echo_n "(cached) " >&6
14042 ac_check_soname_save_LIBS
=$LIBS
14043 LIBS
="-lodbc $LIBS"
14044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14045 /* end confdefs.h. */
14047 /* Override any GCC internal prototype to avoid an error.
14048 Use char because int might match the return type of a GCC
14049 builtin and then its argument prototype would still apply. */
14053 char SQLConnect ();
14057 return SQLConnect ();
14062 if ac_fn_c_try_link
"$LINENO"; then :
14064 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14065 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'` ;;
14066 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14067 if ${ac_cv_lib_soname_odbc:+false} :; then :
14068 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14072 rm -f core conftest.err conftest.
$ac_objext \
14073 conftest
$ac_exeext conftest.
$ac_ext
14074 LIBS
=$ac_check_soname_save_LIBS
14076 if ${ac_cv_lib_soname_odbc:+false} :; then :
14077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14078 $as_echo "not found" >&6; }
14079 cat >>confdefs.h
<<_ACEOF
14080 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14085 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14087 cat >>confdefs.h
<<_ACEOF
14088 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14094 if test "x$with_netapi" != "xno"
14096 if ${NETAPI_CFLAGS:+false} :; then :
14097 if ${PKG_CONFIG+:} false
; then :
14098 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14102 if ${NETAPI_LIBS:+false} :; then :
14103 if ${PKG_CONFIG+:} false
; then :
14104 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
14109 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14110 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14111 ac_save_CPPFLAGS
=$CPPFLAGS
14112 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
14113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14114 $as_echo_n "checking for -lnetapi... " >&6; }
14115 if ${ac_cv_lib_soname_netapi+:} false
; then :
14116 $as_echo_n "(cached) " >&6
14118 ac_check_soname_save_LIBS
=$LIBS
14119 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
14120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14121 /* end confdefs.h. */
14123 /* Override any GCC internal prototype to avoid an error.
14124 Use char because int might match the return type of a GCC
14125 builtin and then its argument prototype would still apply. */
14129 char libnetapi_init ();
14133 return libnetapi_init ();
14138 if ac_fn_c_try_link
"$LINENO"; then :
14140 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14141 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'` ;;
14142 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14143 if ${ac_cv_lib_soname_netapi:+false} :; then :
14144 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14148 rm -f core conftest.err conftest.
$ac_objext \
14149 conftest
$ac_exeext conftest.
$ac_ext
14150 LIBS
=$ac_check_soname_save_LIBS
14152 if ${ac_cv_lib_soname_netapi:+false} :; then :
14153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14154 $as_echo "not found" >&6; }
14155 cat >>confdefs.h
<<_ACEOF
14156 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14161 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14163 cat >>confdefs.h
<<_ACEOF
14164 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14169 CPPFLAGS
=$ac_save_CPPFLAGS
14170 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS
=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14171 test -z "$NETAPI_LIBS" || NETAPI_LIBS
=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14175 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono
-a \
14176 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14178 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
14184 if test "x${GCC}" = "xyes"
14186 EXTRACFLAGS
="-Wall -pipe"
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14189 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14190 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
14191 $as_echo_n "(cached) " >&6
14193 if test "$cross_compiling" = yes; then :
14194 ac_cv_c_gcc_strength_bug
="no"
14196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14197 /* end confdefs.h. */
14198 int L[4] = {0,1,2,3};
14202 static int Array[3];
14203 unsigned int B = 3;
14205 for(i=0; i<B; i++) Array[i] = i - 3;
14206 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14208 return (Array[1] != -2 || L[2] != 3)
14213 if ac_fn_c_try_run
"$LINENO"; then :
14214 ac_cv_c_gcc_strength_bug
="no"
14216 ac_cv_c_gcc_strength_bug
="yes"
14218 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14219 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14224 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14225 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14227 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
14230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14231 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14232 if ${ac_cv_cflags__fno_builtin+:} false
; then :
14233 $as_echo_n "(cached) " >&6
14235 ac_wine_try_cflags_saved
=$CFLAGS
14236 CFLAGS
="$CFLAGS -fno-builtin"
14237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14238 /* end confdefs.h. */
14239 int main(int argc, char **argv) { return 0; }
14241 if ac_fn_c_try_link
"$LINENO"; then :
14242 ac_cv_cflags__fno_builtin
=yes
14244 ac_cv_cflags__fno_builtin
=no
14246 rm -f core conftest.err conftest.
$ac_objext \
14247 conftest
$ac_exeext conftest.
$ac_ext
14248 CFLAGS
=$ac_wine_try_cflags_saved
14250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14251 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14252 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
14253 BUILTINFLAG
="-fno-builtin"
14256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14257 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14258 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
14259 $as_echo_n "(cached) " >&6
14261 ac_wine_try_cflags_saved
=$CFLAGS
14262 CFLAGS
="$CFLAGS -fno-strict-aliasing"
14263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14264 /* end confdefs.h. */
14265 int main(int argc, char **argv) { return 0; }
14267 if ac_fn_c_try_link
"$LINENO"; then :
14268 ac_cv_cflags__fno_strict_aliasing
=yes
14270 ac_cv_cflags__fno_strict_aliasing
=no
14272 rm -f core conftest.err conftest.
$ac_objext \
14273 conftest
$ac_exeext conftest.
$ac_ext
14274 CFLAGS
=$ac_wine_try_cflags_saved
14276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14277 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14278 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
14279 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
14281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14282 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14283 if ${ac_cv_cflags__fexcess_precision_standard+:} false
; then :
14284 $as_echo_n "(cached) " >&6
14286 ac_wine_try_cflags_saved
=$CFLAGS
14287 CFLAGS
="$CFLAGS -fexcess-precision=standard"
14288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14289 /* end confdefs.h. */
14290 int main(int argc, char **argv) { return 0; }
14292 if ac_fn_c_try_link
"$LINENO"; then :
14293 ac_cv_cflags__fexcess_precision_standard
=yes
14295 ac_cv_cflags__fexcess_precision_standard
=no
14297 rm -f core conftest.err conftest.
$ac_objext \
14298 conftest
$ac_exeext conftest.
$ac_ext
14299 CFLAGS
=$ac_wine_try_cflags_saved
14301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14302 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14303 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
; then :
14304 EXCESS_PRECISION_CFLAGS
="-fexcess-precision=standard"
14307 saved_CFLAGS
=$CFLAGS
14308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14309 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14310 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
14311 $as_echo_n "(cached) " >&6
14313 ac_wine_try_cflags_saved
=$CFLAGS
14314 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14316 /* end confdefs.h. */
14317 int main(int argc, char **argv) { return 0; }
14319 if ac_fn_c_try_link
"$LINENO"; then :
14320 ac_cv_cflags__Werror_unknown_warning_option
=yes
14322 ac_cv_cflags__Werror_unknown_warning_option
=no
14324 rm -f core conftest.err conftest.
$ac_objext \
14325 conftest
$ac_exeext conftest.
$ac_ext
14326 CFLAGS
=$ac_wine_try_cflags_saved
14328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14329 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14330 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
14331 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14334 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14335 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
14336 $as_echo_n "(cached) " >&6
14338 ac_wine_try_cflags_saved
=$CFLAGS
14339 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
14340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14341 /* end confdefs.h. */
14342 int main(int argc, char **argv) { return 0; }
14344 if ac_fn_c_try_link
"$LINENO"; then :
14345 ac_cv_cflags__Wdeclaration_after_statement
=yes
14347 ac_cv_cflags__Wdeclaration_after_statement
=no
14349 rm -f core conftest.err conftest.
$ac_objext \
14350 conftest
$ac_exeext conftest.
$ac_ext
14351 CFLAGS
=$ac_wine_try_cflags_saved
14353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14354 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14355 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
14356 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
14358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14359 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14360 if ${ac_cv_cflags__Wempty_body+:} false
; then :
14361 $as_echo_n "(cached) " >&6
14363 ac_wine_try_cflags_saved
=$CFLAGS
14364 CFLAGS
="$CFLAGS -Wempty-body"
14365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14366 /* end confdefs.h. */
14367 int main(int argc, char **argv) { return 0; }
14369 if ac_fn_c_try_link
"$LINENO"; then :
14370 ac_cv_cflags__Wempty_body
=yes
14372 ac_cv_cflags__Wempty_body
=no
14374 rm -f core conftest.err conftest.
$ac_objext \
14375 conftest
$ac_exeext conftest.
$ac_ext
14376 CFLAGS
=$ac_wine_try_cflags_saved
14378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14379 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14380 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
14381 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
14383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14384 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14385 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
14386 $as_echo_n "(cached) " >&6
14388 ac_wine_try_cflags_saved
=$CFLAGS
14389 CFLAGS
="$CFLAGS -Wignored-qualifiers"
14390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14391 /* end confdefs.h. */
14392 int main(int argc, char **argv) { return 0; }
14394 if ac_fn_c_try_link
"$LINENO"; then :
14395 ac_cv_cflags__Wignored_qualifiers
=yes
14397 ac_cv_cflags__Wignored_qualifiers
=no
14399 rm -f core conftest.err conftest.
$ac_objext \
14400 conftest
$ac_exeext conftest.
$ac_ext
14401 CFLAGS
=$ac_wine_try_cflags_saved
14403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14404 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14405 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
14406 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
14408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14409 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14410 if ${ac_cv_cflags__Wshift_overflow_2+:} false
; then :
14411 $as_echo_n "(cached) " >&6
14413 ac_wine_try_cflags_saved
=$CFLAGS
14414 CFLAGS
="$CFLAGS -Wshift-overflow=2"
14415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14416 /* end confdefs.h. */
14417 int main(int argc, char **argv) { return 0; }
14419 if ac_fn_c_try_link
"$LINENO"; then :
14420 ac_cv_cflags__Wshift_overflow_2
=yes
14422 ac_cv_cflags__Wshift_overflow_2
=no
14424 rm -f core conftest.err conftest.
$ac_objext \
14425 conftest
$ac_exeext conftest.
$ac_ext
14426 CFLAGS
=$ac_wine_try_cflags_saved
14428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14429 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14430 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
; then :
14431 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
14433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14434 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14435 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
14436 $as_echo_n "(cached) " >&6
14438 ac_wine_try_cflags_saved
=$CFLAGS
14439 CFLAGS
="$CFLAGS -Wstrict-prototypes"
14440 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14441 /* end confdefs.h. */
14442 int main(int argc, char **argv) { return 0; }
14444 if ac_fn_c_try_link
"$LINENO"; then :
14445 ac_cv_cflags__Wstrict_prototypes
=yes
14447 ac_cv_cflags__Wstrict_prototypes
=no
14449 rm -f core conftest.err conftest.
$ac_objext \
14450 conftest
$ac_exeext conftest.
$ac_ext
14451 CFLAGS
=$ac_wine_try_cflags_saved
14453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14454 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14455 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
14456 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
14458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14459 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14460 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
14461 $as_echo_n "(cached) " >&6
14463 ac_wine_try_cflags_saved
=$CFLAGS
14464 CFLAGS
="$CFLAGS -Wtype-limits"
14465 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14466 /* end confdefs.h. */
14467 int main(int argc, char **argv) { return 0; }
14469 if ac_fn_c_try_link
"$LINENO"; then :
14470 ac_cv_cflags__Wtype_limits
=yes
14472 ac_cv_cflags__Wtype_limits
=no
14474 rm -f core conftest.err conftest.
$ac_objext \
14475 conftest
$ac_exeext conftest.
$ac_ext
14476 CFLAGS
=$ac_wine_try_cflags_saved
14478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14479 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14480 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
14481 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
14483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14484 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14485 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
14486 $as_echo_n "(cached) " >&6
14488 ac_wine_try_cflags_saved
=$CFLAGS
14489 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
14490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14491 /* end confdefs.h. */
14492 int main(int argc, char **argv) { return 0; }
14494 if ac_fn_c_try_link
"$LINENO"; then :
14495 ac_cv_cflags__Wunused_but_set_parameter
=yes
14497 ac_cv_cflags__Wunused_but_set_parameter
=no
14499 rm -f core conftest.err conftest.
$ac_objext \
14500 conftest
$ac_exeext conftest.
$ac_ext
14501 CFLAGS
=$ac_wine_try_cflags_saved
14503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14504 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14505 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
14506 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
14508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14509 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14510 if ${ac_cv_cflags__Wvla+:} false
; then :
14511 $as_echo_n "(cached) " >&6
14513 ac_wine_try_cflags_saved
=$CFLAGS
14514 CFLAGS
="$CFLAGS -Wvla"
14515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14516 /* end confdefs.h. */
14517 int main(int argc, char **argv) { return 0; }
14519 if ac_fn_c_try_link
"$LINENO"; then :
14520 ac_cv_cflags__Wvla
=yes
14522 ac_cv_cflags__Wvla
=no
14524 rm -f core conftest.err conftest.
$ac_objext \
14525 conftest
$ac_exeext conftest.
$ac_ext
14526 CFLAGS
=$ac_wine_try_cflags_saved
14528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14529 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14530 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
14531 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
14533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14534 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14535 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
14536 $as_echo_n "(cached) " >&6
14538 ac_wine_try_cflags_saved
=$CFLAGS
14539 CFLAGS
="$CFLAGS -Wwrite-strings"
14540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14541 /* end confdefs.h. */
14542 int main(int argc, char **argv) { return 0; }
14544 if ac_fn_c_try_link
"$LINENO"; then :
14545 ac_cv_cflags__Wwrite_strings
=yes
14547 ac_cv_cflags__Wwrite_strings
=no
14549 rm -f core conftest.err conftest.
$ac_objext \
14550 conftest
$ac_exeext conftest.
$ac_ext
14551 CFLAGS
=$ac_wine_try_cflags_saved
14553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14554 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14555 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
14556 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
14559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14560 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14561 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
14562 $as_echo_n "(cached) " >&6
14564 ac_wine_try_cflags_saved
=$CFLAGS
14565 CFLAGS
="$CFLAGS -Wpointer-arith"
14566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14567 /* end confdefs.h. */
14568 int main(int argc, char **argv) { return 0; }
14570 if ac_fn_c_try_link
"$LINENO"; then :
14571 ac_cv_cflags__Wpointer_arith
=yes
14573 ac_cv_cflags__Wpointer_arith
=no
14575 rm -f core conftest.err conftest.
$ac_objext \
14576 conftest
$ac_exeext conftest.
$ac_ext
14577 CFLAGS
=$ac_wine_try_cflags_saved
14579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14580 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14581 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
14582 saved_string_h_CFLAGS
=$CFLAGS
14583 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
14584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14585 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14586 if ${ac_cv_c_string_h_warnings+:} false
; then :
14587 $as_echo_n "(cached) " >&6
14589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14590 /* end confdefs.h. */
14591 #include <string.h>
14600 if ac_fn_c_try_compile
"$LINENO"; then :
14601 ac_cv_c_string_h_warnings
=no
14603 ac_cv_c_string_h_warnings
=yes
14605 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14608 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14609 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
14610 CFLAGS
=$saved_string_h_CFLAGS
14613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14614 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14615 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
14616 $as_echo_n "(cached) " >&6
14618 ac_wine_try_cflags_saved
=$CFLAGS
14619 CFLAGS
="$CFLAGS -Wlogical-op"
14620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14621 /* end confdefs.h. */
14622 int main(int argc, char **argv) { return 0; }
14624 if ac_fn_c_try_link
"$LINENO"; then :
14625 ac_cv_cflags__Wlogical_op
=yes
14627 ac_cv_cflags__Wlogical_op
=no
14629 rm -f core conftest.err conftest.
$ac_objext \
14630 conftest
$ac_exeext conftest.
$ac_ext
14631 CFLAGS
=$ac_wine_try_cflags_saved
14633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14634 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14635 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
14636 saved_string_h_CFLAGS
=$CFLAGS
14637 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
14638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14639 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14640 if ${ac_cv_c_logicalop_noisy+:} false
; then :
14641 $as_echo_n "(cached) " >&6
14643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14644 /* end confdefs.h. */
14645 #include <string.h>
14646 char*f(const char *h,char n) {return strchr(h,n);}
14655 if ac_fn_c_try_compile
"$LINENO"; then :
14656 ac_cv_c_logicalop_noisy
=no
14658 ac_cv_c_logicalop_noisy
=yes
14660 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14663 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14664 CFLAGS
=$saved_string_h_CFLAGS
14665 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
14668 CFLAGS
=$saved_CFLAGS
14670 for ac_flag
in $CFLAGS; do
14672 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14673 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14674 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14675 $as_echo_n "(cached) " >&6
14677 ac_wine_try_cflags_saved
=$CFLAGS
14678 CFLAGS
="$CFLAGS -gdwarf-2"
14679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14680 /* end confdefs.h. */
14681 int main(int argc, char **argv) { return 0; }
14683 if ac_fn_c_try_link
"$LINENO"; then :
14684 ac_cv_cflags__gdwarf_2
=yes
14686 ac_cv_cflags__gdwarf_2
=no
14688 rm -f core conftest.err conftest.
$ac_objext \
14689 conftest
$ac_exeext conftest.
$ac_ext
14690 CFLAGS
=$ac_wine_try_cflags_saved
14692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14693 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14694 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14695 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14698 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14699 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14700 $as_echo_n "(cached) " >&6
14702 ac_wine_try_cflags_saved
=$CFLAGS
14703 CFLAGS
="$CFLAGS -gstrict-dwarf"
14704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14705 /* end confdefs.h. */
14706 int main(int argc, char **argv) { return 0; }
14708 if ac_fn_c_try_link
"$LINENO"; then :
14709 ac_cv_cflags__gstrict_dwarf
=yes
14711 ac_cv_cflags__gstrict_dwarf
=no
14713 rm -f core conftest.err conftest.
$ac_objext \
14714 conftest
$ac_exeext conftest.
$ac_ext
14715 CFLAGS
=$ac_wine_try_cflags_saved
14717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14718 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14719 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14720 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14726 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14727 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14728 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14729 $as_echo_n "(cached) " >&6
14731 ac_wine_try_cflags_saved
=$CFLAGS
14732 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14734 /* end confdefs.h. */
14735 int main(int argc, char **argv) { return 0; }
14737 if ac_fn_c_try_link
"$LINENO"; then :
14738 ac_cv_cflags__fno_omit_frame_pointer
=yes
14740 ac_cv_cflags__fno_omit_frame_pointer
=no
14742 rm -f core conftest.err conftest.
$ac_objext \
14743 conftest
$ac_exeext conftest.
$ac_ext
14744 CFLAGS
=$ac_wine_try_cflags_saved
14746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14747 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14748 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14749 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14754 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14755 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14756 if ${ac_cv_cflags__Wno_format+:} false
; then :
14757 $as_echo_n "(cached) " >&6
14759 ac_wine_try_cflags_saved
=$CFLAGS
14760 CFLAGS
="$CFLAGS -Wno-format"
14761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14762 /* end confdefs.h. */
14763 int main(int argc, char **argv) { return 0; }
14765 if ac_fn_c_try_link
"$LINENO"; then :
14766 ac_cv_cflags__Wno_format
=yes
14768 ac_cv_cflags__Wno_format
=no
14770 rm -f core conftest.err conftest.
$ac_objext \
14771 conftest
$ac_exeext conftest.
$ac_ext
14772 CFLAGS
=$ac_wine_try_cflags_saved
14774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14775 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14776 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14777 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14781 if test "x$enable_maintainer_mode" = "xyes"
14783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14784 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14785 if ${ac_cv_cflags__Werror+:} false
; then :
14786 $as_echo_n "(cached) " >&6
14788 ac_wine_try_cflags_saved
=$CFLAGS
14789 CFLAGS
="$CFLAGS -Werror"
14790 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14791 /* end confdefs.h. */
14792 int main(int argc, char **argv) { return 0; }
14794 if ac_fn_c_try_link
"$LINENO"; then :
14795 ac_cv_cflags__Werror
=yes
14797 ac_cv_cflags__Werror
=no
14799 rm -f core conftest.err conftest.
$ac_objext \
14800 conftest
$ac_exeext conftest.
$ac_ext
14801 CFLAGS
=$ac_wine_try_cflags_saved
14803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14804 $as_echo "$ac_cv_cflags__Werror" >&6; }
14805 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14806 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14810 saved_CFLAGS
="$CFLAGS"
14811 CFLAGS
="$CFLAGS -Werror"
14812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14813 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14814 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14815 $as_echo_n "(cached) " >&6
14817 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14818 /* end confdefs.h. */
14819 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14828 if ac_fn_c_try_compile
"$LINENO"; then :
14829 ac_cv_have_ms_hook_prologue
="yes"
14831 ac_cv_have_ms_hook_prologue
="no"
14833 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14836 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14837 CFLAGS
="$saved_CFLAGS"
14838 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14841 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14844 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14851 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14852 if ${ac_cv_c_fortify_enabled+:} false
; then :
14853 $as_echo_n "(cached) " >&6
14855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14856 /* end confdefs.h. */
14857 #include <string.h>
14861 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14862 #error Fortify enabled
14868 if ac_fn_c_try_compile
"$LINENO"; then :
14869 ac_cv_c_fortify_enabled
=no
14871 ac_cv_c_fortify_enabled
=yes
14873 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14876 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14877 if test "$ac_cv_c_fortify_enabled" = yes
14879 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14884 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14885 if ${ac_cv_c_extern_prefix+:} false
; then :
14886 $as_echo_n "(cached) " >&6
14888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14889 /* end confdefs.h. */
14890 extern int ac_test;
14894 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14899 if ac_fn_c_try_link
"$LINENO"; then :
14900 ac_cv_c_extern_prefix
="yes"
14902 ac_cv_c_extern_prefix
="no"
14904 rm -f core conftest.err conftest.
$ac_objext \
14905 conftest
$ac_exeext conftest.
$ac_ext
14907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14908 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14913 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14914 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14915 $as_echo_n "(cached) " >&6
14917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14918 /* end confdefs.h. */
14920 #define __stdcall __attribute__((__stdcall__))
14922 int __stdcall ac_test(int i) { return i; }
14926 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14931 if ac_fn_c_try_link
"$LINENO"; then :
14932 ac_cv_c_stdcall_suffix
="yes"
14934 ac_cv_c_stdcall_suffix
="no"
14936 rm -f core conftest.err conftest.
$ac_objext \
14937 conftest
$ac_exeext conftest.
$ac_ext
14939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14940 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14941 *) ac_cv_c_stdcall_suffix
="no" ;;
14945 if test "$ac_cv_c_extern_prefix" = "yes"
14947 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14949 asm_name_prefix
="_"
14951 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14957 if test "$ac_cv_c_stdcall_suffix" = "yes"
14959 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14962 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14968 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14969 if ${ac_cv_asm_func_def+:} false
; then :
14970 $as_echo_n "(cached) " >&6
14972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14973 /* end confdefs.h. */
14978 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14983 if ac_fn_c_try_link
"$LINENO"; then :
14984 ac_cv_asm_func_def
=".def"
14986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14987 /* end confdefs.h. */
14992 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14997 if ac_fn_c_try_link
"$LINENO"; then :
14998 ac_cv_asm_func_def
=".type @function"
15000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15001 /* end confdefs.h. */
15006 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15011 if ac_fn_c_try_link
"$LINENO"; then :
15012 ac_cv_asm_func_def
=".type 2"
15014 ac_cv_asm_func_def
="unknown"
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 rm -f core conftest.err conftest.
$ac_objext \
15023 conftest
$ac_exeext conftest.
$ac_ext
15025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15026 $as_echo "$ac_cv_asm_func_def" >&6; }
15029 case "$ac_cv_asm_func_def" in
15031 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15033 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15035 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15037 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
15039 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15041 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
15043 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15045 asm_func_header
="" ;;
15048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15049 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15050 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
15051 $as_echo_n "(cached) " >&6
15053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15054 /* end confdefs.h. */
15055 asm(".text\n\t.long 0");
15064 if ac_fn_c_try_compile
"$LINENO"; then :
15065 ac_cv_c_asm_outside_funcs
="yes"
15067 ac_cv_c_asm_outside_funcs
="no"
15069 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15072 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15075 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15076 if ${ac_cv_c_dot_previous+:} false
; then :
15077 $as_echo_n "(cached) " >&6
15079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15080 /* end confdefs.h. */
15085 asm(".text\nac_test:\t.long 0\n\t.previous");
15090 if ac_fn_c_try_link
"$LINENO"; then :
15091 ac_cv_c_dot_previous
="yes"
15093 ac_cv_c_dot_previous
="no"
15095 rm -f core conftest.err conftest.
$ac_objext \
15096 conftest
$ac_exeext conftest.
$ac_ext
15098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15099 $as_echo "$ac_cv_c_dot_previous" >&6; }
15101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15102 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15103 if ${ac_cv_c_cfi_support+:} false
; then :
15104 $as_echo_n "(cached) " >&6
15106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15107 /* end confdefs.h. */
15108 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15117 if ac_fn_c_try_compile
"$LINENO"; then :
15118 ac_cv_c_cfi_support
="yes"
15120 ac_cv_c_cfi_support
="no"
15122 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15125 $as_echo "$ac_cv_c_cfi_support" >&6; }
15127 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15128 asm_func_trailer
=""
15129 if test "$ac_cv_c_dot_previous" = "yes"
15131 asm_func_trailer
="\\n\\t.previous"
15133 if test "$ac_cv_c_cfi_support" = "yes"
15135 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
15136 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
15138 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15140 UNWINDFLAGS
=-fasynchronous-unwind-tables
15143 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15145 if test "x$enable_win64" = "xyes"
15147 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15151 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
15154 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15156 cat >>confdefs.h
<<_ACEOF
15157 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15161 cat >>confdefs.h
<<_ACEOF
15162 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15167 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15170 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15175 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
15183 *i
[3456789]86*|x86_64
*)
15184 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS
"loader/wine-preloader"
15185 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
15192 ac_save_CFLAGS
="$CFLAGS"
15193 CFLAGS
="$CFLAGS $BUILTINFLAG"
15273 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15274 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15275 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15276 cat >>confdefs.h
<<_ACEOF
15277 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15283 CFLAGS
="$ac_save_CFLAGS"
15285 if test "$ac_cv_func_dlopen" = no
15287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15288 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15289 if ${ac_cv_lib_dl_dlopen+:} false
; then :
15290 $as_echo_n "(cached) " >&6
15292 ac_check_lib_save_LIBS
=$LIBS
15294 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15295 /* end confdefs.h. */
15297 /* Override any GCC internal prototype to avoid an error.
15298 Use char because int might match the return type of a GCC
15299 builtin and then its argument prototype would still apply. */
15312 if ac_fn_c_try_link
"$LINENO"; then :
15313 ac_cv_lib_dl_dlopen
=yes
15315 ac_cv_lib_dl_dlopen
=no
15317 rm -f core conftest.err conftest.
$ac_objext \
15318 conftest
$ac_exeext conftest.
$ac_ext
15319 LIBS
=$ac_check_lib_save_LIBS
15321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15322 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15323 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
15324 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15330 ac_wine_check_funcs_save_LIBS
="$LIBS"
15331 LIBS
="$LIBS $DL_LIBS"
15332 for ac_func
in dladdr
15334 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
15335 if test "x$ac_cv_func_dladdr" = xyes
; then :
15336 cat >>confdefs.h
<<_ACEOF
15337 #define HAVE_DLADDR 1
15343 LIBS
="$ac_wine_check_funcs_save_LIBS"
15345 if test "$ac_cv_func_poll" = no
15347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15348 $as_echo_n "checking for poll in -lpoll... " >&6; }
15349 if ${ac_cv_lib_poll_poll+:} false
; then :
15350 $as_echo_n "(cached) " >&6
15352 ac_check_lib_save_LIBS
=$LIBS
15353 LIBS
="-lpoll $LIBS"
15354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15355 /* end confdefs.h. */
15357 /* Override any GCC internal prototype to avoid an error.
15358 Use char because int might match the return type of a GCC
15359 builtin and then its argument prototype would still apply. */
15372 if ac_fn_c_try_link
"$LINENO"; then :
15373 ac_cv_lib_poll_poll
=yes
15375 ac_cv_lib_poll_poll
=no
15377 rm -f core conftest.err conftest.
$ac_objext \
15378 conftest
$ac_exeext conftest.
$ac_ext
15379 LIBS
=$ac_check_lib_save_LIBS
15381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15382 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15383 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
15384 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15392 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15393 if ${ac_cv_search_gethostbyname+:} false
; then :
15394 $as_echo_n "(cached) " >&6
15396 ac_func_search_save_LIBS
=$LIBS
15397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15398 /* end confdefs.h. */
15400 /* Override any GCC internal prototype to avoid an error.
15401 Use char because int might match the return type of a GCC
15402 builtin and then its argument prototype would still apply. */
15406 char gethostbyname ();
15410 return gethostbyname ();
15415 for ac_lib
in '' nsl
; do
15416 if test -z "$ac_lib"; then
15417 ac_res
="none required"
15420 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15422 if ac_fn_c_try_link
"$LINENO"; then :
15423 ac_cv_search_gethostbyname
=$ac_res
15425 rm -f core conftest.err conftest.
$ac_objext \
15427 if ${ac_cv_search_gethostbyname+:} false
; then :
15431 if ${ac_cv_search_gethostbyname+:} false
; then :
15434 ac_cv_search_gethostbyname
=no
15436 rm conftest.
$ac_ext
15437 LIBS
=$ac_func_search_save_LIBS
15439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15440 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15441 ac_res
=$ac_cv_search_gethostbyname
15442 if test "$ac_res" != no
; then :
15443 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15449 $as_echo_n "checking for library containing connect... " >&6; }
15450 if ${ac_cv_search_connect+:} false
; then :
15451 $as_echo_n "(cached) " >&6
15453 ac_func_search_save_LIBS
=$LIBS
15454 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15455 /* end confdefs.h. */
15457 /* Override any GCC internal prototype to avoid an error.
15458 Use char because int might match the return type of a GCC
15459 builtin and then its argument prototype would still apply. */
15472 for ac_lib
in '' socket
; do
15473 if test -z "$ac_lib"; then
15474 ac_res
="none required"
15477 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15479 if ac_fn_c_try_link
"$LINENO"; then :
15480 ac_cv_search_connect
=$ac_res
15482 rm -f core conftest.err conftest.
$ac_objext \
15484 if ${ac_cv_search_connect+:} false
; then :
15488 if ${ac_cv_search_connect+:} false
; then :
15491 ac_cv_search_connect
=no
15493 rm conftest.
$ac_ext
15494 LIBS
=$ac_func_search_save_LIBS
15496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15497 $as_echo "$ac_cv_search_connect" >&6; }
15498 ac_res
=$ac_cv_search_connect
15499 if test "$ac_res" != no
; then :
15500 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15506 $as_echo_n "checking for library containing inet_aton... " >&6; }
15507 if ${ac_cv_search_inet_aton+:} false
; then :
15508 $as_echo_n "(cached) " >&6
15510 ac_func_search_save_LIBS
=$LIBS
15511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15512 /* end confdefs.h. */
15514 /* Override any GCC internal prototype to avoid an error.
15515 Use char because int might match the return type of a GCC
15516 builtin and then its argument prototype would still apply. */
15524 return inet_aton ();
15529 for ac_lib
in '' resolv
; do
15530 if test -z "$ac_lib"; then
15531 ac_res
="none required"
15534 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15536 if ac_fn_c_try_link
"$LINENO"; then :
15537 ac_cv_search_inet_aton
=$ac_res
15539 rm -f core conftest.err conftest.
$ac_objext \
15541 if ${ac_cv_search_inet_aton+:} false
; then :
15545 if ${ac_cv_search_inet_aton+:} false
; then :
15548 ac_cv_search_inet_aton
=no
15550 rm conftest.
$ac_ext
15551 LIBS
=$ac_func_search_save_LIBS
15553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15554 $as_echo "$ac_cv_search_inet_aton" >&6; }
15555 ac_res
=$ac_cv_search_inet_aton
15556 if test "$ac_res" != no
; then :
15557 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15577 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15578 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15579 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15580 cat >>confdefs.h
<<_ACEOF
15581 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15590 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15591 if ${ac_cv_search_clock_gettime+:} false
; then :
15592 $as_echo_n "(cached) " >&6
15594 ac_func_search_save_LIBS
=$LIBS
15595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15596 /* end confdefs.h. */
15598 /* Override any GCC internal prototype to avoid an error.
15599 Use char because int might match the return type of a GCC
15600 builtin and then its argument prototype would still apply. */
15604 char clock_gettime ();
15608 return clock_gettime ();
15613 for ac_lib
in '' rt
; do
15614 if test -z "$ac_lib"; then
15615 ac_res
="none required"
15618 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15620 if ac_fn_c_try_link
"$LINENO"; then :
15621 ac_cv_search_clock_gettime
=$ac_res
15623 rm -f core conftest.err conftest.
$ac_objext \
15625 if ${ac_cv_search_clock_gettime+:} false
; then :
15629 if ${ac_cv_search_clock_gettime+:} false
; then :
15632 ac_cv_search_clock_gettime
=no
15634 rm conftest.
$ac_ext
15635 LIBS
=$ac_func_search_save_LIBS
15637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15638 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15639 ac_res
=$ac_cv_search_clock_gettime
15640 if test "$ac_res" != no
; then :
15641 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15643 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15645 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
15653 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15655 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15657 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15659 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15660 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15661 $as_echo_n "(cached) " >&6
15663 ac_check_lib_save_LIBS
=$LIBS
15664 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15666 /* end confdefs.h. */
15668 /* Override any GCC internal prototype to avoid an error.
15669 Use char because int might match the return type of a GCC
15670 builtin and then its argument prototype would still apply. */
15674 char ldap_initialize ();
15678 return ldap_initialize ();
15683 if ac_fn_c_try_link
"$LINENO"; then :
15684 ac_cv_lib_ldap_r_ldap_initialize
=yes
15686 ac_cv_lib_ldap_r_ldap_initialize
=no
15688 rm -f core conftest.err conftest.
$ac_objext \
15689 conftest
$ac_exeext conftest.
$ac_ext
15690 LIBS
=$ac_check_lib_save_LIBS
15692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15693 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15694 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15696 $as_echo_n "checking for ber_init in -llber... " >&6; }
15697 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15698 $as_echo_n "(cached) " >&6
15700 ac_check_lib_save_LIBS
=$LIBS
15701 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15703 /* end confdefs.h. */
15705 /* Override any GCC internal prototype to avoid an error.
15706 Use char because int might match the return type of a GCC
15707 builtin and then its argument prototype would still apply. */
15715 return ber_init ();
15720 if ac_fn_c_try_link
"$LINENO"; then :
15721 ac_cv_lib_lber_ber_init
=yes
15723 ac_cv_lib_lber_ber_init
=no
15725 rm -f core conftest.err conftest.
$ac_objext \
15726 conftest
$ac_exeext conftest.
$ac_ext
15727 LIBS
=$ac_check_lib_save_LIBS
15729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15730 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15731 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15733 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15735 LDAP_LIBS
="-lldap_r -llber"
15742 ac_wine_check_funcs_save_LIBS
="$LIBS"
15743 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15745 ldap_count_references \
15746 ldap_first_reference \
15747 ldap_next_reference \
15748 ldap_parse_reference \
15749 ldap_parse_sort_control \
15750 ldap_parse_sortresponse_control \
15751 ldap_parse_vlv_control \
15752 ldap_parse_vlvresponse_control
15754 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15755 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15756 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15757 cat >>confdefs.h
<<_ACEOF
15758 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15764 LIBS
="$ac_wine_check_funcs_save_LIBS"
15766 if test "x$LDAP_LIBS" = "x"; then :
15767 case "x$with_ldap" in
15768 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15770 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15771 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15777 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15778 if ${wine_cv_one_arg_mkdir+:} false
; then :
15779 $as_echo_n "(cached) " >&6
15781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15782 /* end confdefs.h. */
15783 #include <sys/stat.h>
15792 if ac_fn_c_try_compile
"$LINENO"; then :
15793 wine_cv_one_arg_mkdir
=yes
15795 wine_cv_one_arg_mkdir
=no
15797 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15800 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15801 if test "$wine_cv_one_arg_mkdir" = "yes"
15804 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15809 $as_echo_n "checking for sched_setaffinity... " >&6; }
15810 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15811 $as_echo_n "(cached) " >&6
15813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15814 /* end confdefs.h. */
15815 #define _GNU_SOURCE
15820 sched_setaffinity(0, 0, 0);
15825 if ac_fn_c_try_link
"$LINENO"; then :
15826 wine_cv_have_sched_setaffinity
=yes
15828 wine_cv_have_sched_setaffinity
=no
15830 rm -f core conftest.err conftest.
$ac_objext \
15831 conftest
$ac_exeext conftest.
$ac_ext
15833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15834 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15835 if test "$wine_cv_have_sched_setaffinity" = "yes"
15838 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15843 $as_echo_n "checking for fallocate... " >&6; }
15844 if ${wine_cv_have_fallocate+:} false
; then :
15845 $as_echo_n "(cached) " >&6
15847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15848 /* end confdefs.h. */
15849 #define _GNU_SOURCE
15854 fallocate(-1, 0, 0, 0);
15859 if ac_fn_c_try_link
"$LINENO"; then :
15860 wine_cv_have_fallocate
=yes
15862 wine_cv_have_fallocate
=no
15864 rm -f core conftest.err conftest.
$ac_objext \
15865 conftest
$ac_exeext conftest.
$ac_ext
15867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15868 $as_echo "$wine_cv_have_fallocate" >&6; }
15869 if test "$wine_cv_have_fallocate" = "yes"
15872 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15878 $as_echo_n "checking for inline... " >&6; }
15879 if ${ac_cv_c_inline+:} false
; then :
15880 $as_echo_n "(cached) " >&6
15883 for ac_kw
in inline __inline__ __inline
; do
15884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15885 /* end confdefs.h. */
15886 #ifndef __cplusplus
15888 static $ac_kw foo_t static_foo () {return 0; }
15889 $ac_kw foo_t foo () {return 0; }
15893 if ac_fn_c_try_compile
"$LINENO"; then :
15894 ac_cv_c_inline
=$ac_kw
15896 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15897 test "$ac_cv_c_inline" != no
&& break
15901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15902 $as_echo "$ac_cv_c_inline" >&6; }
15904 case $ac_cv_c_inline in
15907 case $ac_cv_c_inline in
15909 *) ac_val
=$ac_cv_c_inline;;
15911 cat >>confdefs.h
<<_ACEOF
15912 #ifndef __cplusplus
15913 #define inline $ac_val
15919 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15920 if test "x$ac_cv_type_mode_t" = xyes
; then :
15922 cat >>confdefs.h
<<_ACEOF
15923 #define HAVE_MODE_T 1
15928 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15929 if test "x$ac_cv_type_off_t" = xyes
; then :
15931 cat >>confdefs.h
<<_ACEOF
15932 #define HAVE_OFF_T 1
15937 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15938 if test "x$ac_cv_type_pid_t" = xyes
; then :
15940 cat >>confdefs.h
<<_ACEOF
15941 #define HAVE_PID_T 1
15946 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15947 if test "x$ac_cv_type_size_t" = xyes
; then :
15949 cat >>confdefs.h
<<_ACEOF
15950 #define HAVE_SIZE_T 1
15955 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15956 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15958 cat >>confdefs.h
<<_ACEOF
15959 #define HAVE_SSIZE_T 1
15964 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15965 if test "x$ac_cv_type_long_long" = xyes
; then :
15967 cat >>confdefs.h
<<_ACEOF
15968 #define HAVE_LONG_LONG 1
15973 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15974 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15976 cat >>confdefs.h
<<_ACEOF
15977 #define HAVE_FSBLKCNT_T 1
15982 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15983 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15985 cat >>confdefs.h
<<_ACEOF
15986 #define HAVE_FSFILCNT_T 1
15992 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15993 #include <signal.h>
15995 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15997 cat >>confdefs.h
<<_ACEOF
15998 #define HAVE_SIGSET_T 1
16004 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16006 if test "x$ac_cv_type_request_sense" = xyes
; then :
16008 cat >>confdefs.h
<<_ACEOF
16009 #define HAVE_REQUEST_SENSE 1
16016 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16017 #ifdef HAVE_SYS_SOCKET_H
16018 #include <sys/socket.h>
16020 #ifdef HAVE_SYS_SOCKETVAR_H
16021 #include <sys/socketvar.h>
16023 #ifdef HAVE_NET_ROUTE_H
16024 #include <net/route.h>
16026 #ifdef HAVE_NETINET_IN_H
16027 #include <netinet/in.h>
16029 #ifdef HAVE_NETINET_IN_SYSTM_H
16030 #include <netinet/in_systm.h>
16032 #ifdef HAVE_NETINET_IP_H
16033 #include <netinet/ip.h>
16035 #ifdef HAVE_NETINET_IN_PCB_H
16036 #include <netinet/in_pcb.h>
16039 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
16041 cat >>confdefs.h
<<_ACEOF
16042 #define HAVE_STRUCT_XINPGEN 1
16049 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16052 #ifdef HAVE_SYS_LINK_H
16053 #include <sys/link.h>
16056 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
16058 cat >>confdefs.h
<<_ACEOF
16059 #define HAVE_STRUCT_R_DEBUG 1
16064 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16067 #ifdef HAVE_SYS_LINK_H
16068 #include <sys/link.h>
16071 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
16073 cat >>confdefs.h
<<_ACEOF
16074 #define HAVE_STRUCT_LINK_MAP 1
16081 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16082 #include <linux/input.h>
16085 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
16087 cat >>confdefs.h
<<_ACEOF
16088 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16096 $as_echo_n "checking for sigaddset... " >&6; }
16097 if ${wine_cv_have_sigaddset+:} false
; then :
16098 $as_echo_n "(cached) " >&6
16100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16101 /* end confdefs.h. */
16102 #include <signal.h>
16106 sigset_t set; sigaddset(&set,SIGTERM);
16111 if ac_fn_c_try_link
"$LINENO"; then :
16112 wine_cv_have_sigaddset
=yes
16114 wine_cv_have_sigaddset
=no
16116 rm -f core conftest.err conftest.
$ac_objext \
16117 conftest
$ac_exeext conftest.
$ac_ext
16119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16120 $as_echo "$wine_cv_have_sigaddset" >&6; }
16121 if test "$wine_cv_have_sigaddset" = "yes"
16124 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16130 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16131 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
16132 $as_echo_n "(cached) " >&6
16134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16135 /* end confdefs.h. */
16143 struct hostent *result;
16150 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16151 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16157 if ac_fn_c_try_link
"$LINENO"; then :
16158 wine_cv_linux_gethostbyname_r_6
=yes
16160 wine_cv_linux_gethostbyname_r_6
=no
16163 rm -f core conftest.err conftest.
$ac_objext \
16164 conftest
$ac_exeext conftest.
$ac_ext
16167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16168 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16169 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16172 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16176 if test "$ac_cv_header_linux_joystick_h" = "yes"
16178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16179 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16180 if ${wine_cv_linux_joystick_22_api+:} false
; then :
16181 $as_echo_n "(cached) " >&6
16183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16184 /* end confdefs.h. */
16186 #include <sys/ioctl.h>
16187 #include <sys/types.h>
16188 #include <linux/joystick.h>
16190 struct js_event blub;
16191 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16192 #error "no 2.2 header"
16203 if ac_fn_c_try_compile
"$LINENO"; then :
16204 wine_cv_linux_joystick_22_api
=yes
16206 wine_cv_linux_joystick_22_api
=no
16208 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16212 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16213 if test "$wine_cv_linux_joystick_22_api" = "yes"
16216 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16222 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16223 #ifdef HAVE_SYS_PARAM_H
16224 # include <sys/param.h>
16226 #ifdef HAVE_SYS_MOUNT_H
16227 # include <sys/mount.h>
16229 #ifdef HAVE_SYS_VFS_H
16230 # include <sys/vfs.h>
16232 #ifdef HAVE_SYS_STATFS_H
16233 # include <sys/statfs.h>
16236 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
16238 cat >>confdefs.h
<<_ACEOF
16239 #define HAVE_STRUCT_STATFS_F_BFREE 1
16244 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16245 #ifdef HAVE_SYS_PARAM_H
16246 # include <sys/param.h>
16248 #ifdef HAVE_SYS_MOUNT_H
16249 # include <sys/mount.h>
16251 #ifdef HAVE_SYS_VFS_H
16252 # include <sys/vfs.h>
16254 #ifdef HAVE_SYS_STATFS_H
16255 # include <sys/statfs.h>
16258 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
16260 cat >>confdefs.h
<<_ACEOF
16261 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16266 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16267 #ifdef HAVE_SYS_PARAM_H
16268 # include <sys/param.h>
16270 #ifdef HAVE_SYS_MOUNT_H
16271 # include <sys/mount.h>
16273 #ifdef HAVE_SYS_VFS_H
16274 # include <sys/vfs.h>
16276 #ifdef HAVE_SYS_STATFS_H
16277 # include <sys/statfs.h>
16280 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
16282 cat >>confdefs.h
<<_ACEOF
16283 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16288 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16289 #ifdef HAVE_SYS_PARAM_H
16290 # include <sys/param.h>
16292 #ifdef HAVE_SYS_MOUNT_H
16293 # include <sys/mount.h>
16295 #ifdef HAVE_SYS_VFS_H
16296 # include <sys/vfs.h>
16298 #ifdef HAVE_SYS_STATFS_H
16299 # include <sys/statfs.h>
16302 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
16304 cat >>confdefs.h
<<_ACEOF
16305 #define HAVE_STRUCT_STATFS_F_FFREE 1
16310 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16311 #ifdef HAVE_SYS_PARAM_H
16312 # include <sys/param.h>
16314 #ifdef HAVE_SYS_MOUNT_H
16315 # include <sys/mount.h>
16317 #ifdef HAVE_SYS_VFS_H
16318 # include <sys/vfs.h>
16320 #ifdef HAVE_SYS_STATFS_H
16321 # include <sys/statfs.h>
16324 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
16326 cat >>confdefs.h
<<_ACEOF
16327 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16332 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16333 #ifdef HAVE_SYS_PARAM_H
16334 # include <sys/param.h>
16336 #ifdef HAVE_SYS_MOUNT_H
16337 # include <sys/mount.h>
16339 #ifdef HAVE_SYS_VFS_H
16340 # include <sys/vfs.h>
16342 #ifdef HAVE_SYS_STATFS_H
16343 # include <sys/statfs.h>
16346 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
16348 cat >>confdefs.h
<<_ACEOF
16349 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16356 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16357 #include <sys/statvfs.h>
16360 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
16362 cat >>confdefs.h
<<_ACEOF
16363 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16370 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16371 #include <dirent.h>
16374 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
16376 cat >>confdefs.h
<<_ACEOF
16377 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16384 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16385 #ifdef HAVE_SYS_SOCKET_H
16386 # include <sys/socket.h>
16388 #ifdef HAVE_SYS_UN_H
16389 # include <sys/un.h>
16392 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
16394 cat >>confdefs.h
<<_ACEOF
16395 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16400 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16401 #ifdef HAVE_SYS_SOCKET_H
16402 # include <sys/socket.h>
16404 #ifdef HAVE_SYS_UN_H
16405 # include <sys/un.h>
16408 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
16410 cat >>confdefs.h
<<_ACEOF
16411 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16416 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16417 #ifdef HAVE_SYS_SOCKET_H
16418 # include <sys/socket.h>
16420 #ifdef HAVE_SYS_UN_H
16421 # include <sys/un.h>
16424 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
16426 cat >>confdefs.h
<<_ACEOF
16427 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16434 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16435 #ifdef HAVE_SCSI_SG_H
16436 #include <scsi/sg.h>
16439 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
16441 cat >>confdefs.h
<<_ACEOF
16442 #define HAVE_SCSIREQ_T_CMD 1
16447 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>
16448 #ifdef HAVE_SCSI_SG_H
16449 #include <scsi/sg.h>
16452 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
16454 cat >>confdefs.h
<<_ACEOF
16455 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16462 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16464 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
16466 cat >>confdefs.h
<<_ACEOF
16467 #define HAVE_SIGINFO_T_SI_FD 1
16474 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16475 #ifdef HAVE_SYS_MTIO_H
16476 #include <sys/mtio.h>
16479 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
16481 cat >>confdefs.h
<<_ACEOF
16482 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16487 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16488 #ifdef HAVE_SYS_MTIO_H
16489 #include <sys/mtio.h>
16492 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
16494 cat >>confdefs.h
<<_ACEOF
16495 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16500 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16501 #ifdef HAVE_SYS_MTIO_H
16502 #include <sys/mtio.h>
16505 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
16507 cat >>confdefs.h
<<_ACEOF
16508 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16515 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16516 #include <getopt.h>
16519 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
16521 cat >>confdefs.h
<<_ACEOF
16522 #define HAVE_STRUCT_OPTION_NAME 1
16529 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16530 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
16532 cat >>confdefs.h
<<_ACEOF
16533 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16538 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16539 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
16541 cat >>confdefs.h
<<_ACEOF
16542 #define HAVE_STRUCT_STAT_ST_MTIM 1
16547 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16548 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
16550 cat >>confdefs.h
<<_ACEOF
16551 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16556 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16557 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
16559 cat >>confdefs.h
<<_ACEOF
16560 #define HAVE_STRUCT_STAT_ST_CTIM 1
16565 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16566 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
16568 cat >>confdefs.h
<<_ACEOF
16569 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16574 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16575 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
16577 cat >>confdefs.h
<<_ACEOF
16578 #define HAVE_STRUCT_STAT_ST_ATIM 1
16583 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16584 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
16586 cat >>confdefs.h
<<_ACEOF
16587 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16592 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16593 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
16595 cat >>confdefs.h
<<_ACEOF
16596 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16601 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16602 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
16604 cat >>confdefs.h
<<_ACEOF
16605 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16610 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16611 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
16613 cat >>confdefs.h
<<_ACEOF
16614 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16619 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16620 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
16622 cat >>confdefs.h
<<_ACEOF
16623 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16628 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16629 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
16631 cat >>confdefs.h
<<_ACEOF
16632 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16639 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
16640 #include <sys/types.h>
16642 #ifdef HAVE_NETINET_IN_H
16643 #include <netinet/in.h>
16646 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
16648 cat >>confdefs.h
<<_ACEOF
16649 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16656 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16657 #include <resolv.h>
16660 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
16662 cat >>confdefs.h
<<_ACEOF
16663 #define HAVE_STRUCT___RES_STATE 1
16670 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
16671 #include <resolv.h>
16674 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16676 cat >>confdefs.h
<<_ACEOF
16677 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16684 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16685 #include <sys/types.h>
16687 #ifdef HAVE_NETINET_IN_H
16688 # include <netinet/in.h>
16690 #ifdef HAVE_ARPA_NAMESER_H
16691 # include <arpa/nameser.h>
16694 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16696 cat >>confdefs.h
<<_ACEOF
16697 #define HAVE_NS_MSG__MSG_PTR 1
16704 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16705 #include <sys/types.h>
16707 #ifdef HAVE_NETINET_IP_H
16708 #include <netinet/ip.h>
16710 #ifdef HAVE_NETINET_IP_ICMP_H
16711 #include <netinet/ip_icmp.h>
16713 #ifdef HAVE_NETINET_ICMP_VAR_H
16714 #include <netinet/icmp_var.h>
16717 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16719 cat >>confdefs.h
<<_ACEOF
16720 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16727 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16728 #include <sys/types.h>
16730 #ifdef HAVE_ALIAS_H
16733 #ifdef HAVE_SYS_SOCKET_H
16734 #include <sys/socket.h>
16736 #ifdef HAVE_SYS_SOCKETVAR_H
16737 #include <sys/socketvar.h>
16739 #ifdef HAVE_SYS_TIMEOUT_H
16740 #include <sys/timeout.h>
16742 #ifdef HAVE_NETINET_IN_H
16743 #include <netinet/in.h>
16745 #ifdef HAVE_NETINET_IN_SYSTM_H
16746 #include <netinet/in_systm.h>
16748 #ifdef HAVE_NETINET_IP_H
16749 #include <netinet/ip.h>
16751 #ifdef HAVE_NETINET_IP_VAR_H
16752 #include <netinet/ip_var.h>
16754 #ifdef HAVE_NETINET_IP_ICMP_H
16755 #include <netinet/ip_icmp.h>
16757 #ifdef HAVE_NETINET_ICMP_VAR_H
16758 #include <netinet/icmp_var.h>
16761 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16763 cat >>confdefs.h
<<_ACEOF
16764 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16771 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16772 #include <sys/types.h>
16774 #ifdef HAVE_SYS_SOCKETVAR_H
16775 #include <sys/socketvar.h>
16777 #ifdef HAVE_NETINET_IN_H
16778 #include <netinet/in.h>
16780 #ifdef HAVE_NETINET_IP_VAR_H
16781 #include <netinet/ip_var.h>
16784 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16786 cat >>confdefs.h
<<_ACEOF
16787 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16794 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
16795 #include <netinet/ip_var.h>
16798 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16800 cat >>confdefs.h
<<_ACEOF
16801 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16808 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16809 #include <sys/types.h>
16811 #ifdef HAVE_SYS_SOCKETVAR_H
16812 #include <sys/socketvar.h>
16814 #ifdef HAVE_NETINET_IN_H
16815 #include <netinet/in.h>
16817 #ifdef HAVE_NETINET_TCP_H
16818 #include <netinet/tcp.h>
16820 #ifdef HAVE_NETINET_TCP_VAR_H
16821 #include <netinet/tcp_var.h>
16824 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16826 cat >>confdefs.h
<<_ACEOF
16827 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16834 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
16835 #include <netinet/tcp_var.h>
16838 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16840 cat >>confdefs.h
<<_ACEOF
16841 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16848 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16849 #include <sys/types.h>
16851 #ifdef HAVE_NETINET_IN_H
16852 #include <netinet/in.h>
16854 #ifdef HAVE_NETINET_IP_VAR_H
16855 #include <netinet/ip_var.h>
16857 #ifdef HAVE_NETINET_UDP_H
16858 #include <netinet/udp.h>
16860 #ifdef HAVE_NETINET_UDP_VAR_H
16861 #include <netinet/udp_var.h>
16864 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16866 cat >>confdefs.h
<<_ACEOF
16867 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16874 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16875 #include <sys/types.h>
16877 #ifdef HAVE_NET_IF_H
16878 # include <net/if.h>
16881 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16883 cat >>confdefs.h
<<_ACEOF
16884 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16892 $as_echo_n "checking for timezone variable... " >&6; }
16893 if ${ac_cv_have_timezone+:} false
; then :
16894 $as_echo_n "(cached) " >&6
16896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16897 /* end confdefs.h. */
16907 if ac_fn_c_try_link
"$LINENO"; then :
16908 ac_cv_have_timezone
="yes"
16910 ac_cv_have_timezone
="no"
16912 rm -f core conftest.err conftest.
$ac_objext \
16913 conftest
$ac_exeext conftest.
$ac_ext
16915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16916 $as_echo "$ac_cv_have_timezone" >&6; }
16917 if test "$ac_cv_have_timezone" = "yes"
16920 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16924 $as_echo_n "checking for daylight variable... " >&6; }
16925 if ${ac_cv_have_daylight+:} false
; then :
16926 $as_echo_n "(cached) " >&6
16928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16929 /* end confdefs.h. */
16939 if ac_fn_c_try_link
"$LINENO"; then :
16940 ac_cv_have_daylight
="yes"
16942 ac_cv_have_daylight
="no"
16944 rm -f core conftest.err conftest.
$ac_objext \
16945 conftest
$ac_exeext conftest.
$ac_ext
16947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16948 $as_echo "$ac_cv_have_daylight" >&6; }
16949 if test "$ac_cv_have_daylight" = "yes"
16952 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16956 ac_save_LIBS
="$LIBS"
16958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16959 $as_echo_n "checking for isfinite... " >&6; }
16960 if ${ac_cv_have_isfinite+:} false
; then :
16961 $as_echo_n "(cached) " >&6
16963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16964 /* end confdefs.h. */
16965 #define _GNU_SOURCE
16970 float f = 0.0; return isfinite(f)
16975 if ac_fn_c_try_link
"$LINENO"; then :
16976 ac_cv_have_isfinite
="yes"
16978 ac_cv_have_isfinite
="no"
16980 rm -f core conftest.err conftest.
$ac_objext \
16981 conftest
$ac_exeext conftest.
$ac_ext
16983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16984 $as_echo "$ac_cv_have_isfinite" >&6; }
16985 if test "$ac_cv_have_isfinite" = "yes"
16988 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16993 $as_echo_n "checking for isinf... " >&6; }
16994 if ${ac_cv_have_isinf+:} false
; then :
16995 $as_echo_n "(cached) " >&6
16997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16998 /* end confdefs.h. */
17003 float f = 0.0; return isinf(f)
17008 if ac_fn_c_try_link
"$LINENO"; then :
17009 ac_cv_have_isinf
="yes"
17011 ac_cv_have_isinf
="no"
17013 rm -f core conftest.err conftest.
$ac_objext \
17014 conftest
$ac_exeext conftest.
$ac_ext
17016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17017 $as_echo "$ac_cv_have_isinf" >&6; }
17018 if test "$ac_cv_have_isinf" = "yes"
17021 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17026 $as_echo_n "checking for isnan... " >&6; }
17027 if ${ac_cv_have_isnan+:} false
; then :
17028 $as_echo_n "(cached) " >&6
17030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17031 /* end confdefs.h. */
17036 float f = 0.0; return isnan(f)
17041 if ac_fn_c_try_link
"$LINENO"; then :
17042 ac_cv_have_isnan
="yes"
17044 ac_cv_have_isnan
="no"
17046 rm -f core conftest.err conftest.
$ac_objext \
17047 conftest
$ac_exeext conftest.
$ac_ext
17049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17050 $as_echo "$ac_cv_have_isnan" >&6; }
17051 if test "$ac_cv_have_isnan" = "yes"
17054 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17090 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17091 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
17092 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
17093 cat >>confdefs.h
<<_ACEOF
17094 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17100 LIBS
="$ac_save_LIBS"
17102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17103 $as_echo_n "checking for __builtin_clz... " >&6; }
17104 if ${ac_cv_have___builtin_clz+:} false
; then :
17105 $as_echo_n "(cached) " >&6
17107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17108 /* end confdefs.h. */
17113 return __builtin_clz(1)
17118 if ac_fn_c_try_link
"$LINENO"; then :
17119 ac_cv_have___builtin_clz
="yes"
17121 ac_cv_have___builtin_clz
="no"
17123 rm -f core conftest.err conftest.
$ac_objext \
17124 conftest
$ac_exeext conftest.
$ac_ext
17126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17127 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17128 if test "$ac_cv_have___builtin_clz" = "yes"
17131 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17136 $as_echo_n "checking for __builtin_popcount... " >&6; }
17137 if ${ac_cv_have___builtin_popcount+:} false
; then :
17138 $as_echo_n "(cached) " >&6
17140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17141 /* end confdefs.h. */
17146 return __builtin_popcount(1)
17151 if ac_fn_c_try_link
"$LINENO"; then :
17152 ac_cv_have___builtin_popcount
="yes"
17154 ac_cv_have___builtin_popcount
="no"
17156 rm -f core conftest.err conftest.
$ac_objext \
17157 conftest
$ac_exeext conftest.
$ac_ext
17159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17160 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17161 if test "$ac_cv_have___builtin_popcount" = "yes"
17164 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17170 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17171 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17172 if ${ac_cv_cpp_def___i386__+:} false
; then :
17173 $as_echo_n "(cached) " >&6
17175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17176 /* end confdefs.h. */
17181 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17182 $EGREP "yes" >/dev
/null
2>&1; then :
17183 ac_cv_cpp_def___i386__
=yes
17185 ac_cv_cpp_def___i386__
=no
17190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17191 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17192 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
17193 CFLAGS
="$CFLAGS -D__i386__"
17194 LINTFLAGS
="$LINTFLAGS -D__i386__"
17196 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17197 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17198 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
17199 $as_echo_n "(cached) " >&6
17201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17202 /* end confdefs.h. */
17207 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17208 $EGREP "yes" >/dev
/null
2>&1; then :
17209 ac_cv_cpp_def___x86_64__
=yes
17211 ac_cv_cpp_def___x86_64__
=no
17216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17217 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17218 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
17219 CFLAGS
="$CFLAGS -D__x86_64__"
17220 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
17222 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17223 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17224 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
17225 $as_echo_n "(cached) " >&6
17227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17228 /* end confdefs.h. */
17229 #ifndef __sparc64__
17233 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17234 $EGREP "yes" >/dev
/null
2>&1; then :
17235 ac_cv_cpp_def___sparc64__
=yes
17237 ac_cv_cpp_def___sparc64__
=no
17242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17243 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17244 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
17245 CFLAGS
="$CFLAGS -D__sparc64__"
17246 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
17248 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17249 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17250 if ${ac_cv_cpp_def___sparc__+:} false
; then :
17251 $as_echo_n "(cached) " >&6
17253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17254 /* end confdefs.h. */
17259 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17260 $EGREP "yes" >/dev
/null
2>&1; then :
17261 ac_cv_cpp_def___sparc__
=yes
17263 ac_cv_cpp_def___sparc__
=no
17268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17269 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17270 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
17271 CFLAGS
="$CFLAGS -D__sparc__"
17272 LINTFLAGS
="$LINTFLAGS -D__sparc__"
17274 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17275 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17276 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
17277 $as_echo_n "(cached) " >&6
17279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17280 /* end confdefs.h. */
17281 #ifndef __powerpc64__
17285 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17286 $EGREP "yes" >/dev
/null
2>&1; then :
17287 ac_cv_cpp_def___powerpc64__
=yes
17289 ac_cv_cpp_def___powerpc64__
=no
17294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17295 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17296 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
17297 CFLAGS
="$CFLAGS -D__powerpc64__"
17298 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
17300 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17301 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17302 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
17303 $as_echo_n "(cached) " >&6
17305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17306 /* end confdefs.h. */
17307 #ifndef __powerpc__
17311 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17312 $EGREP "yes" >/dev
/null
2>&1; then :
17313 ac_cv_cpp_def___powerpc__
=yes
17315 ac_cv_cpp_def___powerpc__
=no
17320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17321 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17322 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
17323 CFLAGS
="$CFLAGS -D__powerpc__"
17324 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
17326 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17327 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17328 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
17329 $as_echo_n "(cached) " >&6
17331 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17332 /* end confdefs.h. */
17333 #ifndef __aarch64__
17337 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17338 $EGREP "yes" >/dev
/null
2>&1; then :
17339 ac_cv_cpp_def___aarch64__
=yes
17341 ac_cv_cpp_def___aarch64__
=no
17346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17347 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17348 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
17349 CFLAGS
="$CFLAGS -D__aarch64__"
17350 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
17352 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17353 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17354 if ${ac_cv_cpp_def___arm__+:} false
; then :
17355 $as_echo_n "(cached) " >&6
17357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17358 /* end confdefs.h. */
17363 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17364 $EGREP "yes" >/dev
/null
2>&1; then :
17365 ac_cv_cpp_def___arm__
=yes
17367 ac_cv_cpp_def___arm__
=no
17372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17373 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17374 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
17375 CFLAGS
="$CFLAGS -D__arm__"
17376 LINTFLAGS
="$LINTFLAGS -D__arm__"
17380 case $host_vendor in
17381 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17382 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17383 if ${ac_cv_cpp_def___sun__+:} false
; then :
17384 $as_echo_n "(cached) " >&6
17386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17387 /* end confdefs.h. */
17392 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17393 $EGREP "yes" >/dev
/null
2>&1; then :
17394 ac_cv_cpp_def___sun__
=yes
17396 ac_cv_cpp_def___sun__
=no
17401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17402 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17403 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
17404 CFLAGS
="$CFLAGS -D__sun__"
17405 LINTFLAGS
="$LINTFLAGS -D__sun__"
17413 ac_config_commands
="$ac_config_commands include/stamp-h"
17415 $as_echo_n "creating Makefile rules..." >&6
17417 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
17418 SOCKET_LIBS = $SOCKET_LIBS
17419 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17420 IOKIT_LIBS = $IOKIT_LIBS
17421 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17422 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17423 CORESERVICES_LIBS = $CORESERVICES_LIBS
17424 APPKIT_LIBS = $APPKIT_LIBS
17425 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17426 SECURITY_LIBS = $SECURITY_LIBS
17427 COREAUDIO_LIBS = $COREAUDIO_LIBS
17428 OPENAL_LIBS = $OPENAL_LIBS
17429 OPENCL_LIBS = $OPENCL_LIBS
17430 QUICKTIME_LIBS = $QUICKTIME_LIBS
17431 CARBON_LIBS = $CARBON_LIBS
17432 PTHREAD_LIBS = $PTHREAD_LIBS
17433 X_CFLAGS = $X_CFLAGS
17434 X_PRE_LIBS = $X_PRE_LIBS
17436 X_EXTRA_LIBS = $X_EXTRA_LIBS
17437 PCAP_LIBS = $PCAP_LIBS
17438 XML2_CFLAGS = $XML2_CFLAGS
17439 XML2_LIBS = $XML2_LIBS
17440 XSLT_CFLAGS = $XSLT_CFLAGS
17441 XSLT_LIBS = $XSLT_LIBS
17442 DBUS_CFLAGS = $DBUS_CFLAGS
17443 DBUS_LIBS = $DBUS_LIBS
17444 HAL_CFLAGS = $HAL_CFLAGS
17445 HAL_LIBS = $HAL_LIBS
17446 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17447 GNUTLS_LIBS = $GNUTLS_LIBS
17448 SANE_CFLAGS = $SANE_CFLAGS
17449 SANE_LIBS = $SANE_LIBS
17450 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17451 GPHOTO2_LIBS = $GPHOTO2_LIBS
17452 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17453 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17454 RESOLV_LIBS = $RESOLV_LIBS
17455 LCMS2_CFLAGS = $LCMS2_CFLAGS
17456 LCMS2_LIBS = $LCMS2_LIBS
17457 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17458 FREETYPE_LIBS = $FREETYPE_LIBS
17460 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17461 PULSE_CFLAGS = $PULSE_CFLAGS
17462 PULSE_LIBS = $PULSE_LIBS
17463 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17464 GSTREAMER_LIBS = $GSTREAMER_LIBS
17465 ALSA_LIBS = $ALSA_LIBS
17466 OSS4_CFLAGS = $OSS4_CFLAGS
17467 UDEV_CFLAGS = $UDEV_CFLAGS
17468 UDEV_LIBS = $UDEV_LIBS
17469 CAPI20_CFLAGS = $CAPI20_CFLAGS
17470 CAPI20_LIBS = $CAPI20_LIBS
17471 CUPS_CFLAGS = $CUPS_CFLAGS
17472 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17473 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17474 JPEG_CFLAGS = $JPEG_CFLAGS
17475 JPEG_LIBS = $JPEG_LIBS
17476 PNG_CFLAGS = $PNG_CFLAGS
17477 PNG_LIBS = $PNG_LIBS
17478 TIFF_CFLAGS = $TIFF_CFLAGS
17479 TIFF_LIBS = $TIFF_LIBS
17480 MPG123_CFLAGS = $MPG123_CFLAGS
17481 MPG123_LIBS = $MPG123_LIBS
17482 KSTAT_LIBS = $KSTAT_LIBS
17483 PROCSTAT_LIBS = $PROCSTAT_LIBS
17484 NETAPI_CFLAGS = $NETAPI_CFLAGS
17485 NETAPI_LIBS = $NETAPI_LIBS
17486 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17488 POLL_LIBS = $POLL_LIBS
17490 LDAP_LIBS = $LDAP_LIBS
17495 wine_fn_append_rule
"
17496 # Rules automatically generated by configure
17498 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17503 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17504 @./config.status Make.tmp Makefile
17505 depend: \$(MAKEDEP) dummy
17508 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
17509 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17511 if test "x$enable_fonts" != xno
; then
17512 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17513 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17514 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17515 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17516 ac_config_links
="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17517 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf fonts
/wingding.ttf
17519 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17520 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
17521 ac_config_links
="$ac_config_links wine:tools/winewrapper"
17522 wine_fn_config_symlink wine
17523 if test "x$enable_win64" != xno
; then
17524 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
17525 wine_fn_config_symlink wine64
17528 wine_fn_config_dll acledit enable_acledit
17529 wine_fn_config_dll aclui enable_aclui implib
17530 wine_fn_config_dll activeds enable_activeds implib
17531 wine_fn_config_dll actxprxy enable_actxprxy clean
17532 wine_fn_config_lib adsiid
17533 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
17534 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
17535 wine_fn_config_dll advpack enable_advpack implib
17536 wine_fn_config_test dlls
/advpack
/tests advpack_test
17537 wine_fn_config_dll amstream enable_amstream clean
17538 wine_fn_config_test dlls
/amstream
/tests amstream_test
17539 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17540 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17541 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17542 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17543 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17544 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17545 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17546 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17547 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17548 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17549 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17550 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17551 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17552 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17553 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17554 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17555 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17556 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17557 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17558 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17559 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17560 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17561 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17562 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17563 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17564 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17565 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17566 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17567 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17568 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17569 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17570 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17571 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17572 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17573 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17574 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17575 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17576 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17577 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17578 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17579 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17580 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17581 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17582 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17583 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17584 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17585 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17586 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17587 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17588 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17589 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17590 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17591 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17592 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17593 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17594 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17595 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17596 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17597 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17598 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17599 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17600 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17601 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17602 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17603 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17604 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17605 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17606 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17607 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17608 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17609 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17610 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17611 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17612 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17613 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17614 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17615 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17616 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17617 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17618 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17619 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17620 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17621 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17622 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17623 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17624 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17625 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17626 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17627 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17628 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17629 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17630 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17631 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17632 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17633 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17634 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17635 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17636 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17637 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17638 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17639 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17640 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17641 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17642 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17643 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17644 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17645 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17646 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17647 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17648 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17649 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17650 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17651 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17652 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17653 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17654 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17655 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17656 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17657 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17658 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17659 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17660 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17661 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17662 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17663 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17664 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17665 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17666 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17667 wine_fn_config_dll apphelp enable_apphelp
17668 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
17669 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17670 wine_fn_config_dll atl enable_atl clean
,implib
17671 wine_fn_config_test dlls
/atl
/tests atl_test
17672 wine_fn_config_dll atl100 enable_atl100 clean
,implib
17673 wine_fn_config_test dlls
/atl100
/tests atl100_test
17674 wine_fn_config_dll atl110 enable_atl110 clean
17675 wine_fn_config_dll atl80 enable_atl80 clean
,implib
17676 wine_fn_config_test dlls
/atl80
/tests atl80_test
17677 wine_fn_config_dll atl90 enable_atl90 clean
17678 wine_fn_config_dll authz enable_authz
17679 wine_fn_config_dll avicap32 enable_avicap32 implib
17680 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
17681 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
17682 wine_fn_config_dll avifile.dll16 enable_win16
17683 wine_fn_config_dll avrt enable_avrt implib
17684 wine_fn_config_dll bcrypt enable_bcrypt implib
17685 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
17686 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17687 wine_fn_config_dll browseui enable_browseui clean
17688 wine_fn_config_test dlls
/browseui
/tests browseui_test
17689 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17690 wine_fn_config_dll cabinet enable_cabinet implib
17691 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
17692 wine_fn_config_dll capi2032 enable_capi2032 implib
17693 wine_fn_config_dll cards enable_cards implib
17694 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17695 wine_fn_config_dll clusapi enable_clusapi implib
17696 wine_fn_config_dll combase enable_combase
17697 wine_fn_config_test dlls
/combase
/tests combase_test
17698 wine_fn_config_dll comcat enable_comcat
17699 wine_fn_config_test dlls
/comcat
/tests comcat_test
17700 wine_fn_config_dll comctl32 enable_comctl32 clean
,implib
17701 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
17702 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
17703 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
17704 wine_fn_config_dll
comm.drv16 enable_win16
17705 wine_fn_config_dll commdlg.dll16 enable_win16
17706 wine_fn_config_dll compobj.dll16 enable_win16
17707 wine_fn_config_dll compstui enable_compstui implib
17708 wine_fn_config_dll comsvcs enable_comsvcs implib
17709 wine_fn_config_dll concrt140 enable_concrt140
17710 wine_fn_config_dll connect enable_connect
17711 wine_fn_config_dll credui enable_credui clean
,implib
17712 wine_fn_config_test dlls
/credui
/tests credui_test
17713 wine_fn_config_dll crtdll enable_crtdll
17714 wine_fn_config_dll crypt32 enable_crypt32 clean
,implib
17715 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
17716 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17717 wine_fn_config_dll cryptdll enable_cryptdll implib
17718 wine_fn_config_dll cryptext enable_cryptext
17719 wine_fn_config_dll cryptnet enable_cryptnet implib
17720 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
17721 wine_fn_config_dll cryptui enable_cryptui clean
,implib
17722 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
17723 wine_fn_config_dll ctapi32 enable_ctapi32
17724 wine_fn_config_dll ctl3d.dll16 enable_win16
17725 wine_fn_config_dll ctl3d32 enable_ctl3d32
17726 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17727 wine_fn_config_dll d2d1 enable_d2d1 implib
17728 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
17729 wine_fn_config_dll d3d10 enable_d3d10 implib
17730 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
17731 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17732 wine_fn_config_test dlls
/d3d10_
1/tests d3d10_1_test
17733 wine_fn_config_dll d3d10core enable_d3d10core implib
17734 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
17735 wine_fn_config_dll d3d11 enable_d3d11 implib
17736 wine_fn_config_test dlls
/d3d11
/tests d3d11_test
17737 wine_fn_config_dll d3d8 enable_d3d8 implib
17738 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
17739 wine_fn_config_dll d3d9 enable_d3d9 implib
17740 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
17741 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17742 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17743 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17744 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17745 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17746 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17747 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17748 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17749 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17750 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17751 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17752 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
17753 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17754 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17755 wine_fn_config_dll d3dim enable_d3dim
17756 wine_fn_config_dll d3drm enable_d3drm implib
17757 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
17758 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17759 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17760 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17761 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17762 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17763 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17764 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17765 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17766 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17767 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17768 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17769 wine_fn_config_test dlls
/d3dx10_43
/tests d3dx10_43_test
17770 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17771 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17772 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17773 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17774 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17775 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17776 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17777 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17778 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17779 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17780 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17781 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17782 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17783 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17784 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17785 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
17786 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17787 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17788 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17789 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17790 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17791 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17792 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17793 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
17794 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
17795 wine_fn_config_dll davclnt enable_davclnt
17796 wine_fn_config_dll dbgeng enable_dbgeng implib
17797 wine_fn_config_dll dbghelp enable_dbghelp implib
17798 wine_fn_config_dll dciman32 enable_dciman32 implib
17799 wine_fn_config_dll ddeml.dll16 enable_win16
17800 wine_fn_config_dll ddraw enable_ddraw clean
,implib
17801 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
17802 wine_fn_config_dll ddrawex enable_ddrawex clean
17803 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
17804 wine_fn_config_dll devenum enable_devenum clean
17805 wine_fn_config_test dlls
/devenum
/tests devenum_test
17806 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17807 wine_fn_config_dll difxapi enable_difxapi
17808 wine_fn_config_dll dinput enable_dinput clean
,implib
,staticimplib
17809 wine_fn_config_test dlls
/dinput
/tests dinput_test
17810 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
17811 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
17812 wine_fn_config_dll dispdib.dll16 enable_win16
17813 wine_fn_config_dll dispex enable_dispex clean
17814 wine_fn_config_test dlls
/dispex
/tests dispex_test
17815 wine_fn_config_dll display.drv16 enable_win16
17816 wine_fn_config_dll dmband enable_dmband clean
17817 wine_fn_config_test dlls
/dmband
/tests dmband_test
17818 wine_fn_config_dll dmcompos enable_dmcompos clean
17819 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
17820 wine_fn_config_dll dmime enable_dmime clean
17821 wine_fn_config_test dlls
/dmime
/tests dmime_test
17822 wine_fn_config_dll dmloader enable_dmloader clean
17823 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
17824 wine_fn_config_dll dmscript enable_dmscript clean
17825 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
17826 wine_fn_config_dll dmstyle enable_dmstyle clean
17827 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
17828 wine_fn_config_dll dmsynth enable_dmsynth clean
17829 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
17830 wine_fn_config_dll dmusic enable_dmusic clean
17831 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
17832 wine_fn_config_dll dmusic32 enable_dmusic32
17833 wine_fn_config_dll dnsapi enable_dnsapi implib
17834 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
17835 wine_fn_config_dll dplay enable_dplay
17836 wine_fn_config_dll dplayx enable_dplayx clean
,implib
17837 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
17838 wine_fn_config_dll dpnaddr enable_dpnaddr
17839 wine_fn_config_dll dpnet enable_dpnet clean
,implib
17840 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
17841 wine_fn_config_dll dpnhpast enable_dpnhpast
17842 wine_fn_config_dll dpnlobby enable_dpnlobby
17843 wine_fn_config_dll dpvoice enable_dpvoice clean
17844 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
17845 wine_fn_config_dll dpwsockx enable_dpwsockx
17846 wine_fn_config_dll drmclien enable_drmclien
17847 wine_fn_config_dll dsound enable_dsound clean
,implib
17848 wine_fn_config_test dlls
/dsound
/tests dsound_test
17849 wine_fn_config_dll dssenh enable_dssenh
17850 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
17851 wine_fn_config_dll dswave enable_dswave clean
17852 wine_fn_config_test dlls
/dswave
/tests dswave_test
17853 wine_fn_config_dll dwmapi enable_dwmapi implib
17854 wine_fn_config_dll dwrite enable_dwrite implib
17855 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
17856 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17857 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
17858 wine_fn_config_lib dxerr8
17859 wine_fn_config_lib dxerr9
17860 wine_fn_config_dll dxgi enable_dxgi implib
17861 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
17862 wine_fn_config_lib dxguid
17863 wine_fn_config_dll dxva2 enable_dxva2
17864 wine_fn_config_dll esent enable_esent
17865 wine_fn_config_dll evr enable_evr
17866 wine_fn_config_dll explorerframe enable_explorerframe clean
17867 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17868 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17869 wine_fn_config_dll faultrep enable_faultrep implib
17870 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17871 wine_fn_config_dll fltlib enable_fltlib
17872 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17873 wine_fn_config_dll fntcache enable_fntcache
17874 wine_fn_config_dll fontsub enable_fontsub
17875 wine_fn_config_dll fusion enable_fusion
17876 wine_fn_config_test dlls
/fusion
/tests fusion_test
17877 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17878 wine_fn_config_dll gameux enable_gameux clean
17879 wine_fn_config_test dlls
/gameux
/tests gameux_test
17880 wine_fn_config_dll gdi.exe16 enable_win16
17881 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
17882 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
17883 wine_fn_config_dll gdiplus enable_gdiplus implib
17884 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
17885 wine_fn_config_dll glu32 enable_glu32 implib
17886 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17887 wine_fn_config_dll gpkcsp enable_gpkcsp
17888 wine_fn_config_dll hal enable_hal
17889 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib htmlhelp
17890 wine_fn_config_dll hid enable_hid implib
17891 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17892 wine_fn_config_dll hlink enable_hlink clean
,implib
17893 wine_fn_config_test dlls
/hlink
/tests hlink_test
17894 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17895 wine_fn_config_test dlls
/hnetcfg
/tests hnetcfg_test
17896 wine_fn_config_dll httpapi enable_httpapi
17897 wine_fn_config_dll iccvid enable_iccvid clean
17898 wine_fn_config_dll icmp enable_icmp
17899 wine_fn_config_dll ieframe enable_ieframe clean
,implib
17900 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17901 wine_fn_config_dll ifsmgr.vxd enable_win16
17902 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17903 wine_fn_config_dll imagehlp enable_imagehlp implib
17904 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17905 wine_fn_config_dll imm.dll16 enable_win16
17906 wine_fn_config_dll imm32 enable_imm32 implib
17907 wine_fn_config_test dlls
/imm32
/tests imm32_test
17908 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17909 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17910 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17911 wine_fn_config_dll inetmib1 enable_inetmib1
17912 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17913 wine_fn_config_dll infosoft enable_infosoft clean
17914 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17915 wine_fn_config_dll initpki enable_initpki
17916 wine_fn_config_dll inkobj enable_inkobj
17917 wine_fn_config_dll inseng enable_inseng clean
17918 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17919 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17920 wine_fn_config_dll irprops.cpl enable_irprops_cpl
17921 wine_fn_config_dll itircl enable_itircl
17922 wine_fn_config_dll itss enable_itss clean
17923 wine_fn_config_test dlls
/itss
/tests itss_test
17924 wine_fn_config_dll joy.cpl enable_joy_cpl clean
17925 wine_fn_config_dll jscript enable_jscript clean
17926 wine_fn_config_test dlls
/jscript
/tests jscript_test
17927 wine_fn_config_dll jsproxy enable_jsproxy implib
17928 wine_fn_config_test dlls
/jsproxy
/tests jsproxy_test
17929 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
17930 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17931 wine_fn_config_dll kernelbase enable_kernelbase
17932 wine_fn_config_dll keyboard.drv16 enable_win16
17933 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17934 wine_fn_config_dll ksuser enable_ksuser
17935 wine_fn_config_dll ktmw32 enable_ktmw32
17936 wine_fn_config_dll loadperf enable_loadperf implib
17937 wine_fn_config_dll localspl enable_localspl clean
17938 wine_fn_config_test dlls
/localspl
/tests localspl_test
17939 wine_fn_config_dll localui enable_localui clean
17940 wine_fn_config_test dlls
/localui
/tests localui_test
17941 wine_fn_config_dll lz32 enable_lz32 implib
17942 wine_fn_config_test dlls
/lz32
/tests lz32_test
17943 wine_fn_config_dll lzexpand.dll16 enable_win16
17944 wine_fn_config_dll mapi32 enable_mapi32 clean
,implib
17945 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17946 wine_fn_config_dll mapistub enable_mapistub
17947 wine_fn_config_dll mciavi32 enable_mciavi32
17948 wine_fn_config_dll mcicda enable_mcicda
17949 wine_fn_config_dll mciqtz32 enable_mciqtz32
17950 wine_fn_config_dll mciseq enable_mciseq
17951 wine_fn_config_dll mciwave enable_mciwave
17952 wine_fn_config_dll mf enable_mf
17953 wine_fn_config_dll mfplat enable_mfplat
17954 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17955 wine_fn_config_dll mgmtapi enable_mgmtapi
17956 wine_fn_config_dll midimap enable_midimap
17957 wine_fn_config_dll mlang enable_mlang clean
,implib
17958 wine_fn_config_test dlls
/mlang
/tests mlang_test
17959 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17960 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
17961 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17962 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
17963 wine_fn_config_dll mmdevldr.vxd enable_win16
17964 wine_fn_config_dll mmsystem.dll16 enable_win16
17965 wine_fn_config_dll monodebg.vxd enable_win16
17966 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17967 wine_fn_config_dll mouse.drv16 enable_win16
17968 wine_fn_config_dll mpr enable_mpr clean
,implib
17969 wine_fn_config_test dlls
/mpr
/tests mpr_test
17970 wine_fn_config_dll mprapi enable_mprapi implib
17971 wine_fn_config_dll msacm.dll16 enable_win16
17972 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17973 wine_fn_config_dll msacm32 enable_msacm32 clean
,implib
17974 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
17975 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17976 wine_fn_config_dll msasn1 enable_msasn1 implib
17977 wine_fn_config_dll mscat32 enable_mscat32
17978 wine_fn_config_dll mscms enable_mscms implib
17979 wine_fn_config_test dlls
/mscms
/tests mscms_test
17980 wine_fn_config_dll mscoree enable_mscoree clean
17981 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
17982 wine_fn_config_dll msctf enable_msctf clean
17983 wine_fn_config_test dlls
/msctf
/tests msctf_test
17984 wine_fn_config_dll msctfp enable_msctfp clean
17985 wine_fn_config_dll msdaps enable_msdaps clean
17986 wine_fn_config_dll msdelta enable_msdelta
17987 wine_fn_config_dll msdmo enable_msdmo implib
17988 wine_fn_config_test dlls
/msdmo
/tests msdmo_test
17989 wine_fn_config_dll msdrm enable_msdrm
17990 wine_fn_config_dll msftedit enable_msftedit
17991 wine_fn_config_dll msg711.acm enable_msg711_acm
17992 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17993 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17994 wine_fn_config_dll mshtml enable_mshtml clean
,implib
17995 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
17996 wine_fn_config_dll msi enable_msi clean
,implib
17997 wine_fn_config_test dlls
/msi
/tests msi_test
17998 wine_fn_config_dll msident enable_msident clean
17999 wine_fn_config_dll msimg32 enable_msimg32 implib
18000 wine_fn_config_dll msimsg enable_msimsg
18001 wine_fn_config_dll msimtf enable_msimtf clean
18002 wine_fn_config_dll msisip enable_msisip
18003 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18004 wine_fn_config_dll msls31 enable_msls31
18005 wine_fn_config_dll msnet32 enable_msnet32
18006 wine_fn_config_dll mspatcha enable_mspatcha implib
18007 wine_fn_config_dll msports enable_msports
18008 wine_fn_config_dll msrle32 enable_msrle32 clean
18009 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
18010 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18011 wine_fn_config_test dlls
/msscript.ocx
/tests msscript.ocx_test clean
18012 wine_fn_config_dll mssign32 enable_mssign32
18013 wine_fn_config_dll mssip32 enable_mssip32
18014 wine_fn_config_dll mstask enable_mstask clean
18015 wine_fn_config_test dlls
/mstask
/tests mstask_test
18016 wine_fn_config_dll msvcirt enable_msvcirt
18017 wine_fn_config_test dlls
/msvcirt
/tests msvcirt_test
18018 wine_fn_config_dll msvcm80 enable_msvcm80
18019 wine_fn_config_dll msvcm90 enable_msvcm90
18020 wine_fn_config_dll msvcp100 enable_msvcp100
18021 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
18022 wine_fn_config_dll msvcp110 enable_msvcp110
18023 wine_fn_config_test dlls
/msvcp110
/tests msvcp110_test
18024 wine_fn_config_dll msvcp120 enable_msvcp120
18025 wine_fn_config_test dlls
/msvcp120
/tests msvcp120_test
18026 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18027 wine_fn_config_dll msvcp140 enable_msvcp140
18028 wine_fn_config_test dlls
/msvcp140
/tests msvcp140_test
18029 wine_fn_config_dll msvcp60 enable_msvcp60
18030 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
18031 wine_fn_config_dll msvcp70 enable_msvcp70
18032 wine_fn_config_dll msvcp71 enable_msvcp71
18033 wine_fn_config_dll msvcp80 enable_msvcp80
18034 wine_fn_config_dll msvcp90 enable_msvcp90
18035 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
18036 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18037 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
18038 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18039 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18040 wine_fn_config_test dlls
/msvcr120
/tests msvcr120_test
18041 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18042 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18043 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18044 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18045 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18046 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
18047 wine_fn_config_dll msvcrt enable_msvcrt implib
18048 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
18049 wine_fn_config_dll msvcrt20 enable_msvcrt20
18050 wine_fn_config_dll msvcrt40 enable_msvcrt40
18051 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18052 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
18053 wine_fn_config_dll msvfw32 enable_msvfw32 clean
,implib
18054 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
18055 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18056 wine_fn_config_dll msvideo.dll16 enable_win16
18057 wine_fn_config_dll mswsock enable_mswsock implib
18058 wine_fn_config_dll msxml enable_msxml clean
18059 wine_fn_config_dll msxml2 enable_msxml2 clean
18060 wine_fn_config_dll msxml3 enable_msxml3 clean
18061 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
18062 wine_fn_config_dll msxml4 enable_msxml4 clean
18063 wine_fn_config_dll msxml6 enable_msxml6 clean
18064 wine_fn_config_dll ncrypt enable_ncrypt
18065 wine_fn_config_dll nddeapi enable_nddeapi implib
18066 wine_fn_config_dll ndis.sys enable_ndis_sys
18067 wine_fn_config_dll netapi32 enable_netapi32 implib
18068 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
18069 wine_fn_config_dll netcfgx enable_netcfgx clean
18070 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
18071 wine_fn_config_dll netprofm enable_netprofm clean
18072 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
18073 wine_fn_config_dll newdev enable_newdev implib
18074 wine_fn_config_dll normaliz enable_normaliz implib
18075 wine_fn_config_dll npmshtml enable_npmshtml
18076 wine_fn_config_dll npptools enable_npptools
18077 wine_fn_config_dll ntdll enable_ntdll implib
18078 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
18079 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18080 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
18081 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18082 wine_fn_config_dll ntprint enable_ntprint
18083 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
18084 wine_fn_config_dll objsel enable_objsel clean
18085 wine_fn_config_dll odbc32 enable_odbc32 implib
18086 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18087 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
18088 wine_fn_config_dll odbccu32 enable_odbccu32
18089 wine_fn_config_dll ole2.dll16 enable_win16
18090 wine_fn_config_dll ole2conv.dll16 enable_win16
18091 wine_fn_config_dll ole2disp.dll16 enable_win16
18092 wine_fn_config_dll ole2nls.dll16 enable_win16
18093 wine_fn_config_dll ole2prox.dll16 enable_win16
18094 wine_fn_config_dll ole2thk.dll16 enable_win16
18095 wine_fn_config_dll ole32 enable_ole32 clean
,implib
18096 wine_fn_config_test dlls
/ole32
/tests ole32_test
18097 wine_fn_config_dll oleacc enable_oleacc clean
,implib
18098 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
18099 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
18100 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
18101 wine_fn_config_dll olecli.dll16 enable_win16
18102 wine_fn_config_dll olecli32 enable_olecli32 implib
18103 wine_fn_config_dll oledb32 enable_oledb32 clean
18104 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
18105 wine_fn_config_dll oledlg enable_oledlg clean
,implib
18106 wine_fn_config_test dlls
/oledlg
/tests oledlg_test
18107 wine_fn_config_dll olepro32 enable_olepro32 clean
,implib
18108 wine_fn_config_dll olesvr.dll16 enable_win16
18109 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18110 wine_fn_config_dll olethk32 enable_olethk32
18111 wine_fn_config_dll openal32 enable_openal32
18112 wine_fn_config_dll opencl enable_opencl
18113 wine_fn_config_dll opengl32 enable_opengl32 implib
18114 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
18115 wine_fn_config_dll packager enable_packager clean
18116 wine_fn_config_test dlls
/packager
/tests packager_test
18117 wine_fn_config_dll pdh enable_pdh implib
18118 wine_fn_config_test dlls
/pdh
/tests pdh_test
18119 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18120 wine_fn_config_dll pidgen enable_pidgen
18121 wine_fn_config_dll powrprof enable_powrprof implib
18122 wine_fn_config_dll printui enable_printui
18123 wine_fn_config_dll prntvpt enable_prntvpt
18124 wine_fn_config_dll propsys enable_propsys clean
,implib
18125 wine_fn_config_test dlls
/propsys
/tests propsys_test
18126 wine_fn_config_dll psapi enable_psapi implib
18127 wine_fn_config_test dlls
/psapi
/tests psapi_test
18128 wine_fn_config_dll pstorec enable_pstorec clean
18129 wine_fn_config_dll qcap enable_qcap
18130 wine_fn_config_test dlls
/qcap
/tests qcap_test
18131 wine_fn_config_dll qedit enable_qedit clean
18132 wine_fn_config_test dlls
/qedit
/tests qedit_test
18133 wine_fn_config_dll qmgr enable_qmgr clean
18134 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
18135 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18136 wine_fn_config_dll quartz enable_quartz clean
,implib
18137 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
18138 wine_fn_config_dll query enable_query
18139 wine_fn_config_dll rasapi16.dll16 enable_win16
18140 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18141 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
18142 wine_fn_config_dll rasdlg enable_rasdlg implib
18143 wine_fn_config_dll regapi enable_regapi
18144 wine_fn_config_dll resutils enable_resutils implib
18145 wine_fn_config_dll riched20 enable_riched20 clean
,implib
18146 wine_fn_config_test dlls
/riched20
/tests riched20_test
18147 wine_fn_config_dll riched32 enable_riched32
18148 wine_fn_config_test dlls
/riched32
/tests riched32_test
18149 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
18150 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
18151 wine_fn_config_dll rsabase enable_rsabase
18152 wine_fn_config_dll rsaenh enable_rsaenh implib
18153 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
18154 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18155 wine_fn_config_dll rtutils enable_rtutils implib
18156 wine_fn_config_dll samlib enable_samlib
18157 wine_fn_config_dll sane.ds enable_sane_ds clean
18158 wine_fn_config_dll scarddlg enable_scarddlg
18159 wine_fn_config_dll sccbase enable_sccbase
18160 wine_fn_config_dll schannel enable_schannel
18161 wine_fn_config_test dlls
/schannel
/tests schannel_test
18162 wine_fn_config_dll schedsvc enable_schedsvc clean
18163 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
18164 wine_fn_config_dll scrrun enable_scrrun clean
18165 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
18166 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18167 wine_fn_config_dll secur32 enable_secur32 implib
18168 wine_fn_config_test dlls
/secur32
/tests secur32_test
18169 wine_fn_config_dll security enable_security
18170 wine_fn_config_dll sensapi enable_sensapi implib
18171 wine_fn_config_dll serialui enable_serialui clean
18172 wine_fn_config_test dlls
/serialui
/tests serialui_test
18173 wine_fn_config_dll setupapi enable_setupapi clean
,implib
18174 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
18175 wine_fn_config_dll setupx.dll16 enable_win16
18176 wine_fn_config_dll sfc enable_sfc implib
18177 wine_fn_config_dll sfc_os enable_sfc_os implib
18178 wine_fn_config_dll shdoclc enable_shdoclc clean
18179 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
18180 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
18181 wine_fn_config_dll shell.dll16 enable_win16
18182 wine_fn_config_dll shell32 enable_shell32 clean
,implib
18183 wine_fn_config_test dlls
/shell32
/tests shell32_test
18184 wine_fn_config_dll shfolder enable_shfolder implib
18185 wine_fn_config_dll shlwapi enable_shlwapi clean
,implib
18186 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
18187 wine_fn_config_dll slbcsp enable_slbcsp
18188 wine_fn_config_dll slc enable_slc implib
18189 wine_fn_config_test dlls
/slc
/tests slc_test
18190 wine_fn_config_dll snmpapi enable_snmpapi implib
18191 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
18192 wine_fn_config_dll softpub enable_softpub
18193 wine_fn_config_dll sound.drv16 enable_win16
18194 wine_fn_config_dll spoolss enable_spoolss implib
18195 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
18196 wine_fn_config_dll sspicli enable_sspicli
18197 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18198 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18199 wine_fn_config_dll sti enable_sti clean
,implib
18200 wine_fn_config_test dlls
/sti
/tests sti_test
18201 wine_fn_config_dll storage.dll16 enable_win16
18202 wine_fn_config_dll stress.dll16 enable_win16
18203 wine_fn_config_lib strmbase
18204 wine_fn_config_lib strmiids
18205 wine_fn_config_dll svrapi enable_svrapi
18206 wine_fn_config_dll sxs enable_sxs implib
18207 wine_fn_config_test dlls
/sxs
/tests sxs_test
18208 wine_fn_config_dll system.drv16 enable_win16
18209 wine_fn_config_dll t2embed enable_t2embed implib
18210 wine_fn_config_test dlls
/t2embed
/tests t2embed_test
18211 wine_fn_config_dll tapi32 enable_tapi32 implib
18212 wine_fn_config_dll taskschd enable_taskschd clean
18213 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
18214 wine_fn_config_dll tdi.sys enable_tdi_sys
18215 wine_fn_config_dll toolhelp.dll16 enable_win16
18216 wine_fn_config_dll traffic enable_traffic
18217 wine_fn_config_dll twain.dll16 enable_win16
18218 wine_fn_config_dll twain_32 enable_twain_32
18219 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
18220 wine_fn_config_dll typelib.dll16 enable_win16
18221 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18222 wine_fn_config_test dlls
/ucrtbase
/tests ucrtbase_test
18223 wine_fn_config_dll unicows enable_unicows implib
18224 wine_fn_config_dll updspapi enable_updspapi
18225 wine_fn_config_dll url enable_url implib
18226 wine_fn_config_dll urlmon enable_urlmon clean
,implib
18227 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
18228 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18229 wine_fn_config_dll user.exe16 enable_win16
18230 wine_fn_config_dll user32 enable_user32 clean
,implib
18231 wine_fn_config_test dlls
/user32
/tests user32_test
18232 wine_fn_config_dll userenv enable_userenv implib
18233 wine_fn_config_test dlls
/userenv
/tests userenv_test
18234 wine_fn_config_dll usp10 enable_usp10 implib
18235 wine_fn_config_test dlls
/usp10
/tests usp10_test
18236 wine_fn_config_lib uuid
18237 wine_fn_config_dll uxtheme enable_uxtheme implib
18238 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
18239 wine_fn_config_dll vbscript enable_vbscript clean
18240 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
18241 wine_fn_config_dll vcomp enable_vcomp
18242 wine_fn_config_test dlls
/vcomp
/tests vcomp_test
18243 wine_fn_config_dll vcomp100 enable_vcomp100
18244 wine_fn_config_dll vcomp110 enable_vcomp110
18245 wine_fn_config_dll vcomp120 enable_vcomp120
18246 wine_fn_config_dll vcomp140 enable_vcomp140
18247 wine_fn_config_dll vcomp90 enable_vcomp90
18248 wine_fn_config_dll vcruntime140 enable_vcruntime140
18249 wine_fn_config_dll vdhcp.vxd enable_win16
18250 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18251 wine_fn_config_dll ver.dll16 enable_win16
18252 wine_fn_config_dll version enable_version implib
18253 wine_fn_config_test dlls
/version
/tests version_test
18254 wine_fn_config_dll vmm.vxd enable_win16
18255 wine_fn_config_dll vnbt.vxd enable_win16
18256 wine_fn_config_dll vnetbios.vxd enable_win16
18257 wine_fn_config_dll vssapi enable_vssapi
18258 wine_fn_config_dll vtdapi.vxd enable_win16
18259 wine_fn_config_dll vwin32.vxd enable_win16
18260 wine_fn_config_dll w32skrnl enable_win16
18261 wine_fn_config_dll w32sys.dll16 enable_win16
18262 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18263 wine_fn_config_test dlls
/wbemdisp
/tests wbemdisp_test
18264 wine_fn_config_dll wbemprox enable_wbemprox clean
18265 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
18266 wine_fn_config_dll webservices enable_webservices implib
18267 wine_fn_config_test dlls
/webservices
/tests webservices_test
18268 wine_fn_config_dll wer enable_wer implib
18269 wine_fn_config_test dlls
/wer
/tests wer_test
18270 wine_fn_config_dll wevtapi enable_wevtapi
18271 wine_fn_config_dll wiaservc enable_wiaservc clean
18272 wine_fn_config_test dlls
/wiaservc
/tests wiaservc_test
18273 wine_fn_config_dll wimgapi enable_wimgapi
18274 wine_fn_config_dll win32s16.dll16 enable_win16
18275 wine_fn_config_dll win87em.dll16 enable_win16
18276 wine_fn_config_dll winaspi.dll16 enable_win16
18277 wine_fn_config_dll windebug.dll16 enable_win16
18278 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
18279 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
18280 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18281 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
18282 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18283 wine_fn_config_dll winebus.sys enable_winebus_sys
18284 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18285 wine_fn_config_lib winecrt0
18286 wine_fn_config_dll wined3d enable_wined3d implib
18287 wine_fn_config_dll winegstreamer enable_winegstreamer
18288 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18289 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18290 wine_fn_config_dll winemapi enable_winemapi
18291 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18292 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18293 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18294 wine_fn_config_dll wineps16.drv16 enable_win16
18295 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18296 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18297 wine_fn_config_dll winex11.drv enable_winex11_drv
18298 wine_fn_config_dll wing.dll16 enable_win16
18299 wine_fn_config_dll wing32 enable_wing32
18300 wine_fn_config_dll winhttp enable_winhttp clean
,implib
18301 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
18302 wine_fn_config_dll wininet enable_wininet clean
,implib
18303 wine_fn_config_test dlls
/wininet
/tests wininet_test
18304 wine_fn_config_dll winmm enable_winmm clean
,implib
18305 wine_fn_config_test dlls
/winmm
/tests winmm_test
18306 wine_fn_config_dll winnls.dll16 enable_win16
18307 wine_fn_config_dll winnls32 enable_winnls32 implib
18308 wine_fn_config_dll winscard enable_winscard implib
18309 wine_fn_config_dll winsock.dll16 enable_win16
18310 wine_fn_config_dll winspool.drv enable_winspool_drv clean
,implib winspool
18311 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
18312 wine_fn_config_dll winsta enable_winsta
18313 wine_fn_config_dll wintab.dll16 enable_win16
18314 wine_fn_config_dll wintab32 enable_wintab32 implib
18315 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
18316 wine_fn_config_dll wintrust enable_wintrust implib
18317 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
18318 wine_fn_config_dll wlanapi enable_wlanapi
18319 wine_fn_config_dll wldap32 enable_wldap32 clean
,implib
18320 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
18321 wine_fn_config_dll wmasf enable_wmasf
18322 wine_fn_config_dll wmi enable_wmi
18323 wine_fn_config_dll wmiutils enable_wmiutils clean
18324 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
18325 wine_fn_config_dll wmp enable_wmp clean
18326 wine_fn_config_test dlls
/wmp
/tests wmp_test
18327 wine_fn_config_dll wmvcore enable_wmvcore
18328 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18329 wine_fn_config_dll wow32 enable_win16 implib
18330 wine_fn_config_dll wpc enable_wpc clean
18331 wine_fn_config_test dlls
/wpc
/tests wpc_test
18332 wine_fn_config_dll wpcap enable_wpcap
18333 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18334 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
18335 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18336 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
18337 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18338 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
18339 wine_fn_config_dll wsock32 enable_wsock32 implib
18340 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18341 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
18342 wine_fn_config_dll wuapi enable_wuapi clean
18343 wine_fn_config_dll wuaueng enable_wuaueng
18344 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18345 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18346 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18347 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18348 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18349 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18350 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18351 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18352 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18353 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18354 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18355 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18356 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18357 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18358 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18359 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18360 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18361 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18362 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18363 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18364 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18365 wine_fn_config_test dlls
/xaudio2_
7/tests xaudio2_7_test
18366 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18367 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18368 wine_fn_config_dll xinput1_1 enable_xinput1_1
18369 wine_fn_config_dll xinput1_2 enable_xinput1_2
18370 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18371 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
18372 wine_fn_config_dll xinput1_4 enable_xinput1_4
18373 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18374 wine_fn_config_dll xmllite enable_xmllite implib
18375 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
18376 wine_fn_config_dll xolehlp enable_xolehlp
18377 wine_fn_config_dll xpsprint enable_xpsprint
18378 wine_fn_config_dll xpssvcs enable_xpssvcs
18379 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
18380 wine_fn_config_makefile include enable_include clean
,install-dev
18381 wine_fn_config_makefile libs
/port enable_libs_port
18382 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,implib
,install-dev
,install-lib
18383 wine_fn_config_makefile libs
/wpp enable_libs_wpp
18384 wine_fn_config_makefile loader enable_loader clean
,install-lib
18385 wine_fn_config_makefile po enable_po clean
18386 wine_fn_config_program arp enable_arp
install
18387 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
18388 wine_fn_config_program attrib enable_attrib clean
,install
18389 wine_fn_config_program cabarc enable_cabarc
install
18390 wine_fn_config_program cacls enable_cacls
install
18391 wine_fn_config_program
clock enable_clock clean
,install
18392 wine_fn_config_program cmd enable_cmd clean
,install
18393 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
18394 wine_fn_config_program conhost enable_conhost
install
18395 wine_fn_config_program control enable_control
install
18396 wine_fn_config_program cscript enable_cscript clean
,install
18397 wine_fn_config_program dpnsvr enable_dpnsvr
install
18398 wine_fn_config_program dxdiag enable_dxdiag clean
,install
18399 wine_fn_config_program eject enable_eject
install
18400 wine_fn_config_program
expand enable_expand
install
18401 wine_fn_config_program explorer enable_explorer clean
,install
18402 wine_fn_config_program extrac32 enable_extrac32
install
18403 wine_fn_config_program findstr enable_findstr
install
18404 wine_fn_config_program fsutil enable_fsutil
install
18405 wine_fn_config_program hh enable_hh
install
18406 wine_fn_config_program hostname enable_hostname clean
,install
18407 wine_fn_config_program icacls enable_icacls
install
18408 wine_fn_config_program icinfo enable_icinfo
install
18409 wine_fn_config_program iexplore enable_iexplore
install
18410 wine_fn_config_program ipconfig enable_ipconfig clean
,install
18411 wine_fn_config_program lodctr enable_lodctr
install
18412 wine_fn_config_program mofcomp enable_mofcomp
install
18413 wine_fn_config_program mshta enable_mshta
install
18414 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
18415 wine_fn_config_program msinfo32 enable_msinfo32
install
18416 wine_fn_config_program net enable_net clean
,install
18417 wine_fn_config_program netsh enable_netsh
install
18418 wine_fn_config_program netstat enable_netstat clean
,install
18419 wine_fn_config_program ngen enable_ngen
install
18420 wine_fn_config_program notepad enable_notepad clean
,install,installbin
,manpage
18421 wine_fn_config_program oleview enable_oleview clean
,install
18422 wine_fn_config_program
ping enable_ping
install
18423 wine_fn_config_program plugplay enable_plugplay
install
18424 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
18425 wine_fn_config_program progman enable_progman clean
,install
18426 wine_fn_config_program reg enable_reg clean
,install
18427 wine_fn_config_test programs
/reg
/tests reg.exe_test
18428 wine_fn_config_program regasm enable_regasm
install
18429 wine_fn_config_program regedit enable_regedit clean
,install,installbin
,manpage
18430 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
18431 wine_fn_config_program regsvcs enable_regsvcs
install
18432 wine_fn_config_program regsvr32 enable_regsvr32 clean
,install,installbin
,manpage
18433 wine_fn_config_program rpcss enable_rpcss clean
,install
18434 wine_fn_config_program rundll.exe16 enable_win16
install
18435 wine_fn_config_program rundll32 enable_rundll32
install
18436 wine_fn_config_program sc enable_sc
install
18437 wine_fn_config_program schtasks enable_schtasks
install
18438 wine_fn_config_program sdbinst enable_sdbinst
install
18439 wine_fn_config_program secedit enable_secedit
install
18440 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
18441 wine_fn_config_program services enable_services clean
,install
18442 wine_fn_config_test programs
/services
/tests services.exe_test
18443 wine_fn_config_program shutdown enable_shutdown
install
18444 wine_fn_config_program spoolsv enable_spoolsv
install
18445 wine_fn_config_program start enable_start clean
,install
18446 wine_fn_config_program svchost enable_svchost
install
18447 wine_fn_config_program systeminfo enable_systeminfo
install
18448 wine_fn_config_program taskkill enable_taskkill clean
,install
18449 wine_fn_config_program tasklist enable_tasklist
install
18450 wine_fn_config_program taskmgr enable_taskmgr clean
,install
18451 wine_fn_config_program termsv enable_termsv
install
18452 wine_fn_config_program uninstaller enable_uninstaller clean
,install
18453 wine_fn_config_program unlodctr enable_unlodctr
install
18454 wine_fn_config_program view enable_view clean
,install
18455 wine_fn_config_program wevtutil enable_wevtutil
install
18456 wine_fn_config_program wineboot enable_wineboot clean
,install,installbin
,manpage
18457 wine_fn_config_program winebrowser enable_winebrowser
install
18458 wine_fn_config_program winecfg enable_winecfg clean
,install,installbin
,manpage
18459 wine_fn_config_program wineconsole enable_wineconsole clean
,install,installbin
,manpage
18460 wine_fn_config_program winedbg enable_winedbg clean
,install,installbin
,manpage
18461 wine_fn_config_program winedevice enable_winedevice
install
18462 wine_fn_config_program winefile enable_winefile clean
,install,installbin
,manpage
18463 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
18464 wine_fn_config_program winemine enable_winemine clean
,install,installbin
,manpage
18465 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
18466 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
18467 wine_fn_config_program winetest enable_winetest clean
18468 wine_fn_config_program winevdm enable_win16
install
18469 wine_fn_config_program winhelp.exe16 enable_win16
install
18470 wine_fn_config_program winhlp32 enable_winhlp32 clean
,install
18471 wine_fn_config_program winoldap.mod16 enable_win16
install
18472 wine_fn_config_program winver enable_winver
install
18473 wine_fn_config_program wmic enable_wmic clean
,install
18474 wine_fn_config_program wmplayer enable_wmplayer
install
18475 wine_fn_config_program wordpad enable_wordpad clean
,install
18476 wine_fn_config_program
write enable_write clean
,install
18477 wine_fn_config_program wscript enable_wscript clean
,install
18478 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
18479 wine_fn_config_program wusa enable_wusa
install
18480 wine_fn_config_program xcopy enable_xcopy clean
,install
18481 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
18482 wine_fn_config_makefile server enable_server clean
,install-lib
18483 wine_fn_config_tool tools clean
18484 wine_fn_config_tool tools
/sfnt2fon clean
18485 wine_fn_config_tool tools
/widl clean
,install-dev
18486 wine_fn_config_tool tools
/winebuild clean
,install-dev
18487 wine_fn_config_tool tools
/winedump clean
,install-dev
18488 wine_fn_config_tool tools
/winegcc clean
,install-dev
18489 wine_fn_config_tool tools
/winemaker clean
,install-dev
18490 wine_fn_config_tool tools
/wmc clean
,install-dev
18491 wine_fn_config_tool tools
/wrc clean
,install-dev
18494 wine_fn_append_file CONFIGURE_TARGETS
"TAGS"
18495 wine_fn_append_file CONFIGURE_TARGETS
"tags"
18496 wine_fn_append_file CONFIGURE_TARGETS
"autom4te.cache"
18497 wine_fn_append_file CONFIGURE_TARGETS
"config.log"
18498 wine_fn_append_file CONFIGURE_TARGETS
"config.status"
18499 wine_fn_append_file CONFIGURE_TARGETS
"include/config.h"
18500 wine_fn_append_file CONFIGURE_TARGETS
"include/stamp-h"
18501 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS
"loader/wine"
18503 if test "x$enable_tools" != xno
18505 wine_fn_append_file CONFIGURE_TARGETS
"tools/makedep$ac_exeext"
18506 ac_config_commands
="$ac_config_commands tools/makedep"
18510 ac_config_commands
="$ac_config_commands Makefile"
18513 ac_config_files
="$ac_config_files Make.tmp:Makefile.in"
18517 if test "x$enable_maintainer_mode" = xyes
18519 wine_fn_append_rule
"configure: configure.ac aclocal.m4
18520 autoconf --warnings=all
18521 include/config.h.in: include/stamp-h.in
18522 include/stamp-h.in: configure.ac aclocal.m4
18523 autoheader --warnings=all
18524 @echo timestamp > \$@"
18527 if test "x$enable_tools" != xno
18529 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18530 @./config.status tools/makedep
18531 Makefile: tools/makedep$ac_exeext"
18533 wine_fn_append_rule
"\$(MAKEDEP):
18534 @echo \"You need to run make in $TOOLSDIR first\" && false"
18537 if test -n "$with_wine64"
18539 wine_fn_append_rule
"all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18541 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18542 $with_wine64/loader/wine:
18543 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18544 $with_wine64/loader/wine-preloader:
18545 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18547 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18549 WINELOADER_INSTALL
="wine.inf"
18551 wine_fn_append_rule
"install install-lib::
18552 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18554 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18556 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
18557 *) wine_fn_append_rule
"install install-lib::
18558 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18560 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18564 $as_echo " done" >&6
18565 cat >confcache
<<\_ACEOF
18566 # This file is a shell script that caches the results of configure
18567 # tests run on this system so they can be shared between configure
18568 # scripts and configure runs, see configure's option --config-cache.
18569 # It is not useful on other systems. If it contains results you don't
18570 # want to keep, you may remove or edit it.
18572 # config.status only pays attention to the cache file if you give it
18573 # the --recheck option to rerun configure.
18575 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18576 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18577 # following values.
18581 # The following way of writing the cache mishandles newlines in values,
18582 # but we know of no workaround that is simple, portable, and efficient.
18583 # So, we kill variables containing newlines.
18584 # Ultrix sh set writes to stderr and can't be redirected directly,
18585 # and sets the high bit in the cache file unless we assign to the vars.
18587 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18588 eval ac_val
=\$
$ac_var
18592 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18593 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18596 _ | IFS | as_nl
) ;; #(
18597 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
18598 *) { eval $ac_var=; unset $ac_var;} ;;
18604 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18605 *${as_nl}ac_space
=\
*)
18606 # `set' does not quote correctly, so add quotes: double-quote
18607 # substitution turns \\\\ into \\, and sed turns \\ into \.
18610 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18613 # `set' quotes correctly as required by POSIX, so do not add quotes.
18614 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18623 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18625 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18627 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18628 if test -w "$cache_file"; then
18629 if test "x$cache_file" != "x/dev/null"; then
18630 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18631 $as_echo "$as_me: updating cache $cache_file" >&6;}
18632 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
18633 cat confcache
>"$cache_file"
18635 case $cache_file in #(
18637 mv -f confcache
"$cache_file"$$
&&
18638 mv -f "$cache_file"$$
"$cache_file" ;; #(
18640 mv -f confcache
"$cache_file" ;;
18645 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18646 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18651 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18652 # Let make expand exec_prefix.
18653 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18655 DEFS
=-DHAVE_CONFIG_H
18660 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18661 # 1. Remove the extension, and $U if already installed.
18662 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18663 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18664 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18665 # will be set to the directory where LIBOBJS objects are built.
18666 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18667 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
18669 LIBOBJS
=$ac_libobjs
18671 LTLIBOBJS
=$ac_ltlibobjs
18675 : "${CONFIG_STATUS=./config.status}"
18677 ac_clean_files_save
=$ac_clean_files
18678 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18679 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18680 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18682 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18684 # Generated by $as_me.
18685 # Run this file to recreate the current configuration.
18686 # Compiler output produced by configure, useful for debugging
18687 # configure, is in config.log if it exists.
18690 ac_cs_recheck=false
18693 SHELL=\${CONFIG_SHELL-$SHELL}
18696 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
18697 ## -------------------- ##
18698 ## M4sh Initialization. ##
18699 ## -------------------- ##
18701 # Be more Bourne compatible
18702 DUALCASE
=1; export DUALCASE
# for MKS sh
18703 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
18706 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18707 # is contrary to our usage. Disable this feature.
18708 alias -g '${1+"$@"}'='"$@"'
18709 setopt NO_GLOB_SUBST
18711 case `(set -o) 2>/dev/null` in #(
18723 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18724 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18725 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18726 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18727 # Prefer a ksh shell builtin over an external printf program on Solaris,
18728 # but without wasting forks for bash or zsh.
18729 if test -z "$BASH_VERSION$ZSH_VERSION" \
18730 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18731 as_echo='print
-r --'
18732 as_echo_n='print
-rn --'
18733 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18734 as_echo='printf %s
\n'
18735 as_echo_n='printf %s
'
18737 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18738 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18739 as_echo_n='/usr
/ucb
/echo -n'
18741 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18742 as_echo_n_body='eval
18746 expr "X$arg" : "X\\(.*\\)$as_nl";
18747 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18749 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18751 export as_echo_n_body
18752 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18754 export as_echo_body
18755 as_echo='sh
-c $as_echo_body as_echo
'
18758 # The user is always right.
18759 if test "${PATH_SEPARATOR+set}" != set; then
18761 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18762 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18769 # We need space, tab and new line, in precisely that order. Quoting is
18770 # there to prevent editors from complaining about space-tab.
18771 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18772 # splitting by setting IFS to empty value.)
18775 # Find who we are. Look in the path if we contain no directory separator.
18778 *[\\/]* ) as_myself=$0 ;;
18779 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18780 for as_dir in $PATH
18783 test -z "$as_dir" && as_dir=.
18784 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18790 # We did not find ourselves, most probably we were run as `sh COMMAND'
18791 # in which case we are not to be found in the path.
18792 if test "x$as_myself" = x
; then
18795 if test ! -f "$as_myself"; then
18796 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18800 # Unset variables that we do not need and which cause bugs (e.g. in
18801 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18802 # suppresses any "Segmentation fault" message there. '((' could
18803 # trigger a bug in pdksh 5.2.14.
18804 for as_var
in BASH_ENV ENV MAIL MAILPATH
18805 do eval test x\
${$as_var+set} = xset \
18806 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18819 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18822 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18823 # ----------------------------------------
18824 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18825 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18826 # script with STATUS, using 1 if that was 0.
18829 as_status
=$1; test $as_status -eq 0 && as_status
=1
18831 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18832 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18834 $as_echo "$as_me: error: $2" >&2
18835 as_fn_exit
$as_status
18839 # as_fn_set_status STATUS
18840 # -----------------------
18841 # Set $? to STATUS, without forking.
18842 as_fn_set_status
()
18845 } # as_fn_set_status
18847 # as_fn_exit STATUS
18848 # -----------------
18849 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18853 as_fn_set_status
$1
18859 # Portably unset VAR.
18862 { eval $1=; unset $1;}
18864 as_unset
=as_fn_unset
18865 # as_fn_append VAR VALUE
18866 # ----------------------
18867 # Append the text in VALUE to the end of the definition contained in VAR. Take
18868 # advantage of any shell optimizations that allow amortized linear growth over
18869 # repeated appends, instead of the typical quadratic growth present in naive
18871 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18872 eval 'as_fn_append ()
18883 # as_fn_arith ARG...
18884 # ------------------
18885 # Perform arithmetic evaluation on the ARGs, and store the result in the
18886 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18887 # must be portable across $(()) and expr.
18888 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18889 eval 'as_fn_arith ()
18896 as_val
=`expr "$@" || test $? -eq 1`
18901 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18902 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18908 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18909 as_basename
=basename
18914 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18920 as_me
=`$as_basename -- "$0" ||
18921 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18922 X"$0" : 'X\(//\)$' \| \
18923 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18925 sed '/^.*\/\([^/][^/]*\)\/*$/{
18939 # Avoid depending upon Character Ranges.
18940 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18941 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18942 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18943 as_cr_digits
='0123456789'
18944 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18946 ECHO_C
= ECHO_N
= ECHO_T
=
18947 case `echo -n x` in #(((((
18949 case `echo 'xy\c'` in
18950 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18952 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18959 rm -f conf$$ conf$$.exe conf$$.
file
18960 if test -d conf$$.dir
; then
18961 rm -f conf$$.dir
/conf$$.
file
18964 mkdir conf$$.dir
2>/dev
/null
18966 if (echo >conf$$.
file) 2>/dev
/null
; then
18967 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18969 # ... but there are two gotchas:
18970 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18971 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18972 # In both cases, we have to default to `cp -pR'.
18973 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18975 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18983 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18984 rmdir conf$$.dir
2>/dev
/null
18989 # Create "$as_dir" as a directory, including parents if necessary.
18994 -*) as_dir
=.
/$as_dir;;
18996 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
19000 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19001 *) as_qdir
=$as_dir;;
19003 as_dirs
="'$as_qdir' $as_dirs"
19004 as_dir
=`$as_dirname -- "$as_dir" ||
19005 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19006 X"$as_dir" : 'X\(//\)[^/]' \| \
19007 X"$as_dir" : 'X\(//\)$' \| \
19008 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19009 $as_echo X"$as_dir" |
19010 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19014 /^X\(\/\/\)[^/].*/{
19027 test -d "$as_dir" && break
19029 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
19030 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
19034 if mkdir
-p .
2>/dev
/null
; then
19035 as_mkdir_p
='mkdir -p "$as_dir"'
19037 test -d .
/-p && rmdir .
/-p
19042 # as_fn_executable_p FILE
19043 # -----------------------
19044 # Test if FILE is an executable regular file.
19045 as_fn_executable_p
()
19047 test -f "$1" && test -x "$1"
19048 } # as_fn_executable_p
19049 as_test_x
='test -x'
19050 as_executable_p
=as_fn_executable_p
19052 # Sed expression to map a string onto a valid CPP name.
19053 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19055 # Sed expression to map a string onto a valid variable name.
19056 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19060 ## ----------------------------------- ##
19061 ## Main body of $CONFIG_STATUS script. ##
19062 ## ----------------------------------- ##
19064 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
19066 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19067 # Save the log message, to keep $0 and so on meaningful, and to
19068 # report actual input values of CONFIG_FILES etc. instead of their
19069 # values after options handling.
19071 This file was extended by Wine $as_me 1.9.18, which was
19072 generated by GNU Autoconf 2.69. Invocation command line was
19074 CONFIG_FILES = $CONFIG_FILES
19075 CONFIG_HEADERS = $CONFIG_HEADERS
19076 CONFIG_LINKS = $CONFIG_LINKS
19077 CONFIG_COMMANDS = $CONFIG_COMMANDS
19080 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19085 case $ac_config_files in *"
19086 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
19089 case $ac_config_headers in *"
19090 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
19094 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19095 # Files that config.status was made for.
19096 config_files="$ac_config_files"
19097 config_headers="$ac_config_headers"
19098 config_links="$ac_config_links"
19099 config_commands="$ac_config_commands"
19103 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19105 \`$as_me' instantiates files and other configuration actions
19106 from templates according to the current configuration. Unless the files
19107 and actions are specified as TAGs, all are instantiated by default.
19109 Usage: $0 [OPTION]... [TAG]...
19111 -h, --help print this help, then exit
19112 -V, --version print version number and configuration settings, then exit
19113 --config print configuration, then exit
19114 -q, --quiet, --silent
19115 do not print progress messages
19116 -d, --debug don't remove temporary files
19117 --recheck update $as_me by reconfiguring in the same conditions
19118 --file=FILE[:TEMPLATE]
19119 instantiate the configuration file FILE
19120 --header=FILE[:TEMPLATE]
19121 instantiate the configuration header FILE
19123 Configuration files:
19126 Configuration headers:
19129 Configuration links:
19132 Configuration commands:
19135 Report bugs to <wine-devel@winehq.org>.
19136 Wine home page: <http://www.winehq.org>."
19139 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19140 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19142 Wine config.status 1.9.18
19143 configured by $0, generated by GNU Autoconf 2.69,
19144 with options \\"\$ac_cs_config\\"
19146 Copyright (C) 2012 Free Software Foundation, Inc.
19147 This config.status script is free software; the Free Software Foundation
19148 gives unlimited permission to copy, distribute and modify it."
19152 test -n "\$AWK" || AWK=awk
19155 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19156 # The default lists apply if the user does not specify any file.
19162 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19163 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
19167 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19179 # Handling of the options.
19180 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
19182 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
19183 $as_echo "$ac_cs_version"; exit ;;
19184 --config |
--confi |
--conf |
--con |
--co |
--c )
19185 $as_echo "$ac_cs_config"; exit ;;
19186 --debug |
--debu |
--deb |
--de |
--d |
-d )
19188 --file |
--fil |
--fi |
--f )
19191 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19192 '') as_fn_error $?
"missing file argument" ;;
19194 as_fn_append CONFIG_FILES
" '$ac_optarg'"
19195 ac_need_defaults
=false
;;
19196 --header |
--heade |
--head |
--hea )
19199 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19201 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
19202 ac_need_defaults
=false
;;
19204 # Conflict between --help and --header
19205 as_fn_error $?
"ambiguous option: \`$1'
19206 Try \`$0 --help' for more information.";;
19207 --help |
--hel |
-h )
19208 $as_echo "$ac_cs_usage"; exit ;;
19209 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
19210 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
19213 # This is an error.
19214 -*) as_fn_error $?
"unrecognized option: \`$1'
19215 Try \`$0 --help' for more information." ;;
19217 *) as_fn_append ac_config_targets
" $1"
19218 ac_need_defaults
=false
;;
19224 ac_configure_extra_args
=
19226 if $ac_cs_silent; then
19228 ac_configure_extra_args
="$ac_configure_extra_args --silent"
19232 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19233 if \$ac_cs_recheck; then
19234 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19236 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19237 CONFIG_SHELL='$SHELL'
19238 export CONFIG_SHELL
19243 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19247 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19248 ## Running $as_me. ##
19254 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19258 wine_fn_output_makedep ()
19260 as_dir=tools; as_fn_mkdir_p
19261 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19263 wine_fn_output_makefile ()
19265 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19266 `cat $wine_rules_file`
19268 as_fn_error $? "could not create Makefile" "$LINENO" 5
19273 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19275 # Handling of arguments.
19276 for ac_config_target
in $ac_config_targets
19278 case $ac_config_target in
19279 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
19280 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
19281 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19282 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19283 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19284 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19285 "fonts/wingding.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19286 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19287 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
19288 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19289 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
19290 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
19291 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19293 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19298 # If the user did not use the arguments to specify the items to instantiate,
19299 # then the envvar interface is used. Set only those that are not.
19300 # We use the long form for the default assignment because of an extremely
19301 # bizarre bug on SunOS 4.1.3.
19302 if $ac_need_defaults; then
19303 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
19304 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
19305 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
19306 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
19309 # Have a temporary directory for convenience. Make it in the build tree
19310 # simply because there is no reason against having it here, and in addition,
19311 # creating and moving files from /tmp can sometimes cause problems.
19312 # Hook for its removal unless debugging.
19313 # Note that there is a small window in which the directory will not be cleaned:
19314 # after its creation but before its name has been assigned to `$tmp'.
19318 trap 'exit_status=$?
19319 : "${ac_tmp:=$tmp}"
19320 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19322 trap 'as_fn_exit 1' 1 2 13 15
19324 # Create a (secure) tmp directory for tmp files.
19327 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19331 tmp
=.
/conf$$
-$RANDOM
19332 (umask 077 && mkdir
"$tmp")
19333 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
19336 # Set up the scripts for CONFIG_FILES section.
19337 # No need to generate them if there are no CONFIG_FILES.
19338 # This happens for instance with `./config.status config.h'.
19339 if test -n "$CONFIG_FILES"; then
19342 ac_cr
=`echo X | tr X '\015'`
19343 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19344 # But we know of no other shell where ac_cr would be empty at this
19345 # point, so we can use a bashism as a fallback.
19346 if test "x$ac_cr" = x
; then
19347 eval ac_cr
=\$
\'\\r
\'
19349 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19350 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19353 ac_cs_awk_cr
=$ac_cr
19356 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19361 echo "cat >conf$$subs.awk <<_ACEOF" &&
19362 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19364 } >conf$$subs.sh ||
19365 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19366 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19368 for ac_last_try in false false false false false :; do
19369 . ./conf$$subs.sh ||
19370 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19372 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
19373 if test $ac_delim_n = $ac_delim_num; then
19375 elif $ac_last_try; then
19376 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19378 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19381 rm -f conf$$subs.sh
19383 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19384 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
19388 s/^/S["/; s
/!.
*/"]=/
19398 s/\(.\{148\}\)..*/\1/
19400 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
19405 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19412 s/\(.\{148\}\)..*/\1/
19414 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
19418 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19423 ' <conf$$subs.awk | sed '
19428 ' >>$CONFIG_STATUS || ac_write_fail=1
19429 rm -f conf$$subs.awk
19430 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19432 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
19433 for (key in S) S_is_set[key] = 1
19439 nfields = split(line, field, "@
")
19441 len = length(field[1])
19442 for (i = 2; i < nfields; i++) {
19444 keylen = length(key)
19445 if (S_is_set[key]) {
19447 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19448 len += length(value) + length(field[++i])
19459 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19460 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19461 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
19464 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
19465 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
19468 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19469 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
19470 # trailing colons and then remove the whole line if VPATH becomes empty
19471 # (actually we leave an empty line to preserve line numbers).
19472 if test "x
$srcdir" = x.; then
19473 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19491 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19492 fi # test -n "$CONFIG_FILES"
19494 # Set up the scripts for CONFIG_HEADERS section.
19495 # No need to generate them if there are no CONFIG_HEADERS.
19496 # This happens for instance with `./config.status Makefile'.
19497 if test -n "$CONFIG_HEADERS"; then
19498 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
19502 # Transform confdefs.h into an awk script `defines.awk', embedded as
19503 # here-document in config.status, that substitutes the proper values into
19504 # config.h.in to produce config.h.
19506 # Create a delimiter string that does not exist in confdefs.h, to ease
19507 # handling of long lines.
19509 for ac_last_try in false false :; do
19510 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
19511 if test -z "$ac_tt"; then
19513 elif $ac_last_try; then
19514 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
19516 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19520 # For the awk script, D is an array of macro values keyed by name,
19521 # likewise P contains macro parameters if any. Preserve backslash
19522 # newline sequences.
19524 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19526 s/.\{148\}/&'"$ac_delim"'/g
19529 s/^[ ]*#[ ]*define[ ][ ]*/ /
19536 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
19538 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
19542 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
19543 D["\
1"]=" \
3\\\\\\n
"\\/p
19545 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
19550 s/.\{148\}/&'"$ac_delim"'/g
19555 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
19558 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
19560 ' <confdefs.h | sed '
19561 s/'"$ac_delim"'/"\\\
19562 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19564 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19565 for (key in D) D_is_set[key] = 1
19568 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19570 split(line, arg, " ")
19571 if (arg[1] == "#") {
19575 defundef
= substr
(arg
[1], 2)
19578 split(mac1
, mac2
, "(") #)
19580 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
19581 if (D_is_set
[macro
]) {
19582 # Preserve the white space surrounding the "#".
19583 print prefix
"define", macro P
[macro
] D
[macro
]
19586 # Replace #undef with comments. This is necessary, for example,
19587 # in the case of _POSIX_SOURCE, which is predefined and required
19588 # on some systems where configure will not decide to define it.
19589 if (defundef
== "undef") {
19590 print
"/*", prefix defundef
, macro
, "*/"
19598 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19599 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
19600 fi # test -n "$CONFIG_HEADERS"
19603 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19608 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19610 case $ac_mode$ac_tag in
19612 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
19613 :[FH
]-) ac_tag
=-:-;;
19614 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19631 -) ac_f
="$ac_tmp/stdin";;
19632 *) # Look for the file first in the build tree, then in the source tree
19633 # (if the path is not absolute). The absolute path cannot be DOS-style,
19634 # because $ac_f cannot contain `:'.
19638 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19640 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19642 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19643 as_fn_append ac_file_inputs
" '$ac_f'"
19646 # Let's still pretend it is `configure' which instantiates (i.e., don't
19647 # use $as_me), people would be surprised to read:
19648 # /* config.h. Generated by config.status. */
19649 configure_input
='Generated from '`
19650 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19652 if test x
"$ac_file" != x-
; then
19653 configure_input
="$ac_file. $configure_input"
19654 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19655 $as_echo "$as_me: creating $ac_file" >&6;}
19657 # Neutralize special characters interpreted by sed in replacement strings.
19658 case $configure_input in #(
19659 *\
&* |
*\|
* |
*\\* )
19660 ac_sed_conf_input
=`$as_echo "$configure_input" |
19661 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19662 *) ac_sed_conf_input
=$configure_input;;
19666 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
19667 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
19672 ac_dir
=`$as_dirname -- "$ac_file" ||
19673 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19674 X"$ac_file" : 'X\(//\)[^/]' \| \
19675 X"$ac_file" : 'X\(//\)$' \| \
19676 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19677 $as_echo X"$ac_file" |
19678 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19682 /^X\(\/\/\)[^/].*/{
19695 as_dir
="$ac_dir"; as_fn_mkdir_p
19699 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19701 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19702 # A ".." for each directory in $ac_dir_suffix.
19703 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19704 case $ac_top_builddir_sub in
19705 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19706 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19709 ac_abs_top_builddir
=$ac_pwd
19710 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19711 # for backward compatibility:
19712 ac_top_builddir
=$ac_top_build_prefix
19715 .
) # We are building in place.
19717 ac_top_srcdir
=$ac_top_builddir_sub
19718 ac_abs_top_srcdir
=$ac_pwd ;;
19719 [\\/]* | ?
:[\\/]* ) # Absolute name.
19720 ac_srcdir
=$srcdir$ac_dir_suffix;
19721 ac_top_srcdir
=$srcdir
19722 ac_abs_top_srcdir
=$srcdir ;;
19723 *) # Relative name.
19724 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19725 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19726 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19728 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19739 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19740 # If the template does not know about datarootdir, expand it.
19741 # FIXME: This hack should be removed a few years after 2.60.
19742 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19753 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19754 *datarootdir
*) ac_datarootdir_seen
=yes;;
19755 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19757 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19759 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19760 ac_datarootdir_hack='
19761 s&@datadir@&$datadir&g
19762 s&@docdir@&$docdir&g
19763 s&@infodir@&$infodir&g
19764 s&@localedir@&$localedir&g
19765 s&@mandir@&$mandir&g
19766 s&\\\${datarootdir}&$datarootdir&g' ;;
19770 # Neutralize VPATH when `$srcdir' = `.'.
19771 # Shell code in configure.ac might set extrasub.
19772 # FIXME: do we really want to maintain this feature?
19773 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19774 ac_sed_extra="$ac_vpsub
19777 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19779 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19780 s|@configure_input@|
$ac_sed_conf_input|
;t t
19781 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19782 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19783 s
&@srcdir@
&$ac_srcdir&;t t
19784 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19785 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19786 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19787 s
&@builddir@
&$ac_builddir&;t t
19788 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19789 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19790 $ac_datarootdir_hack
19792 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19793 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19795 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19796 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19797 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19798 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19800 which seems to be undefined. Please make sure it is defined" >&5
19801 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19802 which seems to be undefined. Please make sure it is defined" >&2;}
19804 rm -f "$ac_tmp/stdin"
19806 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19807 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19809 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19815 if test x"$ac_file" != x-; then
19817 $as_echo "/* $configure_input */" \
19818 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19819 } >"$ac_tmp/config.h" \
19820 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19821 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19822 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19823 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19826 mv "$ac_tmp/config.h" "$ac_file" \
19827 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19830 $as_echo "/* $configure_input */" \
19831 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19832 || as_fn_error $? "could not create -" "$LINENO" 5
19840 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
19843 # Prefer the file from the source tree if names are identical.
19844 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19845 ac_source=$srcdir/$ac_source
19848 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19849 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19851 if test ! -r "$ac_source"; then
19852 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19856 # Try a relative symlink, then a hard link, then a copy.
19858 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19859 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19861 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19862 ln "$ac_source" "$ac_file" 2>/dev/null ||
19863 cp -p "$ac_source" "$ac_file" ||
19864 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19867 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19868 $as_echo "$as_me: executing $ac_file commands" >&6;}
19873 case $ac_file$ac_mode in
19874 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19875 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19876 "Makefile":C) wine_fn_output_makefile Makefile ;;
19884 ac_clean_files=$ac_clean_files_save
19886 test $ac_write_fail = 0 ||
19887 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19890 # configure is writing to config.log, and then calls config.status.
19891 # config.status does its own redirection, appending to config.log.
19892 # Unfortunately, on DOS this fails, as config.log is still kept open
19893 # by configure, so config.status won't be able to
write to it
; its
19894 # output is simply discarded. So we exec the FD to /dev/null,
19895 # effectively closing config.log, so it can be properly (re)opened and
19896 # appended to by config.status. When coming back to configure, we
19897 # need to make the FD available again.
19898 if test "$no_create" != yes; then
19900 ac_config_status_args
=
19901 test "$silent" = yes &&
19902 ac_config_status_args
="$ac_config_status_args --quiet"
19904 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19906 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19907 # would make configure fail if this is the last instruction.
19908 $ac_cs_success || as_fn_exit
1
19910 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19912 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19916 if test "$no_create" = "yes"
19922 if test "x$wine_notices" != x
; then
19925 for msg
in $wine_notices; do
19927 if ${msg:+false} :; then :
19930 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19931 $as_echo "$as_me: $msg" >&6;}
19936 for msg
in $wine_warnings; do
19938 if ${msg:+false} :; then :
19942 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19943 $as_echo "$as_me: WARNING: $msg" >&2;}
19949 $as_me: Finished. Do '${ac_make}' to compile Wine.