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_com_l1_1_0
878 enable_api_ms_win_core_com_l1_1_1
879 enable_api_ms_win_core_console_l1_1_0
880 enable_api_ms_win_core_console_l2_1_0
881 enable_api_ms_win_core_datetime_l1_1_0
882 enable_api_ms_win_core_datetime_l1_1_1
883 enable_api_ms_win_core_debug_l1_1_0
884 enable_api_ms_win_core_debug_l1_1_1
885 enable_api_ms_win_core_delayload_l1_1_1
886 enable_api_ms_win_core_errorhandling_l1_1_0
887 enable_api_ms_win_core_errorhandling_l1_1_1
888 enable_api_ms_win_core_errorhandling_l1_1_2
889 enable_api_ms_win_core_fibers_l1_1_0
890 enable_api_ms_win_core_fibers_l1_1_1
891 enable_api_ms_win_core_file_l1_1_0
892 enable_api_ms_win_core_file_l1_2_0
893 enable_api_ms_win_core_file_l1_2_1
894 enable_api_ms_win_core_file_l2_1_0
895 enable_api_ms_win_core_file_l2_1_1
896 enable_api_ms_win_core_handle_l1_1_0
897 enable_api_ms_win_core_heap_l1_1_0
898 enable_api_ms_win_core_heap_l1_2_0
899 enable_api_ms_win_core_heap_obsolete_l1_1_0
900 enable_api_ms_win_core_interlocked_l1_1_0
901 enable_api_ms_win_core_interlocked_l1_2_0
902 enable_api_ms_win_core_io_l1_1_1
903 enable_api_ms_win_core_job_l1_1_0
904 enable_api_ms_win_core_job_l2_1_0
905 enable_api_ms_win_core_kernel32_legacy_l1_1_0
906 enable_api_ms_win_core_kernel32_legacy_l1_1_1
907 enable_api_ms_win_core_libraryloader_l1_1_0
908 enable_api_ms_win_core_libraryloader_l1_1_1
909 enable_api_ms_win_core_libraryloader_l1_2_0
910 enable_api_ms_win_core_localization_l1_1_0
911 enable_api_ms_win_core_localization_l1_2_0
912 enable_api_ms_win_core_localization_l1_2_1
913 enable_api_ms_win_core_localization_obsolete_l1_1_0
914 enable_api_ms_win_core_localization_obsolete_l1_2_0
915 enable_api_ms_win_core_localregistry_l1_1_0
916 enable_api_ms_win_core_memory_l1_1_0
917 enable_api_ms_win_core_memory_l1_1_1
918 enable_api_ms_win_core_memory_l1_1_2
919 enable_api_ms_win_core_misc_l1_1_0
920 enable_api_ms_win_core_namedpipe_l1_1_0
921 enable_api_ms_win_core_namedpipe_l1_2_0
922 enable_api_ms_win_core_namespace_l1_1_0
923 enable_api_ms_win_core_normalization_l1_1_0
924 enable_api_ms_win_core_path_l1_1_0
925 enable_api_ms_win_core_privateprofile_l1_1_1
926 enable_api_ms_win_core_processenvironment_l1_1_0
927 enable_api_ms_win_core_processenvironment_l1_2_0
928 enable_api_ms_win_core_processthreads_l1_1_0
929 enable_api_ms_win_core_processthreads_l1_1_1
930 enable_api_ms_win_core_processthreads_l1_1_2
931 enable_api_ms_win_core_profile_l1_1_0
932 enable_api_ms_win_core_psapi_l1_1_0
933 enable_api_ms_win_core_registry_l1_1_0
934 enable_api_ms_win_core_registryuserspecific_l1_1_0
935 enable_api_ms_win_core_rtlsupport_l1_1_0
936 enable_api_ms_win_core_rtlsupport_l1_2_0
937 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
938 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
939 enable_api_ms_win_core_string_l1_1_0
940 enable_api_ms_win_core_string_l2_1_0
941 enable_api_ms_win_core_string_obsolete_l1_1_0
942 enable_api_ms_win_core_synch_l1_1_0
943 enable_api_ms_win_core_synch_l1_2_0
944 enable_api_ms_win_core_sysinfo_l1_1_0
945 enable_api_ms_win_core_sysinfo_l1_2_0
946 enable_api_ms_win_core_sysinfo_l1_2_1
947 enable_api_ms_win_core_threadpool_l1_2_0
948 enable_api_ms_win_core_threadpool_legacy_l1_1_0
949 enable_api_ms_win_core_timezone_l1_1_0
950 enable_api_ms_win_core_toolhelp_l1_1_0
951 enable_api_ms_win_core_url_l1_1_0
952 enable_api_ms_win_core_util_l1_1_0
953 enable_api_ms_win_core_version_l1_1_0
954 enable_api_ms_win_core_winrt_error_l1_1_0
955 enable_api_ms_win_core_winrt_error_l1_1_1
956 enable_api_ms_win_core_winrt_l1_1_0
957 enable_api_ms_win_core_winrt_registration_l1_1_0
958 enable_api_ms_win_core_winrt_string_l1_1_0
959 enable_api_ms_win_core_wow64_l1_1_0
960 enable_api_ms_win_core_xstate_l2_1_0
961 enable_api_ms_win_crt_conio_l1_1_0
962 enable_api_ms_win_crt_convert_l1_1_0
963 enable_api_ms_win_crt_environment_l1_1_0
964 enable_api_ms_win_crt_filesystem_l1_1_0
965 enable_api_ms_win_crt_heap_l1_1_0
966 enable_api_ms_win_crt_locale_l1_1_0
967 enable_api_ms_win_crt_math_l1_1_0
968 enable_api_ms_win_crt_multibyte_l1_1_0
969 enable_api_ms_win_crt_private_l1_1_0
970 enable_api_ms_win_crt_process_l1_1_0
971 enable_api_ms_win_crt_runtime_l1_1_0
972 enable_api_ms_win_crt_stdio_l1_1_0
973 enable_api_ms_win_crt_string_l1_1_0
974 enable_api_ms_win_crt_time_l1_1_0
975 enable_api_ms_win_crt_utility_l1_1_0
976 enable_api_ms_win_downlevel_advapi32_l1_1_0
977 enable_api_ms_win_downlevel_advapi32_l2_1_0
978 enable_api_ms_win_downlevel_normaliz_l1_1_0
979 enable_api_ms_win_downlevel_ole32_l1_1_0
980 enable_api_ms_win_downlevel_shell32_l1_1_0
981 enable_api_ms_win_downlevel_shlwapi_l1_1_0
982 enable_api_ms_win_downlevel_shlwapi_l2_1_0
983 enable_api_ms_win_downlevel_user32_l1_1_0
984 enable_api_ms_win_downlevel_version_l1_1_0
985 enable_api_ms_win_eventing_classicprovider_l1_1_0
986 enable_api_ms_win_eventing_provider_l1_1_0
987 enable_api_ms_win_eventlog_legacy_l1_1_0
988 enable_api_ms_win_ntuser_dc_access_l1_1_0
989 enable_api_ms_win_security_base_l1_1_0
990 enable_api_ms_win_security_base_l1_2_0
991 enable_api_ms_win_security_lsalookup_l1_1_0
992 enable_api_ms_win_security_lsalookup_l1_1_1
993 enable_api_ms_win_security_sddl_l1_1_0
994 enable_api_ms_win_service_core_l1_1_1
995 enable_api_ms_win_service_management_l1_1_0
996 enable_api_ms_win_service_winsvc_l1_2_0
997 enable_api_ms_win_shell_shellfolders_l1_1_0
1010 enable_bluetoothapis
1043 enable_d3dcompiler_33
1044 enable_d3dcompiler_34
1045 enable_d3dcompiler_35
1046 enable_d3dcompiler_36
1047 enable_d3dcompiler_37
1048 enable_d3dcompiler_38
1049 enable_d3dcompiler_39
1050 enable_d3dcompiler_40
1051 enable_d3dcompiler_41
1052 enable_d3dcompiler_42
1053 enable_d3dcompiler_43
1054 enable_d3dcompiler_46
1055 enable_d3dcompiler_47
1133 enable_explorerframe
1134 enable_ext_ms_win_gdi_devcaps_l1_1_0
1300 enable_photometadatahandler
1390 enable_windowscodecs
1391 enable_windowscodecsext
1394 enable_winecoreaudio_drv
1396 enable_winegstreamer
1397 enable_winejoystick_drv
1403 enable_winepulse_drv
1404 enable_wineqtdecoder
1473 enable_aspnet_regiis
1508 enable_presentationfontcache
1521 enable_servicemodelreg
1543 enable_winemenubuilder
1545 enable_winemsibuilder
1560 ac_precious_vars
='build_alias
1615 # Initialize some variables set by options.
1617 ac_init_version
=false
1618 ac_unrecognized_opts
=
1619 ac_unrecognized_sep
=
1620 # The variables have the same names as the options, with
1621 # dashes changed to underlines.
1622 cache_file
=/dev
/null
1629 program_transform_name
=s
,x
,x
,
1637 # Installation directory options.
1638 # These are left unexpanded so users can "make install exec_prefix=/foo"
1639 # and all the variables that are supposed to be based on exec_prefix
1640 # by default will actually change.
1641 # Use braces instead of parens because sh, perl, etc. also accept them.
1642 # (The list follows the same order as the GNU Coding Standards.)
1643 bindir
='${exec_prefix}/bin'
1644 sbindir
='${exec_prefix}/sbin'
1645 libexecdir
='${exec_prefix}/libexec'
1646 datarootdir
='${prefix}/share'
1647 datadir
='${datarootdir}'
1648 sysconfdir
='${prefix}/etc'
1649 sharedstatedir
='${prefix}/com'
1650 localstatedir
='${prefix}/var'
1651 runstatedir
='${localstatedir}/run'
1652 includedir
='${prefix}/include'
1653 oldincludedir
='/usr/include'
1654 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1655 infodir
='${datarootdir}/info'
1660 libdir
='${exec_prefix}/lib'
1661 localedir
='${datarootdir}/locale'
1662 mandir
='${datarootdir}/man'
1668 # If the previous option needs an argument, assign it.
1669 if test -n "$ac_prev"; then
1670 eval $ac_prev=\
$ac_option
1676 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1681 # Accept the important Cygnus configure options, so we can diagnose typos.
1683 case $ac_dashdash$ac_option in
1687 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1689 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1690 bindir
=$ac_optarg ;;
1692 -build |
--build |
--buil |
--bui |
--bu)
1693 ac_prev
=build_alias
;;
1694 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1695 build_alias
=$ac_optarg ;;
1697 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1698 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1699 ac_prev
=cache_file
;;
1700 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1701 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1702 cache_file
=$ac_optarg ;;
1704 --config-cache |
-C)
1705 cache_file
=config.cache
;;
1707 -datadir |
--datadir |
--datadi |
--datad)
1709 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1710 datadir
=$ac_optarg ;;
1712 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1713 |
--dataroo |
--dataro |
--datar)
1714 ac_prev
=datarootdir
;;
1715 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1716 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1717 datarootdir
=$ac_optarg ;;
1719 -disable-* |
--disable-*)
1720 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1721 # Reject names that are not valid shell variable names.
1722 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1723 as_fn_error $?
"invalid feature name: $ac_useropt"
1724 ac_useropt_orig
=$ac_useropt
1725 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1726 case $ac_user_opts in
1728 "enable_
$ac_useropt"
1730 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1731 ac_unrecognized_sep
=', ';;
1733 eval enable_
$ac_useropt=no
;;
1735 -docdir |
--docdir |
--docdi |
--doc |
--do)
1737 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1738 docdir
=$ac_optarg ;;
1740 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1742 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1743 dvidir
=$ac_optarg ;;
1745 -enable-* |
--enable-*)
1746 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1747 # Reject names that are not valid shell variable names.
1748 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1749 as_fn_error $?
"invalid feature name: $ac_useropt"
1750 ac_useropt_orig
=$ac_useropt
1751 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1752 case $ac_user_opts in
1754 "enable_
$ac_useropt"
1756 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1757 ac_unrecognized_sep
=', ';;
1759 eval enable_
$ac_useropt=\
$ac_optarg ;;
1761 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1762 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1763 |
--exec |
--exe |
--ex)
1764 ac_prev
=exec_prefix
;;
1765 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1766 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1767 |
--exec=* |
--exe=* |
--ex=*)
1768 exec_prefix
=$ac_optarg ;;
1770 -gas |
--gas |
--ga |
--g)
1771 # Obsolete; use --with-gas.
1774 -help |
--help |
--hel |
--he |
-h)
1775 ac_init_help
=long
;;
1776 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1777 ac_init_help
=recursive
;;
1778 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1779 ac_init_help
=short
;;
1781 -host |
--host |
--hos |
--ho)
1782 ac_prev
=host_alias
;;
1783 -host=* |
--host=* |
--hos=* |
--ho=*)
1784 host_alias
=$ac_optarg ;;
1786 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1788 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1790 htmldir
=$ac_optarg ;;
1792 -includedir |
--includedir |
--includedi |
--included |
--include \
1793 |
--includ |
--inclu |
--incl |
--inc)
1794 ac_prev
=includedir
;;
1795 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1796 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1797 includedir
=$ac_optarg ;;
1799 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1801 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1802 infodir
=$ac_optarg ;;
1804 -libdir |
--libdir |
--libdi |
--libd)
1806 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1807 libdir
=$ac_optarg ;;
1809 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1810 |
--libexe |
--libex |
--libe)
1811 ac_prev
=libexecdir
;;
1812 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1813 |
--libexe=* |
--libex=* |
--libe=*)
1814 libexecdir
=$ac_optarg ;;
1816 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1817 ac_prev
=localedir
;;
1818 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1819 localedir
=$ac_optarg ;;
1821 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1822 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1823 ac_prev
=localstatedir
;;
1824 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1825 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1826 localstatedir
=$ac_optarg ;;
1828 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1830 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1831 mandir
=$ac_optarg ;;
1833 -nfp |
--nfp |
--nf)
1834 # Obsolete; use --without-fp.
1837 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1838 |
--no-cr |
--no-c |
-n)
1841 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1842 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1845 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1846 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1847 |
--oldin |
--oldi |
--old |
--ol |
--o)
1848 ac_prev
=oldincludedir
;;
1849 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1850 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1851 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1852 oldincludedir
=$ac_optarg ;;
1854 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1856 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1857 prefix
=$ac_optarg ;;
1859 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1860 |
--program-pre |
--program-pr |
--program-p)
1861 ac_prev
=program_prefix
;;
1862 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1863 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1864 program_prefix
=$ac_optarg ;;
1866 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1867 |
--program-suf |
--program-su |
--program-s)
1868 ac_prev
=program_suffix
;;
1869 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1870 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1871 program_suffix
=$ac_optarg ;;
1873 -program-transform-name |
--program-transform-name \
1874 |
--program-transform-nam |
--program-transform-na \
1875 |
--program-transform-n |
--program-transform- \
1876 |
--program-transform |
--program-transfor \
1877 |
--program-transfo |
--program-transf \
1878 |
--program-trans |
--program-tran \
1879 |
--progr-tra |
--program-tr |
--program-t)
1880 ac_prev
=program_transform_name
;;
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 program_transform_name
=$ac_optarg ;;
1890 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1892 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1893 pdfdir
=$ac_optarg ;;
1895 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1897 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1900 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1901 |
-silent |
--silent |
--silen |
--sile |
--sil)
1904 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
1905 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
1906 |
--run |
--ru |
--r)
1907 ac_prev
=runstatedir
;;
1908 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
1909 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
1910 |
--run=* |
--ru=* |
--r=*)
1911 runstatedir
=$ac_optarg ;;
1913 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1915 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1917 sbindir
=$ac_optarg ;;
1919 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1920 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1921 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1923 ac_prev
=sharedstatedir
;;
1924 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1925 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1926 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1928 sharedstatedir
=$ac_optarg ;;
1930 -site |
--site |
--sit)
1932 -site=* |
--site=* |
--sit=*)
1935 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1937 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1938 srcdir
=$ac_optarg ;;
1940 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1941 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1942 ac_prev
=sysconfdir
;;
1943 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1944 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1945 sysconfdir
=$ac_optarg ;;
1947 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1948 ac_prev
=target_alias
;;
1949 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1950 target_alias
=$ac_optarg ;;
1952 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1955 -version |
--version |
--versio |
--versi |
--vers |
-V)
1956 ac_init_version
=: ;;
1959 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1960 # Reject names that are not valid shell variable names.
1961 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1962 as_fn_error $?
"invalid package name: $ac_useropt"
1963 ac_useropt_orig
=$ac_useropt
1964 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1965 case $ac_user_opts in
1969 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1970 ac_unrecognized_sep
=', ';;
1972 eval with_
$ac_useropt=\
$ac_optarg ;;
1974 -without-* |
--without-*)
1975 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1976 # Reject names that are not valid shell variable names.
1977 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1978 as_fn_error $?
"invalid package name: $ac_useropt"
1979 ac_useropt_orig
=$ac_useropt
1980 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1981 case $ac_user_opts in
1985 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1986 ac_unrecognized_sep
=', ';;
1988 eval with_
$ac_useropt=no
;;
1991 # Obsolete; use --with-x.
1994 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1995 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1996 ac_prev
=x_includes
;;
1997 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1998 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1999 x_includes
=$ac_optarg ;;
2001 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
2002 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
2003 ac_prev
=x_libraries
;;
2004 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
2005 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
2006 x_libraries
=$ac_optarg ;;
2008 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
2009 Try \`$0 --help' for more information"
2013 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
2014 # Reject names that are not valid shell variable names.
2015 case $ac_envvar in #(
2016 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
2017 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
2019 eval $ac_envvar=\
$ac_optarg
2020 export $ac_envvar ;;
2023 # FIXME: should be removed in autoconf 3.0.
2024 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2025 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
2026 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2027 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2033 if test -n "$ac_prev"; then
2034 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
2035 as_fn_error $?
"missing argument to $ac_option"
2038 if test -n "$ac_unrecognized_opts"; then
2039 case $enable_option_checking in
2041 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
2042 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2046 # Check all directory arguments for consistency.
2047 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2048 datadir sysconfdir sharedstatedir localstatedir includedir \
2049 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2050 libdir localedir mandir runstatedir
2052 eval ac_val
=\$
$ac_var
2053 # Remove trailing slashes.
2056 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2057 eval $ac_var=\
$ac_val;;
2059 # Be sure to have absolute directory names.
2061 [\\/$
]* | ?
:[\\/]* ) continue;;
2062 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2064 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2067 # There might be people who depend on the old broken behavior: `$host'
2068 # used to hold the argument of --host etc.
2069 # FIXME: To remove some day.
2072 target
=$target_alias
2074 # FIXME: To remove some day.
2075 if test "x$host_alias" != x
; then
2076 if test "x$build_alias" = x
; then
2077 cross_compiling
=maybe
2078 elif test "x$build_alias" != "x$host_alias"; then
2084 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2086 test "$silent" = yes && exec 6>/dev
/null
2089 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2090 ac_ls_di
=`ls -di .` &&
2091 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2092 as_fn_error $?
"working directory cannot be determined"
2093 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2094 as_fn_error $?
"pwd does not report name of working directory"
2097 # Find the source files, if location was not specified.
2098 if test -z "$srcdir"; then
2099 ac_srcdir_defaulted
=yes
2100 # Try the directory containing this script, then the parent directory.
2101 ac_confdir
=`$as_dirname -- "$as_myself" ||
2102 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2103 X"$as_myself" : 'X\(//\)[^/]' \| \
2104 X"$as_myself" : 'X\(//\)$' \| \
2105 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2106 $as_echo X"$as_myself" |
2107 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2125 if test ! -r "$srcdir/$ac_unique_file"; then
2129 ac_srcdir_defaulted
=no
2131 if test ! -r "$srcdir/$ac_unique_file"; then
2132 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2133 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2135 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2137 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2139 # When building in place, set srcdir=.
2140 if test "$ac_abs_confdir" = "$ac_pwd"; then
2143 # Remove unnecessary trailing slashes from srcdir.
2144 # Double slashes in file names in object file debugging info
2145 # mess up M-x gdb in Emacs.
2147 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2149 for ac_var
in $ac_precious_vars; do
2150 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2151 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2152 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2153 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2157 # Report the --help message.
2159 if test "$ac_init_help" = "long"; then
2160 # Omit some internal or obsolete options to make the list less imposing.
2161 # This message is too long to be a string in the A/UX 3.1 sh.
2163 \`configure' configures Wine 1.9.18 to adapt to many kinds of systems.
2165 Usage: $0 [OPTION]... [VAR=VALUE]...
2167 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2168 VAR=VALUE. See below for descriptions of some of the useful variables.
2170 Defaults for the options are specified in brackets.
2173 -h, --help display this help and exit
2174 --help=short display options specific to this package
2175 --help=recursive display the short help of all the included packages
2176 -V, --version display version information and exit
2177 -q, --quiet, --silent do not print \`checking ...' messages
2178 --cache-file=FILE cache test results in FILE [disabled]
2179 -C, --config-cache alias for \`--cache-file=config.cache'
2180 -n, --no-create do not create output files
2181 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2183 Installation directories:
2184 --prefix=PREFIX install architecture-independent files in PREFIX
2185 [$ac_default_prefix]
2186 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2189 By default, \`make install' will install all the files in
2190 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2191 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2192 for instance \`--prefix=\$HOME'.
2194 For better control, use the options below.
2196 Fine tuning of the installation directories:
2197 --bindir=DIR user executables [EPREFIX/bin]
2198 --sbindir=DIR system admin executables [EPREFIX/sbin]
2199 --libexecdir=DIR program executables [EPREFIX/libexec]
2200 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2201 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2202 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2203 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2204 --libdir=DIR object code libraries [EPREFIX/lib]
2205 --includedir=DIR C header files [PREFIX/include]
2206 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2207 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2208 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2209 --infodir=DIR info documentation [DATAROOTDIR/info]
2210 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2211 --mandir=DIR man documentation [DATAROOTDIR/man]
2212 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2213 --htmldir=DIR html documentation [DOCDIR]
2214 --dvidir=DIR dvi documentation [DOCDIR]
2215 --pdfdir=DIR pdf documentation [DOCDIR]
2216 --psdir=DIR ps documentation [DOCDIR]
2222 --x-includes=DIR X include files are
in DIR
2223 --x-libraries=DIR X library files are
in DIR
2226 --build=BUILD configure
for building on BUILD
[guessed
]
2227 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2231 if test -n "$ac_init_help"; then
2232 case $ac_init_help in
2233 short | recursive
) echo "Configuration of Wine 1.9.18:";;
2238 --disable-option-checking ignore unrecognized
--enable/--with options
2239 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2240 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2241 --disable-win16 do not include Win16 support
2242 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2244 --disable-tests do not build the regression tests
2245 --enable-maintainer-mode
2246 enable maintainer-specific build rules
2247 --disable-largefile omit support for large files
2250 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2251 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2252 --without-alsa do not use the Alsa sound support
2253 --without-capi do not use CAPI (ISDN support)
2254 --without-cms do not use CMS (color management support)
2255 --without-coreaudio do not use the CoreAudio sound support
2256 --without-cups do not use CUPS
2257 --without-curses do not use (n)curses
2258 --without-dbus do not use DBus (dynamic device support)
2259 --without-fontconfig do not use fontconfig
2260 --without-freetype do not use the FreeType library
2261 --without-gettext do not use gettext
2262 --with-gettextpo use the GetTextPO library to rebuild po files
2263 --without-gphoto do not use gphoto (Digital Camera support)
2264 --without-glu do not use the GLU library
2265 --without-gnutls do not use GnuTLS (schannel support)
2266 --without-gsm do not use libgsm (GSM 06.10 codec support)
2267 --without-gstreamer do not use GStreamer (codecs support)
2268 --without-hal do not use HAL (dynamic device support)
2269 --without-jpeg do not use JPEG
2270 --without-ldap do not use LDAP
2271 --without-mpg123 do not use the mpg123 library
2272 --without-netapi do not use the Samba NetAPI library
2273 --without-openal do not use OpenAL
2274 --without-opencl do not use OpenCL
2275 --without-opengl do not use OpenGL
2276 --without-osmesa do not use the OSMesa library
2277 --without-oss do not use the OSS sound support
2278 --without-pcap do not use the Packet Capture library
2279 --without-png do not use PNG
2280 --without-pthread do not use the pthread library
2281 --without-pulse do not use PulseAudio sound support
2282 --without-sane do not use SANE (scanner support)
2283 --without-tiff do not use TIFF
2284 --without-udev do not use udev (plug and play support)
2285 --without-v4l do not use v4l1 (v4l support)
2286 --without-xcomposite do not use the Xcomposite extension
2287 --without-xcursor do not use the Xcursor extension
2288 --without-xinerama do not use Xinerama (multi-monitor support)
2289 --without-xinput do not use the Xinput extension
2290 --without-xinput2 do not use the Xinput 2 extension
2291 --without-xml do not use XML
2292 --without-xrandr do not use Xrandr (resolution changes)
2293 --without-xrender do not use the Xrender extension
2294 --without-xshape do not use the Xshape extension
2295 --without-xshm do not use XShm (shared memory extension)
2296 --without-xslt do not use XSLT
2297 --without-xxf86vm do not use XFree video mode extension
2298 --without-zlib do not use Zlib (data compression)
2299 --with-wine-tools=DIR use Wine tools from directory DIR
2300 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2301 --with-x use the X Window System
2303 Some influential environment variables:
2304 CC C compiler command
2305 CFLAGS C compiler flags
2306 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2307 nonstandard directory <lib dir>
2308 LIBS libraries to pass to the linker, e.g. -l<library>
2309 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2310 you have headers in a nonstandard directory <include dir>
2311 CXX C++ compiler command
2312 CXXFLAGS C++ compiler flags
2314 XMKMF Path to xmkmf, Makefile generator for X Window System
2315 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2316 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2317 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2318 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2319 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2320 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2321 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2322 HAL_LIBS Linker flags for hal, overriding pkg-config
2324 C compiler flags for gnutls, overriding pkg-config
2325 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2326 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2327 SANE_LIBS Linker flags for libsane, overriding pkg-config
2329 C compiler flags for libgphoto2, overriding pkg-config
2331 Linker flags for libgphoto2, overriding pkg-config
2333 C compiler flags for libgphoto2_port, overriding pkg-config
2335 Linker flags for libgphoto2_port, overriding pkg-config
2337 C compiler flags for lcms2, overriding pkg-config
2338 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2340 C compiler flags for freetype2, overriding pkg-config
2342 Linker flags for freetype2, overriding pkg-config
2344 C compiler flags for libpulse, overriding pkg-config
2345 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2347 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2348 gstreamer-audio-1.0, overriding pkg-config
2350 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2351 gstreamer-audio-1.0, overriding pkg-config
2352 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2353 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2355 C compiler flags for capi20, overriding pkg-config
2356 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2358 C compiler flags for fontconfig, overriding pkg-config
2360 Linker flags for fontconfig, overriding pkg-config
2361 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2362 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2363 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2364 PNG_LIBS Linker flags for libpng, overriding pkg-config
2365 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2366 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2368 C compiler flags for libmpg123, overriding pkg-config
2369 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2371 C compiler flags for netapi, overriding pkg-config
2372 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2374 Use these variables to override the choices made by `configure' or to
help
2375 it to
find libraries and programs with nonstandard names
/locations.
2377 Report bugs to
<wine-devel@winehq.org
>.
2378 Wine home page
: <http
://www.winehq.org
>.
2383 if test "$ac_init_help" = "recursive"; then
2384 # If there are subdirs, report their specific --help.
2385 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2386 test -d "$ac_dir" ||
2387 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2392 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2394 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2395 # A ".." for each directory in $ac_dir_suffix.
2396 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2397 case $ac_top_builddir_sub in
2398 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2399 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2402 ac_abs_top_builddir
=$ac_pwd
2403 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2404 # for backward compatibility:
2405 ac_top_builddir
=$ac_top_build_prefix
2408 .
) # We are building in place.
2410 ac_top_srcdir
=$ac_top_builddir_sub
2411 ac_abs_top_srcdir
=$ac_pwd ;;
2412 [\\/]* | ?
:[\\/]* ) # Absolute name.
2413 ac_srcdir
=$srcdir$ac_dir_suffix;
2414 ac_top_srcdir
=$srcdir
2415 ac_abs_top_srcdir
=$srcdir ;;
2417 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2418 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2419 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2421 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2423 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2424 # Check for guested configure.
2425 if test -f "$ac_srcdir/configure.gnu"; then
2427 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2428 elif test -f "$ac_srcdir/configure"; then
2430 $SHELL "$ac_srcdir/configure" --help=recursive
2432 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2434 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2438 test -n "$ac_init_help" && exit $ac_status
2439 if $ac_init_version; then
2441 Wine configure
1.9.18
2442 generated by GNU Autoconf
2.69
2444 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2445 This configure
script is free software
; the Free Software Foundation
2446 gives unlimited permission to copy
, distribute and modify it.
2451 ## ------------------------ ##
2452 ## Autoconf initialization. ##
2453 ## ------------------------ ##
2455 # ac_fn_c_try_compile LINENO
2456 # --------------------------
2457 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2458 ac_fn_c_try_compile
()
2460 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2461 rm -f conftest.
$ac_objext
2462 if { { ac_try
="$ac_compile"
2464 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2465 *) ac_try_echo=$ac_try;;
2467 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2468 $as_echo "$ac_try_echo"; } >&5
2469 (eval "$ac_compile") 2>conftest.err
2471 if test -s conftest.err; then
2472 grep -v '^ *+' conftest.err >conftest.er1
2473 cat conftest.er1 >&5
2474 mv -f conftest.er1 conftest.err
2476 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2477 test $ac_status = 0; } && {
2478 test -z "$ac_c_werror_flag" ||
2479 test ! -s conftest.err
2480 } && test -s conftest.$ac_objext; then :
2483 $as_echo "$as_me: failed program was:" >&5
2484 sed 's/^/| /' conftest.$ac_ext >&5
2488 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2489 as_fn_set_status $ac_retval
2491 } # ac_fn_c_try_compile
2493 # ac_fn_cxx_try_compile LINENO
2494 # ----------------------------
2495 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2496 ac_fn_cxx_try_compile ()
2498 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2499 rm -f conftest.$ac_objext
2500 if { { ac_try="$ac_compile"
2502 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2503 *) ac_try_echo
=$ac_try;;
2505 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2506 $as_echo "$ac_try_echo"; } >&5
2507 (eval "$ac_compile") 2>conftest.err
2509 if test -s conftest.err
; then
2510 grep -v '^ *+' conftest.err
>conftest.er1
2511 cat conftest.er1
>&5
2512 mv -f conftest.er1 conftest.err
2514 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2515 test $ac_status = 0; } && {
2516 test -z "$ac_cxx_werror_flag" ||
2517 test ! -s conftest.err
2518 } && test -s conftest.
$ac_objext; then :
2521 $as_echo "$as_me: failed program was:" >&5
2522 sed 's/^/| /' conftest.
$ac_ext >&5
2526 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2527 as_fn_set_status
$ac_retval
2529 } # ac_fn_cxx_try_compile
2531 # ac_fn_c_try_link LINENO
2532 # -----------------------
2533 # Try to link conftest.$ac_ext, and return whether this succeeded.
2536 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2537 rm -f conftest.
$ac_objext conftest
$ac_exeext
2538 if { { ac_try
="$ac_link"
2540 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2541 *) ac_try_echo=$ac_try;;
2543 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2544 $as_echo "$ac_try_echo"; } >&5
2545 (eval "$ac_link") 2>conftest.err
2547 if test -s conftest.err; then
2548 grep -v '^ *+' conftest.err >conftest.er1
2549 cat conftest.er1 >&5
2550 mv -f conftest.er1 conftest.err
2552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2553 test $ac_status = 0; } && {
2554 test -z "$ac_c_werror_flag" ||
2555 test ! -s conftest.err
2556 } && test -s conftest$ac_exeext && {
2557 test "$cross_compiling" = yes ||
2558 test -x conftest$ac_exeext
2562 $as_echo "$as_me: failed program was:" >&5
2563 sed 's/^/| /' conftest.$ac_ext >&5
2567 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2568 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2569 # interfere with the next link command; also delete a directory that is
2570 # left behind by Apple's compiler. We do this before executing the actions.
2571 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2572 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2573 as_fn_set_status $ac_retval
2575 } # ac_fn_c_try_link
2577 # ac_fn_c_try_cpp LINENO
2578 # ----------------------
2579 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2582 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2583 if { { ac_try="$ac_cpp conftest.$ac_ext"
2585 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2586 *) ac_try_echo
=$ac_try;;
2588 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2589 $as_echo "$ac_try_echo"; } >&5
2590 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2592 if test -s conftest.err
; then
2593 grep -v '^ *+' conftest.err
>conftest.er1
2594 cat conftest.er1
>&5
2595 mv -f conftest.er1 conftest.err
2597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2598 test $ac_status = 0; } > conftest.i
&& {
2599 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2600 test ! -s conftest.err
2604 $as_echo "$as_me: failed program was:" >&5
2605 sed 's/^/| /' conftest.
$ac_ext >&5
2609 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2610 as_fn_set_status
$ac_retval
2614 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2615 # -------------------------------------------------------
2616 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2617 # the include files in INCLUDES and setting the cache variable VAR
2619 ac_fn_c_check_header_mongrel
()
2621 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2622 if eval \
${$3+:} false
; then :
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2624 $as_echo_n "checking for $2... " >&6; }
2625 if eval \
${$3+:} false
; then :
2626 $as_echo_n "(cached) " >&6
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2630 $as_echo "$ac_res" >&6; }
2632 # Is the header compilable?
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2634 $as_echo_n "checking $2 usability... " >&6; }
2635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2636 /* end confdefs.h. */
2640 if ac_fn_c_try_compile
"$LINENO"; then :
2641 ac_header_compiler
=yes
2643 ac_header_compiler
=no
2645 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2647 $as_echo "$ac_header_compiler" >&6; }
2649 # Is the header present?
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2651 $as_echo_n "checking $2 presence... " >&6; }
2652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2653 /* end confdefs.h. */
2656 if ac_fn_c_try_cpp
"$LINENO"; then :
2657 ac_header_preproc
=yes
2659 ac_header_preproc
=no
2661 rm -f conftest.err conftest.i conftest.
$ac_ext
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2663 $as_echo "$ac_header_preproc" >&6; }
2665 # So? What about this header?
2666 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2669 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2671 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2675 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2677 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2679 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2681 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2683 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2684 ( $as_echo "## ------------------------------------ ##
2685 ## Report this to wine-devel@winehq.org ##
2686 ## ------------------------------------ ##"
2687 ) |
sed "s/^/$as_me: WARNING: /" >&2
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2691 $as_echo_n "checking for $2... " >&6; }
2692 if eval \
${$3+:} false
; then :
2693 $as_echo_n "(cached) " >&6
2695 eval "$3=\$ac_header_compiler"
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2699 $as_echo "$ac_res" >&6; }
2701 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2703 } # ac_fn_c_check_header_mongrel
2705 # ac_fn_c_try_run LINENO
2706 # ----------------------
2707 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2708 # that executables *can* be run.
2711 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2712 if { { ac_try
="$ac_link"
2714 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2715 *) ac_try_echo=$ac_try;;
2717 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2718 $as_echo "$ac_try_echo"; } >&5
2719 (eval "$ac_link") 2>&5
2721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2722 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2723 { { case "(($ac_try" in
2724 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2725 *) ac_try_echo
=$ac_try;;
2727 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2728 $as_echo "$ac_try_echo"; } >&5
2729 (eval "$ac_try") 2>&5
2731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2732 test $ac_status = 0; }; }; then :
2735 $as_echo "$as_me: program exited with status $ac_status" >&5
2736 $as_echo "$as_me: failed program was:" >&5
2737 sed 's/^/| /' conftest.
$ac_ext >&5
2739 ac_retval
=$ac_status
2741 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2742 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2743 as_fn_set_status
$ac_retval
2747 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2748 # -------------------------------------------------------
2749 # Tests whether HEADER exists and can be compiled using the include files in
2750 # INCLUDES, setting the cache variable VAR accordingly.
2751 ac_fn_c_check_header_compile
()
2753 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2755 $as_echo_n "checking for $2... " >&6; }
2756 if eval \
${$3+:} false
; then :
2757 $as_echo_n "(cached) " >&6
2759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2760 /* end confdefs.h. */
2764 if ac_fn_c_try_compile
"$LINENO"; then :
2769 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2773 $as_echo "$ac_res" >&6; }
2774 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2776 } # ac_fn_c_check_header_compile
2778 # ac_fn_c_check_func LINENO FUNC VAR
2779 # ----------------------------------
2780 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2781 ac_fn_c_check_func
()
2783 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2785 $as_echo_n "checking for $2... " >&6; }
2786 if eval \
${$3+:} false
; then :
2787 $as_echo_n "(cached) " >&6
2789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2790 /* end confdefs.h. */
2791 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2793 #define $2 innocuous_$2
2795 /* System header to define __stub macros and hopefully few prototypes,
2796 which can conflict with char $2 (); below.
2797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2798 <limits.h> exists even on freestanding compilers. */
2801 # include <limits.h>
2803 # include <assert.h>
2808 /* Override any GCC internal prototype to avoid an error.
2809 Use char because int might match the return type of a GCC
2810 builtin and then its argument prototype would still apply. */
2815 /* The GNU C library defines this for functions which it implements
2816 to always fail with ENOSYS. Some functions are actually named
2817 something starting with __ and the normal name is an alias. */
2818 #if defined __stub_$2 || defined __stub___$2
2830 if ac_fn_c_try_link
"$LINENO"; then :
2835 rm -f core conftest.err conftest.
$ac_objext \
2836 conftest
$ac_exeext conftest.
$ac_ext
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2840 $as_echo "$ac_res" >&6; }
2841 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2843 } # ac_fn_c_check_func
2845 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2846 # ----------------------------------------------------
2847 # Tries to find if the field MEMBER exists in type AGGR, after including
2848 # INCLUDES, setting cache variable VAR accordingly.
2849 ac_fn_c_check_member
()
2851 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2853 $as_echo_n "checking for $2.$3... " >&6; }
2854 if eval \
${$4+:} false
; then :
2855 $as_echo_n "(cached) " >&6
2857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2858 /* end confdefs.h. */
2870 if ac_fn_c_try_compile
"$LINENO"; then :
2873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2874 /* end confdefs.h. */
2880 if (sizeof ac_aggr.$3)
2886 if ac_fn_c_try_compile
"$LINENO"; then :
2891 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2893 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2897 $as_echo "$ac_res" >&6; }
2898 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2900 } # ac_fn_c_check_member
2902 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2903 # -------------------------------------------
2904 # Tests whether TYPE exists after having included INCLUDES, setting cache
2905 # variable VAR accordingly.
2906 ac_fn_c_check_type
()
2908 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2910 $as_echo_n "checking for $2... " >&6; }
2911 if eval \
${$3+:} false
; then :
2912 $as_echo_n "(cached) " >&6
2915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2916 /* end confdefs.h. */
2927 if ac_fn_c_try_compile
"$LINENO"; then :
2928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2929 /* end confdefs.h. */
2940 if ac_fn_c_try_compile
"$LINENO"; then :
2945 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2947 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2951 $as_echo "$ac_res" >&6; }
2952 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2954 } # ac_fn_c_check_type
2955 cat >config.log
<<_ACEOF
2956 This file contains any messages produced by compilers while
2957 running configure, to aid debugging if configure makes a mistake.
2959 It was created by Wine $as_me 1.9.18, which was
2960 generated by GNU Autoconf 2.69. Invocation command line was
2972 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2973 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2974 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2975 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2976 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2978 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2979 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2981 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2982 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2983 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2984 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2985 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2986 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2987 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2991 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2995 test -z "$as_dir" && as_dir
=.
2996 $as_echo "PATH: $as_dir"
3012 # Keep a trace of the command line.
3013 # Strip out --no-create and --no-recursion so they do not pile up.
3014 # Strip out --silent because we don't want to record it for future runs.
3015 # Also quote any args containing shell meta-characters.
3016 # Make two passes to allow for proper duplicate-argument suppression.
3020 ac_must_keep_next
=false
3026 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
3027 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
3028 |
-silent |
--silent |
--silen |
--sile |
--sil)
3031 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3034 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
3036 as_fn_append ac_configure_args1
" '$ac_arg'"
3037 if test $ac_must_keep_next = true
; then
3038 ac_must_keep_next
=false
# Got value, back to normal.
3041 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
3042 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
3043 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
3044 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
3045 case "$ac_configure_args0 " in
3046 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3049 -* ) ac_must_keep_next
=true
;;
3052 as_fn_append ac_configure_args
" '$ac_arg'"
3057 { ac_configure_args0
=; unset ac_configure_args0
;}
3058 { ac_configure_args1
=; unset ac_configure_args1
;}
3060 # When interrupted or exit'd, cleanup temporary files, and complete
3061 # config.log. We remove comments because anyway the quotes in there
3062 # would cause problems or look ugly.
3063 # WARNING: Use '\'' to represent an apostrophe within the trap.
3064 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3065 trap 'exit_status=$?
3066 # Save into config.log some information that might help in debugging.
3070 $as_echo "## ---------------- ##
3071 ## Cache variables. ##
3072 ## ---------------- ##"
3074 # The following way of writing the cache mishandles newlines in values,
3076 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3077 eval ac_val=\$$ac_var
3081 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3082 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3085 _ | IFS | as_nl) ;; #(
3086 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3087 *) { eval $ac_var=; unset $ac_var;} ;;
3092 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3093 *${as_nl}ac_space=\ *)
3095 "s/'\''/'\''\\\\'\'''\''/g;
3096 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3099 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3106 $as_echo "## ----------------- ##
3107 ## Output variables. ##
3108 ## ----------------- ##"
3110 for ac_var in $ac_subst_vars
3112 eval ac_val=\$$ac_var
3114 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3116 $as_echo "$ac_var='\''$ac_val'\''"
3120 if test -n "$ac_subst_files"; then
3121 $as_echo "## ------------------- ##
3122 ## File substitutions. ##
3123 ## ------------------- ##"
3125 for ac_var
in $ac_subst_files
3127 eval ac_val
=\$
$ac_var
3129 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3131 $as_echo "$ac_var='\''$ac_val'\''"
3136 if test -s confdefs.h; then
3137 $as_echo "## ----------- ##
3144 test "$ac_signal" != 0 &&
3145 $as_echo "$as_me: caught signal $ac_signal"
3146 $as_echo "$as_me: exit $exit_status"
3148 rm -f core *.core core.conftest.* &&
3149 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3152 for ac_signal
in 1 2 13 15; do
3153 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3157 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3158 rm -f -r conftest
* confdefs.h
3160 $as_echo "/* confdefs.h */" > confdefs.h
3162 # Predefined preprocessor variables.
3164 cat >>confdefs.h
<<_ACEOF
3165 #define PACKAGE_NAME "$PACKAGE_NAME"
3168 cat >>confdefs.h
<<_ACEOF
3169 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3172 cat >>confdefs.h
<<_ACEOF
3173 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3176 cat >>confdefs.h
<<_ACEOF
3177 #define PACKAGE_STRING "$PACKAGE_STRING"
3180 cat >>confdefs.h
<<_ACEOF
3181 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3184 cat >>confdefs.h
<<_ACEOF
3185 #define PACKAGE_URL "$PACKAGE_URL"
3189 # Let the site file select an alternate cache file if it wants to.
3190 # Prefer an explicitly selected file to automatically selected ones.
3193 if test -n "$CONFIG_SITE"; then
3194 # We do not want a PATH search for config.site.
3195 case $CONFIG_SITE in #((
3196 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3197 */*) ac_site_file1
=$CONFIG_SITE;;
3198 *) ac_site_file1
=.
/$CONFIG_SITE;;
3200 elif test "x$prefix" != xNONE
; then
3201 ac_site_file1
=$prefix/share
/config.site
3202 ac_site_file2
=$prefix/etc
/config.site
3204 ac_site_file1
=$ac_default_prefix/share
/config.site
3205 ac_site_file2
=$ac_default_prefix/etc
/config.site
3207 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3209 test "x$ac_site_file" = xNONE
&& continue
3210 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3212 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3213 sed 's/^/| /' "$ac_site_file" >&5
3215 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3216 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3217 as_fn_error $?
"failed to load site script $ac_site_file
3218 See \`config.log' for more details" "$LINENO" 5; }
3222 if test -r "$cache_file"; then
3223 # Some versions of bash will fail to source /dev/null (special files
3224 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3225 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3227 $as_echo "$as_me: loading cache $cache_file" >&6;}
3229 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3230 *) .
"./$cache_file";;
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3235 $as_echo "$as_me: creating cache $cache_file" >&6;}
3239 # Check that the precious variables saved in the cache have kept the same
3241 ac_cache_corrupted
=false
3242 for ac_var
in $ac_precious_vars; do
3243 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3244 eval ac_new_set
=\
$ac_env_${ac_var}_set
3245 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3246 eval ac_new_val
=\
$ac_env_${ac_var}_value
3247 case $ac_old_set,$ac_new_set in
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3250 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3251 ac_cache_corrupted
=: ;;
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3254 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3255 ac_cache_corrupted
=: ;;
3258 if test "x$ac_old_val" != "x$ac_new_val"; then
3259 # differences in whitespace do not lead to failure.
3260 ac_old_val_w
=`echo x $ac_old_val`
3261 ac_new_val_w
=`echo x $ac_new_val`
3262 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3264 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3265 ac_cache_corrupted
=:
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3268 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3269 eval $ac_var=\
$ac_old_val
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3272 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3274 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3277 # Pass precious variables to config.status.
3278 if test "$ac_new_set" = set; then
3280 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3281 *) ac_arg
=$ac_var=$ac_new_val ;;
3283 case " $ac_configure_args " in
3284 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3285 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3289 if $ac_cache_corrupted; then
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3291 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3293 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3294 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3296 ## -------------------- ##
3297 ## Main body of script. ##
3298 ## -------------------- ##
3301 ac_cpp
='$CPP $CPPFLAGS'
3302 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3303 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3304 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3308 ac_config_headers
="$ac_config_headers include/config.h"
3311 for ac_dir
in tools
"$srcdir"/tools
; do
3312 if test -f "$ac_dir/install-sh"; then
3314 ac_install_sh
="$ac_aux_dir/install-sh -c"
3316 elif test -f "$ac_dir/install.sh"; then
3318 ac_install_sh
="$ac_aux_dir/install.sh -c"
3320 elif test -f "$ac_dir/shtool"; then
3322 ac_install_sh
="$ac_aux_dir/shtool install -c"
3326 if test -z "$ac_aux_dir"; then
3327 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3330 # These three variables are undocumented and unsupported,
3331 # and are intended to be withdrawn in a future Autoconf release.
3332 # They can cause serious problems if a builder's source tree is in a directory
3333 # whose full name contains unusual characters.
3334 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3335 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3336 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3340 libwine_version
="1.0"
3344 # Check whether --enable-win16 was given.
3345 if test "${enable_win16+set}" = set; then :
3346 enableval
=$enable_win16;
3349 # Check whether --enable-win64 was given.
3350 if test "${enable_win64+set}" = set; then :
3351 enableval
=$enable_win64;
3354 # Check whether --enable-tests was given.
3355 if test "${enable_tests+set}" = set; then :
3356 enableval
=$enable_tests;
3359 # Check whether --enable-maintainer-mode was given.
3360 if test "${enable_maintainer_mode+set}" = set; then :
3361 enableval
=$enable_maintainer_mode;
3366 # Check whether --with-alsa was given.
3367 if test "${with_alsa+set}" = set; then :
3368 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3372 # Check whether --with-capi was given.
3373 if test "${with_capi+set}" = set; then :
3378 # Check whether --with-cms was given.
3379 if test "${with_cms+set}" = set; then :
3384 # Check whether --with-coreaudio was given.
3385 if test "${with_coreaudio+set}" = set; then :
3386 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3390 # Check whether --with-cups was given.
3391 if test "${with_cups+set}" = set; then :
3396 # Check whether --with-curses was given.
3397 if test "${with_curses+set}" = set; then :
3398 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3402 # Check whether --with-dbus was given.
3403 if test "${with_dbus+set}" = set; then :
3408 # Check whether --with-fontconfig was given.
3409 if test "${with_fontconfig+set}" = set; then :
3410 withval
=$with_fontconfig;
3414 # Check whether --with-freetype was given.
3415 if test "${with_freetype+set}" = set; then :
3416 withval
=$with_freetype;
3420 # Check whether --with-gettext was given.
3421 if test "${with_gettext+set}" = set; then :
3422 withval
=$with_gettext;
3426 # Check whether --with-gettextpo was given.
3427 if test "${with_gettextpo+set}" = set; then :
3428 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3432 # Check whether --with-gphoto was given.
3433 if test "${with_gphoto+set}" = set; then :
3434 withval
=$with_gphoto;
3438 # Check whether --with-glu was given.
3439 if test "${with_glu+set}" = set; then :
3444 # Check whether --with-gnutls was given.
3445 if test "${with_gnutls+set}" = set; then :
3446 withval
=$with_gnutls;
3450 # Check whether --with-gsm was given.
3451 if test "${with_gsm+set}" = set; then :
3452 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3456 # Check whether --with-gstreamer was given.
3457 if test "${with_gstreamer+set}" = set; then :
3458 withval
=$with_gstreamer;
3462 # Check whether --with-hal was given.
3463 if test "${with_hal+set}" = set; then :
3468 # Check whether --with-jpeg was given.
3469 if test "${with_jpeg+set}" = set; then :
3474 # Check whether --with-ldap was given.
3475 if test "${with_ldap+set}" = set; then :
3476 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3480 # Check whether --with-mpg123 was given.
3481 if test "${with_mpg123+set}" = set; then :
3482 withval
=$with_mpg123;
3486 # Check whether --with-netapi was given.
3487 if test "${with_netapi+set}" = set; then :
3488 withval
=$with_netapi;
3492 # Check whether --with-openal was given.
3493 if test "${with_openal+set}" = set; then :
3494 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3498 # Check whether --with-opencl was given.
3499 if test "${with_opencl+set}" = set; then :
3500 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3504 # Check whether --with-opengl was given.
3505 if test "${with_opengl+set}" = set; then :
3506 withval
=$with_opengl;
3510 # Check whether --with-osmesa was given.
3511 if test "${with_osmesa+set}" = set; then :
3512 withval
=$with_osmesa;
3516 # Check whether --with-oss was given.
3517 if test "${with_oss+set}" = set; then :
3522 # Check whether --with-pcap was given.
3523 if test "${with_pcap+set}" = set; then :
3524 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3528 # Check whether --with-png was given.
3529 if test "${with_png+set}" = set; then :
3534 # Check whether --with-pthread was given.
3535 if test "${with_pthread+set}" = set; then :
3536 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3540 # Check whether --with-pulse was given.
3541 if test "${with_pulse+set}" = set; then :
3542 withval
=$with_pulse;
3546 # Check whether --with-sane was given.
3547 if test "${with_sane+set}" = set; then :
3552 # Check whether --with-tiff was given.
3553 if test "${with_tiff+set}" = set; then :
3558 # Check whether --with-udev was given.
3559 if test "${with_udev+set}" = set; then :
3564 # Check whether --with-v4l was given.
3565 if test "${with_v4l+set}" = set; then :
3570 # Check whether --with-xcomposite was given.
3571 if test "${with_xcomposite+set}" = set; then :
3572 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3576 # Check whether --with-xcursor was given.
3577 if test "${with_xcursor+set}" = set; then :
3578 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3582 # Check whether --with-xinerama was given.
3583 if test "${with_xinerama+set}" = set; then :
3584 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3588 # Check whether --with-xinput was given.
3589 if test "${with_xinput+set}" = set; then :
3590 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3594 # Check whether --with-xinput2 was given.
3595 if test "${with_xinput2+set}" = set; then :
3596 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3600 # Check whether --with-xml was given.
3601 if test "${with_xml+set}" = set; then :
3606 # Check whether --with-xrandr was given.
3607 if test "${with_xrandr+set}" = set; then :
3608 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3612 # Check whether --with-xrender was given.
3613 if test "${with_xrender+set}" = set; then :
3614 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3618 # Check whether --with-xshape was given.
3619 if test "${with_xshape+set}" = set; then :
3620 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3624 # Check whether --with-xshm was given.
3625 if test "${with_xshm+set}" = set; then :
3626 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3630 # Check whether --with-xslt was given.
3631 if test "${with_xslt+set}" = set; then :
3636 # Check whether --with-xxf86vm was given.
3637 if test "${with_xxf86vm+set}" = set; then :
3638 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
3642 # Check whether --with-zlib was given.
3643 if test "${with_zlib+set}" = set; then :
3644 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3649 # Check whether --with-wine-tools was given.
3650 if test "${with_wine_tools+set}" = set; then :
3651 withval
=$with_wine_tools;
3655 # Check whether --with-wine64 was given.
3656 if test "${with_wine64+set}" = set; then :
3657 withval
=$with_wine64;
3661 # Make sure we can run config.sub.
3662 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3663 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3666 $as_echo_n "checking build system type... " >&6; }
3667 if ${ac_cv_build+:} false
; then :
3668 $as_echo_n "(cached) " >&6
3670 ac_build_alias
=$build_alias
3671 test "x$ac_build_alias" = x
&&
3672 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3673 test "x$ac_build_alias" = x
&&
3674 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3675 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3676 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3680 $as_echo "$ac_cv_build" >&6; }
3681 case $ac_cv_build in
3683 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3686 ac_save_IFS
=$IFS; IFS
='-'
3692 # Remember, the first character of IFS is used to create $*,
3693 # except with old shells:
3696 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3700 $as_echo_n "checking host system type... " >&6; }
3701 if ${ac_cv_host+:} false
; then :
3702 $as_echo_n "(cached) " >&6
3704 if test "x$host_alias" = x
; then
3705 ac_cv_host
=$ac_cv_build
3707 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3708 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3713 $as_echo "$ac_cv_host" >&6; }
3716 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3719 ac_save_IFS
=$IFS; IFS
='-'
3725 # Remember, the first character of IFS is used to create $*,
3726 # except with old shells:
3729 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3735 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3736 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3737 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3743 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3745 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3746 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3747 $as_echo_n "(cached) " >&6
3749 cat >conftest.
make <<\_ACEOF
3752 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3754 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3755 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3757 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3759 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3763 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3765 $as_echo "yes" >&6; }
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3769 $as_echo "no" >&6; }
3770 SET_MAKE
="MAKE=${MAKE-make}"
3774 ac_cpp
='$CPP $CPPFLAGS'
3775 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3776 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3777 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3778 if test -n "$ac_tool_prefix"; then
3779 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3780 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3782 $as_echo_n "checking for $ac_word... " >&6; }
3783 if ${ac_cv_prog_CC+:} false
; then :
3784 $as_echo_n "(cached) " >&6
3786 if test -n "$CC"; then
3787 ac_cv_prog_CC
="$CC" # Let the user override the test.
3789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3793 test -z "$as_dir" && as_dir
=.
3794 for ac_exec_ext
in '' $ac_executable_extensions; do
3795 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3796 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3807 if test -n "$CC"; then
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3809 $as_echo "$CC" >&6; }
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3812 $as_echo "no" >&6; }
3817 if test -z "$ac_cv_prog_CC"; then
3819 # Extract the first word of "gcc", so it can be a program name with args.
3820 set dummy gcc
; ac_word
=$2
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3822 $as_echo_n "checking for $ac_word... " >&6; }
3823 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3824 $as_echo_n "(cached) " >&6
3826 if test -n "$ac_ct_CC"; then
3827 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3829 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3833 test -z "$as_dir" && as_dir
=.
3834 for ac_exec_ext
in '' $ac_executable_extensions; do
3835 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3836 ac_cv_prog_ac_ct_CC
="gcc"
3837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3846 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3847 if test -n "$ac_ct_CC"; then
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3849 $as_echo "$ac_ct_CC" >&6; }
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3852 $as_echo "no" >&6; }
3855 if test "x$ac_ct_CC" = x
; then
3858 case $cross_compiling:$ac_tool_warned in
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3861 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3862 ac_tool_warned
=yes ;;
3870 if test -z "$CC"; then
3871 if test -n "$ac_tool_prefix"; then
3872 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3873 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3875 $as_echo_n "checking for $ac_word... " >&6; }
3876 if ${ac_cv_prog_CC+:} false
; then :
3877 $as_echo_n "(cached) " >&6
3879 if test -n "$CC"; then
3880 ac_cv_prog_CC
="$CC" # Let the user override the test.
3882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3886 test -z "$as_dir" && as_dir
=.
3887 for ac_exec_ext
in '' $ac_executable_extensions; do
3888 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3889 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3900 if test -n "$CC"; then
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3902 $as_echo "$CC" >&6; }
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3905 $as_echo "no" >&6; }
3911 if test -z "$CC"; then
3912 # Extract the first word of "cc", so it can be a program name with args.
3913 set dummy cc
; ac_word
=$2
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3915 $as_echo_n "checking for $ac_word... " >&6; }
3916 if ${ac_cv_prog_CC+:} false
; then :
3917 $as_echo_n "(cached) " >&6
3919 if test -n "$CC"; then
3920 ac_cv_prog_CC
="$CC" # Let the user override the test.
3923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3927 test -z "$as_dir" && as_dir
=.
3928 for ac_exec_ext
in '' $ac_executable_extensions; do
3929 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3930 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3931 ac_prog_rejected
=yes
3935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3942 if test $ac_prog_rejected = yes; then
3943 # We found a bogon in the path, so make sure we never use it.
3944 set dummy
$ac_cv_prog_CC
3946 if test $# != 0; then
3947 # We chose a different compiler from the bogus one.
3948 # However, it has the same basename, so the bogon will be chosen
3949 # first if we set CC to just the basename; use the full file name.
3951 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3957 if test -n "$CC"; then
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3959 $as_echo "$CC" >&6; }
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3962 $as_echo "no" >&6; }
3967 if test -z "$CC"; then
3968 if test -n "$ac_tool_prefix"; then
3969 for ac_prog
in cl.exe
3971 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3972 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3974 $as_echo_n "checking for $ac_word... " >&6; }
3975 if ${ac_cv_prog_CC+:} false
; then :
3976 $as_echo_n "(cached) " >&6
3978 if test -n "$CC"; then
3979 ac_cv_prog_CC
="$CC" # Let the user override the test.
3981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3985 test -z "$as_dir" && as_dir
=.
3986 for ac_exec_ext
in '' $ac_executable_extensions; do
3987 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3988 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3999 if test -n "$CC"; then
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4001 $as_echo "$CC" >&6; }
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4004 $as_echo "no" >&6; }
4008 test -n "$CC" && break
4011 if test -z "$CC"; then
4013 for ac_prog
in cl.exe
4015 # Extract the first word of "$ac_prog", so it can be a program name with args.
4016 set dummy
$ac_prog; ac_word
=$2
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4018 $as_echo_n "checking for $ac_word... " >&6; }
4019 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4020 $as_echo_n "(cached) " >&6
4022 if test -n "$ac_ct_CC"; then
4023 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4025 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4029 test -z "$as_dir" && as_dir
=.
4030 for ac_exec_ext
in '' $ac_executable_extensions; do
4031 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4032 ac_cv_prog_ac_ct_CC
="$ac_prog"
4033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4042 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4043 if test -n "$ac_ct_CC"; then
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4045 $as_echo "$ac_ct_CC" >&6; }
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4048 $as_echo "no" >&6; }
4052 test -n "$ac_ct_CC" && break
4055 if test "x$ac_ct_CC" = x
; then
4058 case $cross_compiling:$ac_tool_warned in
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4061 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4062 ac_tool_warned
=yes ;;
4071 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4072 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4073 as_fn_error $?
"no acceptable C compiler found in \$PATH
4074 See \`config.log' for more details" "$LINENO" 5; }
4076 # Provide some information about the compiler.
4077 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4080 for ac_option
in --version -v -V -qversion; do
4081 { { ac_try
="$ac_compiler $ac_option >&5"
4083 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4084 *) ac_try_echo=$ac_try;;
4086 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4087 $as_echo "$ac_try_echo"; } >&5
4088 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4090 if test -s conftest.err; then
4092 ... rest of stderr output deleted ...
4093 10q' conftest.err >conftest.er1
4094 cat conftest.er1 >&5
4096 rm -f conftest.er1 conftest.err
4097 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4098 test $ac_status = 0; }
4101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4102 /* end confdefs.h. */
4112 ac_clean_files_save=$ac_clean_files
4113 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4114 # Try to create an executable without -o first, disregard a.out.
4115 # It will help us diagnose broken compilers, and finding out an intuition
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4118 $as_echo_n "checking whether the C compiler works... " >&6; }
4119 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4121 # The possible output files:
4122 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4125 for ac_file in $ac_files
4128 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4129 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4134 if { { ac_try="$ac_link_default"
4136 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4137 *) ac_try_echo
=$ac_try;;
4139 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4140 $as_echo "$ac_try_echo"; } >&5
4141 (eval "$ac_link_default") 2>&5
4143 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4144 test $ac_status = 0; }; then :
4145 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4146 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4147 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4148 # so that the user can short-circuit this test for compilers unknown to
4150 for ac_file
in $ac_files ''
4152 test -f "$ac_file" ||
continue
4154 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4157 # We found the default executable, but exeext='' is most
4161 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4163 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4165 # We set ac_cv_exeext here because the later test for it is not
4166 # safe: cross compilers may not add the suffix if given an `-o'
4167 # argument, so we may need to know it at that point already.
4168 # Even if this section looks crufty: it has the advantage of
4175 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4180 if test -z "$ac_file"; then :
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4182 $as_echo "no" >&6; }
4183 $as_echo "$as_me: failed program was:" >&5
4184 sed 's/^/| /' conftest.
$ac_ext >&5
4186 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4187 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4188 as_fn_error
77 "C compiler cannot create executables
4189 See \`config.log' for more details" "$LINENO" 5; }
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4192 $as_echo "yes" >&6; }
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4195 $as_echo_n "checking for C compiler default output file name... " >&6; }
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4197 $as_echo "$ac_file" >&6; }
4198 ac_exeext
=$ac_cv_exeext
4200 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4201 ac_clean_files
=$ac_clean_files_save
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4203 $as_echo_n "checking for suffix of executables... " >&6; }
4204 if { { ac_try
="$ac_link"
4206 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4207 *) ac_try_echo=$ac_try;;
4209 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4210 $as_echo "$ac_try_echo"; } >&5
4211 (eval "$ac_link") 2>&5
4213 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4214 test $ac_status = 0; }; then :
4215 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4216 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4217 # work properly (i.e., refer to `conftest.exe'), while it won't with
4219 for ac_file
in conftest.exe conftest conftest.
*; do
4220 test -f "$ac_file" ||
continue
4222 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4223 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4229 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4230 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4231 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4232 See \`config.log' for more details" "$LINENO" 5; }
4234 rm -f conftest conftest
$ac_cv_exeext
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4236 $as_echo "$ac_cv_exeext" >&6; }
4238 rm -f conftest.
$ac_ext
4239 EXEEXT
=$ac_cv_exeext
4241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4242 /* end confdefs.h. */
4247 FILE *f = fopen ("conftest.out", "w");
4248 return ferror (f) || fclose (f) != 0;
4254 ac_clean_files
="$ac_clean_files conftest.out"
4255 # Check that the compiler produces executables we can run. If not, either
4256 # the compiler is broken, or we cross compile.
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4258 $as_echo_n "checking whether we are cross compiling... " >&6; }
4259 if test "$cross_compiling" != yes; then
4260 { { ac_try
="$ac_link"
4262 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4263 *) ac_try_echo=$ac_try;;
4265 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4266 $as_echo "$ac_try_echo"; } >&5
4267 (eval "$ac_link") 2>&5
4269 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4270 test $ac_status = 0; }
4271 if { ac_try='./conftest$ac_cv_exeext'
4272 { { case "(($ac_try" in
4273 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4274 *) ac_try_echo
=$ac_try;;
4276 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4277 $as_echo "$ac_try_echo"; } >&5
4278 (eval "$ac_try") 2>&5
4280 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4281 test $ac_status = 0; }; }; then
4284 if test "$cross_compiling" = maybe
; then
4287 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4288 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4289 as_fn_error $?
"cannot run C compiled programs.
4290 If you meant to cross compile, use \`--host'.
4291 See \`config.log' for more details" "$LINENO" 5; }
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4296 $as_echo "$cross_compiling" >&6; }
4298 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4299 ac_clean_files
=$ac_clean_files_save
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4301 $as_echo_n "checking for suffix of object files... " >&6; }
4302 if ${ac_cv_objext+:} false
; then :
4303 $as_echo_n "(cached) " >&6
4305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4306 /* end confdefs.h. */
4316 rm -f conftest.o conftest.obj
4317 if { { ac_try
="$ac_compile"
4319 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4320 *) ac_try_echo=$ac_try;;
4322 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4323 $as_echo "$ac_try_echo"; } >&5
4324 (eval "$ac_compile") 2>&5
4326 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4327 test $ac_status = 0; }; then :
4328 for ac_file in conftest.o conftest.obj conftest.*; do
4329 test -f "$ac_file" || continue;
4331 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4332 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4337 $as_echo "$as_me: failed program was:" >&5
4338 sed 's/^/| /' conftest.$ac_ext >&5
4340 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4341 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4342 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4343 See \
`config.log' for more details" "$LINENO" 5; }
4345 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4348 $as_echo "$ac_cv_objext" >&6; }
4349 OBJEXT=$ac_cv_objext
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4352 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4353 if ${ac_cv_c_compiler_gnu+:} false; then :
4354 $as_echo_n "(cached) " >&6
4356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4357 /* end confdefs.h. */
4370 if ac_fn_c_try_compile "$LINENO"; then :
4375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4376 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4380 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4381 if test $ac_compiler_gnu = yes; then
4386 ac_test_CFLAGS=${CFLAGS+set}
4387 ac_save_CFLAGS=$CFLAGS
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4389 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4390 if ${ac_cv_prog_cc_g+:} false; then :
4391 $as_echo_n "(cached) " >&6
4393 ac_save_c_werror_flag=$ac_c_werror_flag
4394 ac_c_werror_flag=yes
4397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4398 /* end confdefs.h. */
4408 if ac_fn_c_try_compile "$LINENO"; then :
4412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4413 /* end confdefs.h. */
4423 if ac_fn_c_try_compile "$LINENO"; then :
4426 ac_c_werror_flag=$ac_save_c_werror_flag
4428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4429 /* end confdefs.h. */
4439 if ac_fn_c_try_compile "$LINENO"; then :
4442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4447 ac_c_werror_flag=$ac_save_c_werror_flag
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4450 $as_echo "$ac_cv_prog_cc_g" >&6; }
4451 if test "$ac_test_CFLAGS" = set; then
4452 CFLAGS=$ac_save_CFLAGS
4453 elif test $ac_cv_prog_cc_g = yes; then
4454 if test "$GCC" = yes; then
4460 if test "$GCC" = yes; then
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4467 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4468 if ${ac_cv_prog_cc_c89+:} false; then :
4469 $as_echo_n "(cached) " >&6
4471 ac_cv_prog_cc_c89=no
4473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4474 /* end confdefs.h. */
4478 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4479 struct buf { int x; };
4480 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4481 static char *e (p, i)
4487 static char *f (char * (*g) (char **, int), char **p, ...)
4492 s = g (p, va_arg (v,int));
4497 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4498 function prototypes and stuff, but not '\xHH' hex character constants.
4499 These don't provoke an error unfortunately, instead are silently treated
4500 as 'x'. The following induces an error, until -std is added to get
4501 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4502 array size at least. It's necessary to write '\x00'==0 to get something
4503 that's true only with -std. */
4504 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4506 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4507 inside strings and character constants. */
4509 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4511 int test (int i, double x);
4512 struct s1 {int (*f) (int a);};
4513 struct s2 {int (*f) (double a);};
4514 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4520 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4525 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4526 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4528 CC="$ac_save_CC $ac_arg"
4529 if ac_fn_c_try_compile "$LINENO"; then :
4530 ac_cv_prog_cc_c89=$ac_arg
4532 rm -f core conftest.err conftest.$ac_objext
4533 test "x$ac_cv_prog_cc_c89" != "xno" && break
4535 rm -f conftest.$ac_ext
4540 case "x$ac_cv_prog_cc_c89" in
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4543 $as_echo "none needed" >&6; } ;;
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4546 $as_echo "unsupported" >&6; } ;;
4548 CC="$CC $ac_cv_prog_cc_c89"
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4550 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4552 if test "x$ac_cv_prog_cc_c89" != xno; then :
4557 ac_cpp='$CPP $CPPFLAGS'
4558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4563 ac_cpp='$CXXCPP $CPPFLAGS'
4564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4567 if test -z "$CXX"; then
4568 if test -n "$CCC"; then
4571 if test -n "$ac_tool_prefix"; then
4572 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4574 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4575 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4577 $as_echo_n "checking for $ac_word... " >&6; }
4578 if ${ac_cv_prog_CXX+:} false; then :
4579 $as_echo_n "(cached) " >&6
4581 if test -n "$CXX"; then
4582 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4588 test -z "$as_dir" && as_dir=.
4589 for ac_exec_ext in '' $ac_executable_extensions; do
4590 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4591 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4602 if test -n "$CXX"; then
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4604 $as_echo "$CXX" >&6; }
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4607 $as_echo "no" >&6; }
4611 test -n "$CXX" && break
4614 if test -z "$CXX"; then
4616 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4618 # Extract the first word of "$ac_prog", so it can be a program name with args.
4619 set dummy $ac_prog; ac_word=$2
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4621 $as_echo_n "checking for $ac_word... " >&6; }
4622 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4623 $as_echo_n "(cached) " >&6
4625 if test -n "$ac_ct_CXX"; then
4626 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4632 test -z "$as_dir" && as_dir=.
4633 for ac_exec_ext in '' $ac_executable_extensions; do
4634 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4635 ac_cv_prog_ac_ct_CXX="$ac_prog"
4636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4645 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4646 if test -n "$ac_ct_CXX"; then
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4648 $as_echo "$ac_ct_CXX" >&6; }
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4651 $as_echo "no" >&6; }
4655 test -n "$ac_ct_CXX" && break
4658 if test "x$ac_ct_CXX" = x; then
4661 case $cross_compiling:$ac_tool_warned in
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4664 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4665 ac_tool_warned=yes ;;
4673 # Provide some information about the compiler.
4674 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4677 for ac_option in --version -v -V -qversion; do
4678 { { ac_try="$ac_compiler $ac_option >&5"
4680 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4681 *) ac_try_echo
=$ac_try;;
4683 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4684 $as_echo "$ac_try_echo"; } >&5
4685 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4687 if test -s conftest.err
; then
4689 ... rest of stderr output deleted ...
4690 10q' conftest.err
>conftest.er1
4691 cat conftest.er1
>&5
4693 rm -f conftest.er1 conftest.err
4694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4695 test $ac_status = 0; }
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4699 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4700 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4701 $as_echo_n "(cached) " >&6
4703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4704 /* end confdefs.h. */
4717 if ac_fn_cxx_try_compile
"$LINENO"; then :
4722 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4723 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4727 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4728 if test $ac_compiler_gnu = yes; then
4733 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4734 ac_save_CXXFLAGS
=$CXXFLAGS
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4736 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4737 if ${ac_cv_prog_cxx_g+:} false
; then :
4738 $as_echo_n "(cached) " >&6
4740 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4741 ac_cxx_werror_flag
=yes
4744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4745 /* end confdefs.h. */
4755 if ac_fn_cxx_try_compile
"$LINENO"; then :
4756 ac_cv_prog_cxx_g
=yes
4759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4760 /* end confdefs.h. */
4770 if ac_fn_cxx_try_compile
"$LINENO"; then :
4773 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4776 /* end confdefs.h. */
4786 if ac_fn_cxx_try_compile
"$LINENO"; then :
4787 ac_cv_prog_cxx_g
=yes
4789 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4791 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4793 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4794 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4797 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4798 if test "$ac_test_CXXFLAGS" = set; then
4799 CXXFLAGS
=$ac_save_CXXFLAGS
4800 elif test $ac_cv_prog_cxx_g = yes; then
4801 if test "$GXX" = yes; then
4807 if test "$GXX" = yes; then
4814 ac_cpp
='$CPP $CPPFLAGS'
4815 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4816 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4817 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4819 if test -n "$ac_tool_prefix"; then
4820 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4821 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4823 $as_echo_n "checking for $ac_word... " >&6; }
4824 if ${ac_cv_prog_CPPBIN+:} false
; then :
4825 $as_echo_n "(cached) " >&6
4827 if test -n "$CPPBIN"; then
4828 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4830 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4834 test -z "$as_dir" && as_dir
=.
4835 for ac_exec_ext
in '' $ac_executable_extensions; do
4836 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4837 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4847 CPPBIN
=$ac_cv_prog_CPPBIN
4848 if test -n "$CPPBIN"; then
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4850 $as_echo "$CPPBIN" >&6; }
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4853 $as_echo "no" >&6; }
4858 if test -z "$ac_cv_prog_CPPBIN"; then
4859 ac_ct_CPPBIN
=$CPPBIN
4860 # Extract the first word of "cpp", so it can be a program name with args.
4861 set dummy cpp
; ac_word
=$2
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4863 $as_echo_n "checking for $ac_word... " >&6; }
4864 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4865 $as_echo_n "(cached) " >&6
4867 if test -n "$ac_ct_CPPBIN"; then
4868 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4870 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4874 test -z "$as_dir" && as_dir
=.
4875 for ac_exec_ext
in '' $ac_executable_extensions; do
4876 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4877 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4887 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4888 if test -n "$ac_ct_CPPBIN"; then
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4890 $as_echo "$ac_ct_CPPBIN" >&6; }
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4893 $as_echo "no" >&6; }
4896 if test "x$ac_ct_CPPBIN" = x
; then
4899 case $cross_compiling:$ac_tool_warned in
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4902 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4903 ac_tool_warned
=yes ;;
4905 CPPBIN
=$ac_ct_CPPBIN
4908 CPPBIN
="$ac_cv_prog_CPPBIN"
4912 cat >>confdefs.h
<<_ACEOF
4913 #define EXEEXT "$ac_exeext"
4916 if test -n "$ac_tool_prefix"; then
4917 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4918 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4920 $as_echo_n "checking for $ac_word... " >&6; }
4921 if ${ac_cv_prog_LD+:} false
; then :
4922 $as_echo_n "(cached) " >&6
4924 if test -n "$LD"; then
4925 ac_cv_prog_LD
="$LD" # Let the user override the test.
4927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4931 test -z "$as_dir" && as_dir
=.
4932 for ac_exec_ext
in '' $ac_executable_extensions; do
4933 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4934 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4945 if test -n "$LD"; then
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4947 $as_echo "$LD" >&6; }
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4950 $as_echo "no" >&6; }
4955 if test -z "$ac_cv_prog_LD"; then
4957 # Extract the first word of "ld", so it can be a program name with args.
4958 set dummy ld
; ac_word
=$2
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4960 $as_echo_n "checking for $ac_word... " >&6; }
4961 if ${ac_cv_prog_ac_ct_LD+:} false
; then :
4962 $as_echo_n "(cached) " >&6
4964 if test -n "$ac_ct_LD"; then
4965 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
4967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4971 test -z "$as_dir" && as_dir
=.
4972 for ac_exec_ext
in '' $ac_executable_extensions; do
4973 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4974 ac_cv_prog_ac_ct_LD
="ld"
4975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4984 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
4985 if test -n "$ac_ct_LD"; then
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4987 $as_echo "$ac_ct_LD" >&6; }
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4990 $as_echo "no" >&6; }
4993 if test "x$ac_ct_LD" = x
; then
4996 case $cross_compiling:$ac_tool_warned in
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4999 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5000 ac_tool_warned
=yes ;;
5011 with_fontconfig
=${with_fontconfig:-no}
5013 *-mingw32*|
*-cygwin*)
5014 enable_win16
=${enable_win16:-no}
5015 CFLAGS
="$CFLAGS -D_WIN32"
5021 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5026 $as_echo_n "checking whether $CC works... " >&6; }
5028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5029 /* end confdefs.h. */
5039 if ac_fn_c_try_link
"$LINENO"; then :
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5041 $as_echo "yes" >&6; }
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5044 $as_echo "no" >&6; }
5045 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5047 rm -f core conftest.err conftest.
$ac_objext \
5048 conftest
$ac_exeext conftest.
$ac_ext
5050 notice_platform
="32-bit "
5053 enable_win16
=${enable_win16:-yes}
5055 if test "x${GCC}" = "xyes"
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5058 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5060 /* end confdefs.h. */
5065 void func(__builtin_ms_va_list *args);
5070 if ac_fn_c_try_compile
"$LINENO"; then :
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5072 $as_echo "yes" >&6; }
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5075 $as_echo "no" >&6; }
5076 as_fn_error $?
"You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5078 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5083 notice_platform
="64-bit "
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5090 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5092 /* end confdefs.h. */
5093 int ac_test(int i) { return i; }
5097 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5102 if ac_fn_c_try_link
"$LINENO"; then :
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5104 $as_echo "yes" >&6; }
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5107 $as_echo "no" >&6; }
5108 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5110 rm -f core conftest.err conftest.
$ac_objext \
5111 conftest
$ac_exeext conftest.
$ac_ext
5112 CFLAGS
="$CFLAGS -marm"
5117 enable_win16
=${enable_win16:-yes}
5121 enable_win16
=${enable_win16:-no}
5122 enable_win64
=${enable_win64:-no}
5124 enable_winetest
=${enable_winetest:-$enable_tests}
5126 if test -n "$with_wine64"
5128 if test "x$enable_win64" = "xyes"
5130 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
5131 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5133 test "$srcdir" != . || as_fn_error $?
"--with-wine64 cannot be used when building inside the source tree.
5134 You should create a separate build directory and run configure from there." "$LINENO" 5
5135 enable_fonts
=${enable_fonts:-no}
5136 enable_server
=${enable_server:-no}
5137 elif test "x$enable_win64" = "xyes"
5139 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5143 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5144 if ${wine_cv_toolsdir+:} false
; then :
5145 $as_echo_n "(cached) " >&6
5147 wine_cv_toolsdir
="$with_wine_tools"
5148 if test -z "$with_wine_tools"; then
5149 if test "$cross_compiling" = "yes"; then
5150 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5151 elif test -n "$with_wine64"; then
5152 wine_cv_toolsdir
="$with_wine64"
5155 if test -z "$wine_cv_toolsdir"; then
5156 wine_makedep
=tools
/makedep
5157 wine_cv_toolsdir
="\$(top_builddir)"
5158 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5159 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
5160 case "$wine_cv_toolsdir" in
5162 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
5164 enable_tools
=${enable_tools:-no}
5165 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5167 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5171 $as_echo "$wine_cv_toolsdir" >&6; }
5172 TOOLSDIR
=$wine_cv_toolsdir
5174 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5176 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
5182 # Extract the first word of "$ac_prog", so it can be a program name with args.
5183 set dummy
$ac_prog; ac_word
=$2
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5185 $as_echo_n "checking for $ac_word... " >&6; }
5186 if ${ac_cv_prog_FLEX+:} false
; then :
5187 $as_echo_n "(cached) " >&6
5189 if test -n "$FLEX"; then
5190 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5196 test -z "$as_dir" && as_dir
=.
5197 for ac_exec_ext
in '' $ac_executable_extensions; do
5198 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5199 ac_cv_prog_FLEX
="$ac_prog"
5200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5209 FLEX
=$ac_cv_prog_FLEX
5210 if test -n "$FLEX"; then
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5212 $as_echo "$FLEX" >&6; }
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5215 $as_echo "no" >&6; }
5219 test -n "$FLEX" && break
5221 test -n "$FLEX" || FLEX
="none"
5223 if test "$FLEX" = "none"
5225 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5228 $as_echo_n "checking whether flex is recent enough... " >&6; }
5229 cat >conftest.l
<<EOF
5231 #include "prediluvian.h"
5235 if $FLEX -t conftest.l
>/dev
/null
2>&5
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5238 $as_echo "yes" >&6; }
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5241 $as_echo "no" >&6; }
5242 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5245 for ac_prog
in bison
5247 # Extract the first word of "$ac_prog", so it can be a program name with args.
5248 set dummy
$ac_prog; ac_word
=$2
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5250 $as_echo_n "checking for $ac_word... " >&6; }
5251 if ${ac_cv_prog_BISON+:} false
; then :
5252 $as_echo_n "(cached) " >&6
5254 if test -n "$BISON"; then
5255 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5261 test -z "$as_dir" && as_dir
=.
5262 for ac_exec_ext
in '' $ac_executable_extensions; do
5263 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5264 ac_cv_prog_BISON
="$ac_prog"
5265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5274 BISON
=$ac_cv_prog_BISON
5275 if test -n "$BISON"; then
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5277 $as_echo "$BISON" >&6; }
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5280 $as_echo "no" >&6; }
5284 test -n "$BISON" && break
5286 test -n "$BISON" || BISON
="none"
5288 if test "$BISON" = "none"
5290 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5293 if test -n "$ac_tool_prefix"; then
5294 for ac_prog
in ar gar
5296 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5297 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5299 $as_echo_n "checking for $ac_word... " >&6; }
5300 if ${ac_cv_prog_AR+:} false
; then :
5301 $as_echo_n "(cached) " >&6
5303 if test -n "$AR"; then
5304 ac_cv_prog_AR
="$AR" # Let the user override the test.
5306 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5310 test -z "$as_dir" && as_dir
=.
5311 for ac_exec_ext
in '' $ac_executable_extensions; do
5312 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5313 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5324 if test -n "$AR"; then
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5326 $as_echo "$AR" >&6; }
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5329 $as_echo "no" >&6; }
5333 test -n "$AR" && break
5336 if test -z "$AR"; then
5338 for ac_prog
in ar gar
5340 # Extract the first word of "$ac_prog", so it can be a program name with args.
5341 set dummy
$ac_prog; ac_word
=$2
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5343 $as_echo_n "checking for $ac_word... " >&6; }
5344 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5345 $as_echo_n "(cached) " >&6
5347 if test -n "$ac_ct_AR"; then
5348 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5350 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5354 test -z "$as_dir" && as_dir
=.
5355 for ac_exec_ext
in '' $ac_executable_extensions; do
5356 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5357 ac_cv_prog_ac_ct_AR
="$ac_prog"
5358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5367 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5368 if test -n "$ac_ct_AR"; then
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5370 $as_echo "$ac_ct_AR" >&6; }
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5373 $as_echo "no" >&6; }
5377 test -n "$ac_ct_AR" && break
5380 if test "x$ac_ct_AR" = x
; then
5383 case $cross_compiling:$ac_tool_warned in
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5386 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5387 ac_tool_warned
=yes ;;
5393 if test -n "$ac_tool_prefix"; then
5394 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5395 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5397 $as_echo_n "checking for $ac_word... " >&6; }
5398 if ${ac_cv_prog_STRIP+:} false
; then :
5399 $as_echo_n "(cached) " >&6
5401 if test -n "$STRIP"; then
5402 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5404 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5408 test -z "$as_dir" && as_dir
=.
5409 for ac_exec_ext
in '' $ac_executable_extensions; do
5410 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5411 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5421 STRIP
=$ac_cv_prog_STRIP
5422 if test -n "$STRIP"; then
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5424 $as_echo "$STRIP" >&6; }
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5427 $as_echo "no" >&6; }
5432 if test -z "$ac_cv_prog_STRIP"; then
5434 # Extract the first word of "strip", so it can be a program name with args.
5435 set dummy strip
; ac_word
=$2
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5437 $as_echo_n "checking for $ac_word... " >&6; }
5438 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5439 $as_echo_n "(cached) " >&6
5441 if test -n "$ac_ct_STRIP"; then
5442 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5448 test -z "$as_dir" && as_dir
=.
5449 for ac_exec_ext
in '' $ac_executable_extensions; do
5450 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5451 ac_cv_prog_ac_ct_STRIP
="strip"
5452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5461 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5462 if test -n "$ac_ct_STRIP"; then
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5464 $as_echo "$ac_ct_STRIP" >&6; }
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5467 $as_echo "no" >&6; }
5470 if test "x$ac_ct_STRIP" = x
; then
5473 case $cross_compiling:$ac_tool_warned in
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5476 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5477 ac_tool_warned
=yes ;;
5482 STRIP
="$ac_cv_prog_STRIP"
5487 if test -n "$ac_tool_prefix"; then
5488 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5489 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5491 $as_echo_n "checking for $ac_word... " >&6; }
5492 if ${ac_cv_prog_RANLIB+:} false
; then :
5493 $as_echo_n "(cached) " >&6
5495 if test -n "$RANLIB"; then
5496 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5498 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5502 test -z "$as_dir" && as_dir
=.
5503 for ac_exec_ext
in '' $ac_executable_extensions; do
5504 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5505 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5515 RANLIB
=$ac_cv_prog_RANLIB
5516 if test -n "$RANLIB"; then
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5518 $as_echo "$RANLIB" >&6; }
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5521 $as_echo "no" >&6; }
5526 if test -z "$ac_cv_prog_RANLIB"; then
5527 ac_ct_RANLIB
=$RANLIB
5528 # Extract the first word of "ranlib", so it can be a program name with args.
5529 set dummy ranlib
; ac_word
=$2
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5531 $as_echo_n "checking for $ac_word... " >&6; }
5532 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5533 $as_echo_n "(cached) " >&6
5535 if test -n "$ac_ct_RANLIB"; then
5536 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5538 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5542 test -z "$as_dir" && as_dir
=.
5543 for ac_exec_ext
in '' $ac_executable_extensions; do
5544 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5545 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5555 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5556 if test -n "$ac_ct_RANLIB"; then
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5558 $as_echo "$ac_ct_RANLIB" >&6; }
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5561 $as_echo "no" >&6; }
5564 if test "x$ac_ct_RANLIB" = x
; then
5567 case $cross_compiling:$ac_tool_warned in
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5570 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5571 ac_tool_warned
=yes ;;
5573 RANLIB
=$ac_ct_RANLIB
5576 RANLIB
="$ac_cv_prog_RANLIB"
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5580 $as_echo_n "checking whether ln -s works... " >&6; }
5582 if test "$LN_S" = "ln -s"; then
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5584 $as_echo "yes" >&6; }
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5587 $as_echo "no, using $LN_S" >&6; }
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5591 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5592 if ${ac_cv_path_GREP+:} false
; then :
5593 $as_echo_n "(cached) " >&6
5595 if test -z "$GREP"; then
5596 ac_path_GREP_found
=false
5597 # Loop through the user's path and test for each of PROGNAME-LIST
5598 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5599 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5602 test -z "$as_dir" && as_dir
=.
5603 for ac_prog
in grep ggrep
; do
5604 for ac_exec_ext
in '' $ac_executable_extensions; do
5605 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5606 as_fn_executable_p
"$ac_path_GREP" ||
continue
5607 # Check for GNU ac_path_GREP and select it if it is found.
5608 # Check for GNU $ac_path_GREP
5609 case `"$ac_path_GREP" --version 2>&1` in
5611 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5614 $as_echo_n 0123456789 >"conftest.in"
5617 cat "conftest.in" "conftest.in" >"conftest.tmp"
5618 mv "conftest.tmp" "conftest.in"
5619 cp "conftest.in" "conftest.nl"
5620 $as_echo 'GREP' >> "conftest.nl"
5621 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5622 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5623 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5624 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5625 # Best one so far, save it but keep looking for a better one
5626 ac_cv_path_GREP
="$ac_path_GREP"
5627 ac_path_GREP_max
=$ac_count
5629 # 10*(2^10) chars as input seems more than enough
5630 test $ac_count -gt 10 && break
5632 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5635 $ac_path_GREP_found && break 3
5640 if test -z "$ac_cv_path_GREP"; then
5641 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5644 ac_cv_path_GREP
=$GREP
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5649 $as_echo "$ac_cv_path_GREP" >&6; }
5650 GREP
="$ac_cv_path_GREP"
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5654 $as_echo_n "checking for egrep... " >&6; }
5655 if ${ac_cv_path_EGREP+:} false
; then :
5656 $as_echo_n "(cached) " >&6
5658 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5659 then ac_cv_path_EGREP
="$GREP -E"
5661 if test -z "$EGREP"; then
5662 ac_path_EGREP_found
=false
5663 # Loop through the user's path and test for each of PROGNAME-LIST
5664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5665 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5668 test -z "$as_dir" && as_dir
=.
5669 for ac_prog
in egrep; do
5670 for ac_exec_ext
in '' $ac_executable_extensions; do
5671 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5672 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5673 # Check for GNU ac_path_EGREP and select it if it is found.
5674 # Check for GNU $ac_path_EGREP
5675 case `"$ac_path_EGREP" --version 2>&1` in
5677 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5680 $as_echo_n 0123456789 >"conftest.in"
5683 cat "conftest.in" "conftest.in" >"conftest.tmp"
5684 mv "conftest.tmp" "conftest.in"
5685 cp "conftest.in" "conftest.nl"
5686 $as_echo 'EGREP' >> "conftest.nl"
5687 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5688 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5689 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5690 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5691 # Best one so far, save it but keep looking for a better one
5692 ac_cv_path_EGREP
="$ac_path_EGREP"
5693 ac_path_EGREP_max
=$ac_count
5695 # 10*(2^10) chars as input seems more than enough
5696 test $ac_count -gt 10 && break
5698 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5701 $ac_path_EGREP_found && break 3
5706 if test -z "$ac_cv_path_EGREP"; then
5707 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5710 ac_cv_path_EGREP
=$EGREP
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5716 $as_echo "$ac_cv_path_EGREP" >&6; }
5717 EGREP
="$ac_cv_path_EGREP"
5720 # Extract the first word of "ldconfig", so it can be a program name with args.
5721 set dummy ldconfig
; ac_word
=$2
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5723 $as_echo_n "checking for $ac_word... " >&6; }
5724 if ${ac_cv_path_LDCONFIG+:} false
; then :
5725 $as_echo_n "(cached) " >&6
5729 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5732 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5733 for as_dir
in /sbin
/usr
/sbin
$PATH
5736 test -z "$as_dir" && as_dir
=.
5737 for ac_exec_ext
in '' $ac_executable_extensions; do
5738 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5739 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5747 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5751 LDCONFIG
=$ac_cv_path_LDCONFIG
5752 if test -n "$LDCONFIG"; then
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5754 $as_echo "$LDCONFIG" >&6; }
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5757 $as_echo "no" >&6; }
5761 for ac_prog
in msgfmt
5763 # Extract the first word of "$ac_prog", so it can be a program name with args.
5764 set dummy
$ac_prog; ac_word
=$2
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5766 $as_echo_n "checking for $ac_word... " >&6; }
5767 if ${ac_cv_prog_MSGFMT+:} false
; then :
5768 $as_echo_n "(cached) " >&6
5770 if test -n "$MSGFMT"; then
5771 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5777 test -z "$as_dir" && as_dir
=.
5778 for ac_exec_ext
in '' $ac_executable_extensions; do
5779 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5780 ac_cv_prog_MSGFMT
="$ac_prog"
5781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5790 MSGFMT
=$ac_cv_prog_MSGFMT
5791 if test -n "$MSGFMT"; then
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5793 $as_echo "$MSGFMT" >&6; }
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5796 $as_echo "no" >&6; }
5800 test -n "$MSGFMT" && break
5802 test -n "$MSGFMT" || MSGFMT
="false"
5804 if ${ac_tool_prefix+:} false
; then :
5805 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5806 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5808 $as_echo_n "checking for $ac_word... " >&6; }
5809 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5810 $as_echo_n "(cached) " >&6
5812 if test -n "$PKG_CONFIG"; then
5813 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5815 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5819 test -z "$as_dir" && as_dir
=.
5820 for ac_exec_ext
in '' $ac_executable_extensions; do
5821 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5822 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5832 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5833 if test -n "$PKG_CONFIG"; then
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5835 $as_echo "$PKG_CONFIG" >&6; }
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5838 $as_echo "no" >&6; }
5843 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5844 if test "x$cross_compiling" = xyes
; then :
5847 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5848 # Extract the first word of "pkg-config", so it can be a program name with args.
5849 set dummy pkg-config
; ac_word
=$2
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5851 $as_echo_n "checking for $ac_word... " >&6; }
5852 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5853 $as_echo_n "(cached) " >&6
5855 if test -n "$PKG_CONFIG"; then
5856 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5858 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5862 test -z "$as_dir" && as_dir
=.
5863 for ac_exec_ext
in '' $ac_executable_extensions; do
5864 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5865 ac_cv_prog_PKG_CONFIG
="pkg-config"
5866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5875 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5876 if test -n "$PKG_CONFIG"; then
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5878 $as_echo "$PKG_CONFIG" >&6; }
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5881 $as_echo "no" >&6; }
5887 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5890 if test "x$enable_maintainer_mode" != "xyes"
5897 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5898 for ac_prog
in fontforge
5900 # Extract the first word of "$ac_prog", so it can be a program name with args.
5901 set dummy
$ac_prog; ac_word
=$2
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5903 $as_echo_n "checking for $ac_word... " >&6; }
5904 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5905 $as_echo_n "(cached) " >&6
5907 if test -n "$FONTFORGE"; then
5908 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5910 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5914 test -z "$as_dir" && as_dir
=.
5915 for ac_exec_ext
in '' $ac_executable_extensions; do
5916 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5917 ac_cv_prog_FONTFORGE
="$ac_prog"
5918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5927 FONTFORGE
=$ac_cv_prog_FONTFORGE
5928 if test -n "$FONTFORGE"; then
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5930 $as_echo "$FONTFORGE" >&6; }
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5933 $as_echo "no" >&6; }
5937 test -n "$FONTFORGE" && break
5939 test -n "$FONTFORGE" || FONTFORGE
="false"
5941 for ac_prog
in rsvg-convert rsvg
5943 # Extract the first word of "$ac_prog", so it can be a program name with args.
5944 set dummy
$ac_prog; ac_word
=$2
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5946 $as_echo_n "checking for $ac_word... " >&6; }
5947 if ${ac_cv_prog_RSVG+:} false
; then :
5948 $as_echo_n "(cached) " >&6
5950 if test -n "$RSVG"; then
5951 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5953 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5957 test -z "$as_dir" && as_dir
=.
5958 for ac_exec_ext
in '' $ac_executable_extensions; do
5959 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5960 ac_cv_prog_RSVG
="$ac_prog"
5961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5970 RSVG
=$ac_cv_prog_RSVG
5971 if test -n "$RSVG"; then
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5973 $as_echo "$RSVG" >&6; }
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5976 $as_echo "no" >&6; }
5980 test -n "$RSVG" && break
5982 test -n "$RSVG" || RSVG
="false"
5984 for ac_prog
in convert
5986 # Extract the first word of "$ac_prog", so it can be a program name with args.
5987 set dummy
$ac_prog; ac_word
=$2
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5989 $as_echo_n "checking for $ac_word... " >&6; }
5990 if ${ac_cv_prog_CONVERT+:} false
; then :
5991 $as_echo_n "(cached) " >&6
5993 if test -n "$CONVERT"; then
5994 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6000 test -z "$as_dir" && as_dir
=.
6001 for ac_exec_ext
in '' $ac_executable_extensions; do
6002 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6003 ac_cv_prog_CONVERT
="$ac_prog"
6004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6013 CONVERT
=$ac_cv_prog_CONVERT
6014 if test -n "$CONVERT"; then
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6016 $as_echo "$CONVERT" >&6; }
6018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6019 $as_echo "no" >&6; }
6023 test -n "$CONVERT" && break
6025 test -n "$CONVERT" || CONVERT
="false"
6027 for ac_prog
in icotool
6029 # Extract the first word of "$ac_prog", so it can be a program name with args.
6030 set dummy
$ac_prog; ac_word
=$2
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6032 $as_echo_n "checking for $ac_word... " >&6; }
6033 if ${ac_cv_prog_ICOTOOL+:} false
; then :
6034 $as_echo_n "(cached) " >&6
6036 if test -n "$ICOTOOL"; then
6037 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
6039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6043 test -z "$as_dir" && as_dir
=.
6044 for ac_exec_ext
in '' $ac_executable_extensions; do
6045 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6046 ac_cv_prog_ICOTOOL
="$ac_prog"
6047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6056 ICOTOOL
=$ac_cv_prog_ICOTOOL
6057 if test -n "$ICOTOOL"; then
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6059 $as_echo "$ICOTOOL" >&6; }
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6062 $as_echo "no" >&6; }
6066 test -n "$ICOTOOL" && break
6068 test -n "$ICOTOOL" || ICOTOOL
="false"
6070 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6071 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6073 if test "$CONVERT" = false
6075 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6078 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6079 convert_version
=`convert --version | head -n1`
6080 if test "x$convert_version" != "x"
6082 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6083 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6084 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6089 if test "$CONVERT" = false
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6092 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6093 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6096 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6100 if test "$ICOTOOL" = false
6102 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6105 $as_echo_n "checking for recent enough icotool... " >&6; }
6106 icotool_version
=`icotool --version | head -n1`
6107 if test "x$icotool_version" != "x"
6109 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6110 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6111 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6114 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
6117 if test "$ICOTOOL" = false
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6120 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6121 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6124 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6130 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
6133 test "x$with_gettext" != xno || MSGFMT
=false
6134 if test "$MSGFMT" != "false"
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6137 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6138 cat >conftest.po
<<EOF
6144 if $MSGFMT -o /dev
/null conftest.po
2>&5
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6147 $as_echo "yes" >&6; }
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6150 $as_echo "no" >&6; }
6154 if test "$MSGFMT" = false
; then :
6155 case "x$with_gettext" in
6156 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
6158 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
6159 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6161 enable_po
=${enable_po:-no}
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6166 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6167 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
6168 $as_echo_n "(cached) " >&6
6170 ac_check_lib_save_LIBS
=$LIBS
6172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6173 /* end confdefs.h. */
6175 /* Override any GCC internal prototype to avoid an error.
6176 Use char because int might match the return type of a GCC
6177 builtin and then its argument prototype would still apply. */
6181 char i386_set_ldt ();
6185 return i386_set_ldt ();
6190 if ac_fn_c_try_link
"$LINENO"; then :
6191 ac_cv_lib_i386_i386_set_ldt
=yes
6193 ac_cv_lib_i386_i386_set_ldt
=no
6195 rm -f core conftest.err conftest.
$ac_objext \
6196 conftest
$ac_exeext conftest.
$ac_ext
6197 LIBS
=$ac_check_lib_save_LIBS
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6200 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6201 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
6202 cat >>confdefs.h
<<_ACEOF
6203 #define HAVE_LIBI386 1
6210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6211 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6212 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
6213 $as_echo_n "(cached) " >&6
6215 ac_check_lib_save_LIBS
=$LIBS
6216 LIBS
="-lossaudio $LIBS"
6217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6218 /* end confdefs.h. */
6220 /* Override any GCC internal prototype to avoid an error.
6221 Use char because int might match the return type of a GCC
6222 builtin and then its argument prototype would still apply. */
6230 return _oss_ioctl ();
6235 if ac_fn_c_try_link
"$LINENO"; then :
6236 ac_cv_lib_ossaudio__oss_ioctl
=yes
6238 ac_cv_lib_ossaudio__oss_ioctl
=no
6240 rm -f core conftest.err conftest.
$ac_objext \
6241 conftest
$ac_exeext conftest.
$ac_ext
6242 LIBS
=$ac_check_lib_save_LIBS
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6245 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6246 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
6247 cat >>confdefs.h
<<_ACEOF
6248 #define HAVE_LIBOSSAUDIO 1
6251 LIBS
="-lossaudio $LIBS"
6260 # Check whether --enable-largefile was given.
6261 if test "${enable_largefile+set}" = set; then :
6262 enableval
=$enable_largefile;
6265 if test "$enable_largefile" != no
; then
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6268 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6269 if ${ac_cv_sys_largefile_CC+:} false
; then :
6270 $as_echo_n "(cached) " >&6
6272 ac_cv_sys_largefile_CC
=no
6273 if test "$GCC" != yes; then
6276 # IRIX 6.2 and later do not support large files by default,
6277 # so use the C compiler's -n32 option if that helps.
6278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6279 /* end confdefs.h. */
6280 #include <sys/types.h>
6281 /* Check that off_t can represent 2**63 - 1 correctly.
6282 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6283 since some C++ compilers masquerading as C compilers
6284 incorrectly reject 9223372036854775807. */
6285 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6286 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6287 && LARGE_OFF_T % 2147483647 == 1)
6297 if ac_fn_c_try_compile
"$LINENO"; then :
6300 rm -f core conftest.err conftest.
$ac_objext
6302 if ac_fn_c_try_compile
"$LINENO"; then :
6303 ac_cv_sys_largefile_CC
=' -n32'; break
6305 rm -f core conftest.err conftest.
$ac_objext
6309 rm -f conftest.
$ac_ext
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6313 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6314 if test "$ac_cv_sys_largefile_CC" != no
; then
6315 CC
=$CC$ac_cv_sys_largefile_CC
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6319 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6320 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6321 $as_echo_n "(cached) " >&6
6324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6325 /* end confdefs.h. */
6326 #include <sys/types.h>
6327 /* Check that off_t can represent 2**63 - 1 correctly.
6328 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6329 since some C++ compilers masquerading as C compilers
6330 incorrectly reject 9223372036854775807. */
6331 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6332 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6333 && LARGE_OFF_T % 2147483647 == 1)
6343 if ac_fn_c_try_compile
"$LINENO"; then :
6344 ac_cv_sys_file_offset_bits
=no
; break
6346 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6348 /* end confdefs.h. */
6349 #define _FILE_OFFSET_BITS 64
6350 #include <sys/types.h>
6351 /* Check that off_t can represent 2**63 - 1 correctly.
6352 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6353 since some C++ compilers masquerading as C compilers
6354 incorrectly reject 9223372036854775807. */
6355 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6356 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6357 && LARGE_OFF_T % 2147483647 == 1)
6367 if ac_fn_c_try_compile
"$LINENO"; then :
6368 ac_cv_sys_file_offset_bits
=64; break
6370 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6371 ac_cv_sys_file_offset_bits
=unknown
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6376 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6377 case $ac_cv_sys_file_offset_bits in #(
6380 cat >>confdefs.h
<<_ACEOF
6381 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6386 if test $ac_cv_sys_file_offset_bits = unknown
; then
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6388 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6389 if ${ac_cv_sys_large_files+:} false
; then :
6390 $as_echo_n "(cached) " >&6
6393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6394 /* end confdefs.h. */
6395 #include <sys/types.h>
6396 /* Check that off_t can represent 2**63 - 1 correctly.
6397 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6398 since some C++ compilers masquerading as C compilers
6399 incorrectly reject 9223372036854775807. */
6400 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6401 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6402 && LARGE_OFF_T % 2147483647 == 1)
6412 if ac_fn_c_try_compile
"$LINENO"; then :
6413 ac_cv_sys_large_files
=no
; break
6415 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6416 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6417 /* end confdefs.h. */
6418 #define _LARGE_FILES 1
6419 #include <sys/types.h>
6420 /* Check that off_t can represent 2**63 - 1 correctly.
6421 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6422 since some C++ compilers masquerading as C compilers
6423 incorrectly reject 9223372036854775807. */
6424 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6425 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6426 && LARGE_OFF_T % 2147483647 == 1)
6436 if ac_fn_c_try_compile
"$LINENO"; then :
6437 ac_cv_sys_large_files
=1; break
6439 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6440 ac_cv_sys_large_files
=unknown
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6445 $as_echo "$ac_cv_sys_large_files" >&6; }
6446 case $ac_cv_sys_large_files in #(
6449 cat >>confdefs.h
<<_ACEOF
6450 #define _LARGE_FILES $ac_cv_sys_large_files
6462 ac_cpp
='$CPP $CPPFLAGS'
6463 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6464 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6465 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6467 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6468 # On Suns, sometimes $CPP names a directory.
6469 if test -n "$CPP" && test -d "$CPP"; then
6472 if test -z "$CPP"; then
6473 if ${ac_cv_prog_CPP+:} false
; then :
6474 $as_echo_n "(cached) " >&6
6476 # Double quotes because CPP needs to be expanded
6477 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6480 for ac_c_preproc_warn_flag
in '' yes
6482 # Use a header file that comes with gcc, so configuring glibc
6483 # with a fresh cross-compiler works.
6484 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6485 # <limits.h> exists even on freestanding compilers.
6486 # On the NeXT, cc -E runs the code through the compiler's parser,
6487 # not just through cpp. "Syntax error" is here to catch this case.
6488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6489 /* end confdefs.h. */
6491 # include <limits.h>
6493 # include <assert.h>
6497 if ac_fn_c_try_cpp
"$LINENO"; then :
6500 # Broken: fails on valid input.
6503 rm -f conftest.err conftest.i conftest.
$ac_ext
6505 # OK, works on sane cases. Now check whether nonexistent headers
6506 # can be detected and how.
6507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6508 /* end confdefs.h. */
6509 #include <ac_nonexistent.h>
6511 if ac_fn_c_try_cpp
"$LINENO"; then :
6512 # Broken: success on invalid input.
6515 # Passes both tests.
6519 rm -f conftest.err conftest.i conftest.
$ac_ext
6522 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6523 rm -f conftest.i conftest.err conftest.
$ac_ext
6524 if $ac_preproc_ok; then :
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6537 $as_echo "$CPP" >&6; }
6539 for ac_c_preproc_warn_flag
in '' yes
6541 # Use a header file that comes with gcc, so configuring glibc
6542 # with a fresh cross-compiler works.
6543 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6544 # <limits.h> exists even on freestanding compilers.
6545 # On the NeXT, cc -E runs the code through the compiler's parser,
6546 # not just through cpp. "Syntax error" is here to catch this case.
6547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6548 /* end confdefs.h. */
6550 # include <limits.h>
6552 # include <assert.h>
6556 if ac_fn_c_try_cpp
"$LINENO"; then :
6559 # Broken: fails on valid input.
6562 rm -f conftest.err conftest.i conftest.
$ac_ext
6564 # OK, works on sane cases. Now check whether nonexistent headers
6565 # can be detected and how.
6566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6567 /* end confdefs.h. */
6568 #include <ac_nonexistent.h>
6570 if ac_fn_c_try_cpp
"$LINENO"; then :
6571 # Broken: success on invalid input.
6574 # Passes both tests.
6578 rm -f conftest.err conftest.i conftest.
$ac_ext
6581 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6582 rm -f conftest.i conftest.err conftest.
$ac_ext
6583 if $ac_preproc_ok; then :
6586 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6587 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6588 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6589 See \`config.log' for more details" "$LINENO" 5; }
6593 ac_cpp
='$CPP $CPPFLAGS'
6594 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6595 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6596 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6600 $as_echo_n "checking for ANSI C header files... " >&6; }
6601 if ${ac_cv_header_stdc+:} false
; then :
6602 $as_echo_n "(cached) " >&6
6604 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6605 /* end confdefs.h. */
6619 if ac_fn_c_try_compile
"$LINENO"; then :
6620 ac_cv_header_stdc
=yes
6622 ac_cv_header_stdc
=no
6624 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6626 if test $ac_cv_header_stdc = yes; then
6627 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6629 /* end confdefs.h. */
6633 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6634 $EGREP "memchr" >/dev
/null
2>&1; then :
6637 ac_cv_header_stdc
=no
6643 if test $ac_cv_header_stdc = yes; then
6644 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6646 /* end confdefs.h. */
6650 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6651 $EGREP "free" >/dev
/null
2>&1; then :
6654 ac_cv_header_stdc
=no
6660 if test $ac_cv_header_stdc = yes; then
6661 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6662 if test "$cross_compiling" = yes; then :
6665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6666 /* end confdefs.h. */
6669 #if ((' ' & 0x0FF) == 0x020)
6670 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6671 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6673 # define ISLOWER(c) \
6674 (('a' <= (c) && (c) <= 'i') \
6675 || ('j' <= (c) && (c) <= 'r') \
6676 || ('s' <= (c) && (c) <= 'z'))
6677 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6680 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6685 for (i = 0; i < 256; i++)
6686 if (XOR (islower (i), ISLOWER (i))
6687 || toupper (i) != TOUPPER (i))
6692 if ac_fn_c_try_run
"$LINENO"; then :
6695 ac_cv_header_stdc
=no
6697 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6698 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6704 $as_echo "$ac_cv_header_stdc" >&6; }
6705 if test $ac_cv_header_stdc = yes; then
6707 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6711 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6712 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6713 inttypes.h stdint.h unistd.h
6715 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6716 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6718 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6719 cat >>confdefs.h
<<_ACEOF
6720 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6730 ApplicationServices
/ApplicationServices.h \
6731 AudioToolbox
/AudioConverter.h \
6732 AudioUnit
/AudioUnit.h \
6733 AudioUnit
/AudioComponent.h \
6736 CommonCrypto
/CommonDigest.h \
6737 CoreAudio
/CoreAudio.h \
6738 CoreServices
/CoreServices.h \
6739 DiskArbitration
/DiskArbitration.h \
6741 IOKit
/hid
/IOHIDLib.h \
6744 QuickTime
/ImageCompression.h \
6745 Security
/Security.h \
6796 netinet
/in_systm.h \
6860 valgrind
/memcheck.h \
6861 valgrind
/valgrind.h \
6865 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6866 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6867 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6868 cat >>confdefs.h
<<_ACEOF
6869 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6877 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6878 if ${ac_cv_header_sys_types_h_makedev+:} false
; then :
6879 $as_echo_n "(cached) " >&6
6881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6882 /* end confdefs.h. */
6883 #include <sys/types.h>
6887 return makedev(0, 0);
6892 if ac_fn_c_try_link
"$LINENO"; then :
6893 ac_cv_header_sys_types_h_makedev
=yes
6895 ac_cv_header_sys_types_h_makedev
=no
6897 rm -f core conftest.err conftest.
$ac_objext \
6898 conftest
$ac_exeext conftest.
$ac_ext
6901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6902 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6904 if test $ac_cv_header_sys_types_h_makedev = no
; then
6905 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6906 if test "x$ac_cv_header_sys_mkdev_h" = xyes
; then :
6908 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6914 if test $ac_cv_header_sys_mkdev_h = no
; then
6915 ac_fn_c_check_header_mongrel
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6916 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
; then :
6918 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6927 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6928 if ${ac_cv_header_stat_broken+:} false
; then :
6929 $as_echo_n "(cached) " >&6
6931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6932 /* end confdefs.h. */
6933 #include <sys/types.h>
6934 #include <sys/stat.h>
6936 #if defined S_ISBLK && defined S_IFDIR
6937 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6940 #if defined S_ISBLK && defined S_IFCHR
6941 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6944 #if defined S_ISLNK && defined S_IFREG
6945 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6948 #if defined S_ISSOCK && defined S_IFREG
6949 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6953 if ac_fn_c_try_compile
"$LINENO"; then :
6954 ac_cv_header_stat_broken
=no
6956 ac_cv_header_stat_broken
=yes
6958 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6961 $as_echo "$ac_cv_header_stat_broken" >&6; }
6962 if test $ac_cv_header_stat_broken = yes; then
6964 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6970 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6972 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6973 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6974 #ifdef HAVE_SYS_PARAM_H
6975 # include <sys/param.h>
6978 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6979 cat >>confdefs.h
<<_ACEOF
6980 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6995 netinet
/if_ether.h \
6996 netinet
/if_inarp.h \
7005 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7006 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7007 #ifdef HAVE_SYS_SOCKET_H
7008 # include <sys/socket.h>
7010 #ifdef HAVE_SYS_SOCKETVAR_H
7011 # include <sys/socketvar.h>
7013 #ifdef HAVE_NET_ROUTE_H
7014 # include <net/route.h>
7016 #ifdef HAVE_NETINET_IN_H
7017 # include <netinet/in.h>
7019 #ifdef HAVE_NETINET_IN_SYSTM_H
7020 # include <netinet/in_systm.h>
7022 #ifdef HAVE_NET_IF_H
7023 # include <net/if.h>
7025 #ifdef HAVE_NETINET_IP_H
7026 # include <netinet/ip.h>
7029 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7030 cat >>confdefs.h
<<_ACEOF
7031 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7039 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
7041 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7042 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7046 #ifdef HAVE_SYS_SOCKET_H
7047 # include <sys/socket.h>
7049 #ifdef HAVE_SYS_SOCKETVAR_H
7050 # include <sys/socketvar.h>
7052 #ifdef HAVE_SYS_TIMEOUT_H
7053 # include <sys/timeout.h>
7055 #ifdef HAVE_NETINET_IN_H
7056 # include <netinet/in.h>
7058 #ifdef HAVE_NETINET_IN_SYSTM_H
7059 # include <netinet/in_systm.h>
7061 #ifdef HAVE_NETINET_IP_H
7062 # include <netinet/ip.h>
7064 #ifdef HAVE_NETINET_IP_VAR_H
7065 # include <netinet/ip_var.h>
7067 #ifdef HAVE_NETINET_IP_ICMP_H
7068 # include <netinet/ip_icmp.h>
7070 #ifdef HAVE_NETINET_UDP_H
7071 # include <netinet/udp.h>
7073 #ifdef HAVE_NETINET_TCP_H
7074 # include <netinet/tcp.h>
7076 #ifdef HAVE_NETINET_TCP_TIMER_H
7077 #include <netinet/tcp_timer.h>
7080 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7081 cat >>confdefs.h
<<_ACEOF
7082 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7090 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
7092 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7093 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7094 #ifdef HAVE_ASM_TYPES_H
7095 # include <asm/types.h>
7097 #ifdef HAVE_SYS_SOCKET_H
7098 # include <sys/socket.h>
7100 #ifdef HAVE_LINUX_TYPES_H
7101 # include <linux/types.h>
7104 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7105 cat >>confdefs.h
<<_ACEOF
7106 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7114 for ac_header
in mach-o
/dyld_images.h
7116 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7117 # include <stdbool.h>
7119 #ifdef HAVE_STDINT_H
7120 # include <stdint.h>
7123 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
7124 cat >>confdefs.h
<<_ACEOF
7125 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7133 for ac_header
in resolv.h
7135 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7136 #ifdef HAVE_SYS_SOCKET_H
7137 # include <sys/socket.h>
7139 #ifdef HAVE_NETINET_IN_H
7140 # include <netinet/in.h>
7142 #ifdef HAVE_ARPA_NAMESER_H
7143 # include <arpa/nameser.h>
7146 if test "x$ac_cv_header_resolv_h" = xyes
; then :
7147 cat >>confdefs.h
<<_ACEOF
7148 #define HAVE_RESOLV_H 1
7156 for ac_header
in ifaddrs.h
7158 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7160 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
7161 cat >>confdefs.h
<<_ACEOF
7162 #define HAVE_IFADDRS_H 1
7170 for ac_header
in sys
/ucontext.h
7172 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7174 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
7175 cat >>confdefs.h
<<_ACEOF
7176 #define HAVE_SYS_UCONTEXT_H 1
7184 for ac_header
in sys
/thr.h
7186 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7187 #ifdef HAVE_SYS_UCONTEXT_H
7188 #include <sys/ucontext.h>
7191 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
7192 cat >>confdefs.h
<<_ACEOF
7193 #define HAVE_SYS_THR_H 1
7201 for ac_header
in pthread_np.h
7203 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7204 #include <pthread.h>
7207 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
7208 cat >>confdefs.h
<<_ACEOF
7209 #define HAVE_PTHREAD_NP_H 1
7217 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
7219 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7220 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7221 #include <sys/time.h>
7223 #include <sys/types.h>
7224 #ifdef HAVE_ASM_TYPES_H
7225 #include <asm/types.h>
7228 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7229 cat >>confdefs.h
<<_ACEOF
7230 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7238 for ac_header
in libprocstat.h
7240 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7241 #include <sys/param.h>
7243 #ifdef HAVE_SYS_QUEUE_H
7244 #include <sys/queue.h>
7246 #ifdef HAVE_SYS_SOCKET_H
7247 #include <sys/socket.h>
7250 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
7251 cat >>confdefs.h
<<_ACEOF
7252 #define HAVE_LIBPROCSTAT_H 1
7261 dlldir
="\${libdir}/wine"
7263 DLLFLAGS
="-D_REENTRANT"
7274 # Extract the first word of "ldd", so it can be a program name with args.
7275 set dummy ldd
; ac_word
=$2
7276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7277 $as_echo_n "checking for $ac_word... " >&6; }
7278 if ${ac_cv_path_LDD+:} false
; then :
7279 $as_echo_n "(cached) " >&6
7283 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7286 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7287 as_dummy
="/sbin:/usr/sbin:$PATH"
7288 for as_dir
in $as_dummy
7291 test -z "$as_dir" && as_dir
=.
7292 for ac_exec_ext
in '' $ac_executable_extensions; do
7293 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7294 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7302 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7307 if test -n "$LDD"; then
7308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7309 $as_echo "$LDD" >&6; }
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7312 $as_echo "no" >&6; }
7316 if test -n "$ac_tool_prefix"; then
7317 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7318 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7320 $as_echo_n "checking for $ac_word... " >&6; }
7321 if ${ac_cv_prog_OTOOL+:} false
; then :
7322 $as_echo_n "(cached) " >&6
7324 if test -n "$OTOOL"; then
7325 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7327 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7331 test -z "$as_dir" && as_dir
=.
7332 for ac_exec_ext
in '' $ac_executable_extensions; do
7333 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7334 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7344 OTOOL
=$ac_cv_prog_OTOOL
7345 if test -n "$OTOOL"; then
7346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7347 $as_echo "$OTOOL" >&6; }
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7350 $as_echo "no" >&6; }
7355 if test -z "$ac_cv_prog_OTOOL"; then
7357 # Extract the first word of "otool", so it can be a program name with args.
7358 set dummy otool
; ac_word
=$2
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7360 $as_echo_n "checking for $ac_word... " >&6; }
7361 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
7362 $as_echo_n "(cached) " >&6
7364 if test -n "$ac_ct_OTOOL"; then
7365 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7367 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7371 test -z "$as_dir" && as_dir
=.
7372 for ac_exec_ext
in '' $ac_executable_extensions; do
7373 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7374 ac_cv_prog_ac_ct_OTOOL
="otool"
7375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7384 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7385 if test -n "$ac_ct_OTOOL"; then
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7387 $as_echo "$ac_ct_OTOOL" >&6; }
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7390 $as_echo "no" >&6; }
7393 if test "x$ac_ct_OTOOL" = x
; then
7396 case $cross_compiling:$ac_tool_warned in
7398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7399 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7400 ac_tool_warned
=yes ;;
7405 OTOOL
="$ac_cv_prog_OTOOL"
7408 if test -n "$ac_tool_prefix"; then
7409 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7410 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7412 $as_echo_n "checking for $ac_word... " >&6; }
7413 if ${ac_cv_prog_READELF+:} false
; then :
7414 $as_echo_n "(cached) " >&6
7416 if test -n "$READELF"; then
7417 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7419 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7423 test -z "$as_dir" && as_dir
=.
7424 for ac_exec_ext
in '' $ac_executable_extensions; do
7425 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7426 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7436 READELF
=$ac_cv_prog_READELF
7437 if test -n "$READELF"; then
7438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7439 $as_echo "$READELF" >&6; }
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7442 $as_echo "no" >&6; }
7447 if test -z "$ac_cv_prog_READELF"; then
7448 ac_ct_READELF
=$READELF
7449 # Extract the first word of "readelf", so it can be a program name with args.
7450 set dummy readelf
; ac_word
=$2
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7452 $as_echo_n "checking for $ac_word... " >&6; }
7453 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7454 $as_echo_n "(cached) " >&6
7456 if test -n "$ac_ct_READELF"; then
7457 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7459 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7463 test -z "$as_dir" && as_dir
=.
7464 for ac_exec_ext
in '' $ac_executable_extensions; do
7465 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7466 ac_cv_prog_ac_ct_READELF
="readelf"
7467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7476 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7477 if test -n "$ac_ct_READELF"; then
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7479 $as_echo "$ac_ct_READELF" >&6; }
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7482 $as_echo "no" >&6; }
7485 if test "x$ac_ct_READELF" = x
; then
7488 case $cross_compiling:$ac_tool_warned in
7490 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7491 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7492 ac_tool_warned
=yes ;;
7494 READELF
=$ac_ct_READELF
7497 READELF
="$ac_cv_prog_READELF"
7500 wine_rules_file
=conf$
$rules.
make
7501 rm -f $wine_rules_file
7506 CONFIGURE_TARGETS
=""
7508 ALL_TEST_RESOURCES
=""
7511 wine_fn_append_file
()
7513 as_fn_append
$1 " \\$as_nl $2"
7516 wine_fn_append_rule
()
7518 $as_echo "$1" >>$wine_rules_file
7523 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7526 wine_fn_all_rules
()
7528 wine_fn_append_file SUBDIRS
$ac_dir
7529 wine_fn_append_rule \
7533 @cd $ac_dir && \$(MAKE)"
7536 wine_fn_install_rules
()
7538 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7540 wine_fn_append_rule \
7541 ".PHONY: $ac_dir/install $ac_dir/uninstall
7542 $ac_dir/install:: $ac_dir
7543 @cd $ac_dir && \$(MAKE) install
7545 @cd $ac_dir && \$(MAKE) uninstall
7546 install:: $ac_dir/install
7547 __uninstall__: $ac_dir/uninstall"
7549 if wine_fn_has_flag install-lib
7551 wine_fn_append_rule \
7552 ".PHONY: $ac_dir/install-lib
7553 $ac_dir/install-lib:: $ac_dir
7554 @cd $ac_dir && \$(MAKE) install-lib
7555 install-lib:: $ac_dir/install-lib"
7558 if wine_fn_has_flag install-dev
7560 wine_fn_append_rule \
7561 ".PHONY: $ac_dir/install-dev
7562 $ac_dir/install-dev:: $ac_dir
7563 @cd $ac_dir && \$(MAKE) install-dev
7564 install-dev:: $ac_dir/install-dev"
7568 wine_fn_clean_rules
()
7572 if wine_fn_has_flag clean
7574 wine_fn_append_rule \
7575 "$ac_dir/clean: dummy
7576 @cd $ac_dir && \$(MAKE) clean"
7578 wine_fn_append_rule \
7579 "$ac_dir/clean: dummy
7580 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7582 wine_fn_append_rule \
7583 "__clean__: $ac_dir/clean
7584 .PHONY: $ac_dir/clean"
7587 wine_fn_disabled_rules
()
7591 wine_fn_append_file SUBDIRS
$ac_dir
7592 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir
7593 wine_fn_append_rule \
7594 "__clean__: $ac_dir/clean
7595 .PHONY: $ac_dir/clean
7596 $ac_dir/clean: dummy
7597 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7600 wine_fn_config_makefile
()
7607 fonts|server
) test -z "$with_wine64" ||
return ;;
7609 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7610 wine_fn_disabled_rules
; return
7613 wine_fn_install_rules
7617 wine_fn_config_lib
()
7621 ac_dir
=dlls
/$ac_name
7624 if test "x$enable_tools" = xno
; then :
7627 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7632 wine_fn_append_rule \
7633 ".PHONY: $ac_dir/install $ac_dir/uninstall
7634 $ac_dir/install:: $ac_dir
7635 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7637 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7638 install install-dev:: $ac_dir/install
7639 __uninstall__: $ac_dir/uninstall
7640 __builddeps__: $ac_dir
7644 wine_fn_config_dll
()
7647 ac_dir
=dlls
/$ac_name
7650 ac_implib
=${4:-$ac_name}
7651 ac_file
=$ac_dir/lib
$ac_implib
7656 if test "x$enable_tools" = xno
; then :
7659 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7662 *16) ac_implibflags
=" -m16" ;;
7664 *) ac_dll
=$ac_dll.dll
;;
7668 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7669 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7671 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7672 if test "$ac_enable" != enable_win16
7674 wine_fn_clean_rules
$ac_clean
7675 wine_fn_append_file SUBDIRS
$ac_dir
7676 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir
7678 wine_fn_disabled_rules
$ac_clean
7683 wine_fn_clean_rules
$ac_clean
7684 wine_fn_append_rule \
7685 "$ac_dir: __builddeps__
7686 manpages htmlpages sgmlpages xmlpages::
7687 @cd $ac_dir && \$(MAKE) \$@
7688 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7689 install install-lib:: $ac_dir/install-lib
7690 __uninstall__: $ac_dir/uninstall"
7691 if test -n "$DLLEXT"
7693 wine_fn_append_rule \
7694 "$ac_dir/install-lib:: $ac_dir
7695 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7696 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7698 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7700 wine_fn_append_rule \
7701 "$ac_dir/install-lib:: $ac_dir
7702 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7704 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7708 if wine_fn_has_flag staticimplib
7710 wine_fn_append_rule \
7711 "__builddeps__: $ac_file.a
7712 $ac_file.a $ac_file.cross.a: $ac_deps
7714 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7715 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7716 $ac_dir/install-dev:: $ac_file.a
7717 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7719 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7720 install install-dev:: $ac_dir/install-dev
7721 __uninstall__: $ac_dir/uninstall"
7723 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7725 wine_fn_append_rule \
7726 "__builddeps__: $ac_file.cross.a
7727 $ac_file.cross.a: dummy
7728 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7731 elif wine_fn_has_flag implib
7733 wine_fn_append_rule \
7734 "__builddeps__: $ac_file.$IMPLIBEXT
7735 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7736 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7737 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7738 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7739 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7740 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7741 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7743 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7744 install install-dev:: $ac_dir/install-dev
7745 __uninstall__: $ac_dir/uninstall"
7746 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7748 wine_fn_append_rule \
7749 "__builddeps__: $ac_file.cross.a
7750 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7751 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7756 wine_fn_config_program
()
7759 ac_dir
=programs
/$ac_name
7766 *) ac_program
=$ac_program.exe
;;
7770 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7771 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7773 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7774 wine_fn_disabled_rules
$ac_clean; return
7778 wine_fn_clean_rules
$ac_clean
7779 wine_fn_append_rule
"$ac_dir: __builddeps__"
7781 wine_fn_has_flag
install ||
return
7782 wine_fn_append_rule \
7783 ".PHONY: $ac_dir/install $ac_dir/uninstall
7784 install install-lib:: $ac_dir/install
7785 __uninstall__: $ac_dir/uninstall"
7787 if test -n "$DLLEXT"
7789 wine_fn_append_rule \
7790 "$ac_dir/install:: $ac_dir
7791 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7792 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7794 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7796 if test -z "$with_wine64" && wine_fn_has_flag installbin
7798 wine_fn_append_rule \
7799 "$ac_dir/install:: __tooldeps__
7800 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7802 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7805 wine_fn_append_rule \
7806 "$ac_dir/install:: $ac_dir
7807 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7809 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7812 if test -z "$with_wine64" && wine_fn_has_flag manpage
7814 wine_fn_append_rule \
7815 "$ac_dir/install:: $ac_dir
7816 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7818 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7822 wine_fn_config_test
()
7829 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7830 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7832 if test "x$enable_tests" = xno
; then :
7833 wine_fn_disabled_rules
$ac_clean; return
7836 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7838 wine_fn_clean_rules
$ac_clean
7840 wine_fn_append_rule \
7841 "$ac_dir: __builddeps__
7842 programs/winetest: $ac_dir
7843 check test: $ac_dir/test
7844 .PHONY: $ac_dir/test
7846 @cd $ac_dir && \$(MAKE) test
7848 \$(RM) $ac_dir/*.ok"
7850 if test -n "$CROSSTARGET"
7852 wine_fn_append_rule \
7853 "crosstest: $ac_dir/crosstest
7854 .PHONY: $ac_dir/crosstest
7855 $ac_dir/crosstest: __builddeps__ dummy
7856 @cd $ac_dir && \$(MAKE) crosstest"
7860 wine_fn_config_tool
()
7864 if test "x$enable_tools" = xno
; then :
7865 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir; return
7869 wine_fn_install_rules
7872 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7873 wine_fn_append_rule
"$ac_dir: libs/port"
7875 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7879 wine_fn_config_symlink
()
7882 if test "x$1" = "x-d"
7888 wine_fn_append_rule \
7890 @./config.status \$@"
7891 for f
in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS
$f; done
7892 test -n "$ac_linkdir" ||
return
7893 wine_fn_append_rule
"$ac_linkdir/depend: $ac_links"
7897 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7898 WINELOADER_PROGRAMS
="$wine_binary"
7900 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7904 if test -n "$ac_tool_prefix"; then
7905 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7906 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7908 $as_echo_n "checking for $ac_word... " >&6; }
7909 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7910 $as_echo_n "(cached) " >&6
7912 if test -n "$DLLTOOL"; then
7913 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7919 test -z "$as_dir" && as_dir
=.
7920 for ac_exec_ext
in '' $ac_executable_extensions; do
7921 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7922 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7932 DLLTOOL
=$ac_cv_prog_DLLTOOL
7933 if test -n "$DLLTOOL"; then
7934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7935 $as_echo "$DLLTOOL" >&6; }
7937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7938 $as_echo "no" >&6; }
7943 if test -z "$ac_cv_prog_DLLTOOL"; then
7944 ac_ct_DLLTOOL
=$DLLTOOL
7945 # Extract the first word of "dlltool", so it can be a program name with args.
7946 set dummy dlltool
; ac_word
=$2
7947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7948 $as_echo_n "checking for $ac_word... " >&6; }
7949 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7950 $as_echo_n "(cached) " >&6
7952 if test -n "$ac_ct_DLLTOOL"; then
7953 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7959 test -z "$as_dir" && as_dir
=.
7960 for ac_exec_ext
in '' $ac_executable_extensions; do
7961 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7962 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7972 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7973 if test -n "$ac_ct_DLLTOOL"; then
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7975 $as_echo "$ac_ct_DLLTOOL" >&6; }
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7978 $as_echo "no" >&6; }
7981 if test "x$ac_ct_DLLTOOL" = x
; then
7984 case $cross_compiling:$ac_tool_warned in
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7987 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7988 ac_tool_warned
=yes ;;
7990 DLLTOOL
=$ac_ct_DLLTOOL
7993 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7999 enable_iphlpapi
=${enable_iphlpapi:-no}
8000 enable_kernel32
=${enable_kernel32:-no}
8001 enable_msvcrt
=${enable_msvcrt:-no}
8002 enable_ntdll
=${enable_ntdll:-no}
8003 enable_ws2_32
=${enable_ws2_32:-no}
8004 enable_loader
=${enable_loader:-no}
8005 enable_server
=${enable_server:-no}
8006 with_x
=${with_x:-no}
8007 with_pthread
=${with_pthread:-no}
8013 SOCKET_LIBS
="-lws2_32"
8017 LIBWINE_SHAREDLIB
="libwine.dll"
8019 LIBWINE_IMPORTLIB
="libwine.a"
8021 LIBWINE_INSTALL_LIB
="libwine.dll"
8023 LIBWINE_INSTALL_DEV
="libwine.a"
8025 LIBWINE_LDFLAGS
="-shared \$(srcdir)/wine.def"
8027 LIBWINE_DEPENDS
="wine.def"
8032 for ac_header
in libunwind.h
8034 ac_fn_c_check_header_mongrel
"$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8035 if test "x$ac_cv_header_libunwind_h" = xyes
; then :
8036 cat >>confdefs.h
<<_ACEOF
8037 #define HAVE_LIBUNWIND_H 1
8045 DLLFLAGS
="$DLLFLAGS -fPIC"
8046 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8047 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8048 COREFOUNDATION_LIBS
="-framework CoreFoundation"
8050 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
8052 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
8054 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
8056 CORESERVICES_LIBS
="-framework CoreServices"
8058 APPKIT_LIBS
="-framework AppKit"
8060 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8062 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8063 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
8064 $as_echo_n "(cached) " >&6
8066 ac_wine_try_cflags_saved
=$CFLAGS
8067 CFLAGS
="$CFLAGS -Wl,-no_pie"
8068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8069 /* end confdefs.h. */
8070 int main(int argc, char **argv) { return 0; }
8072 if ac_fn_c_try_link
"$LINENO"; then :
8073 ac_cv_cflags__Wl__no_pie
=yes
8075 ac_cv_cflags__Wl__no_pie
=no
8077 rm -f core conftest.err conftest.
$ac_objext \
8078 conftest
$ac_exeext conftest.
$ac_ext
8079 CFLAGS
=$ac_wine_try_cflags_saved
8081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8082 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8083 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
8084 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
8086 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8088 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
8091 if test "$ac_cv_header_Security_Security_h" = "yes"
8093 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
8095 ac_save_LIBS
="$LIBS"
8096 LIBS
="$LIBS $SECURITY_LIBS"
8097 for ac_func
in SSLCopyPeerCertificates
8099 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8100 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
8101 cat >>confdefs.h
<<_ACEOF
8102 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8108 LIBS
="$ac_save_LIBS"
8109 with_gnutls
=${with_gnutls:-no}
8111 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8113 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8115 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8118 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8121 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-yes}
8122 ac_save_LIBS
="$LIBS"
8123 LIBS
="$LIBS $COREAUDIO_LIBS"
8124 for ac_func
in AUGraphAddNode
8126 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8127 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
8128 cat >>confdefs.h
<<_ACEOF
8129 #define HAVE_AUGRAPHADDNODE 1
8135 LIBS
="$ac_save_LIBS"
8137 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8139 OPENAL_LIBS
="-framework OpenAL"
8142 cat >>confdefs.h
<<_ACEOF
8143 #define HAVE_OPENAL 1
8146 ac_cv_lib_openal
=yes
8148 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8150 OPENCL_LIBS
="-framework OpenCL"
8152 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
8154 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8156 ac_save_LIBS
="$LIBS"
8157 LIBS
="$LIBS $IOKIT_LIBS"
8158 for ac_func
in IOHIDManagerCreate
8160 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8161 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
8162 cat >>confdefs.h
<<_ACEOF
8163 #define HAVE_IOHIDMANAGERCREATE 1
8169 LIBS
="$ac_save_LIBS"
8171 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8173 ac_save_LIBS
="$LIBS"
8174 LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8176 $as_echo_n "checking for the QuickTime framework... " >&6; }
8177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8178 /* end confdefs.h. */
8179 #include <QuickTime/ImageCompression.h>
8183 CodecManagerVersion(NULL);
8188 if ac_fn_c_try_link
"$LINENO"; then :
8189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8190 $as_echo "yes" >&6; }
8191 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8193 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8196 $as_echo "no" >&6; }
8197 ac_cv_header_QuickTime_ImageCompression_h
=no
8199 rm -f core conftest.err conftest.
$ac_objext \
8200 conftest
$ac_exeext conftest.
$ac_ext
8201 LIBS
="$ac_save_LIBS"
8203 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8205 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8207 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8209 CARBON_LIBS
="-framework Carbon"
8213 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8215 ac_save_LIBS
="$LIBS"
8216 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
8217 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8218 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
8219 enable_winemac_drv
=${enable_winemac_drv:-yes}
8222 LIBS
="$ac_save_LIBS"
8225 if test "x$enable_win16" = "xyes"
8227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8228 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8229 if test "$cross_compiling" = yes; then :
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8231 $as_echo "cross-compiling, assuming yes" >&6; }
8233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8234 /* end confdefs.h. */
8237 "good:\tnop;nop\n\t"
8238 ".globl _testfunc\n"
8239 "_testfunc:\tcallw good");
8240 extern void testfunc();
8244 unsigned short *p = (unsigned short *)testfunc;
8245 return p[0] != 0xe866 || p[1] != 0xfffa
8250 if ac_fn_c_try_run
"$LINENO"; then :
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8252 $as_echo "yes" >&6; }
8254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8255 $as_echo "no" >&6; }
8256 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
8258 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8259 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8264 LIBWINE_SHAREDLIB
="libwine.$libwine_version.dylib"
8266 LIBWINE_INSTALL_LIB
="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8268 LIBWINE_INSTALL_DEV
="libwine.dylib"
8270 LIBWINE_LDFLAGS
="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8272 WINELOADER_DEPENDS
="wine_info.plist"
8277 DLLFLAGS
="$DLLFLAGS -fPIC"
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8279 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8280 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8281 $as_echo_n "(cached) " >&6
8283 ac_wine_try_cflags_saved
=$CFLAGS
8284 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8286 /* end confdefs.h. */
8287 int main(int argc, char **argv) { return 0; }
8289 if ac_fn_c_try_link
"$LINENO"; then :
8290 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8292 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8294 rm -f core conftest.err conftest.
$ac_objext \
8295 conftest
$ac_exeext conftest.
$ac_ext
8296 CFLAGS
=$ac_wine_try_cflags_saved
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8299 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8300 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8301 LDEXECFLAGS
="-Wl,--export-dynamic"
8303 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8305 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8306 if eval \
${$as_ac_var+:} false
; then :
8307 $as_echo_n "(cached) " >&6
8309 ac_wine_try_cflags_saved
=$CFLAGS
8310 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8312 /* end confdefs.h. */
8313 int main(int argc, char **argv) { return 0; }
8315 if ac_fn_c_try_link
"$LINENO"; then :
8316 eval "$as_ac_var=yes"
8318 eval "$as_ac_var=no"
8320 rm -f core conftest.err conftest.
$ac_objext \
8321 conftest
$ac_exeext conftest.
$ac_ext
8322 CFLAGS
=$ac_wine_try_cflags_saved
8324 eval ac_res
=\$
$as_ac_var
8325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8326 $as_echo "$ac_res" >&6; }
8327 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8328 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8329 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8331 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8333 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8334 if eval \
${$as_ac_var+:} false
; then :
8335 $as_echo_n "(cached) " >&6
8337 ac_wine_try_cflags_saved
=$CFLAGS
8338 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8340 /* end confdefs.h. */
8341 int main(int argc, char **argv) { return 0; }
8343 if ac_fn_c_try_link
"$LINENO"; then :
8344 eval "$as_ac_var=yes"
8346 eval "$as_ac_var=no"
8348 rm -f core conftest.err conftest.
$ac_objext \
8349 conftest
$ac_exeext conftest.
$ac_ext
8350 CFLAGS
=$ac_wine_try_cflags_saved
8352 eval ac_res
=\$
$as_ac_var
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8354 $as_echo "$ac_res" >&6; }
8355 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8356 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8357 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8362 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8363 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8364 $as_echo_n "(cached) " >&6
8366 ac_wine_try_cflags_saved
=$CFLAGS
8367 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8369 /* end confdefs.h. */
8370 int main(int argc, char **argv) { return 0; }
8372 if ac_fn_c_try_link
"$LINENO"; then :
8373 ac_cv_cflags__Wl___enable_new_dtags
=yes
8375 ac_cv_cflags__Wl___enable_new_dtags
=no
8377 rm -f core conftest.err conftest.
$ac_objext \
8378 conftest
$ac_exeext conftest.
$ac_ext
8379 CFLAGS
=$ac_wine_try_cflags_saved
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8382 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8383 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8384 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8387 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8388 if ${ac_cv_cflags__Wl__pie+:} false
; then :
8389 $as_echo_n "(cached) " >&6
8391 ac_wine_try_cflags_saved
=$CFLAGS
8392 CFLAGS
="$CFLAGS -Wl,-pie"
8393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8394 /* end confdefs.h. */
8395 int main(int argc, char **argv) { return 0; }
8397 if ac_fn_c_try_link
"$LINENO"; then :
8398 ac_cv_cflags__Wl__pie
=yes
8400 ac_cv_cflags__Wl__pie
=no
8402 rm -f core conftest.err conftest.
$ac_objext \
8403 conftest
$ac_exeext conftest.
$ac_ext
8404 CFLAGS
=$ac_wine_try_cflags_saved
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8407 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8408 if test "x$ac_cv_cflags__Wl__pie" = xyes
; then :
8409 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,-pie"
8412 LIBWINE_SHAREDLIB
="libwine.so"
8414 LIBWINE_INSTALL_LIB
="libwine.so"
8416 LIBWINE_LDFLAGS
="-shared -Wl,-soname,libwine.so"
8421 DLLFLAGS
="$DLLFLAGS -fPIC"
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8424 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8425 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8426 $as_echo_n "(cached) " >&6
8428 ac_wine_try_cflags_saved
=$CFLAGS
8429 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8431 /* end confdefs.h. */
8434 if ac_fn_c_try_link
"$LINENO"; then :
8435 ac_cv_c_dll_gnuelf
="yes"
8437 ac_cv_c_dll_gnuelf
="no"
8439 rm -f core conftest.err conftest.
$ac_objext \
8440 conftest
$ac_exeext conftest.
$ac_ext
8441 CFLAGS
=$ac_wine_try_cflags_saved
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8444 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8445 if test "$ac_cv_c_dll_gnuelf" = "yes"
8447 LIBWINE_LDFLAGS
="-shared"
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8449 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8450 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8451 $as_echo_n "(cached) " >&6
8453 ac_wine_try_cflags_saved
=$CFLAGS
8454 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8456 /* end confdefs.h. */
8457 int main(int argc, char **argv) { return 0; }
8459 if ac_fn_c_try_link
"$LINENO"; then :
8460 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8462 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8464 rm -f core conftest.err conftest.
$ac_objext \
8465 conftest
$ac_exeext conftest.
$ac_ext
8466 CFLAGS
=$ac_wine_try_cflags_saved
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8469 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8470 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8471 LIBWINE_LDFLAGS
="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8474 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8475 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8476 $as_echo_n "(cached) " >&6
8478 ac_wine_try_cflags_saved
=$CFLAGS
8479 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8480 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8481 /* end confdefs.h. */
8482 int main(int argc, char **argv) { return 0; }
8484 if ac_fn_c_try_link
"$LINENO"; then :
8485 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8487 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8489 rm -f core conftest.err conftest.
$ac_objext \
8490 conftest
$ac_exeext conftest.
$ac_ext
8491 CFLAGS
=$ac_wine_try_cflags_saved
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8494 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8495 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8496 LIBWINE_LDFLAGS
="-shared -Wl,-h,libwine.so.$libwine_soversion"
8500 echo '{ global: *; };' >conftest.map
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8502 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8503 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8504 $as_echo_n "(cached) " >&6
8506 ac_wine_try_cflags_saved
=$CFLAGS
8507 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8509 /* end confdefs.h. */
8510 int main(int argc, char **argv) { return 0; }
8512 if ac_fn_c_try_link
"$LINENO"; then :
8513 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8515 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8517 rm -f core conftest.err conftest.
$ac_objext \
8518 conftest
$ac_exeext conftest.
$ac_ext
8519 CFLAGS
=$ac_wine_try_cflags_saved
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8522 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8523 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8524 LIBWINE_LDFLAGS
="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8529 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8530 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8531 $as_echo_n "(cached) " >&6
8533 ac_wine_try_cflags_saved
=$CFLAGS
8534 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8536 /* end confdefs.h. */
8537 int main(int argc, char **argv) { return 0; }
8539 if ac_fn_c_try_link
"$LINENO"; then :
8540 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8542 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8544 rm -f core conftest.err conftest.
$ac_objext \
8545 conftest
$ac_exeext conftest.
$ac_ext
8546 CFLAGS
=$ac_wine_try_cflags_saved
8548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8549 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8550 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8551 LDEXECFLAGS
="-Wl,--export-dynamic"
8554 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8556 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8557 if eval \
${$as_ac_var+:} false
; then :
8558 $as_echo_n "(cached) " >&6
8560 ac_wine_try_cflags_saved
=$CFLAGS
8561 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8563 /* end confdefs.h. */
8564 int main(int argc, char **argv) { return 0; }
8566 if ac_fn_c_try_link
"$LINENO"; then :
8567 eval "$as_ac_var=yes"
8569 eval "$as_ac_var=no"
8571 rm -f core conftest.err conftest.
$ac_objext \
8572 conftest
$ac_exeext conftest.
$ac_ext
8573 CFLAGS
=$ac_wine_try_cflags_saved
8575 eval ac_res
=\$
$as_ac_var
8576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8577 $as_echo "$ac_res" >&6; }
8578 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8579 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8580 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8582 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8584 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8585 if eval \
${$as_ac_var+:} false
; then :
8586 $as_echo_n "(cached) " >&6
8588 ac_wine_try_cflags_saved
=$CFLAGS
8589 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8591 /* end confdefs.h. */
8592 int main(int argc, char **argv) { return 0; }
8594 if ac_fn_c_try_link
"$LINENO"; then :
8595 eval "$as_ac_var=yes"
8597 eval "$as_ac_var=no"
8599 rm -f core conftest.err conftest.
$ac_objext \
8600 conftest
$ac_exeext conftest.
$ac_ext
8601 CFLAGS
=$ac_wine_try_cflags_saved
8603 eval ac_res
=\$
$as_ac_var
8604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8605 $as_echo "$ac_res" >&6; }
8606 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8607 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8608 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8613 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8614 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8615 $as_echo_n "(cached) " >&6
8617 ac_wine_try_cflags_saved
=$CFLAGS
8618 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8620 /* end confdefs.h. */
8621 int main(int argc, char **argv) { return 0; }
8623 if ac_fn_c_try_link
"$LINENO"; then :
8624 ac_cv_cflags__Wl___enable_new_dtags
=yes
8626 ac_cv_cflags__Wl___enable_new_dtags
=no
8628 rm -f core conftest.err conftest.
$ac_objext \
8629 conftest
$ac_exeext conftest.
$ac_ext
8630 CFLAGS
=$ac_wine_try_cflags_saved
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8633 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8634 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8635 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8639 *i
[3456789]86* | x86_64
)
8640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8641 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8642 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false
; then :
8643 $as_echo_n "(cached) " >&6
8645 ac_wine_try_cflags_saved
=$CFLAGS
8646 CFLAGS
="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8648 /* end confdefs.h. */
8649 int main(int argc, char **argv) { return 0; }
8651 if ac_fn_c_try_link
"$LINENO"; then :
8652 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000
=yes
8654 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000
=no
8656 rm -f core conftest.err conftest.
$ac_objext \
8657 conftest
$ac_exeext conftest.
$ac_ext
8658 CFLAGS
=$ac_wine_try_cflags_saved
8660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8661 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8662 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
; then :
8664 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8665 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8669 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8670 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false
; then :
8671 $as_echo_n "(cached) " >&6
8673 ac_wine_try_cflags_saved
=$CFLAGS
8674 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8676 /* end confdefs.h. */
8677 int main(int argc, char **argv) { return 0; }
8679 if ac_fn_c_try_link
"$LINENO"; then :
8680 ac_cv_cflags__Wl___section_start__interp_0x7c000400
=yes
8682 ac_cv_cflags__Wl___section_start__interp_0x7c000400
=no
8684 rm -f core conftest.err conftest.
$ac_objext \
8685 conftest
$ac_exeext conftest.
$ac_ext
8686 CFLAGS
=$ac_wine_try_cflags_saved
8688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8689 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8690 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes
; then :
8692 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8693 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8696 # Extract the first word of "prelink", so it can be a program name with args.
8697 set dummy prelink
; ac_word
=$2
8698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8699 $as_echo_n "checking for $ac_word... " >&6; }
8700 if ${ac_cv_path_PRELINK+:} false
; then :
8701 $as_echo_n "(cached) " >&6
8705 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8708 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8709 for as_dir
in /sbin
/usr
/sbin
$PATH
8712 test -z "$as_dir" && as_dir
=.
8713 for ac_exec_ext
in '' $ac_executable_extensions; do
8714 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8715 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8723 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8727 PRELINK
=$ac_cv_path_PRELINK
8728 if test -n "$PRELINK"; then
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8730 $as_echo "$PRELINK" >&6; }
8732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8733 $as_echo "no" >&6; }
8737 if test "x$PRELINK" = xfalse
8739 as_fn_append wine_warnings
"|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8743 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8744 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false
; then :
8745 $as_echo_n "(cached) " >&6
8747 ac_wine_try_cflags_saved
=$CFLAGS
8748 CFLAGS
="$CFLAGS -Wl,-z,max-page-size=0x1000"
8749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8750 /* end confdefs.h. */
8751 int main(int argc, char **argv) { return 0; }
8753 if ac_fn_c_try_link
"$LINENO"; then :
8754 ac_cv_cflags__Wl__z_max_page_size_0x1000
=yes
8756 ac_cv_cflags__Wl__z_max_page_size_0x1000
=no
8758 rm -f core conftest.err conftest.
$ac_objext \
8759 conftest
$ac_exeext conftest.
$ac_ext
8760 CFLAGS
=$ac_wine_try_cflags_saved
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8763 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8764 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
; then :
8765 LDEXECFLAGS
="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8772 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8773 if ${ac_cv_c_dll_unixware+:} false
; then :
8774 $as_echo_n "(cached) " >&6
8776 ac_wine_try_cflags_saved
=$CFLAGS
8777 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8779 /* end confdefs.h. */
8782 if ac_fn_c_try_link
"$LINENO"; then :
8783 ac_cv_c_dll_unixware
="yes"
8785 ac_cv_c_dll_unixware
="no"
8787 rm -f core conftest.err conftest.
$ac_objext \
8788 conftest
$ac_exeext conftest.
$ac_ext
8789 CFLAGS
=$ac_wine_try_cflags_saved
8791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8792 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8793 if test "$ac_cv_c_dll_unixware" = "yes"
8795 LIBWINE_LDFLAGS
="-Wl,-G,-h,libwine.so.$libwine_soversion"
8798 LIBWINE_SHAREDLIB
="libwine.so.$libwine_version"
8800 LIBWINE_INSTALL_LIB
="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8802 LIBWINE_INSTALL_DEV
="libwine.so"
8804 LIBWINE_DEPENDS
="wine.map"
8809 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
8810 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8811 enable_winemac_drv
=${enable_winemac_drv:-no}
8812 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
8816 if test "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8820 ac_prefix_list
="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8822 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
8823 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8826 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
8827 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8829 ac_prefix_list
="" ;;
8831 for ac_prog
in $ac_prefix_list
8833 # Extract the first word of "$ac_prog", so it can be a program name with args.
8834 set dummy
$ac_prog; ac_word
=$2
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8836 $as_echo_n "checking for $ac_word... " >&6; }
8837 if ${ac_cv_prog_CROSSCC+:} false
; then :
8838 $as_echo_n "(cached) " >&6
8840 if test -n "$CROSSCC"; then
8841 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8847 test -z "$as_dir" && as_dir
=.
8848 for ac_exec_ext
in '' $ac_executable_extensions; do
8849 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8850 ac_cv_prog_CROSSCC
="$ac_prog"
8851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8860 CROSSCC
=$ac_cv_prog_CROSSCC
8861 if test -n "$CROSSCC"; then
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8863 $as_echo "$CROSSCC" >&6; }
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8866 $as_echo "no" >&6; }
8870 test -n "$CROSSCC" && break
8872 test -n "$CROSSCC" || CROSSCC
="false"
8874 if test "$CROSSCC" != "false"
8878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8879 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8881 /* end confdefs.h. */
8891 if ac_fn_c_try_compile
"$LINENO"; then :
8892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8893 $as_echo "yes" >&6; }
8899 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8900 *-clang) CROSSTARGET
=`expr "$1" : '\(.*\)-clang'` ;;
8905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8906 $as_echo "no" >&6; }
8908 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8914 if test "$ac_cv_header_pthread_h" = "yes"
8916 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8917 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8921 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8922 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8923 $as_echo_n "(cached) " >&6
8925 ac_check_lib_save_LIBS
=$LIBS
8926 LIBS
="-lpthread $LIBS"
8927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8928 /* end confdefs.h. */
8930 /* Override any GCC internal prototype to avoid an error.
8931 Use char because int might match the return type of a GCC
8932 builtin and then its argument prototype would still apply. */
8936 char pthread_create ();
8940 return pthread_create ();
8945 if ac_fn_c_try_link
"$LINENO"; then :
8946 ac_cv_lib_pthread_pthread_create
=yes
8948 ac_cv_lib_pthread_pthread_create
=no
8950 rm -f core conftest.err conftest.
$ac_objext \
8951 conftest
$ac_exeext conftest.
$ac_ext
8952 LIBS
=$ac_check_lib_save_LIBS
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8955 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8956 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8957 PTHREAD_LIBS
="-lpthread"
8964 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8965 case "x$with_pthread" in
8967 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8968 Wine cannot support threads without libpthread.
8969 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8976 $as_echo_n "checking for X... " >&6; }
8979 # Check whether --with-x was given.
8980 if test "${with_x+set}" = set; then :
8984 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8985 if test "x$with_x" = xno
; then
8986 # The user explicitly disabled X.
8989 case $x_includes,$x_libraries in #(
8990 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8991 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8992 $as_echo_n "(cached) " >&6
8994 # One or both of the vars are not set, and there is no cached value.
8995 ac_x_includes
=no ac_x_libraries
=no
8996 rm -f -r conftest.dir
8997 if mkdir conftest.dir
; then
8999 cat >Imakefile
<<'_ACEOF'
9001 @echo incroot='${INCROOT}'
9003 @echo usrlibdir='${USRLIBDIR}'
9005 @echo libdir='${LIBDIR}'
9007 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
9008 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9009 for ac_var
in incroot usrlibdir libdir
; do
9010 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9012 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9013 for ac_extension
in a so sl dylib la dll
; do
9014 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9015 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9016 ac_im_usrlibdir
=$ac_im_libdir; break
9019 # Screen out bogus values from the imake configuration. They are
9020 # bogus both because they are the default anyway, and because
9021 # using them would break gcc on systems where it needs fixed includes.
9022 case $ac_im_incroot in
9023 /usr
/include
) ac_x_includes
= ;;
9024 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
9026 case $ac_im_usrlibdir in
9027 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
9028 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
9032 rm -f -r conftest.dir
9035 # Standard set of common directories for X headers.
9036 # Check X11 before X11Rn because it is often a symlink to the current release.
9050 /usr/local/X11/include
9051 /usr/local/X11R7/include
9052 /usr/local/X11R6/include
9053 /usr/local/X11R5/include
9054 /usr/local/X11R4/include
9056 /usr/local/include/X11
9057 /usr/local/include/X11R7
9058 /usr/local/include/X11R6
9059 /usr/local/include/X11R5
9060 /usr/local/include/X11R4
9064 /usr/XFree86/include/X11
9068 /usr/unsupported/include
9070 /usr/local/x11r5/include
9071 /usr/lpp/Xamples/include
9073 /usr/openwin/include
9074 /usr/openwin/share/include'
9076 if test "$ac_x_includes" = no
; then
9077 # Guess where to find include files, by looking for Xlib.h.
9078 # First, try using that file with no special directory specified.
9079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9080 /* end confdefs.h. */
9081 #include <X11/Xlib.h>
9083 if ac_fn_c_try_cpp
"$LINENO"; then :
9084 # We can compile using X headers with no special include directory.
9087 for ac_dir
in $ac_x_header_dirs; do
9088 if test -r "$ac_dir/X11/Xlib.h"; then
9089 ac_x_includes
=$ac_dir
9094 rm -f conftest.err conftest.i conftest.
$ac_ext
9095 fi # $ac_x_includes = no
9097 if test "$ac_x_libraries" = no
; then
9098 # Check for the libraries.
9099 # See if we find them without any special options.
9100 # Don't add to $LIBS permanently.
9103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9104 /* end confdefs.h. */
9105 #include <X11/Xlib.h>
9114 if ac_fn_c_try_link
"$LINENO"; then :
9116 # We can link X programs with no special library path.
9120 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9122 # Don't even attempt the hair of trying to link an X program!
9123 for ac_extension
in a so sl dylib la dll
; do
9124 if test -r "$ac_dir/libX11.$ac_extension"; then
9125 ac_x_libraries
=$ac_dir
9131 rm -f core conftest.err conftest.
$ac_objext \
9132 conftest
$ac_exeext conftest.
$ac_ext
9133 fi # $ac_x_libraries = no
9135 case $ac_x_includes,$ac_x_libraries in #(
9137 # Didn't find X, or a directory has "'" in its name.
9138 ac_cv_have_x
="have_x=no";; #(
9140 # Record where we found X for the cache.
9141 ac_cv_have_x
="have_x=yes\
9142 ac_x_includes='$ac_x_includes'\
9143 ac_x_libraries='$ac_x_libraries'"
9149 eval "$ac_cv_have_x"
9152 if test "$have_x" != yes; then
9153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9154 $as_echo "$have_x" >&6; }
9157 # If each of the values was on the command line, it overrides each guess.
9158 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
9159 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
9160 # Update the cache value to reflect the command line values.
9161 ac_cv_have_x
="have_x=yes\
9162 ac_x_includes='$x_includes'\
9163 ac_x_libraries='$x_libraries'"
9164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9165 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9168 if test "$no_x" = yes; then
9169 # Not all programs may use this symbol, but it does not hurt to define it.
9171 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9173 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
9175 if test -n "$x_includes"; then
9176 X_CFLAGS
="$X_CFLAGS -I$x_includes"
9179 # It would also be nice to do this for all -L options, not just this one.
9180 if test -n "$x_libraries"; then
9181 X_LIBS
="$X_LIBS -L$x_libraries"
9182 # For Solaris; some versions of Sun CC require a space after -R and
9183 # others require no space. Words are not sufficient . . . .
9184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9185 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9186 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
9187 ac_xsave_c_werror_flag
=$ac_c_werror_flag
9188 ac_c_werror_flag
=yes
9189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9190 /* end confdefs.h. */
9200 if ac_fn_c_try_link
"$LINENO"; then :
9201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9202 $as_echo "no" >&6; }
9203 X_LIBS
="$X_LIBS -R$x_libraries"
9205 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9207 /* end confdefs.h. */
9217 if ac_fn_c_try_link
"$LINENO"; then :
9218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9219 $as_echo "yes" >&6; }
9220 X_LIBS
="$X_LIBS -R $x_libraries"
9222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9223 $as_echo "neither works" >&6; }
9225 rm -f core conftest.err conftest.
$ac_objext \
9226 conftest
$ac_exeext conftest.
$ac_ext
9228 rm -f core conftest.err conftest.
$ac_objext \
9229 conftest
$ac_exeext conftest.
$ac_ext
9230 ac_c_werror_flag
=$ac_xsave_c_werror_flag
9234 # Check for system-dependent libraries X programs must link with.
9235 # Do this before checking for the system-independent R6 libraries
9236 # (-lICE), since we may need -lsocket or whatever for X linking.
9238 if test "$ISC" = yes; then
9239 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9241 # Martyn Johnson says this is needed for Ultrix, if the X
9242 # libraries were built with DECnet support. And Karl Berry says
9243 # the Alpha needs dnet_stub (dnet does not exist).
9244 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
9245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9246 /* end confdefs.h. */
9248 /* Override any GCC internal prototype to avoid an error.
9249 Use char because int might match the return type of a GCC
9250 builtin and then its argument prototype would still apply. */
9254 char XOpenDisplay ();
9258 return XOpenDisplay ();
9263 if ac_fn_c_try_link
"$LINENO"; then :
9266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9267 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9268 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
9269 $as_echo_n "(cached) " >&6
9271 ac_check_lib_save_LIBS
=$LIBS
9273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9274 /* end confdefs.h. */
9276 /* Override any GCC internal prototype to avoid an error.
9277 Use char because int might match the return type of a GCC
9278 builtin and then its argument prototype would still apply. */
9286 return dnet_ntoa ();
9291 if ac_fn_c_try_link
"$LINENO"; then :
9292 ac_cv_lib_dnet_dnet_ntoa
=yes
9294 ac_cv_lib_dnet_dnet_ntoa
=no
9296 rm -f core conftest.err conftest.
$ac_objext \
9297 conftest
$ac_exeext conftest.
$ac_ext
9298 LIBS
=$ac_check_lib_save_LIBS
9300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9301 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9302 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
9303 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9306 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9308 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9309 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
9310 $as_echo_n "(cached) " >&6
9312 ac_check_lib_save_LIBS
=$LIBS
9313 LIBS
="-ldnet_stub $LIBS"
9314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9315 /* end confdefs.h. */
9317 /* Override any GCC internal prototype to avoid an error.
9318 Use char because int might match the return type of a GCC
9319 builtin and then its argument prototype would still apply. */
9327 return dnet_ntoa ();
9332 if ac_fn_c_try_link
"$LINENO"; then :
9333 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
9335 ac_cv_lib_dnet_stub_dnet_ntoa
=no
9337 rm -f core conftest.err conftest.
$ac_objext \
9338 conftest
$ac_exeext conftest.
$ac_ext
9339 LIBS
=$ac_check_lib_save_LIBS
9341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9342 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9343 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9344 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9349 rm -f core conftest.err conftest.
$ac_objext \
9350 conftest
$ac_exeext conftest.
$ac_ext
9351 LIBS
="$ac_xsave_LIBS"
9353 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9354 # to get the SysV transport functions.
9355 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9357 # The nsl library prevents programs from opening the X display
9358 # on Irix 5.2, according to T.E. Dickey.
9359 # The functions gethostbyname, getservbyname, and inet_addr are
9360 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9361 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9362 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9366 if test $ac_cv_func_gethostbyname = no
; then
9367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9368 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9369 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9370 $as_echo_n "(cached) " >&6
9372 ac_check_lib_save_LIBS
=$LIBS
9374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9375 /* end confdefs.h. */
9377 /* Override any GCC internal prototype to avoid an error.
9378 Use char because int might match the return type of a GCC
9379 builtin and then its argument prototype would still apply. */
9383 char gethostbyname ();
9387 return gethostbyname ();
9392 if ac_fn_c_try_link
"$LINENO"; then :
9393 ac_cv_lib_nsl_gethostbyname
=yes
9395 ac_cv_lib_nsl_gethostbyname
=no
9397 rm -f core conftest.err conftest.
$ac_objext \
9398 conftest
$ac_exeext conftest.
$ac_ext
9399 LIBS
=$ac_check_lib_save_LIBS
9401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9402 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9403 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9404 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9407 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9409 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9410 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9411 $as_echo_n "(cached) " >&6
9413 ac_check_lib_save_LIBS
=$LIBS
9415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9416 /* end confdefs.h. */
9418 /* Override any GCC internal prototype to avoid an error.
9419 Use char because int might match the return type of a GCC
9420 builtin and then its argument prototype would still apply. */
9424 char gethostbyname ();
9428 return gethostbyname ();
9433 if ac_fn_c_try_link
"$LINENO"; then :
9434 ac_cv_lib_bsd_gethostbyname
=yes
9436 ac_cv_lib_bsd_gethostbyname
=no
9438 rm -f core conftest.err conftest.
$ac_objext \
9439 conftest
$ac_exeext conftest.
$ac_ext
9440 LIBS
=$ac_check_lib_save_LIBS
9442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9443 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9444 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9445 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9451 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9452 # socket/setsockopt and other routines are undefined under SCO ODT
9453 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9454 # on later versions), says Simon Leinen: it contains gethostby*
9455 # variants that don't use the name server (or something). -lsocket
9456 # must be given before -lnsl if both are needed. We assume that
9457 # if connect needs -lnsl, so does gethostbyname.
9458 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9459 if test "x$ac_cv_func_connect" = xyes
; then :
9463 if test $ac_cv_func_connect = no
; then
9464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9465 $as_echo_n "checking for connect in -lsocket... " >&6; }
9466 if ${ac_cv_lib_socket_connect+:} false
; then :
9467 $as_echo_n "(cached) " >&6
9469 ac_check_lib_save_LIBS
=$LIBS
9470 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9472 /* end confdefs.h. */
9474 /* Override any GCC internal prototype to avoid an error.
9475 Use char because int might match the return type of a GCC
9476 builtin and then its argument prototype would still apply. */
9489 if ac_fn_c_try_link
"$LINENO"; then :
9490 ac_cv_lib_socket_connect
=yes
9492 ac_cv_lib_socket_connect
=no
9494 rm -f core conftest.err conftest.
$ac_objext \
9495 conftest
$ac_exeext conftest.
$ac_ext
9496 LIBS
=$ac_check_lib_save_LIBS
9498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9499 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9500 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9501 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9506 # Guillermo Gomez says -lposix is necessary on A/UX.
9507 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9508 if test "x$ac_cv_func_remove" = xyes
; then :
9512 if test $ac_cv_func_remove = no
; then
9513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9514 $as_echo_n "checking for remove in -lposix... " >&6; }
9515 if ${ac_cv_lib_posix_remove+:} false
; then :
9516 $as_echo_n "(cached) " >&6
9518 ac_check_lib_save_LIBS
=$LIBS
9519 LIBS
="-lposix $LIBS"
9520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9521 /* end confdefs.h. */
9523 /* Override any GCC internal prototype to avoid an error.
9524 Use char because int might match the return type of a GCC
9525 builtin and then its argument prototype would still apply. */
9538 if ac_fn_c_try_link
"$LINENO"; then :
9539 ac_cv_lib_posix_remove
=yes
9541 ac_cv_lib_posix_remove
=no
9543 rm -f core conftest.err conftest.
$ac_objext \
9544 conftest
$ac_exeext conftest.
$ac_ext
9545 LIBS
=$ac_check_lib_save_LIBS
9547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9548 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9549 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9550 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9555 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9556 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9557 if test "x$ac_cv_func_shmat" = xyes
; then :
9561 if test $ac_cv_func_shmat = no
; then
9562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9563 $as_echo_n "checking for shmat in -lipc... " >&6; }
9564 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9565 $as_echo_n "(cached) " >&6
9567 ac_check_lib_save_LIBS
=$LIBS
9569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9570 /* end confdefs.h. */
9572 /* Override any GCC internal prototype to avoid an error.
9573 Use char because int might match the return type of a GCC
9574 builtin and then its argument prototype would still apply. */
9587 if ac_fn_c_try_link
"$LINENO"; then :
9588 ac_cv_lib_ipc_shmat
=yes
9590 ac_cv_lib_ipc_shmat
=no
9592 rm -f core conftest.err conftest.
$ac_objext \
9593 conftest
$ac_exeext conftest.
$ac_ext
9594 LIBS
=$ac_check_lib_save_LIBS
9596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9597 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9598 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9599 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9605 # Check for libraries that X11R6 Xt/Xaw programs need.
9606 ac_save_LDFLAGS
=$LDFLAGS
9607 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9608 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9609 # check for ICE first), but we must link in the order -lSM -lICE or
9610 # we get undefined symbols. So assume we have SM if we have ICE.
9611 # These have to be linked with before -lX11, unlike the other
9612 # libraries we check for below, so use a different variable.
9613 # John Interrante, Karl Berry
9614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9615 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9616 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9617 $as_echo_n "(cached) " >&6
9619 ac_check_lib_save_LIBS
=$LIBS
9620 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9622 /* end confdefs.h. */
9624 /* Override any GCC internal prototype to avoid an error.
9625 Use char because int might match the return type of a GCC
9626 builtin and then its argument prototype would still apply. */
9630 char IceConnectionNumber ();
9634 return IceConnectionNumber ();
9639 if ac_fn_c_try_link
"$LINENO"; then :
9640 ac_cv_lib_ICE_IceConnectionNumber
=yes
9642 ac_cv_lib_ICE_IceConnectionNumber
=no
9644 rm -f core conftest.err conftest.
$ac_objext \
9645 conftest
$ac_exeext conftest.
$ac_ext
9646 LIBS
=$ac_check_lib_save_LIBS
9648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9649 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9650 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9651 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9654 LDFLAGS
=$ac_save_LDFLAGS
9659 if test "$have_x" = "yes"
9661 ac_save_CPPFLAGS
="$CPPFLAGS"
9662 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9665 $as_echo_n "checking for -lX11... " >&6; }
9666 if ${ac_cv_lib_soname_X11+:} false
; then :
9667 $as_echo_n "(cached) " >&6
9669 ac_check_soname_save_LIBS
=$LIBS
9670 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9672 /* end confdefs.h. */
9674 /* Override any GCC internal prototype to avoid an error.
9675 Use char because int might match the return type of a GCC
9676 builtin and then its argument prototype would still apply. */
9680 char XCreateWindow ();
9684 return XCreateWindow ();
9689 if ac_fn_c_try_link
"$LINENO"; then :
9691 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9692 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'` ;;
9693 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9694 if ${ac_cv_lib_soname_X11:+false} :; then :
9695 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9699 rm -f core conftest.err conftest.
$ac_objext \
9700 conftest
$ac_exeext conftest.
$ac_ext
9701 LIBS
=$ac_check_soname_save_LIBS
9703 if ${ac_cv_lib_soname_X11:+false} :; then :
9704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9705 $as_echo "not found" >&6; }
9708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9709 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9711 cat >>confdefs.h
<<_ACEOF
9712 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9718 $as_echo_n "checking for -lXext... " >&6; }
9719 if ${ac_cv_lib_soname_Xext+:} false
; then :
9720 $as_echo_n "(cached) " >&6
9722 ac_check_soname_save_LIBS
=$LIBS
9723 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9725 /* end confdefs.h. */
9727 /* Override any GCC internal prototype to avoid an error.
9728 Use char because int might match the return type of a GCC
9729 builtin and then its argument prototype would still apply. */
9733 char XextCreateExtension ();
9737 return XextCreateExtension ();
9742 if ac_fn_c_try_link
"$LINENO"; then :
9744 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9745 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'` ;;
9746 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9747 if ${ac_cv_lib_soname_Xext:+false} :; then :
9748 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9752 rm -f core conftest.err conftest.
$ac_objext \
9753 conftest
$ac_exeext conftest.
$ac_ext
9754 LIBS
=$ac_check_soname_save_LIBS
9756 if ${ac_cv_lib_soname_Xext:+false} :; then :
9757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9758 $as_echo "not found" >&6; }
9761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9762 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9764 cat >>confdefs.h
<<_ACEOF
9765 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9768 X_LIBS
="$X_LIBS -lXext"
9770 X_LIBS
="$X_LIBS -lX11"
9772 for ac_header
in X11
/Xlib.h \
9775 X11
/Xcursor
/Xcursor.h \
9776 X11
/extensions
/shape.h \
9777 X11
/extensions
/XInput.h \
9778 X11
/extensions
/XInput2.h \
9779 X11
/extensions
/XShm.h \
9780 X11
/extensions
/Xcomposite.h \
9781 X11
/extensions
/Xinerama.h \
9782 X11
/extensions
/Xrandr.h \
9783 X11
/extensions
/Xrender.h \
9784 X11
/extensions
/xf86vmode.h \
9785 X11
/extensions
/xf86vmproto.h
9787 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9788 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9789 # include <X11/Xlib.h>
9791 #ifdef HAVE_X11_XUTIL_H
9792 # include <X11/Xutil.h>
9795 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9796 cat >>confdefs.h
<<_ACEOF
9797 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9805 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9808 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9809 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9810 $as_echo_n "(cached) " >&6
9812 ac_check_lib_save_LIBS
=$LIBS
9813 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9815 /* end confdefs.h. */
9817 /* Override any GCC internal prototype to avoid an error.
9818 Use char because int might match the return type of a GCC
9819 builtin and then its argument prototype would still apply. */
9823 char XkbQueryExtension ();
9827 return XkbQueryExtension ();
9832 if ac_fn_c_try_link
"$LINENO"; then :
9833 ac_cv_lib_X11_XkbQueryExtension
=yes
9835 ac_cv_lib_X11_XkbQueryExtension
=no
9837 rm -f core conftest.err conftest.
$ac_objext \
9838 conftest
$ac_exeext conftest.
$ac_ext
9839 LIBS
=$ac_check_lib_save_LIBS
9841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9842 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9843 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9845 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9851 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9854 $as_echo_n "checking for -lXcursor... " >&6; }
9855 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9856 $as_echo_n "(cached) " >&6
9858 ac_check_soname_save_LIBS
=$LIBS
9859 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9860 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9861 /* end confdefs.h. */
9863 /* Override any GCC internal prototype to avoid an error.
9864 Use char because int might match the return type of a GCC
9865 builtin and then its argument prototype would still apply. */
9869 char XcursorImageLoadCursor ();
9873 return XcursorImageLoadCursor ();
9878 if ac_fn_c_try_link
"$LINENO"; then :
9880 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9881 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'` ;;
9882 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9883 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9884 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9888 rm -f core conftest.err conftest.
$ac_objext \
9889 conftest
$ac_exeext conftest.
$ac_ext
9890 LIBS
=$ac_check_soname_save_LIBS
9892 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9894 $as_echo "not found" >&6; }
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9898 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9900 cat >>confdefs.h
<<_ACEOF
9901 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9907 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9908 case "x$with_xcursor" in
9909 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9911 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9912 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9917 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9920 $as_echo_n "checking for -lXi... " >&6; }
9921 if ${ac_cv_lib_soname_Xi+:} false
; then :
9922 $as_echo_n "(cached) " >&6
9924 ac_check_soname_save_LIBS
=$LIBS
9925 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9927 /* end confdefs.h. */
9929 /* Override any GCC internal prototype to avoid an error.
9930 Use char because int might match the return type of a GCC
9931 builtin and then its argument prototype would still apply. */
9935 char XOpenDevice ();
9939 return XOpenDevice ();
9944 if ac_fn_c_try_link
"$LINENO"; then :
9946 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9947 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'` ;;
9948 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9949 if ${ac_cv_lib_soname_Xi:+false} :; then :
9950 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9954 rm -f core conftest.err conftest.
$ac_objext \
9955 conftest
$ac_exeext conftest.
$ac_ext
9956 LIBS
=$ac_check_soname_save_LIBS
9958 if ${ac_cv_lib_soname_Xi:+false} :; then :
9959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9960 $as_echo "not found" >&6; }
9963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9964 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9966 cat >>confdefs.h
<<_ACEOF
9967 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9973 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9974 case "x$with_xinput" in
9975 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9977 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9978 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9983 if test "x$ac_cv_lib_soname_Xi" != x
9985 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9986 case "x$with_xinput2" in
9987 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9989 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9990 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9996 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9999 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10000 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
10001 $as_echo_n "(cached) " >&6
10003 ac_check_lib_save_LIBS
=$LIBS
10004 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10006 /* end confdefs.h. */
10008 /* Override any GCC internal prototype to avoid an error.
10009 Use char because int might match the return type of a GCC
10010 builtin and then its argument prototype would still apply. */
10014 char XShmQueryExtension ();
10018 return XShmQueryExtension ();
10023 if ac_fn_c_try_link
"$LINENO"; then :
10024 ac_cv_lib_Xext_XShmQueryExtension
=yes
10026 ac_cv_lib_Xext_XShmQueryExtension
=no
10028 rm -f core conftest.err conftest.
$ac_objext \
10029 conftest
$ac_exeext conftest.
$ac_ext
10030 LIBS
=$ac_check_lib_save_LIBS
10032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10033 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10034 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
10036 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10041 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10042 case "x$with_xshm" in
10043 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10045 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10046 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10051 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10054 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10055 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
10056 $as_echo_n "(cached) " >&6
10058 ac_check_lib_save_LIBS
=$LIBS
10059 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10061 /* end confdefs.h. */
10063 /* Override any GCC internal prototype to avoid an error.
10064 Use char because int might match the return type of a GCC
10065 builtin and then its argument prototype would still apply. */
10069 char XShapeQueryExtension ();
10073 return XShapeQueryExtension ();
10078 if ac_fn_c_try_link
"$LINENO"; then :
10079 ac_cv_lib_Xext_XShapeQueryExtension
=yes
10081 ac_cv_lib_Xext_XShapeQueryExtension
=no
10083 rm -f core conftest.err conftest.
$ac_objext \
10084 conftest
$ac_exeext conftest.
$ac_ext
10085 LIBS
=$ac_check_lib_save_LIBS
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10088 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10089 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
10091 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10096 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10097 case "x$with_xshape" in
10098 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10100 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
10101 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10106 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10109 $as_echo_n "checking for -lXxf86vm... " >&6; }
10110 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
10111 $as_echo_n "(cached) " >&6
10113 ac_check_soname_save_LIBS
=$LIBS
10114 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10116 /* end confdefs.h. */
10118 /* Override any GCC internal prototype to avoid an error.
10119 Use char because int might match the return type of a GCC
10120 builtin and then its argument prototype would still apply. */
10124 char XF86VidModeQueryExtension ();
10128 return XF86VidModeQueryExtension ();
10133 if ac_fn_c_try_link
"$LINENO"; then :
10135 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10136 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'` ;;
10137 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10138 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10139 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10143 rm -f core conftest.err conftest.
$ac_objext \
10144 conftest
$ac_exeext conftest.
$ac_ext
10145 LIBS
=$ac_check_soname_save_LIBS
10147 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10149 $as_echo "not found" >&6; }
10152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10153 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10155 cat >>confdefs.h
<<_ACEOF
10156 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10162 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10163 case "x$with_xxf86vm" in
10164 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10166 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10167 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10172 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10175 $as_echo_n "checking for -lXrender... " >&6; }
10176 if ${ac_cv_lib_soname_Xrender+:} false
; then :
10177 $as_echo_n "(cached) " >&6
10179 ac_check_soname_save_LIBS
=$LIBS
10180 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10182 /* end confdefs.h. */
10184 /* Override any GCC internal prototype to avoid an error.
10185 Use char because int might match the return type of a GCC
10186 builtin and then its argument prototype would still apply. */
10190 char XRenderQueryExtension ();
10194 return XRenderQueryExtension ();
10199 if ac_fn_c_try_link
"$LINENO"; then :
10201 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10202 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'` ;;
10203 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10204 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10205 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10209 rm -f core conftest.err conftest.
$ac_objext \
10210 conftest
$ac_exeext conftest.
$ac_ext
10211 LIBS
=$ac_check_soname_save_LIBS
10213 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10215 $as_echo "not found" >&6; }
10218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10219 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10221 cat >>confdefs.h
<<_ACEOF
10222 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10226 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10227 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
10228 $as_echo_n "(cached) " >&6
10230 ac_check_lib_save_LIBS
=$LIBS
10231 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10233 /* end confdefs.h. */
10235 /* Override any GCC internal prototype to avoid an error.
10236 Use char because int might match the return type of a GCC
10237 builtin and then its argument prototype would still apply. */
10241 char XRenderSetPictureTransform ();
10245 return XRenderSetPictureTransform ();
10250 if ac_fn_c_try_link
"$LINENO"; then :
10251 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10253 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10255 rm -f core conftest.err conftest.
$ac_objext \
10256 conftest
$ac_exeext conftest.
$ac_ext
10257 LIBS
=$ac_check_lib_save_LIBS
10259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10260 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10261 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
10263 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10268 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10269 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
10270 $as_echo_n "(cached) " >&6
10272 ac_check_lib_save_LIBS
=$LIBS
10273 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10275 /* end confdefs.h. */
10277 /* Override any GCC internal prototype to avoid an error.
10278 Use char because int might match the return type of a GCC
10279 builtin and then its argument prototype would still apply. */
10283 char XRenderCreateLinearGradient ();
10287 return XRenderCreateLinearGradient ();
10292 if ac_fn_c_try_link
"$LINENO"; then :
10293 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
10295 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
10297 rm -f core conftest.err conftest.
$ac_objext \
10298 conftest
$ac_exeext conftest.
$ac_ext
10299 LIBS
=$ac_check_lib_save_LIBS
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10302 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10303 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
10305 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10312 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10313 case "x$with_xrender" in
10314 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10316 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
10317 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10322 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10325 /* end confdefs.h. */
10326 #include <X11/Xlib.h>
10327 #include <X11/extensions/Xrandr.h>
10331 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10336 if ac_fn_c_try_compile
"$LINENO"; then :
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10338 $as_echo_n "checking for -lXrandr... " >&6; }
10339 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
10340 $as_echo_n "(cached) " >&6
10342 ac_check_soname_save_LIBS
=$LIBS
10343 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10345 /* end confdefs.h. */
10347 /* Override any GCC internal prototype to avoid an error.
10348 Use char because int might match the return type of a GCC
10349 builtin and then its argument prototype would still apply. */
10353 char XRRQueryExtension ();
10357 return XRRQueryExtension ();
10362 if ac_fn_c_try_link
"$LINENO"; then :
10364 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10365 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'` ;;
10366 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10367 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10368 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10372 rm -f core conftest.err conftest.
$ac_objext \
10373 conftest
$ac_exeext conftest.
$ac_ext
10374 LIBS
=$ac_check_soname_save_LIBS
10376 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10378 $as_echo "not found" >&6; }
10381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10382 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10384 cat >>confdefs.h
<<_ACEOF
10385 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10389 /* end confdefs.h. */
10390 #include <X11/Xlib.h>
10391 #include <X11/extensions/Xrandr.h>
10395 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10400 if ac_fn_c_try_compile
"$LINENO"; then :
10402 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10405 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10408 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10410 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10411 case "x$with_xrandr" in
10412 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10414 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10415 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10420 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10423 /* end confdefs.h. */
10424 #include <X11/Xlib.h>
10425 #include <X11/extensions/Xinerama.h>
10429 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10434 if ac_fn_c_try_compile
"$LINENO"; then :
10435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10436 $as_echo_n "checking for -lXinerama... " >&6; }
10437 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10438 $as_echo_n "(cached) " >&6
10440 ac_check_soname_save_LIBS
=$LIBS
10441 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10443 /* end confdefs.h. */
10445 /* Override any GCC internal prototype to avoid an error.
10446 Use char because int might match the return type of a GCC
10447 builtin and then its argument prototype would still apply. */
10451 char XineramaQueryScreens ();
10455 return XineramaQueryScreens ();
10460 if ac_fn_c_try_link
"$LINENO"; then :
10462 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10463 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'` ;;
10464 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10465 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10466 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10470 rm -f core conftest.err conftest.
$ac_objext \
10471 conftest
$ac_exeext conftest.
$ac_ext
10472 LIBS
=$ac_check_soname_save_LIBS
10474 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10476 $as_echo "not found" >&6; }
10479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10480 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10482 cat >>confdefs.h
<<_ACEOF
10483 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10489 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10491 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10492 case "x$with_xinerama" in
10493 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10495 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10496 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10501 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10504 $as_echo_n "checking for -lXcomposite... " >&6; }
10505 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10506 $as_echo_n "(cached) " >&6
10508 ac_check_soname_save_LIBS
=$LIBS
10509 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10511 /* end confdefs.h. */
10513 /* Override any GCC internal prototype to avoid an error.
10514 Use char because int might match the return type of a GCC
10515 builtin and then its argument prototype would still apply. */
10519 char XCompositeRedirectWindow ();
10523 return XCompositeRedirectWindow ();
10528 if ac_fn_c_try_link
"$LINENO"; then :
10530 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10531 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'` ;;
10532 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10533 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10534 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10538 rm -f core conftest.err conftest.
$ac_objext \
10539 conftest
$ac_exeext conftest.
$ac_ext
10540 LIBS
=$ac_check_soname_save_LIBS
10542 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10544 $as_echo "not found" >&6; }
10547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10548 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10550 cat >>confdefs.h
<<_ACEOF
10551 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10557 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10558 case "x$with_xcomposite" in
10559 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10561 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10562 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10567 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10568 #include <X11/Xlib.h>
10571 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10573 cat >>confdefs.h
<<_ACEOF
10574 #define HAVE_XICCALLBACK_CALLBACK 1
10579 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10580 #include <X11/Xlib.h>
10583 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10585 cat >>confdefs.h
<<_ACEOF
10586 #define HAVE_XEVENT_XCOOKIE 1
10595 if test "x$with_opengl" != "xno"
10597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10598 $as_echo_n "checking for -lGL... " >&6; }
10599 if ${ac_cv_lib_soname_GL+:} false
; then :
10600 $as_echo_n "(cached) " >&6
10602 ac_check_soname_save_LIBS
=$LIBS
10603 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10604 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10605 /* end confdefs.h. */
10607 /* Override any GCC internal prototype to avoid an error.
10608 Use char because int might match the return type of a GCC
10609 builtin and then its argument prototype would still apply. */
10613 char glXCreateContext ();
10617 return glXCreateContext ();
10622 if ac_fn_c_try_link
"$LINENO"; then :
10624 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10625 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'` ;;
10626 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10627 if ${ac_cv_lib_soname_GL:+false} :; then :
10628 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10632 rm -f core conftest.err conftest.
$ac_objext \
10633 conftest
$ac_exeext conftest.
$ac_ext
10634 LIBS
=$ac_check_soname_save_LIBS
10636 if ${ac_cv_lib_soname_GL:+false} :; then :
10637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10638 $as_echo "not found" >&6; }
10639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10640 $as_echo_n "checking for -lGL... " >&6; }
10641 if ${ac_cv_lib_soname_GL+:} false
; then :
10642 $as_echo_n "(cached) " >&6
10644 ac_check_soname_save_LIBS
=$LIBS
10645 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"
10646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10647 /* end confdefs.h. */
10649 /* Override any GCC internal prototype to avoid an error.
10650 Use char because int might match the return type of a GCC
10651 builtin and then its argument prototype would still apply. */
10655 char glXCreateContext ();
10659 return glXCreateContext ();
10664 if ac_fn_c_try_link
"$LINENO"; then :
10666 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10667 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'` ;;
10668 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10669 if ${ac_cv_lib_soname_GL:+false} :; then :
10670 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10674 rm -f core conftest.err conftest.
$ac_objext \
10675 conftest
$ac_exeext conftest.
$ac_ext
10676 LIBS
=$ac_check_soname_save_LIBS
10678 if ${ac_cv_lib_soname_GL:+false} :; then :
10679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10680 $as_echo "not found" >&6; }
10681 if test -f /usr
/X11R
6/lib
/libGL.a
10683 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10684 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10686 opengl_msg
="No OpenGL library found on this system."
10689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10690 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10692 cat >>confdefs.h
<<_ACEOF
10693 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10696 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"
10699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10700 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10702 cat >>confdefs.h
<<_ACEOF
10703 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10708 if test "x$with_glu" != "xno"
10710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10711 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10712 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10713 $as_echo_n "(cached) " >&6
10715 ac_check_lib_save_LIBS
=$LIBS
10716 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10718 /* end confdefs.h. */
10720 /* Override any GCC internal prototype to avoid an error.
10721 Use char because int might match the return type of a GCC
10722 builtin and then its argument prototype would still apply. */
10730 return gluLookAt ();
10735 if ac_fn_c_try_link
"$LINENO"; then :
10736 ac_cv_lib_GLU_gluLookAt
=yes
10738 ac_cv_lib_GLU_gluLookAt
=no
10740 rm -f core conftest.err conftest.
$ac_objext \
10741 conftest
$ac_exeext conftest.
$ac_ext
10742 LIBS
=$ac_check_lib_save_LIBS
10744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10745 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10746 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10750 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10751 case "x$with_glu" in
10752 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10754 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10755 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10761 if test "x$with_osmesa" != "xno"
10763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10764 $as_echo_n "checking for -lOSMesa... " >&6; }
10765 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10766 $as_echo_n "(cached) " >&6
10768 ac_check_soname_save_LIBS
=$LIBS
10769 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10771 /* end confdefs.h. */
10773 /* Override any GCC internal prototype to avoid an error.
10774 Use char because int might match the return type of a GCC
10775 builtin and then its argument prototype would still apply. */
10788 if ac_fn_c_try_link
"$LINENO"; then :
10790 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10791 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'` ;;
10792 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10793 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10794 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10798 rm -f core conftest.err conftest.
$ac_objext \
10799 conftest
$ac_exeext conftest.
$ac_ext
10800 LIBS
=$ac_check_soname_save_LIBS
10802 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10804 $as_echo "not found" >&6; }
10807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10808 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10810 cat >>confdefs.h
<<_ACEOF
10811 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10816 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10817 case "x$with_osmesa" in
10818 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10820 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10821 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10827 if test -n "$opengl_msg"; then :
10828 case "x$with_opengl" in
10829 x
) as_fn_append wine_warnings
"|$opengl_msg
10830 OpenGL and Direct3D won't be supported." ;;
10832 *) as_fn_error $?
"$opengl_msg
10833 OpenGL and Direct3D won't be supported.
10834 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10839 CPPFLAGS
="$ac_save_CPPFLAGS"
10844 if test "x$X_LIBS" = "x"; then :
10847 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10848 without X support, which probably isn't what you want. You will need
10849 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10850 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10852 enable_winex11_drv
=${enable_winex11_drv:-no}
10855 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10857 if test "$ac_cv_header_CL_cl_h" = "yes"
10859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10860 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10861 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10862 $as_echo_n "(cached) " >&6
10864 ac_check_lib_save_LIBS
=$LIBS
10865 LIBS
="-lOpenCL $LIBS"
10866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10867 /* end confdefs.h. */
10869 /* Override any GCC internal prototype to avoid an error.
10870 Use char because int might match the return type of a GCC
10871 builtin and then its argument prototype would still apply. */
10875 char clGetPlatformInfo ();
10879 return clGetPlatformInfo ();
10884 if ac_fn_c_try_link
"$LINENO"; then :
10885 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10887 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10889 rm -f core conftest.err conftest.
$ac_objext \
10890 conftest
$ac_exeext conftest.
$ac_ext
10891 LIBS
=$ac_check_lib_save_LIBS
10893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10894 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10895 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10896 OPENCL_LIBS
="-lOpenCL"
10901 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10902 case "x$with_opencl" in
10903 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10905 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10906 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10908 enable_opencl
=${enable_opencl:-no}
10911 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10914 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10915 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10916 $as_echo_n "(cached) " >&6
10918 ac_check_lib_save_LIBS
=$LIBS
10919 LIBS
="-lpcap $LIBS"
10920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10921 /* end confdefs.h. */
10923 /* Override any GCC internal prototype to avoid an error.
10924 Use char because int might match the return type of a GCC
10925 builtin and then its argument prototype would still apply. */
10929 char pcap_create ();
10933 return pcap_create ();
10938 if ac_fn_c_try_link
"$LINENO"; then :
10939 ac_cv_lib_pcap_pcap_create
=yes
10941 ac_cv_lib_pcap_pcap_create
=no
10943 rm -f core conftest.err conftest.
$ac_objext \
10944 conftest
$ac_exeext conftest.
$ac_ext
10945 LIBS
=$ac_check_lib_save_LIBS
10947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10948 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10949 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10955 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10956 case "x$with_pcap" in
10957 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10959 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10960 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10962 enable_wpcap
=${enable_wpcap:-no}
10966 if test "x$with_xml" != "xno"
10968 if ${XML2_CFLAGS:+false} :; then :
10969 if ${PKG_CONFIG+:} false
; then :
10970 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10973 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
10974 if ${XML2_LIBS:+false} :; then :
10975 if ${PKG_CONFIG+:} false
; then :
10976 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10979 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
10980 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10981 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10982 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10983 ac_save_CPPFLAGS
=$CPPFLAGS
10984 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10985 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10987 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10988 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10989 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10990 cat >>confdefs.h
<<_ACEOF
10991 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10998 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"
11000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11001 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11002 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
11003 $as_echo_n "(cached) " >&6
11005 ac_check_lib_save_LIBS
=$LIBS
11006 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11008 /* end confdefs.h. */
11010 /* Override any GCC internal prototype to avoid an error.
11011 Use char because int might match the return type of a GCC
11012 builtin and then its argument prototype would still apply. */
11016 char xmlParseMemory ();
11020 return xmlParseMemory ();
11025 if ac_fn_c_try_link
"$LINENO"; then :
11026 ac_cv_lib_xml2_xmlParseMemory
=yes
11028 ac_cv_lib_xml2_xmlParseMemory
=no
11030 rm -f core conftest.err conftest.
$ac_objext \
11031 conftest
$ac_exeext conftest.
$ac_ext
11032 LIBS
=$ac_check_lib_save_LIBS
11034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11035 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11036 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
11038 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11045 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11046 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
11047 $as_echo_n "(cached) " >&6
11049 ac_check_lib_save_LIBS
=$LIBS
11050 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11052 /* end confdefs.h. */
11054 /* Override any GCC internal prototype to avoid an error.
11055 Use char because int might match the return type of a GCC
11056 builtin and then its argument prototype would still apply. */
11060 char xmlReadMemory ();
11064 return xmlReadMemory ();
11069 if ac_fn_c_try_link
"$LINENO"; then :
11070 ac_cv_lib_xml2_xmlReadMemory
=yes
11072 ac_cv_lib_xml2_xmlReadMemory
=no
11074 rm -f core conftest.err conftest.
$ac_objext \
11075 conftest
$ac_exeext conftest.
$ac_ext
11076 LIBS
=$ac_check_lib_save_LIBS
11078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11079 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11080 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
11082 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11087 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11088 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
11089 $as_echo_n "(cached) " >&6
11091 ac_check_lib_save_LIBS
=$LIBS
11092 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11094 /* end confdefs.h. */
11096 /* Override any GCC internal prototype to avoid an error.
11097 Use char because int might match the return type of a GCC
11098 builtin and then its argument prototype would still apply. */
11102 char xmlNewDocPI ();
11106 return xmlNewDocPI ();
11111 if ac_fn_c_try_link
"$LINENO"; then :
11112 ac_cv_lib_xml2_xmlNewDocPI
=yes
11114 ac_cv_lib_xml2_xmlNewDocPI
=no
11116 rm -f core conftest.err conftest.
$ac_objext \
11117 conftest
$ac_exeext conftest.
$ac_ext
11118 LIBS
=$ac_check_lib_save_LIBS
11120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11121 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11122 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
11124 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11129 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11130 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
11131 $as_echo_n "(cached) " >&6
11133 ac_check_lib_save_LIBS
=$LIBS
11134 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11136 /* end confdefs.h. */
11138 /* Override any GCC internal prototype to avoid an error.
11139 Use char because int might match the return type of a GCC
11140 builtin and then its argument prototype would still apply. */
11144 char xmlSchemaSetParserStructuredErrors ();
11148 return xmlSchemaSetParserStructuredErrors ();
11153 if ac_fn_c_try_link
"$LINENO"; then :
11154 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
11156 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
11158 rm -f core conftest.err conftest.
$ac_objext \
11159 conftest
$ac_exeext conftest.
$ac_ext
11160 LIBS
=$ac_check_lib_save_LIBS
11162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11163 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11164 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
11166 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11171 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11172 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
11173 $as_echo_n "(cached) " >&6
11175 ac_check_lib_save_LIBS
=$LIBS
11176 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11178 /* end confdefs.h. */
11180 /* Override any GCC internal prototype to avoid an error.
11181 Use char because int might match the return type of a GCC
11182 builtin and then its argument prototype would still apply. */
11186 char xmlSchemaSetValidStructuredErrors ();
11190 return xmlSchemaSetValidStructuredErrors ();
11195 if ac_fn_c_try_link
"$LINENO"; then :
11196 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
11198 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
11200 rm -f core conftest.err conftest.
$ac_objext \
11201 conftest
$ac_exeext conftest.
$ac_ext
11202 LIBS
=$ac_check_lib_save_LIBS
11204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11205 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11206 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
11208 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11213 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11214 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
11215 $as_echo_n "(cached) " >&6
11217 ac_check_lib_save_LIBS
=$LIBS
11218 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11220 /* end confdefs.h. */
11222 /* Override any GCC internal prototype to avoid an error.
11223 Use char because int might match the return type of a GCC
11224 builtin and then its argument prototype would still apply. */
11228 char xmlFirstElementChild ();
11232 return xmlFirstElementChild ();
11237 if ac_fn_c_try_link
"$LINENO"; then :
11238 ac_cv_lib_xml2_xmlFirstElementChild
=yes
11240 ac_cv_lib_xml2_xmlFirstElementChild
=no
11242 rm -f core conftest.err conftest.
$ac_objext \
11243 conftest
$ac_exeext conftest.
$ac_ext
11244 LIBS
=$ac_check_lib_save_LIBS
11246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11247 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11248 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
11250 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11254 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11256 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
11258 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11266 CPPFLAGS
=$ac_save_CPPFLAGS
11267 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11268 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11271 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11272 case "x$with_xml" in
11273 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11275 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11276 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11281 if test "x$with_xslt" != "xno"
11283 if ${XSLT_CFLAGS:+false} :; then :
11284 if ${PKG_CONFIG+:} false
; then :
11285 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11288 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11289 if ${XSLT_LIBS:+false} :; then :
11290 if ${PKG_CONFIG+:} false
; then :
11291 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11294 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11295 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
11296 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11297 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11298 ac_save_CPPFLAGS
=$CPPFLAGS
11299 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
11300 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11302 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11303 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11304 # include <libxslt/pattern.h>
11307 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11308 cat >>confdefs.h
<<_ACEOF
11309 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11316 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11319 $as_echo_n "checking for -lxslt... " >&6; }
11320 if ${ac_cv_lib_soname_xslt+:} false
; then :
11321 $as_echo_n "(cached) " >&6
11323 ac_check_soname_save_LIBS
=$LIBS
11324 LIBS
="-lxslt $XSLT_LIBS $LIBS"
11325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11326 /* end confdefs.h. */
11328 /* Override any GCC internal prototype to avoid an error.
11329 Use char because int might match the return type of a GCC
11330 builtin and then its argument prototype would still apply. */
11334 char xsltCompilePattern ();
11338 return xsltCompilePattern ();
11343 if ac_fn_c_try_link
"$LINENO"; then :
11345 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11346 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'` ;;
11347 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11348 if ${ac_cv_lib_soname_xslt:+false} :; then :
11349 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11353 rm -f core conftest.err conftest.
$ac_objext \
11354 conftest
$ac_exeext conftest.
$ac_ext
11355 LIBS
=$ac_check_soname_save_LIBS
11357 if ${ac_cv_lib_soname_xslt:+false} :; then :
11358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11359 $as_echo "not found" >&6; }
11362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11363 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11365 cat >>confdefs.h
<<_ACEOF
11366 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11374 CPPFLAGS
=$ac_save_CPPFLAGS
11375 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11376 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11379 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11380 case "x$with_xslt" in
11381 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11383 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11384 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11389 if test "x$with_dbus" != "xno"
11391 if ${DBUS_CFLAGS:+false} :; then :
11392 if ${PKG_CONFIG+:} false
; then :
11393 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11397 if ${DBUS_LIBS:+false} :; then :
11398 if ${PKG_CONFIG+:} false
; then :
11399 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11404 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11405 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11406 ac_save_CPPFLAGS
=$CPPFLAGS
11407 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11408 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11409 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11411 $as_echo_n "checking for -ldbus-1... " >&6; }
11412 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11413 $as_echo_n "(cached) " >&6
11415 ac_check_soname_save_LIBS
=$LIBS
11416 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11418 /* end confdefs.h. */
11420 /* Override any GCC internal prototype to avoid an error.
11421 Use char because int might match the return type of a GCC
11422 builtin and then its argument prototype would still apply. */
11426 char dbus_connection_close ();
11430 return dbus_connection_close ();
11435 if ac_fn_c_try_link
"$LINENO"; then :
11437 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11438 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'` ;;
11439 *) 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'`
11440 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11441 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11445 rm -f core conftest.err conftest.
$ac_objext \
11446 conftest
$ac_exeext conftest.
$ac_ext
11447 LIBS
=$ac_check_soname_save_LIBS
11449 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11451 $as_echo "not found" >&6; }
11454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11455 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11457 cat >>confdefs.h
<<_ACEOF
11458 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11468 CPPFLAGS
=$ac_save_CPPFLAGS
11469 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11470 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11473 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11474 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11475 case "x$with_dbus" in
11476 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11478 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11479 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11484 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11486 if ${HAL_CFLAGS:+false} :; then :
11487 if ${PKG_CONFIG+:} false
; then :
11488 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11492 if ${HAL_LIBS:+false} :; then :
11493 if ${PKG_CONFIG+:} false
; then :
11494 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11498 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11499 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11500 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11501 ac_save_CPPFLAGS
=$CPPFLAGS
11502 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11503 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11504 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11506 $as_echo_n "checking for -lhal... " >&6; }
11507 if ${ac_cv_lib_soname_hal+:} false
; then :
11508 $as_echo_n "(cached) " >&6
11510 ac_check_soname_save_LIBS
=$LIBS
11511 LIBS
="-lhal $HAL_LIBS $LIBS"
11512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11513 /* end confdefs.h. */
11515 /* Override any GCC internal prototype to avoid an error.
11516 Use char because int might match the return type of a GCC
11517 builtin and then its argument prototype would still apply. */
11521 char libhal_ctx_new ();
11525 return libhal_ctx_new ();
11530 if ac_fn_c_try_link
"$LINENO"; then :
11532 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11533 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'` ;;
11534 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11535 if ${ac_cv_lib_soname_hal:+false} :; then :
11536 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11540 rm -f core conftest.err conftest.
$ac_objext \
11541 conftest
$ac_exeext conftest.
$ac_ext
11542 LIBS
=$ac_check_soname_save_LIBS
11544 if ${ac_cv_lib_soname_hal:+false} :; then :
11545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11546 $as_echo "not found" >&6; }
11549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11550 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11552 cat >>confdefs.h
<<_ACEOF
11553 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11563 CPPFLAGS
=$ac_save_CPPFLAGS
11564 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11565 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11567 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11568 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11569 case "x$with_hal" in
11570 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11572 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11573 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11579 if test "x$with_gnutls" != "xno"
11581 if ${GNUTLS_CFLAGS:+false} :; then :
11582 if ${PKG_CONFIG+:} false
; then :
11583 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11587 if ${GNUTLS_LIBS:+false} :; then :
11588 if ${PKG_CONFIG+:} false
; then :
11589 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11594 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11595 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11596 ac_save_CPPFLAGS
=$CPPFLAGS
11597 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11598 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11599 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11601 /* end confdefs.h. */
11602 #include <gnutls/gnutls.h>
11603 #include <gnutls/crypto.h>
11607 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11612 if ac_fn_c_try_compile
"$LINENO"; then :
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11614 $as_echo_n "checking for -lgnutls... " >&6; }
11615 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11616 $as_echo_n "(cached) " >&6
11618 ac_check_soname_save_LIBS
=$LIBS
11619 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11621 /* end confdefs.h. */
11623 /* Override any GCC internal prototype to avoid an error.
11624 Use char because int might match the return type of a GCC
11625 builtin and then its argument prototype would still apply. */
11629 char gnutls_global_init ();
11633 return gnutls_global_init ();
11638 if ac_fn_c_try_link
"$LINENO"; then :
11640 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11641 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'` ;;
11642 *) 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'`
11643 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11644 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'`
11648 rm -f core conftest.err conftest.
$ac_objext \
11649 conftest
$ac_exeext conftest.
$ac_ext
11650 LIBS
=$ac_check_soname_save_LIBS
11652 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11654 $as_echo "not found" >&6; }
11657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11658 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11660 cat >>confdefs.h
<<_ACEOF
11661 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11666 ac_wine_check_funcs_save_LIBS
="$LIBS"
11667 LIBS
="$LIBS $GNUTLS_LIBS"
11668 for ac_func
in gnutls_hash
11670 ac_fn_c_check_func
"$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11671 if test "x$ac_cv_func_gnutls_hash" = xyes
; then :
11672 cat >>confdefs.h
<<_ACEOF
11673 #define HAVE_GNUTLS_HASH 1
11677 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11681 LIBS
="$ac_wine_check_funcs_save_LIBS"
11683 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11689 CPPFLAGS
=$ac_save_CPPFLAGS
11690 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11691 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11694 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11695 case "x$with_gnutls" in
11696 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11698 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11699 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11705 if test "$ac_cv_header_ncurses_h" = "yes"
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11708 $as_echo_n "checking for -lncurses... " >&6; }
11709 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11710 $as_echo_n "(cached) " >&6
11712 ac_check_soname_save_LIBS
=$LIBS
11713 LIBS
="-lncurses $LIBS"
11714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11715 /* end confdefs.h. */
11717 /* Override any GCC internal prototype to avoid an error.
11718 Use char because int might match the return type of a GCC
11719 builtin and then its argument prototype would still apply. */
11732 if ac_fn_c_try_link
"$LINENO"; then :
11734 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11735 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'` ;;
11736 *) 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'`
11737 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11738 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11742 rm -f core conftest.err conftest.
$ac_objext \
11743 conftest
$ac_exeext conftest.
$ac_ext
11744 LIBS
=$ac_check_soname_save_LIBS
11746 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11748 $as_echo "not found" >&6; }
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11752 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11754 cat >>confdefs.h
<<_ACEOF
11755 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11758 CURSES_LIBS
="-lncurses"
11760 elif test "$ac_cv_header_curses_h" = "yes"
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11763 $as_echo_n "checking for -lcurses... " >&6; }
11764 if ${ac_cv_lib_soname_curses+:} false
; then :
11765 $as_echo_n "(cached) " >&6
11767 ac_check_soname_save_LIBS
=$LIBS
11768 LIBS
="-lcurses $LIBS"
11769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11770 /* end confdefs.h. */
11772 /* Override any GCC internal prototype to avoid an error.
11773 Use char because int might match the return type of a GCC
11774 builtin and then its argument prototype would still apply. */
11787 if ac_fn_c_try_link
"$LINENO"; then :
11789 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11790 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'` ;;
11791 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11792 if ${ac_cv_lib_soname_curses:+false} :; then :
11793 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11797 rm -f core conftest.err conftest.
$ac_objext \
11798 conftest
$ac_exeext conftest.
$ac_ext
11799 LIBS
=$ac_check_soname_save_LIBS
11801 if ${ac_cv_lib_soname_curses:+false} :; then :
11802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11803 $as_echo "not found" >&6; }
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11807 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11809 cat >>confdefs.h
<<_ACEOF
11810 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11813 CURSES_LIBS
="-lcurses"
11816 ac_save_LIBS
="$LIBS"
11817 LIBS
="$LIBS $CURSES_LIBS"
11818 for ac_func
in mousemask
11820 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11821 if test "x$ac_cv_func_mousemask" = xyes
; then :
11822 cat >>confdefs.h
<<_ACEOF
11823 #define HAVE_MOUSEMASK 1
11829 LIBS
="$ac_save_LIBS"
11830 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11831 case "x$with_curses" in
11832 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11834 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11835 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11840 if test "x$with_sane" != "xno"
11842 if ${SANE_CFLAGS:+false} :; then :
11843 if ${PKG_CONFIG+:} false
; then :
11844 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11847 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11848 if ${SANE_LIBS:+false} :; then :
11849 if ${PKG_CONFIG+:} false
; then :
11850 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11853 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11855 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11856 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11857 ac_save_CPPFLAGS
=$CPPFLAGS
11858 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11859 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11860 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11862 $as_echo_n "checking for -lsane... " >&6; }
11863 if ${ac_cv_lib_soname_sane+:} false
; then :
11864 $as_echo_n "(cached) " >&6
11866 ac_check_soname_save_LIBS
=$LIBS
11867 LIBS
="-lsane $SANE_LIBS $LIBS"
11868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11869 /* end confdefs.h. */
11871 /* Override any GCC internal prototype to avoid an error.
11872 Use char because int might match the return type of a GCC
11873 builtin and then its argument prototype would still apply. */
11881 return sane_init ();
11886 if ac_fn_c_try_link
"$LINENO"; then :
11888 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11889 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'` ;;
11890 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11891 if ${ac_cv_lib_soname_sane:+false} :; then :
11892 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11896 rm -f core conftest.err conftest.
$ac_objext \
11897 conftest
$ac_exeext conftest.
$ac_ext
11898 LIBS
=$ac_check_soname_save_LIBS
11900 if ${ac_cv_lib_soname_sane:+false} :; then :
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11902 $as_echo "not found" >&6; }
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11906 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11908 cat >>confdefs.h
<<_ACEOF
11909 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11919 CPPFLAGS
=$ac_save_CPPFLAGS
11920 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11921 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11924 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11925 case "x$with_sane" in
11926 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11928 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11929 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11934 if test "x$with_v4l" != "xno"
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11937 $as_echo_n "checking for -lv4l1... " >&6; }
11938 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11939 $as_echo_n "(cached) " >&6
11941 ac_check_soname_save_LIBS
=$LIBS
11942 LIBS
="-lv4l1 $LIBS"
11943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11944 /* end confdefs.h. */
11946 /* Override any GCC internal prototype to avoid an error.
11947 Use char because int might match the return type of a GCC
11948 builtin and then its argument prototype would still apply. */
11956 return v4l1_open ();
11961 if ac_fn_c_try_link
"$LINENO"; then :
11963 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11964 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'` ;;
11965 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11966 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11967 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11971 rm -f core conftest.err conftest.
$ac_objext \
11972 conftest
$ac_exeext conftest.
$ac_ext
11973 LIBS
=$ac_check_soname_save_LIBS
11975 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11977 $as_echo "not found" >&6; }
11980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11981 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11983 cat >>confdefs.h
<<_ACEOF
11984 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11990 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11991 case "x$with_v4l" in
11992 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11994 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11995 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12000 if test "x$with_gphoto" != "xno"
12002 if ${GPHOTO2_CFLAGS:+false} :; then :
12003 if ${PKG_CONFIG+:} false
; then :
12004 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12007 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12008 if ${GPHOTO2_LIBS:+false} :; then :
12009 if ${PKG_CONFIG+:} false
; then :
12010 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12013 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12014 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
12015 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12016 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12017 ac_save_CPPFLAGS
=$CPPFLAGS
12018 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
12019 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12020 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12022 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12023 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
12024 $as_echo_n "(cached) " >&6
12026 ac_check_lib_save_LIBS
=$LIBS
12027 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12029 /* end confdefs.h. */
12031 /* Override any GCC internal prototype to avoid an error.
12032 Use char because int might match the return type of a GCC
12033 builtin and then its argument prototype would still apply. */
12037 char gp_camera_new ();
12041 return gp_camera_new ();
12046 if ac_fn_c_try_link
"$LINENO"; then :
12047 ac_cv_lib_gphoto2_gp_camera_new
=yes
12049 ac_cv_lib_gphoto2_gp_camera_new
=no
12051 rm -f core conftest.err conftest.
$ac_objext \
12052 conftest
$ac_exeext conftest.
$ac_ext
12053 LIBS
=$ac_check_lib_save_LIBS
12055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12056 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12057 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
12059 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12062 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
12066 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
12070 CPPFLAGS
=$ac_save_CPPFLAGS
12071 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12072 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12074 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12075 if ${PKG_CONFIG+:} false
; then :
12076 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12079 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12080 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12081 if ${PKG_CONFIG+:} false
; then :
12082 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12085 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12086 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12087 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12088 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12089 ac_save_CPPFLAGS
=$CPPFLAGS
12090 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12091 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12092 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
12093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12094 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12095 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
12096 $as_echo_n "(cached) " >&6
12098 ac_check_lib_save_LIBS
=$LIBS
12099 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12101 /* end confdefs.h. */
12103 /* Override any GCC internal prototype to avoid an error.
12104 Use char because int might match the return type of a GCC
12105 builtin and then its argument prototype would still apply. */
12109 char gp_port_info_list_new ();
12113 return gp_port_info_list_new ();
12118 if ac_fn_c_try_link
"$LINENO"; then :
12119 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
12121 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
12123 rm -f core conftest.err conftest.
$ac_objext \
12124 conftest
$ac_exeext conftest.
$ac_ext
12125 LIBS
=$ac_check_lib_save_LIBS
12127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12128 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12129 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
12131 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12134 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12138 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12142 CPPFLAGS
=$ac_save_CPPFLAGS
12143 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12144 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12147 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12148 case "x$with_gphoto" in
12149 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12151 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12152 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12156 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12157 case "x$with_gphoto" in
12158 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12160 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12161 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12167 if test "$ac_cv_header_resolv_h" = "yes"
12169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12170 $as_echo_n "checking for resolver library... " >&6; }
12171 if ${ac_cv_have_resolv+:} false
; then :
12172 $as_echo_n "(cached) " >&6
12174 ac_save_LIBS
="$LIBS"
12175 for lib
in '' -lresolv
12177 LIBS
="$lib $ac_save_LIBS"
12178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12179 /* end confdefs.h. */
12180 #ifdef HAVE_NETINET_IN_H
12181 #include <netinet/in.h>
12183 #include <resolv.h>
12187 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12192 if ac_fn_c_try_link
"$LINENO"; then :
12193 ac_cv_have_resolv
=${lib:-"none required"}
12195 ac_cv_have_resolv
="not found"
12197 rm -f core conftest.err conftest.
$ac_objext \
12198 conftest
$ac_exeext conftest.
$ac_ext
12199 test "x$ac_cv_have_resolv" = "xnot found" ||
break
12201 LIBS
="$ac_save_LIBS"
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12204 $as_echo "$ac_cv_have_resolv" >&6; }
12206 case "$ac_cv_have_resolv" in
12210 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12213 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12215 RESOLV_LIBS
=$ac_cv_have_resolv
12220 if test "x$with_cms" != "xno"
12222 if ${LCMS2_CFLAGS:+false} :; then :
12223 if ${PKG_CONFIG+:} false
; then :
12224 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12228 if ${LCMS2_LIBS:+false} :; then :
12229 if ${PKG_CONFIG+:} false
; then :
12230 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12234 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
12235 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12236 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12237 ac_save_CPPFLAGS
=$CPPFLAGS
12238 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
12239 for ac_header
in lcms2.h
12241 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12242 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
12243 cat >>confdefs.h
<<_ACEOF
12244 #define HAVE_LCMS2_H 1
12251 if test "$ac_cv_header_lcms2_h" = "yes"
12253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12254 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12255 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
12256 $as_echo_n "(cached) " >&6
12258 ac_check_lib_save_LIBS
=$LIBS
12259 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
12260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12261 /* end confdefs.h. */
12263 /* Override any GCC internal prototype to avoid an error.
12264 Use char because int might match the return type of a GCC
12265 builtin and then its argument prototype would still apply. */
12269 char cmsOpenProfileFromFile ();
12273 return cmsOpenProfileFromFile ();
12278 if ac_fn_c_try_link
"$LINENO"; then :
12279 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
12281 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
12283 rm -f core conftest.err conftest.
$ac_objext \
12284 conftest
$ac_exeext conftest.
$ac_ext
12285 LIBS
=$ac_check_lib_save_LIBS
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12288 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12289 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
12291 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12301 CPPFLAGS
=$ac_save_CPPFLAGS
12302 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12303 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12306 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12307 case "x$with_cms" in
12308 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12310 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12311 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12316 if test "x$with_freetype" != "xno"
12318 if ${FREETYPE_CFLAGS:+false} :; then :
12319 if ${PKG_CONFIG+:} false
; then :
12320 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12323 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12324 if ${FREETYPE_LIBS:+false} :; then :
12325 if ${PKG_CONFIG+:} false
; then :
12326 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12329 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12330 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
12331 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12332 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12333 ac_save_CPPFLAGS
=$CPPFLAGS
12334 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
12335 for ac_header
in ft2build.h
12337 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12338 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
12339 cat >>confdefs.h
<<_ACEOF
12340 #define HAVE_FT2BUILD_H 1
12347 if test "$ac_cv_header_ft2build_h" = "yes"
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12350 $as_echo_n "checking for -lfreetype... " >&6; }
12351 if ${ac_cv_lib_soname_freetype+:} false
; then :
12352 $as_echo_n "(cached) " >&6
12354 ac_check_soname_save_LIBS
=$LIBS
12355 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
12356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12357 /* end confdefs.h. */
12359 /* Override any GCC internal prototype to avoid an error.
12360 Use char because int might match the return type of a GCC
12361 builtin and then its argument prototype would still apply. */
12365 char FT_Init_FreeType ();
12369 return FT_Init_FreeType ();
12374 if ac_fn_c_try_link
"$LINENO"; then :
12376 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12377 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'` ;;
12378 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12379 if ${ac_cv_lib_soname_freetype:+false} :; then :
12380 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12384 rm -f core conftest.err conftest.
$ac_objext \
12385 conftest
$ac_exeext conftest.
$ac_ext
12386 LIBS
=$ac_check_soname_save_LIBS
12388 if ${ac_cv_lib_soname_freetype:+false} :; then :
12389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12390 $as_echo "not found" >&6; }
12393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12394 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12396 cat >>confdefs.h
<<_ACEOF
12397 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12401 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12403 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12404 #include FT_MODULE_H
12406 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12408 cat >>confdefs.h
<<_ACEOF
12409 #define HAVE_FT_TRUETYPEENGINETYPE 1
12420 CPPFLAGS
=$ac_save_CPPFLAGS
12421 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12422 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12425 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12426 case "x$with_freetype" in
12428 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12429 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12431 enable_fonts
=${enable_fonts:-no}
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12435 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12436 if ${ac_cv_c_ppdev+:} false
; then :
12437 $as_echo_n "(cached) " >&6
12439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12440 /* end confdefs.h. */
12441 #ifdef HAVE_SYS_IOCTL_H
12442 # include <sys/ioctl.h>
12444 #include <linux/ppdev.h>
12448 ioctl (1,PPCLAIM,0)
12453 if ac_fn_c_try_compile
"$LINENO"; then :
12454 ac_cv_c_ppdev
="yes"
12458 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12461 $as_echo "$ac_cv_c_ppdev" >&6; }
12462 if test "$ac_cv_c_ppdev" = "yes"
12465 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12469 ac_wine_check_funcs_save_LIBS
="$LIBS"
12470 LIBS
="$LIBS $PTHREAD_LIBS"
12472 pthread_attr_get_np \
12473 pthread_getattr_np \
12474 pthread_getthreadid_np \
12475 pthread_get_stackaddr_np \
12476 pthread_get_stacksize_np
12478 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12479 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12480 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12481 cat >>confdefs.h
<<_ACEOF
12482 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12488 LIBS
="$ac_wine_check_funcs_save_LIBS"
12490 if test "$ac_cv_header_zlib_h" = "yes"
12492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12493 $as_echo_n "checking for inflate in -lz... " >&6; }
12494 if ${ac_cv_lib_z_inflate+:} false
; then :
12495 $as_echo_n "(cached) " >&6
12497 ac_check_lib_save_LIBS
=$LIBS
12499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12500 /* end confdefs.h. */
12502 /* Override any GCC internal prototype to avoid an error.
12503 Use char because int might match the return type of a GCC
12504 builtin and then its argument prototype would still apply. */
12517 if ac_fn_c_try_link
"$LINENO"; then :
12518 ac_cv_lib_z_inflate
=yes
12520 ac_cv_lib_z_inflate
=no
12522 rm -f core conftest.err conftest.
$ac_objext \
12523 conftest
$ac_exeext conftest.
$ac_ext
12524 LIBS
=$ac_check_lib_save_LIBS
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12527 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12528 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12530 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12537 if test "x$Z_LIBS" = "x"; then :
12538 case "x$with_zlib" in
12539 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12541 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12542 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12547 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
12549 if test "$ac_cv_header_gettext_po_h" = "yes"
12551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12552 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12553 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12554 $as_echo_n "(cached) " >&6
12556 ac_check_lib_save_LIBS
=$LIBS
12557 LIBS
="-lgettextpo $LIBS"
12558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12559 /* end confdefs.h. */
12561 /* Override any GCC internal prototype to avoid an error.
12562 Use char because int might match the return type of a GCC
12563 builtin and then its argument prototype would still apply. */
12567 char po_message_msgctxt ();
12571 return po_message_msgctxt ();
12576 if ac_fn_c_try_link
"$LINENO"; then :
12577 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12579 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12581 rm -f core conftest.err conftest.
$ac_objext \
12582 conftest
$ac_exeext conftest.
$ac_ext
12583 LIBS
=$ac_check_lib_save_LIBS
12585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12586 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12587 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12589 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12591 GETTEXTPO_LIBS
="-lgettextpo"
12596 if test "x$GETTEXTPO_LIBS" = "x"; then :
12597 case "x$with_gettextpo" in
12598 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12600 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12601 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12605 if test "$srcdir" != .
; then :
12606 case "x$with_gettextpo" in
12607 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
12609 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
12610 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12616 if test "x$with_pulse" != "xno";
12618 if ${PULSE_CFLAGS:+false} :; then :
12619 if ${PKG_CONFIG+:} false
; then :
12620 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12624 if ${PULSE_LIBS:+false} :; then :
12625 if ${PKG_CONFIG+:} false
; then :
12626 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12631 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12632 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12633 ac_save_CPPFLAGS
=$CPPFLAGS
12634 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
12635 for ac_header
in pulse
/pulseaudio.h
12637 ac_fn_c_check_header_mongrel
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12638 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
; then :
12639 cat >>confdefs.h
<<_ACEOF
12640 #define HAVE_PULSE_PULSEAUDIO_H 1
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12643 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12644 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false
; then :
12645 $as_echo_n "(cached) " >&6
12647 ac_check_lib_save_LIBS
=$LIBS
12648 LIBS
="-lpulse $PULSE_LIBS $LIBS"
12649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12650 /* end confdefs.h. */
12652 /* Override any GCC internal prototype to avoid an error.
12653 Use char because int might match the return type of a GCC
12654 builtin and then its argument prototype would still apply. */
12658 char pa_stream_is_corked ();
12662 return pa_stream_is_corked ();
12667 if ac_fn_c_try_link
"$LINENO"; then :
12668 ac_cv_lib_pulse_pa_stream_is_corked
=yes
12670 ac_cv_lib_pulse_pa_stream_is_corked
=no
12672 rm -f core conftest.err conftest.
$ac_objext \
12673 conftest
$ac_exeext conftest.
$ac_ext
12674 LIBS
=$ac_check_lib_save_LIBS
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12677 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12678 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
; then :
12690 CPPFLAGS
=$ac_save_CPPFLAGS
12691 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS
=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12692 test -z "$PULSE_LIBS" || PULSE_LIBS
=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12695 if test -z "$PULSE_LIBS"; then :
12696 case "x$with_pulse" in
12697 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12699 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12700 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12702 enable_winepulse_drv
=${enable_winepulse_drv:-no}
12705 if test "x$with_gstreamer" != "xno"
12707 if ${GSTREAMER_CFLAGS:+false} :; then :
12708 if ${PKG_CONFIG+:} false
; then :
12709 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12713 if ${GSTREAMER_LIBS:+false} :; then :
12714 if ${PKG_CONFIG+:} false
; then :
12715 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12720 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12721 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12722 ac_save_CPPFLAGS
=$CPPFLAGS
12723 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12725 for i
in $GSTREAMER_CFLAGS
12728 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12731 GSTREAMER_CFLAGS
=$ac_gst_incl
12732 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12733 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12734 if test "x$ac_cv_header_gst_gst_h" = xyes
; then :
12735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12736 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12738 /* end confdefs.h. */
12739 #include <gst/gst.h>
12743 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12748 if ac_fn_c_try_compile
"$LINENO"; then :
12749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12750 $as_echo "yes" >&6; }
12751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12752 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12753 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false
; then :
12754 $as_echo_n "(cached) " >&6
12756 ac_check_lib_save_LIBS
=$LIBS
12757 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12759 /* end confdefs.h. */
12761 /* Override any GCC internal prototype to avoid an error.
12762 Use char because int might match the return type of a GCC
12763 builtin and then its argument prototype would still apply. */
12767 char gst_pad_new ();
12771 return gst_pad_new ();
12776 if ac_fn_c_try_link
"$LINENO"; then :
12777 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
12779 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
12781 rm -f core conftest.err conftest.
$ac_objext \
12782 conftest
$ac_exeext conftest.
$ac_ext
12783 LIBS
=$ac_check_lib_save_LIBS
12785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12786 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12787 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
; then :
12792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12793 $as_echo "no" >&6; }
12794 ac_glib2_broken
=yes
12795 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12797 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12801 CPPFLAGS
=$ac_save_CPPFLAGS
12802 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12803 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12806 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 :
12807 case "x$with_gstreamer" in
12808 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12810 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12811 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12815 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12819 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12822 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12823 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12824 $as_echo_n "(cached) " >&6
12826 ac_check_lib_save_LIBS
=$LIBS
12827 LIBS
="-lasound $LIBS"
12828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12829 /* end confdefs.h. */
12831 /* Override any GCC internal prototype to avoid an error.
12832 Use char because int might match the return type of a GCC
12833 builtin and then its argument prototype would still apply. */
12837 char snd_pcm_hw_params_get_access_mask ();
12841 return snd_pcm_hw_params_get_access_mask ();
12846 if ac_fn_c_try_link
"$LINENO"; then :
12847 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12849 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12851 rm -f core conftest.err conftest.
$ac_objext \
12852 conftest
$ac_exeext conftest.
$ac_ext
12853 LIBS
=$ac_check_lib_save_LIBS
12855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12856 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12857 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12859 /* end confdefs.h. */
12860 #ifdef HAVE_ALSA_ASOUNDLIB_H
12861 #include <alsa/asoundlib.h>
12862 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12863 #include <sys/asoundlib.h>
12868 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12873 if ac_fn_c_try_compile
"$LINENO"; then :
12874 ALSA_LIBS
="-lasound"
12876 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12880 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
12882 if test "x$with_oss" != xno
12884 ac_save_CPPFLAGS
="$CPPFLAGS"
12885 if test -f /etc
/oss.conf
12889 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12890 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12891 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12892 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12893 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12895 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12897 cat >>confdefs.h
<<_ACEOF
12898 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12901 OSS4_CFLAGS
="$ac_oss_incl"
12908 CPPFLAGS
="$ac_save_CPPFLAGS"
12910 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
; then :
12911 case "x$with_oss" in
12912 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12914 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12915 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12917 enable_wineoss_drv
=${enable_wineoss_drv:-no}
12920 if test "x$with_udev" != "xno"
12922 if ${UDEV_CFLAGS:+false} :; then :
12923 if ${PKG_CONFIG+:} false
; then :
12924 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>/dev/null`
12928 if ${UDEV_LIBS:+false} :; then :
12929 if ${PKG_CONFIG+:} false
; then :
12930 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
12935 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
12936 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
12937 ac_save_CPPFLAGS
=$CPPFLAGS
12938 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
12939 for ac_header
in libudev.h
12941 ac_fn_c_check_header_mongrel
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
12942 if test "x$ac_cv_header_libudev_h" = xyes
; then :
12943 cat >>confdefs.h
<<_ACEOF
12944 #define HAVE_LIBUDEV_H 1
12946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
12947 $as_echo_n "checking for udev_new in -ludev... " >&6; }
12948 if ${ac_cv_lib_udev_udev_new+:} false
; then :
12949 $as_echo_n "(cached) " >&6
12951 ac_check_lib_save_LIBS
=$LIBS
12952 LIBS
="-ludev $UDEV_LIBS $LIBS"
12953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12954 /* end confdefs.h. */
12956 /* Override any GCC internal prototype to avoid an error.
12957 Use char because int might match the return type of a GCC
12958 builtin and then its argument prototype would still apply. */
12966 return udev_new ();
12971 if ac_fn_c_try_link
"$LINENO"; then :
12972 ac_cv_lib_udev_udev_new
=yes
12974 ac_cv_lib_udev_udev_new
=no
12976 rm -f core conftest.err conftest.
$ac_objext \
12977 conftest
$ac_exeext conftest.
$ac_ext
12978 LIBS
=$ac_check_lib_save_LIBS
12980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
12981 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
12982 if test "x$ac_cv_lib_udev_udev_new" = xyes
; then :
12984 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
12996 CPPFLAGS
=$ac_save_CPPFLAGS
12997 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS
=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12998 test -z "$UDEV_LIBS" || UDEV_LIBS
=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13001 if test "x$UDEV_LIBS" = "x"; then :
13002 case "x$with_udev" in
13003 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13005 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
13006 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13011 if test "x$with_capi" != "xno"
13013 if ${CAPI20_CFLAGS:+false} :; then :
13014 if ${PKG_CONFIG+:} false
; then :
13015 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13019 if ${CAPI20_LIBS:+false} :; then :
13020 if ${PKG_CONFIG+:} false
; then :
13021 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
13026 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13027 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13028 ac_save_CPPFLAGS
=$CPPFLAGS
13029 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
13030 for ac_header
in capi20.h linux
/capi.h
13032 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13033 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13035 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
13036 cat >>confdefs.h
<<_ACEOF
13037 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13044 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13047 $as_echo_n "checking for -lcapi20... " >&6; }
13048 if ${ac_cv_lib_soname_capi20+:} false
; then :
13049 $as_echo_n "(cached) " >&6
13051 ac_check_soname_save_LIBS
=$LIBS
13052 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
13053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13054 /* end confdefs.h. */
13056 /* Override any GCC internal prototype to avoid an error.
13057 Use char because int might match the return type of a GCC
13058 builtin and then its argument prototype would still apply. */
13062 char capi20_register ();
13066 return capi20_register ();
13071 if ac_fn_c_try_link
"$LINENO"; then :
13073 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13074 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'` ;;
13075 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13076 if ${ac_cv_lib_soname_capi20:+false} :; then :
13077 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13081 rm -f core conftest.err conftest.
$ac_objext \
13082 conftest
$ac_exeext conftest.
$ac_ext
13083 LIBS
=$ac_check_soname_save_LIBS
13085 if ${ac_cv_lib_soname_capi20:+false} :; then :
13086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13087 $as_echo "not found" >&6; }
13090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13091 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13093 cat >>confdefs.h
<<_ACEOF
13094 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13100 CPPFLAGS
=$ac_save_CPPFLAGS
13101 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13102 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13105 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13106 case "x$with_capi" in
13107 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13109 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13110 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13117 if test "x$with_cups" != "xno"
13119 ac_save_CPPFLAGS
="$CPPFLAGS"
13120 ac_cups_cflags
=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13121 ac_cups_libs
=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13122 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
13123 for ac_header
in cups
/cups.h
13125 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13126 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
13127 cat >>confdefs.h
<<_ACEOF
13128 #define HAVE_CUPS_CUPS_H 1
13130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13131 $as_echo_n "checking for -lcups... " >&6; }
13132 if ${ac_cv_lib_soname_cups+:} false
; then :
13133 $as_echo_n "(cached) " >&6
13135 ac_check_soname_save_LIBS
=$LIBS
13136 LIBS
="-lcups $ac_cups_libs $LIBS"
13137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13138 /* end confdefs.h. */
13140 /* Override any GCC internal prototype to avoid an error.
13141 Use char because int might match the return type of a GCC
13142 builtin and then its argument prototype would still apply. */
13146 char cupsGetDefault ();
13150 return cupsGetDefault ();
13155 if ac_fn_c_try_link
"$LINENO"; then :
13157 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13158 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'` ;;
13159 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13160 if ${ac_cv_lib_soname_cups:+false} :; then :
13161 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13165 rm -f core conftest.err conftest.
$ac_objext \
13166 conftest
$ac_exeext conftest.
$ac_ext
13167 LIBS
=$ac_check_soname_save_LIBS
13169 if ${ac_cv_lib_soname_cups:+false} :; then :
13170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13171 $as_echo "not found" >&6; }
13174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13175 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13177 cat >>confdefs.h
<<_ACEOF
13178 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13181 CUPS_CFLAGS
="$ac_cups_cflags"
13183 for ac_header
in cups
/ppd.h
13185 ac_fn_c_check_header_mongrel
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13186 if test "x$ac_cv_header_cups_ppd_h" = xyes
; then :
13187 cat >>confdefs.h
<<_ACEOF
13188 #define HAVE_CUPS_PPD_H 1
13199 CPPFLAGS
="$ac_save_CPPFLAGS"
13201 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13202 case "x$with_cups" in
13203 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13205 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
13206 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13211 if test "x$with_fontconfig" != "xno"
13213 if ${FONTCONFIG_CFLAGS:+false} :; then :
13214 if ${PKG_CONFIG+:} false
; then :
13215 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13218 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13219 if ${FONTCONFIG_LIBS:+false} :; then :
13220 if ${PKG_CONFIG+:} false
; then :
13221 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13224 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
13226 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13227 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13228 ac_save_CPPFLAGS
=$CPPFLAGS
13229 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
13230 for ac_header
in fontconfig
/fontconfig.h
13232 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13233 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
13234 cat >>confdefs.h
<<_ACEOF
13235 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13242 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13245 $as_echo_n "checking for -lfontconfig... " >&6; }
13246 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
13247 $as_echo_n "(cached) " >&6
13249 ac_check_soname_save_LIBS
=$LIBS
13250 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13252 /* end confdefs.h. */
13254 /* Override any GCC internal prototype to avoid an error.
13255 Use char because int might match the return type of a GCC
13256 builtin and then its argument prototype would still apply. */
13269 if ac_fn_c_try_link
"$LINENO"; then :
13271 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13272 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'` ;;
13273 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13274 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13275 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13279 rm -f core conftest.err conftest.
$ac_objext \
13280 conftest
$ac_exeext conftest.
$ac_ext
13281 LIBS
=$ac_check_soname_save_LIBS
13283 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13285 $as_echo "not found" >&6; }
13286 FONTCONFIG_CFLAGS
=""
13288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13289 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13291 cat >>confdefs.h
<<_ACEOF
13292 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13298 FONTCONFIG_CFLAGS
=""
13300 CPPFLAGS
=$ac_save_CPPFLAGS
13301 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13302 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13305 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13306 case "x$with_fontconfig" in
13307 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13309 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13310 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13315 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13318 $as_echo_n "checking for -lgsm... " >&6; }
13319 if ${ac_cv_lib_soname_gsm+:} false
; then :
13320 $as_echo_n "(cached) " >&6
13322 ac_check_soname_save_LIBS
=$LIBS
13324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13325 /* end confdefs.h. */
13327 /* Override any GCC internal prototype to avoid an error.
13328 Use char because int might match the return type of a GCC
13329 builtin and then its argument prototype would still apply. */
13333 char gsm_create ();
13337 return gsm_create ();
13342 if ac_fn_c_try_link
"$LINENO"; then :
13344 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13345 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'` ;;
13346 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13347 if ${ac_cv_lib_soname_gsm:+false} :; then :
13348 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13352 rm -f core conftest.err conftest.
$ac_objext \
13353 conftest
$ac_exeext conftest.
$ac_ext
13354 LIBS
=$ac_check_soname_save_LIBS
13356 if ${ac_cv_lib_soname_gsm:+false} :; then :
13357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13358 $as_echo "not found" >&6; }
13361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13362 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13364 cat >>confdefs.h
<<_ACEOF
13365 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13371 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13372 case "x$with_gsm" in
13373 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13375 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13376 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13381 if test "x$with_jpeg" != "xno"
13383 if ${JPEG_CFLAGS:+false} :; then :
13384 if ${PKG_CONFIG+:} false
; then :
13385 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13389 if ${JPEG_LIBS:+false} :; then :
13390 if ${PKG_CONFIG+:} false
; then :
13391 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13396 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13397 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13398 ac_save_CPPFLAGS
=$CPPFLAGS
13399 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
13400 for ac_header
in jpeglib.h
13402 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13403 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
13404 cat >>confdefs.h
<<_ACEOF
13405 #define HAVE_JPEGLIB_H 1
13412 if test "$ac_cv_header_jpeglib_h" = "yes"
13414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13415 $as_echo_n "checking for -ljpeg... " >&6; }
13416 if ${ac_cv_lib_soname_jpeg+:} false
; then :
13417 $as_echo_n "(cached) " >&6
13419 ac_check_soname_save_LIBS
=$LIBS
13420 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
13421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13422 /* end confdefs.h. */
13424 /* Override any GCC internal prototype to avoid an error.
13425 Use char because int might match the return type of a GCC
13426 builtin and then its argument prototype would still apply. */
13430 char jpeg_start_decompress ();
13434 return jpeg_start_decompress ();
13439 if ac_fn_c_try_link
"$LINENO"; then :
13441 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13442 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'` ;;
13443 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13444 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13445 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13449 rm -f core conftest.err conftest.
$ac_objext \
13450 conftest
$ac_exeext conftest.
$ac_ext
13451 LIBS
=$ac_check_soname_save_LIBS
13453 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13455 $as_echo "not found" >&6; }
13458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13459 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13461 cat >>confdefs.h
<<_ACEOF
13462 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13470 CPPFLAGS
=$ac_save_CPPFLAGS
13471 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13472 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13475 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13476 case "x$with_jpeg" in
13477 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13479 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13480 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13485 if test "x$with_png" != "xno"
13487 if ${PNG_CFLAGS:+false} :; then :
13488 if ${PKG_CONFIG+:} false
; then :
13489 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13492 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
13493 if ${PNG_LIBS:+false} :; then :
13494 if ${PKG_CONFIG+:} false
; then :
13495 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
13498 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
13500 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13501 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13502 ac_save_CPPFLAGS
=$CPPFLAGS
13503 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
13504 for ac_header
in png.h
13506 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13507 if test "x$ac_cv_header_png_h" = xyes
; then :
13508 cat >>confdefs.h
<<_ACEOF
13509 #define HAVE_PNG_H 1
13516 if test "$ac_cv_header_png_h" = "yes"
13518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13519 $as_echo_n "checking for -lpng... " >&6; }
13520 if ${ac_cv_lib_soname_png+:} false
; then :
13521 $as_echo_n "(cached) " >&6
13523 ac_check_soname_save_LIBS
=$LIBS
13524 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
13525 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13526 /* end confdefs.h. */
13528 /* Override any GCC internal prototype to avoid an error.
13529 Use char because int might match the return type of a GCC
13530 builtin and then its argument prototype would still apply. */
13534 char png_create_read_struct ();
13538 return png_create_read_struct ();
13543 if ac_fn_c_try_link
"$LINENO"; then :
13545 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13546 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'` ;;
13547 *) 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'`
13548 if ${ac_cv_lib_soname_png:+false} :; then :
13549 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13553 rm -f core conftest.err conftest.
$ac_objext \
13554 conftest
$ac_exeext conftest.
$ac_ext
13555 LIBS
=$ac_check_soname_save_LIBS
13557 if ${ac_cv_lib_soname_png:+false} :; then :
13558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13559 $as_echo "not found" >&6; }
13562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13563 $as_echo "$ac_cv_lib_soname_png" >&6; }
13565 cat >>confdefs.h
<<_ACEOF
13566 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13570 /* end confdefs.h. */
13575 typeof(png_set_expand_gray_1_2_4_to_8) *p
13580 if ac_fn_c_try_compile
"$LINENO"; then :
13582 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13585 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13590 CPPFLAGS
=$ac_save_CPPFLAGS
13591 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13592 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13595 if test "x$ac_cv_lib_soname_png" = "x"; then :
13596 case "x$with_png" in
13597 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13599 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13600 This is an error since --with-png was requested." "$LINENO" 5 ;;
13605 if test "x$with_tiff" != "xno"
13607 if ${TIFF_CFLAGS:+false} :; then :
13608 if ${PKG_CONFIG+:} false
; then :
13609 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13613 if ${TIFF_LIBS:+false} :; then :
13614 if ${PKG_CONFIG+:} false
; then :
13615 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13620 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13621 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13622 ac_save_CPPFLAGS
=$CPPFLAGS
13623 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13624 for ac_header
in tiffio.h
13626 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13627 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13628 cat >>confdefs.h
<<_ACEOF
13629 #define HAVE_TIFFIO_H 1
13636 if test "$ac_cv_header_tiffio_h" = "yes"
13638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13639 $as_echo_n "checking for -ltiff... " >&6; }
13640 if ${ac_cv_lib_soname_tiff+:} false
; then :
13641 $as_echo_n "(cached) " >&6
13643 ac_check_soname_save_LIBS
=$LIBS
13644 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13646 /* end confdefs.h. */
13648 /* Override any GCC internal prototype to avoid an error.
13649 Use char because int might match the return type of a GCC
13650 builtin and then its argument prototype would still apply. */
13654 char TIFFClientOpen ();
13658 return TIFFClientOpen ();
13663 if ac_fn_c_try_link
"$LINENO"; then :
13665 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13666 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'` ;;
13667 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13668 if ${ac_cv_lib_soname_tiff:+false} :; then :
13669 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13673 rm -f core conftest.err conftest.
$ac_objext \
13674 conftest
$ac_exeext conftest.
$ac_ext
13675 LIBS
=$ac_check_soname_save_LIBS
13677 if ${ac_cv_lib_soname_tiff:+false} :; then :
13678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13679 $as_echo "not found" >&6; }
13682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13683 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13685 cat >>confdefs.h
<<_ACEOF
13686 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13692 CPPFLAGS
=$ac_save_CPPFLAGS
13693 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13694 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13697 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13698 case "x$with_tiff" in
13699 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13701 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13702 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13707 if test "x$with_mpg123" != "xno"
13709 if ${MPG123_CFLAGS:+false} :; then :
13710 if ${PKG_CONFIG+:} false
; then :
13711 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13715 if ${MPG123_LIBS:+false} :; then :
13716 if ${PKG_CONFIG+:} false
; then :
13717 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13721 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13722 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13723 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13724 ac_save_CPPFLAGS
=$CPPFLAGS
13725 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13726 for ac_header
in mpg123.h
13728 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13729 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13730 cat >>confdefs.h
<<_ACEOF
13731 #define HAVE_MPG123_H 1
13738 if test "$ac_cv_header_mpg123_h" = "yes"
13740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13741 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13742 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13743 $as_echo_n "(cached) " >&6
13745 ac_check_lib_save_LIBS
=$LIBS
13746 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13748 /* end confdefs.h. */
13750 /* Override any GCC internal prototype to avoid an error.
13751 Use char because int might match the return type of a GCC
13752 builtin and then its argument prototype would still apply. */
13756 char mpg123_feed ();
13760 return mpg123_feed ();
13765 if ac_fn_c_try_link
"$LINENO"; then :
13766 ac_cv_lib_mpg123_mpg123_feed
=yes
13768 ac_cv_lib_mpg123_mpg123_feed
=no
13770 rm -f core conftest.err conftest.
$ac_objext \
13771 conftest
$ac_exeext conftest.
$ac_ext
13772 LIBS
=$ac_check_lib_save_LIBS
13774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13775 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13776 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13786 CPPFLAGS
=$ac_save_CPPFLAGS
13787 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13788 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13791 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13792 case "x$with_mpg123" in
13793 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13795 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13796 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13798 enable_winemp3_acm
=${enable_winemp3_acm:-no}
13801 if test "$ac_cv_header_AL_al_h" = "yes"
13803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13804 $as_echo_n "checking for -lopenal... " >&6; }
13805 if ${ac_cv_lib_soname_openal+:} false
; then :
13806 $as_echo_n "(cached) " >&6
13808 ac_check_soname_save_LIBS
=$LIBS
13809 LIBS
="-lopenal $LIBS"
13810 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13811 /* end confdefs.h. */
13813 /* Override any GCC internal prototype to avoid an error.
13814 Use char because int might match the return type of a GCC
13815 builtin and then its argument prototype would still apply. */
13819 char alGetSource3i ();
13823 return alGetSource3i ();
13828 if ac_fn_c_try_link
"$LINENO"; then :
13830 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13831 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'` ;;
13832 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13833 if ${ac_cv_lib_soname_openal:+false} :; then :
13834 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13838 rm -f core conftest.err conftest.
$ac_objext \
13839 conftest
$ac_exeext conftest.
$ac_ext
13840 LIBS
=$ac_check_soname_save_LIBS
13842 if ${ac_cv_lib_soname_openal:+false} :; then :
13843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13844 $as_echo "not found" >&6; }
13847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13848 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13850 cat >>confdefs.h
<<_ACEOF
13851 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13854 OPENAL_LIBS
="-lopenal"
13856 ac_cv_lib_openal
=yes
13858 cat >>confdefs.h
<<_ACEOF
13859 #define HAVE_OPENAL 1
13864 if test "x$ac_cv_lib_openal" != xyes
; then :
13865 case "x$with_openal" in
13866 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13868 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13869 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13871 enable_openal32
=${enable_openal32:-no}
13874 if test "x$ac_cv_lib_openal" = xyes
13876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13877 $as_echo_n "checking for openal-soft... " >&6; }
13878 if ${ac_cv_have_openalsoft+:} false
; then :
13879 $as_echo_n "(cached) " >&6
13881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13882 /* end confdefs.h. */
13884 #include <AL/alc.h>
13885 #include <AL/alext.h>
13886 LPALCRENDERSAMPLESSOFT x;
13895 if ac_fn_c_try_compile
"$LINENO"; then :
13896 ac_cv_have_openalsoft
=yes
13898 ac_cv_have_openalsoft
=no
13900 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13903 $as_echo "$ac_cv_have_openalsoft" >&6; }
13905 if test "x$ac_cv_have_openalsoft" != xyes
13907 as_fn_append wine_notices
"|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13908 enable_x3daudio1_0
=${enable_x3daudio1_0:-no}
13909 enable_x3daudio1_1
=${enable_x3daudio1_1:-no}
13910 enable_x3daudio1_2
=${enable_x3daudio1_2:-no}
13911 enable_x3daudio1_3
=${enable_x3daudio1_3:-no}
13912 enable_x3daudio1_4
=${enable_x3daudio1_4:-no}
13913 enable_x3daudio1_5
=${enable_x3daudio1_5:-no}
13914 enable_x3daudio1_6
=${enable_x3daudio1_6:-no}
13915 enable_x3daudio1_7
=${enable_x3daudio1_7:-no}
13916 enable_xapofx1_1
=${enable_xapofx1_1:-no}
13917 enable_xapofx1_2
=${enable_xapofx1_2:-no}
13918 enable_xapofx1_3
=${enable_xapofx1_3:-no}
13919 enable_xapofx1_4
=${enable_xapofx1_4:-no}
13920 enable_xapofx1_5
=${enable_xapofx1_5:-no}
13921 enable_xaudio2_0
=${enable_xaudio2_0:-no}
13922 enable_xaudio2_1
=${enable_xaudio2_1:-no}
13923 enable_xaudio2_2
=${enable_xaudio2_2:-no}
13924 enable_xaudio2_3
=${enable_xaudio2_3:-no}
13925 enable_xaudio2_4
=${enable_xaudio2_4:-no}
13926 enable_xaudio2_5
=${enable_xaudio2_5:-no}
13927 enable_xaudio2_6
=${enable_xaudio2_6:-no}
13928 enable_xaudio2_7
=${enable_xaudio2_7:-no}
13929 enable_xaudio2_8
=${enable_xaudio2_8:-no}
13930 enable_xaudio2_9
=${enable_xaudio2_9:-no}
13933 if test "$ac_cv_header_kstat_h" = "yes"
13935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13936 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13937 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13938 $as_echo_n "(cached) " >&6
13940 ac_check_lib_save_LIBS
=$LIBS
13941 LIBS
="-lkstat $LIBS"
13942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13943 /* end confdefs.h. */
13945 /* Override any GCC internal prototype to avoid an error.
13946 Use char because int might match the return type of a GCC
13947 builtin and then its argument prototype would still apply. */
13951 char kstat_open ();
13955 return kstat_open ();
13960 if ac_fn_c_try_link
"$LINENO"; then :
13961 ac_cv_lib_kstat_kstat_open
=yes
13963 ac_cv_lib_kstat_kstat_open
=no
13965 rm -f core conftest.err conftest.
$ac_objext \
13966 conftest
$ac_exeext conftest.
$ac_ext
13967 LIBS
=$ac_check_lib_save_LIBS
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13970 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13971 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13973 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13975 KSTAT_LIBS
="-lkstat"
13981 if test "$ac_cv_header_libprocstat_h" = "yes"
13983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13984 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13985 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13986 $as_echo_n "(cached) " >&6
13988 ac_check_lib_save_LIBS
=$LIBS
13989 LIBS
="-lprocstat $LIBS"
13990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13991 /* end confdefs.h. */
13993 /* Override any GCC internal prototype to avoid an error.
13994 Use char because int might match the return type of a GCC
13995 builtin and then its argument prototype would still apply. */
13999 char procstat_open_sysctl ();
14003 return procstat_open_sysctl ();
14008 if ac_fn_c_try_link
"$LINENO"; then :
14009 ac_cv_lib_procstat_procstat_open_sysctl
=yes
14011 ac_cv_lib_procstat_procstat_open_sysctl
=no
14013 rm -f core conftest.err conftest.
$ac_objext \
14014 conftest
$ac_exeext conftest.
$ac_ext
14015 LIBS
=$ac_check_lib_save_LIBS
14017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14018 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14019 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
14021 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14023 PROCSTAT_LIBS
="-lprocstat"
14029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14030 $as_echo_n "checking for -lodbc... " >&6; }
14031 if ${ac_cv_lib_soname_odbc+:} false
; then :
14032 $as_echo_n "(cached) " >&6
14034 ac_check_soname_save_LIBS
=$LIBS
14035 LIBS
="-lodbc $LIBS"
14036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14037 /* end confdefs.h. */
14039 /* Override any GCC internal prototype to avoid an error.
14040 Use char because int might match the return type of a GCC
14041 builtin and then its argument prototype would still apply. */
14045 char SQLConnect ();
14049 return SQLConnect ();
14054 if ac_fn_c_try_link
"$LINENO"; then :
14056 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14057 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'` ;;
14058 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14059 if ${ac_cv_lib_soname_odbc:+false} :; then :
14060 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14064 rm -f core conftest.err conftest.
$ac_objext \
14065 conftest
$ac_exeext conftest.
$ac_ext
14066 LIBS
=$ac_check_soname_save_LIBS
14068 if ${ac_cv_lib_soname_odbc:+false} :; then :
14069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14070 $as_echo "not found" >&6; }
14071 cat >>confdefs.h
<<_ACEOF
14072 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14077 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14079 cat >>confdefs.h
<<_ACEOF
14080 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14086 if test "x$with_netapi" != "xno"
14088 if ${NETAPI_CFLAGS:+false} :; then :
14089 if ${PKG_CONFIG+:} false
; then :
14090 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14094 if ${NETAPI_LIBS:+false} :; then :
14095 if ${PKG_CONFIG+:} false
; then :
14096 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
14101 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14102 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14103 ac_save_CPPFLAGS
=$CPPFLAGS
14104 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
14105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14106 $as_echo_n "checking for -lnetapi... " >&6; }
14107 if ${ac_cv_lib_soname_netapi+:} false
; then :
14108 $as_echo_n "(cached) " >&6
14110 ac_check_soname_save_LIBS
=$LIBS
14111 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
14112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14113 /* end confdefs.h. */
14115 /* Override any GCC internal prototype to avoid an error.
14116 Use char because int might match the return type of a GCC
14117 builtin and then its argument prototype would still apply. */
14121 char libnetapi_init ();
14125 return libnetapi_init ();
14130 if ac_fn_c_try_link
"$LINENO"; then :
14132 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14133 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'` ;;
14134 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14135 if ${ac_cv_lib_soname_netapi:+false} :; then :
14136 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14140 rm -f core conftest.err conftest.
$ac_objext \
14141 conftest
$ac_exeext conftest.
$ac_ext
14142 LIBS
=$ac_check_soname_save_LIBS
14144 if ${ac_cv_lib_soname_netapi:+false} :; then :
14145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14146 $as_echo "not found" >&6; }
14147 cat >>confdefs.h
<<_ACEOF
14148 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14153 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14155 cat >>confdefs.h
<<_ACEOF
14156 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14161 CPPFLAGS
=$ac_save_CPPFLAGS
14162 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS
=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14163 test -z "$NETAPI_LIBS" || NETAPI_LIBS
=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14167 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono
-a \
14168 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14170 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
14176 if test "x${GCC}" = "xyes"
14178 EXTRACFLAGS
="-Wall -pipe"
14180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14181 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14182 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
14183 $as_echo_n "(cached) " >&6
14185 if test "$cross_compiling" = yes; then :
14186 ac_cv_c_gcc_strength_bug
="no"
14188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14189 /* end confdefs.h. */
14190 int L[4] = {0,1,2,3};
14194 static int Array[3];
14195 unsigned int B = 3;
14197 for(i=0; i<B; i++) Array[i] = i - 3;
14198 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14200 return (Array[1] != -2 || L[2] != 3)
14205 if ac_fn_c_try_run
"$LINENO"; then :
14206 ac_cv_c_gcc_strength_bug
="no"
14208 ac_cv_c_gcc_strength_bug
="yes"
14210 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14211 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14216 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14217 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14219 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14223 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14224 if ${ac_cv_cflags__fno_builtin+:} false
; then :
14225 $as_echo_n "(cached) " >&6
14227 ac_wine_try_cflags_saved
=$CFLAGS
14228 CFLAGS
="$CFLAGS -fno-builtin"
14229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14230 /* end confdefs.h. */
14231 int main(int argc, char **argv) { return 0; }
14233 if ac_fn_c_try_link
"$LINENO"; then :
14234 ac_cv_cflags__fno_builtin
=yes
14236 ac_cv_cflags__fno_builtin
=no
14238 rm -f core conftest.err conftest.
$ac_objext \
14239 conftest
$ac_exeext conftest.
$ac_ext
14240 CFLAGS
=$ac_wine_try_cflags_saved
14242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14243 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14244 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
14245 BUILTINFLAG
="-fno-builtin"
14248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14249 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14250 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
14251 $as_echo_n "(cached) " >&6
14253 ac_wine_try_cflags_saved
=$CFLAGS
14254 CFLAGS
="$CFLAGS -fno-strict-aliasing"
14255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14256 /* end confdefs.h. */
14257 int main(int argc, char **argv) { return 0; }
14259 if ac_fn_c_try_link
"$LINENO"; then :
14260 ac_cv_cflags__fno_strict_aliasing
=yes
14262 ac_cv_cflags__fno_strict_aliasing
=no
14264 rm -f core conftest.err conftest.
$ac_objext \
14265 conftest
$ac_exeext conftest.
$ac_ext
14266 CFLAGS
=$ac_wine_try_cflags_saved
14268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14269 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14270 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
14271 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
14273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14274 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14275 if ${ac_cv_cflags__fexcess_precision_standard+:} false
; then :
14276 $as_echo_n "(cached) " >&6
14278 ac_wine_try_cflags_saved
=$CFLAGS
14279 CFLAGS
="$CFLAGS -fexcess-precision=standard"
14280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14281 /* end confdefs.h. */
14282 int main(int argc, char **argv) { return 0; }
14284 if ac_fn_c_try_link
"$LINENO"; then :
14285 ac_cv_cflags__fexcess_precision_standard
=yes
14287 ac_cv_cflags__fexcess_precision_standard
=no
14289 rm -f core conftest.err conftest.
$ac_objext \
14290 conftest
$ac_exeext conftest.
$ac_ext
14291 CFLAGS
=$ac_wine_try_cflags_saved
14293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14294 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14295 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
; then :
14296 EXCESS_PRECISION_CFLAGS
="-fexcess-precision=standard"
14299 saved_CFLAGS
=$CFLAGS
14300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14301 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14302 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
14303 $as_echo_n "(cached) " >&6
14305 ac_wine_try_cflags_saved
=$CFLAGS
14306 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14308 /* end confdefs.h. */
14309 int main(int argc, char **argv) { return 0; }
14311 if ac_fn_c_try_link
"$LINENO"; then :
14312 ac_cv_cflags__Werror_unknown_warning_option
=yes
14314 ac_cv_cflags__Werror_unknown_warning_option
=no
14316 rm -f core conftest.err conftest.
$ac_objext \
14317 conftest
$ac_exeext conftest.
$ac_ext
14318 CFLAGS
=$ac_wine_try_cflags_saved
14320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14321 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14322 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
14323 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14326 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14327 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
14328 $as_echo_n "(cached) " >&6
14330 ac_wine_try_cflags_saved
=$CFLAGS
14331 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
14332 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14333 /* end confdefs.h. */
14334 int main(int argc, char **argv) { return 0; }
14336 if ac_fn_c_try_link
"$LINENO"; then :
14337 ac_cv_cflags__Wdeclaration_after_statement
=yes
14339 ac_cv_cflags__Wdeclaration_after_statement
=no
14341 rm -f core conftest.err conftest.
$ac_objext \
14342 conftest
$ac_exeext conftest.
$ac_ext
14343 CFLAGS
=$ac_wine_try_cflags_saved
14345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14346 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14347 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
14348 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
14350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14351 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14352 if ${ac_cv_cflags__Wempty_body+:} false
; then :
14353 $as_echo_n "(cached) " >&6
14355 ac_wine_try_cflags_saved
=$CFLAGS
14356 CFLAGS
="$CFLAGS -Wempty-body"
14357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14358 /* end confdefs.h. */
14359 int main(int argc, char **argv) { return 0; }
14361 if ac_fn_c_try_link
"$LINENO"; then :
14362 ac_cv_cflags__Wempty_body
=yes
14364 ac_cv_cflags__Wempty_body
=no
14366 rm -f core conftest.err conftest.
$ac_objext \
14367 conftest
$ac_exeext conftest.
$ac_ext
14368 CFLAGS
=$ac_wine_try_cflags_saved
14370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14371 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14372 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
14373 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
14375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14376 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14377 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
14378 $as_echo_n "(cached) " >&6
14380 ac_wine_try_cflags_saved
=$CFLAGS
14381 CFLAGS
="$CFLAGS -Wignored-qualifiers"
14382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14383 /* end confdefs.h. */
14384 int main(int argc, char **argv) { return 0; }
14386 if ac_fn_c_try_link
"$LINENO"; then :
14387 ac_cv_cflags__Wignored_qualifiers
=yes
14389 ac_cv_cflags__Wignored_qualifiers
=no
14391 rm -f core conftest.err conftest.
$ac_objext \
14392 conftest
$ac_exeext conftest.
$ac_ext
14393 CFLAGS
=$ac_wine_try_cflags_saved
14395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14396 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14397 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
14398 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14401 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14402 if ${ac_cv_cflags__Wshift_overflow_2+:} false
; then :
14403 $as_echo_n "(cached) " >&6
14405 ac_wine_try_cflags_saved
=$CFLAGS
14406 CFLAGS
="$CFLAGS -Wshift-overflow=2"
14407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14408 /* end confdefs.h. */
14409 int main(int argc, char **argv) { return 0; }
14411 if ac_fn_c_try_link
"$LINENO"; then :
14412 ac_cv_cflags__Wshift_overflow_2
=yes
14414 ac_cv_cflags__Wshift_overflow_2
=no
14416 rm -f core conftest.err conftest.
$ac_objext \
14417 conftest
$ac_exeext conftest.
$ac_ext
14418 CFLAGS
=$ac_wine_try_cflags_saved
14420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14421 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14422 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
; then :
14423 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
14425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14426 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14427 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
14428 $as_echo_n "(cached) " >&6
14430 ac_wine_try_cflags_saved
=$CFLAGS
14431 CFLAGS
="$CFLAGS -Wstrict-prototypes"
14432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14433 /* end confdefs.h. */
14434 int main(int argc, char **argv) { return 0; }
14436 if ac_fn_c_try_link
"$LINENO"; then :
14437 ac_cv_cflags__Wstrict_prototypes
=yes
14439 ac_cv_cflags__Wstrict_prototypes
=no
14441 rm -f core conftest.err conftest.
$ac_objext \
14442 conftest
$ac_exeext conftest.
$ac_ext
14443 CFLAGS
=$ac_wine_try_cflags_saved
14445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14446 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14447 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
14448 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
14450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14451 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14452 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
14453 $as_echo_n "(cached) " >&6
14455 ac_wine_try_cflags_saved
=$CFLAGS
14456 CFLAGS
="$CFLAGS -Wtype-limits"
14457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14458 /* end confdefs.h. */
14459 int main(int argc, char **argv) { return 0; }
14461 if ac_fn_c_try_link
"$LINENO"; then :
14462 ac_cv_cflags__Wtype_limits
=yes
14464 ac_cv_cflags__Wtype_limits
=no
14466 rm -f core conftest.err conftest.
$ac_objext \
14467 conftest
$ac_exeext conftest.
$ac_ext
14468 CFLAGS
=$ac_wine_try_cflags_saved
14470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14471 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14472 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
14473 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
14475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14476 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14477 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
14478 $as_echo_n "(cached) " >&6
14480 ac_wine_try_cflags_saved
=$CFLAGS
14481 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
14482 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14483 /* end confdefs.h. */
14484 int main(int argc, char **argv) { return 0; }
14486 if ac_fn_c_try_link
"$LINENO"; then :
14487 ac_cv_cflags__Wunused_but_set_parameter
=yes
14489 ac_cv_cflags__Wunused_but_set_parameter
=no
14491 rm -f core conftest.err conftest.
$ac_objext \
14492 conftest
$ac_exeext conftest.
$ac_ext
14493 CFLAGS
=$ac_wine_try_cflags_saved
14495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14496 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14497 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
14498 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
14500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14501 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14502 if ${ac_cv_cflags__Wvla+:} false
; then :
14503 $as_echo_n "(cached) " >&6
14505 ac_wine_try_cflags_saved
=$CFLAGS
14506 CFLAGS
="$CFLAGS -Wvla"
14507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14508 /* end confdefs.h. */
14509 int main(int argc, char **argv) { return 0; }
14511 if ac_fn_c_try_link
"$LINENO"; then :
14512 ac_cv_cflags__Wvla
=yes
14514 ac_cv_cflags__Wvla
=no
14516 rm -f core conftest.err conftest.
$ac_objext \
14517 conftest
$ac_exeext conftest.
$ac_ext
14518 CFLAGS
=$ac_wine_try_cflags_saved
14520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14521 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14522 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
14523 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
14525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14526 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14527 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
14528 $as_echo_n "(cached) " >&6
14530 ac_wine_try_cflags_saved
=$CFLAGS
14531 CFLAGS
="$CFLAGS -Wwrite-strings"
14532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14533 /* end confdefs.h. */
14534 int main(int argc, char **argv) { return 0; }
14536 if ac_fn_c_try_link
"$LINENO"; then :
14537 ac_cv_cflags__Wwrite_strings
=yes
14539 ac_cv_cflags__Wwrite_strings
=no
14541 rm -f core conftest.err conftest.
$ac_objext \
14542 conftest
$ac_exeext conftest.
$ac_ext
14543 CFLAGS
=$ac_wine_try_cflags_saved
14545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14546 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14547 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
14548 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
14551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14552 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14553 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
14554 $as_echo_n "(cached) " >&6
14556 ac_wine_try_cflags_saved
=$CFLAGS
14557 CFLAGS
="$CFLAGS -Wpointer-arith"
14558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14559 /* end confdefs.h. */
14560 int main(int argc, char **argv) { return 0; }
14562 if ac_fn_c_try_link
"$LINENO"; then :
14563 ac_cv_cflags__Wpointer_arith
=yes
14565 ac_cv_cflags__Wpointer_arith
=no
14567 rm -f core conftest.err conftest.
$ac_objext \
14568 conftest
$ac_exeext conftest.
$ac_ext
14569 CFLAGS
=$ac_wine_try_cflags_saved
14571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14572 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14573 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
14574 saved_string_h_CFLAGS
=$CFLAGS
14575 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
14576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14577 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14578 if ${ac_cv_c_string_h_warnings+:} false
; then :
14579 $as_echo_n "(cached) " >&6
14581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14582 /* end confdefs.h. */
14583 #include <string.h>
14592 if ac_fn_c_try_compile
"$LINENO"; then :
14593 ac_cv_c_string_h_warnings
=no
14595 ac_cv_c_string_h_warnings
=yes
14597 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14600 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14601 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
14602 CFLAGS
=$saved_string_h_CFLAGS
14605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14606 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14607 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
14608 $as_echo_n "(cached) " >&6
14610 ac_wine_try_cflags_saved
=$CFLAGS
14611 CFLAGS
="$CFLAGS -Wlogical-op"
14612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14613 /* end confdefs.h. */
14614 int main(int argc, char **argv) { return 0; }
14616 if ac_fn_c_try_link
"$LINENO"; then :
14617 ac_cv_cflags__Wlogical_op
=yes
14619 ac_cv_cflags__Wlogical_op
=no
14621 rm -f core conftest.err conftest.
$ac_objext \
14622 conftest
$ac_exeext conftest.
$ac_ext
14623 CFLAGS
=$ac_wine_try_cflags_saved
14625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14626 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14627 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
14628 saved_string_h_CFLAGS
=$CFLAGS
14629 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
14630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14631 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14632 if ${ac_cv_c_logicalop_noisy+:} false
; then :
14633 $as_echo_n "(cached) " >&6
14635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14636 /* end confdefs.h. */
14637 #include <string.h>
14638 char*f(const char *h,char n) {return strchr(h,n);}
14647 if ac_fn_c_try_compile
"$LINENO"; then :
14648 ac_cv_c_logicalop_noisy
=no
14650 ac_cv_c_logicalop_noisy
=yes
14652 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14655 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14656 CFLAGS
=$saved_string_h_CFLAGS
14657 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
14660 CFLAGS
=$saved_CFLAGS
14662 for ac_flag
in $CFLAGS; do
14664 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14665 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14666 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14667 $as_echo_n "(cached) " >&6
14669 ac_wine_try_cflags_saved
=$CFLAGS
14670 CFLAGS
="$CFLAGS -gdwarf-2"
14671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14672 /* end confdefs.h. */
14673 int main(int argc, char **argv) { return 0; }
14675 if ac_fn_c_try_link
"$LINENO"; then :
14676 ac_cv_cflags__gdwarf_2
=yes
14678 ac_cv_cflags__gdwarf_2
=no
14680 rm -f core conftest.err conftest.
$ac_objext \
14681 conftest
$ac_exeext conftest.
$ac_ext
14682 CFLAGS
=$ac_wine_try_cflags_saved
14684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14685 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14686 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14687 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14690 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14691 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14692 $as_echo_n "(cached) " >&6
14694 ac_wine_try_cflags_saved
=$CFLAGS
14695 CFLAGS
="$CFLAGS -gstrict-dwarf"
14696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14697 /* end confdefs.h. */
14698 int main(int argc, char **argv) { return 0; }
14700 if ac_fn_c_try_link
"$LINENO"; then :
14701 ac_cv_cflags__gstrict_dwarf
=yes
14703 ac_cv_cflags__gstrict_dwarf
=no
14705 rm -f core conftest.err conftest.
$ac_objext \
14706 conftest
$ac_exeext conftest.
$ac_ext
14707 CFLAGS
=$ac_wine_try_cflags_saved
14709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14710 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14711 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14712 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14718 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14719 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14720 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14721 $as_echo_n "(cached) " >&6
14723 ac_wine_try_cflags_saved
=$CFLAGS
14724 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14726 /* end confdefs.h. */
14727 int main(int argc, char **argv) { return 0; }
14729 if ac_fn_c_try_link
"$LINENO"; then :
14730 ac_cv_cflags__fno_omit_frame_pointer
=yes
14732 ac_cv_cflags__fno_omit_frame_pointer
=no
14734 rm -f core conftest.err conftest.
$ac_objext \
14735 conftest
$ac_exeext conftest.
$ac_ext
14736 CFLAGS
=$ac_wine_try_cflags_saved
14738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14739 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14740 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14741 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14746 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14747 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14748 if ${ac_cv_cflags__Wno_format+:} false
; then :
14749 $as_echo_n "(cached) " >&6
14751 ac_wine_try_cflags_saved
=$CFLAGS
14752 CFLAGS
="$CFLAGS -Wno-format"
14753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14754 /* end confdefs.h. */
14755 int main(int argc, char **argv) { return 0; }
14757 if ac_fn_c_try_link
"$LINENO"; then :
14758 ac_cv_cflags__Wno_format
=yes
14760 ac_cv_cflags__Wno_format
=no
14762 rm -f core conftest.err conftest.
$ac_objext \
14763 conftest
$ac_exeext conftest.
$ac_ext
14764 CFLAGS
=$ac_wine_try_cflags_saved
14766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14767 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14768 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14769 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14773 if test "x$enable_maintainer_mode" = "xyes"
14775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14776 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14777 if ${ac_cv_cflags__Werror+:} false
; then :
14778 $as_echo_n "(cached) " >&6
14780 ac_wine_try_cflags_saved
=$CFLAGS
14781 CFLAGS
="$CFLAGS -Werror"
14782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14783 /* end confdefs.h. */
14784 int main(int argc, char **argv) { return 0; }
14786 if ac_fn_c_try_link
"$LINENO"; then :
14787 ac_cv_cflags__Werror
=yes
14789 ac_cv_cflags__Werror
=no
14791 rm -f core conftest.err conftest.
$ac_objext \
14792 conftest
$ac_exeext conftest.
$ac_ext
14793 CFLAGS
=$ac_wine_try_cflags_saved
14795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14796 $as_echo "$ac_cv_cflags__Werror" >&6; }
14797 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14798 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14802 saved_CFLAGS
="$CFLAGS"
14803 CFLAGS
="$CFLAGS -Werror"
14804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14805 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14806 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14807 $as_echo_n "(cached) " >&6
14809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14810 /* end confdefs.h. */
14811 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14820 if ac_fn_c_try_compile
"$LINENO"; then :
14821 ac_cv_have_ms_hook_prologue
="yes"
14823 ac_cv_have_ms_hook_prologue
="no"
14825 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14828 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14829 CFLAGS
="$saved_CFLAGS"
14830 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14833 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14836 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14843 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14844 if ${ac_cv_c_fortify_enabled+:} false
; then :
14845 $as_echo_n "(cached) " >&6
14847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14848 /* end confdefs.h. */
14849 #include <string.h>
14853 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14854 #error Fortify enabled
14860 if ac_fn_c_try_compile
"$LINENO"; then :
14861 ac_cv_c_fortify_enabled
=no
14863 ac_cv_c_fortify_enabled
=yes
14865 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14868 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14869 if test "$ac_cv_c_fortify_enabled" = yes
14871 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14876 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14877 if ${ac_cv_c_extern_prefix+:} false
; then :
14878 $as_echo_n "(cached) " >&6
14880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14881 /* end confdefs.h. */
14882 extern int ac_test;
14886 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14891 if ac_fn_c_try_link
"$LINENO"; then :
14892 ac_cv_c_extern_prefix
="yes"
14894 ac_cv_c_extern_prefix
="no"
14896 rm -f core conftest.err conftest.
$ac_objext \
14897 conftest
$ac_exeext conftest.
$ac_ext
14899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14900 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14905 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14906 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14907 $as_echo_n "(cached) " >&6
14909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14910 /* end confdefs.h. */
14912 #define __stdcall __attribute__((__stdcall__))
14914 int __stdcall ac_test(int i) { return i; }
14918 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14923 if ac_fn_c_try_link
"$LINENO"; then :
14924 ac_cv_c_stdcall_suffix
="yes"
14926 ac_cv_c_stdcall_suffix
="no"
14928 rm -f core conftest.err conftest.
$ac_objext \
14929 conftest
$ac_exeext conftest.
$ac_ext
14931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14932 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14933 *) ac_cv_c_stdcall_suffix
="no" ;;
14937 if test "$ac_cv_c_extern_prefix" = "yes"
14939 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14941 asm_name_prefix
="_"
14943 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14949 if test "$ac_cv_c_stdcall_suffix" = "yes"
14951 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14954 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14960 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14961 if ${ac_cv_asm_func_def+:} false
; then :
14962 $as_echo_n "(cached) " >&6
14964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14965 /* end confdefs.h. */
14970 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14975 if ac_fn_c_try_link
"$LINENO"; then :
14976 ac_cv_asm_func_def
=".def"
14978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14979 /* end confdefs.h. */
14984 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14989 if ac_fn_c_try_link
"$LINENO"; then :
14990 ac_cv_asm_func_def
=".type @function"
14992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14993 /* end confdefs.h. */
14998 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15003 if ac_fn_c_try_link
"$LINENO"; then :
15004 ac_cv_asm_func_def
=".type 2"
15006 ac_cv_asm_func_def
="unknown"
15008 rm -f core conftest.err conftest.
$ac_objext \
15009 conftest
$ac_exeext conftest.
$ac_ext
15011 rm -f core conftest.err conftest.
$ac_objext \
15012 conftest
$ac_exeext conftest.
$ac_ext
15014 rm -f core conftest.err conftest.
$ac_objext \
15015 conftest
$ac_exeext conftest.
$ac_ext
15017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15018 $as_echo "$ac_cv_asm_func_def" >&6; }
15021 case "$ac_cv_asm_func_def" in
15023 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15025 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15027 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15029 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
15031 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15033 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
15035 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15037 asm_func_header
="" ;;
15040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15041 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15042 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
15043 $as_echo_n "(cached) " >&6
15045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15046 /* end confdefs.h. */
15047 asm(".text\n\t.long 0");
15056 if ac_fn_c_try_compile
"$LINENO"; then :
15057 ac_cv_c_asm_outside_funcs
="yes"
15059 ac_cv_c_asm_outside_funcs
="no"
15061 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15064 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15067 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15068 if ${ac_cv_c_dot_previous+:} false
; then :
15069 $as_echo_n "(cached) " >&6
15071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15072 /* end confdefs.h. */
15077 asm(".text\nac_test:\t.long 0\n\t.previous");
15082 if ac_fn_c_try_link
"$LINENO"; then :
15083 ac_cv_c_dot_previous
="yes"
15085 ac_cv_c_dot_previous
="no"
15087 rm -f core conftest.err conftest.
$ac_objext \
15088 conftest
$ac_exeext conftest.
$ac_ext
15090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15091 $as_echo "$ac_cv_c_dot_previous" >&6; }
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15094 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15095 if ${ac_cv_c_cfi_support+:} false
; then :
15096 $as_echo_n "(cached) " >&6
15098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15099 /* end confdefs.h. */
15100 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15109 if ac_fn_c_try_compile
"$LINENO"; then :
15110 ac_cv_c_cfi_support
="yes"
15112 ac_cv_c_cfi_support
="no"
15114 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15117 $as_echo "$ac_cv_c_cfi_support" >&6; }
15119 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15120 asm_func_trailer
=""
15121 if test "$ac_cv_c_dot_previous" = "yes"
15123 asm_func_trailer
="\\n\\t.previous"
15125 if test "$ac_cv_c_cfi_support" = "yes"
15127 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
15128 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
15130 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15132 UNWINDFLAGS
=-fasynchronous-unwind-tables
15135 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15137 if test "x$enable_win64" = "xyes"
15139 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15143 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
15146 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15148 cat >>confdefs.h
<<_ACEOF
15149 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15153 cat >>confdefs.h
<<_ACEOF
15154 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15159 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15162 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15167 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
15175 *i
[3456789]86*|x86_64
*)
15176 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS
"loader/wine-preloader"
15177 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
15184 ac_save_CFLAGS
="$CFLAGS"
15185 CFLAGS
="$CFLAGS $BUILTINFLAG"
15265 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15266 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15267 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15268 cat >>confdefs.h
<<_ACEOF
15269 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15275 CFLAGS
="$ac_save_CFLAGS"
15277 if test "$ac_cv_func_dlopen" = no
15279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15280 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15281 if ${ac_cv_lib_dl_dlopen+:} false
; then :
15282 $as_echo_n "(cached) " >&6
15284 ac_check_lib_save_LIBS
=$LIBS
15286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15287 /* end confdefs.h. */
15289 /* Override any GCC internal prototype to avoid an error.
15290 Use char because int might match the return type of a GCC
15291 builtin and then its argument prototype would still apply. */
15304 if ac_fn_c_try_link
"$LINENO"; then :
15305 ac_cv_lib_dl_dlopen
=yes
15307 ac_cv_lib_dl_dlopen
=no
15309 rm -f core conftest.err conftest.
$ac_objext \
15310 conftest
$ac_exeext conftest.
$ac_ext
15311 LIBS
=$ac_check_lib_save_LIBS
15313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15314 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15315 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
15316 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15322 ac_wine_check_funcs_save_LIBS
="$LIBS"
15323 LIBS
="$LIBS $DL_LIBS"
15324 for ac_func
in dladdr
15326 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
15327 if test "x$ac_cv_func_dladdr" = xyes
; then :
15328 cat >>confdefs.h
<<_ACEOF
15329 #define HAVE_DLADDR 1
15335 LIBS
="$ac_wine_check_funcs_save_LIBS"
15337 if test "$ac_cv_func_poll" = no
15339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15340 $as_echo_n "checking for poll in -lpoll... " >&6; }
15341 if ${ac_cv_lib_poll_poll+:} false
; then :
15342 $as_echo_n "(cached) " >&6
15344 ac_check_lib_save_LIBS
=$LIBS
15345 LIBS
="-lpoll $LIBS"
15346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15347 /* end confdefs.h. */
15349 /* Override any GCC internal prototype to avoid an error.
15350 Use char because int might match the return type of a GCC
15351 builtin and then its argument prototype would still apply. */
15364 if ac_fn_c_try_link
"$LINENO"; then :
15365 ac_cv_lib_poll_poll
=yes
15367 ac_cv_lib_poll_poll
=no
15369 rm -f core conftest.err conftest.
$ac_objext \
15370 conftest
$ac_exeext conftest.
$ac_ext
15371 LIBS
=$ac_check_lib_save_LIBS
15373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15374 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15375 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
15376 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15384 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15385 if ${ac_cv_search_gethostbyname+:} false
; then :
15386 $as_echo_n "(cached) " >&6
15388 ac_func_search_save_LIBS
=$LIBS
15389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15390 /* end confdefs.h. */
15392 /* Override any GCC internal prototype to avoid an error.
15393 Use char because int might match the return type of a GCC
15394 builtin and then its argument prototype would still apply. */
15398 char gethostbyname ();
15402 return gethostbyname ();
15407 for ac_lib
in '' nsl
; do
15408 if test -z "$ac_lib"; then
15409 ac_res
="none required"
15412 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15414 if ac_fn_c_try_link
"$LINENO"; then :
15415 ac_cv_search_gethostbyname
=$ac_res
15417 rm -f core conftest.err conftest.
$ac_objext \
15419 if ${ac_cv_search_gethostbyname+:} false
; then :
15423 if ${ac_cv_search_gethostbyname+:} false
; then :
15426 ac_cv_search_gethostbyname
=no
15428 rm conftest.
$ac_ext
15429 LIBS
=$ac_func_search_save_LIBS
15431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15432 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15433 ac_res
=$ac_cv_search_gethostbyname
15434 if test "$ac_res" != no
; then :
15435 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15441 $as_echo_n "checking for library containing connect... " >&6; }
15442 if ${ac_cv_search_connect+:} false
; then :
15443 $as_echo_n "(cached) " >&6
15445 ac_func_search_save_LIBS
=$LIBS
15446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15447 /* end confdefs.h. */
15449 /* Override any GCC internal prototype to avoid an error.
15450 Use char because int might match the return type of a GCC
15451 builtin and then its argument prototype would still apply. */
15464 for ac_lib
in '' socket
; do
15465 if test -z "$ac_lib"; then
15466 ac_res
="none required"
15469 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15471 if ac_fn_c_try_link
"$LINENO"; then :
15472 ac_cv_search_connect
=$ac_res
15474 rm -f core conftest.err conftest.
$ac_objext \
15476 if ${ac_cv_search_connect+:} false
; then :
15480 if ${ac_cv_search_connect+:} false
; then :
15483 ac_cv_search_connect
=no
15485 rm conftest.
$ac_ext
15486 LIBS
=$ac_func_search_save_LIBS
15488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15489 $as_echo "$ac_cv_search_connect" >&6; }
15490 ac_res
=$ac_cv_search_connect
15491 if test "$ac_res" != no
; then :
15492 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15498 $as_echo_n "checking for library containing inet_aton... " >&6; }
15499 if ${ac_cv_search_inet_aton+:} false
; then :
15500 $as_echo_n "(cached) " >&6
15502 ac_func_search_save_LIBS
=$LIBS
15503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15504 /* end confdefs.h. */
15506 /* Override any GCC internal prototype to avoid an error.
15507 Use char because int might match the return type of a GCC
15508 builtin and then its argument prototype would still apply. */
15516 return inet_aton ();
15521 for ac_lib
in '' resolv
; do
15522 if test -z "$ac_lib"; then
15523 ac_res
="none required"
15526 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15528 if ac_fn_c_try_link
"$LINENO"; then :
15529 ac_cv_search_inet_aton
=$ac_res
15531 rm -f core conftest.err conftest.
$ac_objext \
15533 if ${ac_cv_search_inet_aton+:} false
; then :
15537 if ${ac_cv_search_inet_aton+:} false
; then :
15540 ac_cv_search_inet_aton
=no
15542 rm conftest.
$ac_ext
15543 LIBS
=$ac_func_search_save_LIBS
15545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15546 $as_echo "$ac_cv_search_inet_aton" >&6; }
15547 ac_res
=$ac_cv_search_inet_aton
15548 if test "$ac_res" != no
; then :
15549 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15569 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15570 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15571 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15572 cat >>confdefs.h
<<_ACEOF
15573 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15582 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15583 if ${ac_cv_search_clock_gettime+:} false
; then :
15584 $as_echo_n "(cached) " >&6
15586 ac_func_search_save_LIBS
=$LIBS
15587 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15588 /* end confdefs.h. */
15590 /* Override any GCC internal prototype to avoid an error.
15591 Use char because int might match the return type of a GCC
15592 builtin and then its argument prototype would still apply. */
15596 char clock_gettime ();
15600 return clock_gettime ();
15605 for ac_lib
in '' rt
; do
15606 if test -z "$ac_lib"; then
15607 ac_res
="none required"
15610 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15612 if ac_fn_c_try_link
"$LINENO"; then :
15613 ac_cv_search_clock_gettime
=$ac_res
15615 rm -f core conftest.err conftest.
$ac_objext \
15617 if ${ac_cv_search_clock_gettime+:} false
; then :
15621 if ${ac_cv_search_clock_gettime+:} false
; then :
15624 ac_cv_search_clock_gettime
=no
15626 rm conftest.
$ac_ext
15627 LIBS
=$ac_func_search_save_LIBS
15629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15630 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15631 ac_res
=$ac_cv_search_clock_gettime
15632 if test "$ac_res" != no
; then :
15633 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15635 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15637 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
15645 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15647 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15649 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15651 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15652 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15653 $as_echo_n "(cached) " >&6
15655 ac_check_lib_save_LIBS
=$LIBS
15656 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15658 /* end confdefs.h. */
15660 /* Override any GCC internal prototype to avoid an error.
15661 Use char because int might match the return type of a GCC
15662 builtin and then its argument prototype would still apply. */
15666 char ldap_initialize ();
15670 return ldap_initialize ();
15675 if ac_fn_c_try_link
"$LINENO"; then :
15676 ac_cv_lib_ldap_r_ldap_initialize
=yes
15678 ac_cv_lib_ldap_r_ldap_initialize
=no
15680 rm -f core conftest.err conftest.
$ac_objext \
15681 conftest
$ac_exeext conftest.
$ac_ext
15682 LIBS
=$ac_check_lib_save_LIBS
15684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15685 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15686 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15688 $as_echo_n "checking for ber_init in -llber... " >&6; }
15689 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15690 $as_echo_n "(cached) " >&6
15692 ac_check_lib_save_LIBS
=$LIBS
15693 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15695 /* end confdefs.h. */
15697 /* Override any GCC internal prototype to avoid an error.
15698 Use char because int might match the return type of a GCC
15699 builtin and then its argument prototype would still apply. */
15707 return ber_init ();
15712 if ac_fn_c_try_link
"$LINENO"; then :
15713 ac_cv_lib_lber_ber_init
=yes
15715 ac_cv_lib_lber_ber_init
=no
15717 rm -f core conftest.err conftest.
$ac_objext \
15718 conftest
$ac_exeext conftest.
$ac_ext
15719 LIBS
=$ac_check_lib_save_LIBS
15721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15722 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15723 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15725 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15727 LDAP_LIBS
="-lldap_r -llber"
15734 ac_wine_check_funcs_save_LIBS
="$LIBS"
15735 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15737 ldap_count_references \
15738 ldap_first_reference \
15739 ldap_next_reference \
15740 ldap_parse_reference \
15741 ldap_parse_sort_control \
15742 ldap_parse_sortresponse_control \
15743 ldap_parse_vlv_control \
15744 ldap_parse_vlvresponse_control
15746 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15747 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15748 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15749 cat >>confdefs.h
<<_ACEOF
15750 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15756 LIBS
="$ac_wine_check_funcs_save_LIBS"
15758 if test "x$LDAP_LIBS" = "x"; then :
15759 case "x$with_ldap" in
15760 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15762 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15763 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15769 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15770 if ${wine_cv_one_arg_mkdir+:} false
; then :
15771 $as_echo_n "(cached) " >&6
15773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15774 /* end confdefs.h. */
15775 #include <sys/stat.h>
15784 if ac_fn_c_try_compile
"$LINENO"; then :
15785 wine_cv_one_arg_mkdir
=yes
15787 wine_cv_one_arg_mkdir
=no
15789 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15792 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15793 if test "$wine_cv_one_arg_mkdir" = "yes"
15796 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15801 $as_echo_n "checking for sched_setaffinity... " >&6; }
15802 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15803 $as_echo_n "(cached) " >&6
15805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15806 /* end confdefs.h. */
15807 #define _GNU_SOURCE
15812 sched_setaffinity(0, 0, 0);
15817 if ac_fn_c_try_link
"$LINENO"; then :
15818 wine_cv_have_sched_setaffinity
=yes
15820 wine_cv_have_sched_setaffinity
=no
15822 rm -f core conftest.err conftest.
$ac_objext \
15823 conftest
$ac_exeext conftest.
$ac_ext
15825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15826 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15827 if test "$wine_cv_have_sched_setaffinity" = "yes"
15830 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15835 $as_echo_n "checking for fallocate... " >&6; }
15836 if ${wine_cv_have_fallocate+:} false
; then :
15837 $as_echo_n "(cached) " >&6
15839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15840 /* end confdefs.h. */
15841 #define _GNU_SOURCE
15846 fallocate(-1, 0, 0, 0);
15851 if ac_fn_c_try_link
"$LINENO"; then :
15852 wine_cv_have_fallocate
=yes
15854 wine_cv_have_fallocate
=no
15856 rm -f core conftest.err conftest.
$ac_objext \
15857 conftest
$ac_exeext conftest.
$ac_ext
15859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15860 $as_echo "$wine_cv_have_fallocate" >&6; }
15861 if test "$wine_cv_have_fallocate" = "yes"
15864 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15870 $as_echo_n "checking for inline... " >&6; }
15871 if ${ac_cv_c_inline+:} false
; then :
15872 $as_echo_n "(cached) " >&6
15875 for ac_kw
in inline __inline__ __inline
; do
15876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15877 /* end confdefs.h. */
15878 #ifndef __cplusplus
15880 static $ac_kw foo_t static_foo () {return 0; }
15881 $ac_kw foo_t foo () {return 0; }
15885 if ac_fn_c_try_compile
"$LINENO"; then :
15886 ac_cv_c_inline
=$ac_kw
15888 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15889 test "$ac_cv_c_inline" != no
&& break
15893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15894 $as_echo "$ac_cv_c_inline" >&6; }
15896 case $ac_cv_c_inline in
15899 case $ac_cv_c_inline in
15901 *) ac_val
=$ac_cv_c_inline;;
15903 cat >>confdefs.h
<<_ACEOF
15904 #ifndef __cplusplus
15905 #define inline $ac_val
15911 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15912 if test "x$ac_cv_type_mode_t" = xyes
; then :
15914 cat >>confdefs.h
<<_ACEOF
15915 #define HAVE_MODE_T 1
15920 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15921 if test "x$ac_cv_type_off_t" = xyes
; then :
15923 cat >>confdefs.h
<<_ACEOF
15924 #define HAVE_OFF_T 1
15929 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15930 if test "x$ac_cv_type_pid_t" = xyes
; then :
15932 cat >>confdefs.h
<<_ACEOF
15933 #define HAVE_PID_T 1
15938 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15939 if test "x$ac_cv_type_size_t" = xyes
; then :
15941 cat >>confdefs.h
<<_ACEOF
15942 #define HAVE_SIZE_T 1
15947 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15948 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15950 cat >>confdefs.h
<<_ACEOF
15951 #define HAVE_SSIZE_T 1
15956 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15957 if test "x$ac_cv_type_long_long" = xyes
; then :
15959 cat >>confdefs.h
<<_ACEOF
15960 #define HAVE_LONG_LONG 1
15965 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15966 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15968 cat >>confdefs.h
<<_ACEOF
15969 #define HAVE_FSBLKCNT_T 1
15974 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15975 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15977 cat >>confdefs.h
<<_ACEOF
15978 #define HAVE_FSFILCNT_T 1
15984 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15985 #include <signal.h>
15987 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15989 cat >>confdefs.h
<<_ACEOF
15990 #define HAVE_SIGSET_T 1
15996 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15998 if test "x$ac_cv_type_request_sense" = xyes
; then :
16000 cat >>confdefs.h
<<_ACEOF
16001 #define HAVE_REQUEST_SENSE 1
16008 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16009 #ifdef HAVE_SYS_SOCKET_H
16010 #include <sys/socket.h>
16012 #ifdef HAVE_SYS_SOCKETVAR_H
16013 #include <sys/socketvar.h>
16015 #ifdef HAVE_NET_ROUTE_H
16016 #include <net/route.h>
16018 #ifdef HAVE_NETINET_IN_H
16019 #include <netinet/in.h>
16021 #ifdef HAVE_NETINET_IN_SYSTM_H
16022 #include <netinet/in_systm.h>
16024 #ifdef HAVE_NETINET_IP_H
16025 #include <netinet/ip.h>
16027 #ifdef HAVE_NETINET_IN_PCB_H
16028 #include <netinet/in_pcb.h>
16031 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
16033 cat >>confdefs.h
<<_ACEOF
16034 #define HAVE_STRUCT_XINPGEN 1
16041 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16044 #ifdef HAVE_SYS_LINK_H
16045 #include <sys/link.h>
16048 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
16050 cat >>confdefs.h
<<_ACEOF
16051 #define HAVE_STRUCT_R_DEBUG 1
16056 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16059 #ifdef HAVE_SYS_LINK_H
16060 #include <sys/link.h>
16063 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
16065 cat >>confdefs.h
<<_ACEOF
16066 #define HAVE_STRUCT_LINK_MAP 1
16073 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16074 #include <linux/input.h>
16077 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
16079 cat >>confdefs.h
<<_ACEOF
16080 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16088 $as_echo_n "checking for sigaddset... " >&6; }
16089 if ${wine_cv_have_sigaddset+:} false
; then :
16090 $as_echo_n "(cached) " >&6
16092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16093 /* end confdefs.h. */
16094 #include <signal.h>
16098 sigset_t set; sigaddset(&set,SIGTERM);
16103 if ac_fn_c_try_link
"$LINENO"; then :
16104 wine_cv_have_sigaddset
=yes
16106 wine_cv_have_sigaddset
=no
16108 rm -f core conftest.err conftest.
$ac_objext \
16109 conftest
$ac_exeext conftest.
$ac_ext
16111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16112 $as_echo "$wine_cv_have_sigaddset" >&6; }
16113 if test "$wine_cv_have_sigaddset" = "yes"
16116 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16122 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16123 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
16124 $as_echo_n "(cached) " >&6
16126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16127 /* end confdefs.h. */
16135 struct hostent *result;
16142 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16143 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16149 if ac_fn_c_try_link
"$LINENO"; then :
16150 wine_cv_linux_gethostbyname_r_6
=yes
16152 wine_cv_linux_gethostbyname_r_6
=no
16155 rm -f core conftest.err conftest.
$ac_objext \
16156 conftest
$ac_exeext conftest.
$ac_ext
16159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16160 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16161 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16164 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16168 if test "$ac_cv_header_linux_joystick_h" = "yes"
16170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16171 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16172 if ${wine_cv_linux_joystick_22_api+:} false
; then :
16173 $as_echo_n "(cached) " >&6
16175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16176 /* end confdefs.h. */
16178 #include <sys/ioctl.h>
16179 #include <sys/types.h>
16180 #include <linux/joystick.h>
16182 struct js_event blub;
16183 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16184 #error "no 2.2 header"
16195 if ac_fn_c_try_compile
"$LINENO"; then :
16196 wine_cv_linux_joystick_22_api
=yes
16198 wine_cv_linux_joystick_22_api
=no
16200 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16204 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16205 if test "$wine_cv_linux_joystick_22_api" = "yes"
16208 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16214 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16215 #ifdef HAVE_SYS_PARAM_H
16216 # include <sys/param.h>
16218 #ifdef HAVE_SYS_MOUNT_H
16219 # include <sys/mount.h>
16221 #ifdef HAVE_SYS_VFS_H
16222 # include <sys/vfs.h>
16224 #ifdef HAVE_SYS_STATFS_H
16225 # include <sys/statfs.h>
16228 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
16230 cat >>confdefs.h
<<_ACEOF
16231 #define HAVE_STRUCT_STATFS_F_BFREE 1
16236 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16237 #ifdef HAVE_SYS_PARAM_H
16238 # include <sys/param.h>
16240 #ifdef HAVE_SYS_MOUNT_H
16241 # include <sys/mount.h>
16243 #ifdef HAVE_SYS_VFS_H
16244 # include <sys/vfs.h>
16246 #ifdef HAVE_SYS_STATFS_H
16247 # include <sys/statfs.h>
16250 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
16252 cat >>confdefs.h
<<_ACEOF
16253 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16258 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16259 #ifdef HAVE_SYS_PARAM_H
16260 # include <sys/param.h>
16262 #ifdef HAVE_SYS_MOUNT_H
16263 # include <sys/mount.h>
16265 #ifdef HAVE_SYS_VFS_H
16266 # include <sys/vfs.h>
16268 #ifdef HAVE_SYS_STATFS_H
16269 # include <sys/statfs.h>
16272 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
16274 cat >>confdefs.h
<<_ACEOF
16275 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16280 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16281 #ifdef HAVE_SYS_PARAM_H
16282 # include <sys/param.h>
16284 #ifdef HAVE_SYS_MOUNT_H
16285 # include <sys/mount.h>
16287 #ifdef HAVE_SYS_VFS_H
16288 # include <sys/vfs.h>
16290 #ifdef HAVE_SYS_STATFS_H
16291 # include <sys/statfs.h>
16294 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
16296 cat >>confdefs.h
<<_ACEOF
16297 #define HAVE_STRUCT_STATFS_F_FFREE 1
16302 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16303 #ifdef HAVE_SYS_PARAM_H
16304 # include <sys/param.h>
16306 #ifdef HAVE_SYS_MOUNT_H
16307 # include <sys/mount.h>
16309 #ifdef HAVE_SYS_VFS_H
16310 # include <sys/vfs.h>
16312 #ifdef HAVE_SYS_STATFS_H
16313 # include <sys/statfs.h>
16316 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
16318 cat >>confdefs.h
<<_ACEOF
16319 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16324 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16325 #ifdef HAVE_SYS_PARAM_H
16326 # include <sys/param.h>
16328 #ifdef HAVE_SYS_MOUNT_H
16329 # include <sys/mount.h>
16331 #ifdef HAVE_SYS_VFS_H
16332 # include <sys/vfs.h>
16334 #ifdef HAVE_SYS_STATFS_H
16335 # include <sys/statfs.h>
16338 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
16340 cat >>confdefs.h
<<_ACEOF
16341 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16348 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16349 #include <sys/statvfs.h>
16352 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
16354 cat >>confdefs.h
<<_ACEOF
16355 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16362 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16363 #include <dirent.h>
16366 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
16368 cat >>confdefs.h
<<_ACEOF
16369 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16376 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16377 #ifdef HAVE_SYS_SOCKET_H
16378 # include <sys/socket.h>
16380 #ifdef HAVE_SYS_UN_H
16381 # include <sys/un.h>
16384 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
16386 cat >>confdefs.h
<<_ACEOF
16387 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16392 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16393 #ifdef HAVE_SYS_SOCKET_H
16394 # include <sys/socket.h>
16396 #ifdef HAVE_SYS_UN_H
16397 # include <sys/un.h>
16400 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
16402 cat >>confdefs.h
<<_ACEOF
16403 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16408 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16409 #ifdef HAVE_SYS_SOCKET_H
16410 # include <sys/socket.h>
16412 #ifdef HAVE_SYS_UN_H
16413 # include <sys/un.h>
16416 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
16418 cat >>confdefs.h
<<_ACEOF
16419 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16426 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16427 #ifdef HAVE_SCSI_SG_H
16428 #include <scsi/sg.h>
16431 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
16433 cat >>confdefs.h
<<_ACEOF
16434 #define HAVE_SCSIREQ_T_CMD 1
16439 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>
16440 #ifdef HAVE_SCSI_SG_H
16441 #include <scsi/sg.h>
16444 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
16446 cat >>confdefs.h
<<_ACEOF
16447 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16454 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16456 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
16458 cat >>confdefs.h
<<_ACEOF
16459 #define HAVE_SIGINFO_T_SI_FD 1
16466 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16467 #ifdef HAVE_SYS_MTIO_H
16468 #include <sys/mtio.h>
16471 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
16473 cat >>confdefs.h
<<_ACEOF
16474 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16479 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16480 #ifdef HAVE_SYS_MTIO_H
16481 #include <sys/mtio.h>
16484 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
16486 cat >>confdefs.h
<<_ACEOF
16487 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16492 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16493 #ifdef HAVE_SYS_MTIO_H
16494 #include <sys/mtio.h>
16497 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
16499 cat >>confdefs.h
<<_ACEOF
16500 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16507 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16508 #include <getopt.h>
16511 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
16513 cat >>confdefs.h
<<_ACEOF
16514 #define HAVE_STRUCT_OPTION_NAME 1
16521 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16522 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
16524 cat >>confdefs.h
<<_ACEOF
16525 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16530 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16531 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
16533 cat >>confdefs.h
<<_ACEOF
16534 #define HAVE_STRUCT_STAT_ST_MTIM 1
16539 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16540 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
16542 cat >>confdefs.h
<<_ACEOF
16543 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16548 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16549 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
16551 cat >>confdefs.h
<<_ACEOF
16552 #define HAVE_STRUCT_STAT_ST_CTIM 1
16557 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16558 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
16560 cat >>confdefs.h
<<_ACEOF
16561 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16566 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16567 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
16569 cat >>confdefs.h
<<_ACEOF
16570 #define HAVE_STRUCT_STAT_ST_ATIM 1
16575 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16576 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
16578 cat >>confdefs.h
<<_ACEOF
16579 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16584 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16585 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
16587 cat >>confdefs.h
<<_ACEOF
16588 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16593 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16594 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
16596 cat >>confdefs.h
<<_ACEOF
16597 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16602 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16603 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
16605 cat >>confdefs.h
<<_ACEOF
16606 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16611 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16612 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
16614 cat >>confdefs.h
<<_ACEOF
16615 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16620 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16621 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
16623 cat >>confdefs.h
<<_ACEOF
16624 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16631 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
16632 #include <sys/types.h>
16634 #ifdef HAVE_NETINET_IN_H
16635 #include <netinet/in.h>
16638 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
16640 cat >>confdefs.h
<<_ACEOF
16641 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16648 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16649 #include <resolv.h>
16652 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
16654 cat >>confdefs.h
<<_ACEOF
16655 #define HAVE_STRUCT___RES_STATE 1
16662 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
16663 #include <resolv.h>
16666 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16668 cat >>confdefs.h
<<_ACEOF
16669 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16676 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16677 #include <sys/types.h>
16679 #ifdef HAVE_NETINET_IN_H
16680 # include <netinet/in.h>
16682 #ifdef HAVE_ARPA_NAMESER_H
16683 # include <arpa/nameser.h>
16686 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16688 cat >>confdefs.h
<<_ACEOF
16689 #define HAVE_NS_MSG__MSG_PTR 1
16696 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16697 #include <sys/types.h>
16699 #ifdef HAVE_NETINET_IP_H
16700 #include <netinet/ip.h>
16702 #ifdef HAVE_NETINET_IP_ICMP_H
16703 #include <netinet/ip_icmp.h>
16705 #ifdef HAVE_NETINET_ICMP_VAR_H
16706 #include <netinet/icmp_var.h>
16709 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16711 cat >>confdefs.h
<<_ACEOF
16712 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16719 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16720 #include <sys/types.h>
16722 #ifdef HAVE_ALIAS_H
16725 #ifdef HAVE_SYS_SOCKET_H
16726 #include <sys/socket.h>
16728 #ifdef HAVE_SYS_SOCKETVAR_H
16729 #include <sys/socketvar.h>
16731 #ifdef HAVE_SYS_TIMEOUT_H
16732 #include <sys/timeout.h>
16734 #ifdef HAVE_NETINET_IN_H
16735 #include <netinet/in.h>
16737 #ifdef HAVE_NETINET_IN_SYSTM_H
16738 #include <netinet/in_systm.h>
16740 #ifdef HAVE_NETINET_IP_H
16741 #include <netinet/ip.h>
16743 #ifdef HAVE_NETINET_IP_VAR_H
16744 #include <netinet/ip_var.h>
16746 #ifdef HAVE_NETINET_IP_ICMP_H
16747 #include <netinet/ip_icmp.h>
16749 #ifdef HAVE_NETINET_ICMP_VAR_H
16750 #include <netinet/icmp_var.h>
16753 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16755 cat >>confdefs.h
<<_ACEOF
16756 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16763 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16764 #include <sys/types.h>
16766 #ifdef HAVE_SYS_SOCKETVAR_H
16767 #include <sys/socketvar.h>
16769 #ifdef HAVE_NETINET_IN_H
16770 #include <netinet/in.h>
16772 #ifdef HAVE_NETINET_IP_VAR_H
16773 #include <netinet/ip_var.h>
16776 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16778 cat >>confdefs.h
<<_ACEOF
16779 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16786 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
16787 #include <netinet/ip_var.h>
16790 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16792 cat >>confdefs.h
<<_ACEOF
16793 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16800 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16801 #include <sys/types.h>
16803 #ifdef HAVE_SYS_SOCKETVAR_H
16804 #include <sys/socketvar.h>
16806 #ifdef HAVE_NETINET_IN_H
16807 #include <netinet/in.h>
16809 #ifdef HAVE_NETINET_TCP_H
16810 #include <netinet/tcp.h>
16812 #ifdef HAVE_NETINET_TCP_VAR_H
16813 #include <netinet/tcp_var.h>
16816 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16818 cat >>confdefs.h
<<_ACEOF
16819 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16826 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
16827 #include <netinet/tcp_var.h>
16830 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16832 cat >>confdefs.h
<<_ACEOF
16833 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16840 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16841 #include <sys/types.h>
16843 #ifdef HAVE_NETINET_IN_H
16844 #include <netinet/in.h>
16846 #ifdef HAVE_NETINET_IP_VAR_H
16847 #include <netinet/ip_var.h>
16849 #ifdef HAVE_NETINET_UDP_H
16850 #include <netinet/udp.h>
16852 #ifdef HAVE_NETINET_UDP_VAR_H
16853 #include <netinet/udp_var.h>
16856 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16858 cat >>confdefs.h
<<_ACEOF
16859 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16866 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16867 #include <sys/types.h>
16869 #ifdef HAVE_NET_IF_H
16870 # include <net/if.h>
16873 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16875 cat >>confdefs.h
<<_ACEOF
16876 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16884 $as_echo_n "checking for timezone variable... " >&6; }
16885 if ${ac_cv_have_timezone+:} false
; then :
16886 $as_echo_n "(cached) " >&6
16888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16889 /* end confdefs.h. */
16899 if ac_fn_c_try_link
"$LINENO"; then :
16900 ac_cv_have_timezone
="yes"
16902 ac_cv_have_timezone
="no"
16904 rm -f core conftest.err conftest.
$ac_objext \
16905 conftest
$ac_exeext conftest.
$ac_ext
16907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16908 $as_echo "$ac_cv_have_timezone" >&6; }
16909 if test "$ac_cv_have_timezone" = "yes"
16912 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16916 $as_echo_n "checking for daylight variable... " >&6; }
16917 if ${ac_cv_have_daylight+:} false
; then :
16918 $as_echo_n "(cached) " >&6
16920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16921 /* end confdefs.h. */
16931 if ac_fn_c_try_link
"$LINENO"; then :
16932 ac_cv_have_daylight
="yes"
16934 ac_cv_have_daylight
="no"
16936 rm -f core conftest.err conftest.
$ac_objext \
16937 conftest
$ac_exeext conftest.
$ac_ext
16939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16940 $as_echo "$ac_cv_have_daylight" >&6; }
16941 if test "$ac_cv_have_daylight" = "yes"
16944 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16948 ac_save_LIBS
="$LIBS"
16950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16951 $as_echo_n "checking for isfinite... " >&6; }
16952 if ${ac_cv_have_isfinite+:} false
; then :
16953 $as_echo_n "(cached) " >&6
16955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16956 /* end confdefs.h. */
16957 #define _GNU_SOURCE
16962 float f = 0.0; return isfinite(f)
16967 if ac_fn_c_try_link
"$LINENO"; then :
16968 ac_cv_have_isfinite
="yes"
16970 ac_cv_have_isfinite
="no"
16972 rm -f core conftest.err conftest.
$ac_objext \
16973 conftest
$ac_exeext conftest.
$ac_ext
16975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16976 $as_echo "$ac_cv_have_isfinite" >&6; }
16977 if test "$ac_cv_have_isfinite" = "yes"
16980 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16985 $as_echo_n "checking for isinf... " >&6; }
16986 if ${ac_cv_have_isinf+:} false
; then :
16987 $as_echo_n "(cached) " >&6
16989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16990 /* end confdefs.h. */
16995 float f = 0.0; return isinf(f)
17000 if ac_fn_c_try_link
"$LINENO"; then :
17001 ac_cv_have_isinf
="yes"
17003 ac_cv_have_isinf
="no"
17005 rm -f core conftest.err conftest.
$ac_objext \
17006 conftest
$ac_exeext conftest.
$ac_ext
17008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17009 $as_echo "$ac_cv_have_isinf" >&6; }
17010 if test "$ac_cv_have_isinf" = "yes"
17013 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17018 $as_echo_n "checking for isnan... " >&6; }
17019 if ${ac_cv_have_isnan+:} false
; then :
17020 $as_echo_n "(cached) " >&6
17022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17023 /* end confdefs.h. */
17028 float f = 0.0; return isnan(f)
17033 if ac_fn_c_try_link
"$LINENO"; then :
17034 ac_cv_have_isnan
="yes"
17036 ac_cv_have_isnan
="no"
17038 rm -f core conftest.err conftest.
$ac_objext \
17039 conftest
$ac_exeext conftest.
$ac_ext
17041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17042 $as_echo "$ac_cv_have_isnan" >&6; }
17043 if test "$ac_cv_have_isnan" = "yes"
17046 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17082 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17083 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
17084 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
17085 cat >>confdefs.h
<<_ACEOF
17086 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17092 LIBS
="$ac_save_LIBS"
17094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17095 $as_echo_n "checking for __builtin_clz... " >&6; }
17096 if ${ac_cv_have___builtin_clz+:} false
; then :
17097 $as_echo_n "(cached) " >&6
17099 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17100 /* end confdefs.h. */
17105 return __builtin_clz(1)
17110 if ac_fn_c_try_link
"$LINENO"; then :
17111 ac_cv_have___builtin_clz
="yes"
17113 ac_cv_have___builtin_clz
="no"
17115 rm -f core conftest.err conftest.
$ac_objext \
17116 conftest
$ac_exeext conftest.
$ac_ext
17118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17119 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17120 if test "$ac_cv_have___builtin_clz" = "yes"
17123 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17128 $as_echo_n "checking for __builtin_popcount... " >&6; }
17129 if ${ac_cv_have___builtin_popcount+:} false
; then :
17130 $as_echo_n "(cached) " >&6
17132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17133 /* end confdefs.h. */
17138 return __builtin_popcount(1)
17143 if ac_fn_c_try_link
"$LINENO"; then :
17144 ac_cv_have___builtin_popcount
="yes"
17146 ac_cv_have___builtin_popcount
="no"
17148 rm -f core conftest.err conftest.
$ac_objext \
17149 conftest
$ac_exeext conftest.
$ac_ext
17151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17152 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17153 if test "$ac_cv_have___builtin_popcount" = "yes"
17156 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17162 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17163 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17164 if ${ac_cv_cpp_def___i386__+:} false
; then :
17165 $as_echo_n "(cached) " >&6
17167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17168 /* end confdefs.h. */
17173 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17174 $EGREP "yes" >/dev
/null
2>&1; then :
17175 ac_cv_cpp_def___i386__
=yes
17177 ac_cv_cpp_def___i386__
=no
17182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17183 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17184 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
17185 CFLAGS
="$CFLAGS -D__i386__"
17186 LINTFLAGS
="$LINTFLAGS -D__i386__"
17188 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17189 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17190 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
17191 $as_echo_n "(cached) " >&6
17193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17194 /* end confdefs.h. */
17199 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17200 $EGREP "yes" >/dev
/null
2>&1; then :
17201 ac_cv_cpp_def___x86_64__
=yes
17203 ac_cv_cpp_def___x86_64__
=no
17208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17209 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17210 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
17211 CFLAGS
="$CFLAGS -D__x86_64__"
17212 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
17214 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17215 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17216 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
17217 $as_echo_n "(cached) " >&6
17219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17220 /* end confdefs.h. */
17221 #ifndef __sparc64__
17225 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17226 $EGREP "yes" >/dev
/null
2>&1; then :
17227 ac_cv_cpp_def___sparc64__
=yes
17229 ac_cv_cpp_def___sparc64__
=no
17234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17235 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17236 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
17237 CFLAGS
="$CFLAGS -D__sparc64__"
17238 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
17240 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17241 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17242 if ${ac_cv_cpp_def___sparc__+:} false
; then :
17243 $as_echo_n "(cached) " >&6
17245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17246 /* end confdefs.h. */
17251 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17252 $EGREP "yes" >/dev
/null
2>&1; then :
17253 ac_cv_cpp_def___sparc__
=yes
17255 ac_cv_cpp_def___sparc__
=no
17260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17261 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17262 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
17263 CFLAGS
="$CFLAGS -D__sparc__"
17264 LINTFLAGS
="$LINTFLAGS -D__sparc__"
17266 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17267 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17268 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
17269 $as_echo_n "(cached) " >&6
17271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17272 /* end confdefs.h. */
17273 #ifndef __powerpc64__
17277 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17278 $EGREP "yes" >/dev
/null
2>&1; then :
17279 ac_cv_cpp_def___powerpc64__
=yes
17281 ac_cv_cpp_def___powerpc64__
=no
17286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17287 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17288 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
17289 CFLAGS
="$CFLAGS -D__powerpc64__"
17290 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
17292 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17293 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17294 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
17295 $as_echo_n "(cached) " >&6
17297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17298 /* end confdefs.h. */
17299 #ifndef __powerpc__
17303 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17304 $EGREP "yes" >/dev
/null
2>&1; then :
17305 ac_cv_cpp_def___powerpc__
=yes
17307 ac_cv_cpp_def___powerpc__
=no
17312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17313 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17314 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
17315 CFLAGS
="$CFLAGS -D__powerpc__"
17316 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
17318 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17319 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17320 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
17321 $as_echo_n "(cached) " >&6
17323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17324 /* end confdefs.h. */
17325 #ifndef __aarch64__
17329 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17330 $EGREP "yes" >/dev
/null
2>&1; then :
17331 ac_cv_cpp_def___aarch64__
=yes
17333 ac_cv_cpp_def___aarch64__
=no
17338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17339 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17340 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
17341 CFLAGS
="$CFLAGS -D__aarch64__"
17342 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
17344 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17345 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17346 if ${ac_cv_cpp_def___arm__+:} false
; then :
17347 $as_echo_n "(cached) " >&6
17349 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17350 /* end confdefs.h. */
17355 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17356 $EGREP "yes" >/dev
/null
2>&1; then :
17357 ac_cv_cpp_def___arm__
=yes
17359 ac_cv_cpp_def___arm__
=no
17364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17365 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17366 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
17367 CFLAGS
="$CFLAGS -D__arm__"
17368 LINTFLAGS
="$LINTFLAGS -D__arm__"
17372 case $host_vendor in
17373 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17374 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17375 if ${ac_cv_cpp_def___sun__+:} false
; then :
17376 $as_echo_n "(cached) " >&6
17378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17379 /* end confdefs.h. */
17384 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17385 $EGREP "yes" >/dev
/null
2>&1; then :
17386 ac_cv_cpp_def___sun__
=yes
17388 ac_cv_cpp_def___sun__
=no
17393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17394 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17395 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
17396 CFLAGS
="$CFLAGS -D__sun__"
17397 LINTFLAGS
="$LINTFLAGS -D__sun__"
17405 ac_config_commands
="$ac_config_commands include/stamp-h"
17407 $as_echo_n "creating Makefile rules..." >&6
17409 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
17410 SOCKET_LIBS = $SOCKET_LIBS
17411 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17412 IOKIT_LIBS = $IOKIT_LIBS
17413 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17414 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17415 CORESERVICES_LIBS = $CORESERVICES_LIBS
17416 APPKIT_LIBS = $APPKIT_LIBS
17417 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17418 SECURITY_LIBS = $SECURITY_LIBS
17419 COREAUDIO_LIBS = $COREAUDIO_LIBS
17420 OPENAL_LIBS = $OPENAL_LIBS
17421 OPENCL_LIBS = $OPENCL_LIBS
17422 QUICKTIME_LIBS = $QUICKTIME_LIBS
17423 CARBON_LIBS = $CARBON_LIBS
17424 PTHREAD_LIBS = $PTHREAD_LIBS
17425 X_CFLAGS = $X_CFLAGS
17426 X_PRE_LIBS = $X_PRE_LIBS
17428 X_EXTRA_LIBS = $X_EXTRA_LIBS
17429 PCAP_LIBS = $PCAP_LIBS
17430 XML2_CFLAGS = $XML2_CFLAGS
17431 XML2_LIBS = $XML2_LIBS
17432 XSLT_CFLAGS = $XSLT_CFLAGS
17433 XSLT_LIBS = $XSLT_LIBS
17434 DBUS_CFLAGS = $DBUS_CFLAGS
17435 DBUS_LIBS = $DBUS_LIBS
17436 HAL_CFLAGS = $HAL_CFLAGS
17437 HAL_LIBS = $HAL_LIBS
17438 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17439 GNUTLS_LIBS = $GNUTLS_LIBS
17440 SANE_CFLAGS = $SANE_CFLAGS
17441 SANE_LIBS = $SANE_LIBS
17442 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17443 GPHOTO2_LIBS = $GPHOTO2_LIBS
17444 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17445 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17446 RESOLV_LIBS = $RESOLV_LIBS
17447 LCMS2_CFLAGS = $LCMS2_CFLAGS
17448 LCMS2_LIBS = $LCMS2_LIBS
17449 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17450 FREETYPE_LIBS = $FREETYPE_LIBS
17452 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17453 PULSE_CFLAGS = $PULSE_CFLAGS
17454 PULSE_LIBS = $PULSE_LIBS
17455 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17456 GSTREAMER_LIBS = $GSTREAMER_LIBS
17457 ALSA_LIBS = $ALSA_LIBS
17458 OSS4_CFLAGS = $OSS4_CFLAGS
17459 UDEV_CFLAGS = $UDEV_CFLAGS
17460 UDEV_LIBS = $UDEV_LIBS
17461 CAPI20_CFLAGS = $CAPI20_CFLAGS
17462 CAPI20_LIBS = $CAPI20_LIBS
17463 CUPS_CFLAGS = $CUPS_CFLAGS
17464 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17465 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17466 JPEG_CFLAGS = $JPEG_CFLAGS
17467 JPEG_LIBS = $JPEG_LIBS
17468 PNG_CFLAGS = $PNG_CFLAGS
17469 PNG_LIBS = $PNG_LIBS
17470 TIFF_CFLAGS = $TIFF_CFLAGS
17471 TIFF_LIBS = $TIFF_LIBS
17472 MPG123_CFLAGS = $MPG123_CFLAGS
17473 MPG123_LIBS = $MPG123_LIBS
17474 KSTAT_LIBS = $KSTAT_LIBS
17475 PROCSTAT_LIBS = $PROCSTAT_LIBS
17476 NETAPI_CFLAGS = $NETAPI_CFLAGS
17477 NETAPI_LIBS = $NETAPI_LIBS
17478 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17480 POLL_LIBS = $POLL_LIBS
17482 LDAP_LIBS = $LDAP_LIBS
17487 wine_fn_append_rule
"
17488 # Rules automatically generated by configure
17490 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17495 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17496 @./config.status Make.tmp Makefile
17497 depend: \$(MAKEDEP) dummy
17500 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
17501 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17503 if test "x$enable_fonts" != xno
; then
17504 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17505 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17506 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17507 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17508 ac_config_links
="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17509 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf fonts
/wingding.ttf
17511 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17512 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
17513 ac_config_links
="$ac_config_links wine:tools/winewrapper"
17514 wine_fn_config_symlink wine
17515 if test "x$enable_win64" != xno
; then
17516 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
17517 wine_fn_config_symlink wine64
17520 wine_fn_config_dll acledit enable_acledit
17521 wine_fn_config_dll aclui enable_aclui implib
17522 wine_fn_config_dll activeds enable_activeds implib
17523 wine_fn_config_dll actxprxy enable_actxprxy clean
17524 wine_fn_config_lib adsiid
17525 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
17526 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
17527 wine_fn_config_dll advpack enable_advpack implib
17528 wine_fn_config_test dlls
/advpack
/tests advpack_test
17529 wine_fn_config_dll amstream enable_amstream clean
17530 wine_fn_config_test dlls
/amstream
/tests amstream_test
17531 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17532 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17533 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17534 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17535 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17536 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17537 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17538 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17539 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17540 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17541 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17542 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17543 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17544 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17545 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17546 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17547 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17548 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17549 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17550 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17551 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17552 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17553 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17554 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17555 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17556 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17557 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17558 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17559 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17560 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17561 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17562 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17563 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17564 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17565 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17566 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17567 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17568 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17569 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17570 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17571 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17572 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17573 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17574 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17575 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17576 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17577 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17578 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17579 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17580 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17581 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17582 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17583 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17584 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17585 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17586 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17587 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17588 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17589 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17590 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17591 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17592 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17593 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17594 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17595 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17596 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17597 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17598 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17599 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17600 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17601 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17602 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17603 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17604 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17605 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17606 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17607 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17608 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17609 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17610 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17611 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17612 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17613 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17614 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17615 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17616 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17617 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17618 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17619 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17620 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17621 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17622 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17623 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17624 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17625 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17626 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17627 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17628 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17629 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17630 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17631 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17632 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17633 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17634 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17635 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17636 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17637 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17638 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17639 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17640 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17641 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17642 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17643 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17644 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17645 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17646 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17647 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17648 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17649 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17650 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17651 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17652 wine_fn_config_dll apphelp enable_apphelp
17653 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
17654 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17655 wine_fn_config_dll atl enable_atl clean
,implib
17656 wine_fn_config_test dlls
/atl
/tests atl_test
17657 wine_fn_config_dll atl100 enable_atl100 clean
,implib
17658 wine_fn_config_test dlls
/atl100
/tests atl100_test
17659 wine_fn_config_dll atl110 enable_atl110 clean
17660 wine_fn_config_dll atl80 enable_atl80 clean
,implib
17661 wine_fn_config_test dlls
/atl80
/tests atl80_test
17662 wine_fn_config_dll atl90 enable_atl90 clean
17663 wine_fn_config_dll authz enable_authz
17664 wine_fn_config_dll avicap32 enable_avicap32 implib
17665 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
17666 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
17667 wine_fn_config_dll avifile.dll16 enable_win16
17668 wine_fn_config_dll avrt enable_avrt implib
17669 wine_fn_config_dll bcrypt enable_bcrypt implib
17670 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
17671 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17672 wine_fn_config_dll browseui enable_browseui clean
17673 wine_fn_config_test dlls
/browseui
/tests browseui_test
17674 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17675 wine_fn_config_dll cabinet enable_cabinet implib
17676 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
17677 wine_fn_config_dll capi2032 enable_capi2032 implib
17678 wine_fn_config_dll cards enable_cards implib
17679 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17680 wine_fn_config_dll clusapi enable_clusapi implib
17681 wine_fn_config_dll combase enable_combase
17682 wine_fn_config_test dlls
/combase
/tests combase_test
17683 wine_fn_config_dll comcat enable_comcat
17684 wine_fn_config_test dlls
/comcat
/tests comcat_test
17685 wine_fn_config_dll comctl32 enable_comctl32 clean
,implib
17686 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
17687 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
17688 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
17689 wine_fn_config_dll
comm.drv16 enable_win16
17690 wine_fn_config_dll commdlg.dll16 enable_win16
17691 wine_fn_config_dll compobj.dll16 enable_win16
17692 wine_fn_config_dll compstui enable_compstui implib
17693 wine_fn_config_dll comsvcs enable_comsvcs implib
17694 wine_fn_config_dll concrt140 enable_concrt140
17695 wine_fn_config_dll connect enable_connect
17696 wine_fn_config_dll credui enable_credui clean
,implib
17697 wine_fn_config_test dlls
/credui
/tests credui_test
17698 wine_fn_config_dll crtdll enable_crtdll
17699 wine_fn_config_dll crypt32 enable_crypt32 clean
,implib
17700 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
17701 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17702 wine_fn_config_dll cryptdll enable_cryptdll implib
17703 wine_fn_config_dll cryptext enable_cryptext
17704 wine_fn_config_dll cryptnet enable_cryptnet implib
17705 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
17706 wine_fn_config_dll cryptui enable_cryptui clean
,implib
17707 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
17708 wine_fn_config_dll ctapi32 enable_ctapi32
17709 wine_fn_config_dll ctl3d.dll16 enable_win16
17710 wine_fn_config_dll ctl3d32 enable_ctl3d32
17711 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17712 wine_fn_config_dll d2d1 enable_d2d1 implib
17713 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
17714 wine_fn_config_dll d3d10 enable_d3d10 implib
17715 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
17716 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17717 wine_fn_config_test dlls
/d3d10_
1/tests d3d10_1_test
17718 wine_fn_config_dll d3d10core enable_d3d10core implib
17719 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
17720 wine_fn_config_dll d3d11 enable_d3d11 implib
17721 wine_fn_config_test dlls
/d3d11
/tests d3d11_test
17722 wine_fn_config_dll d3d8 enable_d3d8 implib
17723 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
17724 wine_fn_config_dll d3d9 enable_d3d9 implib
17725 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
17726 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17727 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17728 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17729 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17730 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17731 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17732 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17733 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17734 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17735 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17736 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17737 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
17738 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17739 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17740 wine_fn_config_dll d3dim enable_d3dim
17741 wine_fn_config_dll d3drm enable_d3drm implib
17742 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
17743 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17744 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17745 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17746 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17747 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17748 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17749 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17750 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17751 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17752 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17753 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17754 wine_fn_config_test dlls
/d3dx10_43
/tests d3dx10_43_test
17755 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17756 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17757 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17758 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17759 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17760 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17761 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17762 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17763 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17764 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17765 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17766 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17767 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17768 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17769 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17770 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
17771 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17772 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17773 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17774 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17775 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17776 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17777 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17778 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
17779 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
17780 wine_fn_config_dll davclnt enable_davclnt
17781 wine_fn_config_dll dbgeng enable_dbgeng implib
17782 wine_fn_config_dll dbghelp enable_dbghelp implib
17783 wine_fn_config_dll dciman32 enable_dciman32 implib
17784 wine_fn_config_dll ddeml.dll16 enable_win16
17785 wine_fn_config_dll ddraw enable_ddraw clean
,implib
17786 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
17787 wine_fn_config_dll ddrawex enable_ddrawex clean
17788 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
17789 wine_fn_config_dll devenum enable_devenum clean
17790 wine_fn_config_test dlls
/devenum
/tests devenum_test
17791 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17792 wine_fn_config_dll difxapi enable_difxapi
17793 wine_fn_config_dll dinput enable_dinput clean
,implib
,staticimplib
17794 wine_fn_config_test dlls
/dinput
/tests dinput_test
17795 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
17796 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
17797 wine_fn_config_dll dispdib.dll16 enable_win16
17798 wine_fn_config_dll dispex enable_dispex clean
17799 wine_fn_config_test dlls
/dispex
/tests dispex_test
17800 wine_fn_config_dll display.drv16 enable_win16
17801 wine_fn_config_dll dmband enable_dmband clean
17802 wine_fn_config_test dlls
/dmband
/tests dmband_test
17803 wine_fn_config_dll dmcompos enable_dmcompos clean
17804 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
17805 wine_fn_config_dll dmime enable_dmime clean
17806 wine_fn_config_test dlls
/dmime
/tests dmime_test
17807 wine_fn_config_dll dmloader enable_dmloader clean
17808 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
17809 wine_fn_config_dll dmscript enable_dmscript clean
17810 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
17811 wine_fn_config_dll dmstyle enable_dmstyle clean
17812 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
17813 wine_fn_config_dll dmsynth enable_dmsynth clean
17814 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
17815 wine_fn_config_dll dmusic enable_dmusic clean
17816 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
17817 wine_fn_config_dll dmusic32 enable_dmusic32
17818 wine_fn_config_dll dnsapi enable_dnsapi implib
17819 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
17820 wine_fn_config_dll dplay enable_dplay
17821 wine_fn_config_dll dplayx enable_dplayx clean
,implib
17822 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
17823 wine_fn_config_dll dpnaddr enable_dpnaddr
17824 wine_fn_config_dll dpnet enable_dpnet clean
,implib
17825 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
17826 wine_fn_config_dll dpnhpast enable_dpnhpast
17827 wine_fn_config_dll dpnlobby enable_dpnlobby
17828 wine_fn_config_dll dpvoice enable_dpvoice clean
17829 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
17830 wine_fn_config_dll dpwsockx enable_dpwsockx
17831 wine_fn_config_dll drmclien enable_drmclien
17832 wine_fn_config_dll dsound enable_dsound clean
,implib
17833 wine_fn_config_test dlls
/dsound
/tests dsound_test
17834 wine_fn_config_dll dssenh enable_dssenh
17835 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
17836 wine_fn_config_dll dswave enable_dswave clean
17837 wine_fn_config_test dlls
/dswave
/tests dswave_test
17838 wine_fn_config_dll dwmapi enable_dwmapi implib
17839 wine_fn_config_dll dwrite enable_dwrite implib
17840 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
17841 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17842 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
17843 wine_fn_config_lib dxerr8
17844 wine_fn_config_lib dxerr9
17845 wine_fn_config_dll dxgi enable_dxgi implib
17846 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
17847 wine_fn_config_lib dxguid
17848 wine_fn_config_dll dxva2 enable_dxva2
17849 wine_fn_config_dll esent enable_esent
17850 wine_fn_config_dll evr enable_evr
17851 wine_fn_config_dll explorerframe enable_explorerframe clean
17852 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17853 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17854 wine_fn_config_dll faultrep enable_faultrep implib
17855 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17856 wine_fn_config_dll fltlib enable_fltlib
17857 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17858 wine_fn_config_dll fntcache enable_fntcache
17859 wine_fn_config_dll fontsub enable_fontsub
17860 wine_fn_config_dll fusion enable_fusion
17861 wine_fn_config_test dlls
/fusion
/tests fusion_test
17862 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17863 wine_fn_config_dll gameux enable_gameux clean
17864 wine_fn_config_test dlls
/gameux
/tests gameux_test
17865 wine_fn_config_dll gdi.exe16 enable_win16
17866 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
17867 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
17868 wine_fn_config_dll gdiplus enable_gdiplus implib
17869 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
17870 wine_fn_config_dll glu32 enable_glu32 implib
17871 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17872 wine_fn_config_dll gpkcsp enable_gpkcsp
17873 wine_fn_config_dll hal enable_hal
17874 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib htmlhelp
17875 wine_fn_config_dll hid enable_hid implib
17876 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17877 wine_fn_config_dll hlink enable_hlink clean
,implib
17878 wine_fn_config_test dlls
/hlink
/tests hlink_test
17879 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17880 wine_fn_config_test dlls
/hnetcfg
/tests hnetcfg_test
17881 wine_fn_config_dll httpapi enable_httpapi
17882 wine_fn_config_dll iccvid enable_iccvid clean
17883 wine_fn_config_dll icmp enable_icmp
17884 wine_fn_config_dll ieframe enable_ieframe clean
,implib
17885 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17886 wine_fn_config_dll ifsmgr.vxd enable_win16
17887 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17888 wine_fn_config_dll imagehlp enable_imagehlp implib
17889 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17890 wine_fn_config_dll imm.dll16 enable_win16
17891 wine_fn_config_dll imm32 enable_imm32 implib
17892 wine_fn_config_test dlls
/imm32
/tests imm32_test
17893 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17894 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17895 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17896 wine_fn_config_dll inetmib1 enable_inetmib1
17897 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17898 wine_fn_config_dll infosoft enable_infosoft clean
17899 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17900 wine_fn_config_dll initpki enable_initpki
17901 wine_fn_config_dll inkobj enable_inkobj
17902 wine_fn_config_dll inseng enable_inseng clean
17903 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17904 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17905 wine_fn_config_dll irprops.cpl enable_irprops_cpl
17906 wine_fn_config_dll itircl enable_itircl
17907 wine_fn_config_dll itss enable_itss clean
17908 wine_fn_config_test dlls
/itss
/tests itss_test
17909 wine_fn_config_dll joy.cpl enable_joy_cpl clean
17910 wine_fn_config_dll jscript enable_jscript clean
17911 wine_fn_config_test dlls
/jscript
/tests jscript_test
17912 wine_fn_config_dll jsproxy enable_jsproxy implib
17913 wine_fn_config_test dlls
/jsproxy
/tests jsproxy_test
17914 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
17915 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17916 wine_fn_config_dll kernelbase enable_kernelbase
17917 wine_fn_config_dll keyboard.drv16 enable_win16
17918 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17919 wine_fn_config_dll ksuser enable_ksuser
17920 wine_fn_config_dll ktmw32 enable_ktmw32
17921 wine_fn_config_dll loadperf enable_loadperf implib
17922 wine_fn_config_dll localspl enable_localspl clean
17923 wine_fn_config_test dlls
/localspl
/tests localspl_test
17924 wine_fn_config_dll localui enable_localui clean
17925 wine_fn_config_test dlls
/localui
/tests localui_test
17926 wine_fn_config_dll lz32 enable_lz32 implib
17927 wine_fn_config_test dlls
/lz32
/tests lz32_test
17928 wine_fn_config_dll lzexpand.dll16 enable_win16
17929 wine_fn_config_dll mapi32 enable_mapi32 clean
,implib
17930 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17931 wine_fn_config_dll mapistub enable_mapistub
17932 wine_fn_config_dll mciavi32 enable_mciavi32
17933 wine_fn_config_dll mcicda enable_mcicda
17934 wine_fn_config_dll mciqtz32 enable_mciqtz32
17935 wine_fn_config_dll mciseq enable_mciseq
17936 wine_fn_config_dll mciwave enable_mciwave
17937 wine_fn_config_dll mf enable_mf
17938 wine_fn_config_dll mfplat enable_mfplat
17939 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17940 wine_fn_config_dll mgmtapi enable_mgmtapi
17941 wine_fn_config_dll midimap enable_midimap
17942 wine_fn_config_dll mlang enable_mlang clean
,implib
17943 wine_fn_config_test dlls
/mlang
/tests mlang_test
17944 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17945 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
17946 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17947 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
17948 wine_fn_config_dll mmdevldr.vxd enable_win16
17949 wine_fn_config_dll mmsystem.dll16 enable_win16
17950 wine_fn_config_dll monodebg.vxd enable_win16
17951 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17952 wine_fn_config_dll mouse.drv16 enable_win16
17953 wine_fn_config_dll mpr enable_mpr clean
,implib
17954 wine_fn_config_test dlls
/mpr
/tests mpr_test
17955 wine_fn_config_dll mprapi enable_mprapi implib
17956 wine_fn_config_dll msacm.dll16 enable_win16
17957 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17958 wine_fn_config_dll msacm32 enable_msacm32 clean
,implib
17959 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
17960 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17961 wine_fn_config_dll msasn1 enable_msasn1 implib
17962 wine_fn_config_dll mscat32 enable_mscat32
17963 wine_fn_config_dll mscms enable_mscms implib
17964 wine_fn_config_test dlls
/mscms
/tests mscms_test
17965 wine_fn_config_dll mscoree enable_mscoree clean
17966 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
17967 wine_fn_config_dll msctf enable_msctf clean
17968 wine_fn_config_test dlls
/msctf
/tests msctf_test
17969 wine_fn_config_dll msctfp enable_msctfp clean
17970 wine_fn_config_dll msdaps enable_msdaps clean
17971 wine_fn_config_dll msdelta enable_msdelta
17972 wine_fn_config_dll msdmo enable_msdmo implib
17973 wine_fn_config_test dlls
/msdmo
/tests msdmo_test
17974 wine_fn_config_dll msdrm enable_msdrm
17975 wine_fn_config_dll msftedit enable_msftedit
17976 wine_fn_config_dll msg711.acm enable_msg711_acm
17977 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17978 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17979 wine_fn_config_dll mshtml enable_mshtml clean
,implib
17980 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
17981 wine_fn_config_dll msi enable_msi clean
,implib
17982 wine_fn_config_test dlls
/msi
/tests msi_test
17983 wine_fn_config_dll msident enable_msident clean
17984 wine_fn_config_dll msimg32 enable_msimg32 implib
17985 wine_fn_config_dll msimsg enable_msimsg
17986 wine_fn_config_dll msimtf enable_msimtf clean
17987 wine_fn_config_dll msisip enable_msisip
17988 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17989 wine_fn_config_dll msls31 enable_msls31
17990 wine_fn_config_dll msnet32 enable_msnet32
17991 wine_fn_config_dll mspatcha enable_mspatcha implib
17992 wine_fn_config_dll msports enable_msports
17993 wine_fn_config_dll msrle32 enable_msrle32 clean
17994 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
17995 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17996 wine_fn_config_test dlls
/msscript.ocx
/tests msscript.ocx_test clean
17997 wine_fn_config_dll mssign32 enable_mssign32
17998 wine_fn_config_dll mssip32 enable_mssip32
17999 wine_fn_config_dll mstask enable_mstask clean
18000 wine_fn_config_test dlls
/mstask
/tests mstask_test
18001 wine_fn_config_dll msvcirt enable_msvcirt
18002 wine_fn_config_test dlls
/msvcirt
/tests msvcirt_test
18003 wine_fn_config_dll msvcm80 enable_msvcm80
18004 wine_fn_config_dll msvcm90 enable_msvcm90
18005 wine_fn_config_dll msvcp100 enable_msvcp100
18006 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
18007 wine_fn_config_dll msvcp110 enable_msvcp110
18008 wine_fn_config_test dlls
/msvcp110
/tests msvcp110_test
18009 wine_fn_config_dll msvcp120 enable_msvcp120
18010 wine_fn_config_test dlls
/msvcp120
/tests msvcp120_test
18011 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18012 wine_fn_config_dll msvcp140 enable_msvcp140
18013 wine_fn_config_dll msvcp60 enable_msvcp60
18014 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
18015 wine_fn_config_dll msvcp70 enable_msvcp70
18016 wine_fn_config_dll msvcp71 enable_msvcp71
18017 wine_fn_config_dll msvcp80 enable_msvcp80
18018 wine_fn_config_dll msvcp90 enable_msvcp90
18019 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
18020 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18021 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
18022 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18023 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18024 wine_fn_config_test dlls
/msvcr120
/tests msvcr120_test
18025 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18026 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18027 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18028 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18029 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18030 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
18031 wine_fn_config_dll msvcrt enable_msvcrt implib
18032 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
18033 wine_fn_config_dll msvcrt20 enable_msvcrt20
18034 wine_fn_config_dll msvcrt40 enable_msvcrt40
18035 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18036 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
18037 wine_fn_config_dll msvfw32 enable_msvfw32 clean
,implib
18038 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
18039 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18040 wine_fn_config_dll msvideo.dll16 enable_win16
18041 wine_fn_config_dll mswsock enable_mswsock implib
18042 wine_fn_config_dll msxml enable_msxml clean
18043 wine_fn_config_dll msxml2 enable_msxml2 clean
18044 wine_fn_config_dll msxml3 enable_msxml3 clean
18045 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
18046 wine_fn_config_dll msxml4 enable_msxml4 clean
18047 wine_fn_config_dll msxml6 enable_msxml6 clean
18048 wine_fn_config_dll ncrypt enable_ncrypt
18049 wine_fn_config_dll nddeapi enable_nddeapi implib
18050 wine_fn_config_dll ndis.sys enable_ndis_sys
18051 wine_fn_config_dll netapi32 enable_netapi32 implib
18052 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
18053 wine_fn_config_dll netcfgx enable_netcfgx clean
18054 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
18055 wine_fn_config_dll netprofm enable_netprofm clean
18056 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
18057 wine_fn_config_dll newdev enable_newdev implib
18058 wine_fn_config_dll normaliz enable_normaliz implib
18059 wine_fn_config_dll npmshtml enable_npmshtml
18060 wine_fn_config_dll npptools enable_npptools
18061 wine_fn_config_dll ntdll enable_ntdll implib
18062 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
18063 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18064 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
18065 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18066 wine_fn_config_dll ntprint enable_ntprint
18067 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
18068 wine_fn_config_dll objsel enable_objsel clean
18069 wine_fn_config_dll odbc32 enable_odbc32 implib
18070 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18071 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
18072 wine_fn_config_dll odbccu32 enable_odbccu32
18073 wine_fn_config_dll ole2.dll16 enable_win16
18074 wine_fn_config_dll ole2conv.dll16 enable_win16
18075 wine_fn_config_dll ole2disp.dll16 enable_win16
18076 wine_fn_config_dll ole2nls.dll16 enable_win16
18077 wine_fn_config_dll ole2prox.dll16 enable_win16
18078 wine_fn_config_dll ole2thk.dll16 enable_win16
18079 wine_fn_config_dll ole32 enable_ole32 clean
,implib
18080 wine_fn_config_test dlls
/ole32
/tests ole32_test
18081 wine_fn_config_dll oleacc enable_oleacc clean
,implib
18082 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
18083 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
18084 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
18085 wine_fn_config_dll olecli.dll16 enable_win16
18086 wine_fn_config_dll olecli32 enable_olecli32 implib
18087 wine_fn_config_dll oledb32 enable_oledb32 clean
18088 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
18089 wine_fn_config_dll oledlg enable_oledlg clean
,implib
18090 wine_fn_config_test dlls
/oledlg
/tests oledlg_test
18091 wine_fn_config_dll olepro32 enable_olepro32 clean
,implib
18092 wine_fn_config_dll olesvr.dll16 enable_win16
18093 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18094 wine_fn_config_dll olethk32 enable_olethk32
18095 wine_fn_config_dll openal32 enable_openal32
18096 wine_fn_config_dll opencl enable_opencl
18097 wine_fn_config_dll opengl32 enable_opengl32 implib
18098 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
18099 wine_fn_config_dll packager enable_packager clean
18100 wine_fn_config_test dlls
/packager
/tests packager_test
18101 wine_fn_config_dll pdh enable_pdh implib
18102 wine_fn_config_test dlls
/pdh
/tests pdh_test
18103 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18104 wine_fn_config_dll pidgen enable_pidgen
18105 wine_fn_config_dll powrprof enable_powrprof implib
18106 wine_fn_config_dll printui enable_printui
18107 wine_fn_config_dll prntvpt enable_prntvpt
18108 wine_fn_config_dll propsys enable_propsys clean
,implib
18109 wine_fn_config_test dlls
/propsys
/tests propsys_test
18110 wine_fn_config_dll psapi enable_psapi implib
18111 wine_fn_config_test dlls
/psapi
/tests psapi_test
18112 wine_fn_config_dll pstorec enable_pstorec clean
18113 wine_fn_config_dll qcap enable_qcap
18114 wine_fn_config_test dlls
/qcap
/tests qcap_test
18115 wine_fn_config_dll qedit enable_qedit clean
18116 wine_fn_config_test dlls
/qedit
/tests qedit_test
18117 wine_fn_config_dll qmgr enable_qmgr clean
18118 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
18119 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18120 wine_fn_config_dll quartz enable_quartz clean
,implib
18121 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
18122 wine_fn_config_dll query enable_query
18123 wine_fn_config_dll rasapi16.dll16 enable_win16
18124 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18125 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
18126 wine_fn_config_dll rasdlg enable_rasdlg implib
18127 wine_fn_config_dll regapi enable_regapi
18128 wine_fn_config_dll resutils enable_resutils implib
18129 wine_fn_config_dll riched20 enable_riched20 clean
,implib
18130 wine_fn_config_test dlls
/riched20
/tests riched20_test
18131 wine_fn_config_dll riched32 enable_riched32
18132 wine_fn_config_test dlls
/riched32
/tests riched32_test
18133 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
18134 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
18135 wine_fn_config_dll rsabase enable_rsabase
18136 wine_fn_config_dll rsaenh enable_rsaenh implib
18137 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
18138 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18139 wine_fn_config_dll rtutils enable_rtutils implib
18140 wine_fn_config_dll samlib enable_samlib
18141 wine_fn_config_dll sane.ds enable_sane_ds clean
18142 wine_fn_config_dll scarddlg enable_scarddlg
18143 wine_fn_config_dll sccbase enable_sccbase
18144 wine_fn_config_dll schannel enable_schannel
18145 wine_fn_config_test dlls
/schannel
/tests schannel_test
18146 wine_fn_config_dll schedsvc enable_schedsvc clean
18147 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
18148 wine_fn_config_dll scrrun enable_scrrun clean
18149 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
18150 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18151 wine_fn_config_dll secur32 enable_secur32 implib
18152 wine_fn_config_test dlls
/secur32
/tests secur32_test
18153 wine_fn_config_dll security enable_security
18154 wine_fn_config_dll sensapi enable_sensapi implib
18155 wine_fn_config_dll serialui enable_serialui clean
18156 wine_fn_config_test dlls
/serialui
/tests serialui_test
18157 wine_fn_config_dll setupapi enable_setupapi clean
,implib
18158 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
18159 wine_fn_config_dll setupx.dll16 enable_win16
18160 wine_fn_config_dll sfc enable_sfc implib
18161 wine_fn_config_dll sfc_os enable_sfc_os implib
18162 wine_fn_config_dll shdoclc enable_shdoclc clean
18163 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
18164 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
18165 wine_fn_config_dll shell.dll16 enable_win16
18166 wine_fn_config_dll shell32 enable_shell32 clean
,implib
18167 wine_fn_config_test dlls
/shell32
/tests shell32_test
18168 wine_fn_config_dll shfolder enable_shfolder implib
18169 wine_fn_config_dll shlwapi enable_shlwapi clean
,implib
18170 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
18171 wine_fn_config_dll slbcsp enable_slbcsp
18172 wine_fn_config_dll slc enable_slc implib
18173 wine_fn_config_test dlls
/slc
/tests slc_test
18174 wine_fn_config_dll snmpapi enable_snmpapi implib
18175 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
18176 wine_fn_config_dll softpub enable_softpub
18177 wine_fn_config_dll sound.drv16 enable_win16
18178 wine_fn_config_dll spoolss enable_spoolss implib
18179 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
18180 wine_fn_config_dll sspicli enable_sspicli
18181 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18182 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18183 wine_fn_config_dll sti enable_sti clean
,implib
18184 wine_fn_config_test dlls
/sti
/tests sti_test
18185 wine_fn_config_dll storage.dll16 enable_win16
18186 wine_fn_config_dll stress.dll16 enable_win16
18187 wine_fn_config_lib strmbase
18188 wine_fn_config_lib strmiids
18189 wine_fn_config_dll svrapi enable_svrapi
18190 wine_fn_config_dll sxs enable_sxs implib
18191 wine_fn_config_test dlls
/sxs
/tests sxs_test
18192 wine_fn_config_dll system.drv16 enable_win16
18193 wine_fn_config_dll t2embed enable_t2embed implib
18194 wine_fn_config_test dlls
/t2embed
/tests t2embed_test
18195 wine_fn_config_dll tapi32 enable_tapi32 implib
18196 wine_fn_config_dll taskschd enable_taskschd clean
18197 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
18198 wine_fn_config_dll tdi.sys enable_tdi_sys
18199 wine_fn_config_dll toolhelp.dll16 enable_win16
18200 wine_fn_config_dll traffic enable_traffic
18201 wine_fn_config_dll twain.dll16 enable_win16
18202 wine_fn_config_dll twain_32 enable_twain_32
18203 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
18204 wine_fn_config_dll typelib.dll16 enable_win16
18205 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18206 wine_fn_config_test dlls
/ucrtbase
/tests ucrtbase_test
18207 wine_fn_config_dll unicows enable_unicows implib
18208 wine_fn_config_dll updspapi enable_updspapi
18209 wine_fn_config_dll url enable_url implib
18210 wine_fn_config_dll urlmon enable_urlmon clean
,implib
18211 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
18212 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18213 wine_fn_config_dll user.exe16 enable_win16
18214 wine_fn_config_dll user32 enable_user32 clean
,implib
18215 wine_fn_config_test dlls
/user32
/tests user32_test
18216 wine_fn_config_dll userenv enable_userenv implib
18217 wine_fn_config_test dlls
/userenv
/tests userenv_test
18218 wine_fn_config_dll usp10 enable_usp10 implib
18219 wine_fn_config_test dlls
/usp10
/tests usp10_test
18220 wine_fn_config_lib uuid
18221 wine_fn_config_dll uxtheme enable_uxtheme implib
18222 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
18223 wine_fn_config_dll vbscript enable_vbscript clean
18224 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
18225 wine_fn_config_dll vcomp enable_vcomp
18226 wine_fn_config_test dlls
/vcomp
/tests vcomp_test
18227 wine_fn_config_dll vcomp100 enable_vcomp100
18228 wine_fn_config_dll vcomp110 enable_vcomp110
18229 wine_fn_config_dll vcomp120 enable_vcomp120
18230 wine_fn_config_dll vcomp140 enable_vcomp140
18231 wine_fn_config_dll vcomp90 enable_vcomp90
18232 wine_fn_config_dll vcruntime140 enable_vcruntime140
18233 wine_fn_config_dll vdhcp.vxd enable_win16
18234 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18235 wine_fn_config_dll ver.dll16 enable_win16
18236 wine_fn_config_dll version enable_version implib
18237 wine_fn_config_test dlls
/version
/tests version_test
18238 wine_fn_config_dll vmm.vxd enable_win16
18239 wine_fn_config_dll vnbt.vxd enable_win16
18240 wine_fn_config_dll vnetbios.vxd enable_win16
18241 wine_fn_config_dll vssapi enable_vssapi
18242 wine_fn_config_dll vtdapi.vxd enable_win16
18243 wine_fn_config_dll vwin32.vxd enable_win16
18244 wine_fn_config_dll w32skrnl enable_win16
18245 wine_fn_config_dll w32sys.dll16 enable_win16
18246 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18247 wine_fn_config_test dlls
/wbemdisp
/tests wbemdisp_test
18248 wine_fn_config_dll wbemprox enable_wbemprox clean
18249 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
18250 wine_fn_config_dll webservices enable_webservices implib
18251 wine_fn_config_test dlls
/webservices
/tests webservices_test
18252 wine_fn_config_dll wer enable_wer implib
18253 wine_fn_config_test dlls
/wer
/tests wer_test
18254 wine_fn_config_dll wevtapi enable_wevtapi
18255 wine_fn_config_dll wiaservc enable_wiaservc clean
18256 wine_fn_config_test dlls
/wiaservc
/tests wiaservc_test
18257 wine_fn_config_dll wimgapi enable_wimgapi
18258 wine_fn_config_dll win32s16.dll16 enable_win16
18259 wine_fn_config_dll win87em.dll16 enable_win16
18260 wine_fn_config_dll winaspi.dll16 enable_win16
18261 wine_fn_config_dll windebug.dll16 enable_win16
18262 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
18263 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
18264 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18265 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
18266 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18267 wine_fn_config_dll winebus.sys enable_winebus_sys
18268 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18269 wine_fn_config_lib winecrt0
18270 wine_fn_config_dll wined3d enable_wined3d implib
18271 wine_fn_config_dll winegstreamer enable_winegstreamer
18272 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18273 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18274 wine_fn_config_dll winemapi enable_winemapi
18275 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18276 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18277 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18278 wine_fn_config_dll wineps16.drv16 enable_win16
18279 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18280 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18281 wine_fn_config_dll winex11.drv enable_winex11_drv
18282 wine_fn_config_dll wing.dll16 enable_win16
18283 wine_fn_config_dll wing32 enable_wing32
18284 wine_fn_config_dll winhttp enable_winhttp clean
,implib
18285 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
18286 wine_fn_config_dll wininet enable_wininet clean
,implib
18287 wine_fn_config_test dlls
/wininet
/tests wininet_test
18288 wine_fn_config_dll winmm enable_winmm clean
,implib
18289 wine_fn_config_test dlls
/winmm
/tests winmm_test
18290 wine_fn_config_dll winnls.dll16 enable_win16
18291 wine_fn_config_dll winnls32 enable_winnls32 implib
18292 wine_fn_config_dll winscard enable_winscard implib
18293 wine_fn_config_dll winsock.dll16 enable_win16
18294 wine_fn_config_dll winspool.drv enable_winspool_drv clean
,implib winspool
18295 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
18296 wine_fn_config_dll winsta enable_winsta
18297 wine_fn_config_dll wintab.dll16 enable_win16
18298 wine_fn_config_dll wintab32 enable_wintab32 implib
18299 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
18300 wine_fn_config_dll wintrust enable_wintrust implib
18301 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
18302 wine_fn_config_dll wlanapi enable_wlanapi
18303 wine_fn_config_dll wldap32 enable_wldap32 clean
,implib
18304 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
18305 wine_fn_config_dll wmasf enable_wmasf
18306 wine_fn_config_dll wmi enable_wmi
18307 wine_fn_config_dll wmiutils enable_wmiutils clean
18308 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
18309 wine_fn_config_dll wmp enable_wmp clean
18310 wine_fn_config_test dlls
/wmp
/tests wmp_test
18311 wine_fn_config_dll wmvcore enable_wmvcore
18312 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18313 wine_fn_config_dll wow32 enable_win16 implib
18314 wine_fn_config_dll wpc enable_wpc clean
18315 wine_fn_config_test dlls
/wpc
/tests wpc_test
18316 wine_fn_config_dll wpcap enable_wpcap
18317 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18318 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
18319 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18320 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
18321 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18322 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
18323 wine_fn_config_dll wsock32 enable_wsock32 implib
18324 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18325 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
18326 wine_fn_config_dll wuapi enable_wuapi clean
18327 wine_fn_config_dll wuaueng enable_wuaueng
18328 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18329 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18330 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18331 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18332 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18333 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18334 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18335 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18336 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18337 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18338 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18339 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18340 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18341 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18342 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18343 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18344 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18345 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18346 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18347 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18348 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18349 wine_fn_config_test dlls
/xaudio2_
7/tests xaudio2_7_test
18350 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18351 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18352 wine_fn_config_dll xinput1_1 enable_xinput1_1
18353 wine_fn_config_dll xinput1_2 enable_xinput1_2
18354 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18355 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
18356 wine_fn_config_dll xinput1_4 enable_xinput1_4
18357 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18358 wine_fn_config_dll xmllite enable_xmllite implib
18359 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
18360 wine_fn_config_dll xolehlp enable_xolehlp
18361 wine_fn_config_dll xpsprint enable_xpsprint
18362 wine_fn_config_dll xpssvcs enable_xpssvcs
18363 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
18364 wine_fn_config_makefile include enable_include clean
,install-dev
18365 wine_fn_config_makefile libs
/port enable_libs_port
18366 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,implib
,install-dev
,install-lib
18367 wine_fn_config_makefile libs
/wpp enable_libs_wpp
18368 wine_fn_config_makefile loader enable_loader clean
,install-lib
18369 wine_fn_config_makefile po enable_po clean
18370 wine_fn_config_program arp enable_arp
install
18371 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
18372 wine_fn_config_program attrib enable_attrib clean
,install
18373 wine_fn_config_program cabarc enable_cabarc
install
18374 wine_fn_config_program cacls enable_cacls
install
18375 wine_fn_config_program
clock enable_clock clean
,install
18376 wine_fn_config_program cmd enable_cmd clean
,install
18377 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
18378 wine_fn_config_program conhost enable_conhost
install
18379 wine_fn_config_program control enable_control
install
18380 wine_fn_config_program cscript enable_cscript clean
,install
18381 wine_fn_config_program dpnsvr enable_dpnsvr
install
18382 wine_fn_config_program dxdiag enable_dxdiag clean
,install
18383 wine_fn_config_program eject enable_eject
install
18384 wine_fn_config_program
expand enable_expand
install
18385 wine_fn_config_program explorer enable_explorer clean
,install
18386 wine_fn_config_program extrac32 enable_extrac32
install
18387 wine_fn_config_program findstr enable_findstr
install
18388 wine_fn_config_program fsutil enable_fsutil
install
18389 wine_fn_config_program hh enable_hh
install
18390 wine_fn_config_program hostname enable_hostname clean
,install
18391 wine_fn_config_program icacls enable_icacls
install
18392 wine_fn_config_program icinfo enable_icinfo
install
18393 wine_fn_config_program iexplore enable_iexplore
install
18394 wine_fn_config_program ipconfig enable_ipconfig clean
,install
18395 wine_fn_config_program lodctr enable_lodctr
install
18396 wine_fn_config_program mofcomp enable_mofcomp
install
18397 wine_fn_config_program mshta enable_mshta
install
18398 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
18399 wine_fn_config_program net enable_net clean
,install
18400 wine_fn_config_program netsh enable_netsh
install
18401 wine_fn_config_program netstat enable_netstat clean
,install
18402 wine_fn_config_program ngen enable_ngen
install
18403 wine_fn_config_program notepad enable_notepad clean
,install,installbin
,manpage
18404 wine_fn_config_program oleview enable_oleview clean
,install
18405 wine_fn_config_program
ping enable_ping
install
18406 wine_fn_config_program plugplay enable_plugplay
install
18407 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
18408 wine_fn_config_program progman enable_progman clean
,install
18409 wine_fn_config_program reg enable_reg clean
,install
18410 wine_fn_config_test programs
/reg
/tests reg.exe_test
18411 wine_fn_config_program regasm enable_regasm
install
18412 wine_fn_config_program regedit enable_regedit clean
,install,installbin
,manpage
18413 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
18414 wine_fn_config_program regsvcs enable_regsvcs
install
18415 wine_fn_config_program regsvr32 enable_regsvr32 clean
,install,installbin
,manpage
18416 wine_fn_config_program rpcss enable_rpcss clean
,install
18417 wine_fn_config_program rundll.exe16 enable_win16
install
18418 wine_fn_config_program rundll32 enable_rundll32
install
18419 wine_fn_config_program sc enable_sc
install
18420 wine_fn_config_program schtasks enable_schtasks
install
18421 wine_fn_config_program sdbinst enable_sdbinst
install
18422 wine_fn_config_program secedit enable_secedit
install
18423 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
18424 wine_fn_config_program services enable_services clean
,install
18425 wine_fn_config_test programs
/services
/tests services.exe_test
18426 wine_fn_config_program shutdown enable_shutdown
install
18427 wine_fn_config_program spoolsv enable_spoolsv
install
18428 wine_fn_config_program start enable_start clean
,install
18429 wine_fn_config_program svchost enable_svchost
install
18430 wine_fn_config_program systeminfo enable_systeminfo
install
18431 wine_fn_config_program taskkill enable_taskkill clean
,install
18432 wine_fn_config_program tasklist enable_tasklist
install
18433 wine_fn_config_program taskmgr enable_taskmgr clean
,install
18434 wine_fn_config_program termsv enable_termsv
install
18435 wine_fn_config_program uninstaller enable_uninstaller clean
,install
18436 wine_fn_config_program unlodctr enable_unlodctr
install
18437 wine_fn_config_program view enable_view clean
,install
18438 wine_fn_config_program wevtutil enable_wevtutil
install
18439 wine_fn_config_program wineboot enable_wineboot clean
,install,installbin
,manpage
18440 wine_fn_config_program winebrowser enable_winebrowser
install
18441 wine_fn_config_program winecfg enable_winecfg clean
,install,installbin
,manpage
18442 wine_fn_config_program wineconsole enable_wineconsole clean
,install,installbin
,manpage
18443 wine_fn_config_program winedbg enable_winedbg clean
,install,installbin
,manpage
18444 wine_fn_config_program winedevice enable_winedevice
install
18445 wine_fn_config_program winefile enable_winefile clean
,install,installbin
,manpage
18446 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
18447 wine_fn_config_program winemine enable_winemine clean
,install,installbin
,manpage
18448 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
18449 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
18450 wine_fn_config_program winetest enable_winetest clean
18451 wine_fn_config_program winevdm enable_win16
install
18452 wine_fn_config_program winhelp.exe16 enable_win16
install
18453 wine_fn_config_program winhlp32 enable_winhlp32 clean
,install
18454 wine_fn_config_program winoldap.mod16 enable_win16
install
18455 wine_fn_config_program winver enable_winver
install
18456 wine_fn_config_program wmic enable_wmic clean
,install
18457 wine_fn_config_program wmplayer enable_wmplayer
install
18458 wine_fn_config_program wordpad enable_wordpad clean
,install
18459 wine_fn_config_program
write enable_write clean
,install
18460 wine_fn_config_program wscript enable_wscript clean
,install
18461 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
18462 wine_fn_config_program wusa enable_wusa
install
18463 wine_fn_config_program xcopy enable_xcopy clean
,install
18464 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
18465 wine_fn_config_makefile server enable_server clean
,install-lib
18466 wine_fn_config_tool tools clean
18467 wine_fn_config_tool tools
/sfnt2fon clean
18468 wine_fn_config_tool tools
/widl clean
,install-dev
18469 wine_fn_config_tool tools
/winebuild clean
,install-dev
18470 wine_fn_config_tool tools
/winedump clean
,install-dev
18471 wine_fn_config_tool tools
/winegcc clean
,install-dev
18472 wine_fn_config_tool tools
/winemaker clean
,install-dev
18473 wine_fn_config_tool tools
/wmc clean
,install-dev
18474 wine_fn_config_tool tools
/wrc clean
,install-dev
18477 wine_fn_append_file CONFIGURE_TARGETS
"TAGS"
18478 wine_fn_append_file CONFIGURE_TARGETS
"tags"
18479 wine_fn_append_file CONFIGURE_TARGETS
"autom4te.cache"
18480 wine_fn_append_file CONFIGURE_TARGETS
"config.log"
18481 wine_fn_append_file CONFIGURE_TARGETS
"config.status"
18482 wine_fn_append_file CONFIGURE_TARGETS
"include/config.h"
18483 wine_fn_append_file CONFIGURE_TARGETS
"include/stamp-h"
18484 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS
"loader/wine"
18486 if test "x$enable_tools" != xno
18488 wine_fn_append_file CONFIGURE_TARGETS
"tools/makedep$ac_exeext"
18489 ac_config_commands
="$ac_config_commands tools/makedep"
18493 ac_config_commands
="$ac_config_commands Makefile"
18496 ac_config_files
="$ac_config_files Make.tmp:Makefile.in"
18500 if test "x$enable_maintainer_mode" = xyes
18502 wine_fn_append_rule
"configure: configure.ac aclocal.m4
18503 autoconf --warnings=all
18504 include/config.h.in: include/stamp-h.in
18505 include/stamp-h.in: configure.ac aclocal.m4
18506 autoheader --warnings=all
18507 @echo timestamp > \$@"
18510 if test "x$enable_tools" != xno
18512 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18513 @./config.status tools/makedep
18514 Makefile: tools/makedep$ac_exeext"
18516 wine_fn_append_rule
"\$(MAKEDEP):
18517 @echo \"You need to run make in $TOOLSDIR first\" && false"
18520 if test -n "$with_wine64"
18522 wine_fn_append_rule
"all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18524 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18525 $with_wine64/loader/wine:
18526 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18527 $with_wine64/loader/wine-preloader:
18528 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18530 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18532 WINELOADER_INSTALL
="wine.inf"
18534 wine_fn_append_rule
"install install-lib::
18535 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18537 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18539 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
18540 *) wine_fn_append_rule
"install install-lib::
18541 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18543 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18547 $as_echo " done" >&6
18548 cat >confcache
<<\_ACEOF
18549 # This file is a shell script that caches the results of configure
18550 # tests run on this system so they can be shared between configure
18551 # scripts and configure runs, see configure's option --config-cache.
18552 # It is not useful on other systems. If it contains results you don't
18553 # want to keep, you may remove or edit it.
18555 # config.status only pays attention to the cache file if you give it
18556 # the --recheck option to rerun configure.
18558 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18559 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18560 # following values.
18564 # The following way of writing the cache mishandles newlines in values,
18565 # but we know of no workaround that is simple, portable, and efficient.
18566 # So, we kill variables containing newlines.
18567 # Ultrix sh set writes to stderr and can't be redirected directly,
18568 # and sets the high bit in the cache file unless we assign to the vars.
18570 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18571 eval ac_val
=\$
$ac_var
18575 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18576 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18579 _ | IFS | as_nl
) ;; #(
18580 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
18581 *) { eval $ac_var=; unset $ac_var;} ;;
18587 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18588 *${as_nl}ac_space
=\
*)
18589 # `set' does not quote correctly, so add quotes: double-quote
18590 # substitution turns \\\\ into \\, and sed turns \\ into \.
18593 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18596 # `set' quotes correctly as required by POSIX, so do not add quotes.
18597 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18606 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18608 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18610 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18611 if test -w "$cache_file"; then
18612 if test "x$cache_file" != "x/dev/null"; then
18613 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18614 $as_echo "$as_me: updating cache $cache_file" >&6;}
18615 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
18616 cat confcache
>"$cache_file"
18618 case $cache_file in #(
18620 mv -f confcache
"$cache_file"$$
&&
18621 mv -f "$cache_file"$$
"$cache_file" ;; #(
18623 mv -f confcache
"$cache_file" ;;
18628 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18629 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18634 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18635 # Let make expand exec_prefix.
18636 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18638 DEFS
=-DHAVE_CONFIG_H
18643 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18644 # 1. Remove the extension, and $U if already installed.
18645 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18646 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18647 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18648 # will be set to the directory where LIBOBJS objects are built.
18649 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18650 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
18652 LIBOBJS
=$ac_libobjs
18654 LTLIBOBJS
=$ac_ltlibobjs
18658 : "${CONFIG_STATUS=./config.status}"
18660 ac_clean_files_save
=$ac_clean_files
18661 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18662 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18663 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18665 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18667 # Generated by $as_me.
18668 # Run this file to recreate the current configuration.
18669 # Compiler output produced by configure, useful for debugging
18670 # configure, is in config.log if it exists.
18673 ac_cs_recheck=false
18676 SHELL=\${CONFIG_SHELL-$SHELL}
18679 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
18680 ## -------------------- ##
18681 ## M4sh Initialization. ##
18682 ## -------------------- ##
18684 # Be more Bourne compatible
18685 DUALCASE
=1; export DUALCASE
# for MKS sh
18686 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
18689 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18690 # is contrary to our usage. Disable this feature.
18691 alias -g '${1+"$@"}'='"$@"'
18692 setopt NO_GLOB_SUBST
18694 case `(set -o) 2>/dev/null` in #(
18706 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18707 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18708 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18709 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18710 # Prefer a ksh shell builtin over an external printf program on Solaris,
18711 # but without wasting forks for bash or zsh.
18712 if test -z "$BASH_VERSION$ZSH_VERSION" \
18713 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18714 as_echo='print
-r --'
18715 as_echo_n='print
-rn --'
18716 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18717 as_echo='printf %s
\n'
18718 as_echo_n='printf %s
'
18720 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18721 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18722 as_echo_n='/usr
/ucb
/echo -n'
18724 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18725 as_echo_n_body='eval
18729 expr "X$arg" : "X\\(.*\\)$as_nl";
18730 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18732 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18734 export as_echo_n_body
18735 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18737 export as_echo_body
18738 as_echo='sh
-c $as_echo_body as_echo
'
18741 # The user is always right.
18742 if test "${PATH_SEPARATOR+set}" != set; then
18744 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18745 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18752 # We need space, tab and new line, in precisely that order. Quoting is
18753 # there to prevent editors from complaining about space-tab.
18754 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18755 # splitting by setting IFS to empty value.)
18758 # Find who we are. Look in the path if we contain no directory separator.
18761 *[\\/]* ) as_myself=$0 ;;
18762 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18763 for as_dir in $PATH
18766 test -z "$as_dir" && as_dir=.
18767 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18773 # We did not find ourselves, most probably we were run as `sh COMMAND'
18774 # in which case we are not to be found in the path.
18775 if test "x$as_myself" = x
; then
18778 if test ! -f "$as_myself"; then
18779 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18783 # Unset variables that we do not need and which cause bugs (e.g. in
18784 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18785 # suppresses any "Segmentation fault" message there. '((' could
18786 # trigger a bug in pdksh 5.2.14.
18787 for as_var
in BASH_ENV ENV MAIL MAILPATH
18788 do eval test x\
${$as_var+set} = xset \
18789 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18802 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18805 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18806 # ----------------------------------------
18807 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18808 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18809 # script with STATUS, using 1 if that was 0.
18812 as_status
=$1; test $as_status -eq 0 && as_status
=1
18814 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18815 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18817 $as_echo "$as_me: error: $2" >&2
18818 as_fn_exit
$as_status
18822 # as_fn_set_status STATUS
18823 # -----------------------
18824 # Set $? to STATUS, without forking.
18825 as_fn_set_status
()
18828 } # as_fn_set_status
18830 # as_fn_exit STATUS
18831 # -----------------
18832 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18836 as_fn_set_status
$1
18842 # Portably unset VAR.
18845 { eval $1=; unset $1;}
18847 as_unset
=as_fn_unset
18848 # as_fn_append VAR VALUE
18849 # ----------------------
18850 # Append the text in VALUE to the end of the definition contained in VAR. Take
18851 # advantage of any shell optimizations that allow amortized linear growth over
18852 # repeated appends, instead of the typical quadratic growth present in naive
18854 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18855 eval 'as_fn_append ()
18866 # as_fn_arith ARG...
18867 # ------------------
18868 # Perform arithmetic evaluation on the ARGs, and store the result in the
18869 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18870 # must be portable across $(()) and expr.
18871 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18872 eval 'as_fn_arith ()
18879 as_val
=`expr "$@" || test $? -eq 1`
18884 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18885 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18891 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18892 as_basename
=basename
18897 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18903 as_me
=`$as_basename -- "$0" ||
18904 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18905 X"$0" : 'X\(//\)$' \| \
18906 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18908 sed '/^.*\/\([^/][^/]*\)\/*$/{
18922 # Avoid depending upon Character Ranges.
18923 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18924 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18925 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18926 as_cr_digits
='0123456789'
18927 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18929 ECHO_C
= ECHO_N
= ECHO_T
=
18930 case `echo -n x` in #(((((
18932 case `echo 'xy\c'` in
18933 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18935 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18942 rm -f conf$$ conf$$.exe conf$$.
file
18943 if test -d conf$$.dir
; then
18944 rm -f conf$$.dir
/conf$$.
file
18947 mkdir conf$$.dir
2>/dev
/null
18949 if (echo >conf$$.
file) 2>/dev
/null
; then
18950 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18952 # ... but there are two gotchas:
18953 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18954 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18955 # In both cases, we have to default to `cp -pR'.
18956 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18958 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18966 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18967 rmdir conf$$.dir
2>/dev
/null
18972 # Create "$as_dir" as a directory, including parents if necessary.
18977 -*) as_dir
=.
/$as_dir;;
18979 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18983 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18984 *) as_qdir
=$as_dir;;
18986 as_dirs
="'$as_qdir' $as_dirs"
18987 as_dir
=`$as_dirname -- "$as_dir" ||
18988 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18989 X"$as_dir" : 'X\(//\)[^/]' \| \
18990 X"$as_dir" : 'X\(//\)$' \| \
18991 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18992 $as_echo X"$as_dir" |
18993 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18997 /^X\(\/\/\)[^/].*/{
19010 test -d "$as_dir" && break
19012 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
19013 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
19017 if mkdir
-p .
2>/dev
/null
; then
19018 as_mkdir_p
='mkdir -p "$as_dir"'
19020 test -d .
/-p && rmdir .
/-p
19025 # as_fn_executable_p FILE
19026 # -----------------------
19027 # Test if FILE is an executable regular file.
19028 as_fn_executable_p
()
19030 test -f "$1" && test -x "$1"
19031 } # as_fn_executable_p
19032 as_test_x
='test -x'
19033 as_executable_p
=as_fn_executable_p
19035 # Sed expression to map a string onto a valid CPP name.
19036 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19038 # Sed expression to map a string onto a valid variable name.
19039 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19043 ## ----------------------------------- ##
19044 ## Main body of $CONFIG_STATUS script. ##
19045 ## ----------------------------------- ##
19047 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
19049 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19050 # Save the log message, to keep $0 and so on meaningful, and to
19051 # report actual input values of CONFIG_FILES etc. instead of their
19052 # values after options handling.
19054 This file was extended by Wine $as_me 1.9.18, which was
19055 generated by GNU Autoconf 2.69. Invocation command line was
19057 CONFIG_FILES = $CONFIG_FILES
19058 CONFIG_HEADERS = $CONFIG_HEADERS
19059 CONFIG_LINKS = $CONFIG_LINKS
19060 CONFIG_COMMANDS = $CONFIG_COMMANDS
19063 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19068 case $ac_config_files in *"
19069 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
19072 case $ac_config_headers in *"
19073 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
19077 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19078 # Files that config.status was made for.
19079 config_files="$ac_config_files"
19080 config_headers="$ac_config_headers"
19081 config_links="$ac_config_links"
19082 config_commands="$ac_config_commands"
19086 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19088 \`$as_me' instantiates files and other configuration actions
19089 from templates according to the current configuration. Unless the files
19090 and actions are specified as TAGs, all are instantiated by default.
19092 Usage: $0 [OPTION]... [TAG]...
19094 -h, --help print this help, then exit
19095 -V, --version print version number and configuration settings, then exit
19096 --config print configuration, then exit
19097 -q, --quiet, --silent
19098 do not print progress messages
19099 -d, --debug don't remove temporary files
19100 --recheck update $as_me by reconfiguring in the same conditions
19101 --file=FILE[:TEMPLATE]
19102 instantiate the configuration file FILE
19103 --header=FILE[:TEMPLATE]
19104 instantiate the configuration header FILE
19106 Configuration files:
19109 Configuration headers:
19112 Configuration links:
19115 Configuration commands:
19118 Report bugs to <wine-devel@winehq.org>.
19119 Wine home page: <http://www.winehq.org>."
19122 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19123 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19125 Wine config.status 1.9.18
19126 configured by $0, generated by GNU Autoconf 2.69,
19127 with options \\"\$ac_cs_config\\"
19129 Copyright (C) 2012 Free Software Foundation, Inc.
19130 This config.status script is free software; the Free Software Foundation
19131 gives unlimited permission to copy, distribute and modify it."
19135 test -n "\$AWK" || AWK=awk
19138 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19139 # The default lists apply if the user does not specify any file.
19145 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19146 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
19150 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19162 # Handling of the options.
19163 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
19165 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
19166 $as_echo "$ac_cs_version"; exit ;;
19167 --config |
--confi |
--conf |
--con |
--co |
--c )
19168 $as_echo "$ac_cs_config"; exit ;;
19169 --debug |
--debu |
--deb |
--de |
--d |
-d )
19171 --file |
--fil |
--fi |
--f )
19174 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19175 '') as_fn_error $?
"missing file argument" ;;
19177 as_fn_append CONFIG_FILES
" '$ac_optarg'"
19178 ac_need_defaults
=false
;;
19179 --header |
--heade |
--head |
--hea )
19182 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19184 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
19185 ac_need_defaults
=false
;;
19187 # Conflict between --help and --header
19188 as_fn_error $?
"ambiguous option: \`$1'
19189 Try \`$0 --help' for more information.";;
19190 --help |
--hel |
-h )
19191 $as_echo "$ac_cs_usage"; exit ;;
19192 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
19193 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
19196 # This is an error.
19197 -*) as_fn_error $?
"unrecognized option: \`$1'
19198 Try \`$0 --help' for more information." ;;
19200 *) as_fn_append ac_config_targets
" $1"
19201 ac_need_defaults
=false
;;
19207 ac_configure_extra_args
=
19209 if $ac_cs_silent; then
19211 ac_configure_extra_args
="$ac_configure_extra_args --silent"
19215 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19216 if \$ac_cs_recheck; then
19217 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19219 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19220 CONFIG_SHELL='$SHELL'
19221 export CONFIG_SHELL
19226 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19230 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19231 ## Running $as_me. ##
19237 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19241 wine_fn_output_makedep ()
19243 as_dir=tools; as_fn_mkdir_p
19244 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19246 wine_fn_output_makefile ()
19248 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19249 `cat $wine_rules_file`
19251 as_fn_error $? "could not create Makefile" "$LINENO" 5
19256 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19258 # Handling of arguments.
19259 for ac_config_target
in $ac_config_targets
19261 case $ac_config_target in
19262 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
19263 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
19264 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19265 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19266 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19267 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19268 "fonts/wingding.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19269 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19270 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
19271 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19272 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
19273 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
19274 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19276 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19281 # If the user did not use the arguments to specify the items to instantiate,
19282 # then the envvar interface is used. Set only those that are not.
19283 # We use the long form for the default assignment because of an extremely
19284 # bizarre bug on SunOS 4.1.3.
19285 if $ac_need_defaults; then
19286 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
19287 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
19288 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
19289 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
19292 # Have a temporary directory for convenience. Make it in the build tree
19293 # simply because there is no reason against having it here, and in addition,
19294 # creating and moving files from /tmp can sometimes cause problems.
19295 # Hook for its removal unless debugging.
19296 # Note that there is a small window in which the directory will not be cleaned:
19297 # after its creation but before its name has been assigned to `$tmp'.
19301 trap 'exit_status=$?
19302 : "${ac_tmp:=$tmp}"
19303 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19305 trap 'as_fn_exit 1' 1 2 13 15
19307 # Create a (secure) tmp directory for tmp files.
19310 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19314 tmp
=.
/conf$$
-$RANDOM
19315 (umask 077 && mkdir
"$tmp")
19316 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
19319 # Set up the scripts for CONFIG_FILES section.
19320 # No need to generate them if there are no CONFIG_FILES.
19321 # This happens for instance with `./config.status config.h'.
19322 if test -n "$CONFIG_FILES"; then
19325 ac_cr
=`echo X | tr X '\015'`
19326 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19327 # But we know of no other shell where ac_cr would be empty at this
19328 # point, so we can use a bashism as a fallback.
19329 if test "x$ac_cr" = x
; then
19330 eval ac_cr
=\$
\'\\r
\'
19332 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19333 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19336 ac_cs_awk_cr
=$ac_cr
19339 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19344 echo "cat >conf$$subs.awk <<_ACEOF" &&
19345 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19347 } >conf$$subs.sh ||
19348 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19349 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19351 for ac_last_try in false false false false false :; do
19352 . ./conf$$subs.sh ||
19353 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19355 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
19356 if test $ac_delim_n = $ac_delim_num; then
19358 elif $ac_last_try; then
19359 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19361 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19364 rm -f conf$$subs.sh
19366 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19367 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
19371 s/^/S["/; s
/!.
*/"]=/
19381 s/\(.\{148\}\)..*/\1/
19383 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
19388 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19395 s/\(.\{148\}\)..*/\1/
19397 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
19401 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19406 ' <conf$$subs.awk | sed '
19411 ' >>$CONFIG_STATUS || ac_write_fail=1
19412 rm -f conf$$subs.awk
19413 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19415 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
19416 for (key in S) S_is_set[key] = 1
19422 nfields = split(line, field, "@
")
19424 len = length(field[1])
19425 for (i = 2; i < nfields; i++) {
19427 keylen = length(key)
19428 if (S_is_set[key]) {
19430 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19431 len += length(value) + length(field[++i])
19442 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19443 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19444 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
19447 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
19448 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
19451 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19452 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
19453 # trailing colons and then remove the whole line if VPATH becomes empty
19454 # (actually we leave an empty line to preserve line numbers).
19455 if test "x
$srcdir" = x.; then
19456 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19474 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19475 fi # test -n "$CONFIG_FILES"
19477 # Set up the scripts for CONFIG_HEADERS section.
19478 # No need to generate them if there are no CONFIG_HEADERS.
19479 # This happens for instance with `./config.status Makefile'.
19480 if test -n "$CONFIG_HEADERS"; then
19481 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
19485 # Transform confdefs.h into an awk script `defines.awk', embedded as
19486 # here-document in config.status, that substitutes the proper values into
19487 # config.h.in to produce config.h.
19489 # Create a delimiter string that does not exist in confdefs.h, to ease
19490 # handling of long lines.
19492 for ac_last_try in false false :; do
19493 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
19494 if test -z "$ac_tt"; then
19496 elif $ac_last_try; then
19497 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
19499 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19503 # For the awk script, D is an array of macro values keyed by name,
19504 # likewise P contains macro parameters if any. Preserve backslash
19505 # newline sequences.
19507 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19509 s/.\{148\}/&'"$ac_delim"'/g
19512 s/^[ ]*#[ ]*define[ ][ ]*/ /
19519 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
19521 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
19525 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
19526 D["\
1"]=" \
3\\\\\\n
"\\/p
19528 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
19533 s/.\{148\}/&'"$ac_delim"'/g
19538 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
19541 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
19543 ' <confdefs.h | sed '
19544 s/'"$ac_delim"'/"\\\
19545 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19547 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19548 for (key in D) D_is_set[key] = 1
19551 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19553 split(line, arg, " ")
19554 if (arg[1] == "#") {
19558 defundef
= substr
(arg
[1], 2)
19561 split(mac1
, mac2
, "(") #)
19563 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
19564 if (D_is_set
[macro
]) {
19565 # Preserve the white space surrounding the "#".
19566 print prefix
"define", macro P
[macro
] D
[macro
]
19569 # Replace #undef with comments. This is necessary, for example,
19570 # in the case of _POSIX_SOURCE, which is predefined and required
19571 # on some systems where configure will not decide to define it.
19572 if (defundef
== "undef") {
19573 print
"/*", prefix defundef
, macro
, "*/"
19581 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19582 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
19583 fi # test -n "$CONFIG_HEADERS"
19586 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19591 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19593 case $ac_mode$ac_tag in
19595 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
19596 :[FH
]-) ac_tag
=-:-;;
19597 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19614 -) ac_f
="$ac_tmp/stdin";;
19615 *) # Look for the file first in the build tree, then in the source tree
19616 # (if the path is not absolute). The absolute path cannot be DOS-style,
19617 # because $ac_f cannot contain `:'.
19621 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19623 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19625 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19626 as_fn_append ac_file_inputs
" '$ac_f'"
19629 # Let's still pretend it is `configure' which instantiates (i.e., don't
19630 # use $as_me), people would be surprised to read:
19631 # /* config.h. Generated by config.status. */
19632 configure_input
='Generated from '`
19633 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19635 if test x
"$ac_file" != x-
; then
19636 configure_input
="$ac_file. $configure_input"
19637 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19638 $as_echo "$as_me: creating $ac_file" >&6;}
19640 # Neutralize special characters interpreted by sed in replacement strings.
19641 case $configure_input in #(
19642 *\
&* |
*\|
* |
*\\* )
19643 ac_sed_conf_input
=`$as_echo "$configure_input" |
19644 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19645 *) ac_sed_conf_input
=$configure_input;;
19649 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
19650 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
19655 ac_dir
=`$as_dirname -- "$ac_file" ||
19656 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19657 X"$ac_file" : 'X\(//\)[^/]' \| \
19658 X"$ac_file" : 'X\(//\)$' \| \
19659 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19660 $as_echo X"$ac_file" |
19661 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19665 /^X\(\/\/\)[^/].*/{
19678 as_dir
="$ac_dir"; as_fn_mkdir_p
19682 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19684 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19685 # A ".." for each directory in $ac_dir_suffix.
19686 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19687 case $ac_top_builddir_sub in
19688 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19689 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19692 ac_abs_top_builddir
=$ac_pwd
19693 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19694 # for backward compatibility:
19695 ac_top_builddir
=$ac_top_build_prefix
19698 .
) # We are building in place.
19700 ac_top_srcdir
=$ac_top_builddir_sub
19701 ac_abs_top_srcdir
=$ac_pwd ;;
19702 [\\/]* | ?
:[\\/]* ) # Absolute name.
19703 ac_srcdir
=$srcdir$ac_dir_suffix;
19704 ac_top_srcdir
=$srcdir
19705 ac_abs_top_srcdir
=$srcdir ;;
19706 *) # Relative name.
19707 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19708 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19709 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19711 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19722 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19723 # If the template does not know about datarootdir, expand it.
19724 # FIXME: This hack should be removed a few years after 2.60.
19725 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19736 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19737 *datarootdir
*) ac_datarootdir_seen
=yes;;
19738 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19740 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19742 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19743 ac_datarootdir_hack='
19744 s&@datadir@&$datadir&g
19745 s&@docdir@&$docdir&g
19746 s&@infodir@&$infodir&g
19747 s&@localedir@&$localedir&g
19748 s&@mandir@&$mandir&g
19749 s&\\\${datarootdir}&$datarootdir&g' ;;
19753 # Neutralize VPATH when `$srcdir' = `.'.
19754 # Shell code in configure.ac might set extrasub.
19755 # FIXME: do we really want to maintain this feature?
19756 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19757 ac_sed_extra="$ac_vpsub
19760 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19762 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19763 s|@configure_input@|
$ac_sed_conf_input|
;t t
19764 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19765 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19766 s
&@srcdir@
&$ac_srcdir&;t t
19767 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19768 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19769 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19770 s
&@builddir@
&$ac_builddir&;t t
19771 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19772 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19773 $ac_datarootdir_hack
19775 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19776 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19778 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19779 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19780 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19781 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19783 which seems to be undefined. Please make sure it is defined" >&5
19784 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19785 which seems to be undefined. Please make sure it is defined" >&2;}
19787 rm -f "$ac_tmp/stdin"
19789 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19790 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19792 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19798 if test x"$ac_file" != x-; then
19800 $as_echo "/* $configure_input */" \
19801 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19802 } >"$ac_tmp/config.h" \
19803 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19804 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19805 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19806 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19809 mv "$ac_tmp/config.h" "$ac_file" \
19810 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19813 $as_echo "/* $configure_input */" \
19814 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19815 || as_fn_error $? "could not create -" "$LINENO" 5
19823 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
19826 # Prefer the file from the source tree if names are identical.
19827 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19828 ac_source=$srcdir/$ac_source
19831 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19832 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19834 if test ! -r "$ac_source"; then
19835 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19839 # Try a relative symlink, then a hard link, then a copy.
19841 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19842 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19844 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19845 ln "$ac_source" "$ac_file" 2>/dev/null ||
19846 cp -p "$ac_source" "$ac_file" ||
19847 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19850 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19851 $as_echo "$as_me: executing $ac_file commands" >&6;}
19856 case $ac_file$ac_mode in
19857 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19858 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19859 "Makefile":C) wine_fn_output_makefile Makefile ;;
19867 ac_clean_files=$ac_clean_files_save
19869 test $ac_write_fail = 0 ||
19870 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19873 # configure is writing to config.log, and then calls config.status.
19874 # config.status does its own redirection, appending to config.log.
19875 # Unfortunately, on DOS this fails, as config.log is still kept open
19876 # by configure, so config.status won't be able to
write to it
; its
19877 # output is simply discarded. So we exec the FD to /dev/null,
19878 # effectively closing config.log, so it can be properly (re)opened and
19879 # appended to by config.status. When coming back to configure, we
19880 # need to make the FD available again.
19881 if test "$no_create" != yes; then
19883 ac_config_status_args
=
19884 test "$silent" = yes &&
19885 ac_config_status_args
="$ac_config_status_args --quiet"
19887 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19889 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19890 # would make configure fail if this is the last instruction.
19891 $ac_cs_success || as_fn_exit
1
19893 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19895 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19899 if test "$no_create" = "yes"
19905 if test "x$wine_notices" != x
; then
19908 for msg
in $wine_notices; do
19910 if ${msg:+false} :; then :
19913 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19914 $as_echo "$as_me: $msg" >&6;}
19919 for msg
in $wine_warnings; do
19921 if ${msg:+false} :; then :
19925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19926 $as_echo "$as_me: WARNING: $msg" >&2;}
19932 $as_me: Finished. Do '${ac_make}' to compile Wine.