2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.34.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev
/null
; then :
207 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
212 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir
=.
219 for as_base
in sh bash ksh sh5
; do
220 # Try only shells that exist, to save several forks.
221 as_shell
=$as_dir/$as_base
222 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
224 CONFIG_SHELL
=$as_shell as_have_required
=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
235 CONFIG_SHELL
=$SHELL as_have_required
=yes
240 if test "x$CONFIG_SHELL" != x
; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x
${ZSH_VERSION+set} = xset
; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
279 SHELL
=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE
= GREP_OPTIONS
=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir
=.
/$as_dir;;
324 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
328 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs
="'$as_qdir' $as_dirs"
332 as_dir
=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
358 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p
()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
401 as_val
=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status
=$1; test $as_status -eq 0 && as_status
=1
415 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit
$as_status
422 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
429 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
441 as_me
=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits
='0123456789'
465 as_cr_alnum
=$as_cr_Letters$as_cr_digits
468 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
469 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x
"$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec
=no
; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C
= ECHO_N
= ECHO_T
=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
516 rm -f conf$$ conf$$.exe conf$$.
file
517 if test -d conf$$.dir
; then
518 rm -f conf$$.dir
/conf$$.
file
521 mkdir conf$$.dir
2>/dev
/null
523 if (echo >conf$$.
file) 2>/dev
/null
; then
524 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
532 elif ln conf$$.
file conf$$
2>/dev
/null
; then
540 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
541 rmdir conf$$.dir
2>/dev
/null
543 if mkdir
-p .
2>/dev
/null
; then
544 as_mkdir_p
='mkdir -p "$as_dir"'
546 test -d .
/-p && rmdir .
/-p
551 as_executable_p
=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix
=/usr
/local
573 ac_config_libobj_dir
=.
580 # Identity of this package.
582 PACKAGE_TARNAME
='wine'
583 PACKAGE_VERSION
='1.7.34'
584 PACKAGE_STRING
='Wine 1.7.34'
585 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
586 PACKAGE_URL
='http://www.winehq.org'
588 ac_unique_file
="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default
="\
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
602 # ifdef HAVE_STDLIB_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
625 ac_subst_vars
='LTLIBOBJS
698 APPLICATIONSERVICES_LIBS
782 program_transform_name
795 enable_option_checking
799 enable_maintainer_mode
856 enable_api_ms_win_core_com_l1_1_0
857 enable_api_ms_win_core_console_l1_1_0
858 enable_api_ms_win_core_datetime_l1_1_0
859 enable_api_ms_win_core_datetime_l1_1_1
860 enable_api_ms_win_core_debug_l1_1_1
861 enable_api_ms_win_core_errorhandling_l1_1_1
862 enable_api_ms_win_core_errorhandling_l1_1_2
863 enable_api_ms_win_core_fibers_l1_1_0
864 enable_api_ms_win_core_fibers_l1_1_1
865 enable_api_ms_win_core_file_l1_2_0
866 enable_api_ms_win_core_file_l2_1_0
867 enable_api_ms_win_core_file_l2_1_1
868 enable_api_ms_win_core_handle_l1_1_0
869 enable_api_ms_win_core_heap_l1_2_0
870 enable_api_ms_win_core_heap_obsolete_l1_1_0
871 enable_api_ms_win_core_interlocked_l1_2_0
872 enable_api_ms_win_core_io_l1_1_1
873 enable_api_ms_win_core_kernel32_legacy_l1_1_0
874 enable_api_ms_win_core_libraryloader_l1_1_1
875 enable_api_ms_win_core_localization_l1_2_0
876 enable_api_ms_win_core_localization_l1_2_1
877 enable_api_ms_win_core_localization_obsolete_l1_1_0
878 enable_api_ms_win_core_localregistry_l1_1_0
879 enable_api_ms_win_core_memory_l1_1_1
880 enable_api_ms_win_core_namedpipe_l1_2_0
881 enable_api_ms_win_core_processenvironment_l1_2_0
882 enable_api_ms_win_core_processthreads_l1_1_0
883 enable_api_ms_win_core_processthreads_l1_1_1
884 enable_api_ms_win_core_processthreads_l1_1_2
885 enable_api_ms_win_core_profile_l1_1_0
886 enable_api_ms_win_core_psapi_l1_1_0
887 enable_api_ms_win_core_registry_l1_1_0
888 enable_api_ms_win_core_rtlsupport_l1_2_0
889 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
890 enable_api_ms_win_core_string_l1_1_0
891 enable_api_ms_win_core_synch_l1_2_0
892 enable_api_ms_win_core_sysinfo_l1_2_0
893 enable_api_ms_win_core_sysinfo_l1_2_1
894 enable_api_ms_win_core_threadpool_legacy_l1_1_0
895 enable_api_ms_win_core_timezone_l1_1_0
896 enable_api_ms_win_core_url_l1_1_0
897 enable_api_ms_win_core_util_l1_1_0
898 enable_api_ms_win_core_winrt_error_l1_1_0
899 enable_api_ms_win_core_winrt_error_l1_1_1
900 enable_api_ms_win_core_winrt_l1_1_0
901 enable_api_ms_win_core_winrt_string_l1_1_0
902 enable_api_ms_win_core_xstate_l2_1_0
903 enable_api_ms_win_downlevel_advapi32_l1_1_0
904 enable_api_ms_win_downlevel_advapi32_l2_1_0
905 enable_api_ms_win_downlevel_normaliz_l1_1_0
906 enable_api_ms_win_downlevel_ole32_l1_1_0
907 enable_api_ms_win_downlevel_shell32_l1_1_0
908 enable_api_ms_win_downlevel_shlwapi_l1_1_0
909 enable_api_ms_win_downlevel_shlwapi_l2_1_0
910 enable_api_ms_win_downlevel_user32_l1_1_0
911 enable_api_ms_win_downlevel_version_l1_1_0
912 enable_api_ms_win_eventing_provider_l1_1_0
913 enable_api_ms_win_ntuser_dc_access_l1_1_0
914 enable_api_ms_win_security_base_l1_1_0
915 enable_api_ms_win_security_base_l1_2_0
916 enable_api_ms_win_security_sddl_l1_1_0
917 enable_api_ms_win_service_core_l1_1_1
918 enable_api_ms_win_service_management_l1_1_0
919 enable_api_ms_win_service_winsvc_l1_2_0
961 enable_d3dcompiler_33
962 enable_d3dcompiler_34
963 enable_d3dcompiler_35
964 enable_d3dcompiler_36
965 enable_d3dcompiler_37
966 enable_d3dcompiler_38
967 enable_d3dcompiler_39
968 enable_d3dcompiler_40
969 enable_d3dcompiler_41
970 enable_d3dcompiler_42
971 enable_d3dcompiler_43
1046 enable_explorerframe
1047 enable_ext_ms_win_gdi_devcaps_l1_1_0
1201 enable_photometadatahandler
1283 enable_windowscodecs
1284 enable_windowscodecsext
1286 enable_winecoreaudio_drv
1288 enable_winegstreamer
1289 enable_winejoystick_drv
1295 enable_wineqtdecoder
1334 enable_documentation
1342 enable_aspnet_regiis
1375 enable_presentationfontcache
1388 enable_servicemodelreg
1409 enable_winemenubuilder
1411 enable_winemsibuilder
1425 ac_precious_vars
='build_alias
1474 # Initialize some variables set by options.
1476 ac_init_version
=false
1477 ac_unrecognized_opts
=
1478 ac_unrecognized_sep
=
1479 # The variables have the same names as the options, with
1480 # dashes changed to underlines.
1481 cache_file
=/dev
/null
1488 program_transform_name
=s
,x
,x
,
1496 # Installation directory options.
1497 # These are left unexpanded so users can "make install exec_prefix=/foo"
1498 # and all the variables that are supposed to be based on exec_prefix
1499 # by default will actually change.
1500 # Use braces instead of parens because sh, perl, etc. also accept them.
1501 # (The list follows the same order as the GNU Coding Standards.)
1502 bindir
='${exec_prefix}/bin'
1503 sbindir
='${exec_prefix}/sbin'
1504 libexecdir
='${exec_prefix}/libexec'
1505 datarootdir
='${prefix}/share'
1506 datadir
='${datarootdir}'
1507 sysconfdir
='${prefix}/etc'
1508 sharedstatedir
='${prefix}/com'
1509 localstatedir
='${prefix}/var'
1510 includedir
='${prefix}/include'
1511 oldincludedir
='/usr/include'
1512 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1513 infodir
='${datarootdir}/info'
1518 libdir
='${exec_prefix}/lib'
1519 localedir
='${datarootdir}/locale'
1520 mandir
='${datarootdir}/man'
1526 # If the previous option needs an argument, assign it.
1527 if test -n "$ac_prev"; then
1528 eval $ac_prev=\
$ac_option
1534 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1539 # Accept the important Cygnus configure options, so we can diagnose typos.
1541 case $ac_dashdash$ac_option in
1545 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1547 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1548 bindir
=$ac_optarg ;;
1550 -build |
--build |
--buil |
--bui |
--bu)
1551 ac_prev
=build_alias
;;
1552 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1553 build_alias
=$ac_optarg ;;
1555 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1556 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1557 ac_prev
=cache_file
;;
1558 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1559 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1560 cache_file
=$ac_optarg ;;
1562 --config-cache |
-C)
1563 cache_file
=config.cache
;;
1565 -datadir |
--datadir |
--datadi |
--datad)
1567 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1568 datadir
=$ac_optarg ;;
1570 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1571 |
--dataroo |
--dataro |
--datar)
1572 ac_prev
=datarootdir
;;
1573 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1574 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1575 datarootdir
=$ac_optarg ;;
1577 -disable-* |
--disable-*)
1578 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1579 # Reject names that are not valid shell variable names.
1580 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1581 as_fn_error $?
"invalid feature name: $ac_useropt"
1582 ac_useropt_orig
=$ac_useropt
1583 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1584 case $ac_user_opts in
1586 "enable_
$ac_useropt"
1588 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1589 ac_unrecognized_sep
=', ';;
1591 eval enable_
$ac_useropt=no
;;
1593 -docdir |
--docdir |
--docdi |
--doc |
--do)
1595 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1596 docdir
=$ac_optarg ;;
1598 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1600 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1601 dvidir
=$ac_optarg ;;
1603 -enable-* |
--enable-*)
1604 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1605 # Reject names that are not valid shell variable names.
1606 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1607 as_fn_error $?
"invalid feature name: $ac_useropt"
1608 ac_useropt_orig
=$ac_useropt
1609 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1610 case $ac_user_opts in
1612 "enable_
$ac_useropt"
1614 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1615 ac_unrecognized_sep
=', ';;
1617 eval enable_
$ac_useropt=\
$ac_optarg ;;
1619 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1620 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1621 |
--exec |
--exe |
--ex)
1622 ac_prev
=exec_prefix
;;
1623 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1624 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1625 |
--exec=* |
--exe=* |
--ex=*)
1626 exec_prefix
=$ac_optarg ;;
1628 -gas |
--gas |
--ga |
--g)
1629 # Obsolete; use --with-gas.
1632 -help |
--help |
--hel |
--he |
-h)
1633 ac_init_help
=long
;;
1634 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1635 ac_init_help
=recursive
;;
1636 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1637 ac_init_help
=short
;;
1639 -host |
--host |
--hos |
--ho)
1640 ac_prev
=host_alias
;;
1641 -host=* |
--host=* |
--hos=* |
--ho=*)
1642 host_alias
=$ac_optarg ;;
1644 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1646 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1648 htmldir
=$ac_optarg ;;
1650 -includedir |
--includedir |
--includedi |
--included |
--include \
1651 |
--includ |
--inclu |
--incl |
--inc)
1652 ac_prev
=includedir
;;
1653 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1654 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1655 includedir
=$ac_optarg ;;
1657 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1659 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1660 infodir
=$ac_optarg ;;
1662 -libdir |
--libdir |
--libdi |
--libd)
1664 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1665 libdir
=$ac_optarg ;;
1667 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1668 |
--libexe |
--libex |
--libe)
1669 ac_prev
=libexecdir
;;
1670 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1671 |
--libexe=* |
--libex=* |
--libe=*)
1672 libexecdir
=$ac_optarg ;;
1674 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1675 ac_prev
=localedir
;;
1676 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1677 localedir
=$ac_optarg ;;
1679 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1680 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1681 ac_prev
=localstatedir
;;
1682 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1683 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1684 localstatedir
=$ac_optarg ;;
1686 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1688 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1689 mandir
=$ac_optarg ;;
1691 -nfp |
--nfp |
--nf)
1692 # Obsolete; use --without-fp.
1695 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1696 |
--no-cr |
--no-c |
-n)
1699 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1700 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1703 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1704 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1705 |
--oldin |
--oldi |
--old |
--ol |
--o)
1706 ac_prev
=oldincludedir
;;
1707 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1708 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1709 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1710 oldincludedir
=$ac_optarg ;;
1712 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1714 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1715 prefix
=$ac_optarg ;;
1717 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1718 |
--program-pre |
--program-pr |
--program-p)
1719 ac_prev
=program_prefix
;;
1720 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1721 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1722 program_prefix
=$ac_optarg ;;
1724 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1725 |
--program-suf |
--program-su |
--program-s)
1726 ac_prev
=program_suffix
;;
1727 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1728 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1729 program_suffix
=$ac_optarg ;;
1731 -program-transform-name |
--program-transform-name \
1732 |
--program-transform-nam |
--program-transform-na \
1733 |
--program-transform-n |
--program-transform- \
1734 |
--program-transform |
--program-transfor \
1735 |
--program-transfo |
--program-transf \
1736 |
--program-trans |
--program-tran \
1737 |
--progr-tra |
--program-tr |
--program-t)
1738 ac_prev
=program_transform_name
;;
1739 -program-transform-name=* |
--program-transform-name=* \
1740 |
--program-transform-nam=* |
--program-transform-na=* \
1741 |
--program-transform-n=* |
--program-transform-=* \
1742 |
--program-transform=* |
--program-transfor=* \
1743 |
--program-transfo=* |
--program-transf=* \
1744 |
--program-trans=* |
--program-tran=* \
1745 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1746 program_transform_name
=$ac_optarg ;;
1748 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1750 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1751 pdfdir
=$ac_optarg ;;
1753 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1755 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1758 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1759 |
-silent |
--silent |
--silen |
--sile |
--sil)
1762 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1764 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1766 sbindir
=$ac_optarg ;;
1768 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1769 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1770 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1772 ac_prev
=sharedstatedir
;;
1773 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1774 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1775 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1777 sharedstatedir
=$ac_optarg ;;
1779 -site |
--site |
--sit)
1781 -site=* |
--site=* |
--sit=*)
1784 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1786 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1787 srcdir
=$ac_optarg ;;
1789 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1790 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1791 ac_prev
=sysconfdir
;;
1792 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1793 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1794 sysconfdir
=$ac_optarg ;;
1796 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1797 ac_prev
=target_alias
;;
1798 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1799 target_alias
=$ac_optarg ;;
1801 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1804 -version |
--version |
--versio |
--versi |
--vers |
-V)
1805 ac_init_version
=: ;;
1808 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1809 # Reject names that are not valid shell variable names.
1810 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1811 as_fn_error $?
"invalid package name: $ac_useropt"
1812 ac_useropt_orig
=$ac_useropt
1813 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1814 case $ac_user_opts in
1818 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1819 ac_unrecognized_sep
=', ';;
1821 eval with_
$ac_useropt=\
$ac_optarg ;;
1823 -without-* |
--without-*)
1824 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1825 # Reject names that are not valid shell variable names.
1826 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1827 as_fn_error $?
"invalid package name: $ac_useropt"
1828 ac_useropt_orig
=$ac_useropt
1829 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1830 case $ac_user_opts in
1834 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1835 ac_unrecognized_sep
=', ';;
1837 eval with_
$ac_useropt=no
;;
1840 # Obsolete; use --with-x.
1843 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1844 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1845 ac_prev
=x_includes
;;
1846 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1847 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1848 x_includes
=$ac_optarg ;;
1850 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1851 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1852 ac_prev
=x_libraries
;;
1853 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1854 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1855 x_libraries
=$ac_optarg ;;
1857 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1858 Try \`$0 --help' for more information"
1862 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1863 # Reject names that are not valid shell variable names.
1864 case $ac_envvar in #(
1865 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1866 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1868 eval $ac_envvar=\
$ac_optarg
1869 export $ac_envvar ;;
1872 # FIXME: should be removed in autoconf 3.0.
1873 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1874 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1875 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1876 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1882 if test -n "$ac_prev"; then
1883 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1884 as_fn_error $?
"missing argument to $ac_option"
1887 if test -n "$ac_unrecognized_opts"; then
1888 case $enable_option_checking in
1890 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1891 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1895 # Check all directory arguments for consistency.
1896 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1897 datadir sysconfdir sharedstatedir localstatedir includedir \
1898 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1899 libdir localedir mandir
1901 eval ac_val
=\$
$ac_var
1902 # Remove trailing slashes.
1905 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1906 eval $ac_var=\
$ac_val;;
1908 # Be sure to have absolute directory names.
1910 [\\/$
]* | ?
:[\\/]* ) continue;;
1911 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1913 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1916 # There might be people who depend on the old broken behavior: `$host'
1917 # used to hold the argument of --host etc.
1918 # FIXME: To remove some day.
1921 target
=$target_alias
1923 # FIXME: To remove some day.
1924 if test "x$host_alias" != x
; then
1925 if test "x$build_alias" = x
; then
1926 cross_compiling
=maybe
1927 elif test "x$build_alias" != "x$host_alias"; then
1933 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1935 test "$silent" = yes && exec 6>/dev
/null
1938 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1939 ac_ls_di
=`ls -di .` &&
1940 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1941 as_fn_error $?
"working directory cannot be determined"
1942 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1943 as_fn_error $?
"pwd does not report name of working directory"
1946 # Find the source files, if location was not specified.
1947 if test -z "$srcdir"; then
1948 ac_srcdir_defaulted
=yes
1949 # Try the directory containing this script, then the parent directory.
1950 ac_confdir
=`$as_dirname -- "$as_myself" ||
1951 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1952 X"$as_myself" : 'X\(//\)[^/]' \| \
1953 X"$as_myself" : 'X\(//\)$' \| \
1954 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1955 $as_echo X"$as_myself" |
1956 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1974 if test ! -r "$srcdir/$ac_unique_file"; then
1978 ac_srcdir_defaulted
=no
1980 if test ! -r "$srcdir/$ac_unique_file"; then
1981 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1982 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1984 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1986 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1988 # When building in place, set srcdir=.
1989 if test "$ac_abs_confdir" = "$ac_pwd"; then
1992 # Remove unnecessary trailing slashes from srcdir.
1993 # Double slashes in file names in object file debugging info
1994 # mess up M-x gdb in Emacs.
1996 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1998 for ac_var
in $ac_precious_vars; do
1999 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2000 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2001 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2002 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2006 # Report the --help message.
2008 if test "$ac_init_help" = "long"; then
2009 # Omit some internal or obsolete options to make the list less imposing.
2010 # This message is too long to be a string in the A/UX 3.1 sh.
2012 \`configure' configures Wine 1.7.34 to adapt to many kinds of systems.
2014 Usage: $0 [OPTION]... [VAR=VALUE]...
2016 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2017 VAR=VALUE. See below for descriptions of some of the useful variables.
2019 Defaults for the options are specified in brackets.
2022 -h, --help display this help and exit
2023 --help=short display options specific to this package
2024 --help=recursive display the short help of all the included packages
2025 -V, --version display version information and exit
2026 -q, --quiet, --silent do not print \`checking ...' messages
2027 --cache-file=FILE cache test results in FILE [disabled]
2028 -C, --config-cache alias for \`--cache-file=config.cache'
2029 -n, --no-create do not create output files
2030 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2032 Installation directories:
2033 --prefix=PREFIX install architecture-independent files in PREFIX
2034 [$ac_default_prefix]
2035 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2038 By default, \`make install' will install all the files in
2039 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2040 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2041 for instance \`--prefix=\$HOME'.
2043 For better control, use the options below.
2045 Fine tuning of the installation directories:
2046 --bindir=DIR user executables [EPREFIX/bin]
2047 --sbindir=DIR system admin executables [EPREFIX/sbin]
2048 --libexecdir=DIR program executables [EPREFIX/libexec]
2049 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2050 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2051 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2052 --libdir=DIR object code libraries [EPREFIX/lib]
2053 --includedir=DIR C header files [PREFIX/include]
2054 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2055 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2056 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2057 --infodir=DIR info documentation [DATAROOTDIR/info]
2058 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2059 --mandir=DIR man documentation [DATAROOTDIR/man]
2060 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2061 --htmldir=DIR html documentation [DOCDIR]
2062 --dvidir=DIR dvi documentation [DOCDIR]
2063 --pdfdir=DIR pdf documentation [DOCDIR]
2064 --psdir=DIR ps documentation [DOCDIR]
2070 --x-includes=DIR X include files are
in DIR
2071 --x-libraries=DIR X library files are
in DIR
2074 --build=BUILD configure
for building on BUILD
[guessed
]
2075 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2079 if test -n "$ac_init_help"; then
2080 case $ac_init_help in
2081 short | recursive
) echo "Configuration of Wine 1.7.34:";;
2086 --disable-option-checking ignore unrecognized
--enable/--with options
2087 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2088 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2089 --disable-win16 do not include Win16 support
2090 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2092 --disable-tests do not build the regression tests
2093 --enable-maintainer-mode
2094 enable maintainer-specific build rules
2095 --disable-largefile omit support for large files
2098 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2099 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2100 --without-alsa do not use the Alsa sound support
2101 --without-capi do not use CAPI (ISDN support)
2102 --without-cms do not use CMS (color management support)
2103 --without-coreaudio do not use the CoreAudio sound support
2104 --without-cups do not use CUPS
2105 --without-curses do not use (n)curses
2106 --without-dbus do not use DBus (dynamic device support)
2107 --without-fontconfig do not use fontconfig
2108 --without-freetype do not use the FreeType library
2109 --without-gettext do not use gettext
2110 --with-gettextpo use the GetTextPO library to rebuild po files
2111 --without-gphoto do not use gphoto (Digital Camera support)
2112 --without-glu do not use the GLU library
2113 --without-gnutls do not use GnuTLS (schannel support)
2114 --without-gsm do not use libgsm (GSM 06.10 codec support)
2115 --without-gstreamer do not use GStreamer (codecs support)
2116 --without-hal do not use HAL (dynamic device support)
2117 --without-jpeg do not use JPEG
2118 --without-ldap do not use LDAP
2119 --without-mpg123 do not use the mpg123 library
2120 --without-netapi do not use the Samba NetAPI library
2121 --without-openal do not use OpenAL
2122 --without-opencl do not use OpenCL
2123 --without-opengl do not use OpenGL
2124 --without-osmesa do not use the OSMesa library
2125 --without-oss do not use the OSS sound support
2126 --without-pcap do not use the Packet Capture library
2127 --without-png do not use PNG
2128 --without-pthread do not use the pthread library
2129 --without-sane do not use SANE (scanner support)
2130 --without-tiff do not use TIFF
2131 --without-v4l do not use v4l1 (v4l support)
2132 --without-xcomposite do not use the Xcomposite extension
2133 --without-xcursor do not use the Xcursor extension
2134 --without-xinerama do not use Xinerama (multi-monitor support)
2135 --without-xinput do not use the Xinput extension
2136 --without-xinput2 do not use the Xinput 2 extension
2137 --without-xml do not use XML
2138 --without-xrandr do not use Xrandr (resolution changes)
2139 --without-xrender do not use the Xrender extension
2140 --without-xshape do not use the Xshape extension
2141 --without-xshm do not use XShm (shared memory extension)
2142 --without-xslt do not use XSLT
2143 --without-xxf86vm do not use XFree video mode extension
2144 --without-zlib do not use Zlib (data compression)
2145 --with-wine-tools=DIR use Wine tools from directory DIR
2146 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2147 --with-x use the X Window System
2149 Some influential environment variables:
2150 CC C compiler command
2151 CFLAGS C compiler flags
2152 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2153 nonstandard directory <lib dir>
2154 LIBS libraries to pass to the linker, e.g. -l<library>
2155 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2156 you have headers in a nonstandard directory <include dir>
2157 CXX C++ compiler command
2158 CXXFLAGS C++ compiler flags
2160 XMKMF Path to xmkmf, Makefile generator for X Window System
2161 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2162 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2163 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2164 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2165 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2166 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2167 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2168 HAL_LIBS Linker flags for hal, overriding pkg-config
2170 C compiler flags for gnutls, overriding pkg-config
2171 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2172 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2173 SANE_LIBS Linker flags for libsane, overriding pkg-config
2175 C compiler flags for libgphoto2, overriding pkg-config
2177 Linker flags for libgphoto2, overriding pkg-config
2179 C compiler flags for libgphoto2_port, overriding pkg-config
2181 Linker flags for libgphoto2_port, overriding pkg-config
2183 C compiler flags for lcms2, overriding pkg-config
2184 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2186 C compiler flags for freetype2, overriding pkg-config
2188 Linker flags for freetype2, overriding pkg-config
2190 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2192 Linker flags for gstreamer-app-0.10, overriding pkg-config
2194 C compiler flags for capi20, overriding pkg-config
2195 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2197 C compiler flags for fontconfig, overriding pkg-config
2199 Linker flags for fontconfig, overriding pkg-config
2200 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2201 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2202 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2203 PNG_LIBS Linker flags for libpng, overriding pkg-config
2204 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2205 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2207 C compiler flags for libmpg123, overriding pkg-config
2208 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2210 Use these variables to override the choices made by `configure' or to
help
2211 it to
find libraries and programs with nonstandard names
/locations.
2213 Report bugs to
<wine-devel@winehq.org
>.
2214 Wine home page
: <http
://www.winehq.org
>.
2219 if test "$ac_init_help" = "recursive"; then
2220 # If there are subdirs, report their specific --help.
2221 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2222 test -d "$ac_dir" ||
2223 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2228 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2230 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2231 # A ".." for each directory in $ac_dir_suffix.
2232 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2233 case $ac_top_builddir_sub in
2234 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2235 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2238 ac_abs_top_builddir
=$ac_pwd
2239 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2240 # for backward compatibility:
2241 ac_top_builddir
=$ac_top_build_prefix
2244 .
) # We are building in place.
2246 ac_top_srcdir
=$ac_top_builddir_sub
2247 ac_abs_top_srcdir
=$ac_pwd ;;
2248 [\\/]* | ?
:[\\/]* ) # Absolute name.
2249 ac_srcdir
=$srcdir$ac_dir_suffix;
2250 ac_top_srcdir
=$srcdir
2251 ac_abs_top_srcdir
=$srcdir ;;
2253 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2254 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2255 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2257 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2259 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2260 # Check for guested configure.
2261 if test -f "$ac_srcdir/configure.gnu"; then
2263 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2264 elif test -f "$ac_srcdir/configure"; then
2266 $SHELL "$ac_srcdir/configure" --help=recursive
2268 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2270 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2274 test -n "$ac_init_help" && exit $ac_status
2275 if $ac_init_version; then
2277 Wine configure
1.7.34
2278 generated by GNU Autoconf
2.69
2280 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2281 This configure
script is free software
; the Free Software Foundation
2282 gives unlimited permission to copy
, distribute and modify it.
2287 ## ------------------------ ##
2288 ## Autoconf initialization. ##
2289 ## ------------------------ ##
2291 # ac_fn_c_try_compile LINENO
2292 # --------------------------
2293 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2294 ac_fn_c_try_compile
()
2296 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2297 rm -f conftest.
$ac_objext
2298 if { { ac_try
="$ac_compile"
2300 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2301 *) ac_try_echo=$ac_try;;
2303 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2304 $as_echo "$ac_try_echo"; } >&5
2305 (eval "$ac_compile") 2>conftest.err
2307 if test -s conftest.err; then
2308 grep -v '^ *+' conftest.err >conftest.er1
2309 cat conftest.er1 >&5
2310 mv -f conftest.er1 conftest.err
2312 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2313 test $ac_status = 0; } && {
2314 test -z "$ac_c_werror_flag" ||
2315 test ! -s conftest.err
2316 } && test -s conftest.$ac_objext; then :
2319 $as_echo "$as_me: failed program was:" >&5
2320 sed 's/^/| /' conftest.$ac_ext >&5
2324 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2325 as_fn_set_status $ac_retval
2327 } # ac_fn_c_try_compile
2329 # ac_fn_cxx_try_compile LINENO
2330 # ----------------------------
2331 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2332 ac_fn_cxx_try_compile ()
2334 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2335 rm -f conftest.$ac_objext
2336 if { { ac_try="$ac_compile"
2338 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2339 *) ac_try_echo
=$ac_try;;
2341 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2342 $as_echo "$ac_try_echo"; } >&5
2343 (eval "$ac_compile") 2>conftest.err
2345 if test -s conftest.err
; then
2346 grep -v '^ *+' conftest.err
>conftest.er1
2347 cat conftest.er1
>&5
2348 mv -f conftest.er1 conftest.err
2350 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2351 test $ac_status = 0; } && {
2352 test -z "$ac_cxx_werror_flag" ||
2353 test ! -s conftest.err
2354 } && test -s conftest.
$ac_objext; then :
2357 $as_echo "$as_me: failed program was:" >&5
2358 sed 's/^/| /' conftest.
$ac_ext >&5
2362 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2363 as_fn_set_status
$ac_retval
2365 } # ac_fn_cxx_try_compile
2367 # ac_fn_c_try_link LINENO
2368 # -----------------------
2369 # Try to link conftest.$ac_ext, and return whether this succeeded.
2372 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2373 rm -f conftest.
$ac_objext conftest
$ac_exeext
2374 if { { ac_try
="$ac_link"
2376 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2377 *) ac_try_echo=$ac_try;;
2379 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2380 $as_echo "$ac_try_echo"; } >&5
2381 (eval "$ac_link") 2>conftest.err
2383 if test -s conftest.err; then
2384 grep -v '^ *+' conftest.err >conftest.er1
2385 cat conftest.er1 >&5
2386 mv -f conftest.er1 conftest.err
2388 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2389 test $ac_status = 0; } && {
2390 test -z "$ac_c_werror_flag" ||
2391 test ! -s conftest.err
2392 } && test -s conftest$ac_exeext && {
2393 test "$cross_compiling" = yes ||
2394 test -x conftest$ac_exeext
2398 $as_echo "$as_me: failed program was:" >&5
2399 sed 's/^/| /' conftest.$ac_ext >&5
2403 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2404 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2405 # interfere with the next link command; also delete a directory that is
2406 # left behind by Apple's compiler. We do this before executing the actions.
2407 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2408 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2409 as_fn_set_status $ac_retval
2411 } # ac_fn_c_try_link
2413 # ac_fn_c_try_cpp LINENO
2414 # ----------------------
2415 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2418 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2419 if { { ac_try="$ac_cpp conftest.$ac_ext"
2421 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2422 *) ac_try_echo
=$ac_try;;
2424 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2425 $as_echo "$ac_try_echo"; } >&5
2426 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2428 if test -s conftest.err
; then
2429 grep -v '^ *+' conftest.err
>conftest.er1
2430 cat conftest.er1
>&5
2431 mv -f conftest.er1 conftest.err
2433 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2434 test $ac_status = 0; } > conftest.i
&& {
2435 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2436 test ! -s conftest.err
2440 $as_echo "$as_me: failed program was:" >&5
2441 sed 's/^/| /' conftest.
$ac_ext >&5
2445 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2446 as_fn_set_status
$ac_retval
2450 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2451 # -------------------------------------------------------
2452 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2453 # the include files in INCLUDES and setting the cache variable VAR
2455 ac_fn_c_check_header_mongrel
()
2457 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2458 if eval \
${$3+:} false
; then :
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2460 $as_echo_n "checking for $2... " >&6; }
2461 if eval \
${$3+:} false
; then :
2462 $as_echo_n "(cached) " >&6
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2466 $as_echo "$ac_res" >&6; }
2468 # Is the header compilable?
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2470 $as_echo_n "checking $2 usability... " >&6; }
2471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2472 /* end confdefs.h. */
2476 if ac_fn_c_try_compile
"$LINENO"; then :
2477 ac_header_compiler
=yes
2479 ac_header_compiler
=no
2481 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2483 $as_echo "$ac_header_compiler" >&6; }
2485 # Is the header present?
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2487 $as_echo_n "checking $2 presence... " >&6; }
2488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2489 /* end confdefs.h. */
2492 if ac_fn_c_try_cpp
"$LINENO"; then :
2493 ac_header_preproc
=yes
2495 ac_header_preproc
=no
2497 rm -f conftest.err conftest.i conftest.
$ac_ext
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2499 $as_echo "$ac_header_preproc" >&6; }
2501 # So? What about this header?
2502 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2505 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2507 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2511 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2513 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2515 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2517 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2519 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2520 ( $as_echo "## ------------------------------------ ##
2521 ## Report this to wine-devel@winehq.org ##
2522 ## ------------------------------------ ##"
2523 ) |
sed "s/^/$as_me: WARNING: /" >&2
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2527 $as_echo_n "checking for $2... " >&6; }
2528 if eval \
${$3+:} false
; then :
2529 $as_echo_n "(cached) " >&6
2531 eval "$3=\$ac_header_compiler"
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2535 $as_echo "$ac_res" >&6; }
2537 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2539 } # ac_fn_c_check_header_mongrel
2541 # ac_fn_c_try_run LINENO
2542 # ----------------------
2543 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2544 # that executables *can* be run.
2547 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2548 if { { ac_try
="$ac_link"
2550 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2551 *) ac_try_echo=$ac_try;;
2553 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2554 $as_echo "$ac_try_echo"; } >&5
2555 (eval "$ac_link") 2>&5
2557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2558 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2559 { { case "(($ac_try" in
2560 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2561 *) ac_try_echo
=$ac_try;;
2563 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2564 $as_echo "$ac_try_echo"; } >&5
2565 (eval "$ac_try") 2>&5
2567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2568 test $ac_status = 0; }; }; then :
2571 $as_echo "$as_me: program exited with status $ac_status" >&5
2572 $as_echo "$as_me: failed program was:" >&5
2573 sed 's/^/| /' conftest.
$ac_ext >&5
2575 ac_retval
=$ac_status
2577 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2578 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2579 as_fn_set_status
$ac_retval
2583 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2584 # -------------------------------------------------------
2585 # Tests whether HEADER exists and can be compiled using the include files in
2586 # INCLUDES, setting the cache variable VAR accordingly.
2587 ac_fn_c_check_header_compile
()
2589 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2591 $as_echo_n "checking for $2... " >&6; }
2592 if eval \
${$3+:} false
; then :
2593 $as_echo_n "(cached) " >&6
2595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2596 /* end confdefs.h. */
2600 if ac_fn_c_try_compile
"$LINENO"; then :
2605 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2609 $as_echo "$ac_res" >&6; }
2610 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2612 } # ac_fn_c_check_header_compile
2614 # ac_fn_c_check_func LINENO FUNC VAR
2615 # ----------------------------------
2616 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2617 ac_fn_c_check_func
()
2619 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2621 $as_echo_n "checking for $2... " >&6; }
2622 if eval \
${$3+:} false
; then :
2623 $as_echo_n "(cached) " >&6
2625 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2626 /* end confdefs.h. */
2627 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2629 #define $2 innocuous_$2
2631 /* System header to define __stub macros and hopefully few prototypes,
2632 which can conflict with char $2 (); below.
2633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2634 <limits.h> exists even on freestanding compilers. */
2637 # include <limits.h>
2639 # include <assert.h>
2644 /* Override any GCC internal prototype to avoid an error.
2645 Use char because int might match the return type of a GCC
2646 builtin and then its argument prototype would still apply. */
2651 /* The GNU C library defines this for functions which it implements
2652 to always fail with ENOSYS. Some functions are actually named
2653 something starting with __ and the normal name is an alias. */
2654 #if defined __stub_$2 || defined __stub___$2
2666 if ac_fn_c_try_link
"$LINENO"; then :
2671 rm -f core conftest.err conftest.
$ac_objext \
2672 conftest
$ac_exeext conftest.
$ac_ext
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2676 $as_echo "$ac_res" >&6; }
2677 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2679 } # ac_fn_c_check_func
2681 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2682 # ----------------------------------------------------
2683 # Tries to find if the field MEMBER exists in type AGGR, after including
2684 # INCLUDES, setting cache variable VAR accordingly.
2685 ac_fn_c_check_member
()
2687 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2689 $as_echo_n "checking for $2.$3... " >&6; }
2690 if eval \
${$4+:} false
; then :
2691 $as_echo_n "(cached) " >&6
2693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2694 /* end confdefs.h. */
2706 if ac_fn_c_try_compile
"$LINENO"; then :
2709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2710 /* end confdefs.h. */
2716 if (sizeof ac_aggr.$3)
2722 if ac_fn_c_try_compile
"$LINENO"; then :
2727 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2729 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2733 $as_echo "$ac_res" >&6; }
2734 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2736 } # ac_fn_c_check_member
2738 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2739 # -------------------------------------------
2740 # Tests whether TYPE exists after having included INCLUDES, setting cache
2741 # variable VAR accordingly.
2742 ac_fn_c_check_type
()
2744 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2746 $as_echo_n "checking for $2... " >&6; }
2747 if eval \
${$3+:} false
; then :
2748 $as_echo_n "(cached) " >&6
2751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2752 /* end confdefs.h. */
2763 if ac_fn_c_try_compile
"$LINENO"; then :
2764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2765 /* end confdefs.h. */
2776 if ac_fn_c_try_compile
"$LINENO"; then :
2781 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2783 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2787 $as_echo "$ac_res" >&6; }
2788 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2790 } # ac_fn_c_check_type
2791 cat >config.log
<<_ACEOF
2792 This file contains any messages produced by compilers while
2793 running configure, to aid debugging if configure makes a mistake.
2795 It was created by Wine $as_me 1.7.34, which was
2796 generated by GNU Autoconf 2.69. Invocation command line was
2808 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2809 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2810 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2811 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2812 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2814 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2815 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2817 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2818 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2819 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2820 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2821 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2822 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2823 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2827 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2831 test -z "$as_dir" && as_dir
=.
2832 $as_echo "PATH: $as_dir"
2848 # Keep a trace of the command line.
2849 # Strip out --no-create and --no-recursion so they do not pile up.
2850 # Strip out --silent because we don't want to record it for future runs.
2851 # Also quote any args containing shell meta-characters.
2852 # Make two passes to allow for proper duplicate-argument suppression.
2856 ac_must_keep_next
=false
2862 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2863 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2864 |
-silent |
--silent |
--silen |
--sile |
--sil)
2867 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2870 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2872 as_fn_append ac_configure_args1
" '$ac_arg'"
2873 if test $ac_must_keep_next = true
; then
2874 ac_must_keep_next
=false
# Got value, back to normal.
2877 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2878 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2879 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2880 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2881 case "$ac_configure_args0 " in
2882 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2885 -* ) ac_must_keep_next
=true
;;
2888 as_fn_append ac_configure_args
" '$ac_arg'"
2893 { ac_configure_args0
=; unset ac_configure_args0
;}
2894 { ac_configure_args1
=; unset ac_configure_args1
;}
2896 # When interrupted or exit'd, cleanup temporary files, and complete
2897 # config.log. We remove comments because anyway the quotes in there
2898 # would cause problems or look ugly.
2899 # WARNING: Use '\'' to represent an apostrophe within the trap.
2900 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2901 trap 'exit_status=$?
2902 # Save into config.log some information that might help in debugging.
2906 $as_echo "## ---------------- ##
2907 ## Cache variables. ##
2908 ## ---------------- ##"
2910 # The following way of writing the cache mishandles newlines in values,
2912 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2913 eval ac_val=\$$ac_var
2917 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2918 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2921 _ | IFS | as_nl) ;; #(
2922 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2923 *) { eval $ac_var=; unset $ac_var;} ;;
2928 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2929 *${as_nl}ac_space=\ *)
2931 "s/'\''/'\''\\\\'\'''\''/g;
2932 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2935 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2942 $as_echo "## ----------------- ##
2943 ## Output variables. ##
2944 ## ----------------- ##"
2946 for ac_var in $ac_subst_vars
2948 eval ac_val=\$$ac_var
2950 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2952 $as_echo "$ac_var='\''$ac_val'\''"
2956 if test -n "$ac_subst_files"; then
2957 $as_echo "## ------------------- ##
2958 ## File substitutions. ##
2959 ## ------------------- ##"
2961 for ac_var
in $ac_subst_files
2963 eval ac_val
=\$
$ac_var
2965 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2967 $as_echo "$ac_var='\''$ac_val'\''"
2972 if test -s confdefs.h; then
2973 $as_echo "## ----------- ##
2980 test "$ac_signal" != 0 &&
2981 $as_echo "$as_me: caught signal $ac_signal"
2982 $as_echo "$as_me: exit $exit_status"
2984 rm -f core *.core core.conftest.* &&
2985 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2988 for ac_signal
in 1 2 13 15; do
2989 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2993 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2994 rm -f -r conftest
* confdefs.h
2996 $as_echo "/* confdefs.h */" > confdefs.h
2998 # Predefined preprocessor variables.
3000 cat >>confdefs.h
<<_ACEOF
3001 #define PACKAGE_NAME "$PACKAGE_NAME"
3004 cat >>confdefs.h
<<_ACEOF
3005 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3008 cat >>confdefs.h
<<_ACEOF
3009 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3012 cat >>confdefs.h
<<_ACEOF
3013 #define PACKAGE_STRING "$PACKAGE_STRING"
3016 cat >>confdefs.h
<<_ACEOF
3017 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3020 cat >>confdefs.h
<<_ACEOF
3021 #define PACKAGE_URL "$PACKAGE_URL"
3025 # Let the site file select an alternate cache file if it wants to.
3026 # Prefer an explicitly selected file to automatically selected ones.
3029 if test -n "$CONFIG_SITE"; then
3030 # We do not want a PATH search for config.site.
3031 case $CONFIG_SITE in #((
3032 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3033 */*) ac_site_file1
=$CONFIG_SITE;;
3034 *) ac_site_file1
=.
/$CONFIG_SITE;;
3036 elif test "x$prefix" != xNONE
; then
3037 ac_site_file1
=$prefix/share
/config.site
3038 ac_site_file2
=$prefix/etc
/config.site
3040 ac_site_file1
=$ac_default_prefix/share
/config.site
3041 ac_site_file2
=$ac_default_prefix/etc
/config.site
3043 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3045 test "x$ac_site_file" = xNONE
&& continue
3046 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3048 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3049 sed 's/^/| /' "$ac_site_file" >&5
3051 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3052 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3053 as_fn_error $?
"failed to load site script $ac_site_file
3054 See \`config.log' for more details" "$LINENO" 5; }
3058 if test -r "$cache_file"; then
3059 # Some versions of bash will fail to source /dev/null (special files
3060 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3061 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3063 $as_echo "$as_me: loading cache $cache_file" >&6;}
3065 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3066 *) .
"./$cache_file";;
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3071 $as_echo "$as_me: creating cache $cache_file" >&6;}
3075 # Check that the precious variables saved in the cache have kept the same
3077 ac_cache_corrupted
=false
3078 for ac_var
in $ac_precious_vars; do
3079 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3080 eval ac_new_set
=\
$ac_env_${ac_var}_set
3081 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3082 eval ac_new_val
=\
$ac_env_${ac_var}_value
3083 case $ac_old_set,$ac_new_set in
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3086 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3087 ac_cache_corrupted
=: ;;
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3090 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3091 ac_cache_corrupted
=: ;;
3094 if test "x$ac_old_val" != "x$ac_new_val"; then
3095 # differences in whitespace do not lead to failure.
3096 ac_old_val_w
=`echo x $ac_old_val`
3097 ac_new_val_w
=`echo x $ac_new_val`
3098 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3100 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3101 ac_cache_corrupted
=:
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3104 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3105 eval $ac_var=\
$ac_old_val
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3108 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3110 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3113 # Pass precious variables to config.status.
3114 if test "$ac_new_set" = set; then
3116 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3117 *) ac_arg
=$ac_var=$ac_new_val ;;
3119 case " $ac_configure_args " in
3120 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3121 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3125 if $ac_cache_corrupted; then
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3127 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3129 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3130 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3132 ## -------------------- ##
3133 ## Main body of script. ##
3134 ## -------------------- ##
3137 ac_cpp
='$CPP $CPPFLAGS'
3138 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3139 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3140 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3144 ac_config_headers
="$ac_config_headers include/config.h"
3147 for ac_dir
in tools
"$srcdir"/tools
; do
3148 if test -f "$ac_dir/install-sh"; then
3150 ac_install_sh
="$ac_aux_dir/install-sh -c"
3152 elif test -f "$ac_dir/install.sh"; then
3154 ac_install_sh
="$ac_aux_dir/install.sh -c"
3156 elif test -f "$ac_dir/shtool"; then
3158 ac_install_sh
="$ac_aux_dir/shtool install -c"
3162 if test -z "$ac_aux_dir"; then
3163 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3166 # These three variables are undocumented and unsupported,
3167 # and are intended to be withdrawn in a future Autoconf release.
3168 # They can cause serious problems if a builder's source tree is in a directory
3169 # whose full name contains unusual characters.
3170 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3171 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3172 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3176 libwine_version
="1.0"
3180 # Check whether --enable-win16 was given.
3181 if test "${enable_win16+set}" = set; then :
3182 enableval
=$enable_win16;
3185 # Check whether --enable-win64 was given.
3186 if test "${enable_win64+set}" = set; then :
3187 enableval
=$enable_win64;
3190 # Check whether --enable-tests was given.
3191 if test "${enable_tests+set}" = set; then :
3192 enableval
=$enable_tests;
3195 # Check whether --enable-maintainer-mode was given.
3196 if test "${enable_maintainer_mode+set}" = set; then :
3197 enableval
=$enable_maintainer_mode;
3202 # Check whether --with-alsa was given.
3203 if test "${with_alsa+set}" = set; then :
3204 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3208 # Check whether --with-capi was given.
3209 if test "${with_capi+set}" = set; then :
3214 # Check whether --with-cms was given.
3215 if test "${with_cms+set}" = set; then :
3220 # Check whether --with-coreaudio was given.
3221 if test "${with_coreaudio+set}" = set; then :
3222 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3226 # Check whether --with-cups was given.
3227 if test "${with_cups+set}" = set; then :
3232 # Check whether --with-curses was given.
3233 if test "${with_curses+set}" = set; then :
3234 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3238 # Check whether --with-dbus was given.
3239 if test "${with_dbus+set}" = set; then :
3244 # Check whether --with-fontconfig was given.
3245 if test "${with_fontconfig+set}" = set; then :
3246 withval
=$with_fontconfig;
3250 # Check whether --with-freetype was given.
3251 if test "${with_freetype+set}" = set; then :
3252 withval
=$with_freetype;
3256 # Check whether --with-gettext was given.
3257 if test "${with_gettext+set}" = set; then :
3258 withval
=$with_gettext;
3262 # Check whether --with-gettextpo was given.
3263 if test "${with_gettextpo+set}" = set; then :
3264 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3268 # Check whether --with-gphoto was given.
3269 if test "${with_gphoto+set}" = set; then :
3270 withval
=$with_gphoto;
3274 # Check whether --with-glu was given.
3275 if test "${with_glu+set}" = set; then :
3280 # Check whether --with-gnutls was given.
3281 if test "${with_gnutls+set}" = set; then :
3282 withval
=$with_gnutls;
3286 # Check whether --with-gsm was given.
3287 if test "${with_gsm+set}" = set; then :
3288 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3292 # Check whether --with-gstreamer was given.
3293 if test "${with_gstreamer+set}" = set; then :
3294 withval
=$with_gstreamer;
3298 # Check whether --with-hal was given.
3299 if test "${with_hal+set}" = set; then :
3304 # Check whether --with-jpeg was given.
3305 if test "${with_jpeg+set}" = set; then :
3310 # Check whether --with-ldap was given.
3311 if test "${with_ldap+set}" = set; then :
3312 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3316 # Check whether --with-mpg123 was given.
3317 if test "${with_mpg123+set}" = set; then :
3318 withval
=$with_mpg123;
3322 # Check whether --with-netapi was given.
3323 if test "${with_netapi+set}" = set; then :
3324 withval
=$with_netapi;
3328 # Check whether --with-openal was given.
3329 if test "${with_openal+set}" = set; then :
3330 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3334 # Check whether --with-opencl was given.
3335 if test "${with_opencl+set}" = set; then :
3336 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3340 # Check whether --with-opengl was given.
3341 if test "${with_opengl+set}" = set; then :
3342 withval
=$with_opengl;
3346 # Check whether --with-osmesa was given.
3347 if test "${with_osmesa+set}" = set; then :
3348 withval
=$with_osmesa;
3352 # Check whether --with-oss was given.
3353 if test "${with_oss+set}" = set; then :
3358 # Check whether --with-pcap was given.
3359 if test "${with_pcap+set}" = set; then :
3360 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3364 # Check whether --with-png was given.
3365 if test "${with_png+set}" = set; then :
3370 # Check whether --with-pthread was given.
3371 if test "${with_pthread+set}" = set; then :
3372 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3376 # Check whether --with-sane was given.
3377 if test "${with_sane+set}" = set; then :
3382 # Check whether --with-tiff was given.
3383 if test "${with_tiff+set}" = set; then :
3388 # Check whether --with-v4l was given.
3389 if test "${with_v4l+set}" = set; then :
3394 # Check whether --with-xcomposite was given.
3395 if test "${with_xcomposite+set}" = set; then :
3396 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3400 # Check whether --with-xcursor was given.
3401 if test "${with_xcursor+set}" = set; then :
3402 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3406 # Check whether --with-xinerama was given.
3407 if test "${with_xinerama+set}" = set; then :
3408 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3412 # Check whether --with-xinput was given.
3413 if test "${with_xinput+set}" = set; then :
3414 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3418 # Check whether --with-xinput2 was given.
3419 if test "${with_xinput2+set}" = set; then :
3420 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3424 # Check whether --with-xml was given.
3425 if test "${with_xml+set}" = set; then :
3430 # Check whether --with-xrandr was given.
3431 if test "${with_xrandr+set}" = set; then :
3432 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3436 # Check whether --with-xrender was given.
3437 if test "${with_xrender+set}" = set; then :
3438 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3442 # Check whether --with-xshape was given.
3443 if test "${with_xshape+set}" = set; then :
3444 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3448 # Check whether --with-xshm was given.
3449 if test "${with_xshm+set}" = set; then :
3450 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3454 # Check whether --with-xslt was given.
3455 if test "${with_xslt+set}" = set; then :
3460 # Check whether --with-xxf86vm was given.
3461 if test "${with_xxf86vm+set}" = set; then :
3462 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
3466 # Check whether --with-zlib was given.
3467 if test "${with_zlib+set}" = set; then :
3468 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3473 # Check whether --with-wine-tools was given.
3474 if test "${with_wine_tools+set}" = set; then :
3475 withval
=$with_wine_tools;
3479 # Check whether --with-wine64 was given.
3480 if test "${with_wine64+set}" = set; then :
3481 withval
=$with_wine64;
3485 # Make sure we can run config.sub.
3486 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3487 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3490 $as_echo_n "checking build system type... " >&6; }
3491 if ${ac_cv_build+:} false
; then :
3492 $as_echo_n "(cached) " >&6
3494 ac_build_alias
=$build_alias
3495 test "x$ac_build_alias" = x
&&
3496 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3497 test "x$ac_build_alias" = x
&&
3498 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3499 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3500 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3504 $as_echo "$ac_cv_build" >&6; }
3505 case $ac_cv_build in
3507 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3510 ac_save_IFS
=$IFS; IFS
='-'
3516 # Remember, the first character of IFS is used to create $*,
3517 # except with old shells:
3520 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3524 $as_echo_n "checking host system type... " >&6; }
3525 if ${ac_cv_host+:} false
; then :
3526 $as_echo_n "(cached) " >&6
3528 if test "x$host_alias" = x
; then
3529 ac_cv_host
=$ac_cv_build
3531 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3532 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3537 $as_echo "$ac_cv_host" >&6; }
3540 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3543 ac_save_IFS
=$IFS; IFS
='-'
3549 # Remember, the first character of IFS is used to create $*,
3550 # except with old shells:
3553 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3559 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3560 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3561 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3567 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3569 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3570 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3571 $as_echo_n "(cached) " >&6
3573 cat >conftest.
make <<\_ACEOF
3576 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3578 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3579 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3581 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3583 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3587 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3589 $as_echo "yes" >&6; }
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3593 $as_echo "no" >&6; }
3594 SET_MAKE
="MAKE=${MAKE-make}"
3598 ac_cpp
='$CPP $CPPFLAGS'
3599 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3600 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3601 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3602 if test -n "$ac_tool_prefix"; then
3603 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3604 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3606 $as_echo_n "checking for $ac_word... " >&6; }
3607 if ${ac_cv_prog_CC+:} false
; then :
3608 $as_echo_n "(cached) " >&6
3610 if test -n "$CC"; then
3611 ac_cv_prog_CC
="$CC" # Let the user override the test.
3613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3617 test -z "$as_dir" && as_dir
=.
3618 for ac_exec_ext
in '' $ac_executable_extensions; do
3619 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3620 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3631 if test -n "$CC"; then
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3633 $as_echo "$CC" >&6; }
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3636 $as_echo "no" >&6; }
3641 if test -z "$ac_cv_prog_CC"; then
3643 # Extract the first word of "gcc", so it can be a program name with args.
3644 set dummy gcc
; ac_word
=$2
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3646 $as_echo_n "checking for $ac_word... " >&6; }
3647 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3648 $as_echo_n "(cached) " >&6
3650 if test -n "$ac_ct_CC"; then
3651 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3653 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3657 test -z "$as_dir" && as_dir
=.
3658 for ac_exec_ext
in '' $ac_executable_extensions; do
3659 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3660 ac_cv_prog_ac_ct_CC
="gcc"
3661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3670 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3671 if test -n "$ac_ct_CC"; then
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3673 $as_echo "$ac_ct_CC" >&6; }
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3676 $as_echo "no" >&6; }
3679 if test "x$ac_ct_CC" = x
; then
3682 case $cross_compiling:$ac_tool_warned in
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3685 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3686 ac_tool_warned
=yes ;;
3694 if test -z "$CC"; then
3695 if test -n "$ac_tool_prefix"; then
3696 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3697 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3699 $as_echo_n "checking for $ac_word... " >&6; }
3700 if ${ac_cv_prog_CC+:} false
; then :
3701 $as_echo_n "(cached) " >&6
3703 if test -n "$CC"; then
3704 ac_cv_prog_CC
="$CC" # Let the user override the test.
3706 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3710 test -z "$as_dir" && as_dir
=.
3711 for ac_exec_ext
in '' $ac_executable_extensions; do
3712 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3713 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3724 if test -n "$CC"; then
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3726 $as_echo "$CC" >&6; }
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3729 $as_echo "no" >&6; }
3735 if test -z "$CC"; then
3736 # Extract the first word of "cc", so it can be a program name with args.
3737 set dummy cc
; ac_word
=$2
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3739 $as_echo_n "checking for $ac_word... " >&6; }
3740 if ${ac_cv_prog_CC+:} false
; then :
3741 $as_echo_n "(cached) " >&6
3743 if test -n "$CC"; then
3744 ac_cv_prog_CC
="$CC" # Let the user override the test.
3747 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3751 test -z "$as_dir" && as_dir
=.
3752 for ac_exec_ext
in '' $ac_executable_extensions; do
3753 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3754 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3755 ac_prog_rejected
=yes
3759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3766 if test $ac_prog_rejected = yes; then
3767 # We found a bogon in the path, so make sure we never use it.
3768 set dummy
$ac_cv_prog_CC
3770 if test $# != 0; then
3771 # We chose a different compiler from the bogus one.
3772 # However, it has the same basename, so the bogon will be chosen
3773 # first if we set CC to just the basename; use the full file name.
3775 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3781 if test -n "$CC"; then
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3783 $as_echo "$CC" >&6; }
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3786 $as_echo "no" >&6; }
3791 if test -z "$CC"; then
3792 if test -n "$ac_tool_prefix"; then
3793 for ac_prog
in cl.exe
3795 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3796 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3798 $as_echo_n "checking for $ac_word... " >&6; }
3799 if ${ac_cv_prog_CC+:} false
; then :
3800 $as_echo_n "(cached) " >&6
3802 if test -n "$CC"; then
3803 ac_cv_prog_CC
="$CC" # Let the user override the test.
3805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3809 test -z "$as_dir" && as_dir
=.
3810 for ac_exec_ext
in '' $ac_executable_extensions; do
3811 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3812 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3823 if test -n "$CC"; then
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3825 $as_echo "$CC" >&6; }
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3828 $as_echo "no" >&6; }
3832 test -n "$CC" && break
3835 if test -z "$CC"; then
3837 for ac_prog
in cl.exe
3839 # Extract the first word of "$ac_prog", so it can be a program name with args.
3840 set dummy
$ac_prog; ac_word
=$2
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3842 $as_echo_n "checking for $ac_word... " >&6; }
3843 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3844 $as_echo_n "(cached) " >&6
3846 if test -n "$ac_ct_CC"; then
3847 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3849 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3853 test -z "$as_dir" && as_dir
=.
3854 for ac_exec_ext
in '' $ac_executable_extensions; do
3855 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3856 ac_cv_prog_ac_ct_CC
="$ac_prog"
3857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3866 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3867 if test -n "$ac_ct_CC"; then
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3869 $as_echo "$ac_ct_CC" >&6; }
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3872 $as_echo "no" >&6; }
3876 test -n "$ac_ct_CC" && break
3879 if test "x$ac_ct_CC" = x
; then
3882 case $cross_compiling:$ac_tool_warned in
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3885 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3886 ac_tool_warned
=yes ;;
3895 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3896 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3897 as_fn_error $?
"no acceptable C compiler found in \$PATH
3898 See \`config.log' for more details" "$LINENO" 5; }
3900 # Provide some information about the compiler.
3901 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3904 for ac_option
in --version -v -V -qversion; do
3905 { { ac_try
="$ac_compiler $ac_option >&5"
3907 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3908 *) ac_try_echo=$ac_try;;
3910 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3911 $as_echo "$ac_try_echo"; } >&5
3912 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3914 if test -s conftest.err; then
3916 ... rest of stderr output deleted ...
3917 10q' conftest.err >conftest.er1
3918 cat conftest.er1 >&5
3920 rm -f conftest.er1 conftest.err
3921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3922 test $ac_status = 0; }
3925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3926 /* end confdefs.h. */
3936 ac_clean_files_save=$ac_clean_files
3937 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3938 # Try to create an executable without -o first, disregard a.out.
3939 # It will help us diagnose broken compilers, and finding out an intuition
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3942 $as_echo_n "checking whether the C compiler works... " >&6; }
3943 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3945 # The possible output files:
3946 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3949 for ac_file in $ac_files
3952 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3953 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3958 if { { ac_try="$ac_link_default"
3960 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3961 *) ac_try_echo
=$ac_try;;
3963 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3964 $as_echo "$ac_try_echo"; } >&5
3965 (eval "$ac_link_default") 2>&5
3967 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3968 test $ac_status = 0; }; then :
3969 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3970 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3971 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3972 # so that the user can short-circuit this test for compilers unknown to
3974 for ac_file
in $ac_files ''
3976 test -f "$ac_file" ||
continue
3978 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3981 # We found the default executable, but exeext='' is most
3985 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3987 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3989 # We set ac_cv_exeext here because the later test for it is not
3990 # safe: cross compilers may not add the suffix if given an `-o'
3991 # argument, so we may need to know it at that point already.
3992 # Even if this section looks crufty: it has the advantage of
3999 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4004 if test -z "$ac_file"; then :
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4006 $as_echo "no" >&6; }
4007 $as_echo "$as_me: failed program was:" >&5
4008 sed 's/^/| /' conftest.
$ac_ext >&5
4010 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4011 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4012 as_fn_error
77 "C compiler cannot create executables
4013 See \`config.log' for more details" "$LINENO" 5; }
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4016 $as_echo "yes" >&6; }
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4019 $as_echo_n "checking for C compiler default output file name... " >&6; }
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4021 $as_echo "$ac_file" >&6; }
4022 ac_exeext
=$ac_cv_exeext
4024 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4025 ac_clean_files
=$ac_clean_files_save
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4027 $as_echo_n "checking for suffix of executables... " >&6; }
4028 if { { ac_try
="$ac_link"
4030 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4031 *) ac_try_echo=$ac_try;;
4033 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4034 $as_echo "$ac_try_echo"; } >&5
4035 (eval "$ac_link") 2>&5
4037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4038 test $ac_status = 0; }; then :
4039 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4040 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4041 # work properly (i.e., refer to `conftest.exe'), while it won't with
4043 for ac_file
in conftest.exe conftest conftest.
*; do
4044 test -f "$ac_file" ||
continue
4046 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4047 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4053 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4054 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4055 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4056 See \`config.log' for more details" "$LINENO" 5; }
4058 rm -f conftest conftest
$ac_cv_exeext
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4060 $as_echo "$ac_cv_exeext" >&6; }
4062 rm -f conftest.
$ac_ext
4063 EXEEXT
=$ac_cv_exeext
4065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4066 /* end confdefs.h. */
4071 FILE *f = fopen ("conftest.out", "w");
4072 return ferror (f) || fclose (f) != 0;
4078 ac_clean_files
="$ac_clean_files conftest.out"
4079 # Check that the compiler produces executables we can run. If not, either
4080 # the compiler is broken, or we cross compile.
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4082 $as_echo_n "checking whether we are cross compiling... " >&6; }
4083 if test "$cross_compiling" != yes; then
4084 { { ac_try
="$ac_link"
4086 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4087 *) ac_try_echo=$ac_try;;
4089 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4090 $as_echo "$ac_try_echo"; } >&5
4091 (eval "$ac_link") 2>&5
4093 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4094 test $ac_status = 0; }
4095 if { ac_try='./conftest$ac_cv_exeext'
4096 { { case "(($ac_try" in
4097 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4098 *) ac_try_echo
=$ac_try;;
4100 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4101 $as_echo "$ac_try_echo"; } >&5
4102 (eval "$ac_try") 2>&5
4104 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4105 test $ac_status = 0; }; }; then
4108 if test "$cross_compiling" = maybe
; then
4111 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4112 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4113 as_fn_error $?
"cannot run C compiled programs.
4114 If you meant to cross compile, use \`--host'.
4115 See \`config.log' for more details" "$LINENO" 5; }
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4120 $as_echo "$cross_compiling" >&6; }
4122 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4123 ac_clean_files
=$ac_clean_files_save
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4125 $as_echo_n "checking for suffix of object files... " >&6; }
4126 if ${ac_cv_objext+:} false
; then :
4127 $as_echo_n "(cached) " >&6
4129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4130 /* end confdefs.h. */
4140 rm -f conftest.o conftest.obj
4141 if { { ac_try
="$ac_compile"
4143 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4144 *) ac_try_echo=$ac_try;;
4146 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4147 $as_echo "$ac_try_echo"; } >&5
4148 (eval "$ac_compile") 2>&5
4150 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4151 test $ac_status = 0; }; then :
4152 for ac_file in conftest.o conftest.obj conftest.*; do
4153 test -f "$ac_file" || continue;
4155 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4156 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4161 $as_echo "$as_me: failed program was:" >&5
4162 sed 's/^/| /' conftest.$ac_ext >&5
4164 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4165 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4166 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4167 See \
`config.log' for more details" "$LINENO" 5; }
4169 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4172 $as_echo "$ac_cv_objext" >&6; }
4173 OBJEXT=$ac_cv_objext
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4176 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4177 if ${ac_cv_c_compiler_gnu+:} false; then :
4178 $as_echo_n "(cached) " >&6
4180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4181 /* end confdefs.h. */
4194 if ac_fn_c_try_compile "$LINENO"; then :
4199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4200 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4204 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4205 if test $ac_compiler_gnu = yes; then
4210 ac_test_CFLAGS=${CFLAGS+set}
4211 ac_save_CFLAGS=$CFLAGS
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4213 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4214 if ${ac_cv_prog_cc_g+:} false; then :
4215 $as_echo_n "(cached) " >&6
4217 ac_save_c_werror_flag=$ac_c_werror_flag
4218 ac_c_werror_flag=yes
4221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4222 /* end confdefs.h. */
4232 if ac_fn_c_try_compile "$LINENO"; then :
4236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4237 /* end confdefs.h. */
4247 if ac_fn_c_try_compile "$LINENO"; then :
4250 ac_c_werror_flag=$ac_save_c_werror_flag
4252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4253 /* end confdefs.h. */
4263 if ac_fn_c_try_compile "$LINENO"; then :
4266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4271 ac_c_werror_flag=$ac_save_c_werror_flag
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4274 $as_echo "$ac_cv_prog_cc_g" >&6; }
4275 if test "$ac_test_CFLAGS" = set; then
4276 CFLAGS=$ac_save_CFLAGS
4277 elif test $ac_cv_prog_cc_g = yes; then
4278 if test "$GCC" = yes; then
4284 if test "$GCC" = yes; then
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4291 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4292 if ${ac_cv_prog_cc_c89+:} false; then :
4293 $as_echo_n "(cached) " >&6
4295 ac_cv_prog_cc_c89=no
4297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4298 /* end confdefs.h. */
4302 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4303 struct buf { int x; };
4304 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4305 static char *e (p, i)
4311 static char *f (char * (*g) (char **, int), char **p, ...)
4316 s = g (p, va_arg (v,int));
4321 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4322 function prototypes and stuff, but not '\xHH' hex character constants.
4323 These don't provoke an error unfortunately, instead are silently treated
4324 as 'x'. The following induces an error, until -std is added to get
4325 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4326 array size at least. It's necessary to write '\x00'==0 to get something
4327 that's true only with -std. */
4328 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4330 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4331 inside strings and character constants. */
4333 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4335 int test (int i, double x);
4336 struct s1 {int (*f) (int a);};
4337 struct s2 {int (*f) (double a);};
4338 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4344 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4349 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4350 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4352 CC="$ac_save_CC $ac_arg"
4353 if ac_fn_c_try_compile "$LINENO"; then :
4354 ac_cv_prog_cc_c89=$ac_arg
4356 rm -f core conftest.err conftest.$ac_objext
4357 test "x$ac_cv_prog_cc_c89" != "xno" && break
4359 rm -f conftest.$ac_ext
4364 case "x$ac_cv_prog_cc_c89" in
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4367 $as_echo "none needed" >&6; } ;;
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4370 $as_echo "unsupported" >&6; } ;;
4372 CC="$CC $ac_cv_prog_cc_c89"
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4374 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4376 if test "x$ac_cv_prog_cc_c89" != xno; then :
4381 ac_cpp='$CPP $CPPFLAGS'
4382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4387 ac_cpp='$CXXCPP $CPPFLAGS'
4388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4391 if test -z "$CXX"; then
4392 if test -n "$CCC"; then
4395 if test -n "$ac_tool_prefix"; then
4396 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4398 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4399 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4401 $as_echo_n "checking for $ac_word... " >&6; }
4402 if ${ac_cv_prog_CXX+:} false; then :
4403 $as_echo_n "(cached) " >&6
4405 if test -n "$CXX"; then
4406 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4412 test -z "$as_dir" && as_dir=.
4413 for ac_exec_ext in '' $ac_executable_extensions; do
4414 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4415 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4426 if test -n "$CXX"; then
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4428 $as_echo "$CXX" >&6; }
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4431 $as_echo "no" >&6; }
4435 test -n "$CXX" && break
4438 if test -z "$CXX"; then
4440 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4442 # Extract the first word of "$ac_prog", so it can be a program name with args.
4443 set dummy $ac_prog; ac_word=$2
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4445 $as_echo_n "checking for $ac_word... " >&6; }
4446 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4447 $as_echo_n "(cached) " >&6
4449 if test -n "$ac_ct_CXX"; then
4450 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4456 test -z "$as_dir" && as_dir=.
4457 for ac_exec_ext in '' $ac_executable_extensions; do
4458 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4459 ac_cv_prog_ac_ct_CXX="$ac_prog"
4460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4469 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4470 if test -n "$ac_ct_CXX"; then
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4472 $as_echo "$ac_ct_CXX" >&6; }
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4475 $as_echo "no" >&6; }
4479 test -n "$ac_ct_CXX" && break
4482 if test "x$ac_ct_CXX" = x; then
4485 case $cross_compiling:$ac_tool_warned in
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4488 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4489 ac_tool_warned=yes ;;
4497 # Provide some information about the compiler.
4498 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4501 for ac_option in --version -v -V -qversion; do
4502 { { ac_try="$ac_compiler $ac_option >&5"
4504 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4505 *) ac_try_echo
=$ac_try;;
4507 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4508 $as_echo "$ac_try_echo"; } >&5
4509 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4511 if test -s conftest.err
; then
4513 ... rest of stderr output deleted ...
4514 10q' conftest.err
>conftest.er1
4515 cat conftest.er1
>&5
4517 rm -f conftest.er1 conftest.err
4518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4519 test $ac_status = 0; }
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4523 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4524 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4525 $as_echo_n "(cached) " >&6
4527 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4528 /* end confdefs.h. */
4541 if ac_fn_cxx_try_compile
"$LINENO"; then :
4546 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4547 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4551 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4552 if test $ac_compiler_gnu = yes; then
4557 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4558 ac_save_CXXFLAGS
=$CXXFLAGS
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4560 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4561 if ${ac_cv_prog_cxx_g+:} false
; then :
4562 $as_echo_n "(cached) " >&6
4564 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4565 ac_cxx_werror_flag
=yes
4568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4569 /* end confdefs.h. */
4579 if ac_fn_cxx_try_compile
"$LINENO"; then :
4580 ac_cv_prog_cxx_g
=yes
4583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4584 /* end confdefs.h. */
4594 if ac_fn_cxx_try_compile
"$LINENO"; then :
4597 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4600 /* end confdefs.h. */
4610 if ac_fn_cxx_try_compile
"$LINENO"; then :
4611 ac_cv_prog_cxx_g
=yes
4613 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4615 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4617 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4618 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4621 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4622 if test "$ac_test_CXXFLAGS" = set; then
4623 CXXFLAGS
=$ac_save_CXXFLAGS
4624 elif test $ac_cv_prog_cxx_g = yes; then
4625 if test "$GXX" = yes; then
4631 if test "$GXX" = yes; then
4638 ac_cpp
='$CPP $CPPFLAGS'
4639 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4640 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4641 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4643 if test -n "$ac_tool_prefix"; then
4644 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4645 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4647 $as_echo_n "checking for $ac_word... " >&6; }
4648 if ${ac_cv_prog_CPPBIN+:} false
; then :
4649 $as_echo_n "(cached) " >&6
4651 if test -n "$CPPBIN"; then
4652 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4658 test -z "$as_dir" && as_dir
=.
4659 for ac_exec_ext
in '' $ac_executable_extensions; do
4660 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4661 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4671 CPPBIN
=$ac_cv_prog_CPPBIN
4672 if test -n "$CPPBIN"; then
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4674 $as_echo "$CPPBIN" >&6; }
4676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4677 $as_echo "no" >&6; }
4682 if test -z "$ac_cv_prog_CPPBIN"; then
4683 ac_ct_CPPBIN
=$CPPBIN
4684 # Extract the first word of "cpp", so it can be a program name with args.
4685 set dummy cpp
; ac_word
=$2
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4687 $as_echo_n "checking for $ac_word... " >&6; }
4688 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4689 $as_echo_n "(cached) " >&6
4691 if test -n "$ac_ct_CPPBIN"; then
4692 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4694 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4698 test -z "$as_dir" && as_dir
=.
4699 for ac_exec_ext
in '' $ac_executable_extensions; do
4700 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4701 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4711 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4712 if test -n "$ac_ct_CPPBIN"; then
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4714 $as_echo "$ac_ct_CPPBIN" >&6; }
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4717 $as_echo "no" >&6; }
4720 if test "x$ac_ct_CPPBIN" = x
; then
4723 case $cross_compiling:$ac_tool_warned in
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4726 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4727 ac_tool_warned
=yes ;;
4729 CPPBIN
=$ac_ct_CPPBIN
4732 CPPBIN
="$ac_cv_prog_CPPBIN"
4736 cat >>confdefs.h
<<_ACEOF
4737 #define EXEEXT "$ac_exeext"
4743 if test "x$enable_win64" = "xyes"
4748 notice_platform
="64-bit "
4755 notice_platform
="32-bit "
4758 enable_win16
=${enable_win16:-yes}
4760 with_fontconfig
=${with_fontconfig:-no}
4763 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4768 $as_echo_n "checking whether $CC works... " >&6; }
4770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4771 /* end confdefs.h. */
4781 if ac_fn_c_try_link
"$LINENO"; then :
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4783 $as_echo "yes" >&6; }
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4786 $as_echo "no" >&6; }
4787 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4789 rm -f core conftest.err conftest.
$ac_objext \
4790 conftest
$ac_exeext conftest.
$ac_ext
4792 notice_platform
="32-bit "
4795 enable_win16
=${enable_win16:-yes}
4797 if test "x${GCC}" = "xyes"
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4800 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4802 /* end confdefs.h. */
4807 void func(__builtin_ms_va_list *args);
4812 if ac_fn_c_try_compile
"$LINENO"; then :
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4814 $as_echo "yes" >&6; }
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4817 $as_echo "no" >&6; }
4818 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4820 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4828 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4830 /* end confdefs.h. */
4831 int ac_test(int i) { return i; }
4835 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4840 if ac_fn_c_try_link
"$LINENO"; then :
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4842 $as_echo "yes" >&6; }
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4845 $as_echo "no" >&6; }
4846 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4848 rm -f core conftest.err conftest.
$ac_objext \
4849 conftest
$ac_exeext conftest.
$ac_ext
4850 CFLAGS
="$CFLAGS -marm"
4854 *-mingw32*|
*-cygwin*)
4855 enable_win16
=${enable_win16:-no}
4856 CFLAGS
="$CFLAGS -D_WIN32"
4859 enable_win16
=${enable_win16:-yes}
4863 enable_win16
=${enable_win16:-no}
4864 enable_win64
=${enable_win64:-no}
4866 enable_winetest
=${enable_winetest:-$enable_tests}
4868 if test -n "$with_wine64"
4870 if test "x$enable_win64" = "xyes"
4872 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4873 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4875 enable_fonts
=${enable_fonts:-no}
4876 enable_server
=${enable_server:-no}
4877 elif test "x$enable_win64" = "xyes"
4879 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4883 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4884 if ${wine_cv_toolsdir+:} false
; then :
4885 $as_echo_n "(cached) " >&6
4887 wine_cv_toolsdir
="$with_wine_tools"
4888 if test -z "$with_wine_tools"; then
4889 if test "$cross_compiling" = "yes"; then
4890 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4891 elif test -n "$with_wine64"; then
4892 wine_cv_toolsdir
="$with_wine64"
4895 if test -z "$wine_cv_toolsdir"; then
4896 wine_makedep
=tools
/makedep
4897 wine_cv_toolsdir
="\$(top_builddir)"
4898 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4899 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
4900 case "$wine_cv_toolsdir" in
4902 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4904 enable_tools
=${enable_tools:-no}
4905 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4907 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4911 $as_echo "$wine_cv_toolsdir" >&6; }
4912 TOOLSDIR
=$wine_cv_toolsdir
4914 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4916 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4922 # Extract the first word of "$ac_prog", so it can be a program name with args.
4923 set dummy
$ac_prog; ac_word
=$2
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4925 $as_echo_n "checking for $ac_word... " >&6; }
4926 if ${ac_cv_prog_FLEX+:} false
; then :
4927 $as_echo_n "(cached) " >&6
4929 if test -n "$FLEX"; then
4930 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4932 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4936 test -z "$as_dir" && as_dir
=.
4937 for ac_exec_ext
in '' $ac_executable_extensions; do
4938 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4939 ac_cv_prog_FLEX
="$ac_prog"
4940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4949 FLEX
=$ac_cv_prog_FLEX
4950 if test -n "$FLEX"; then
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4952 $as_echo "$FLEX" >&6; }
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4955 $as_echo "no" >&6; }
4959 test -n "$FLEX" && break
4961 test -n "$FLEX" || FLEX
="none"
4963 if test "$FLEX" = "none"
4965 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4968 $as_echo_n "checking whether flex is recent enough... " >&6; }
4969 cat >conftest.l
<<EOF
4971 #include "prediluvian.h"
4975 if $FLEX -t conftest.l
>/dev
/null
2>&5
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4978 $as_echo "yes" >&6; }
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4981 $as_echo "no" >&6; }
4982 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4985 for ac_prog
in bison
4987 # Extract the first word of "$ac_prog", so it can be a program name with args.
4988 set dummy
$ac_prog; ac_word
=$2
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4990 $as_echo_n "checking for $ac_word... " >&6; }
4991 if ${ac_cv_prog_BISON+:} false
; then :
4992 $as_echo_n "(cached) " >&6
4994 if test -n "$BISON"; then
4995 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5001 test -z "$as_dir" && as_dir
=.
5002 for ac_exec_ext
in '' $ac_executable_extensions; do
5003 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5004 ac_cv_prog_BISON
="$ac_prog"
5005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5014 BISON
=$ac_cv_prog_BISON
5015 if test -n "$BISON"; then
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5017 $as_echo "$BISON" >&6; }
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5020 $as_echo "no" >&6; }
5024 test -n "$BISON" && break
5026 test -n "$BISON" || BISON
="none"
5028 if test "$BISON" = "none"
5030 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5033 if test -n "$ac_tool_prefix"; then
5034 for ac_prog
in ar gar
5036 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5037 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5039 $as_echo_n "checking for $ac_word... " >&6; }
5040 if ${ac_cv_prog_AR+:} false
; then :
5041 $as_echo_n "(cached) " >&6
5043 if test -n "$AR"; then
5044 ac_cv_prog_AR
="$AR" # Let the user override the test.
5046 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5050 test -z "$as_dir" && as_dir
=.
5051 for ac_exec_ext
in '' $ac_executable_extensions; do
5052 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5053 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5064 if test -n "$AR"; then
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5066 $as_echo "$AR" >&6; }
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5069 $as_echo "no" >&6; }
5073 test -n "$AR" && break
5076 if test -z "$AR"; then
5078 for ac_prog
in ar gar
5080 # Extract the first word of "$ac_prog", so it can be a program name with args.
5081 set dummy
$ac_prog; ac_word
=$2
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5083 $as_echo_n "checking for $ac_word... " >&6; }
5084 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5085 $as_echo_n "(cached) " >&6
5087 if test -n "$ac_ct_AR"; then
5088 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5090 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5094 test -z "$as_dir" && as_dir
=.
5095 for ac_exec_ext
in '' $ac_executable_extensions; do
5096 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5097 ac_cv_prog_ac_ct_AR
="$ac_prog"
5098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5107 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5108 if test -n "$ac_ct_AR"; then
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5110 $as_echo "$ac_ct_AR" >&6; }
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5113 $as_echo "no" >&6; }
5117 test -n "$ac_ct_AR" && break
5120 if test "x$ac_ct_AR" = x
; then
5123 case $cross_compiling:$ac_tool_warned in
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5126 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5127 ac_tool_warned
=yes ;;
5133 if test -n "$ac_tool_prefix"; then
5134 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5135 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5137 $as_echo_n "checking for $ac_word... " >&6; }
5138 if ${ac_cv_prog_STRIP+:} false
; then :
5139 $as_echo_n "(cached) " >&6
5141 if test -n "$STRIP"; then
5142 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5148 test -z "$as_dir" && as_dir
=.
5149 for ac_exec_ext
in '' $ac_executable_extensions; do
5150 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5151 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5161 STRIP
=$ac_cv_prog_STRIP
5162 if test -n "$STRIP"; then
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5164 $as_echo "$STRIP" >&6; }
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5167 $as_echo "no" >&6; }
5172 if test -z "$ac_cv_prog_STRIP"; then
5174 # Extract the first word of "strip", so it can be a program name with args.
5175 set dummy strip
; ac_word
=$2
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5177 $as_echo_n "checking for $ac_word... " >&6; }
5178 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5179 $as_echo_n "(cached) " >&6
5181 if test -n "$ac_ct_STRIP"; then
5182 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5188 test -z "$as_dir" && as_dir
=.
5189 for ac_exec_ext
in '' $ac_executable_extensions; do
5190 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5191 ac_cv_prog_ac_ct_STRIP
="strip"
5192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5201 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5202 if test -n "$ac_ct_STRIP"; then
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5204 $as_echo "$ac_ct_STRIP" >&6; }
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5207 $as_echo "no" >&6; }
5210 if test "x$ac_ct_STRIP" = x
; then
5213 case $cross_compiling:$ac_tool_warned in
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5216 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5217 ac_tool_warned
=yes ;;
5222 STRIP
="$ac_cv_prog_STRIP"
5227 if test -n "$ac_tool_prefix"; then
5228 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5229 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5231 $as_echo_n "checking for $ac_word... " >&6; }
5232 if ${ac_cv_prog_RANLIB+:} false
; then :
5233 $as_echo_n "(cached) " >&6
5235 if test -n "$RANLIB"; then
5236 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5242 test -z "$as_dir" && as_dir
=.
5243 for ac_exec_ext
in '' $ac_executable_extensions; do
5244 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5245 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5255 RANLIB
=$ac_cv_prog_RANLIB
5256 if test -n "$RANLIB"; then
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5258 $as_echo "$RANLIB" >&6; }
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5261 $as_echo "no" >&6; }
5266 if test -z "$ac_cv_prog_RANLIB"; then
5267 ac_ct_RANLIB
=$RANLIB
5268 # Extract the first word of "ranlib", so it can be a program name with args.
5269 set dummy ranlib
; ac_word
=$2
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5271 $as_echo_n "checking for $ac_word... " >&6; }
5272 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5273 $as_echo_n "(cached) " >&6
5275 if test -n "$ac_ct_RANLIB"; then
5276 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5282 test -z "$as_dir" && as_dir
=.
5283 for ac_exec_ext
in '' $ac_executable_extensions; do
5284 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5285 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5295 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5296 if test -n "$ac_ct_RANLIB"; then
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5298 $as_echo "$ac_ct_RANLIB" >&6; }
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5301 $as_echo "no" >&6; }
5304 if test "x$ac_ct_RANLIB" = x
; then
5307 case $cross_compiling:$ac_tool_warned in
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5310 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5311 ac_tool_warned
=yes ;;
5313 RANLIB
=$ac_ct_RANLIB
5316 RANLIB
="$ac_cv_prog_RANLIB"
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5320 $as_echo_n "checking whether ln -s works... " >&6; }
5322 if test "$LN_S" = "ln -s"; then
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5324 $as_echo "yes" >&6; }
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5327 $as_echo "no, using $LN_S" >&6; }
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5331 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5332 if ${ac_cv_path_GREP+:} false
; then :
5333 $as_echo_n "(cached) " >&6
5335 if test -z "$GREP"; then
5336 ac_path_GREP_found
=false
5337 # Loop through the user's path and test for each of PROGNAME-LIST
5338 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5339 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5342 test -z "$as_dir" && as_dir
=.
5343 for ac_prog
in grep ggrep
; do
5344 for ac_exec_ext
in '' $ac_executable_extensions; do
5345 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5346 as_fn_executable_p
"$ac_path_GREP" ||
continue
5347 # Check for GNU ac_path_GREP and select it if it is found.
5348 # Check for GNU $ac_path_GREP
5349 case `"$ac_path_GREP" --version 2>&1` in
5351 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5354 $as_echo_n 0123456789 >"conftest.in"
5357 cat "conftest.in" "conftest.in" >"conftest.tmp"
5358 mv "conftest.tmp" "conftest.in"
5359 cp "conftest.in" "conftest.nl"
5360 $as_echo 'GREP' >> "conftest.nl"
5361 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5362 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5363 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5364 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5365 # Best one so far, save it but keep looking for a better one
5366 ac_cv_path_GREP
="$ac_path_GREP"
5367 ac_path_GREP_max
=$ac_count
5369 # 10*(2^10) chars as input seems more than enough
5370 test $ac_count -gt 10 && break
5372 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5375 $ac_path_GREP_found && break 3
5380 if test -z "$ac_cv_path_GREP"; then
5381 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5384 ac_cv_path_GREP
=$GREP
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5389 $as_echo "$ac_cv_path_GREP" >&6; }
5390 GREP
="$ac_cv_path_GREP"
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5394 $as_echo_n "checking for egrep... " >&6; }
5395 if ${ac_cv_path_EGREP+:} false
; then :
5396 $as_echo_n "(cached) " >&6
5398 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5399 then ac_cv_path_EGREP
="$GREP -E"
5401 if test -z "$EGREP"; then
5402 ac_path_EGREP_found
=false
5403 # Loop through the user's path and test for each of PROGNAME-LIST
5404 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5405 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5408 test -z "$as_dir" && as_dir
=.
5409 for ac_prog
in egrep; do
5410 for ac_exec_ext
in '' $ac_executable_extensions; do
5411 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5412 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5413 # Check for GNU ac_path_EGREP and select it if it is found.
5414 # Check for GNU $ac_path_EGREP
5415 case `"$ac_path_EGREP" --version 2>&1` in
5417 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5420 $as_echo_n 0123456789 >"conftest.in"
5423 cat "conftest.in" "conftest.in" >"conftest.tmp"
5424 mv "conftest.tmp" "conftest.in"
5425 cp "conftest.in" "conftest.nl"
5426 $as_echo 'EGREP' >> "conftest.nl"
5427 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5428 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5429 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5430 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5431 # Best one so far, save it but keep looking for a better one
5432 ac_cv_path_EGREP
="$ac_path_EGREP"
5433 ac_path_EGREP_max
=$ac_count
5435 # 10*(2^10) chars as input seems more than enough
5436 test $ac_count -gt 10 && break
5438 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5441 $ac_path_EGREP_found && break 3
5446 if test -z "$ac_cv_path_EGREP"; then
5447 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5450 ac_cv_path_EGREP
=$EGREP
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5456 $as_echo "$ac_cv_path_EGREP" >&6; }
5457 EGREP
="$ac_cv_path_EGREP"
5460 # Extract the first word of "ldconfig", so it can be a program name with args.
5461 set dummy ldconfig
; ac_word
=$2
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5463 $as_echo_n "checking for $ac_word... " >&6; }
5464 if ${ac_cv_path_LDCONFIG+:} false
; then :
5465 $as_echo_n "(cached) " >&6
5469 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5472 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5473 for as_dir
in /sbin
/usr
/sbin
$PATH
5476 test -z "$as_dir" && as_dir
=.
5477 for ac_exec_ext
in '' $ac_executable_extensions; do
5478 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5479 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5487 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5491 LDCONFIG
=$ac_cv_path_LDCONFIG
5492 if test -n "$LDCONFIG"; then
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5494 $as_echo "$LDCONFIG" >&6; }
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5497 $as_echo "no" >&6; }
5501 for ac_prog
in msgfmt
5503 # Extract the first word of "$ac_prog", so it can be a program name with args.
5504 set dummy
$ac_prog; ac_word
=$2
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5506 $as_echo_n "checking for $ac_word... " >&6; }
5507 if ${ac_cv_prog_MSGFMT+:} false
; then :
5508 $as_echo_n "(cached) " >&6
5510 if test -n "$MSGFMT"; then
5511 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5513 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5517 test -z "$as_dir" && as_dir
=.
5518 for ac_exec_ext
in '' $ac_executable_extensions; do
5519 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5520 ac_cv_prog_MSGFMT
="$ac_prog"
5521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5530 MSGFMT
=$ac_cv_prog_MSGFMT
5531 if test -n "$MSGFMT"; then
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5533 $as_echo "$MSGFMT" >&6; }
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5536 $as_echo "no" >&6; }
5540 test -n "$MSGFMT" && break
5542 test -n "$MSGFMT" || MSGFMT
="false"
5544 if ${ac_tool_prefix+:} false
; then :
5545 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5546 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5548 $as_echo_n "checking for $ac_word... " >&6; }
5549 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5550 $as_echo_n "(cached) " >&6
5552 if test -n "$PKG_CONFIG"; then
5553 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5555 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5559 test -z "$as_dir" && as_dir
=.
5560 for ac_exec_ext
in '' $ac_executable_extensions; do
5561 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5562 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5572 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5573 if test -n "$PKG_CONFIG"; then
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5575 $as_echo "$PKG_CONFIG" >&6; }
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5578 $as_echo "no" >&6; }
5583 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5584 if test "x$cross_compiling" = xyes
; then :
5587 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5588 # Extract the first word of "pkg-config", so it can be a program name with args.
5589 set dummy pkg-config
; ac_word
=$2
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5591 $as_echo_n "checking for $ac_word... " >&6; }
5592 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5593 $as_echo_n "(cached) " >&6
5595 if test -n "$PKG_CONFIG"; then
5596 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5598 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5602 test -z "$as_dir" && as_dir
=.
5603 for ac_exec_ext
in '' $ac_executable_extensions; do
5604 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5605 ac_cv_prog_PKG_CONFIG
="pkg-config"
5606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5615 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5616 if test -n "$PKG_CONFIG"; then
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5618 $as_echo "$PKG_CONFIG" >&6; }
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5621 $as_echo "no" >&6; }
5627 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5630 if test "x$enable_maintainer_mode" != "xyes"
5637 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5638 for ac_prog
in fontforge
5640 # Extract the first word of "$ac_prog", so it can be a program name with args.
5641 set dummy
$ac_prog; ac_word
=$2
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5643 $as_echo_n "checking for $ac_word... " >&6; }
5644 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5645 $as_echo_n "(cached) " >&6
5647 if test -n "$FONTFORGE"; then
5648 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5650 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5654 test -z "$as_dir" && as_dir
=.
5655 for ac_exec_ext
in '' $ac_executable_extensions; do
5656 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5657 ac_cv_prog_FONTFORGE
="$ac_prog"
5658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5667 FONTFORGE
=$ac_cv_prog_FONTFORGE
5668 if test -n "$FONTFORGE"; then
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5670 $as_echo "$FONTFORGE" >&6; }
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5673 $as_echo "no" >&6; }
5677 test -n "$FONTFORGE" && break
5679 test -n "$FONTFORGE" || FONTFORGE
="false"
5683 # Extract the first word of "$ac_prog", so it can be a program name with args.
5684 set dummy
$ac_prog; ac_word
=$2
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5686 $as_echo_n "checking for $ac_word... " >&6; }
5687 if ${ac_cv_prog_RSVG+:} false
; then :
5688 $as_echo_n "(cached) " >&6
5690 if test -n "$RSVG"; then
5691 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5693 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5697 test -z "$as_dir" && as_dir
=.
5698 for ac_exec_ext
in '' $ac_executable_extensions; do
5699 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5700 ac_cv_prog_RSVG
="$ac_prog"
5701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5710 RSVG
=$ac_cv_prog_RSVG
5711 if test -n "$RSVG"; then
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5713 $as_echo "$RSVG" >&6; }
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5716 $as_echo "no" >&6; }
5720 test -n "$RSVG" && break
5722 test -n "$RSVG" || RSVG
="false"
5724 for ac_prog
in convert
5726 # Extract the first word of "$ac_prog", so it can be a program name with args.
5727 set dummy
$ac_prog; ac_word
=$2
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5729 $as_echo_n "checking for $ac_word... " >&6; }
5730 if ${ac_cv_prog_CONVERT+:} false
; then :
5731 $as_echo_n "(cached) " >&6
5733 if test -n "$CONVERT"; then
5734 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5736 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5740 test -z "$as_dir" && as_dir
=.
5741 for ac_exec_ext
in '' $ac_executable_extensions; do
5742 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5743 ac_cv_prog_CONVERT
="$ac_prog"
5744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5753 CONVERT
=$ac_cv_prog_CONVERT
5754 if test -n "$CONVERT"; then
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5756 $as_echo "$CONVERT" >&6; }
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5759 $as_echo "no" >&6; }
5763 test -n "$CONVERT" && break
5765 test -n "$CONVERT" || CONVERT
="false"
5767 for ac_prog
in icotool
5769 # Extract the first word of "$ac_prog", so it can be a program name with args.
5770 set dummy
$ac_prog; ac_word
=$2
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5772 $as_echo_n "checking for $ac_word... " >&6; }
5773 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5774 $as_echo_n "(cached) " >&6
5776 if test -n "$ICOTOOL"; then
5777 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5779 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5783 test -z "$as_dir" && as_dir
=.
5784 for ac_exec_ext
in '' $ac_executable_extensions; do
5785 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5786 ac_cv_prog_ICOTOOL
="$ac_prog"
5787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5796 ICOTOOL
=$ac_cv_prog_ICOTOOL
5797 if test -n "$ICOTOOL"; then
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5799 $as_echo "$ICOTOOL" >&6; }
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5802 $as_echo "no" >&6; }
5806 test -n "$ICOTOOL" && break
5808 test -n "$ICOTOOL" || ICOTOOL
="false"
5810 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5811 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5813 if test "$CONVERT" = false
5815 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5818 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5819 convert_version
=`convert --version | head -n1`
5820 if test "x$convert_version" != "x"
5822 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5823 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5824 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5829 if test "$CONVERT" = false
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5832 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5833 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5836 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5840 if test "$ICOTOOL" = false
5842 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5845 $as_echo_n "checking for recent enough icotool... " >&6; }
5846 icotool_version
=`icotool --version | head -n1`
5847 if test "x$icotool_version" != "x"
5849 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5850 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5851 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5854 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5857 if test "$ICOTOOL" = false
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5860 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5861 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5864 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5870 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5873 test "x$with_gettext" != xno || MSGFMT
=false
5874 if test "$MSGFMT" != "false"
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5877 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5878 cat >conftest.po
<<EOF
5884 if $MSGFMT -o /dev
/null conftest.po
2>&5
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5887 $as_echo "yes" >&6; }
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5890 $as_echo "no" >&6; }
5894 if test "$MSGFMT" = false
; then :
5895 case "x$with_gettext" in
5896 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5898 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5899 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5905 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5906 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5907 $as_echo_n "(cached) " >&6
5909 ac_check_lib_save_LIBS
=$LIBS
5911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5912 /* end confdefs.h. */
5914 /* Override any GCC internal prototype to avoid an error.
5915 Use char because int might match the return type of a GCC
5916 builtin and then its argument prototype would still apply. */
5920 char i386_set_ldt ();
5924 return i386_set_ldt ();
5929 if ac_fn_c_try_link
"$LINENO"; then :
5930 ac_cv_lib_i386_i386_set_ldt
=yes
5932 ac_cv_lib_i386_i386_set_ldt
=no
5934 rm -f core conftest.err conftest.
$ac_objext \
5935 conftest
$ac_exeext conftest.
$ac_ext
5936 LIBS
=$ac_check_lib_save_LIBS
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5939 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5940 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5941 cat >>confdefs.h
<<_ACEOF
5942 #define HAVE_LIBI386 1
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5950 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5951 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5952 $as_echo_n "(cached) " >&6
5954 ac_check_lib_save_LIBS
=$LIBS
5955 LIBS
="-lossaudio $LIBS"
5956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5957 /* end confdefs.h. */
5959 /* Override any GCC internal prototype to avoid an error.
5960 Use char because int might match the return type of a GCC
5961 builtin and then its argument prototype would still apply. */
5969 return _oss_ioctl ();
5974 if ac_fn_c_try_link
"$LINENO"; then :
5975 ac_cv_lib_ossaudio__oss_ioctl
=yes
5977 ac_cv_lib_ossaudio__oss_ioctl
=no
5979 rm -f core conftest.err conftest.
$ac_objext \
5980 conftest
$ac_exeext conftest.
$ac_ext
5981 LIBS
=$ac_check_lib_save_LIBS
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5984 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5985 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
5986 cat >>confdefs.h
<<_ACEOF
5987 #define HAVE_LIBOSSAUDIO 1
5990 LIBS
="-lossaudio $LIBS"
5999 # Check whether --enable-largefile was given.
6000 if test "${enable_largefile+set}" = set; then :
6001 enableval
=$enable_largefile;
6004 if test "$enable_largefile" != no
; then
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6007 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6008 if ${ac_cv_sys_largefile_CC+:} false
; then :
6009 $as_echo_n "(cached) " >&6
6011 ac_cv_sys_largefile_CC
=no
6012 if test "$GCC" != yes; then
6015 # IRIX 6.2 and later do not support large files by default,
6016 # so use the C compiler's -n32 option if that helps.
6017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6018 /* end confdefs.h. */
6019 #include <sys/types.h>
6020 /* Check that off_t can represent 2**63 - 1 correctly.
6021 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6022 since some C++ compilers masquerading as C compilers
6023 incorrectly reject 9223372036854775807. */
6024 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6025 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6026 && LARGE_OFF_T % 2147483647 == 1)
6036 if ac_fn_c_try_compile
"$LINENO"; then :
6039 rm -f core conftest.err conftest.
$ac_objext
6041 if ac_fn_c_try_compile
"$LINENO"; then :
6042 ac_cv_sys_largefile_CC
=' -n32'; break
6044 rm -f core conftest.err conftest.
$ac_objext
6048 rm -f conftest.
$ac_ext
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6052 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6053 if test "$ac_cv_sys_largefile_CC" != no
; then
6054 CC
=$CC$ac_cv_sys_largefile_CC
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6058 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6059 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6060 $as_echo_n "(cached) " >&6
6063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6064 /* end confdefs.h. */
6065 #include <sys/types.h>
6066 /* Check that off_t can represent 2**63 - 1 correctly.
6067 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6068 since some C++ compilers masquerading as C compilers
6069 incorrectly reject 9223372036854775807. */
6070 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6071 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6072 && LARGE_OFF_T % 2147483647 == 1)
6082 if ac_fn_c_try_compile
"$LINENO"; then :
6083 ac_cv_sys_file_offset_bits
=no
; break
6085 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6087 /* end confdefs.h. */
6088 #define _FILE_OFFSET_BITS 64
6089 #include <sys/types.h>
6090 /* Check that off_t can represent 2**63 - 1 correctly.
6091 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6092 since some C++ compilers masquerading as C compilers
6093 incorrectly reject 9223372036854775807. */
6094 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6095 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6096 && LARGE_OFF_T % 2147483647 == 1)
6106 if ac_fn_c_try_compile
"$LINENO"; then :
6107 ac_cv_sys_file_offset_bits
=64; break
6109 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6110 ac_cv_sys_file_offset_bits
=unknown
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6115 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6116 case $ac_cv_sys_file_offset_bits in #(
6119 cat >>confdefs.h
<<_ACEOF
6120 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6125 if test $ac_cv_sys_file_offset_bits = unknown
; then
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6127 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6128 if ${ac_cv_sys_large_files+:} false
; then :
6129 $as_echo_n "(cached) " >&6
6132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6133 /* end confdefs.h. */
6134 #include <sys/types.h>
6135 /* Check that off_t can represent 2**63 - 1 correctly.
6136 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6137 since some C++ compilers masquerading as C compilers
6138 incorrectly reject 9223372036854775807. */
6139 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6140 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6141 && LARGE_OFF_T % 2147483647 == 1)
6151 if ac_fn_c_try_compile
"$LINENO"; then :
6152 ac_cv_sys_large_files
=no
; break
6154 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6156 /* end confdefs.h. */
6157 #define _LARGE_FILES 1
6158 #include <sys/types.h>
6159 /* Check that off_t can represent 2**63 - 1 correctly.
6160 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6161 since some C++ compilers masquerading as C compilers
6162 incorrectly reject 9223372036854775807. */
6163 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6164 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6165 && LARGE_OFF_T % 2147483647 == 1)
6175 if ac_fn_c_try_compile
"$LINENO"; then :
6176 ac_cv_sys_large_files
=1; break
6178 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6179 ac_cv_sys_large_files
=unknown
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6184 $as_echo "$ac_cv_sys_large_files" >&6; }
6185 case $ac_cv_sys_large_files in #(
6188 cat >>confdefs.h
<<_ACEOF
6189 #define _LARGE_FILES $ac_cv_sys_large_files
6201 ac_cpp
='$CPP $CPPFLAGS'
6202 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6203 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6204 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6206 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6207 # On Suns, sometimes $CPP names a directory.
6208 if test -n "$CPP" && test -d "$CPP"; then
6211 if test -z "$CPP"; then
6212 if ${ac_cv_prog_CPP+:} false
; then :
6213 $as_echo_n "(cached) " >&6
6215 # Double quotes because CPP needs to be expanded
6216 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6219 for ac_c_preproc_warn_flag
in '' yes
6221 # Use a header file that comes with gcc, so configuring glibc
6222 # with a fresh cross-compiler works.
6223 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6224 # <limits.h> exists even on freestanding compilers.
6225 # On the NeXT, cc -E runs the code through the compiler's parser,
6226 # not just through cpp. "Syntax error" is here to catch this case.
6227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6228 /* end confdefs.h. */
6230 # include <limits.h>
6232 # include <assert.h>
6236 if ac_fn_c_try_cpp
"$LINENO"; then :
6239 # Broken: fails on valid input.
6242 rm -f conftest.err conftest.i conftest.
$ac_ext
6244 # OK, works on sane cases. Now check whether nonexistent headers
6245 # can be detected and how.
6246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6247 /* end confdefs.h. */
6248 #include <ac_nonexistent.h>
6250 if ac_fn_c_try_cpp
"$LINENO"; then :
6251 # Broken: success on invalid input.
6254 # Passes both tests.
6258 rm -f conftest.err conftest.i conftest.
$ac_ext
6261 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6262 rm -f conftest.i conftest.err conftest.
$ac_ext
6263 if $ac_preproc_ok; then :
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6276 $as_echo "$CPP" >&6; }
6278 for ac_c_preproc_warn_flag
in '' yes
6280 # Use a header file that comes with gcc, so configuring glibc
6281 # with a fresh cross-compiler works.
6282 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6283 # <limits.h> exists even on freestanding compilers.
6284 # On the NeXT, cc -E runs the code through the compiler's parser,
6285 # not just through cpp. "Syntax error" is here to catch this case.
6286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6287 /* end confdefs.h. */
6289 # include <limits.h>
6291 # include <assert.h>
6295 if ac_fn_c_try_cpp
"$LINENO"; then :
6298 # Broken: fails on valid input.
6301 rm -f conftest.err conftest.i conftest.
$ac_ext
6303 # OK, works on sane cases. Now check whether nonexistent headers
6304 # can be detected and how.
6305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6306 /* end confdefs.h. */
6307 #include <ac_nonexistent.h>
6309 if ac_fn_c_try_cpp
"$LINENO"; then :
6310 # Broken: success on invalid input.
6313 # Passes both tests.
6317 rm -f conftest.err conftest.i conftest.
$ac_ext
6320 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6321 rm -f conftest.i conftest.err conftest.
$ac_ext
6322 if $ac_preproc_ok; then :
6325 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6326 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6327 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6328 See \`config.log' for more details" "$LINENO" 5; }
6332 ac_cpp
='$CPP $CPPFLAGS'
6333 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6334 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6335 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6339 $as_echo_n "checking for ANSI C header files... " >&6; }
6340 if ${ac_cv_header_stdc+:} false
; then :
6341 $as_echo_n "(cached) " >&6
6343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6344 /* end confdefs.h. */
6358 if ac_fn_c_try_compile
"$LINENO"; then :
6359 ac_cv_header_stdc
=yes
6361 ac_cv_header_stdc
=no
6363 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6365 if test $ac_cv_header_stdc = yes; then
6366 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6368 /* end confdefs.h. */
6372 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6373 $EGREP "memchr" >/dev
/null
2>&1; then :
6376 ac_cv_header_stdc
=no
6382 if test $ac_cv_header_stdc = yes; then
6383 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6385 /* end confdefs.h. */
6389 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6390 $EGREP "free" >/dev
/null
2>&1; then :
6393 ac_cv_header_stdc
=no
6399 if test $ac_cv_header_stdc = yes; then
6400 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6401 if test "$cross_compiling" = yes; then :
6404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6405 /* end confdefs.h. */
6408 #if ((' ' & 0x0FF) == 0x020)
6409 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6410 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6412 # define ISLOWER(c) \
6413 (('a' <= (c) && (c) <= 'i') \
6414 || ('j' <= (c) && (c) <= 'r') \
6415 || ('s' <= (c) && (c) <= 'z'))
6416 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6419 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6424 for (i = 0; i < 256; i++)
6425 if (XOR (islower (i), ISLOWER (i))
6426 || toupper (i) != TOUPPER (i))
6431 if ac_fn_c_try_run
"$LINENO"; then :
6434 ac_cv_header_stdc
=no
6436 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6437 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6443 $as_echo "$ac_cv_header_stdc" >&6; }
6444 if test $ac_cv_header_stdc = yes; then
6446 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6450 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6451 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6452 inttypes.h stdint.h unistd.h
6454 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6455 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6457 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6458 cat >>confdefs.h
<<_ACEOF
6459 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6469 ApplicationServices
/ApplicationServices.h \
6470 AudioToolbox
/AudioConverter.h \
6471 AudioUnit
/AudioUnit.h \
6472 AudioUnit
/AudioComponent.h \
6475 CoreAudio
/CoreAudio.h \
6476 CoreServices
/CoreServices.h \
6477 DiskArbitration
/DiskArbitration.h \
6479 IOKit
/hid
/IOHIDLib.h \
6482 QuickTime
/ImageCompression.h \
6483 Security
/Security.h \
6534 netinet
/in_systm.h \
6596 valgrind
/memcheck.h \
6597 valgrind
/valgrind.h \
6601 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6602 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6603 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6604 cat >>confdefs.h
<<_ACEOF
6605 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6613 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6614 if ${ac_cv_header_stat_broken+:} false
; then :
6615 $as_echo_n "(cached) " >&6
6617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6618 /* end confdefs.h. */
6619 #include <sys/types.h>
6620 #include <sys/stat.h>
6622 #if defined S_ISBLK && defined S_IFDIR
6623 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6626 #if defined S_ISBLK && defined S_IFCHR
6627 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6630 #if defined S_ISLNK && defined S_IFREG
6631 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6634 #if defined S_ISSOCK && defined S_IFREG
6635 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6639 if ac_fn_c_try_compile
"$LINENO"; then :
6640 ac_cv_header_stat_broken
=no
6642 ac_cv_header_stat_broken
=yes
6644 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6647 $as_echo "$ac_cv_header_stat_broken" >&6; }
6648 if test $ac_cv_header_stat_broken = yes; then
6650 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6656 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6658 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6659 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6660 #ifdef HAVE_SYS_PARAM_H
6661 # include <sys/param.h>
6664 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6665 cat >>confdefs.h
<<_ACEOF
6666 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6681 netinet
/if_ether.h \
6682 netinet
/if_inarp.h \
6691 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6692 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6693 #ifdef HAVE_SYS_SOCKET_H
6694 # include <sys/socket.h>
6696 #ifdef HAVE_SYS_SOCKETVAR_H
6697 # include <sys/socketvar.h>
6699 #ifdef HAVE_NET_ROUTE_H
6700 # include <net/route.h>
6702 #ifdef HAVE_NETINET_IN_H
6703 # include <netinet/in.h>
6705 #ifdef HAVE_NETINET_IN_SYSTM_H
6706 # include <netinet/in_systm.h>
6708 #ifdef HAVE_NET_IF_H
6709 # include <net/if.h>
6711 #ifdef HAVE_NETINET_IP_H
6712 # include <netinet/ip.h>
6715 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6716 cat >>confdefs.h
<<_ACEOF
6717 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6725 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6727 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6728 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6732 #ifdef HAVE_SYS_SOCKET_H
6733 # include <sys/socket.h>
6735 #ifdef HAVE_SYS_SOCKETVAR_H
6736 # include <sys/socketvar.h>
6738 #ifdef HAVE_SYS_TIMEOUT_H
6739 # include <sys/timeout.h>
6741 #ifdef HAVE_NETINET_IN_H
6742 # include <netinet/in.h>
6744 #ifdef HAVE_NETINET_IN_SYSTM_H
6745 # include <netinet/in_systm.h>
6747 #ifdef HAVE_NETINET_IP_H
6748 # include <netinet/ip.h>
6750 #ifdef HAVE_NETINET_IP_VAR_H
6751 # include <netinet/ip_var.h>
6753 #ifdef HAVE_NETINET_IP_ICMP_H
6754 # include <netinet/ip_icmp.h>
6756 #ifdef HAVE_NETINET_UDP_H
6757 # include <netinet/udp.h>
6759 #ifdef HAVE_NETINET_TCP_H
6760 # include <netinet/tcp.h>
6762 #ifdef HAVE_NETINET_TCP_TIMER_H
6763 #include <netinet/tcp_timer.h>
6766 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6767 cat >>confdefs.h
<<_ACEOF
6768 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6776 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6778 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6779 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6780 #ifdef HAVE_ASM_TYPES_H
6781 # include <asm/types.h>
6783 #ifdef HAVE_SYS_SOCKET_H
6784 # include <sys/socket.h>
6786 #ifdef HAVE_LINUX_TYPES_H
6787 # include <linux/types.h>
6790 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6791 cat >>confdefs.h
<<_ACEOF
6792 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6800 for ac_header
in mach-o
/dyld_images.h
6802 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6803 # include <stdbool.h>
6805 #ifdef HAVE_STDINT_H
6806 # include <stdint.h>
6809 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6810 cat >>confdefs.h
<<_ACEOF
6811 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6819 for ac_header
in resolv.h
6821 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6822 #ifdef HAVE_SYS_SOCKET_H
6823 # include <sys/socket.h>
6825 #ifdef HAVE_NETINET_IN_H
6826 # include <netinet/in.h>
6828 #ifdef HAVE_ARPA_NAMESER_H
6829 # include <arpa/nameser.h>
6832 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6833 cat >>confdefs.h
<<_ACEOF
6834 #define HAVE_RESOLV_H 1
6842 for ac_header
in ifaddrs.h
6844 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6846 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6847 cat >>confdefs.h
<<_ACEOF
6848 #define HAVE_IFADDRS_H 1
6856 for ac_header
in sys
/ucontext.h
6858 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6860 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
6861 cat >>confdefs.h
<<_ACEOF
6862 #define HAVE_SYS_UCONTEXT_H 1
6870 for ac_header
in sys
/thr.h
6872 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6873 #ifdef HAVE_SYS_UCONTEXT_H
6874 #include <sys/ucontext.h>
6877 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6878 cat >>confdefs.h
<<_ACEOF
6879 #define HAVE_SYS_THR_H 1
6887 for ac_header
in pthread_np.h
6889 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6890 #include <pthread.h>
6893 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6894 cat >>confdefs.h
<<_ACEOF
6895 #define HAVE_PTHREAD_NP_H 1
6903 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
6905 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6906 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6907 #include <sys/time.h>
6909 #include <sys/types.h>
6910 #ifdef HAVE_ASM_TYPES_H
6911 #include <asm/types.h>
6914 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6915 cat >>confdefs.h
<<_ACEOF
6916 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6924 for ac_header
in libprocstat.h
6926 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6927 #include <sys/param.h>
6929 #ifdef HAVE_SYS_QUEUE_H
6930 #include <sys/queue.h>
6932 #ifdef HAVE_SYS_SOCKET_H
6933 #include <sys/socket.h>
6936 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
6937 cat >>confdefs.h
<<_ACEOF
6938 #define HAVE_LIBPROCSTAT_H 1
6947 dlldir
="\${libdir}/wine"
6951 DLLFLAGS
="-D_REENTRANT"
6960 STATIC_IMPLIBEXT
="def.a"
6961 # Extract the first word of "ldd", so it can be a program name with args.
6962 set dummy ldd
; ac_word
=$2
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6964 $as_echo_n "checking for $ac_word... " >&6; }
6965 if ${ac_cv_path_LDD+:} false
; then :
6966 $as_echo_n "(cached) " >&6
6970 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6973 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6974 as_dummy
="/sbin:/usr/sbin:$PATH"
6975 for as_dir
in $as_dummy
6978 test -z "$as_dir" && as_dir
=.
6979 for ac_exec_ext
in '' $ac_executable_extensions; do
6980 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6981 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6989 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6994 if test -n "$LDD"; then
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6996 $as_echo "$LDD" >&6; }
6998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6999 $as_echo "no" >&6; }
7003 if test -n "$ac_tool_prefix"; then
7004 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7005 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7007 $as_echo_n "checking for $ac_word... " >&6; }
7008 if ${ac_cv_prog_READELF+:} false
; then :
7009 $as_echo_n "(cached) " >&6
7011 if test -n "$READELF"; then
7012 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7014 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7018 test -z "$as_dir" && as_dir
=.
7019 for ac_exec_ext
in '' $ac_executable_extensions; do
7020 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7021 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7031 READELF
=$ac_cv_prog_READELF
7032 if test -n "$READELF"; then
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7034 $as_echo "$READELF" >&6; }
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7037 $as_echo "no" >&6; }
7042 if test -z "$ac_cv_prog_READELF"; then
7043 ac_ct_READELF
=$READELF
7044 # Extract the first word of "readelf", so it can be a program name with args.
7045 set dummy readelf
; ac_word
=$2
7046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7047 $as_echo_n "checking for $ac_word... " >&6; }
7048 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7049 $as_echo_n "(cached) " >&6
7051 if test -n "$ac_ct_READELF"; then
7052 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7054 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7058 test -z "$as_dir" && as_dir
=.
7059 for ac_exec_ext
in '' $ac_executable_extensions; do
7060 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7061 ac_cv_prog_ac_ct_READELF
="readelf"
7062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7071 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7072 if test -n "$ac_ct_READELF"; then
7073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7074 $as_echo "$ac_ct_READELF" >&6; }
7076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7077 $as_echo "no" >&6; }
7080 if test "x$ac_ct_READELF" = x
; then
7083 case $cross_compiling:$ac_tool_warned in
7085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7086 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7087 ac_tool_warned
=yes ;;
7089 READELF
=$ac_ct_READELF
7092 READELF
="$ac_cv_prog_READELF"
7095 wine_rules_file
=conf$
$rules.
make
7096 rm -f $wine_rules_file
7098 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7099 ALL_TEST_RESOURCES
=""
7102 wine_fn_append_file
()
7104 as_fn_append
$1 " \\$as_nl $2"
7107 wine_fn_ignore_file
()
7110 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7111 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7112 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7116 wine_fn_append_rule
()
7118 $as_echo "$1" >>$wine_rules_file
7123 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7126 wine_fn_depend_rules
()
7128 wine_fn_append_rule \
7129 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7130 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7131 depend: $ac_dir/depend
7132 .PHONY: $ac_dir/depend
7133 $ac_dir/depend: \$(MAKEDEP) dummy
7134 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7137 wine_fn_pot_rules
()
7139 test "x$with_gettextpo" = xyes ||
return
7141 if wine_fn_has_flag mc
7143 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7144 wine_fn_append_rule \
7145 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7146 @cd $ac_dir && \$(MAKE) msg.pot
7147 $ac_dir/msg.pot: tools/wmc include"
7149 if wine_fn_has_flag po
7151 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7152 wine_fn_append_rule \
7153 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7154 @cd $ac_dir && \$(MAKE) rsrc.pot
7155 $ac_dir/rsrc.pot: tools/wrc include"
7159 wine_fn_all_rules
()
7161 wine_fn_depend_rules
7162 wine_fn_append_rule \
7165 $ac_dir: $ac_dir/Makefile dummy
7166 @cd $ac_dir && \$(MAKE)"
7169 wine_fn_install_rules
()
7171 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7173 wine_fn_append_rule \
7174 ".PHONY: $ac_dir/install $ac_dir/uninstall
7175 $ac_dir/install:: $ac_dir
7176 @cd $ac_dir && \$(MAKE) install
7177 $ac_dir/uninstall:: $ac_dir/Makefile
7178 @cd $ac_dir && \$(MAKE) uninstall
7179 install:: $ac_dir/install
7180 __uninstall__: $ac_dir/uninstall"
7182 if wine_fn_has_flag install-lib
7184 wine_fn_append_rule \
7185 ".PHONY: $ac_dir/install-lib
7186 $ac_dir/install-lib:: $ac_dir
7187 @cd $ac_dir && \$(MAKE) install-lib
7188 install-lib:: $ac_dir/install-lib"
7191 if wine_fn_has_flag install-dev
7193 wine_fn_append_rule \
7194 ".PHONY: $ac_dir/install-dev
7195 $ac_dir/install-dev:: $ac_dir
7196 @cd $ac_dir && \$(MAKE) install-dev
7197 install-dev:: $ac_dir/install-dev"
7201 wine_fn_clean_rules
()
7204 ac_extraclean
="$ac_dir/Makefile"
7205 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7207 */tests
) ac_extraclean
="$ac_extraclean $ac_dir/testlist.c" ;;
7210 if wine_fn_has_flag clean
7212 wine_fn_append_rule \
7213 "__clean__: $ac_dir/clean
7214 .PHONY: $ac_dir/clean
7215 $ac_dir/clean: $ac_dir/Makefile
7216 @cd $ac_dir && \$(MAKE) clean
7217 \$(RM) $ac_extraclean"
7219 wine_fn_append_rule \
7220 "__clean__: $ac_dir/clean
7221 .PHONY: $ac_dir/clean
7222 $ac_dir/clean: dummy
7223 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7227 wine_fn_disabled_rules
()
7230 ac_extraclean
="$ac_dir/Makefile"
7231 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7233 wine_fn_append_rule \
7234 "__clean__: $ac_dir/clean
7235 .PHONY: $ac_dir/clean
7236 $ac_dir/clean: dummy
7237 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7240 wine_fn_config_makefile
()
7246 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7247 wine_fn_disabled_rules
; return
7250 wine_fn_install_rules
7254 wine_fn_config_lib
()
7258 ac_dir
=dlls
/$ac_name
7261 if test "x$enable_tools" = xno
; then :
7264 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7269 wine_fn_append_rule \
7270 ".PHONY: $ac_dir/install $ac_dir/uninstall
7271 $ac_dir/install:: $ac_dir
7272 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7274 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7275 install install-dev:: $ac_dir/install
7276 __uninstall__: $ac_dir/uninstall
7277 __builddeps__: $ac_dir
7281 wine_fn_config_dll
()
7284 ac_dir
=dlls
/$ac_name
7287 ac_implib
=${4:-$ac_name}
7288 ac_file
=$ac_dir/lib
$ac_implib
7293 if test "x$enable_tools" = xno
; then :
7296 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7299 *16) ac_implibflags
=" -m16" ;;
7301 *) ac_dll
=$ac_dll.dll
;;
7305 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7306 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7307 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7308 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7310 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7311 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
7313 wine_fn_depend_rules
7314 wine_fn_clean_rules
$ac_clean
7316 wine_fn_disabled_rules
$ac_clean
7321 wine_fn_clean_rules
$ac_clean
7322 wine_fn_append_rule \
7323 "$ac_dir: __builddeps__
7324 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7325 @cd $ac_dir && \$(MAKE) \$@
7326 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7327 install install-lib:: $ac_dir/install-lib
7328 __uninstall__: $ac_dir/uninstall"
7329 if test -n "$DLLEXT"
7331 wine_fn_append_rule \
7332 "$ac_dir/install-lib:: $ac_dir
7333 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7334 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7336 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7338 wine_fn_append_rule \
7339 "$ac_dir/install-lib:: $ac_dir
7340 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7342 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7348 if wine_fn_has_flag staticimplib
7350 wine_fn_append_rule \
7351 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7352 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7353 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7354 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7355 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7356 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7357 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7358 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7359 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7361 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7362 install install-dev:: $ac_dir/install-dev
7363 __uninstall__: $ac_dir/uninstall"
7365 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7367 wine_fn_append_rule \
7368 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7369 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7371 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7374 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7376 wine_fn_append_rule \
7377 "__builddeps__: $ac_file.cross.a
7378 $ac_file.cross.a: $ac_dir/Makefile dummy
7379 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7382 elif wine_fn_has_flag implib
7384 wine_fn_append_rule \
7385 "__builddeps__: $ac_file.$IMPLIBEXT
7386 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7387 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7388 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7389 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7390 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7391 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7392 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7394 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7395 install install-dev:: $ac_dir/install-dev
7396 __uninstall__: $ac_dir/uninstall"
7397 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7399 wine_fn_append_rule \
7400 "__builddeps__: $ac_file.cross.a
7401 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7402 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7405 if test "$ac_name" != "$ac_implib"
7407 wine_fn_append_rule \
7408 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7409 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7410 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7412 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7413 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7414 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7416 wine_fn_append_rule \
7417 "__builddeps__: dlls/lib$ac_implib.cross.a
7418 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7419 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7421 \$(RM) dlls/lib$ac_implib.cross.a"
7422 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7428 wine_fn_config_program
()
7431 ac_dir
=programs
/$ac_name
7438 *) ac_program
=$ac_program.exe
;;
7442 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7443 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7444 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7445 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7447 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7448 wine_fn_disabled_rules
$ac_clean; return
7452 wine_fn_clean_rules
$ac_clean
7453 wine_fn_append_rule
"$ac_dir: __builddeps__"
7456 wine_fn_has_flag
install ||
return
7457 wine_fn_append_rule \
7458 ".PHONY: $ac_dir/install $ac_dir/uninstall
7459 install install-lib:: $ac_dir/install
7460 __uninstall__: $ac_dir/uninstall"
7462 if test -n "$DLLEXT"
7464 wine_fn_append_rule \
7465 "$ac_dir/install:: $ac_dir
7466 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7467 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7469 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7471 if test -z "$with_wine64" && wine_fn_has_flag installbin
7473 wine_fn_append_rule \
7474 "$ac_dir/install:: __tooldeps__
7475 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7477 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7480 wine_fn_append_rule \
7481 "$ac_dir/install:: $ac_dir
7482 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7484 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7487 if test -z "$with_wine64" && wine_fn_has_flag manpage
7489 wine_fn_append_rule \
7490 "$ac_dir/install:: $ac_dir
7491 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7493 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7497 wine_fn_config_test
()
7504 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7505 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7507 if test "x$enable_tests" = xno
; then :
7508 wine_fn_disabled_rules
$ac_clean; return
7511 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7513 wine_fn_clean_rules
$ac_clean
7515 wine_fn_append_rule \
7516 "$ac_dir: programs/winetest/Makefile __builddeps__
7517 programs/winetest: $ac_dir
7518 check test: $ac_dir/test
7519 .PHONY: $ac_dir/test
7521 @cd $ac_dir && \$(MAKE) test
7523 \$(RM) $ac_dir/*.ok"
7525 if test -n "$CROSSTARGET"
7527 wine_fn_append_rule \
7528 "crosstest: $ac_dir/crosstest
7529 .PHONY: $ac_dir/crosstest
7530 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7531 @cd $ac_dir && \$(MAKE) crosstest"
7535 wine_fn_config_tool
()
7539 if test "x$enable_tools" = xno
; then :
7544 wine_fn_install_rules
7547 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7548 wine_fn_append_rule
"$ac_dir: libs/port"
7550 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7554 wine_fn_config_symlink
()
7557 if test "x$1" = "x-d"
7563 wine_fn_append_rule \
7565 @./config.status \$@
7568 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7569 test -n "$ac_linkdir" ||
return
7570 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7574 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7575 loader_programs
="$wine_binary wine-installed"
7576 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7581 install install-lib:: wine-installed
7582 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7585 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7591 if test -n "$ac_tool_prefix"; then
7592 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7593 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7595 $as_echo_n "checking for $ac_word... " >&6; }
7596 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7597 $as_echo_n "(cached) " >&6
7599 if test -n "$DLLTOOL"; then
7600 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7602 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7606 test -z "$as_dir" && as_dir
=.
7607 for ac_exec_ext
in '' $ac_executable_extensions; do
7608 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7609 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7619 DLLTOOL
=$ac_cv_prog_DLLTOOL
7620 if test -n "$DLLTOOL"; then
7621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7622 $as_echo "$DLLTOOL" >&6; }
7624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7625 $as_echo "no" >&6; }
7630 if test -z "$ac_cv_prog_DLLTOOL"; then
7631 ac_ct_DLLTOOL
=$DLLTOOL
7632 # Extract the first word of "dlltool", so it can be a program name with args.
7633 set dummy dlltool
; ac_word
=$2
7634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7635 $as_echo_n "checking for $ac_word... " >&6; }
7636 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7637 $as_echo_n "(cached) " >&6
7639 if test -n "$ac_ct_DLLTOOL"; then
7640 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7642 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7646 test -z "$as_dir" && as_dir
=.
7647 for ac_exec_ext
in '' $ac_executable_extensions; do
7648 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7649 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7659 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7660 if test -n "$ac_ct_DLLTOOL"; then
7661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7662 $as_echo "$ac_ct_DLLTOOL" >&6; }
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7665 $as_echo "no" >&6; }
7668 if test "x$ac_ct_DLLTOOL" = x
; then
7671 case $cross_compiling:$ac_tool_warned in
7673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7674 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7675 ac_tool_warned
=yes ;;
7677 DLLTOOL
=$ac_ct_DLLTOOL
7680 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7686 STATIC_IMPLIBEXT
="a"
7687 enable_iphlpapi
=${enable_iphlpapi:-no}
7688 enable_kernel32
=${enable_kernel32:-no}
7689 enable_msvcrt
=${enable_msvcrt:-no}
7690 enable_ntdll
=${enable_ntdll:-no}
7691 enable_ws2_32
=${enable_ws2_32:-no}
7692 enable_loader
=${enable_loader:-no}
7693 enable_server
=${enable_server:-no}
7694 with_x
=${with_x:-no}
7695 with_pthread
=${with_pthread:-no}
7701 SOCKET_LIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7705 libwine_targets
="libwine.dll libwine.a"
7707 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7709 all: libwine.dll libwine.a
7711 libwine.a: \$(srcdir)/wine.def
7712 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7714 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7715 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7717 install install-lib:: libwine.dll
7718 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7720 install install-dev:: libwine.a
7721 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7724 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7731 DLLFLAGS
="$DLLFLAGS -fPIC"
7732 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7733 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7734 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7735 COREFOUNDATION_LIBS
="-framework CoreFoundation"
7737 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
7739 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
7741 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
7743 CORESERVICES_LIBS
="-framework CoreServices"
7745 APPKIT_LIBS
="-framework AppKit"
7747 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7749 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7750 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
7751 $as_echo_n "(cached) " >&6
7753 ac_wine_try_cflags_saved
=$CFLAGS
7754 CFLAGS
="$CFLAGS -Wl,-no_pie"
7755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7756 /* end confdefs.h. */
7757 int main(int argc, char **argv) { return 0; }
7759 if ac_fn_c_try_link
"$LINENO"; then :
7760 ac_cv_cflags__Wl__no_pie
=yes
7762 ac_cv_cflags__Wl__no_pie
=no
7764 rm -f core conftest.err conftest.
$ac_objext \
7765 conftest
$ac_exeext conftest.
$ac_ext
7766 CFLAGS
=$ac_wine_try_cflags_saved
7768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7769 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7770 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
7771 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
7773 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7775 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
7778 if test "$ac_cv_header_Security_Security_h" = "yes"
7780 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
7782 ac_save_LIBS
="$LIBS"
7783 LIBS
="$LIBS $SECURITY_LIBS"
7784 for ac_func
in SSLCopyPeerCertificates
7786 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7787 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7788 cat >>confdefs.h
<<_ACEOF
7789 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7795 LIBS
="$ac_save_LIBS"
7796 with_gnutls
=${with_gnutls:-no}
7798 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7800 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7802 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7805 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7808 ac_save_LIBS
="$LIBS"
7809 LIBS
="$LIBS $COREAUDIO_LIBS"
7810 for ac_func
in AUGraphAddNode
7812 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7813 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7814 cat >>confdefs.h
<<_ACEOF
7815 #define HAVE_AUGRAPHADDNODE 1
7821 LIBS
="$ac_save_LIBS"
7823 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7825 OPENAL_LIBS
="-framework OpenAL"
7828 cat >>confdefs.h
<<_ACEOF
7829 #define HAVE_OPENAL 1
7832 ac_cv_lib_openal
=yes
7834 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7836 OPENCL_LIBS
="-framework OpenCL"
7838 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7840 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7842 ac_save_LIBS
="$LIBS"
7843 LIBS
="$LIBS $IOKIT_LIBS"
7844 for ac_func
in IOHIDManagerCreate
7846 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7847 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7848 cat >>confdefs.h
<<_ACEOF
7849 #define HAVE_IOHIDMANAGERCREATE 1
7855 LIBS
="$ac_save_LIBS"
7857 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7859 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7861 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
7863 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7865 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7867 CARBON_LIBS
="-framework Carbon"
7871 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7873 ac_save_LIBS
="$LIBS"
7874 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
7875 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7876 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
7877 enable_winemac_drv
=${enable_winemac_drv:-yes}
7880 LIBS
="$ac_save_LIBS"
7883 if test "x$enable_win16" = "xyes"
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7886 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7887 if test "$cross_compiling" = yes; then :
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7889 $as_echo "cross-compiling, assuming yes" >&6; }
7891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7892 /* end confdefs.h. */
7895 "good:\tnop;nop\n\t"
7896 ".globl _testfunc\n"
7897 "_testfunc:\tcallw good");
7898 extern void testfunc();
7902 unsigned short *p = (unsigned short *)testfunc;
7903 return p[0] != 0xe866 || p[1] != 0xfffa
7908 if ac_fn_c_try_run
"$LINENO"; then :
7909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7910 $as_echo "yes" >&6; }
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7913 $as_echo "no" >&6; }
7914 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
7916 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7917 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7922 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7924 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7928 libwine.$libwine_version.dylib: \$(OBJS)
7929 \$(CC) -dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7931 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7932 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7934 libwine.dylib: libwine.$libwine_soversion.dylib
7935 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7937 install install-lib:: libwine.$libwine_version.dylib
7938 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7939 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7941 install install-dev::
7942 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7945 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7949 as_fn_append LOADER_RULES
"
7950 $wine_binary: main.o wine_info.plist
7951 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7953 wine-installed: main.o wine_info.plist
7954 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7959 DLLFLAGS
="$DLLFLAGS -fPIC"
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7964 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7965 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7966 $as_echo_n "(cached) " >&6
7968 ac_wine_try_cflags_saved
=$CFLAGS
7969 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7971 /* end confdefs.h. */
7972 int main(int argc, char **argv) { return 0; }
7974 if ac_fn_c_try_link
"$LINENO"; then :
7975 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7977 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7979 rm -f core conftest.err conftest.
$ac_objext \
7980 conftest
$ac_exeext conftest.
$ac_ext
7981 CFLAGS
=$ac_wine_try_cflags_saved
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7984 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7985 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
7986 LDEXECFLAGS
="-Wl,--export-dynamic"
7988 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7990 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7991 if eval \
${$as_ac_var+:} false
; then :
7992 $as_echo_n "(cached) " >&6
7994 ac_wine_try_cflags_saved
=$CFLAGS
7995 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7997 /* end confdefs.h. */
7998 int main(int argc, char **argv) { return 0; }
8000 if ac_fn_c_try_link
"$LINENO"; then :
8001 eval "$as_ac_var=yes"
8003 eval "$as_ac_var=no"
8005 rm -f core conftest.err conftest.
$ac_objext \
8006 conftest
$ac_exeext conftest.
$ac_ext
8007 CFLAGS
=$ac_wine_try_cflags_saved
8009 eval ac_res
=\$
$as_ac_var
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8011 $as_echo "$ac_res" >&6; }
8012 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8013 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8014 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8016 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8018 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8019 if eval \
${$as_ac_var+:} false
; then :
8020 $as_echo_n "(cached) " >&6
8022 ac_wine_try_cflags_saved
=$CFLAGS
8023 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8025 /* end confdefs.h. */
8026 int main(int argc, char **argv) { return 0; }
8028 if ac_fn_c_try_link
"$LINENO"; then :
8029 eval "$as_ac_var=yes"
8031 eval "$as_ac_var=no"
8033 rm -f core conftest.err conftest.
$ac_objext \
8034 conftest
$ac_exeext conftest.
$ac_ext
8035 CFLAGS
=$ac_wine_try_cflags_saved
8037 eval ac_res
=\$
$as_ac_var
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8039 $as_echo "$ac_res" >&6; }
8040 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8041 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8042 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8047 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8048 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8049 $as_echo_n "(cached) " >&6
8051 ac_wine_try_cflags_saved
=$CFLAGS
8052 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8054 /* end confdefs.h. */
8055 int main(int argc, char **argv) { return 0; }
8057 if ac_fn_c_try_link
"$LINENO"; then :
8058 ac_cv_cflags__Wl___enable_new_dtags
=yes
8060 ac_cv_cflags__Wl___enable_new_dtags
=no
8062 rm -f core conftest.err conftest.
$ac_objext \
8063 conftest
$ac_exeext conftest.
$ac_ext
8064 CFLAGS
=$ac_wine_try_cflags_saved
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8067 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8068 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8069 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8073 *i
[3456789]86* | x86_64
)
8074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8075 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8076 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8077 $as_echo_n "(cached) " >&6
8079 ac_wine_try_cflags_saved
=$CFLAGS
8080 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8082 /* end confdefs.h. */
8083 int main(int argc, char **argv) { return 0; }
8085 if ac_fn_c_try_link
"$LINENO"; then :
8086 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8088 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8090 rm -f core conftest.err conftest.
$ac_objext \
8091 conftest
$ac_exeext conftest.
$ac_ext
8092 CFLAGS
=$ac_wine_try_cflags_saved
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8095 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8096 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8097 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8102 libwine_targets
="libwine.so"
8104 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8108 libwine.so: \$(OBJS)
8109 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8111 install install-lib:: libwine.so
8112 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8115 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8119 as_fn_append LOADER_RULES
"
8120 $wine_binary: main.o
8121 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8123 wine-installed: main.o
8124 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8129 DLLFLAGS
="$DLLFLAGS -fPIC"
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8132 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8133 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8134 $as_echo_n "(cached) " >&6
8136 ac_wine_try_cflags_saved
=$CFLAGS
8137 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8139 /* end confdefs.h. */
8142 if ac_fn_c_try_link
"$LINENO"; then :
8143 ac_cv_c_dll_gnuelf
="yes"
8145 ac_cv_c_dll_gnuelf
="no"
8147 rm -f core conftest.err conftest.
$ac_objext \
8148 conftest
$ac_exeext conftest.
$ac_ext
8149 CFLAGS
=$ac_wine_try_cflags_saved
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8152 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8153 if test "$ac_cv_c_dll_gnuelf" = "yes"
8155 LDSHARED
="\$(CC) -shared"
8156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8157 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8158 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8159 $as_echo_n "(cached) " >&6
8161 ac_wine_try_cflags_saved
=$CFLAGS
8162 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8164 /* end confdefs.h. */
8165 int main(int argc, char **argv) { return 0; }
8167 if ac_fn_c_try_link
"$LINENO"; then :
8168 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8170 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8172 rm -f core conftest.err conftest.
$ac_objext \
8173 conftest
$ac_exeext conftest.
$ac_ext
8174 CFLAGS
=$ac_wine_try_cflags_saved
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8177 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8178 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8179 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8182 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8183 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8184 $as_echo_n "(cached) " >&6
8186 ac_wine_try_cflags_saved
=$CFLAGS
8187 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8189 /* end confdefs.h. */
8190 int main(int argc, char **argv) { return 0; }
8192 if ac_fn_c_try_link
"$LINENO"; then :
8193 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8195 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8197 rm -f core conftest.err conftest.
$ac_objext \
8198 conftest
$ac_exeext conftest.
$ac_ext
8199 CFLAGS
=$ac_wine_try_cflags_saved
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8202 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8203 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8204 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8208 echo '{ global: *; };' >conftest.map
8209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8210 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8211 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8212 $as_echo_n "(cached) " >&6
8214 ac_wine_try_cflags_saved
=$CFLAGS
8215 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8217 /* end confdefs.h. */
8218 int main(int argc, char **argv) { return 0; }
8220 if ac_fn_c_try_link
"$LINENO"; then :
8221 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8223 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8225 rm -f core conftest.err conftest.
$ac_objext \
8226 conftest
$ac_exeext conftest.
$ac_ext
8227 CFLAGS
=$ac_wine_try_cflags_saved
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8230 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8231 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8232 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8237 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8238 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8239 $as_echo_n "(cached) " >&6
8241 ac_wine_try_cflags_saved
=$CFLAGS
8242 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8244 /* end confdefs.h. */
8245 int main(int argc, char **argv) { return 0; }
8247 if ac_fn_c_try_link
"$LINENO"; then :
8248 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8250 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8252 rm -f core conftest.err conftest.
$ac_objext \
8253 conftest
$ac_exeext conftest.
$ac_ext
8254 CFLAGS
=$ac_wine_try_cflags_saved
8256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8257 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8258 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8259 LDEXECFLAGS
="-Wl,--export-dynamic"
8262 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8264 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8265 if eval \
${$as_ac_var+:} false
; then :
8266 $as_echo_n "(cached) " >&6
8268 ac_wine_try_cflags_saved
=$CFLAGS
8269 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8271 /* end confdefs.h. */
8272 int main(int argc, char **argv) { return 0; }
8274 if ac_fn_c_try_link
"$LINENO"; then :
8275 eval "$as_ac_var=yes"
8277 eval "$as_ac_var=no"
8279 rm -f core conftest.err conftest.
$ac_objext \
8280 conftest
$ac_exeext conftest.
$ac_ext
8281 CFLAGS
=$ac_wine_try_cflags_saved
8283 eval ac_res
=\$
$as_ac_var
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8285 $as_echo "$ac_res" >&6; }
8286 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8287 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8288 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8290 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8292 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8293 if eval \
${$as_ac_var+:} false
; then :
8294 $as_echo_n "(cached) " >&6
8296 ac_wine_try_cflags_saved
=$CFLAGS
8297 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8299 /* end confdefs.h. */
8300 int main(int argc, char **argv) { return 0; }
8302 if ac_fn_c_try_link
"$LINENO"; then :
8303 eval "$as_ac_var=yes"
8305 eval "$as_ac_var=no"
8307 rm -f core conftest.err conftest.
$ac_objext \
8308 conftest
$ac_exeext conftest.
$ac_ext
8309 CFLAGS
=$ac_wine_try_cflags_saved
8311 eval ac_res
=\$
$as_ac_var
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8313 $as_echo "$ac_res" >&6; }
8314 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8315 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8316 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8321 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8322 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8323 $as_echo_n "(cached) " >&6
8325 ac_wine_try_cflags_saved
=$CFLAGS
8326 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8328 /* end confdefs.h. */
8329 int main(int argc, char **argv) { return 0; }
8331 if ac_fn_c_try_link
"$LINENO"; then :
8332 ac_cv_cflags__Wl___enable_new_dtags
=yes
8334 ac_cv_cflags__Wl___enable_new_dtags
=no
8336 rm -f core conftest.err conftest.
$ac_objext \
8337 conftest
$ac_exeext conftest.
$ac_ext
8338 CFLAGS
=$ac_wine_try_cflags_saved
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8341 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8342 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8343 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8347 *i
[3456789]86* | x86_64
)
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8349 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8350 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8351 $as_echo_n "(cached) " >&6
8353 ac_wine_try_cflags_saved
=$CFLAGS
8354 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8356 /* end confdefs.h. */
8357 int main(int argc, char **argv) { return 0; }
8359 if ac_fn_c_try_link
"$LINENO"; then :
8360 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8362 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8364 rm -f core conftest.err conftest.
$ac_objext \
8365 conftest
$ac_exeext conftest.
$ac_ext
8366 CFLAGS
=$ac_wine_try_cflags_saved
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8369 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8370 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8372 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8373 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8377 # Extract the first word of "prelink", so it can be a program name with args.
8378 set dummy prelink
; ac_word
=$2
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8380 $as_echo_n "checking for $ac_word... " >&6; }
8381 if ${ac_cv_path_PRELINK+:} false
; then :
8382 $as_echo_n "(cached) " >&6
8386 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8390 for as_dir
in /sbin
/usr
/sbin
$PATH
8393 test -z "$as_dir" && as_dir
=.
8394 for ac_exec_ext
in '' $ac_executable_extensions; do
8395 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8396 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8404 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8408 PRELINK
=$ac_cv_path_PRELINK
8409 if test -n "$PRELINK"; then
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8411 $as_echo "$PRELINK" >&6; }
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8414 $as_echo "no" >&6; }
8418 if test "x$PRELINK" = xfalse
8420 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8427 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8428 if ${ac_cv_c_dll_unixware+:} false
; then :
8429 $as_echo_n "(cached) " >&6
8431 ac_wine_try_cflags_saved
=$CFLAGS
8432 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8434 /* end confdefs.h. */
8437 if ac_fn_c_try_link
"$LINENO"; then :
8438 ac_cv_c_dll_unixware
="yes"
8440 ac_cv_c_dll_unixware
="no"
8442 rm -f core conftest.err conftest.
$ac_objext \
8443 conftest
$ac_exeext conftest.
$ac_ext
8444 CFLAGS
=$ac_wine_try_cflags_saved
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8447 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8448 if test "$ac_cv_c_dll_unixware" = "yes"
8450 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8453 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8455 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8459 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8460 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8462 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8463 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8465 libwine.so: libwine.so.$libwine_soversion
8466 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8468 install install-lib:: libwine.so.$libwine_version
8469 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8470 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8472 install install-dev::
8473 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8476 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8480 as_fn_append LOADER_RULES
"
8481 $wine_binary: main.o
8482 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8484 wine-installed: main.o
8485 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8490 as_fn_append LIBWINE_RULES
"
8491 EXTRA_TARGETS = $libwine_targets
8494 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8495 enable_winemac_drv
=${enable_winemac_drv:-no}
8499 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8503 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
8506 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 " ;;
8508 ac_prefix_list
="" ;;
8510 for ac_prog
in $ac_prefix_list
8512 # Extract the first word of "$ac_prog", so it can be a program name with args.
8513 set dummy
$ac_prog; ac_word
=$2
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8515 $as_echo_n "checking for $ac_word... " >&6; }
8516 if ${ac_cv_prog_CROSSCC+:} false
; then :
8517 $as_echo_n "(cached) " >&6
8519 if test -n "$CROSSCC"; then
8520 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8526 test -z "$as_dir" && as_dir
=.
8527 for ac_exec_ext
in '' $ac_executable_extensions; do
8528 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8529 ac_cv_prog_CROSSCC
="$ac_prog"
8530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8539 CROSSCC
=$ac_cv_prog_CROSSCC
8540 if test -n "$CROSSCC"; then
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8542 $as_echo "$CROSSCC" >&6; }
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8545 $as_echo "no" >&6; }
8549 test -n "$CROSSCC" && break
8551 test -n "$CROSSCC" || CROSSCC
="false"
8553 if test "$CROSSCC" != "false"
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8558 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8560 /* end confdefs.h. */
8570 if ac_fn_c_try_compile
"$LINENO"; then :
8571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8572 $as_echo "yes" >&6; }
8578 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8584 $as_echo "no" >&6; }
8586 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8592 if test "$ac_cv_header_pthread_h" = "yes"
8594 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8595 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8599 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8600 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8601 $as_echo_n "(cached) " >&6
8603 ac_check_lib_save_LIBS
=$LIBS
8604 LIBS
="-lpthread $LIBS"
8605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8606 /* end confdefs.h. */
8608 /* Override any GCC internal prototype to avoid an error.
8609 Use char because int might match the return type of a GCC
8610 builtin and then its argument prototype would still apply. */
8614 char pthread_create ();
8618 return pthread_create ();
8623 if ac_fn_c_try_link
"$LINENO"; then :
8624 ac_cv_lib_pthread_pthread_create
=yes
8626 ac_cv_lib_pthread_pthread_create
=no
8628 rm -f core conftest.err conftest.
$ac_objext \
8629 conftest
$ac_exeext conftest.
$ac_ext
8630 LIBS
=$ac_check_lib_save_LIBS
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8633 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8634 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8635 PTHREAD_LIBS
="-lpthread"
8642 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8643 case "x$with_pthread" in
8645 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8646 Wine cannot support threads without libpthread.
8647 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8653 $as_echo_n "checking for X... " >&6; }
8656 # Check whether --with-x was given.
8657 if test "${with_x+set}" = set; then :
8661 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8662 if test "x$with_x" = xno
; then
8663 # The user explicitly disabled X.
8666 case $x_includes,$x_libraries in #(
8667 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8668 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8669 $as_echo_n "(cached) " >&6
8671 # One or both of the vars are not set, and there is no cached value.
8672 ac_x_includes
=no ac_x_libraries
=no
8673 rm -f -r conftest.dir
8674 if mkdir conftest.dir
; then
8676 cat >Imakefile
<<'_ACEOF'
8678 @echo incroot='${INCROOT}'
8680 @echo usrlibdir='${USRLIBDIR}'
8682 @echo libdir='${LIBDIR}'
8684 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8685 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8686 for ac_var
in incroot usrlibdir libdir
; do
8687 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8689 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8690 for ac_extension
in a so sl dylib la dll
; do
8691 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8692 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8693 ac_im_usrlibdir
=$ac_im_libdir; break
8696 # Screen out bogus values from the imake configuration. They are
8697 # bogus both because they are the default anyway, and because
8698 # using them would break gcc on systems where it needs fixed includes.
8699 case $ac_im_incroot in
8700 /usr
/include
) ac_x_includes
= ;;
8701 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8703 case $ac_im_usrlibdir in
8704 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8705 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8709 rm -f -r conftest.dir
8712 # Standard set of common directories for X headers.
8713 # Check X11 before X11Rn because it is often a symlink to the current release.
8727 /usr/local/X11/include
8728 /usr/local/X11R7/include
8729 /usr/local/X11R6/include
8730 /usr/local/X11R5/include
8731 /usr/local/X11R4/include
8733 /usr/local/include/X11
8734 /usr/local/include/X11R7
8735 /usr/local/include/X11R6
8736 /usr/local/include/X11R5
8737 /usr/local/include/X11R4
8741 /usr/XFree86/include/X11
8745 /usr/unsupported/include
8747 /usr/local/x11r5/include
8748 /usr/lpp/Xamples/include
8750 /usr/openwin/include
8751 /usr/openwin/share/include'
8753 if test "$ac_x_includes" = no
; then
8754 # Guess where to find include files, by looking for Xlib.h.
8755 # First, try using that file with no special directory specified.
8756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8757 /* end confdefs.h. */
8758 #include <X11/Xlib.h>
8760 if ac_fn_c_try_cpp
"$LINENO"; then :
8761 # We can compile using X headers with no special include directory.
8764 for ac_dir
in $ac_x_header_dirs; do
8765 if test -r "$ac_dir/X11/Xlib.h"; then
8766 ac_x_includes
=$ac_dir
8771 rm -f conftest.err conftest.i conftest.
$ac_ext
8772 fi # $ac_x_includes = no
8774 if test "$ac_x_libraries" = no
; then
8775 # Check for the libraries.
8776 # See if we find them without any special options.
8777 # Don't add to $LIBS permanently.
8780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8781 /* end confdefs.h. */
8782 #include <X11/Xlib.h>
8791 if ac_fn_c_try_link
"$LINENO"; then :
8793 # We can link X programs with no special library path.
8797 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8799 # Don't even attempt the hair of trying to link an X program!
8800 for ac_extension
in a so sl dylib la dll
; do
8801 if test -r "$ac_dir/libX11.$ac_extension"; then
8802 ac_x_libraries
=$ac_dir
8808 rm -f core conftest.err conftest.
$ac_objext \
8809 conftest
$ac_exeext conftest.
$ac_ext
8810 fi # $ac_x_libraries = no
8812 case $ac_x_includes,$ac_x_libraries in #(
8814 # Didn't find X, or a directory has "'" in its name.
8815 ac_cv_have_x
="have_x=no";; #(
8817 # Record where we found X for the cache.
8818 ac_cv_have_x
="have_x=yes\
8819 ac_x_includes='$ac_x_includes'\
8820 ac_x_libraries='$ac_x_libraries'"
8826 eval "$ac_cv_have_x"
8829 if test "$have_x" != yes; then
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8831 $as_echo "$have_x" >&6; }
8834 # If each of the values was on the command line, it overrides each guess.
8835 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8836 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8837 # Update the cache value to reflect the command line values.
8838 ac_cv_have_x
="have_x=yes\
8839 ac_x_includes='$x_includes'\
8840 ac_x_libraries='$x_libraries'"
8841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8842 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8845 if test "$no_x" = yes; then
8846 # Not all programs may use this symbol, but it does not hurt to define it.
8848 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8850 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8852 if test -n "$x_includes"; then
8853 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8856 # It would also be nice to do this for all -L options, not just this one.
8857 if test -n "$x_libraries"; then
8858 X_LIBS
="$X_LIBS -L$x_libraries"
8859 # For Solaris; some versions of Sun CC require a space after -R and
8860 # others require no space. Words are not sufficient . . . .
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8862 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8863 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
8864 ac_xsave_c_werror_flag
=$ac_c_werror_flag
8865 ac_c_werror_flag
=yes
8866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8867 /* end confdefs.h. */
8877 if ac_fn_c_try_link
"$LINENO"; then :
8878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8879 $as_echo "no" >&6; }
8880 X_LIBS
="$X_LIBS -R$x_libraries"
8882 LIBS
="$ac_xsave_LIBS -R $x_libraries"
8883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8884 /* end confdefs.h. */
8894 if ac_fn_c_try_link
"$LINENO"; then :
8895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8896 $as_echo "yes" >&6; }
8897 X_LIBS
="$X_LIBS -R $x_libraries"
8899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8900 $as_echo "neither works" >&6; }
8902 rm -f core conftest.err conftest.
$ac_objext \
8903 conftest
$ac_exeext conftest.
$ac_ext
8905 rm -f core conftest.err conftest.
$ac_objext \
8906 conftest
$ac_exeext conftest.
$ac_ext
8907 ac_c_werror_flag
=$ac_xsave_c_werror_flag
8911 # Check for system-dependent libraries X programs must link with.
8912 # Do this before checking for the system-independent R6 libraries
8913 # (-lICE), since we may need -lsocket or whatever for X linking.
8915 if test "$ISC" = yes; then
8916 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
8918 # Martyn Johnson says this is needed for Ultrix, if the X
8919 # libraries were built with DECnet support. And Karl Berry says
8920 # the Alpha needs dnet_stub (dnet does not exist).
8921 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
8922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8923 /* end confdefs.h. */
8925 /* Override any GCC internal prototype to avoid an error.
8926 Use char because int might match the return type of a GCC
8927 builtin and then its argument prototype would still apply. */
8931 char XOpenDisplay ();
8935 return XOpenDisplay ();
8940 if ac_fn_c_try_link
"$LINENO"; then :
8943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8944 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8945 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
8946 $as_echo_n "(cached) " >&6
8948 ac_check_lib_save_LIBS
=$LIBS
8950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8951 /* end confdefs.h. */
8953 /* Override any GCC internal prototype to avoid an error.
8954 Use char because int might match the return type of a GCC
8955 builtin and then its argument prototype would still apply. */
8963 return dnet_ntoa ();
8968 if ac_fn_c_try_link
"$LINENO"; then :
8969 ac_cv_lib_dnet_dnet_ntoa
=yes
8971 ac_cv_lib_dnet_dnet_ntoa
=no
8973 rm -f core conftest.err conftest.
$ac_objext \
8974 conftest
$ac_exeext conftest.
$ac_ext
8975 LIBS
=$ac_check_lib_save_LIBS
8977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8978 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8979 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
8980 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8983 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8985 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8986 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
8987 $as_echo_n "(cached) " >&6
8989 ac_check_lib_save_LIBS
=$LIBS
8990 LIBS
="-ldnet_stub $LIBS"
8991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8992 /* end confdefs.h. */
8994 /* Override any GCC internal prototype to avoid an error.
8995 Use char because int might match the return type of a GCC
8996 builtin and then its argument prototype would still apply. */
9004 return dnet_ntoa ();
9009 if ac_fn_c_try_link
"$LINENO"; then :
9010 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
9012 ac_cv_lib_dnet_stub_dnet_ntoa
=no
9014 rm -f core conftest.err conftest.
$ac_objext \
9015 conftest
$ac_exeext conftest.
$ac_ext
9016 LIBS
=$ac_check_lib_save_LIBS
9018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9019 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9020 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9021 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9026 rm -f core conftest.err conftest.
$ac_objext \
9027 conftest
$ac_exeext conftest.
$ac_ext
9028 LIBS
="$ac_xsave_LIBS"
9030 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9031 # to get the SysV transport functions.
9032 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9034 # The nsl library prevents programs from opening the X display
9035 # on Irix 5.2, according to T.E. Dickey.
9036 # The functions gethostbyname, getservbyname, and inet_addr are
9037 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9038 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9039 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9043 if test $ac_cv_func_gethostbyname = no
; then
9044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9045 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9046 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9047 $as_echo_n "(cached) " >&6
9049 ac_check_lib_save_LIBS
=$LIBS
9051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9052 /* end confdefs.h. */
9054 /* Override any GCC internal prototype to avoid an error.
9055 Use char because int might match the return type of a GCC
9056 builtin and then its argument prototype would still apply. */
9060 char gethostbyname ();
9064 return gethostbyname ();
9069 if ac_fn_c_try_link
"$LINENO"; then :
9070 ac_cv_lib_nsl_gethostbyname
=yes
9072 ac_cv_lib_nsl_gethostbyname
=no
9074 rm -f core conftest.err conftest.
$ac_objext \
9075 conftest
$ac_exeext conftest.
$ac_ext
9076 LIBS
=$ac_check_lib_save_LIBS
9078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9079 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9080 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9081 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9084 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9086 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9087 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9088 $as_echo_n "(cached) " >&6
9090 ac_check_lib_save_LIBS
=$LIBS
9092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9093 /* end confdefs.h. */
9095 /* Override any GCC internal prototype to avoid an error.
9096 Use char because int might match the return type of a GCC
9097 builtin and then its argument prototype would still apply. */
9101 char gethostbyname ();
9105 return gethostbyname ();
9110 if ac_fn_c_try_link
"$LINENO"; then :
9111 ac_cv_lib_bsd_gethostbyname
=yes
9113 ac_cv_lib_bsd_gethostbyname
=no
9115 rm -f core conftest.err conftest.
$ac_objext \
9116 conftest
$ac_exeext conftest.
$ac_ext
9117 LIBS
=$ac_check_lib_save_LIBS
9119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9120 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9121 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9122 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9128 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9129 # socket/setsockopt and other routines are undefined under SCO ODT
9130 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9131 # on later versions), says Simon Leinen: it contains gethostby*
9132 # variants that don't use the name server (or something). -lsocket
9133 # must be given before -lnsl if both are needed. We assume that
9134 # if connect needs -lnsl, so does gethostbyname.
9135 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9136 if test "x$ac_cv_func_connect" = xyes
; then :
9140 if test $ac_cv_func_connect = no
; then
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9142 $as_echo_n "checking for connect in -lsocket... " >&6; }
9143 if ${ac_cv_lib_socket_connect+:} false
; then :
9144 $as_echo_n "(cached) " >&6
9146 ac_check_lib_save_LIBS
=$LIBS
9147 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9149 /* end confdefs.h. */
9151 /* Override any GCC internal prototype to avoid an error.
9152 Use char because int might match the return type of a GCC
9153 builtin and then its argument prototype would still apply. */
9166 if ac_fn_c_try_link
"$LINENO"; then :
9167 ac_cv_lib_socket_connect
=yes
9169 ac_cv_lib_socket_connect
=no
9171 rm -f core conftest.err conftest.
$ac_objext \
9172 conftest
$ac_exeext conftest.
$ac_ext
9173 LIBS
=$ac_check_lib_save_LIBS
9175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9176 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9177 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9178 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9183 # Guillermo Gomez says -lposix is necessary on A/UX.
9184 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9185 if test "x$ac_cv_func_remove" = xyes
; then :
9189 if test $ac_cv_func_remove = no
; then
9190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9191 $as_echo_n "checking for remove in -lposix... " >&6; }
9192 if ${ac_cv_lib_posix_remove+:} false
; then :
9193 $as_echo_n "(cached) " >&6
9195 ac_check_lib_save_LIBS
=$LIBS
9196 LIBS
="-lposix $LIBS"
9197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9198 /* end confdefs.h. */
9200 /* Override any GCC internal prototype to avoid an error.
9201 Use char because int might match the return type of a GCC
9202 builtin and then its argument prototype would still apply. */
9215 if ac_fn_c_try_link
"$LINENO"; then :
9216 ac_cv_lib_posix_remove
=yes
9218 ac_cv_lib_posix_remove
=no
9220 rm -f core conftest.err conftest.
$ac_objext \
9221 conftest
$ac_exeext conftest.
$ac_ext
9222 LIBS
=$ac_check_lib_save_LIBS
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9225 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9226 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9227 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9232 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9233 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9234 if test "x$ac_cv_func_shmat" = xyes
; then :
9238 if test $ac_cv_func_shmat = no
; then
9239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9240 $as_echo_n "checking for shmat in -lipc... " >&6; }
9241 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9242 $as_echo_n "(cached) " >&6
9244 ac_check_lib_save_LIBS
=$LIBS
9246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9247 /* end confdefs.h. */
9249 /* Override any GCC internal prototype to avoid an error.
9250 Use char because int might match the return type of a GCC
9251 builtin and then its argument prototype would still apply. */
9264 if ac_fn_c_try_link
"$LINENO"; then :
9265 ac_cv_lib_ipc_shmat
=yes
9267 ac_cv_lib_ipc_shmat
=no
9269 rm -f core conftest.err conftest.
$ac_objext \
9270 conftest
$ac_exeext conftest.
$ac_ext
9271 LIBS
=$ac_check_lib_save_LIBS
9273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9274 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9275 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9276 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9282 # Check for libraries that X11R6 Xt/Xaw programs need.
9283 ac_save_LDFLAGS
=$LDFLAGS
9284 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9285 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9286 # check for ICE first), but we must link in the order -lSM -lICE or
9287 # we get undefined symbols. So assume we have SM if we have ICE.
9288 # These have to be linked with before -lX11, unlike the other
9289 # libraries we check for below, so use a different variable.
9290 # John Interrante, Karl Berry
9291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9292 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9293 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9294 $as_echo_n "(cached) " >&6
9296 ac_check_lib_save_LIBS
=$LIBS
9297 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9299 /* end confdefs.h. */
9301 /* Override any GCC internal prototype to avoid an error.
9302 Use char because int might match the return type of a GCC
9303 builtin and then its argument prototype would still apply. */
9307 char IceConnectionNumber ();
9311 return IceConnectionNumber ();
9316 if ac_fn_c_try_link
"$LINENO"; then :
9317 ac_cv_lib_ICE_IceConnectionNumber
=yes
9319 ac_cv_lib_ICE_IceConnectionNumber
=no
9321 rm -f core conftest.err conftest.
$ac_objext \
9322 conftest
$ac_exeext conftest.
$ac_ext
9323 LIBS
=$ac_check_lib_save_LIBS
9325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9326 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9327 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9328 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9331 LDFLAGS
=$ac_save_LDFLAGS
9336 if test "$have_x" = "yes"
9338 ac_save_CPPFLAGS
="$CPPFLAGS"
9339 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9342 $as_echo_n "checking for -lX11... " >&6; }
9343 if ${ac_cv_lib_soname_X11+:} false
; then :
9344 $as_echo_n "(cached) " >&6
9346 ac_check_soname_save_LIBS
=$LIBS
9347 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9349 /* end confdefs.h. */
9351 /* Override any GCC internal prototype to avoid an error.
9352 Use char because int might match the return type of a GCC
9353 builtin and then its argument prototype would still apply. */
9357 char XCreateWindow ();
9361 return XCreateWindow ();
9366 if ac_fn_c_try_link
"$LINENO"; then :
9368 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9369 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'` ;;
9370 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9371 if ${ac_cv_lib_soname_X11:+false} :; then :
9372 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9376 rm -f core conftest.err conftest.
$ac_objext \
9377 conftest
$ac_exeext conftest.
$ac_ext
9378 LIBS
=$ac_check_soname_save_LIBS
9380 if ${ac_cv_lib_soname_X11:+false} :; then :
9381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9382 $as_echo "not found" >&6; }
9385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9386 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9388 cat >>confdefs.h
<<_ACEOF
9389 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9395 $as_echo_n "checking for -lXext... " >&6; }
9396 if ${ac_cv_lib_soname_Xext+:} false
; then :
9397 $as_echo_n "(cached) " >&6
9399 ac_check_soname_save_LIBS
=$LIBS
9400 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9402 /* end confdefs.h. */
9404 /* Override any GCC internal prototype to avoid an error.
9405 Use char because int might match the return type of a GCC
9406 builtin and then its argument prototype would still apply. */
9410 char XextCreateExtension ();
9414 return XextCreateExtension ();
9419 if ac_fn_c_try_link
"$LINENO"; then :
9421 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9422 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'` ;;
9423 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9424 if ${ac_cv_lib_soname_Xext:+false} :; then :
9425 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9429 rm -f core conftest.err conftest.
$ac_objext \
9430 conftest
$ac_exeext conftest.
$ac_ext
9431 LIBS
=$ac_check_soname_save_LIBS
9433 if ${ac_cv_lib_soname_Xext:+false} :; then :
9434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9435 $as_echo "not found" >&6; }
9438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9439 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9441 cat >>confdefs.h
<<_ACEOF
9442 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9445 X_LIBS
="$X_LIBS -lXext"
9447 X_LIBS
="$X_LIBS -lX11"
9449 for ac_header
in X11
/Xlib.h \
9452 X11
/Xcursor
/Xcursor.h \
9453 X11
/extensions
/shape.h \
9454 X11
/extensions
/XInput.h \
9455 X11
/extensions
/XInput2.h \
9456 X11
/extensions
/XShm.h \
9457 X11
/extensions
/Xcomposite.h \
9458 X11
/extensions
/Xinerama.h \
9459 X11
/extensions
/Xrandr.h \
9460 X11
/extensions
/Xrender.h \
9461 X11
/extensions
/xf86vmode.h \
9462 X11
/extensions
/xf86vmproto.h
9464 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9465 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9466 # include <X11/Xlib.h>
9468 #ifdef HAVE_X11_XUTIL_H
9469 # include <X11/Xutil.h>
9472 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9473 cat >>confdefs.h
<<_ACEOF
9474 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9482 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9485 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9486 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9487 $as_echo_n "(cached) " >&6
9489 ac_check_lib_save_LIBS
=$LIBS
9490 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9492 /* end confdefs.h. */
9494 /* Override any GCC internal prototype to avoid an error.
9495 Use char because int might match the return type of a GCC
9496 builtin and then its argument prototype would still apply. */
9500 char XkbQueryExtension ();
9504 return XkbQueryExtension ();
9509 if ac_fn_c_try_link
"$LINENO"; then :
9510 ac_cv_lib_X11_XkbQueryExtension
=yes
9512 ac_cv_lib_X11_XkbQueryExtension
=no
9514 rm -f core conftest.err conftest.
$ac_objext \
9515 conftest
$ac_exeext conftest.
$ac_ext
9516 LIBS
=$ac_check_lib_save_LIBS
9518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9519 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9520 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9522 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9528 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9531 $as_echo_n "checking for -lXcursor... " >&6; }
9532 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9533 $as_echo_n "(cached) " >&6
9535 ac_check_soname_save_LIBS
=$LIBS
9536 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9537 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9538 /* end confdefs.h. */
9540 /* Override any GCC internal prototype to avoid an error.
9541 Use char because int might match the return type of a GCC
9542 builtin and then its argument prototype would still apply. */
9546 char XcursorImageLoadCursor ();
9550 return XcursorImageLoadCursor ();
9555 if ac_fn_c_try_link
"$LINENO"; then :
9557 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9558 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'` ;;
9559 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9560 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9561 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9565 rm -f core conftest.err conftest.
$ac_objext \
9566 conftest
$ac_exeext conftest.
$ac_ext
9567 LIBS
=$ac_check_soname_save_LIBS
9569 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9571 $as_echo "not found" >&6; }
9574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9575 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9577 cat >>confdefs.h
<<_ACEOF
9578 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9584 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9585 case "x$with_xcursor" in
9586 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9588 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9589 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9593 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9596 $as_echo_n "checking for -lXi... " >&6; }
9597 if ${ac_cv_lib_soname_Xi+:} false
; then :
9598 $as_echo_n "(cached) " >&6
9600 ac_check_soname_save_LIBS
=$LIBS
9601 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9602 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9603 /* end confdefs.h. */
9605 /* Override any GCC internal prototype to avoid an error.
9606 Use char because int might match the return type of a GCC
9607 builtin and then its argument prototype would still apply. */
9611 char XOpenDevice ();
9615 return XOpenDevice ();
9620 if ac_fn_c_try_link
"$LINENO"; then :
9622 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9623 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'` ;;
9624 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9625 if ${ac_cv_lib_soname_Xi:+false} :; then :
9626 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9630 rm -f core conftest.err conftest.
$ac_objext \
9631 conftest
$ac_exeext conftest.
$ac_ext
9632 LIBS
=$ac_check_soname_save_LIBS
9634 if ${ac_cv_lib_soname_Xi:+false} :; then :
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9636 $as_echo "not found" >&6; }
9639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9640 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9642 cat >>confdefs.h
<<_ACEOF
9643 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9649 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9650 case "x$with_xinput" in
9651 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9653 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9654 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9658 if test "x$ac_cv_lib_soname_Xi" != x
9660 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9661 case "x$with_xinput2" in
9662 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9664 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9665 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9670 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9673 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9674 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9675 $as_echo_n "(cached) " >&6
9677 ac_check_lib_save_LIBS
=$LIBS
9678 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9680 /* end confdefs.h. */
9682 /* Override any GCC internal prototype to avoid an error.
9683 Use char because int might match the return type of a GCC
9684 builtin and then its argument prototype would still apply. */
9688 char XShmQueryExtension ();
9692 return XShmQueryExtension ();
9697 if ac_fn_c_try_link
"$LINENO"; then :
9698 ac_cv_lib_Xext_XShmQueryExtension
=yes
9700 ac_cv_lib_Xext_XShmQueryExtension
=no
9702 rm -f core conftest.err conftest.
$ac_objext \
9703 conftest
$ac_exeext conftest.
$ac_ext
9704 LIBS
=$ac_check_lib_save_LIBS
9706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9707 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9708 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9710 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9715 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9716 case "x$with_xshm" in
9717 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9719 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9720 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9724 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9727 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9728 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9729 $as_echo_n "(cached) " >&6
9731 ac_check_lib_save_LIBS
=$LIBS
9732 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9734 /* end confdefs.h. */
9736 /* Override any GCC internal prototype to avoid an error.
9737 Use char because int might match the return type of a GCC
9738 builtin and then its argument prototype would still apply. */
9742 char XShapeQueryExtension ();
9746 return XShapeQueryExtension ();
9751 if ac_fn_c_try_link
"$LINENO"; then :
9752 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9754 ac_cv_lib_Xext_XShapeQueryExtension
=no
9756 rm -f core conftest.err conftest.
$ac_objext \
9757 conftest
$ac_exeext conftest.
$ac_ext
9758 LIBS
=$ac_check_lib_save_LIBS
9760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9761 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9762 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9764 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9769 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9770 case "x$with_xshape" in
9771 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9773 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9774 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9778 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9781 $as_echo_n "checking for -lXxf86vm... " >&6; }
9782 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9783 $as_echo_n "(cached) " >&6
9785 ac_check_soname_save_LIBS
=$LIBS
9786 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9788 /* end confdefs.h. */
9790 /* Override any GCC internal prototype to avoid an error.
9791 Use char because int might match the return type of a GCC
9792 builtin and then its argument prototype would still apply. */
9796 char XF86VidModeQueryExtension ();
9800 return XF86VidModeQueryExtension ();
9805 if ac_fn_c_try_link
"$LINENO"; then :
9807 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9808 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'` ;;
9809 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9810 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9811 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9815 rm -f core conftest.err conftest.
$ac_objext \
9816 conftest
$ac_exeext conftest.
$ac_ext
9817 LIBS
=$ac_check_soname_save_LIBS
9819 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9821 $as_echo "not found" >&6; }
9824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9825 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9827 cat >>confdefs.h
<<_ACEOF
9828 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9834 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9835 case "x$with_xxf86vm" in
9836 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9838 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9839 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9843 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
9845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9846 $as_echo_n "checking for -lXrender... " >&6; }
9847 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9848 $as_echo_n "(cached) " >&6
9850 ac_check_soname_save_LIBS
=$LIBS
9851 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9853 /* end confdefs.h. */
9855 /* Override any GCC internal prototype to avoid an error.
9856 Use char because int might match the return type of a GCC
9857 builtin and then its argument prototype would still apply. */
9861 char XRenderQueryExtension ();
9865 return XRenderQueryExtension ();
9870 if ac_fn_c_try_link
"$LINENO"; then :
9872 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9873 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'` ;;
9874 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9875 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9876 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9880 rm -f core conftest.err conftest.
$ac_objext \
9881 conftest
$ac_exeext conftest.
$ac_ext
9882 LIBS
=$ac_check_soname_save_LIBS
9884 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9886 $as_echo "not found" >&6; }
9889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9890 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9892 cat >>confdefs.h
<<_ACEOF
9893 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9897 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9898 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
9899 $as_echo_n "(cached) " >&6
9901 ac_check_lib_save_LIBS
=$LIBS
9902 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9903 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9904 /* end confdefs.h. */
9906 /* Override any GCC internal prototype to avoid an error.
9907 Use char because int might match the return type of a GCC
9908 builtin and then its argument prototype would still apply. */
9912 char XRenderSetPictureTransform ();
9916 return XRenderSetPictureTransform ();
9921 if ac_fn_c_try_link
"$LINENO"; then :
9922 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9924 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9926 rm -f core conftest.err conftest.
$ac_objext \
9927 conftest
$ac_exeext conftest.
$ac_ext
9928 LIBS
=$ac_check_lib_save_LIBS
9930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9931 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9932 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
9934 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9939 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9940 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
9941 $as_echo_n "(cached) " >&6
9943 ac_check_lib_save_LIBS
=$LIBS
9944 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9946 /* end confdefs.h. */
9948 /* Override any GCC internal prototype to avoid an error.
9949 Use char because int might match the return type of a GCC
9950 builtin and then its argument prototype would still apply. */
9954 char XRenderCreateLinearGradient ();
9958 return XRenderCreateLinearGradient ();
9963 if ac_fn_c_try_link
"$LINENO"; then :
9964 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
9966 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
9968 rm -f core conftest.err conftest.
$ac_objext \
9969 conftest
$ac_exeext conftest.
$ac_ext
9970 LIBS
=$ac_check_lib_save_LIBS
9972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9973 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9974 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
9976 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9983 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9984 case "x$with_xrender" in
9985 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9987 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
9988 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9992 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9995 /* end confdefs.h. */
9996 #include <X11/Xlib.h>
9997 #include <X11/extensions/Xrandr.h>
10001 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10006 if ac_fn_c_try_compile
"$LINENO"; then :
10007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10008 $as_echo_n "checking for -lXrandr... " >&6; }
10009 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
10010 $as_echo_n "(cached) " >&6
10012 ac_check_soname_save_LIBS
=$LIBS
10013 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10015 /* end confdefs.h. */
10017 /* Override any GCC internal prototype to avoid an error.
10018 Use char because int might match the return type of a GCC
10019 builtin and then its argument prototype would still apply. */
10023 char XRRQueryExtension ();
10027 return XRRQueryExtension ();
10032 if ac_fn_c_try_link
"$LINENO"; then :
10034 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10035 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'` ;;
10036 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10037 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10038 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10042 rm -f core conftest.err conftest.
$ac_objext \
10043 conftest
$ac_exeext conftest.
$ac_ext
10044 LIBS
=$ac_check_soname_save_LIBS
10046 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10048 $as_echo "not found" >&6; }
10051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10052 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10054 cat >>confdefs.h
<<_ACEOF
10055 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10059 /* end confdefs.h. */
10060 #include <X11/Xlib.h>
10061 #include <X11/extensions/Xrandr.h>
10065 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10070 if ac_fn_c_try_compile
"$LINENO"; then :
10072 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10075 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10078 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10080 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10081 case "x$with_xrandr" in
10082 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10084 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10085 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10089 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10092 /* end confdefs.h. */
10093 #include <X11/Xlib.h>
10094 #include <X11/extensions/Xinerama.h>
10098 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10103 if ac_fn_c_try_compile
"$LINENO"; then :
10104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10105 $as_echo_n "checking for -lXinerama... " >&6; }
10106 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10107 $as_echo_n "(cached) " >&6
10109 ac_check_soname_save_LIBS
=$LIBS
10110 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10112 /* end confdefs.h. */
10114 /* Override any GCC internal prototype to avoid an error.
10115 Use char because int might match the return type of a GCC
10116 builtin and then its argument prototype would still apply. */
10120 char XineramaQueryScreens ();
10124 return XineramaQueryScreens ();
10129 if ac_fn_c_try_link
"$LINENO"; then :
10131 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10132 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'` ;;
10133 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10134 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10135 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10139 rm -f core conftest.err conftest.
$ac_objext \
10140 conftest
$ac_exeext conftest.
$ac_ext
10141 LIBS
=$ac_check_soname_save_LIBS
10143 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10145 $as_echo "not found" >&6; }
10148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10149 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10151 cat >>confdefs.h
<<_ACEOF
10152 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10158 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10160 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10161 case "x$with_xinerama" in
10162 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10164 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10165 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10169 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10172 $as_echo_n "checking for -lXcomposite... " >&6; }
10173 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10174 $as_echo_n "(cached) " >&6
10176 ac_check_soname_save_LIBS
=$LIBS
10177 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10179 /* end confdefs.h. */
10181 /* Override any GCC internal prototype to avoid an error.
10182 Use char because int might match the return type of a GCC
10183 builtin and then its argument prototype would still apply. */
10187 char XCompositeRedirectWindow ();
10191 return XCompositeRedirectWindow ();
10196 if ac_fn_c_try_link
"$LINENO"; then :
10198 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10199 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'` ;;
10200 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10201 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10202 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10206 rm -f core conftest.err conftest.
$ac_objext \
10207 conftest
$ac_exeext conftest.
$ac_ext
10208 LIBS
=$ac_check_soname_save_LIBS
10210 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10212 $as_echo "not found" >&6; }
10215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10216 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10218 cat >>confdefs.h
<<_ACEOF
10219 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10225 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10226 case "x$with_xcomposite" in
10227 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10229 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10230 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10234 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10235 #include <X11/Xlib.h>
10238 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10240 cat >>confdefs.h
<<_ACEOF
10241 #define HAVE_XICCALLBACK_CALLBACK 1
10246 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10247 #include <X11/Xlib.h>
10250 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10252 cat >>confdefs.h
<<_ACEOF
10253 #define HAVE_XEVENT_XCOOKIE 1
10262 if test "x$with_opengl" != "xno"
10264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10265 $as_echo_n "checking for -lGL... " >&6; }
10266 if ${ac_cv_lib_soname_GL+:} false
; then :
10267 $as_echo_n "(cached) " >&6
10269 ac_check_soname_save_LIBS
=$LIBS
10270 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10272 /* end confdefs.h. */
10274 /* Override any GCC internal prototype to avoid an error.
10275 Use char because int might match the return type of a GCC
10276 builtin and then its argument prototype would still apply. */
10280 char glXCreateContext ();
10284 return glXCreateContext ();
10289 if ac_fn_c_try_link
"$LINENO"; then :
10291 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10292 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'` ;;
10293 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10294 if ${ac_cv_lib_soname_GL:+false} :; then :
10295 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10299 rm -f core conftest.err conftest.
$ac_objext \
10300 conftest
$ac_exeext conftest.
$ac_ext
10301 LIBS
=$ac_check_soname_save_LIBS
10303 if ${ac_cv_lib_soname_GL:+false} :; then :
10304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10305 $as_echo "not found" >&6; }
10306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10307 $as_echo_n "checking for -lGL... " >&6; }
10308 if ${ac_cv_lib_soname_GL+:} false
; then :
10309 $as_echo_n "(cached) " >&6
10311 ac_check_soname_save_LIBS
=$LIBS
10312 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"
10313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10314 /* end confdefs.h. */
10316 /* Override any GCC internal prototype to avoid an error.
10317 Use char because int might match the return type of a GCC
10318 builtin and then its argument prototype would still apply. */
10322 char glXCreateContext ();
10326 return glXCreateContext ();
10331 if ac_fn_c_try_link
"$LINENO"; then :
10333 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10334 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'` ;;
10335 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10336 if ${ac_cv_lib_soname_GL:+false} :; then :
10337 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10341 rm -f core conftest.err conftest.
$ac_objext \
10342 conftest
$ac_exeext conftest.
$ac_ext
10343 LIBS
=$ac_check_soname_save_LIBS
10345 if ${ac_cv_lib_soname_GL:+false} :; then :
10346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10347 $as_echo "not found" >&6; }
10348 if test -f /usr
/X11R
6/lib
/libGL.a
10350 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10351 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10353 opengl_msg
="No OpenGL library found on this system."
10356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10357 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10359 cat >>confdefs.h
<<_ACEOF
10360 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10363 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"
10366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10367 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10369 cat >>confdefs.h
<<_ACEOF
10370 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10375 if test "x$with_glu" != "xno"
10377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10378 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10379 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10380 $as_echo_n "(cached) " >&6
10382 ac_check_lib_save_LIBS
=$LIBS
10383 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10385 /* end confdefs.h. */
10387 /* Override any GCC internal prototype to avoid an error.
10388 Use char because int might match the return type of a GCC
10389 builtin and then its argument prototype would still apply. */
10397 return gluLookAt ();
10402 if ac_fn_c_try_link
"$LINENO"; then :
10403 ac_cv_lib_GLU_gluLookAt
=yes
10405 ac_cv_lib_GLU_gluLookAt
=no
10407 rm -f core conftest.err conftest.
$ac_objext \
10408 conftest
$ac_exeext conftest.
$ac_ext
10409 LIBS
=$ac_check_lib_save_LIBS
10411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10412 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10413 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10417 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10418 case "x$with_glu" in
10419 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10421 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10422 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10427 if test "x$with_osmesa" != "xno"
10429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10430 $as_echo_n "checking for -lOSMesa... " >&6; }
10431 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10432 $as_echo_n "(cached) " >&6
10434 ac_check_soname_save_LIBS
=$LIBS
10435 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10437 /* end confdefs.h. */
10439 /* Override any GCC internal prototype to avoid an error.
10440 Use char because int might match the return type of a GCC
10441 builtin and then its argument prototype would still apply. */
10454 if ac_fn_c_try_link
"$LINENO"; then :
10456 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10457 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'` ;;
10458 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10459 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10460 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10464 rm -f core conftest.err conftest.
$ac_objext \
10465 conftest
$ac_exeext conftest.
$ac_ext
10466 LIBS
=$ac_check_soname_save_LIBS
10468 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10470 $as_echo "not found" >&6; }
10473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10474 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10476 cat >>confdefs.h
<<_ACEOF
10477 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10482 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10483 case "x$with_osmesa" in
10484 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10486 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10487 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10492 if test -n "$opengl_msg"; then :
10493 case "x$with_opengl" in
10494 x
) as_fn_append wine_warnings
"|$opengl_msg
10495 OpenGL and Direct3D won't be supported." ;;
10497 *) as_fn_error $?
"$opengl_msg
10498 OpenGL and Direct3D won't be supported.
10499 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10503 CPPFLAGS
="$ac_save_CPPFLAGS"
10507 enable_winex11_drv
=${enable_winex11_drv:-no}
10509 if test "x$X_LIBS" = "x"; then :
10512 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10513 without X support, which probably isn't what you want. You will need
10514 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10515 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10519 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10521 if test "$ac_cv_header_CL_cl_h" = "yes"
10523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10524 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10525 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10526 $as_echo_n "(cached) " >&6
10528 ac_check_lib_save_LIBS
=$LIBS
10529 LIBS
="-lOpenCL $LIBS"
10530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10531 /* end confdefs.h. */
10533 /* Override any GCC internal prototype to avoid an error.
10534 Use char because int might match the return type of a GCC
10535 builtin and then its argument prototype would still apply. */
10539 char clGetPlatformInfo ();
10543 return clGetPlatformInfo ();
10548 if ac_fn_c_try_link
"$LINENO"; then :
10549 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10551 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10553 rm -f core conftest.err conftest.
$ac_objext \
10554 conftest
$ac_exeext conftest.
$ac_ext
10555 LIBS
=$ac_check_lib_save_LIBS
10557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10558 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10559 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10560 OPENCL_LIBS
="-lOpenCL"
10565 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10566 case "x$with_opencl" in
10567 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10569 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10570 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10573 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10575 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10578 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10579 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10580 $as_echo_n "(cached) " >&6
10582 ac_check_lib_save_LIBS
=$LIBS
10583 LIBS
="-lpcap $LIBS"
10584 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10585 /* end confdefs.h. */
10587 /* Override any GCC internal prototype to avoid an error.
10588 Use char because int might match the return type of a GCC
10589 builtin and then its argument prototype would still apply. */
10593 char pcap_create ();
10597 return pcap_create ();
10602 if ac_fn_c_try_link
"$LINENO"; then :
10603 ac_cv_lib_pcap_pcap_create
=yes
10605 ac_cv_lib_pcap_pcap_create
=no
10607 rm -f core conftest.err conftest.
$ac_objext \
10608 conftest
$ac_exeext conftest.
$ac_ext
10609 LIBS
=$ac_check_lib_save_LIBS
10611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10612 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10613 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10619 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10620 case "x$with_pcap" in
10621 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10623 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10624 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10627 test "x$ac_cv_lib_pcap_pcap_create" != xyes
&& enable_wpcap
=${enable_wpcap:-no}
10630 if test "x$with_xml" != "xno"
10632 if ${XML2_CFLAGS:+false} :; then :
10633 if ${PKG_CONFIG+:} false
; then :
10634 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10637 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10638 if ${XML2_LIBS:+false} :; then :
10639 if ${PKG_CONFIG+:} false
; then :
10640 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10643 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10644 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10645 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10646 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10647 ac_save_CPPFLAGS
=$CPPFLAGS
10648 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10649 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10651 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10652 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10653 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10654 cat >>confdefs.h
<<_ACEOF
10655 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10662 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"
10664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10665 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10666 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10667 $as_echo_n "(cached) " >&6
10669 ac_check_lib_save_LIBS
=$LIBS
10670 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10672 /* end confdefs.h. */
10674 /* Override any GCC internal prototype to avoid an error.
10675 Use char because int might match the return type of a GCC
10676 builtin and then its argument prototype would still apply. */
10680 char xmlParseMemory ();
10684 return xmlParseMemory ();
10689 if ac_fn_c_try_link
"$LINENO"; then :
10690 ac_cv_lib_xml2_xmlParseMemory
=yes
10692 ac_cv_lib_xml2_xmlParseMemory
=no
10694 rm -f core conftest.err conftest.
$ac_objext \
10695 conftest
$ac_exeext conftest.
$ac_ext
10696 LIBS
=$ac_check_lib_save_LIBS
10698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10699 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10700 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10702 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10709 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10710 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10711 $as_echo_n "(cached) " >&6
10713 ac_check_lib_save_LIBS
=$LIBS
10714 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10716 /* end confdefs.h. */
10718 /* Override any GCC internal prototype to avoid an error.
10719 Use char because int might match the return type of a GCC
10720 builtin and then its argument prototype would still apply. */
10724 char xmlReadMemory ();
10728 return xmlReadMemory ();
10733 if ac_fn_c_try_link
"$LINENO"; then :
10734 ac_cv_lib_xml2_xmlReadMemory
=yes
10736 ac_cv_lib_xml2_xmlReadMemory
=no
10738 rm -f core conftest.err conftest.
$ac_objext \
10739 conftest
$ac_exeext conftest.
$ac_ext
10740 LIBS
=$ac_check_lib_save_LIBS
10742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10743 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10744 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10746 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10751 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10752 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10753 $as_echo_n "(cached) " >&6
10755 ac_check_lib_save_LIBS
=$LIBS
10756 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10758 /* end confdefs.h. */
10760 /* Override any GCC internal prototype to avoid an error.
10761 Use char because int might match the return type of a GCC
10762 builtin and then its argument prototype would still apply. */
10766 char xmlNewDocPI ();
10770 return xmlNewDocPI ();
10775 if ac_fn_c_try_link
"$LINENO"; then :
10776 ac_cv_lib_xml2_xmlNewDocPI
=yes
10778 ac_cv_lib_xml2_xmlNewDocPI
=no
10780 rm -f core conftest.err conftest.
$ac_objext \
10781 conftest
$ac_exeext conftest.
$ac_ext
10782 LIBS
=$ac_check_lib_save_LIBS
10784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10785 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10786 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10788 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10793 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10794 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10795 $as_echo_n "(cached) " >&6
10797 ac_check_lib_save_LIBS
=$LIBS
10798 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10800 /* end confdefs.h. */
10802 /* Override any GCC internal prototype to avoid an error.
10803 Use char because int might match the return type of a GCC
10804 builtin and then its argument prototype would still apply. */
10808 char xmlSchemaSetParserStructuredErrors ();
10812 return xmlSchemaSetParserStructuredErrors ();
10817 if ac_fn_c_try_link
"$LINENO"; then :
10818 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10820 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10822 rm -f core conftest.err conftest.
$ac_objext \
10823 conftest
$ac_exeext conftest.
$ac_ext
10824 LIBS
=$ac_check_lib_save_LIBS
10826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10827 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10828 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10830 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10835 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10836 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10837 $as_echo_n "(cached) " >&6
10839 ac_check_lib_save_LIBS
=$LIBS
10840 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10842 /* end confdefs.h. */
10844 /* Override any GCC internal prototype to avoid an error.
10845 Use char because int might match the return type of a GCC
10846 builtin and then its argument prototype would still apply. */
10850 char xmlSchemaSetValidStructuredErrors ();
10854 return xmlSchemaSetValidStructuredErrors ();
10859 if ac_fn_c_try_link
"$LINENO"; then :
10860 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
10862 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
10864 rm -f core conftest.err conftest.
$ac_objext \
10865 conftest
$ac_exeext conftest.
$ac_ext
10866 LIBS
=$ac_check_lib_save_LIBS
10868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10869 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10870 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
10872 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10877 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10878 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
10879 $as_echo_n "(cached) " >&6
10881 ac_check_lib_save_LIBS
=$LIBS
10882 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10884 /* end confdefs.h. */
10886 /* Override any GCC internal prototype to avoid an error.
10887 Use char because int might match the return type of a GCC
10888 builtin and then its argument prototype would still apply. */
10892 char xmlFirstElementChild ();
10896 return xmlFirstElementChild ();
10901 if ac_fn_c_try_link
"$LINENO"; then :
10902 ac_cv_lib_xml2_xmlFirstElementChild
=yes
10904 ac_cv_lib_xml2_xmlFirstElementChild
=no
10906 rm -f core conftest.err conftest.
$ac_objext \
10907 conftest
$ac_exeext conftest.
$ac_ext
10908 LIBS
=$ac_check_lib_save_LIBS
10910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10911 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10912 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
10914 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10918 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10920 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
10922 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10930 CPPFLAGS
=$ac_save_CPPFLAGS
10931 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10932 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10935 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10936 case "x$with_xml" in
10937 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10939 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10940 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10944 if test "x$with_xslt" != "xno"
10946 if ${XSLT_CFLAGS:+false} :; then :
10947 if ${PKG_CONFIG+:} false
; then :
10948 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10951 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10952 if ${XSLT_LIBS:+false} :; then :
10953 if ${PKG_CONFIG+:} false
; then :
10954 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10957 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10958 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
10959 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10960 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10961 ac_save_CPPFLAGS
=$CPPFLAGS
10962 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
10963 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
10965 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10966 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10967 # include <libxslt/pattern.h>
10970 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10971 cat >>confdefs.h
<<_ACEOF
10972 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10979 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10982 $as_echo_n "checking for -lxslt... " >&6; }
10983 if ${ac_cv_lib_soname_xslt+:} false
; then :
10984 $as_echo_n "(cached) " >&6
10986 ac_check_soname_save_LIBS
=$LIBS
10987 LIBS
="-lxslt $XSLT_LIBS $LIBS"
10988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10989 /* end confdefs.h. */
10991 /* Override any GCC internal prototype to avoid an error.
10992 Use char because int might match the return type of a GCC
10993 builtin and then its argument prototype would still apply. */
10997 char xsltCompilePattern ();
11001 return xsltCompilePattern ();
11006 if ac_fn_c_try_link
"$LINENO"; then :
11008 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11009 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'` ;;
11010 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11011 if ${ac_cv_lib_soname_xslt:+false} :; then :
11012 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11016 rm -f core conftest.err conftest.
$ac_objext \
11017 conftest
$ac_exeext conftest.
$ac_ext
11018 LIBS
=$ac_check_soname_save_LIBS
11020 if ${ac_cv_lib_soname_xslt:+false} :; then :
11021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11022 $as_echo "not found" >&6; }
11025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11026 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11028 cat >>confdefs.h
<<_ACEOF
11029 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11037 CPPFLAGS
=$ac_save_CPPFLAGS
11038 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11039 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11042 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11043 case "x$with_xslt" in
11044 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11046 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11047 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11051 if test "x$with_dbus" != "xno"
11053 if ${DBUS_CFLAGS:+false} :; then :
11054 if ${PKG_CONFIG+:} false
; then :
11055 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11059 if ${DBUS_LIBS:+false} :; then :
11060 if ${PKG_CONFIG+:} false
; then :
11061 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11066 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11067 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11068 ac_save_CPPFLAGS
=$CPPFLAGS
11069 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11070 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11071 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11073 $as_echo_n "checking for -ldbus-1... " >&6; }
11074 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11075 $as_echo_n "(cached) " >&6
11077 ac_check_soname_save_LIBS
=$LIBS
11078 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11080 /* end confdefs.h. */
11082 /* Override any GCC internal prototype to avoid an error.
11083 Use char because int might match the return type of a GCC
11084 builtin and then its argument prototype would still apply. */
11088 char dbus_connection_close ();
11092 return dbus_connection_close ();
11097 if ac_fn_c_try_link
"$LINENO"; then :
11099 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11100 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'` ;;
11101 *) 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'`
11102 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11103 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11107 rm -f core conftest.err conftest.
$ac_objext \
11108 conftest
$ac_exeext conftest.
$ac_ext
11109 LIBS
=$ac_check_soname_save_LIBS
11111 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11113 $as_echo "not found" >&6; }
11116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11117 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11119 cat >>confdefs.h
<<_ACEOF
11120 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11130 CPPFLAGS
=$ac_save_CPPFLAGS
11131 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11132 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11135 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11136 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11137 case "x$with_dbus" in
11138 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11140 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11141 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11145 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11147 if ${HAL_CFLAGS:+false} :; then :
11148 if ${PKG_CONFIG+:} false
; then :
11149 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11153 if ${HAL_LIBS:+false} :; then :
11154 if ${PKG_CONFIG+:} false
; then :
11155 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11159 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11160 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11161 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11162 ac_save_CPPFLAGS
=$CPPFLAGS
11163 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11164 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11165 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11167 $as_echo_n "checking for -lhal... " >&6; }
11168 if ${ac_cv_lib_soname_hal+:} false
; then :
11169 $as_echo_n "(cached) " >&6
11171 ac_check_soname_save_LIBS
=$LIBS
11172 LIBS
="-lhal $HAL_LIBS $LIBS"
11173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11174 /* end confdefs.h. */
11176 /* Override any GCC internal prototype to avoid an error.
11177 Use char because int might match the return type of a GCC
11178 builtin and then its argument prototype would still apply. */
11182 char libhal_ctx_new ();
11186 return libhal_ctx_new ();
11191 if ac_fn_c_try_link
"$LINENO"; then :
11193 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11194 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'` ;;
11195 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11196 if ${ac_cv_lib_soname_hal:+false} :; then :
11197 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11201 rm -f core conftest.err conftest.
$ac_objext \
11202 conftest
$ac_exeext conftest.
$ac_ext
11203 LIBS
=$ac_check_soname_save_LIBS
11205 if ${ac_cv_lib_soname_hal:+false} :; then :
11206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11207 $as_echo "not found" >&6; }
11210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11211 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11213 cat >>confdefs.h
<<_ACEOF
11214 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11224 CPPFLAGS
=$ac_save_CPPFLAGS
11225 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11226 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11228 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11229 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11230 case "x$with_hal" in
11231 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11233 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11234 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11239 if test "x$with_gnutls" != "xno"
11241 if ${GNUTLS_CFLAGS:+false} :; then :
11242 if ${PKG_CONFIG+:} false
; then :
11243 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11247 if ${GNUTLS_LIBS:+false} :; then :
11248 if ${PKG_CONFIG+:} false
; then :
11249 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11254 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11255 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11256 ac_save_CPPFLAGS
=$CPPFLAGS
11257 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11258 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11259 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11261 /* end confdefs.h. */
11262 #include <gnutls/gnutls.h>
11263 #include <gnutls/crypto.h>
11267 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11272 if ac_fn_c_try_compile
"$LINENO"; then :
11273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11274 $as_echo_n "checking for -lgnutls... " >&6; }
11275 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11276 $as_echo_n "(cached) " >&6
11278 ac_check_soname_save_LIBS
=$LIBS
11279 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11281 /* end confdefs.h. */
11283 /* Override any GCC internal prototype to avoid an error.
11284 Use char because int might match the return type of a GCC
11285 builtin and then its argument prototype would still apply. */
11289 char gnutls_global_init ();
11293 return gnutls_global_init ();
11298 if ac_fn_c_try_link
"$LINENO"; then :
11300 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11301 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'` ;;
11302 *) 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'`
11303 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11304 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'`
11308 rm -f core conftest.err conftest.
$ac_objext \
11309 conftest
$ac_exeext conftest.
$ac_ext
11310 LIBS
=$ac_check_soname_save_LIBS
11312 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11314 $as_echo "not found" >&6; }
11317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11318 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11320 cat >>confdefs.h
<<_ACEOF
11321 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11327 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11333 CPPFLAGS
=$ac_save_CPPFLAGS
11334 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11335 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11338 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11339 case "x$with_gnutls" in
11340 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11342 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11343 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11348 if test "$ac_cv_header_ncurses_h" = "yes"
11350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11351 $as_echo_n "checking for -lncurses... " >&6; }
11352 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11353 $as_echo_n "(cached) " >&6
11355 ac_check_soname_save_LIBS
=$LIBS
11356 LIBS
="-lncurses $LIBS"
11357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11358 /* end confdefs.h. */
11360 /* Override any GCC internal prototype to avoid an error.
11361 Use char because int might match the return type of a GCC
11362 builtin and then its argument prototype would still apply. */
11375 if ac_fn_c_try_link
"$LINENO"; then :
11377 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11378 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'` ;;
11379 *) 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'`
11380 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11381 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11385 rm -f core conftest.err conftest.
$ac_objext \
11386 conftest
$ac_exeext conftest.
$ac_ext
11387 LIBS
=$ac_check_soname_save_LIBS
11389 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11391 $as_echo "not found" >&6; }
11394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11395 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11397 cat >>confdefs.h
<<_ACEOF
11398 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11401 CURSES_LIBS
="-lncurses"
11403 elif test "$ac_cv_header_curses_h" = "yes"
11405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11406 $as_echo_n "checking for -lcurses... " >&6; }
11407 if ${ac_cv_lib_soname_curses+:} false
; then :
11408 $as_echo_n "(cached) " >&6
11410 ac_check_soname_save_LIBS
=$LIBS
11411 LIBS
="-lcurses $LIBS"
11412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11413 /* end confdefs.h. */
11415 /* Override any GCC internal prototype to avoid an error.
11416 Use char because int might match the return type of a GCC
11417 builtin and then its argument prototype would still apply. */
11430 if ac_fn_c_try_link
"$LINENO"; then :
11432 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11433 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'` ;;
11434 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11435 if ${ac_cv_lib_soname_curses:+false} :; then :
11436 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11440 rm -f core conftest.err conftest.
$ac_objext \
11441 conftest
$ac_exeext conftest.
$ac_ext
11442 LIBS
=$ac_check_soname_save_LIBS
11444 if ${ac_cv_lib_soname_curses:+false} :; then :
11445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11446 $as_echo "not found" >&6; }
11449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11450 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11452 cat >>confdefs.h
<<_ACEOF
11453 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11456 CURSES_LIBS
="-lcurses"
11459 ac_save_LIBS
="$LIBS"
11460 LIBS
="$LIBS $CURSES_LIBS"
11461 for ac_func
in mousemask
11463 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11464 if test "x$ac_cv_func_mousemask" = xyes
; then :
11465 cat >>confdefs.h
<<_ACEOF
11466 #define HAVE_MOUSEMASK 1
11472 LIBS
="$ac_save_LIBS"
11473 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11474 case "x$with_curses" in
11475 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11477 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11478 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11482 if test "x$with_sane" != "xno"
11484 if ${SANE_CFLAGS:+false} :; then :
11485 if ${PKG_CONFIG+:} false
; then :
11486 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11489 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11490 if ${SANE_LIBS:+false} :; then :
11491 if ${PKG_CONFIG+:} false
; then :
11492 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11495 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11497 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11498 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11499 ac_save_CPPFLAGS
=$CPPFLAGS
11500 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11501 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11502 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11504 $as_echo_n "checking for -lsane... " >&6; }
11505 if ${ac_cv_lib_soname_sane+:} false
; then :
11506 $as_echo_n "(cached) " >&6
11508 ac_check_soname_save_LIBS
=$LIBS
11509 LIBS
="-lsane $SANE_LIBS $LIBS"
11510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11511 /* end confdefs.h. */
11513 /* Override any GCC internal prototype to avoid an error.
11514 Use char because int might match the return type of a GCC
11515 builtin and then its argument prototype would still apply. */
11523 return sane_init ();
11528 if ac_fn_c_try_link
"$LINENO"; then :
11530 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11531 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'` ;;
11532 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11533 if ${ac_cv_lib_soname_sane:+false} :; then :
11534 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11538 rm -f core conftest.err conftest.
$ac_objext \
11539 conftest
$ac_exeext conftest.
$ac_ext
11540 LIBS
=$ac_check_soname_save_LIBS
11542 if ${ac_cv_lib_soname_sane:+false} :; then :
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11544 $as_echo "not found" >&6; }
11547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11548 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11550 cat >>confdefs.h
<<_ACEOF
11551 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11561 CPPFLAGS
=$ac_save_CPPFLAGS
11562 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11563 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11566 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11567 case "x$with_sane" in
11568 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11570 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11571 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11575 if test "x$with_v4l" != "xno"
11577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11578 $as_echo_n "checking for -lv4l1... " >&6; }
11579 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11580 $as_echo_n "(cached) " >&6
11582 ac_check_soname_save_LIBS
=$LIBS
11583 LIBS
="-lv4l1 $LIBS"
11584 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11585 /* end confdefs.h. */
11587 /* Override any GCC internal prototype to avoid an error.
11588 Use char because int might match the return type of a GCC
11589 builtin and then its argument prototype would still apply. */
11597 return v4l1_open ();
11602 if ac_fn_c_try_link
"$LINENO"; then :
11604 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11605 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'` ;;
11606 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11607 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11608 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11612 rm -f core conftest.err conftest.
$ac_objext \
11613 conftest
$ac_exeext conftest.
$ac_ext
11614 LIBS
=$ac_check_soname_save_LIBS
11616 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11618 $as_echo "not found" >&6; }
11621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11622 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11624 cat >>confdefs.h
<<_ACEOF
11625 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11631 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11632 case "x$with_v4l" in
11633 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11635 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11636 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11640 if test "x$with_gphoto" != "xno"
11642 if ${GPHOTO2_CFLAGS:+false} :; then :
11643 if ${PKG_CONFIG+:} false
; then :
11644 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11647 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11648 if ${GPHOTO2_LIBS:+false} :; then :
11649 if ${PKG_CONFIG+:} false
; then :
11650 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11653 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11654 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11655 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11656 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11657 ac_save_CPPFLAGS
=$CPPFLAGS
11658 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11659 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11660 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11662 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11663 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11664 $as_echo_n "(cached) " >&6
11666 ac_check_lib_save_LIBS
=$LIBS
11667 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11669 /* end confdefs.h. */
11671 /* Override any GCC internal prototype to avoid an error.
11672 Use char because int might match the return type of a GCC
11673 builtin and then its argument prototype would still apply. */
11677 char gp_camera_new ();
11681 return gp_camera_new ();
11686 if ac_fn_c_try_link
"$LINENO"; then :
11687 ac_cv_lib_gphoto2_gp_camera_new
=yes
11689 ac_cv_lib_gphoto2_gp_camera_new
=no
11691 rm -f core conftest.err conftest.
$ac_objext \
11692 conftest
$ac_exeext conftest.
$ac_ext
11693 LIBS
=$ac_check_lib_save_LIBS
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11696 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11697 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11699 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11702 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11706 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11710 CPPFLAGS
=$ac_save_CPPFLAGS
11711 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11712 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11714 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11715 if ${PKG_CONFIG+:} false
; then :
11716 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11719 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11720 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11721 if ${PKG_CONFIG+:} false
; then :
11722 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11725 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11726 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11727 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11728 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11729 ac_save_CPPFLAGS
=$CPPFLAGS
11730 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11731 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11732 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11734 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11735 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11736 $as_echo_n "(cached) " >&6
11738 ac_check_lib_save_LIBS
=$LIBS
11739 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11741 /* end confdefs.h. */
11743 /* Override any GCC internal prototype to avoid an error.
11744 Use char because int might match the return type of a GCC
11745 builtin and then its argument prototype would still apply. */
11749 char gp_port_info_list_new ();
11753 return gp_port_info_list_new ();
11758 if ac_fn_c_try_link
"$LINENO"; then :
11759 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11761 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11763 rm -f core conftest.err conftest.
$ac_objext \
11764 conftest
$ac_exeext conftest.
$ac_ext
11765 LIBS
=$ac_check_lib_save_LIBS
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11768 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11769 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11771 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11774 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11778 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11782 CPPFLAGS
=$ac_save_CPPFLAGS
11783 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11784 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11787 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11788 case "x$with_gphoto" in
11789 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11791 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11792 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11795 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11796 case "x$with_gphoto" in
11797 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11799 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11800 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11805 if test "$ac_cv_header_resolv_h" = "yes"
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11808 $as_echo_n "checking for resolver library... " >&6; }
11809 if ${ac_cv_have_resolv+:} false
; then :
11810 $as_echo_n "(cached) " >&6
11812 ac_save_LIBS
="$LIBS"
11813 for lib
in '' -lresolv
11815 LIBS
="$lib $ac_save_LIBS"
11816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11817 /* end confdefs.h. */
11818 #ifdef HAVE_NETINET_IN_H
11819 #include <netinet/in.h>
11821 #include <resolv.h>
11825 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11830 if ac_fn_c_try_link
"$LINENO"; then :
11831 ac_cv_have_resolv
=${lib:-"none required"}
11833 ac_cv_have_resolv
="not found"
11835 rm -f core conftest.err conftest.
$ac_objext \
11836 conftest
$ac_exeext conftest.
$ac_ext
11837 test "x$ac_cv_have_resolv" = "xnot found" ||
break
11839 LIBS
="$ac_save_LIBS"
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11842 $as_echo "$ac_cv_have_resolv" >&6; }
11844 case "$ac_cv_have_resolv" in
11848 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11851 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11853 RESOLV_LIBS
=$ac_cv_have_resolv
11858 if test "x$with_cms" != "xno"
11860 if ${LCMS2_CFLAGS:+false} :; then :
11861 if ${PKG_CONFIG+:} false
; then :
11862 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11866 if ${LCMS2_LIBS:+false} :; then :
11867 if ${PKG_CONFIG+:} false
; then :
11868 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11872 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
11873 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11874 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11875 ac_save_CPPFLAGS
=$CPPFLAGS
11876 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
11877 for ac_header
in lcms2.h
11879 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11880 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
11881 cat >>confdefs.h
<<_ACEOF
11882 #define HAVE_LCMS2_H 1
11889 if test "$ac_cv_header_lcms2_h" = "yes"
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11892 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11893 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
11894 $as_echo_n "(cached) " >&6
11896 ac_check_lib_save_LIBS
=$LIBS
11897 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
11898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11899 /* end confdefs.h. */
11901 /* Override any GCC internal prototype to avoid an error.
11902 Use char because int might match the return type of a GCC
11903 builtin and then its argument prototype would still apply. */
11907 char cmsOpenProfileFromFile ();
11911 return cmsOpenProfileFromFile ();
11916 if ac_fn_c_try_link
"$LINENO"; then :
11917 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
11919 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
11921 rm -f core conftest.err conftest.
$ac_objext \
11922 conftest
$ac_exeext conftest.
$ac_ext
11923 LIBS
=$ac_check_lib_save_LIBS
11925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11926 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11927 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
11929 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11939 CPPFLAGS
=$ac_save_CPPFLAGS
11940 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11941 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11944 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11945 case "x$with_cms" in
11946 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11948 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11949 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11953 if test "x$with_freetype" != "xno"
11955 if ${FREETYPE_CFLAGS:+false} :; then :
11956 if ${PKG_CONFIG+:} false
; then :
11957 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11960 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11961 if ${FREETYPE_LIBS:+false} :; then :
11962 if ${PKG_CONFIG+:} false
; then :
11963 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11966 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11967 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
11968 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11969 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11970 ac_save_CPPFLAGS
=$CPPFLAGS
11971 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
11972 for ac_header
in ft2build.h
11974 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11975 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
11976 cat >>confdefs.h
<<_ACEOF
11977 #define HAVE_FT2BUILD_H 1
11984 if test "$ac_cv_header_ft2build_h" = "yes"
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11987 $as_echo_n "checking for -lfreetype... " >&6; }
11988 if ${ac_cv_lib_soname_freetype+:} false
; then :
11989 $as_echo_n "(cached) " >&6
11991 ac_check_soname_save_LIBS
=$LIBS
11992 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
11993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11994 /* end confdefs.h. */
11996 /* Override any GCC internal prototype to avoid an error.
11997 Use char because int might match the return type of a GCC
11998 builtin and then its argument prototype would still apply. */
12002 char FT_Init_FreeType ();
12006 return FT_Init_FreeType ();
12011 if ac_fn_c_try_link
"$LINENO"; then :
12013 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12014 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'` ;;
12015 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12016 if ${ac_cv_lib_soname_freetype:+false} :; then :
12017 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12021 rm -f core conftest.err conftest.
$ac_objext \
12022 conftest
$ac_exeext conftest.
$ac_ext
12023 LIBS
=$ac_check_soname_save_LIBS
12025 if ${ac_cv_lib_soname_freetype:+false} :; then :
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12027 $as_echo "not found" >&6; }
12030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12031 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12033 cat >>confdefs.h
<<_ACEOF
12034 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12038 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12040 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12041 #include FT_MODULE_H
12043 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12045 cat >>confdefs.h
<<_ACEOF
12046 #define HAVE_FT_TRUETYPEENGINETYPE 1
12057 CPPFLAGS
=$ac_save_CPPFLAGS
12058 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12059 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12062 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12063 case "x$with_freetype" in
12065 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12066 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12069 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12072 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12073 if ${ac_cv_c_ppdev+:} false
; then :
12074 $as_echo_n "(cached) " >&6
12076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12077 /* end confdefs.h. */
12078 #ifdef HAVE_SYS_IOCTL_H
12079 # include <sys/ioctl.h>
12081 #include <linux/ppdev.h>
12085 ioctl (1,PPCLAIM,0)
12090 if ac_fn_c_try_compile
"$LINENO"; then :
12091 ac_cv_c_ppdev
="yes"
12095 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12098 $as_echo "$ac_cv_c_ppdev" >&6; }
12099 if test "$ac_cv_c_ppdev" = "yes"
12102 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12106 ac_wine_check_funcs_save_LIBS
="$LIBS"
12107 LIBS
="$LIBS $PTHREAD_LIBS"
12109 pthread_attr_get_np \
12110 pthread_getattr_np \
12111 pthread_getthreadid_np \
12112 pthread_get_stackaddr_np \
12113 pthread_get_stacksize_np
12115 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12116 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12117 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12118 cat >>confdefs.h
<<_ACEOF
12119 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12125 LIBS
="$ac_wine_check_funcs_save_LIBS"
12127 if test "$ac_cv_header_zlib_h" = "yes"
12129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12130 $as_echo_n "checking for inflate in -lz... " >&6; }
12131 if ${ac_cv_lib_z_inflate+:} false
; then :
12132 $as_echo_n "(cached) " >&6
12134 ac_check_lib_save_LIBS
=$LIBS
12136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12137 /* end confdefs.h. */
12139 /* Override any GCC internal prototype to avoid an error.
12140 Use char because int might match the return type of a GCC
12141 builtin and then its argument prototype would still apply. */
12154 if ac_fn_c_try_link
"$LINENO"; then :
12155 ac_cv_lib_z_inflate
=yes
12157 ac_cv_lib_z_inflate
=no
12159 rm -f core conftest.err conftest.
$ac_objext \
12160 conftest
$ac_exeext conftest.
$ac_ext
12161 LIBS
=$ac_check_lib_save_LIBS
12163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12164 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12165 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12167 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12174 if test "x$Z_LIBS" = "x"; then :
12175 case "x$with_zlib" in
12176 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12178 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12179 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12183 if test "x$enable_tools" != xno
12185 if test "$ac_cv_header_gettext_po_h" = "yes"
12187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12188 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12189 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12190 $as_echo_n "(cached) " >&6
12192 ac_check_lib_save_LIBS
=$LIBS
12193 LIBS
="-lgettextpo $LIBS"
12194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12195 /* end confdefs.h. */
12197 /* Override any GCC internal prototype to avoid an error.
12198 Use char because int might match the return type of a GCC
12199 builtin and then its argument prototype would still apply. */
12203 char po_message_msgctxt ();
12207 return po_message_msgctxt ();
12212 if ac_fn_c_try_link
"$LINENO"; then :
12213 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12215 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12217 rm -f core conftest.err conftest.
$ac_objext \
12218 conftest
$ac_exeext conftest.
$ac_ext
12219 LIBS
=$ac_check_lib_save_LIBS
12221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12222 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12223 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12225 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12227 GETTEXTPO_LIBS
="-lgettextpo"
12232 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12233 case "x$with_gettextpo" in
12234 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12236 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12237 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12242 if test "x$with_gstreamer" != "xno"
12244 if ${GSTREAMER_CFLAGS:+false} :; then :
12245 if ${PKG_CONFIG+:} false
; then :
12246 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12250 if ${GSTREAMER_LIBS:+false} :; then :
12251 if ${PKG_CONFIG+:} false
; then :
12252 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12257 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12258 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12259 ac_save_CPPFLAGS
=$CPPFLAGS
12260 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12262 for i
in $GSTREAMER_CFLAGS
12265 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12268 GSTREAMER_CFLAGS
=$ac_gst_incl
12269 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12270 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12271 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12272 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12273 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12275 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12277 /* end confdefs.h. */
12278 #include <gst/app/gstappsink.h>
12282 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12287 if ac_fn_c_try_compile
"$LINENO"; then :
12288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12289 $as_echo "yes" >&6; }
12290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12291 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12292 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12293 $as_echo_n "(cached) " >&6
12295 ac_check_lib_save_LIBS
=$LIBS
12296 LIBS
="-lgstreamer-0.10 $LIBS"
12297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12298 /* end confdefs.h. */
12300 /* Override any GCC internal prototype to avoid an error.
12301 Use char because int might match the return type of a GCC
12302 builtin and then its argument prototype would still apply. */
12306 char gst_pad_get_caps_reffed ();
12310 return gst_pad_get_caps_reffed ();
12315 if ac_fn_c_try_link
"$LINENO"; then :
12316 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12318 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12320 rm -f core conftest.err conftest.
$ac_objext \
12321 conftest
$ac_exeext conftest.
$ac_ext
12322 LIBS
=$ac_check_lib_save_LIBS
12324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12325 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12326 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12328 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12329 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12330 $as_echo_n "(cached) " >&6
12332 ac_check_lib_save_LIBS
=$LIBS
12333 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12335 /* end confdefs.h. */
12337 /* Override any GCC internal prototype to avoid an error.
12338 Use char because int might match the return type of a GCC
12339 builtin and then its argument prototype would still apply. */
12343 char gst_app_buffer_new ();
12347 return gst_app_buffer_new ();
12352 if ac_fn_c_try_link
"$LINENO"; then :
12353 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12355 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12357 rm -f core conftest.err conftest.
$ac_objext \
12358 conftest
$ac_exeext conftest.
$ac_ext
12359 LIBS
=$ac_check_lib_save_LIBS
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12362 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12363 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12371 $as_echo "no" >&6; }
12373 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12378 GSTREAMER_CFLAGS
=""
12382 CPPFLAGS
=$ac_save_CPPFLAGS
12383 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12384 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12387 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12388 case "x$with_gstreamer" in
12389 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12391 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12392 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12395 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12399 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12402 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12403 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12404 $as_echo_n "(cached) " >&6
12406 ac_check_lib_save_LIBS
=$LIBS
12407 LIBS
="-lasound $LIBS"
12408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12409 /* end confdefs.h. */
12411 /* Override any GCC internal prototype to avoid an error.
12412 Use char because int might match the return type of a GCC
12413 builtin and then its argument prototype would still apply. */
12417 char snd_pcm_hw_params_get_access_mask ();
12421 return snd_pcm_hw_params_get_access_mask ();
12426 if ac_fn_c_try_link
"$LINENO"; then :
12427 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12429 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12431 rm -f core conftest.err conftest.
$ac_objext \
12432 conftest
$ac_exeext conftest.
$ac_ext
12433 LIBS
=$ac_check_lib_save_LIBS
12435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12436 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12437 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12439 /* end confdefs.h. */
12440 #ifdef HAVE_ALSA_ASOUNDLIB_H
12441 #include <alsa/asoundlib.h>
12442 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12443 #include <sys/asoundlib.h>
12448 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12453 if ac_fn_c_try_compile
"$LINENO"; then :
12454 ALSA_LIBS
="-lasound"
12456 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12461 if test "x$with_oss" != xno
12463 ac_save_CPPFLAGS
="$CPPFLAGS"
12464 if test -f /etc
/oss.conf
12468 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12469 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12470 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12471 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12472 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12474 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12476 cat >>confdefs.h
<<_ACEOF
12477 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12480 OSS4_CFLAGS
="$ac_oss_incl"
12487 CPPFLAGS
="$ac_save_CPPFLAGS"
12488 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12490 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12494 if test "x$with_capi" != "xno"
12496 if ${CAPI20_CFLAGS:+false} :; then :
12497 if ${PKG_CONFIG+:} false
; then :
12498 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12502 if ${CAPI20_LIBS:+false} :; then :
12503 if ${PKG_CONFIG+:} false
; then :
12504 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12509 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12510 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12511 ac_save_CPPFLAGS
=$CPPFLAGS
12512 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12513 for ac_header
in capi20.h linux
/capi.h
12515 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12516 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12518 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12519 cat >>confdefs.h
<<_ACEOF
12520 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12527 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12530 $as_echo_n "checking for -lcapi20... " >&6; }
12531 if ${ac_cv_lib_soname_capi20+:} false
; then :
12532 $as_echo_n "(cached) " >&6
12534 ac_check_soname_save_LIBS
=$LIBS
12535 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12537 /* end confdefs.h. */
12539 /* Override any GCC internal prototype to avoid an error.
12540 Use char because int might match the return type of a GCC
12541 builtin and then its argument prototype would still apply. */
12545 char capi20_register ();
12549 return capi20_register ();
12554 if ac_fn_c_try_link
"$LINENO"; then :
12556 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12557 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'` ;;
12558 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12559 if ${ac_cv_lib_soname_capi20:+false} :; then :
12560 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12564 rm -f core conftest.err conftest.
$ac_objext \
12565 conftest
$ac_exeext conftest.
$ac_ext
12566 LIBS
=$ac_check_soname_save_LIBS
12568 if ${ac_cv_lib_soname_capi20:+false} :; then :
12569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12570 $as_echo "not found" >&6; }
12573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12574 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12576 cat >>confdefs.h
<<_ACEOF
12577 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12583 CPPFLAGS
=$ac_save_CPPFLAGS
12584 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12585 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12588 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12589 case "x$with_capi" in
12590 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12592 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12593 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12599 if test "x$with_cups" != "xno"
12601 ac_save_CPPFLAGS
="$CPPFLAGS"
12602 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12603 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12604 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12605 for ac_header
in cups
/cups.h
12607 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12608 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12609 cat >>confdefs.h
<<_ACEOF
12610 #define HAVE_CUPS_CUPS_H 1
12612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12613 $as_echo_n "checking for -lcups... " >&6; }
12614 if ${ac_cv_lib_soname_cups+:} false
; then :
12615 $as_echo_n "(cached) " >&6
12617 ac_check_soname_save_LIBS
=$LIBS
12618 LIBS
="-lcups $ac_cups_libs $LIBS"
12619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12620 /* end confdefs.h. */
12622 /* Override any GCC internal prototype to avoid an error.
12623 Use char because int might match the return type of a GCC
12624 builtin and then its argument prototype would still apply. */
12628 char cupsGetDefault ();
12632 return cupsGetDefault ();
12637 if ac_fn_c_try_link
"$LINENO"; then :
12639 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12640 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'` ;;
12641 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12642 if ${ac_cv_lib_soname_cups:+false} :; then :
12643 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12647 rm -f core conftest.err conftest.
$ac_objext \
12648 conftest
$ac_exeext conftest.
$ac_ext
12649 LIBS
=$ac_check_soname_save_LIBS
12651 if ${ac_cv_lib_soname_cups:+false} :; then :
12652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12653 $as_echo "not found" >&6; }
12656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12657 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12659 cat >>confdefs.h
<<_ACEOF
12660 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12663 CUPS_CFLAGS
="$ac_cups_cflags"
12669 CPPFLAGS
="$ac_save_CPPFLAGS"
12671 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12672 case "x$with_cups" in
12673 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12675 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12676 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12680 if test "x$with_fontconfig" != "xno"
12682 if ${FONTCONFIG_CFLAGS:+false} :; then :
12683 if ${PKG_CONFIG+:} false
; then :
12684 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12687 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12688 if ${FONTCONFIG_LIBS:+false} :; then :
12689 if ${PKG_CONFIG+:} false
; then :
12690 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12693 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
12695 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12696 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12697 ac_save_CPPFLAGS
=$CPPFLAGS
12698 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
12699 for ac_header
in fontconfig
/fontconfig.h
12701 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12702 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12703 cat >>confdefs.h
<<_ACEOF
12704 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12711 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12714 $as_echo_n "checking for -lfontconfig... " >&6; }
12715 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12716 $as_echo_n "(cached) " >&6
12718 ac_check_soname_save_LIBS
=$LIBS
12719 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12721 /* end confdefs.h. */
12723 /* Override any GCC internal prototype to avoid an error.
12724 Use char because int might match the return type of a GCC
12725 builtin and then its argument prototype would still apply. */
12738 if ac_fn_c_try_link
"$LINENO"; then :
12740 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12741 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'` ;;
12742 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12743 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12744 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12748 rm -f core conftest.err conftest.
$ac_objext \
12749 conftest
$ac_exeext conftest.
$ac_ext
12750 LIBS
=$ac_check_soname_save_LIBS
12752 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12754 $as_echo "not found" >&6; }
12755 FONTCONFIG_CFLAGS
=""
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12758 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12760 cat >>confdefs.h
<<_ACEOF
12761 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12767 FONTCONFIG_CFLAGS
=""
12769 CPPFLAGS
=$ac_save_CPPFLAGS
12770 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12771 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12774 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12775 case "x$with_fontconfig" in
12776 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12778 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12779 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12783 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12786 $as_echo_n "checking for -lgsm... " >&6; }
12787 if ${ac_cv_lib_soname_gsm+:} false
; then :
12788 $as_echo_n "(cached) " >&6
12790 ac_check_soname_save_LIBS
=$LIBS
12792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12793 /* end confdefs.h. */
12795 /* Override any GCC internal prototype to avoid an error.
12796 Use char because int might match the return type of a GCC
12797 builtin and then its argument prototype would still apply. */
12801 char gsm_create ();
12805 return gsm_create ();
12810 if ac_fn_c_try_link
"$LINENO"; then :
12812 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12813 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'` ;;
12814 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12815 if ${ac_cv_lib_soname_gsm:+false} :; then :
12816 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12820 rm -f core conftest.err conftest.
$ac_objext \
12821 conftest
$ac_exeext conftest.
$ac_ext
12822 LIBS
=$ac_check_soname_save_LIBS
12824 if ${ac_cv_lib_soname_gsm:+false} :; then :
12825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12826 $as_echo "not found" >&6; }
12829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12830 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12832 cat >>confdefs.h
<<_ACEOF
12833 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12839 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12840 case "x$with_gsm" in
12841 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12843 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12844 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12848 if test "x$with_jpeg" != "xno"
12850 if ${JPEG_CFLAGS:+false} :; then :
12851 if ${PKG_CONFIG+:} false
; then :
12852 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12856 if ${JPEG_LIBS:+false} :; then :
12857 if ${PKG_CONFIG+:} false
; then :
12858 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12863 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12864 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12865 ac_save_CPPFLAGS
=$CPPFLAGS
12866 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
12867 for ac_header
in jpeglib.h
12869 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12870 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
12871 cat >>confdefs.h
<<_ACEOF
12872 #define HAVE_JPEGLIB_H 1
12879 if test "$ac_cv_header_jpeglib_h" = "yes"
12881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12882 $as_echo_n "checking for -ljpeg... " >&6; }
12883 if ${ac_cv_lib_soname_jpeg+:} false
; then :
12884 $as_echo_n "(cached) " >&6
12886 ac_check_soname_save_LIBS
=$LIBS
12887 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
12888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12889 /* end confdefs.h. */
12891 /* Override any GCC internal prototype to avoid an error.
12892 Use char because int might match the return type of a GCC
12893 builtin and then its argument prototype would still apply. */
12897 char jpeg_start_decompress ();
12901 return jpeg_start_decompress ();
12906 if ac_fn_c_try_link
"$LINENO"; then :
12908 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12909 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'` ;;
12910 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12911 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12912 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12916 rm -f core conftest.err conftest.
$ac_objext \
12917 conftest
$ac_exeext conftest.
$ac_ext
12918 LIBS
=$ac_check_soname_save_LIBS
12920 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12922 $as_echo "not found" >&6; }
12925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12926 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12928 cat >>confdefs.h
<<_ACEOF
12929 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12937 CPPFLAGS
=$ac_save_CPPFLAGS
12938 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12939 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12942 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12943 case "x$with_jpeg" in
12944 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12946 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12947 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12951 if test "x$with_png" != "xno"
12953 if ${PNG_CFLAGS:+false} :; then :
12954 if ${PKG_CONFIG+:} false
; then :
12955 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12958 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
12959 if ${PNG_LIBS:+false} :; then :
12960 if ${PKG_CONFIG+:} false
; then :
12961 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
12964 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
12966 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12967 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12968 ac_save_CPPFLAGS
=$CPPFLAGS
12969 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
12970 for ac_header
in png.h
12972 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12973 if test "x$ac_cv_header_png_h" = xyes
; then :
12974 cat >>confdefs.h
<<_ACEOF
12975 #define HAVE_PNG_H 1
12982 if test "$ac_cv_header_png_h" = "yes"
12984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12985 $as_echo_n "checking for -lpng... " >&6; }
12986 if ${ac_cv_lib_soname_png+:} false
; then :
12987 $as_echo_n "(cached) " >&6
12989 ac_check_soname_save_LIBS
=$LIBS
12990 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
12991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12992 /* end confdefs.h. */
12994 /* Override any GCC internal prototype to avoid an error.
12995 Use char because int might match the return type of a GCC
12996 builtin and then its argument prototype would still apply. */
13000 char png_create_read_struct ();
13004 return png_create_read_struct ();
13009 if ac_fn_c_try_link
"$LINENO"; then :
13011 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13012 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'` ;;
13013 *) 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'`
13014 if ${ac_cv_lib_soname_png:+false} :; then :
13015 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13019 rm -f core conftest.err conftest.
$ac_objext \
13020 conftest
$ac_exeext conftest.
$ac_ext
13021 LIBS
=$ac_check_soname_save_LIBS
13023 if ${ac_cv_lib_soname_png:+false} :; then :
13024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13025 $as_echo "not found" >&6; }
13028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13029 $as_echo "$ac_cv_lib_soname_png" >&6; }
13031 cat >>confdefs.h
<<_ACEOF
13032 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13036 /* end confdefs.h. */
13041 typeof(png_set_expand_gray_1_2_4_to_8) *p
13046 if ac_fn_c_try_compile
"$LINENO"; then :
13048 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13051 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13056 CPPFLAGS
=$ac_save_CPPFLAGS
13057 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13058 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13061 if test "x$ac_cv_lib_soname_png" = "x"; then :
13062 case "x$with_png" in
13063 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13065 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13066 This is an error since --with-png was requested." "$LINENO" 5 ;;
13070 if test "x$with_tiff" != "xno"
13072 if ${TIFF_CFLAGS:+false} :; then :
13073 if ${PKG_CONFIG+:} false
; then :
13074 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13078 if ${TIFF_LIBS:+false} :; then :
13079 if ${PKG_CONFIG+:} false
; then :
13080 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13085 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13086 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13087 ac_save_CPPFLAGS
=$CPPFLAGS
13088 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13089 for ac_header
in tiffio.h
13091 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13092 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13093 cat >>confdefs.h
<<_ACEOF
13094 #define HAVE_TIFFIO_H 1
13101 if test "$ac_cv_header_tiffio_h" = "yes"
13103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13104 $as_echo_n "checking for -ltiff... " >&6; }
13105 if ${ac_cv_lib_soname_tiff+:} false
; then :
13106 $as_echo_n "(cached) " >&6
13108 ac_check_soname_save_LIBS
=$LIBS
13109 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13110 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13111 /* end confdefs.h. */
13113 /* Override any GCC internal prototype to avoid an error.
13114 Use char because int might match the return type of a GCC
13115 builtin and then its argument prototype would still apply. */
13119 char TIFFClientOpen ();
13123 return TIFFClientOpen ();
13128 if ac_fn_c_try_link
"$LINENO"; then :
13130 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13131 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'` ;;
13132 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13133 if ${ac_cv_lib_soname_tiff:+false} :; then :
13134 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13138 rm -f core conftest.err conftest.
$ac_objext \
13139 conftest
$ac_exeext conftest.
$ac_ext
13140 LIBS
=$ac_check_soname_save_LIBS
13142 if ${ac_cv_lib_soname_tiff:+false} :; then :
13143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13144 $as_echo "not found" >&6; }
13147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13148 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13150 cat >>confdefs.h
<<_ACEOF
13151 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13157 CPPFLAGS
=$ac_save_CPPFLAGS
13158 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13159 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13162 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13163 case "x$with_tiff" in
13164 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13166 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13167 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13171 if test "x$with_mpg123" != "xno"
13173 if ${MPG123_CFLAGS:+false} :; then :
13174 if ${PKG_CONFIG+:} false
; then :
13175 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13179 if ${MPG123_LIBS:+false} :; then :
13180 if ${PKG_CONFIG+:} false
; then :
13181 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13185 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13186 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13187 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13188 ac_save_CPPFLAGS
=$CPPFLAGS
13189 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13190 for ac_header
in mpg123.h
13192 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13193 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13194 cat >>confdefs.h
<<_ACEOF
13195 #define HAVE_MPG123_H 1
13202 if test "$ac_cv_header_mpg123_h" = "yes"
13204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13205 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13206 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13207 $as_echo_n "(cached) " >&6
13209 ac_check_lib_save_LIBS
=$LIBS
13210 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13212 /* end confdefs.h. */
13214 /* Override any GCC internal prototype to avoid an error.
13215 Use char because int might match the return type of a GCC
13216 builtin and then its argument prototype would still apply. */
13220 char mpg123_feed ();
13224 return mpg123_feed ();
13229 if ac_fn_c_try_link
"$LINENO"; then :
13230 ac_cv_lib_mpg123_mpg123_feed
=yes
13232 ac_cv_lib_mpg123_mpg123_feed
=no
13234 rm -f core conftest.err conftest.
$ac_objext \
13235 conftest
$ac_exeext conftest.
$ac_ext
13236 LIBS
=$ac_check_lib_save_LIBS
13238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13239 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13240 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13250 CPPFLAGS
=$ac_save_CPPFLAGS
13251 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13252 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13255 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13256 case "x$with_mpg123" in
13257 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13259 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13260 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13263 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
-o "x$ac_cv_header_AudioToolbox_AudioConverter_h" = xyes || enable_winemp3_acm
=${enable_winemp3_acm:-no}
13265 if test "$ac_cv_header_AL_al_h" = "yes"
13267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13268 $as_echo_n "checking for -lopenal... " >&6; }
13269 if ${ac_cv_lib_soname_openal+:} false
; then :
13270 $as_echo_n "(cached) " >&6
13272 ac_check_soname_save_LIBS
=$LIBS
13273 LIBS
="-lopenal $LIBS"
13274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13275 /* end confdefs.h. */
13277 /* Override any GCC internal prototype to avoid an error.
13278 Use char because int might match the return type of a GCC
13279 builtin and then its argument prototype would still apply. */
13283 char alGetSource3i ();
13287 return alGetSource3i ();
13292 if ac_fn_c_try_link
"$LINENO"; then :
13294 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13295 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'` ;;
13296 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13297 if ${ac_cv_lib_soname_openal:+false} :; then :
13298 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13302 rm -f core conftest.err conftest.
$ac_objext \
13303 conftest
$ac_exeext conftest.
$ac_ext
13304 LIBS
=$ac_check_soname_save_LIBS
13306 if ${ac_cv_lib_soname_openal:+false} :; then :
13307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13308 $as_echo "not found" >&6; }
13311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13312 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13314 cat >>confdefs.h
<<_ACEOF
13315 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13318 OPENAL_LIBS
="-lopenal"
13320 ac_cv_lib_openal
=yes
13322 cat >>confdefs.h
<<_ACEOF
13323 #define HAVE_OPENAL 1
13328 if test "x$ac_cv_lib_openal" != xyes
; then :
13329 case "x$with_openal" in
13330 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13332 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13333 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13336 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13338 if test "$ac_cv_header_kstat_h" = "yes"
13340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13341 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13342 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13343 $as_echo_n "(cached) " >&6
13345 ac_check_lib_save_LIBS
=$LIBS
13346 LIBS
="-lkstat $LIBS"
13347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13348 /* end confdefs.h. */
13350 /* Override any GCC internal prototype to avoid an error.
13351 Use char because int might match the return type of a GCC
13352 builtin and then its argument prototype would still apply. */
13356 char kstat_open ();
13360 return kstat_open ();
13365 if ac_fn_c_try_link
"$LINENO"; then :
13366 ac_cv_lib_kstat_kstat_open
=yes
13368 ac_cv_lib_kstat_kstat_open
=no
13370 rm -f core conftest.err conftest.
$ac_objext \
13371 conftest
$ac_exeext conftest.
$ac_ext
13372 LIBS
=$ac_check_lib_save_LIBS
13374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13375 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13376 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13378 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13380 KSTAT_LIBS
="-lkstat"
13386 if test "$ac_cv_header_libprocstat_h" = "yes"
13388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13389 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13390 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13391 $as_echo_n "(cached) " >&6
13393 ac_check_lib_save_LIBS
=$LIBS
13394 LIBS
="-lprocstat $LIBS"
13395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13396 /* end confdefs.h. */
13398 /* Override any GCC internal prototype to avoid an error.
13399 Use char because int might match the return type of a GCC
13400 builtin and then its argument prototype would still apply. */
13404 char procstat_open_sysctl ();
13408 return procstat_open_sysctl ();
13413 if ac_fn_c_try_link
"$LINENO"; then :
13414 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13416 ac_cv_lib_procstat_procstat_open_sysctl
=no
13418 rm -f core conftest.err conftest.
$ac_objext \
13419 conftest
$ac_exeext conftest.
$ac_ext
13420 LIBS
=$ac_check_lib_save_LIBS
13422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13423 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13424 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13426 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13428 PROCSTAT_LIBS
="-lprocstat"
13434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13435 $as_echo_n "checking for -lodbc... " >&6; }
13436 if ${ac_cv_lib_soname_odbc+:} false
; then :
13437 $as_echo_n "(cached) " >&6
13439 ac_check_soname_save_LIBS
=$LIBS
13440 LIBS
="-lodbc $LIBS"
13441 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13442 /* end confdefs.h. */
13444 /* Override any GCC internal prototype to avoid an error.
13445 Use char because int might match the return type of a GCC
13446 builtin and then its argument prototype would still apply. */
13450 char SQLConnect ();
13454 return SQLConnect ();
13459 if ac_fn_c_try_link
"$LINENO"; then :
13461 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13462 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'` ;;
13463 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13464 if ${ac_cv_lib_soname_odbc:+false} :; then :
13465 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13469 rm -f core conftest.err conftest.
$ac_objext \
13470 conftest
$ac_exeext conftest.
$ac_ext
13471 LIBS
=$ac_check_soname_save_LIBS
13473 if ${ac_cv_lib_soname_odbc:+false} :; then :
13474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13475 $as_echo "not found" >&6; }
13476 cat >>confdefs.h
<<_ACEOF
13477 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13482 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13484 cat >>confdefs.h
<<_ACEOF
13485 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13491 if test "x$with_netapi" != "xno"
13493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13494 $as_echo_n "checking for -lnetapi... " >&6; }
13495 if ${ac_cv_lib_soname_netapi+:} false
; then :
13496 $as_echo_n "(cached) " >&6
13498 ac_check_soname_save_LIBS
=$LIBS
13499 LIBS
="-lnetapi $LIBS"
13500 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13501 /* end confdefs.h. */
13503 /* Override any GCC internal prototype to avoid an error.
13504 Use char because int might match the return type of a GCC
13505 builtin and then its argument prototype would still apply. */
13509 char libnetapi_init ();
13513 return libnetapi_init ();
13518 if ac_fn_c_try_link
"$LINENO"; then :
13520 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13521 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'` ;;
13522 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13523 if ${ac_cv_lib_soname_netapi:+false} :; then :
13524 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13528 rm -f core conftest.err conftest.
$ac_objext \
13529 conftest
$ac_exeext conftest.
$ac_ext
13530 LIBS
=$ac_check_soname_save_LIBS
13532 if ${ac_cv_lib_soname_netapi:+false} :; then :
13533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13534 $as_echo "not found" >&6; }
13535 cat >>confdefs.h
<<_ACEOF
13536 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13541 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13543 cat >>confdefs.h
<<_ACEOF
13544 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13551 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13552 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13553 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13554 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13556 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13557 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13558 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13560 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13566 if test "x${GCC}" = "xyes"
13568 EXTRACFLAGS
="-Wall -pipe"
13570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13571 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13572 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13573 $as_echo_n "(cached) " >&6
13575 if test "$cross_compiling" = yes; then :
13576 ac_cv_c_gcc_strength_bug
="yes"
13578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13579 /* end confdefs.h. */
13580 int L[4] = {0,1,2,3};
13584 static int Array[3];
13585 unsigned int B = 3;
13587 for(i=0; i<B; i++) Array[i] = i - 3;
13588 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13590 return (Array[1] != -2 || L[2] != 3)
13595 if ac_fn_c_try_run
"$LINENO"; then :
13596 ac_cv_c_gcc_strength_bug
="no"
13598 ac_cv_c_gcc_strength_bug
="yes"
13600 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13601 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13606 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13607 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13609 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13613 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13614 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13615 $as_echo_n "(cached) " >&6
13617 ac_wine_try_cflags_saved
=$CFLAGS
13618 CFLAGS
="$CFLAGS -fno-builtin"
13619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13620 /* end confdefs.h. */
13621 int main(int argc, char **argv) { return 0; }
13623 if ac_fn_c_try_link
"$LINENO"; then :
13624 ac_cv_cflags__fno_builtin
=yes
13626 ac_cv_cflags__fno_builtin
=no
13628 rm -f core conftest.err conftest.
$ac_objext \
13629 conftest
$ac_exeext conftest.
$ac_ext
13630 CFLAGS
=$ac_wine_try_cflags_saved
13632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13633 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13634 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
13635 BUILTINFLAG
="-fno-builtin"
13638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13639 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13640 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13641 $as_echo_n "(cached) " >&6
13643 ac_wine_try_cflags_saved
=$CFLAGS
13644 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13646 /* end confdefs.h. */
13647 int main(int argc, char **argv) { return 0; }
13649 if ac_fn_c_try_link
"$LINENO"; then :
13650 ac_cv_cflags__fno_strict_aliasing
=yes
13652 ac_cv_cflags__fno_strict_aliasing
=no
13654 rm -f core conftest.err conftest.
$ac_objext \
13655 conftest
$ac_exeext conftest.
$ac_ext
13656 CFLAGS
=$ac_wine_try_cflags_saved
13658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13659 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13660 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
13661 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13663 saved_CFLAGS
=$CFLAGS
13664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13665 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13666 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13667 $as_echo_n "(cached) " >&6
13669 ac_wine_try_cflags_saved
=$CFLAGS
13670 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13672 /* end confdefs.h. */
13673 int main(int argc, char **argv) { return 0; }
13675 if ac_fn_c_try_link
"$LINENO"; then :
13676 ac_cv_cflags__Werror_unknown_warning_option
=yes
13678 ac_cv_cflags__Werror_unknown_warning_option
=no
13680 rm -f core conftest.err conftest.
$ac_objext \
13681 conftest
$ac_exeext conftest.
$ac_ext
13682 CFLAGS
=$ac_wine_try_cflags_saved
13684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13685 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13686 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
13687 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13690 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13691 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13692 $as_echo_n "(cached) " >&6
13694 ac_wine_try_cflags_saved
=$CFLAGS
13695 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13697 /* end confdefs.h. */
13698 int main(int argc, char **argv) { return 0; }
13700 if ac_fn_c_try_link
"$LINENO"; then :
13701 ac_cv_cflags__Wdeclaration_after_statement
=yes
13703 ac_cv_cflags__Wdeclaration_after_statement
=no
13705 rm -f core conftest.err conftest.
$ac_objext \
13706 conftest
$ac_exeext conftest.
$ac_ext
13707 CFLAGS
=$ac_wine_try_cflags_saved
13709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13710 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13711 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
13712 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13715 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13716 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13717 $as_echo_n "(cached) " >&6
13719 ac_wine_try_cflags_saved
=$CFLAGS
13720 CFLAGS
="$CFLAGS -Wempty-body"
13721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13722 /* end confdefs.h. */
13723 int main(int argc, char **argv) { return 0; }
13725 if ac_fn_c_try_link
"$LINENO"; then :
13726 ac_cv_cflags__Wempty_body
=yes
13728 ac_cv_cflags__Wempty_body
=no
13730 rm -f core conftest.err conftest.
$ac_objext \
13731 conftest
$ac_exeext conftest.
$ac_ext
13732 CFLAGS
=$ac_wine_try_cflags_saved
13734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13735 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13736 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
13737 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13740 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13741 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13742 $as_echo_n "(cached) " >&6
13744 ac_wine_try_cflags_saved
=$CFLAGS
13745 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13747 /* end confdefs.h. */
13748 int main(int argc, char **argv) { return 0; }
13750 if ac_fn_c_try_link
"$LINENO"; then :
13751 ac_cv_cflags__Wignored_qualifiers
=yes
13753 ac_cv_cflags__Wignored_qualifiers
=no
13755 rm -f core conftest.err conftest.
$ac_objext \
13756 conftest
$ac_exeext conftest.
$ac_ext
13757 CFLAGS
=$ac_wine_try_cflags_saved
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13760 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13761 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
13762 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13765 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13766 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13767 $as_echo_n "(cached) " >&6
13769 ac_wine_try_cflags_saved
=$CFLAGS
13770 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13772 /* end confdefs.h. */
13773 int main(int argc, char **argv) { return 0; }
13775 if ac_fn_c_try_link
"$LINENO"; then :
13776 ac_cv_cflags__Wstrict_prototypes
=yes
13778 ac_cv_cflags__Wstrict_prototypes
=no
13780 rm -f core conftest.err conftest.
$ac_objext \
13781 conftest
$ac_exeext conftest.
$ac_ext
13782 CFLAGS
=$ac_wine_try_cflags_saved
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13785 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13786 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
13787 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13790 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13791 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13792 $as_echo_n "(cached) " >&6
13794 ac_wine_try_cflags_saved
=$CFLAGS
13795 CFLAGS
="$CFLAGS -Wtype-limits"
13796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13797 /* end confdefs.h. */
13798 int main(int argc, char **argv) { return 0; }
13800 if ac_fn_c_try_link
"$LINENO"; then :
13801 ac_cv_cflags__Wtype_limits
=yes
13803 ac_cv_cflags__Wtype_limits
=no
13805 rm -f core conftest.err conftest.
$ac_objext \
13806 conftest
$ac_exeext conftest.
$ac_ext
13807 CFLAGS
=$ac_wine_try_cflags_saved
13809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13810 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13811 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
13812 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13815 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13816 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13817 $as_echo_n "(cached) " >&6
13819 ac_wine_try_cflags_saved
=$CFLAGS
13820 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13822 /* end confdefs.h. */
13823 int main(int argc, char **argv) { return 0; }
13825 if ac_fn_c_try_link
"$LINENO"; then :
13826 ac_cv_cflags__Wunused_but_set_parameter
=yes
13828 ac_cv_cflags__Wunused_but_set_parameter
=no
13830 rm -f core conftest.err conftest.
$ac_objext \
13831 conftest
$ac_exeext conftest.
$ac_ext
13832 CFLAGS
=$ac_wine_try_cflags_saved
13834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13835 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13836 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
13837 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13840 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13841 if ${ac_cv_cflags__Wvla+:} false
; then :
13842 $as_echo_n "(cached) " >&6
13844 ac_wine_try_cflags_saved
=$CFLAGS
13845 CFLAGS
="$CFLAGS -Wvla"
13846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13847 /* end confdefs.h. */
13848 int main(int argc, char **argv) { return 0; }
13850 if ac_fn_c_try_link
"$LINENO"; then :
13851 ac_cv_cflags__Wvla
=yes
13853 ac_cv_cflags__Wvla
=no
13855 rm -f core conftest.err conftest.
$ac_objext \
13856 conftest
$ac_exeext conftest.
$ac_ext
13857 CFLAGS
=$ac_wine_try_cflags_saved
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13860 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13861 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
13862 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13865 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13866 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
13867 $as_echo_n "(cached) " >&6
13869 ac_wine_try_cflags_saved
=$CFLAGS
13870 CFLAGS
="$CFLAGS -Wwrite-strings"
13871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13872 /* end confdefs.h. */
13873 int main(int argc, char **argv) { return 0; }
13875 if ac_fn_c_try_link
"$LINENO"; then :
13876 ac_cv_cflags__Wwrite_strings
=yes
13878 ac_cv_cflags__Wwrite_strings
=no
13880 rm -f core conftest.err conftest.
$ac_objext \
13881 conftest
$ac_exeext conftest.
$ac_ext
13882 CFLAGS
=$ac_wine_try_cflags_saved
13884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13885 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13886 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
13887 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13891 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13892 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
13893 $as_echo_n "(cached) " >&6
13895 ac_wine_try_cflags_saved
=$CFLAGS
13896 CFLAGS
="$CFLAGS -Wpointer-arith"
13897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13898 /* end confdefs.h. */
13899 int main(int argc, char **argv) { return 0; }
13901 if ac_fn_c_try_link
"$LINENO"; then :
13902 ac_cv_cflags__Wpointer_arith
=yes
13904 ac_cv_cflags__Wpointer_arith
=no
13906 rm -f core conftest.err conftest.
$ac_objext \
13907 conftest
$ac_exeext conftest.
$ac_ext
13908 CFLAGS
=$ac_wine_try_cflags_saved
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13911 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13912 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
13913 saved_string_h_CFLAGS
=$CFLAGS
13914 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13916 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13917 if ${ac_cv_c_string_h_warnings+:} false
; then :
13918 $as_echo_n "(cached) " >&6
13920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13921 /* end confdefs.h. */
13922 #include <string.h>
13931 if ac_fn_c_try_compile
"$LINENO"; then :
13932 ac_cv_c_string_h_warnings
=no
13934 ac_cv_c_string_h_warnings
=yes
13936 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13939 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13940 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
13941 CFLAGS
=$saved_string_h_CFLAGS
13944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13945 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13946 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
13947 $as_echo_n "(cached) " >&6
13949 ac_wine_try_cflags_saved
=$CFLAGS
13950 CFLAGS
="$CFLAGS -Wlogical-op"
13951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13952 /* end confdefs.h. */
13953 int main(int argc, char **argv) { return 0; }
13955 if ac_fn_c_try_link
"$LINENO"; then :
13956 ac_cv_cflags__Wlogical_op
=yes
13958 ac_cv_cflags__Wlogical_op
=no
13960 rm -f core conftest.err conftest.
$ac_objext \
13961 conftest
$ac_exeext conftest.
$ac_ext
13962 CFLAGS
=$ac_wine_try_cflags_saved
13964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13965 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13966 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
13967 saved_string_h_CFLAGS
=$CFLAGS
13968 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13970 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13971 if ${ac_cv_c_logicalop_noisy+:} false
; then :
13972 $as_echo_n "(cached) " >&6
13974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13975 /* end confdefs.h. */
13976 #include <string.h>
13977 char*f(const char *h,char n) {return strchr(h,n);}
13986 if ac_fn_c_try_compile
"$LINENO"; then :
13987 ac_cv_c_logicalop_noisy
=no
13989 ac_cv_c_logicalop_noisy
=yes
13991 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13994 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13995 CFLAGS
=$saved_string_h_CFLAGS
13996 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
13999 CFLAGS
=$saved_CFLAGS
14001 for ac_flag
in $CFLAGS; do
14003 -g) case $host_os in
14004 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
14005 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
14006 if ${ac_cv_cflags__gstabsp+:} false
; then :
14007 $as_echo_n "(cached) " >&6
14009 ac_wine_try_cflags_saved
=$CFLAGS
14010 CFLAGS
="$CFLAGS -gstabs+"
14011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14012 /* end confdefs.h. */
14013 int main(int argc, char **argv) { return 0; }
14015 if ac_fn_c_try_link
"$LINENO"; then :
14016 ac_cv_cflags__gstabsp
=yes
14018 ac_cv_cflags__gstabsp
=no
14020 rm -f core conftest.err conftest.
$ac_objext \
14021 conftest
$ac_exeext conftest.
$ac_ext
14022 CFLAGS
=$ac_wine_try_cflags_saved
14024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14025 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14026 if test "x$ac_cv_cflags__gstabsp" = xyes
; then :
14027 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
14029 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14030 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14031 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14032 $as_echo_n "(cached) " >&6
14034 ac_wine_try_cflags_saved
=$CFLAGS
14035 CFLAGS
="$CFLAGS -gdwarf-2"
14036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14037 /* end confdefs.h. */
14038 int main(int argc, char **argv) { return 0; }
14040 if ac_fn_c_try_link
"$LINENO"; then :
14041 ac_cv_cflags__gdwarf_2
=yes
14043 ac_cv_cflags__gdwarf_2
=no
14045 rm -f core conftest.err conftest.
$ac_objext \
14046 conftest
$ac_exeext conftest.
$ac_ext
14047 CFLAGS
=$ac_wine_try_cflags_saved
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14050 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14051 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14052 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14055 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14056 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14057 $as_echo_n "(cached) " >&6
14059 ac_wine_try_cflags_saved
=$CFLAGS
14060 CFLAGS
="$CFLAGS -gstrict-dwarf"
14061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14062 /* end confdefs.h. */
14063 int main(int argc, char **argv) { return 0; }
14065 if ac_fn_c_try_link
"$LINENO"; then :
14066 ac_cv_cflags__gstrict_dwarf
=yes
14068 ac_cv_cflags__gstrict_dwarf
=no
14070 rm -f core conftest.err conftest.
$ac_objext \
14071 conftest
$ac_exeext conftest.
$ac_ext
14072 CFLAGS
=$ac_wine_try_cflags_saved
14074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14075 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14076 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14077 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14084 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14085 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14086 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14087 $as_echo_n "(cached) " >&6
14089 ac_wine_try_cflags_saved
=$CFLAGS
14090 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14092 /* end confdefs.h. */
14093 int main(int argc, char **argv) { return 0; }
14095 if ac_fn_c_try_link
"$LINENO"; then :
14096 ac_cv_cflags__fno_omit_frame_pointer
=yes
14098 ac_cv_cflags__fno_omit_frame_pointer
=no
14100 rm -f core conftest.err conftest.
$ac_objext \
14101 conftest
$ac_exeext conftest.
$ac_ext
14102 CFLAGS
=$ac_wine_try_cflags_saved
14104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14105 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14106 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14107 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14112 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14113 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14114 if ${ac_cv_cflags__Wno_format+:} false
; then :
14115 $as_echo_n "(cached) " >&6
14117 ac_wine_try_cflags_saved
=$CFLAGS
14118 CFLAGS
="$CFLAGS -Wno-format"
14119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14120 /* end confdefs.h. */
14121 int main(int argc, char **argv) { return 0; }
14123 if ac_fn_c_try_link
"$LINENO"; then :
14124 ac_cv_cflags__Wno_format
=yes
14126 ac_cv_cflags__Wno_format
=no
14128 rm -f core conftest.err conftest.
$ac_objext \
14129 conftest
$ac_exeext conftest.
$ac_ext
14130 CFLAGS
=$ac_wine_try_cflags_saved
14132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14133 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14134 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14135 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14139 if test "x$enable_maintainer_mode" = "xyes"
14141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14142 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14143 if ${ac_cv_cflags__Werror+:} false
; then :
14144 $as_echo_n "(cached) " >&6
14146 ac_wine_try_cflags_saved
=$CFLAGS
14147 CFLAGS
="$CFLAGS -Werror"
14148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14149 /* end confdefs.h. */
14150 int main(int argc, char **argv) { return 0; }
14152 if ac_fn_c_try_link
"$LINENO"; then :
14153 ac_cv_cflags__Werror
=yes
14155 ac_cv_cflags__Werror
=no
14157 rm -f core conftest.err conftest.
$ac_objext \
14158 conftest
$ac_exeext conftest.
$ac_ext
14159 CFLAGS
=$ac_wine_try_cflags_saved
14161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14162 $as_echo "$ac_cv_cflags__Werror" >&6; }
14163 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14164 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14168 saved_CFLAGS
="$CFLAGS"
14169 CFLAGS
="$CFLAGS -Werror"
14170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14171 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14172 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14173 $as_echo_n "(cached) " >&6
14175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14176 /* end confdefs.h. */
14177 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14186 if ac_fn_c_try_compile
"$LINENO"; then :
14187 ac_cv_have_ms_hook_prologue
="yes"
14189 ac_cv_have_ms_hook_prologue
="no"
14191 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14194 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14195 CFLAGS
="$saved_CFLAGS"
14196 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14199 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14202 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14209 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14210 if ${ac_cv_c_fortify_enabled+:} false
; then :
14211 $as_echo_n "(cached) " >&6
14213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14214 /* end confdefs.h. */
14215 #include <string.h>
14219 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14220 #error Fortify enabled
14226 if ac_fn_c_try_compile
"$LINENO"; then :
14227 ac_cv_c_fortify_enabled
=no
14229 ac_cv_c_fortify_enabled
=yes
14231 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14234 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14235 if test "$ac_cv_c_fortify_enabled" = yes
14237 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14242 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14243 if ${ac_cv_c_extern_prefix+:} false
; then :
14244 $as_echo_n "(cached) " >&6
14246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14247 /* end confdefs.h. */
14248 extern int ac_test;
14252 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14257 if ac_fn_c_try_link
"$LINENO"; then :
14258 ac_cv_c_extern_prefix
="yes"
14260 ac_cv_c_extern_prefix
="no"
14262 rm -f core conftest.err conftest.
$ac_objext \
14263 conftest
$ac_exeext conftest.
$ac_ext
14265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14266 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14271 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14272 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14273 $as_echo_n "(cached) " >&6
14275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14276 /* end confdefs.h. */
14278 #define __stdcall __attribute__((__stdcall__))
14280 int __stdcall ac_test(int i) { return i; }
14284 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14289 if ac_fn_c_try_link
"$LINENO"; then :
14290 ac_cv_c_stdcall_suffix
="yes"
14292 ac_cv_c_stdcall_suffix
="no"
14294 rm -f core conftest.err conftest.
$ac_objext \
14295 conftest
$ac_exeext conftest.
$ac_ext
14297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14298 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14299 *) ac_cv_c_stdcall_suffix
="no" ;;
14303 if test "$ac_cv_c_extern_prefix" = "yes"
14305 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14307 asm_name_prefix
="_"
14309 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14315 if test "$ac_cv_c_stdcall_suffix" = "yes"
14317 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14320 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14326 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14327 if ${ac_cv_asm_func_def+:} false
; then :
14328 $as_echo_n "(cached) " >&6
14330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14331 /* end confdefs.h. */
14336 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14341 if ac_fn_c_try_link
"$LINENO"; then :
14342 ac_cv_asm_func_def
=".def"
14344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14345 /* end confdefs.h. */
14350 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14355 if ac_fn_c_try_link
"$LINENO"; then :
14356 ac_cv_asm_func_def
=".type @function"
14358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14359 /* end confdefs.h. */
14364 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14369 if ac_fn_c_try_link
"$LINENO"; then :
14370 ac_cv_asm_func_def
=".type 2"
14372 ac_cv_asm_func_def
="unknown"
14374 rm -f core conftest.err conftest.
$ac_objext \
14375 conftest
$ac_exeext conftest.
$ac_ext
14377 rm -f core conftest.err conftest.
$ac_objext \
14378 conftest
$ac_exeext conftest.
$ac_ext
14380 rm -f core conftest.err conftest.
$ac_objext \
14381 conftest
$ac_exeext conftest.
$ac_ext
14383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14384 $as_echo "$ac_cv_asm_func_def" >&6; }
14387 case "$ac_cv_asm_func_def" in
14389 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14391 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14393 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14395 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14397 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14399 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14401 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14403 asm_func_header
="" ;;
14406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14407 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14408 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14409 $as_echo_n "(cached) " >&6
14411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14412 /* end confdefs.h. */
14413 asm(".text\n\t.long 0");
14422 if ac_fn_c_try_compile
"$LINENO"; then :
14423 ac_cv_c_asm_outside_funcs
="yes"
14425 ac_cv_c_asm_outside_funcs
="no"
14427 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14430 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14433 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14434 if ${ac_cv_c_dot_previous+:} false
; then :
14435 $as_echo_n "(cached) " >&6
14437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14438 /* end confdefs.h. */
14443 asm(".text\nac_test:\t.long 0\n\t.previous");
14448 if ac_fn_c_try_link
"$LINENO"; then :
14449 ac_cv_c_dot_previous
="yes"
14451 ac_cv_c_dot_previous
="no"
14453 rm -f core conftest.err conftest.
$ac_objext \
14454 conftest
$ac_exeext conftest.
$ac_ext
14456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14457 $as_echo "$ac_cv_c_dot_previous" >&6; }
14459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14460 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14461 if ${ac_cv_c_cfi_support+:} false
; then :
14462 $as_echo_n "(cached) " >&6
14464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14465 /* end confdefs.h. */
14466 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14475 if ac_fn_c_try_compile
"$LINENO"; then :
14476 ac_cv_c_cfi_support
="yes"
14478 ac_cv_c_cfi_support
="no"
14480 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14483 $as_echo "$ac_cv_c_cfi_support" >&6; }
14485 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14486 asm_func_trailer
=""
14487 if test "$ac_cv_c_dot_previous" = "yes"
14489 asm_func_trailer
="\\n\\t.previous"
14491 if test "$ac_cv_c_cfi_support" = "yes"
14493 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14494 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14496 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14498 UNWINDFLAGS
=-fasynchronous-unwind-tables
14501 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14505 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14508 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14510 cat >>confdefs.h
<<_ACEOF
14511 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14515 cat >>confdefs.h
<<_ACEOF
14516 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14521 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14524 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14529 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14536 *i
[3456789]86*|x86_64
*)
14537 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14538 loader_programs
="$loader_programs $wine_binary-preloader"
14539 as_fn_append LOADER_RULES
"
14540 $wine_binary-preloader: preloader.o
14541 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14543 install install-lib:: $wine_binary-preloader
14544 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14547 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14549 preloader_EXTRADEFS = $BUILTINFLAG
14554 as_fn_append LOADER_RULES
"
14555 PROGRAMS = $loader_programs
14559 ac_save_CFLAGS
="$CFLAGS"
14560 CFLAGS
="$CFLAGS $BUILTINFLAG"
14637 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14638 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14639 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14640 cat >>confdefs.h
<<_ACEOF
14641 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14647 CFLAGS
="$ac_save_CFLAGS"
14649 if test "$ac_cv_func_dlopen" = no
14651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14652 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14653 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14654 $as_echo_n "(cached) " >&6
14656 ac_check_lib_save_LIBS
=$LIBS
14658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14659 /* end confdefs.h. */
14661 /* Override any GCC internal prototype to avoid an error.
14662 Use char because int might match the return type of a GCC
14663 builtin and then its argument prototype would still apply. */
14676 if ac_fn_c_try_link
"$LINENO"; then :
14677 ac_cv_lib_dl_dlopen
=yes
14679 ac_cv_lib_dl_dlopen
=no
14681 rm -f core conftest.err conftest.
$ac_objext \
14682 conftest
$ac_exeext conftest.
$ac_ext
14683 LIBS
=$ac_check_lib_save_LIBS
14685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14686 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14687 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14688 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14694 ac_wine_check_funcs_save_LIBS
="$LIBS"
14695 LIBS
="$LIBS $DL_LIBS"
14696 for ac_func
in dladdr
14698 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14699 if test "x$ac_cv_func_dladdr" = xyes
; then :
14700 cat >>confdefs.h
<<_ACEOF
14701 #define HAVE_DLADDR 1
14707 LIBS
="$ac_wine_check_funcs_save_LIBS"
14709 if test "$ac_cv_func_poll" = no
14711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14712 $as_echo_n "checking for poll in -lpoll... " >&6; }
14713 if ${ac_cv_lib_poll_poll+:} false
; then :
14714 $as_echo_n "(cached) " >&6
14716 ac_check_lib_save_LIBS
=$LIBS
14717 LIBS
="-lpoll $LIBS"
14718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14719 /* end confdefs.h. */
14721 /* Override any GCC internal prototype to avoid an error.
14722 Use char because int might match the return type of a GCC
14723 builtin and then its argument prototype would still apply. */
14736 if ac_fn_c_try_link
"$LINENO"; then :
14737 ac_cv_lib_poll_poll
=yes
14739 ac_cv_lib_poll_poll
=no
14741 rm -f core conftest.err conftest.
$ac_objext \
14742 conftest
$ac_exeext conftest.
$ac_ext
14743 LIBS
=$ac_check_lib_save_LIBS
14745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14746 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14747 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14748 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14756 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14757 if ${ac_cv_search_gethostbyname+:} false
; then :
14758 $as_echo_n "(cached) " >&6
14760 ac_func_search_save_LIBS
=$LIBS
14761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14762 /* end confdefs.h. */
14764 /* Override any GCC internal prototype to avoid an error.
14765 Use char because int might match the return type of a GCC
14766 builtin and then its argument prototype would still apply. */
14770 char gethostbyname ();
14774 return gethostbyname ();
14779 for ac_lib
in '' nsl
; do
14780 if test -z "$ac_lib"; then
14781 ac_res
="none required"
14784 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14786 if ac_fn_c_try_link
"$LINENO"; then :
14787 ac_cv_search_gethostbyname
=$ac_res
14789 rm -f core conftest.err conftest.
$ac_objext \
14791 if ${ac_cv_search_gethostbyname+:} false
; then :
14795 if ${ac_cv_search_gethostbyname+:} false
; then :
14798 ac_cv_search_gethostbyname
=no
14800 rm conftest.
$ac_ext
14801 LIBS
=$ac_func_search_save_LIBS
14803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14804 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14805 ac_res
=$ac_cv_search_gethostbyname
14806 if test "$ac_res" != no
; then :
14807 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14813 $as_echo_n "checking for library containing connect... " >&6; }
14814 if ${ac_cv_search_connect+:} false
; then :
14815 $as_echo_n "(cached) " >&6
14817 ac_func_search_save_LIBS
=$LIBS
14818 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14819 /* end confdefs.h. */
14821 /* Override any GCC internal prototype to avoid an error.
14822 Use char because int might match the return type of a GCC
14823 builtin and then its argument prototype would still apply. */
14836 for ac_lib
in '' socket
; do
14837 if test -z "$ac_lib"; then
14838 ac_res
="none required"
14841 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14843 if ac_fn_c_try_link
"$LINENO"; then :
14844 ac_cv_search_connect
=$ac_res
14846 rm -f core conftest.err conftest.
$ac_objext \
14848 if ${ac_cv_search_connect+:} false
; then :
14852 if ${ac_cv_search_connect+:} false
; then :
14855 ac_cv_search_connect
=no
14857 rm conftest.
$ac_ext
14858 LIBS
=$ac_func_search_save_LIBS
14860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14861 $as_echo "$ac_cv_search_connect" >&6; }
14862 ac_res
=$ac_cv_search_connect
14863 if test "$ac_res" != no
; then :
14864 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14870 $as_echo_n "checking for library containing inet_aton... " >&6; }
14871 if ${ac_cv_search_inet_aton+:} false
; then :
14872 $as_echo_n "(cached) " >&6
14874 ac_func_search_save_LIBS
=$LIBS
14875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14876 /* end confdefs.h. */
14878 /* Override any GCC internal prototype to avoid an error.
14879 Use char because int might match the return type of a GCC
14880 builtin and then its argument prototype would still apply. */
14888 return inet_aton ();
14893 for ac_lib
in '' resolv
; do
14894 if test -z "$ac_lib"; then
14895 ac_res
="none required"
14898 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14900 if ac_fn_c_try_link
"$LINENO"; then :
14901 ac_cv_search_inet_aton
=$ac_res
14903 rm -f core conftest.err conftest.
$ac_objext \
14905 if ${ac_cv_search_inet_aton+:} false
; then :
14909 if ${ac_cv_search_inet_aton+:} false
; then :
14912 ac_cv_search_inet_aton
=no
14914 rm conftest.
$ac_ext
14915 LIBS
=$ac_func_search_save_LIBS
14917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14918 $as_echo "$ac_cv_search_inet_aton" >&6; }
14919 ac_res
=$ac_cv_search_inet_aton
14920 if test "$ac_res" != no
; then :
14921 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14941 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14942 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14943 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14944 cat >>confdefs.h
<<_ACEOF
14945 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14954 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14955 if ${ac_cv_search_clock_gettime+:} false
; then :
14956 $as_echo_n "(cached) " >&6
14958 ac_func_search_save_LIBS
=$LIBS
14959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14960 /* end confdefs.h. */
14962 /* Override any GCC internal prototype to avoid an error.
14963 Use char because int might match the return type of a GCC
14964 builtin and then its argument prototype would still apply. */
14968 char clock_gettime ();
14972 return clock_gettime ();
14977 for ac_lib
in '' rt
; do
14978 if test -z "$ac_lib"; then
14979 ac_res
="none required"
14982 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14984 if ac_fn_c_try_link
"$LINENO"; then :
14985 ac_cv_search_clock_gettime
=$ac_res
14987 rm -f core conftest.err conftest.
$ac_objext \
14989 if ${ac_cv_search_clock_gettime+:} false
; then :
14993 if ${ac_cv_search_clock_gettime+:} false
; then :
14996 ac_cv_search_clock_gettime
=no
14998 rm conftest.
$ac_ext
14999 LIBS
=$ac_func_search_save_LIBS
15001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15002 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15003 ac_res
=$ac_cv_search_clock_gettime
15004 if test "$ac_res" != no
; then :
15005 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15007 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15009 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
15017 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15019 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15021 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15023 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15024 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15025 $as_echo_n "(cached) " >&6
15027 ac_check_lib_save_LIBS
=$LIBS
15028 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15030 /* end confdefs.h. */
15032 /* Override any GCC internal prototype to avoid an error.
15033 Use char because int might match the return type of a GCC
15034 builtin and then its argument prototype would still apply. */
15038 char ldap_initialize ();
15042 return ldap_initialize ();
15047 if ac_fn_c_try_link
"$LINENO"; then :
15048 ac_cv_lib_ldap_r_ldap_initialize
=yes
15050 ac_cv_lib_ldap_r_ldap_initialize
=no
15052 rm -f core conftest.err conftest.
$ac_objext \
15053 conftest
$ac_exeext conftest.
$ac_ext
15054 LIBS
=$ac_check_lib_save_LIBS
15056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15057 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15058 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15060 $as_echo_n "checking for ber_init in -llber... " >&6; }
15061 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15062 $as_echo_n "(cached) " >&6
15064 ac_check_lib_save_LIBS
=$LIBS
15065 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15067 /* end confdefs.h. */
15069 /* Override any GCC internal prototype to avoid an error.
15070 Use char because int might match the return type of a GCC
15071 builtin and then its argument prototype would still apply. */
15079 return ber_init ();
15084 if ac_fn_c_try_link
"$LINENO"; then :
15085 ac_cv_lib_lber_ber_init
=yes
15087 ac_cv_lib_lber_ber_init
=no
15089 rm -f core conftest.err conftest.
$ac_objext \
15090 conftest
$ac_exeext conftest.
$ac_ext
15091 LIBS
=$ac_check_lib_save_LIBS
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15094 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15095 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15097 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15099 LDAP_LIBS
="-lldap_r -llber"
15106 ac_wine_check_funcs_save_LIBS
="$LIBS"
15107 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15109 ldap_count_references \
15110 ldap_first_reference \
15111 ldap_next_reference \
15112 ldap_parse_reference \
15113 ldap_parse_sort_control \
15114 ldap_parse_sortresponse_control \
15115 ldap_parse_vlv_control \
15116 ldap_parse_vlvresponse_control
15118 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15119 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15120 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15121 cat >>confdefs.h
<<_ACEOF
15122 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15128 LIBS
="$ac_wine_check_funcs_save_LIBS"
15130 if test "x$LDAP_LIBS" = "x"; then :
15131 case "x$with_ldap" in
15132 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15134 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15135 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15140 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15141 if ${wine_cv_one_arg_mkdir+:} false
; then :
15142 $as_echo_n "(cached) " >&6
15144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15145 /* end confdefs.h. */
15146 #include <sys/stat.h>
15155 if ac_fn_c_try_compile
"$LINENO"; then :
15156 wine_cv_one_arg_mkdir
=yes
15158 wine_cv_one_arg_mkdir
=no
15160 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15163 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15164 if test "$wine_cv_one_arg_mkdir" = "yes"
15167 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15172 $as_echo_n "checking for sched_setaffinity... " >&6; }
15173 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15174 $as_echo_n "(cached) " >&6
15176 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15177 /* end confdefs.h. */
15178 #define _GNU_SOURCE
15183 sched_setaffinity(0, 0, 0);
15188 if ac_fn_c_try_link
"$LINENO"; then :
15189 wine_cv_have_sched_setaffinity
=yes
15191 wine_cv_have_sched_setaffinity
=no
15193 rm -f core conftest.err conftest.
$ac_objext \
15194 conftest
$ac_exeext conftest.
$ac_ext
15196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15197 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15198 if test "$wine_cv_have_sched_setaffinity" = "yes"
15201 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15206 $as_echo_n "checking for fallocate... " >&6; }
15207 if ${wine_cv_have_fallocate+:} false
; then :
15208 $as_echo_n "(cached) " >&6
15210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15211 /* end confdefs.h. */
15212 #define _GNU_SOURCE
15217 fallocate(-1, 0, 0, 0);
15222 if ac_fn_c_try_link
"$LINENO"; then :
15223 wine_cv_have_fallocate
=yes
15225 wine_cv_have_fallocate
=no
15227 rm -f core conftest.err conftest.
$ac_objext \
15228 conftest
$ac_exeext conftest.
$ac_ext
15230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15231 $as_echo "$wine_cv_have_fallocate" >&6; }
15232 if test "$wine_cv_have_fallocate" = "yes"
15235 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15241 $as_echo_n "checking for inline... " >&6; }
15242 if ${ac_cv_c_inline+:} false
; then :
15243 $as_echo_n "(cached) " >&6
15246 for ac_kw
in inline __inline__ __inline
; do
15247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15248 /* end confdefs.h. */
15249 #ifndef __cplusplus
15251 static $ac_kw foo_t static_foo () {return 0; }
15252 $ac_kw foo_t foo () {return 0; }
15256 if ac_fn_c_try_compile
"$LINENO"; then :
15257 ac_cv_c_inline
=$ac_kw
15259 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15260 test "$ac_cv_c_inline" != no
&& break
15264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15265 $as_echo "$ac_cv_c_inline" >&6; }
15267 case $ac_cv_c_inline in
15270 case $ac_cv_c_inline in
15272 *) ac_val
=$ac_cv_c_inline;;
15274 cat >>confdefs.h
<<_ACEOF
15275 #ifndef __cplusplus
15276 #define inline $ac_val
15282 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15283 if test "x$ac_cv_type_mode_t" = xyes
; then :
15285 cat >>confdefs.h
<<_ACEOF
15286 #define HAVE_MODE_T 1
15291 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15292 if test "x$ac_cv_type_off_t" = xyes
; then :
15294 cat >>confdefs.h
<<_ACEOF
15295 #define HAVE_OFF_T 1
15300 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15301 if test "x$ac_cv_type_pid_t" = xyes
; then :
15303 cat >>confdefs.h
<<_ACEOF
15304 #define HAVE_PID_T 1
15309 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15310 if test "x$ac_cv_type_size_t" = xyes
; then :
15312 cat >>confdefs.h
<<_ACEOF
15313 #define HAVE_SIZE_T 1
15318 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15319 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15321 cat >>confdefs.h
<<_ACEOF
15322 #define HAVE_SSIZE_T 1
15327 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15328 if test "x$ac_cv_type_long_long" = xyes
; then :
15330 cat >>confdefs.h
<<_ACEOF
15331 #define HAVE_LONG_LONG 1
15336 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15337 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15339 cat >>confdefs.h
<<_ACEOF
15340 #define HAVE_FSBLKCNT_T 1
15345 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15346 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15348 cat >>confdefs.h
<<_ACEOF
15349 #define HAVE_FSFILCNT_T 1
15355 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15356 #include <signal.h>
15358 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15360 cat >>confdefs.h
<<_ACEOF
15361 #define HAVE_SIGSET_T 1
15367 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15369 if test "x$ac_cv_type_request_sense" = xyes
; then :
15371 cat >>confdefs.h
<<_ACEOF
15372 #define HAVE_REQUEST_SENSE 1
15379 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15380 #ifdef HAVE_SYS_SOCKET_H
15381 #include <sys/socket.h>
15383 #ifdef HAVE_SYS_SOCKETVAR_H
15384 #include <sys/socketvar.h>
15386 #ifdef HAVE_NET_ROUTE_H
15387 #include <net/route.h>
15389 #ifdef HAVE_NETINET_IN_H
15390 #include <netinet/in.h>
15392 #ifdef HAVE_NETINET_IN_SYSTM_H
15393 #include <netinet/in_systm.h>
15395 #ifdef HAVE_NETINET_IP_H
15396 #include <netinet/ip.h>
15398 #ifdef HAVE_NETINET_IN_PCB_H
15399 #include <netinet/in_pcb.h>
15402 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15404 cat >>confdefs.h
<<_ACEOF
15405 #define HAVE_STRUCT_XINPGEN 1
15412 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15415 #ifdef HAVE_SYS_LINK_H
15416 #include <sys/link.h>
15419 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15421 cat >>confdefs.h
<<_ACEOF
15422 #define HAVE_STRUCT_R_DEBUG 1
15427 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15430 #ifdef HAVE_SYS_LINK_H
15431 #include <sys/link.h>
15434 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15436 cat >>confdefs.h
<<_ACEOF
15437 #define HAVE_STRUCT_LINK_MAP 1
15444 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15445 #include <linux/input.h>
15448 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15450 cat >>confdefs.h
<<_ACEOF
15451 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15459 $as_echo_n "checking for sigaddset... " >&6; }
15460 if ${wine_cv_have_sigaddset+:} false
; then :
15461 $as_echo_n "(cached) " >&6
15463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15464 /* end confdefs.h. */
15465 #include <signal.h>
15469 sigset_t set; sigaddset(&set,SIGTERM);
15474 if ac_fn_c_try_link
"$LINENO"; then :
15475 wine_cv_have_sigaddset
=yes
15477 wine_cv_have_sigaddset
=no
15479 rm -f core conftest.err conftest.
$ac_objext \
15480 conftest
$ac_exeext conftest.
$ac_ext
15482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15483 $as_echo "$wine_cv_have_sigaddset" >&6; }
15484 if test "$wine_cv_have_sigaddset" = "yes"
15487 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15493 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15494 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15495 $as_echo_n "(cached) " >&6
15497 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15498 /* end confdefs.h. */
15506 struct hostent *result;
15513 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15514 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15520 if ac_fn_c_try_link
"$LINENO"; then :
15521 wine_cv_linux_gethostbyname_r_6
=yes
15523 wine_cv_linux_gethostbyname_r_6
=no
15526 rm -f core conftest.err conftest.
$ac_objext \
15527 conftest
$ac_exeext conftest.
$ac_ext
15530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15531 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15532 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15535 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15539 if test "$ac_cv_header_linux_joystick_h" = "yes"
15541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15542 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15543 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15544 $as_echo_n "(cached) " >&6
15546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15547 /* end confdefs.h. */
15549 #include <sys/ioctl.h>
15550 #include <sys/types.h>
15551 #include <linux/joystick.h>
15553 struct js_event blub;
15554 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15555 #error "no 2.2 header"
15566 if ac_fn_c_try_compile
"$LINENO"; then :
15567 wine_cv_linux_joystick_22_api
=yes
15569 wine_cv_linux_joystick_22_api
=no
15571 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15575 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15576 if test "$wine_cv_linux_joystick_22_api" = "yes"
15579 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15585 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15586 #ifdef HAVE_SYS_PARAM_H
15587 # include <sys/param.h>
15589 #ifdef HAVE_SYS_MOUNT_H
15590 # include <sys/mount.h>
15592 #ifdef HAVE_SYS_VFS_H
15593 # include <sys/vfs.h>
15595 #ifdef HAVE_SYS_STATFS_H
15596 # include <sys/statfs.h>
15599 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15601 cat >>confdefs.h
<<_ACEOF
15602 #define HAVE_STRUCT_STATFS_F_BFREE 1
15607 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15608 #ifdef HAVE_SYS_PARAM_H
15609 # include <sys/param.h>
15611 #ifdef HAVE_SYS_MOUNT_H
15612 # include <sys/mount.h>
15614 #ifdef HAVE_SYS_VFS_H
15615 # include <sys/vfs.h>
15617 #ifdef HAVE_SYS_STATFS_H
15618 # include <sys/statfs.h>
15621 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15623 cat >>confdefs.h
<<_ACEOF
15624 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15629 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15630 #ifdef HAVE_SYS_PARAM_H
15631 # include <sys/param.h>
15633 #ifdef HAVE_SYS_MOUNT_H
15634 # include <sys/mount.h>
15636 #ifdef HAVE_SYS_VFS_H
15637 # include <sys/vfs.h>
15639 #ifdef HAVE_SYS_STATFS_H
15640 # include <sys/statfs.h>
15643 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15645 cat >>confdefs.h
<<_ACEOF
15646 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15651 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15652 #ifdef HAVE_SYS_PARAM_H
15653 # include <sys/param.h>
15655 #ifdef HAVE_SYS_MOUNT_H
15656 # include <sys/mount.h>
15658 #ifdef HAVE_SYS_VFS_H
15659 # include <sys/vfs.h>
15661 #ifdef HAVE_SYS_STATFS_H
15662 # include <sys/statfs.h>
15665 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15667 cat >>confdefs.h
<<_ACEOF
15668 #define HAVE_STRUCT_STATFS_F_FFREE 1
15673 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15674 #ifdef HAVE_SYS_PARAM_H
15675 # include <sys/param.h>
15677 #ifdef HAVE_SYS_MOUNT_H
15678 # include <sys/mount.h>
15680 #ifdef HAVE_SYS_VFS_H
15681 # include <sys/vfs.h>
15683 #ifdef HAVE_SYS_STATFS_H
15684 # include <sys/statfs.h>
15687 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15689 cat >>confdefs.h
<<_ACEOF
15690 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15695 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15696 #ifdef HAVE_SYS_PARAM_H
15697 # include <sys/param.h>
15699 #ifdef HAVE_SYS_MOUNT_H
15700 # include <sys/mount.h>
15702 #ifdef HAVE_SYS_VFS_H
15703 # include <sys/vfs.h>
15705 #ifdef HAVE_SYS_STATFS_H
15706 # include <sys/statfs.h>
15709 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15711 cat >>confdefs.h
<<_ACEOF
15712 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15719 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15720 #include <sys/statvfs.h>
15723 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15725 cat >>confdefs.h
<<_ACEOF
15726 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15733 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15734 #include <dirent.h>
15737 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15739 cat >>confdefs.h
<<_ACEOF
15740 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15747 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15748 #ifdef HAVE_SYS_SOCKET_H
15749 # include <sys/socket.h>
15751 #ifdef HAVE_SYS_UN_H
15752 # include <sys/un.h>
15755 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15757 cat >>confdefs.h
<<_ACEOF
15758 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15763 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15764 #ifdef HAVE_SYS_SOCKET_H
15765 # include <sys/socket.h>
15767 #ifdef HAVE_SYS_UN_H
15768 # include <sys/un.h>
15771 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15773 cat >>confdefs.h
<<_ACEOF
15774 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15779 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15780 #ifdef HAVE_SYS_SOCKET_H
15781 # include <sys/socket.h>
15783 #ifdef HAVE_SYS_UN_H
15784 # include <sys/un.h>
15787 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15789 cat >>confdefs.h
<<_ACEOF
15790 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15797 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15798 #ifdef HAVE_SCSI_SG_H
15799 #include <scsi/sg.h>
15802 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15804 cat >>confdefs.h
<<_ACEOF
15805 #define HAVE_SCSIREQ_T_CMD 1
15810 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>
15811 #ifdef HAVE_SCSI_SG_H
15812 #include <scsi/sg.h>
15815 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15817 cat >>confdefs.h
<<_ACEOF
15818 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15825 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15827 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15829 cat >>confdefs.h
<<_ACEOF
15830 #define HAVE_SIGINFO_T_SI_FD 1
15837 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15838 #ifdef HAVE_SYS_MTIO_H
15839 #include <sys/mtio.h>
15842 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15844 cat >>confdefs.h
<<_ACEOF
15845 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15850 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15851 #ifdef HAVE_SYS_MTIO_H
15852 #include <sys/mtio.h>
15855 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
15857 cat >>confdefs.h
<<_ACEOF
15858 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15863 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15864 #ifdef HAVE_SYS_MTIO_H
15865 #include <sys/mtio.h>
15868 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
15870 cat >>confdefs.h
<<_ACEOF
15871 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15878 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15879 #include <getopt.h>
15882 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
15884 cat >>confdefs.h
<<_ACEOF
15885 #define HAVE_STRUCT_OPTION_NAME 1
15892 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15893 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
15895 cat >>confdefs.h
<<_ACEOF
15896 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15901 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15902 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
15904 cat >>confdefs.h
<<_ACEOF
15905 #define HAVE_STRUCT_STAT_ST_MTIM 1
15910 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15911 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
15913 cat >>confdefs.h
<<_ACEOF
15914 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15919 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15920 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
15922 cat >>confdefs.h
<<_ACEOF
15923 #define HAVE_STRUCT_STAT_ST_CTIM 1
15928 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15929 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
15931 cat >>confdefs.h
<<_ACEOF
15932 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15937 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15938 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
15940 cat >>confdefs.h
<<_ACEOF
15941 #define HAVE_STRUCT_STAT_ST_ATIM 1
15946 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15947 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
15949 cat >>confdefs.h
<<_ACEOF
15950 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15955 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15956 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
15958 cat >>confdefs.h
<<_ACEOF
15959 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15964 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15965 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
15967 cat >>confdefs.h
<<_ACEOF
15968 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15973 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15974 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
15976 cat >>confdefs.h
<<_ACEOF
15977 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15982 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15983 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
15985 cat >>confdefs.h
<<_ACEOF
15986 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15991 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15992 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
15994 cat >>confdefs.h
<<_ACEOF
15995 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16002 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
16003 #include <sys/types.h>
16005 #ifdef HAVE_NETINET_IN_H
16006 #include <netinet/in.h>
16009 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
16011 cat >>confdefs.h
<<_ACEOF
16012 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16019 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16020 #include <resolv.h>
16023 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
16025 cat >>confdefs.h
<<_ACEOF
16026 #define HAVE_STRUCT___RES_STATE 1
16033 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
16034 #include <resolv.h>
16037 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16039 cat >>confdefs.h
<<_ACEOF
16040 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16047 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16048 #include <sys/types.h>
16050 #ifdef HAVE_NETINET_IN_H
16051 # include <netinet/in.h>
16053 #ifdef HAVE_ARPA_NAMESER_H
16054 # include <arpa/nameser.h>
16057 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16059 cat >>confdefs.h
<<_ACEOF
16060 #define HAVE_NS_MSG__MSG_PTR 1
16067 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16068 #include <sys/types.h>
16070 #ifdef HAVE_NETINET_IP_H
16071 #include <netinet/ip.h>
16073 #ifdef HAVE_NETINET_IP_ICMP_H
16074 #include <netinet/ip_icmp.h>
16076 #ifdef HAVE_NETINET_ICMP_VAR_H
16077 #include <netinet/icmp_var.h>
16080 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16082 cat >>confdefs.h
<<_ACEOF
16083 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16090 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16091 #include <sys/types.h>
16093 #ifdef HAVE_ALIAS_H
16096 #ifdef HAVE_SYS_SOCKET_H
16097 #include <sys/socket.h>
16099 #ifdef HAVE_SYS_SOCKETVAR_H
16100 #include <sys/socketvar.h>
16102 #ifdef HAVE_SYS_TIMEOUT_H
16103 #include <sys/timeout.h>
16105 #ifdef HAVE_NETINET_IN_H
16106 #include <netinet/in.h>
16108 #ifdef HAVE_NETINET_IN_SYSTM_H
16109 #include <netinet/in_systm.h>
16111 #ifdef HAVE_NETINET_IP_H
16112 #include <netinet/ip.h>
16114 #ifdef HAVE_NETINET_IP_VAR_H
16115 #include <netinet/ip_var.h>
16117 #ifdef HAVE_NETINET_IP_ICMP_H
16118 #include <netinet/ip_icmp.h>
16120 #ifdef HAVE_NETINET_ICMP_VAR_H
16121 #include <netinet/icmp_var.h>
16124 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16126 cat >>confdefs.h
<<_ACEOF
16127 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16134 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16135 #include <sys/types.h>
16137 #ifdef HAVE_SYS_SOCKETVAR_H
16138 #include <sys/socketvar.h>
16140 #ifdef HAVE_NETINET_IN_H
16141 #include <netinet/in.h>
16143 #ifdef HAVE_NETINET_IP_VAR_H
16144 #include <netinet/ip_var.h>
16147 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16149 cat >>confdefs.h
<<_ACEOF
16150 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16157 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
16158 #include <netinet/ip_var.h>
16161 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16163 cat >>confdefs.h
<<_ACEOF
16164 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16171 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16172 #include <sys/types.h>
16174 #ifdef HAVE_SYS_SOCKETVAR_H
16175 #include <sys/socketvar.h>
16177 #ifdef HAVE_NETINET_IN_H
16178 #include <netinet/in.h>
16180 #ifdef HAVE_NETINET_TCP_H
16181 #include <netinet/tcp.h>
16183 #ifdef HAVE_NETINET_TCP_VAR_H
16184 #include <netinet/tcp_var.h>
16187 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16189 cat >>confdefs.h
<<_ACEOF
16190 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16197 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
16198 #include <netinet/tcp_var.h>
16201 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16203 cat >>confdefs.h
<<_ACEOF
16204 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16211 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16212 #include <sys/types.h>
16214 #ifdef HAVE_NETINET_IN_H
16215 #include <netinet/in.h>
16217 #ifdef HAVE_NETINET_IP_VAR_H
16218 #include <netinet/ip_var.h>
16220 #ifdef HAVE_NETINET_UDP_H
16221 #include <netinet/udp.h>
16223 #ifdef HAVE_NETINET_UDP_VAR_H
16224 #include <netinet/udp_var.h>
16227 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16229 cat >>confdefs.h
<<_ACEOF
16230 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16237 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16238 #include <sys/types.h>
16240 #ifdef HAVE_NET_IF_H
16241 # include <net/if.h>
16244 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16246 cat >>confdefs.h
<<_ACEOF
16247 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16255 $as_echo_n "checking for timezone variable... " >&6; }
16256 if ${ac_cv_have_timezone+:} false
; then :
16257 $as_echo_n "(cached) " >&6
16259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16260 /* end confdefs.h. */
16270 if ac_fn_c_try_link
"$LINENO"; then :
16271 ac_cv_have_timezone
="yes"
16273 ac_cv_have_timezone
="no"
16275 rm -f core conftest.err conftest.
$ac_objext \
16276 conftest
$ac_exeext conftest.
$ac_ext
16278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16279 $as_echo "$ac_cv_have_timezone" >&6; }
16280 if test "$ac_cv_have_timezone" = "yes"
16283 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16287 $as_echo_n "checking for daylight variable... " >&6; }
16288 if ${ac_cv_have_daylight+:} false
; then :
16289 $as_echo_n "(cached) " >&6
16291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16292 /* end confdefs.h. */
16302 if ac_fn_c_try_link
"$LINENO"; then :
16303 ac_cv_have_daylight
="yes"
16305 ac_cv_have_daylight
="no"
16307 rm -f core conftest.err conftest.
$ac_objext \
16308 conftest
$ac_exeext conftest.
$ac_ext
16310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16311 $as_echo "$ac_cv_have_daylight" >&6; }
16312 if test "$ac_cv_have_daylight" = "yes"
16315 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16319 ac_save_LIBS
="$LIBS"
16321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16322 $as_echo_n "checking for isfinite... " >&6; }
16323 if ${ac_cv_have_isfinite+:} false
; then :
16324 $as_echo_n "(cached) " >&6
16326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16327 /* end confdefs.h. */
16328 #define _GNU_SOURCE
16333 float f = 0.0; return isfinite(f)
16338 if ac_fn_c_try_link
"$LINENO"; then :
16339 ac_cv_have_isfinite
="yes"
16341 ac_cv_have_isfinite
="no"
16343 rm -f core conftest.err conftest.
$ac_objext \
16344 conftest
$ac_exeext conftest.
$ac_ext
16346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16347 $as_echo "$ac_cv_have_isfinite" >&6; }
16348 if test "$ac_cv_have_isfinite" = "yes"
16351 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16356 $as_echo_n "checking for isinf... " >&6; }
16357 if ${ac_cv_have_isinf+:} false
; then :
16358 $as_echo_n "(cached) " >&6
16360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16361 /* end confdefs.h. */
16366 float f = 0.0; return isinf(f)
16371 if ac_fn_c_try_link
"$LINENO"; then :
16372 ac_cv_have_isinf
="yes"
16374 ac_cv_have_isinf
="no"
16376 rm -f core conftest.err conftest.
$ac_objext \
16377 conftest
$ac_exeext conftest.
$ac_ext
16379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16380 $as_echo "$ac_cv_have_isinf" >&6; }
16381 if test "$ac_cv_have_isinf" = "yes"
16384 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16389 $as_echo_n "checking for isnan... " >&6; }
16390 if ${ac_cv_have_isnan+:} false
; then :
16391 $as_echo_n "(cached) " >&6
16393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16394 /* end confdefs.h. */
16399 float f = 0.0; return isnan(f)
16404 if ac_fn_c_try_link
"$LINENO"; then :
16405 ac_cv_have_isnan
="yes"
16407 ac_cv_have_isnan
="no"
16409 rm -f core conftest.err conftest.
$ac_objext \
16410 conftest
$ac_exeext conftest.
$ac_ext
16412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16413 $as_echo "$ac_cv_have_isnan" >&6; }
16414 if test "$ac_cv_have_isnan" = "yes"
16417 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16444 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16445 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16446 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16447 cat >>confdefs.h
<<_ACEOF
16448 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16454 LIBS
="$ac_save_LIBS"
16456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16457 $as_echo_n "checking for __builtin_clz... " >&6; }
16458 if ${ac_cv_have___builtin_clz+:} false
; then :
16459 $as_echo_n "(cached) " >&6
16461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16462 /* end confdefs.h. */
16467 return __builtin_clz(1)
16472 if ac_fn_c_try_link
"$LINENO"; then :
16473 ac_cv_have___builtin_clz
="yes"
16475 ac_cv_have___builtin_clz
="no"
16477 rm -f core conftest.err conftest.
$ac_objext \
16478 conftest
$ac_exeext conftest.
$ac_ext
16480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16481 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16482 if test "$ac_cv_have___builtin_clz" = "yes"
16485 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16491 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16492 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16493 if ${ac_cv_cpp_def___i386__+:} false
; then :
16494 $as_echo_n "(cached) " >&6
16496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16497 /* end confdefs.h. */
16502 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16503 $EGREP "yes" >/dev
/null
2>&1; then :
16504 ac_cv_cpp_def___i386__
=yes
16506 ac_cv_cpp_def___i386__
=no
16511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16512 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16513 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16514 CFLAGS
="$CFLAGS -D__i386__"
16515 LINTFLAGS
="$LINTFLAGS -D__i386__"
16517 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16518 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16519 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16520 $as_echo_n "(cached) " >&6
16522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16523 /* end confdefs.h. */
16528 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16529 $EGREP "yes" >/dev
/null
2>&1; then :
16530 ac_cv_cpp_def___x86_64__
=yes
16532 ac_cv_cpp_def___x86_64__
=no
16537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16538 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16539 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16540 CFLAGS
="$CFLAGS -D__x86_64__"
16541 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16543 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16544 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16545 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16546 $as_echo_n "(cached) " >&6
16548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16549 /* end confdefs.h. */
16550 #ifndef __sparc64__
16554 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16555 $EGREP "yes" >/dev
/null
2>&1; then :
16556 ac_cv_cpp_def___sparc64__
=yes
16558 ac_cv_cpp_def___sparc64__
=no
16563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16564 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16565 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16566 CFLAGS
="$CFLAGS -D__sparc64__"
16567 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16569 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16570 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16571 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16572 $as_echo_n "(cached) " >&6
16574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16575 /* end confdefs.h. */
16580 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16581 $EGREP "yes" >/dev
/null
2>&1; then :
16582 ac_cv_cpp_def___sparc__
=yes
16584 ac_cv_cpp_def___sparc__
=no
16589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16590 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16591 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16592 CFLAGS
="$CFLAGS -D__sparc__"
16593 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16595 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16596 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16597 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16598 $as_echo_n "(cached) " >&6
16600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16601 /* end confdefs.h. */
16602 #ifndef __powerpc64__
16606 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16607 $EGREP "yes" >/dev
/null
2>&1; then :
16608 ac_cv_cpp_def___powerpc64__
=yes
16610 ac_cv_cpp_def___powerpc64__
=no
16615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16616 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16617 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
16618 CFLAGS
="$CFLAGS -D__powerpc64__"
16619 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16621 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16622 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16623 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16624 $as_echo_n "(cached) " >&6
16626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16627 /* end confdefs.h. */
16628 #ifndef __powerpc__
16632 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16633 $EGREP "yes" >/dev
/null
2>&1; then :
16634 ac_cv_cpp_def___powerpc__
=yes
16636 ac_cv_cpp_def___powerpc__
=no
16641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16642 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16643 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
16644 CFLAGS
="$CFLAGS -D__powerpc__"
16645 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16647 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16648 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16649 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16650 $as_echo_n "(cached) " >&6
16652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16653 /* end confdefs.h. */
16654 #ifndef __aarch64__
16658 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16659 $EGREP "yes" >/dev
/null
2>&1; then :
16660 ac_cv_cpp_def___aarch64__
=yes
16662 ac_cv_cpp_def___aarch64__
=no
16667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16668 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16669 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
16670 CFLAGS
="$CFLAGS -D__aarch64__"
16671 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16673 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16674 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16675 if ${ac_cv_cpp_def___arm__+:} false
; then :
16676 $as_echo_n "(cached) " >&6
16678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16679 /* end confdefs.h. */
16684 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16685 $EGREP "yes" >/dev
/null
2>&1; then :
16686 ac_cv_cpp_def___arm__
=yes
16688 ac_cv_cpp_def___arm__
=no
16693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16694 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16695 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
16696 CFLAGS
="$CFLAGS -D__arm__"
16697 LINTFLAGS
="$LINTFLAGS -D__arm__"
16701 case $host_vendor in
16702 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16703 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16704 if ${ac_cv_cpp_def___sun__+:} false
; then :
16705 $as_echo_n "(cached) " >&6
16707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16708 /* end confdefs.h. */
16713 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16714 $EGREP "yes" >/dev
/null
2>&1; then :
16715 ac_cv_cpp_def___sun__
=yes
16717 ac_cv_cpp_def___sun__
=no
16722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16723 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16724 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
16725 CFLAGS
="$CFLAGS -D__sun__"
16726 LINTFLAGS
="$LINTFLAGS -D__sun__"
16734 ac_config_commands
="$ac_config_commands include/stamp-h"
16736 $as_echo_n "creating Makefile rules..." >&6
16738 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
16739 SOCKET_LIBS = $SOCKET_LIBS
16740 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16741 IOKIT_LIBS = $IOKIT_LIBS
16742 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16743 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16744 CORESERVICES_LIBS = $CORESERVICES_LIBS
16745 APPKIT_LIBS = $APPKIT_LIBS
16746 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16747 SECURITY_LIBS = $SECURITY_LIBS
16748 COREAUDIO_LIBS = $COREAUDIO_LIBS
16749 OPENAL_LIBS = $OPENAL_LIBS
16750 OPENCL_LIBS = $OPENCL_LIBS
16751 QUICKTIME_LIBS = $QUICKTIME_LIBS
16752 CARBON_LIBS = $CARBON_LIBS
16753 PTHREAD_LIBS = $PTHREAD_LIBS
16754 X_CFLAGS = $X_CFLAGS
16755 X_PRE_LIBS = $X_PRE_LIBS
16757 X_EXTRA_LIBS = $X_EXTRA_LIBS
16758 XML2_CFLAGS = $XML2_CFLAGS
16759 XML2_LIBS = $XML2_LIBS
16760 XSLT_CFLAGS = $XSLT_CFLAGS
16761 XSLT_LIBS = $XSLT_LIBS
16762 DBUS_CFLAGS = $DBUS_CFLAGS
16763 DBUS_LIBS = $DBUS_LIBS
16764 HAL_CFLAGS = $HAL_CFLAGS
16765 HAL_LIBS = $HAL_LIBS
16766 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16767 GNUTLS_LIBS = $GNUTLS_LIBS
16768 SANE_CFLAGS = $SANE_CFLAGS
16769 SANE_LIBS = $SANE_LIBS
16770 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16771 GPHOTO2_LIBS = $GPHOTO2_LIBS
16772 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16773 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16774 RESOLV_LIBS = $RESOLV_LIBS
16775 LCMS2_CFLAGS = $LCMS2_CFLAGS
16776 LCMS2_LIBS = $LCMS2_LIBS
16777 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16778 FREETYPE_LIBS = $FREETYPE_LIBS
16780 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16781 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16782 GSTREAMER_LIBS = $GSTREAMER_LIBS
16783 ALSA_LIBS = $ALSA_LIBS
16784 OSS4_CFLAGS = $OSS4_CFLAGS
16785 CAPI20_CFLAGS = $CAPI20_CFLAGS
16786 CAPI20_LIBS = $CAPI20_LIBS
16787 CUPS_CFLAGS = $CUPS_CFLAGS
16788 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16789 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16790 JPEG_CFLAGS = $JPEG_CFLAGS
16791 JPEG_LIBS = $JPEG_LIBS
16792 PNG_CFLAGS = $PNG_CFLAGS
16793 PNG_LIBS = $PNG_LIBS
16794 TIFF_CFLAGS = $TIFF_CFLAGS
16795 TIFF_LIBS = $TIFF_LIBS
16796 MPG123_CFLAGS = $MPG123_CFLAGS
16797 MPG123_LIBS = $MPG123_LIBS
16798 KSTAT_LIBS = $KSTAT_LIBS
16799 PROCSTAT_LIBS = $PROCSTAT_LIBS
16801 POLL_LIBS = $POLL_LIBS
16803 LDAP_LIBS = $LDAP_LIBS
16808 wine_fn_append_rule
"
16809 # Rules automatically generated by configure
16811 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16816 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16817 @./config.status Make.tmp Makefile"
16819 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
16820 .gitignore: config.status
16821 @./config.status .gitignore"
16823 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
16824 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16826 if test "x$enable_fonts" != xno
; then
16827 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16828 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16829 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16830 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16831 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16833 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16834 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
16835 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16836 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16837 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16838 wine_fn_config_symlink wine
16839 if test "x$enable_win64" != xno
; then
16840 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16841 wine_fn_config_symlink wine64
16844 wine_fn_config_dll acledit enable_acledit
16845 wine_fn_config_dll aclui enable_aclui implib
16846 wine_fn_config_dll activeds enable_activeds implib
16847 wine_fn_config_dll actxprxy enable_actxprxy clean
16848 wine_fn_config_lib adsiid
16849 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
16850 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
16851 wine_fn_config_dll advpack enable_advpack implib
16852 wine_fn_config_test dlls
/advpack
/tests advpack_test
16853 wine_fn_config_dll amstream enable_amstream clean
16854 wine_fn_config_test dlls
/amstream
/tests amstream_test
16855 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16856 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16857 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
16858 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
16859 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16860 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16861 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
16862 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
16863 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
16864 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16865 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
16866 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
16867 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16868 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16869 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16870 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16871 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16872 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16873 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16874 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16875 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
16876 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16877 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16878 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16879 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16880 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16881 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16882 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16883 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
16884 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16885 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16886 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16887 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16888 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16889 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16890 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16891 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16892 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
16893 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16894 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16895 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16896 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16897 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16898 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
16899 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
16900 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16901 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
16902 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16903 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16904 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16905 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16906 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16907 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16908 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16909 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16910 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16911 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16912 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16913 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16914 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16915 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16916 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16917 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16918 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16919 wine_fn_config_dll apphelp enable_apphelp
16920 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
16921 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16922 wine_fn_config_dll atl enable_atl clean
,implib
16923 wine_fn_config_test dlls
/atl
/tests atl_test
16924 wine_fn_config_dll atl100 enable_atl100 clean
,implib
16925 wine_fn_config_test dlls
/atl100
/tests atl100_test
16926 wine_fn_config_dll atl110 enable_atl110 clean
16927 wine_fn_config_dll atl80 enable_atl80 clean
,implib
16928 wine_fn_config_test dlls
/atl80
/tests atl80_test
16929 wine_fn_config_dll atl90 enable_atl90 clean
16930 wine_fn_config_dll authz enable_authz
16931 wine_fn_config_dll avicap32 enable_avicap32 implib
16932 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
16933 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
16934 wine_fn_config_dll avifile.dll16 enable_win16
16935 wine_fn_config_dll avrt enable_avrt implib
16936 wine_fn_config_dll bcrypt enable_bcrypt
16937 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
16938 wine_fn_config_dll browseui enable_browseui clean
,po
16939 wine_fn_config_test dlls
/browseui
/tests browseui_test
16940 wine_fn_config_dll cabinet enable_cabinet implib
16941 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
16942 wine_fn_config_dll capi2032 enable_capi2032 implib
16943 wine_fn_config_dll cards enable_cards implib
16944 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16945 wine_fn_config_dll clusapi enable_clusapi implib
16946 wine_fn_config_dll combase enable_combase
16947 wine_fn_config_test dlls
/combase
/tests combase_test
16948 wine_fn_config_dll comcat enable_comcat
16949 wine_fn_config_test dlls
/comcat
/tests comcat_test
16950 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
16951 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
16952 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
16953 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
16954 wine_fn_config_dll
comm.drv16 enable_win16
16955 wine_fn_config_dll commdlg.dll16 enable_win16
16956 wine_fn_config_dll compobj.dll16 enable_win16
16957 wine_fn_config_dll compstui enable_compstui implib
16958 wine_fn_config_dll comsvcs enable_comsvcs implib
16959 wine_fn_config_dll credui enable_credui implib
,po
16960 wine_fn_config_test dlls
/credui
/tests credui_test
16961 wine_fn_config_dll crtdll enable_crtdll implib
16962 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
16963 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
16964 wine_fn_config_dll cryptdlg enable_cryptdlg po
16965 wine_fn_config_dll cryptdll enable_cryptdll implib
16966 wine_fn_config_dll cryptext enable_cryptext
16967 wine_fn_config_dll cryptnet enable_cryptnet implib
16968 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
16969 wine_fn_config_dll cryptui enable_cryptui implib
,po
16970 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
16971 wine_fn_config_dll ctapi32 enable_ctapi32
16972 wine_fn_config_dll ctl3d.dll16 enable_win16
16973 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16974 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16975 wine_fn_config_dll d2d1 enable_d2d1 implib
16976 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
16977 wine_fn_config_dll d3d10 enable_d3d10 implib
16978 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
16979 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16980 wine_fn_config_dll d3d10core enable_d3d10core implib
16981 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
16982 wine_fn_config_dll d3d11 enable_d3d11
16983 wine_fn_config_dll d3d8 enable_d3d8 implib
16984 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
16985 wine_fn_config_dll d3d9 enable_d3d9 implib
16986 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
16987 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16988 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16989 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16990 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16991 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16992 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16993 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16994 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16995 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16996 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16997 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16998 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
16999 wine_fn_config_dll d3dim enable_d3dim implib
17000 wine_fn_config_dll d3drm enable_d3drm implib
17001 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
17002 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17003 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17004 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17005 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17006 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17007 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17008 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17009 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17010 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17011 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17012 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17013 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17014 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17015 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17016 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17017 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17018 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17019 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17020 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17021 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17022 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17023 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17024 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17025 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17026 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17027 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17028 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
17029 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17030 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17031 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17032 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17033 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17034 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17035 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17036 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
17037 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
17038 wine_fn_config_dll dbgeng enable_dbgeng implib
17039 wine_fn_config_dll dbghelp enable_dbghelp implib
17040 wine_fn_config_dll dciman32 enable_dciman32 implib
17041 wine_fn_config_dll ddeml.dll16 enable_win16
17042 wine_fn_config_dll ddraw enable_ddraw clean
,implib
17043 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
17044 wine_fn_config_dll ddrawex enable_ddrawex clean
17045 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
17046 wine_fn_config_dll devenum enable_devenum clean
,po
17047 wine_fn_config_test dlls
/devenum
/tests devenum_test
17048 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17049 wine_fn_config_dll difxapi enable_difxapi
17050 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
17051 wine_fn_config_test dlls
/dinput
/tests dinput_test
17052 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
17053 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
17054 wine_fn_config_dll dispdib.dll16 enable_win16
17055 wine_fn_config_dll dispex enable_dispex clean
17056 wine_fn_config_test dlls
/dispex
/tests dispex_test
17057 wine_fn_config_dll display.drv16 enable_win16
17058 wine_fn_config_dll dmband enable_dmband clean
17059 wine_fn_config_test dlls
/dmband
/tests dmband_test
17060 wine_fn_config_dll dmcompos enable_dmcompos clean
17061 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
17062 wine_fn_config_dll dmime enable_dmime clean
17063 wine_fn_config_test dlls
/dmime
/tests dmime_test
17064 wine_fn_config_dll dmloader enable_dmloader clean
17065 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
17066 wine_fn_config_dll dmscript enable_dmscript clean
17067 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
17068 wine_fn_config_dll dmstyle enable_dmstyle clean
17069 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
17070 wine_fn_config_dll dmsynth enable_dmsynth clean
17071 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
17072 wine_fn_config_dll dmusic enable_dmusic clean
17073 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
17074 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17075 wine_fn_config_dll dnsapi enable_dnsapi implib
17076 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
17077 wine_fn_config_dll dplay enable_dplay implib
17078 wine_fn_config_dll dplayx enable_dplayx clean
,implib
17079 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
17080 wine_fn_config_dll dpnaddr enable_dpnaddr
17081 wine_fn_config_dll dpnet enable_dpnet clean
,implib
17082 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
17083 wine_fn_config_dll dpnhpast enable_dpnhpast
17084 wine_fn_config_dll dpnlobby enable_dpnlobby
17085 wine_fn_config_dll dpvoice enable_dpvoice clean
17086 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
17087 wine_fn_config_dll dpwsockx enable_dpwsockx
17088 wine_fn_config_dll drmclien enable_drmclien
17089 wine_fn_config_dll dsound enable_dsound clean
,implib
17090 wine_fn_config_test dlls
/dsound
/tests dsound_test
17091 wine_fn_config_dll dssenh enable_dssenh
17092 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
17093 wine_fn_config_dll dswave enable_dswave clean
17094 wine_fn_config_test dlls
/dswave
/tests dswave_test
17095 wine_fn_config_dll dwmapi enable_dwmapi implib
17096 wine_fn_config_dll dwrite enable_dwrite implib
17097 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
17098 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
17099 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
17100 wine_fn_config_lib dxerr8
17101 wine_fn_config_lib dxerr9
17102 wine_fn_config_dll dxgi enable_dxgi implib
17103 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
17104 wine_fn_config_lib dxguid
17105 wine_fn_config_dll dxva2 enable_dxva2
17106 wine_fn_config_dll explorerframe enable_explorerframe clean
17107 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17108 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17109 wine_fn_config_dll faultrep enable_faultrep implib
17110 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17111 wine_fn_config_dll fltlib enable_fltlib
17112 wine_fn_config_dll fntcache enable_fntcache
17113 wine_fn_config_dll fontsub enable_fontsub
17114 wine_fn_config_dll fusion enable_fusion
17115 wine_fn_config_test dlls
/fusion
/tests fusion_test
17116 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17117 wine_fn_config_dll gameux enable_gameux clean
17118 wine_fn_config_test dlls
/gameux
/tests gameux_test
17119 wine_fn_config_dll gdi.exe16 enable_win16
17120 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
17121 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
17122 wine_fn_config_dll gdiplus enable_gdiplus implib
17123 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
17124 wine_fn_config_dll glu32 enable_glu32 implib
17125 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17126 wine_fn_config_dll gpkcsp enable_gpkcsp
17127 wine_fn_config_dll hal enable_hal
17128 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
17129 wine_fn_config_dll hid enable_hid implib
17130 wine_fn_config_dll hlink enable_hlink clean
,implib
17131 wine_fn_config_test dlls
/hlink
/tests hlink_test
17132 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17133 wine_fn_config_dll httpapi enable_httpapi
17134 wine_fn_config_dll iccvid enable_iccvid po
17135 wine_fn_config_dll icmp enable_icmp
17136 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
17137 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17138 wine_fn_config_dll ifsmgr.vxd enable_win16
17139 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17140 wine_fn_config_dll imagehlp enable_imagehlp implib
17141 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17142 wine_fn_config_dll imm.dll16 enable_win16
17143 wine_fn_config_dll imm32 enable_imm32 implib
17144 wine_fn_config_test dlls
/imm32
/tests imm32_test
17145 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17146 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17147 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17148 wine_fn_config_dll inetmib1 enable_inetmib1
17149 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17150 wine_fn_config_dll infosoft enable_infosoft clean
17151 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17152 wine_fn_config_dll initpki enable_initpki
17153 wine_fn_config_dll inkobj enable_inkobj
17154 wine_fn_config_dll inseng enable_inseng clean
17155 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17156 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17157 wine_fn_config_dll itircl enable_itircl
17158 wine_fn_config_dll itss enable_itss clean
17159 wine_fn_config_test dlls
/itss
/tests itss_test
17160 wine_fn_config_dll joy.cpl enable_joy_cpl po
17161 wine_fn_config_dll jscript enable_jscript clean
,po
17162 wine_fn_config_test dlls
/jscript
/tests jscript_test
17163 wine_fn_config_dll jsproxy enable_jsproxy implib
17164 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
17165 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17166 wine_fn_config_dll keyboard.drv16 enable_win16
17167 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17168 wine_fn_config_dll ksuser enable_ksuser
17169 wine_fn_config_dll ktmw32 enable_ktmw32
17170 wine_fn_config_dll loadperf enable_loadperf implib
17171 wine_fn_config_dll localspl enable_localspl po
17172 wine_fn_config_test dlls
/localspl
/tests localspl_test
17173 wine_fn_config_dll localui enable_localui po
17174 wine_fn_config_test dlls
/localui
/tests localui_test
17175 wine_fn_config_dll lz32 enable_lz32 implib
17176 wine_fn_config_test dlls
/lz32
/tests lz32_test
17177 wine_fn_config_dll lzexpand.dll16 enable_win16
17178 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
17179 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17180 wine_fn_config_dll mapistub enable_mapistub
17181 wine_fn_config_dll mciavi32 enable_mciavi32
17182 wine_fn_config_dll mcicda enable_mcicda
17183 wine_fn_config_dll mciqtz32 enable_mciqtz32
17184 wine_fn_config_dll mciseq enable_mciseq
17185 wine_fn_config_dll mciwave enable_mciwave
17186 wine_fn_config_dll mfplat enable_mfplat
17187 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17188 wine_fn_config_dll mgmtapi enable_mgmtapi
17189 wine_fn_config_dll midimap enable_midimap
17190 wine_fn_config_dll mlang enable_mlang clean
,implib
17191 wine_fn_config_test dlls
/mlang
/tests mlang_test
17192 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17193 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
17194 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17195 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
17196 wine_fn_config_dll mmdevldr.vxd enable_win16
17197 wine_fn_config_dll mmsystem.dll16 enable_win16
17198 wine_fn_config_dll monodebg.vxd enable_win16
17199 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17200 wine_fn_config_dll mouse.drv16 enable_win16
17201 wine_fn_config_dll mpr enable_mpr implib
,po
17202 wine_fn_config_test dlls
/mpr
/tests mpr_test
17203 wine_fn_config_dll mprapi enable_mprapi implib
17204 wine_fn_config_dll msacm.dll16 enable_win16
17205 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17206 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
17207 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
17208 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17209 wine_fn_config_dll msasn1 enable_msasn1 implib
17210 wine_fn_config_dll mscat32 enable_mscat32
17211 wine_fn_config_dll mscms enable_mscms implib
17212 wine_fn_config_test dlls
/mscms
/tests mscms_test
17213 wine_fn_config_dll mscoree enable_mscoree clean
17214 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
17215 wine_fn_config_dll msctf enable_msctf clean
17216 wine_fn_config_test dlls
/msctf
/tests msctf_test
17217 wine_fn_config_dll msdaps enable_msdaps clean
17218 wine_fn_config_dll msdmo enable_msdmo implib
17219 wine_fn_config_test dlls
/msdmo
/tests msdmo_test
17220 wine_fn_config_dll msftedit enable_msftedit
17221 wine_fn_config_dll msg711.acm enable_msg711_acm
17222 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17223 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17224 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
17225 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
17226 wine_fn_config_dll msi enable_msi clean
,implib
,po
17227 wine_fn_config_test dlls
/msi
/tests msi_test
17228 wine_fn_config_dll msident enable_msident clean
17229 wine_fn_config_dll msimg32 enable_msimg32 implib
17230 wine_fn_config_dll msimsg enable_msimsg
17231 wine_fn_config_dll msimtf enable_msimtf clean
17232 wine_fn_config_dll msisip enable_msisip
17233 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17234 wine_fn_config_dll msls31 enable_msls31
17235 wine_fn_config_dll msnet32 enable_msnet32
17236 wine_fn_config_dll mspatcha enable_mspatcha
17237 wine_fn_config_dll msrle32 enable_msrle32 po
17238 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
17239 wine_fn_config_dll mssign32 enable_mssign32
17240 wine_fn_config_dll mssip32 enable_mssip32
17241 wine_fn_config_dll mstask enable_mstask clean
17242 wine_fn_config_test dlls
/mstask
/tests mstask_test
17243 wine_fn_config_dll msvcirt enable_msvcirt
17244 wine_fn_config_dll msvcm80 enable_msvcm80
17245 wine_fn_config_dll msvcm90 enable_msvcm90
17246 wine_fn_config_dll msvcp100 enable_msvcp100
17247 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
17248 wine_fn_config_dll msvcp110 enable_msvcp110
17249 wine_fn_config_dll msvcp120 enable_msvcp120
17250 wine_fn_config_test dlls
/msvcp120
/tests msvcp120_test
17251 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17252 wine_fn_config_dll msvcp60 enable_msvcp60
17253 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
17254 wine_fn_config_dll msvcp70 enable_msvcp70
17255 wine_fn_config_dll msvcp71 enable_msvcp71
17256 wine_fn_config_dll msvcp80 enable_msvcp80
17257 wine_fn_config_dll msvcp90 enable_msvcp90
17258 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
17259 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17260 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
17261 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17262 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17263 wine_fn_config_test dlls
/msvcr120
/tests msvcr120_test
17264 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17265 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17266 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17267 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17268 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17269 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17270 wine_fn_config_dll msvcrt enable_msvcrt implib
17271 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17272 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17273 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17274 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17275 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17276 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17277 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17278 wine_fn_config_dll msvidc32 enable_msvidc32 po
17279 wine_fn_config_dll msvideo.dll16 enable_win16
17280 wine_fn_config_dll mswsock enable_mswsock implib
17281 wine_fn_config_dll msxml enable_msxml clean
17282 wine_fn_config_dll msxml2 enable_msxml2 clean
17283 wine_fn_config_dll msxml3 enable_msxml3 clean
17284 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17285 wine_fn_config_dll msxml4 enable_msxml4 clean
17286 wine_fn_config_dll msxml6 enable_msxml6 clean
17287 wine_fn_config_dll nddeapi enable_nddeapi implib
17288 wine_fn_config_dll ndis.sys enable_ndis_sys
17289 wine_fn_config_dll netapi32 enable_netapi32 implib
17290 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17291 wine_fn_config_dll netcfgx enable_netcfgx clean
17292 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
17293 wine_fn_config_dll netprofm enable_netprofm clean
17294 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
17295 wine_fn_config_dll newdev enable_newdev implib
17296 wine_fn_config_dll normaliz enable_normaliz implib
17297 wine_fn_config_dll npmshtml enable_npmshtml
17298 wine_fn_config_dll npptools enable_npptools
17299 wine_fn_config_dll ntdll enable_ntdll implib
17300 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17301 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17302 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17303 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17304 wine_fn_config_dll ntprint enable_ntprint
17305 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17306 wine_fn_config_dll objsel enable_objsel clean
17307 wine_fn_config_dll odbc32 enable_odbc32 implib
17308 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17309 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17310 wine_fn_config_dll odbccu32 enable_odbccu32
17311 wine_fn_config_dll ole2.dll16 enable_win16
17312 wine_fn_config_dll ole2conv.dll16 enable_win16
17313 wine_fn_config_dll ole2disp.dll16 enable_win16
17314 wine_fn_config_dll ole2nls.dll16 enable_win16
17315 wine_fn_config_dll ole2prox.dll16 enable_win16
17316 wine_fn_config_dll ole2thk.dll16 enable_win16
17317 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17318 wine_fn_config_test dlls
/ole32
/tests ole32_test
17319 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17320 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17321 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17322 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17323 wine_fn_config_dll olecli.dll16 enable_win16
17324 wine_fn_config_dll olecli32 enable_olecli32 implib
17325 wine_fn_config_dll oledb32 enable_oledb32 clean
17326 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17327 wine_fn_config_dll oledlg enable_oledlg implib
,po
17328 wine_fn_config_dll olepro32 enable_olepro32 implib
17329 wine_fn_config_dll olesvr.dll16 enable_win16
17330 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17331 wine_fn_config_dll olethk32 enable_olethk32
17332 wine_fn_config_dll openal32 enable_openal32
17333 wine_fn_config_dll opencl enable_opencl
17334 wine_fn_config_dll opengl32 enable_opengl32 implib
17335 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17336 wine_fn_config_dll packager enable_packager clean
17337 wine_fn_config_test dlls
/packager
/tests packager_test
17338 wine_fn_config_dll pdh enable_pdh implib
17339 wine_fn_config_test dlls
/pdh
/tests pdh_test
17340 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17341 wine_fn_config_dll pidgen enable_pidgen
17342 wine_fn_config_dll powrprof enable_powrprof implib
17343 wine_fn_config_dll printui enable_printui
17344 wine_fn_config_dll prntvpt enable_prntvpt
17345 wine_fn_config_dll propsys enable_propsys clean
,implib
17346 wine_fn_config_test dlls
/propsys
/tests propsys_test
17347 wine_fn_config_dll psapi enable_psapi implib
17348 wine_fn_config_test dlls
/psapi
/tests psapi_test
17349 wine_fn_config_dll pstorec enable_pstorec clean
17350 wine_fn_config_dll qcap enable_qcap
17351 wine_fn_config_test dlls
/qcap
/tests qcap_test
17352 wine_fn_config_dll qedit enable_qedit clean
17353 wine_fn_config_test dlls
/qedit
/tests qedit_test
17354 wine_fn_config_dll qmgr enable_qmgr clean
17355 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17356 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17357 wine_fn_config_dll quartz enable_quartz clean
,implib
17358 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17359 wine_fn_config_dll query enable_query
17360 wine_fn_config_dll rasapi16.dll16 enable_win16
17361 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17362 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17363 wine_fn_config_dll rasdlg enable_rasdlg implib
17364 wine_fn_config_dll regapi enable_regapi
17365 wine_fn_config_dll resutils enable_resutils implib
17366 wine_fn_config_dll riched20 enable_riched20 implib
17367 wine_fn_config_test dlls
/riched20
/tests riched20_test
17368 wine_fn_config_dll riched32 enable_riched32
17369 wine_fn_config_test dlls
/riched32
/tests riched32_test
17370 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17371 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17372 wine_fn_config_dll rsabase enable_rsabase
17373 wine_fn_config_dll rsaenh enable_rsaenh implib
17374 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17375 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17376 wine_fn_config_dll rtutils enable_rtutils implib
17377 wine_fn_config_dll samlib enable_samlib
17378 wine_fn_config_dll sane.ds enable_sane_ds po
17379 wine_fn_config_dll scarddlg enable_scarddlg
17380 wine_fn_config_dll sccbase enable_sccbase
17381 wine_fn_config_dll schannel enable_schannel
17382 wine_fn_config_test dlls
/schannel
/tests schannel_test
17383 wine_fn_config_dll schedsvc enable_schedsvc clean
17384 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
17385 wine_fn_config_dll scrrun enable_scrrun clean
17386 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17387 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17388 wine_fn_config_dll secur32 enable_secur32 implib
17389 wine_fn_config_test dlls
/secur32
/tests secur32_test
17390 wine_fn_config_dll security enable_security
17391 wine_fn_config_dll sensapi enable_sensapi implib
17392 wine_fn_config_dll serialui enable_serialui implib
,po
17393 wine_fn_config_test dlls
/serialui
/tests serialui_test
17394 wine_fn_config_dll setupapi enable_setupapi implib
,po
17395 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17396 wine_fn_config_dll setupx.dll16 enable_win16
17397 wine_fn_config_dll sfc enable_sfc implib
17398 wine_fn_config_dll sfc_os enable_sfc_os implib
17399 wine_fn_config_dll shdoclc enable_shdoclc po
17400 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17401 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17402 wine_fn_config_dll shell.dll16 enable_win16
17403 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17404 wine_fn_config_test dlls
/shell32
/tests shell32_test
17405 wine_fn_config_dll shfolder enable_shfolder implib
17406 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17407 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17408 wine_fn_config_dll slbcsp enable_slbcsp
17409 wine_fn_config_dll slc enable_slc implib
17410 wine_fn_config_dll snmpapi enable_snmpapi implib
17411 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17412 wine_fn_config_dll softpub enable_softpub
17413 wine_fn_config_dll sound.drv16 enable_win16
17414 wine_fn_config_dll spoolss enable_spoolss implib
17415 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17416 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17417 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17418 wine_fn_config_dll sti enable_sti clean
,implib
17419 wine_fn_config_test dlls
/sti
/tests sti_test
17420 wine_fn_config_dll storage.dll16 enable_win16
17421 wine_fn_config_dll stress.dll16 enable_win16
17422 wine_fn_config_lib strmbase
17423 wine_fn_config_lib strmiids
17424 wine_fn_config_dll svrapi enable_svrapi
17425 wine_fn_config_dll sxs enable_sxs implib
17426 wine_fn_config_test dlls
/sxs
/tests sxs_test
17427 wine_fn_config_dll system.drv16 enable_win16
17428 wine_fn_config_dll t2embed enable_t2embed
17429 wine_fn_config_dll tapi32 enable_tapi32 implib
17430 wine_fn_config_dll taskschd enable_taskschd clean
17431 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17432 wine_fn_config_dll toolhelp.dll16 enable_win16
17433 wine_fn_config_dll traffic enable_traffic
17434 wine_fn_config_dll twain.dll16 enable_win16
17435 wine_fn_config_dll twain_32 enable_twain_32
17436 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17437 wine_fn_config_dll typelib.dll16 enable_win16
17438 wine_fn_config_dll unicows enable_unicows implib
17439 wine_fn_config_dll updspapi enable_updspapi
17440 wine_fn_config_dll url enable_url implib
17441 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17442 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17443 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17444 wine_fn_config_dll user.exe16 enable_win16
17445 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17446 wine_fn_config_test dlls
/user32
/tests user32_test
17447 wine_fn_config_dll userenv enable_userenv implib
17448 wine_fn_config_test dlls
/userenv
/tests userenv_test
17449 wine_fn_config_dll usp10 enable_usp10 implib
17450 wine_fn_config_test dlls
/usp10
/tests usp10_test
17451 wine_fn_config_lib uuid
17452 wine_fn_config_dll uxtheme enable_uxtheme implib
17453 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17454 wine_fn_config_dll vbscript enable_vbscript clean
17455 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17456 wine_fn_config_dll vcomp enable_vcomp
17457 wine_fn_config_dll vcomp100 enable_vcomp100
17458 wine_fn_config_dll vcomp90 enable_vcomp90
17459 wine_fn_config_dll vdhcp.vxd enable_win16
17460 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17461 wine_fn_config_dll ver.dll16 enable_win16
17462 wine_fn_config_dll version enable_version implib
17463 wine_fn_config_test dlls
/version
/tests version_test
17464 wine_fn_config_dll vmm.vxd enable_win16
17465 wine_fn_config_dll vnbt.vxd enable_win16
17466 wine_fn_config_dll vnetbios.vxd enable_win16
17467 wine_fn_config_dll vssapi enable_vssapi
17468 wine_fn_config_dll vtdapi.vxd enable_win16
17469 wine_fn_config_dll vwin32.vxd enable_win16
17470 wine_fn_config_dll w32skrnl enable_win16
17471 wine_fn_config_dll w32sys.dll16 enable_win16
17472 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17473 wine_fn_config_test dlls
/wbemdisp
/tests wbemdisp_test
17474 wine_fn_config_dll wbemprox enable_wbemprox clean
17475 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17476 wine_fn_config_dll webservices enable_webservices implib
17477 wine_fn_config_dll wer enable_wer implib
17478 wine_fn_config_test dlls
/wer
/tests wer_test
17479 wine_fn_config_dll wevtapi enable_wevtapi
17480 wine_fn_config_dll wiaservc enable_wiaservc clean
17481 wine_fn_config_dll win32s16.dll16 enable_win16
17482 wine_fn_config_dll win87em.dll16 enable_win16
17483 wine_fn_config_dll winaspi.dll16 enable_win16
17484 wine_fn_config_dll windebug.dll16 enable_win16
17485 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17486 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17487 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17488 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17489 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17490 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17491 wine_fn_config_lib winecrt0
17492 wine_fn_config_dll wined3d enable_wined3d implib
17493 wine_fn_config_dll winegstreamer enable_winegstreamer
17494 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17495 wine_fn_config_dll winemac.drv enable_winemac_drv
17496 wine_fn_config_dll winemapi enable_winemapi
17497 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17498 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17499 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17500 wine_fn_config_dll wineps16.drv16 enable_win16
17501 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17502 wine_fn_config_dll winex11.drv enable_winex11_drv
17503 wine_fn_config_dll wing.dll16 enable_win16
17504 wine_fn_config_dll wing32 enable_wing32
17505 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17506 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17507 wine_fn_config_dll wininet enable_wininet implib
,po
17508 wine_fn_config_test dlls
/wininet
/tests wininet_test
17509 wine_fn_config_dll winmm enable_winmm implib
,po
17510 wine_fn_config_test dlls
/winmm
/tests winmm_test
17511 wine_fn_config_dll winnls.dll16 enable_win16
17512 wine_fn_config_dll winnls32 enable_winnls32 implib
17513 wine_fn_config_dll winscard enable_winscard implib
17514 wine_fn_config_dll winsock.dll16 enable_win16
17515 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17516 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17517 wine_fn_config_dll winsta enable_winsta
17518 wine_fn_config_dll wintab.dll16 enable_win16
17519 wine_fn_config_dll wintab32 enable_wintab32 implib
17520 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17521 wine_fn_config_dll wintrust enable_wintrust implib
17522 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17523 wine_fn_config_dll wlanapi enable_wlanapi
17524 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17525 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17526 wine_fn_config_dll wmi enable_wmi
17527 wine_fn_config_dll wmiutils enable_wmiutils clean
17528 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17529 wine_fn_config_dll wmp enable_wmp clean
17530 wine_fn_config_test dlls
/wmp
/tests wmp_test
17531 wine_fn_config_dll wmvcore enable_wmvcore
17532 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17533 wine_fn_config_dll wow32 enable_win16 implib
17534 wine_fn_config_dll wpcap enable_wpcap
17535 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17536 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17537 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17538 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17539 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17540 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17541 wine_fn_config_dll wsock32 enable_wsock32 implib
17542 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17543 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
17544 wine_fn_config_dll wuapi enable_wuapi clean
17545 wine_fn_config_dll wuaueng enable_wuaueng
17546 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
17547 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17548 wine_fn_config_dll xaudio2_7 enable_xaudio2_7
17549 wine_fn_config_dll xinput1_1 enable_xinput1_1
17550 wine_fn_config_dll xinput1_2 enable_xinput1_2
17551 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17552 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17553 wine_fn_config_dll xinput1_4 enable_xinput1_4
17554 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17555 wine_fn_config_dll xmllite enable_xmllite implib
17556 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17557 wine_fn_config_dll xolehlp enable_xolehlp
17558 wine_fn_config_dll xpsprint enable_xpsprint
17559 wine_fn_config_dll xpssvcs enable_xpssvcs
17560 wine_fn_config_makefile documentation enable_documentation clean
17561 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17562 wine_fn_config_makefile include enable_include clean
,install-dev
17563 wine_fn_config_makefile libs
/port enable_libs_port
17564 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17565 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17566 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17567 wine_fn_config_program arp enable_arp
install
17568 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17569 wine_fn_config_program attrib enable_attrib
install,po
17570 wine_fn_config_program cabarc enable_cabarc
install
17571 wine_fn_config_program cacls enable_cacls
install
17572 wine_fn_config_program
clock enable_clock
install,po
17573 wine_fn_config_program cmd enable_cmd
install,po
17574 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17575 wine_fn_config_program conhost enable_conhost
install
17576 wine_fn_config_program control enable_control
install
17577 wine_fn_config_program cscript enable_cscript clean
,install
17578 wine_fn_config_program dpnsvr enable_dpnsvr
install
17579 wine_fn_config_program dxdiag enable_dxdiag
install,po
17580 wine_fn_config_program eject enable_eject
install
17581 wine_fn_config_program
expand enable_expand
install
17582 wine_fn_config_program explorer enable_explorer
install,po
17583 wine_fn_config_program extrac32 enable_extrac32
install
17584 wine_fn_config_program findstr enable_findstr
install
17585 wine_fn_config_program hh enable_hh
install
17586 wine_fn_config_program hostname enable_hostname
install,po
17587 wine_fn_config_program icinfo enable_icinfo
install
17588 wine_fn_config_program iexplore enable_iexplore
install
17589 wine_fn_config_program ipconfig enable_ipconfig
install,po
17590 wine_fn_config_program lodctr enable_lodctr
install
17591 wine_fn_config_program mofcomp enable_mofcomp
install
17592 wine_fn_config_program mshta enable_mshta
install
17593 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17594 wine_fn_config_program net enable_net
install,po
17595 wine_fn_config_program netsh enable_netsh
install
17596 wine_fn_config_program netstat enable_netstat
install,po
17597 wine_fn_config_program ngen enable_ngen
install
17598 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17599 wine_fn_config_program oleview enable_oleview
install,po
17600 wine_fn_config_program
ping enable_ping
install
17601 wine_fn_config_program plugplay enable_plugplay
install
17602 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17603 wine_fn_config_program progman enable_progman
install,po
17604 wine_fn_config_program reg enable_reg
install,po
17605 wine_fn_config_test programs
/reg
/tests reg.exe_test
17606 wine_fn_config_program regasm enable_regasm
install
17607 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17608 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17609 wine_fn_config_program regsvcs enable_regsvcs
install
17610 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
,po
17611 wine_fn_config_program rpcss enable_rpcss clean
,install
17612 wine_fn_config_program rundll.exe16 enable_win16
install
17613 wine_fn_config_program rundll32 enable_rundll32
install
17614 wine_fn_config_program sc enable_sc
install
17615 wine_fn_config_program schtasks enable_schtasks
install
17616 wine_fn_config_program sdbinst enable_sdbinst
install
17617 wine_fn_config_program secedit enable_secedit
install
17618 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17619 wine_fn_config_program services enable_services clean
,install
17620 wine_fn_config_test programs
/services
/tests services.exe_test
17621 wine_fn_config_program spoolsv enable_spoolsv
install
17622 wine_fn_config_program start enable_start
install,po
17623 wine_fn_config_program svchost enable_svchost
install
17624 wine_fn_config_program systeminfo enable_systeminfo
install
17625 wine_fn_config_program taskkill enable_taskkill
install,po
17626 wine_fn_config_program tasklist enable_tasklist
install
17627 wine_fn_config_program taskmgr enable_taskmgr
install,po
17628 wine_fn_config_program termsv enable_termsv
install
17629 wine_fn_config_program uninstaller enable_uninstaller
install,po
17630 wine_fn_config_program unlodctr enable_unlodctr
install
17631 wine_fn_config_program view enable_view
install,po
17632 wine_fn_config_program wevtutil enable_wevtutil
install
17633 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17634 wine_fn_config_program winebrowser enable_winebrowser
install
17635 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17636 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17637 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17638 wine_fn_config_program winedevice enable_winedevice
install
17639 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17640 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17641 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17642 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17643 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17644 wine_fn_config_program winetest enable_winetest clean
17645 wine_fn_config_program winevdm enable_win16
install
17646 wine_fn_config_program winhelp.exe16 enable_win16
install
17647 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17648 wine_fn_config_program winoldap.mod16 enable_win16
install
17649 wine_fn_config_program winver enable_winver
install
17650 wine_fn_config_program wmic enable_wmic
install,po
17651 wine_fn_config_program wordpad enable_wordpad
install,po
17652 wine_fn_config_program
write enable_write
install,po
17653 wine_fn_config_program wscript enable_wscript clean
,install
17654 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17655 wine_fn_config_program wusa enable_wusa
install
17656 wine_fn_config_program xcopy enable_xcopy
install,po
17657 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
17658 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17659 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17660 wine_fn_config_tool tools
/sfnt2fon clean
17661 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17662 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17663 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17664 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17665 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17666 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17718 wine_fn_ignore_file
".gitignore"
17719 wine_fn_ignore_file
"Makefile"
17720 wine_fn_ignore_file
"TAGS"
17721 wine_fn_ignore_file
"tags"
17722 wine_fn_ignore_file
"autom4te.cache"
17723 wine_fn_ignore_file
"config.cache"
17724 wine_fn_ignore_file
"config.log"
17725 wine_fn_ignore_file
"config.status"
17726 wine_fn_ignore_file
"configure.lineno"
17727 wine_fn_ignore_file
"include/config.h"
17728 wine_fn_ignore_file
"include/stamp-h"
17729 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
17731 if test "x$enable_tools" != xno
17733 wine_fn_ignore_file
"tools/makedep$ac_exeext"
17734 ac_config_commands
="$ac_config_commands tools/makedep"
17738 ac_config_commands
="$ac_config_commands Makefile"
17741 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17745 if test "x$enable_maintainer_mode" = xyes
17747 wine_fn_append_rule
"configure: configure.ac aclocal.m4
17748 autoconf --warnings=all
17749 include/config.h.in: include/stamp-h.in
17750 include/stamp-h.in: configure.ac aclocal.m4
17751 autoheader --warnings=all
17752 @echo timestamp > \$@"
17755 if test "x$with_gettextpo" = xyes
17757 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17758 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17759 \$(LINGUAS:%=po/%.po): po/wine.pot
17760 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17761 po/wine.pot: \$(ALL_POT_FILES)
17762 msgcat -o \$@ \$(ALL_POT_FILES)"
17765 if test "$MSGFMT" != false
17767 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
17769 \$(RM) \$(LINGUAS:%=po/%.mo)"
17772 test "$srcdir" = . || posrc
="$srcdir/po"
17775 wine_fn_ignore_file
"po/$i.mo"
17776 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
17777 \$(MSGFMT) -o \$@ $posrc/$i.po"
17783 if test "x$enable_tools" != xno
17785 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17786 @./config.status tools/makedep
17787 Makefile: tools/makedep$ac_exeext
17789 \$(RM) tools/makedep$ac_exeext"
17791 wine_fn_append_rule
"\$(MAKEDEP):
17792 @echo \"You need to run make in $TOOLSDIR first\" && false"
17795 if test -n "$with_wine64"
17797 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17798 fonts server tools:
17799 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17800 $with_wine64/loader/wine:
17801 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17802 $with_wine64/loader/wine-preloader:
17803 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17805 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17807 as_fn_append LOADER_RULES
"
17808 install install-lib:: wine.inf install-man-pages
17809 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17810 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17813 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17817 if test "$srcdir" = .
17819 ac_config_commands
="$ac_config_commands .gitignore"
17823 $as_echo " done" >&6
17824 cat >confcache
<<\_ACEOF
17825 # This file is a shell script that caches the results of configure
17826 # tests run on this system so they can be shared between configure
17827 # scripts and configure runs, see configure's option --config-cache.
17828 # It is not useful on other systems. If it contains results you don't
17829 # want to keep, you may remove or edit it.
17831 # config.status only pays attention to the cache file if you give it
17832 # the --recheck option to rerun configure.
17834 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17835 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17836 # following values.
17840 # The following way of writing the cache mishandles newlines in values,
17841 # but we know of no workaround that is simple, portable, and efficient.
17842 # So, we kill variables containing newlines.
17843 # Ultrix sh set writes to stderr and can't be redirected directly,
17844 # and sets the high bit in the cache file unless we assign to the vars.
17846 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17847 eval ac_val
=\$
$ac_var
17851 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17852 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17855 _ | IFS | as_nl
) ;; #(
17856 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17857 *) { eval $ac_var=; unset $ac_var;} ;;
17863 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17864 *${as_nl}ac_space
=\
*)
17865 # `set' does not quote correctly, so add quotes: double-quote
17866 # substitution turns \\\\ into \\, and sed turns \\ into \.
17869 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17872 # `set' quotes correctly as required by POSIX, so do not add quotes.
17873 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17882 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17884 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17886 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17887 if test -w "$cache_file"; then
17888 if test "x$cache_file" != "x/dev/null"; then
17889 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17890 $as_echo "$as_me: updating cache $cache_file" >&6;}
17891 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17892 cat confcache
>"$cache_file"
17894 case $cache_file in #(
17896 mv -f confcache
"$cache_file"$$
&&
17897 mv -f "$cache_file"$$
"$cache_file" ;; #(
17899 mv -f confcache
"$cache_file" ;;
17904 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17905 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17910 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17911 # Let make expand exec_prefix.
17912 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17914 DEFS
=-DHAVE_CONFIG_H
17919 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17920 # 1. Remove the extension, and $U if already installed.
17921 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17922 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17923 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17924 # will be set to the directory where LIBOBJS objects are built.
17925 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17926 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17928 LIBOBJS
=$ac_libobjs
17930 LTLIBOBJS
=$ac_ltlibobjs
17934 : "${CONFIG_STATUS=./config.status}"
17936 ac_clean_files_save
=$ac_clean_files
17937 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17938 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17939 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17941 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17943 # Generated by $as_me.
17944 # Run this file to recreate the current configuration.
17945 # Compiler output produced by configure, useful for debugging
17946 # configure, is in config.log if it exists.
17949 ac_cs_recheck=false
17952 SHELL=\${CONFIG_SHELL-$SHELL}
17955 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17956 ## -------------------- ##
17957 ## M4sh Initialization. ##
17958 ## -------------------- ##
17960 # Be more Bourne compatible
17961 DUALCASE
=1; export DUALCASE
# for MKS sh
17962 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17965 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17966 # is contrary to our usage. Disable this feature.
17967 alias -g '${1+"$@"}'='"$@"'
17968 setopt NO_GLOB_SUBST
17970 case `(set -o) 2>/dev/null` in #(
17982 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17983 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17984 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17985 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17986 # Prefer a ksh shell builtin over an external printf program on Solaris,
17987 # but without wasting forks for bash or zsh.
17988 if test -z "$BASH_VERSION$ZSH_VERSION" \
17989 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17990 as_echo='print
-r --'
17991 as_echo_n='print
-rn --'
17992 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17993 as_echo='printf %s
\n'
17994 as_echo_n='printf %s
'
17996 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17997 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17998 as_echo_n='/usr
/ucb
/echo -n'
18000 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18001 as_echo_n_body='eval
18005 expr "X$arg" : "X\\(.*\\)$as_nl";
18006 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18008 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18010 export as_echo_n_body
18011 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18013 export as_echo_body
18014 as_echo='sh
-c $as_echo_body as_echo
'
18017 # The user is always right.
18018 if test "${PATH_SEPARATOR+set}" != set; then
18020 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18021 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18028 # We need space, tab and new line, in precisely that order. Quoting is
18029 # there to prevent editors from complaining about space-tab.
18030 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18031 # splitting by setting IFS to empty value.)
18034 # Find who we are. Look in the path if we contain no directory separator.
18037 *[\\/]* ) as_myself=$0 ;;
18038 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18039 for as_dir in $PATH
18042 test -z "$as_dir" && as_dir=.
18043 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18049 # We did not find ourselves, most probably we were run as `sh COMMAND'
18050 # in which case we are not to be found in the path.
18051 if test "x$as_myself" = x
; then
18054 if test ! -f "$as_myself"; then
18055 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18059 # Unset variables that we do not need and which cause bugs (e.g. in
18060 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18061 # suppresses any "Segmentation fault" message there. '((' could
18062 # trigger a bug in pdksh 5.2.14.
18063 for as_var
in BASH_ENV ENV MAIL MAILPATH
18064 do eval test x\
${$as_var+set} = xset \
18065 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18078 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18081 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18082 # ----------------------------------------
18083 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18084 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18085 # script with STATUS, using 1 if that was 0.
18088 as_status
=$1; test $as_status -eq 0 && as_status
=1
18090 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18091 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18093 $as_echo "$as_me: error: $2" >&2
18094 as_fn_exit
$as_status
18098 # as_fn_set_status STATUS
18099 # -----------------------
18100 # Set $? to STATUS, without forking.
18101 as_fn_set_status
()
18104 } # as_fn_set_status
18106 # as_fn_exit STATUS
18107 # -----------------
18108 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18112 as_fn_set_status
$1
18118 # Portably unset VAR.
18121 { eval $1=; unset $1;}
18123 as_unset
=as_fn_unset
18124 # as_fn_append VAR VALUE
18125 # ----------------------
18126 # Append the text in VALUE to the end of the definition contained in VAR. Take
18127 # advantage of any shell optimizations that allow amortized linear growth over
18128 # repeated appends, instead of the typical quadratic growth present in naive
18130 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18131 eval 'as_fn_append ()
18142 # as_fn_arith ARG...
18143 # ------------------
18144 # Perform arithmetic evaluation on the ARGs, and store the result in the
18145 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18146 # must be portable across $(()) and expr.
18147 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18148 eval 'as_fn_arith ()
18155 as_val
=`expr "$@" || test $? -eq 1`
18160 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18161 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18167 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18168 as_basename
=basename
18173 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18179 as_me
=`$as_basename -- "$0" ||
18180 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18181 X"$0" : 'X\(//\)$' \| \
18182 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18184 sed '/^.*\/\([^/][^/]*\)\/*$/{
18198 # Avoid depending upon Character Ranges.
18199 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18200 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18201 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18202 as_cr_digits
='0123456789'
18203 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18205 ECHO_C
= ECHO_N
= ECHO_T
=
18206 case `echo -n x` in #(((((
18208 case `echo 'xy\c'` in
18209 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18211 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18218 rm -f conf$$ conf$$.exe conf$$.
file
18219 if test -d conf$$.dir
; then
18220 rm -f conf$$.dir
/conf$$.
file
18223 mkdir conf$$.dir
2>/dev
/null
18225 if (echo >conf$$.
file) 2>/dev
/null
; then
18226 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18228 # ... but there are two gotchas:
18229 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18230 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18231 # In both cases, we have to default to `cp -pR'.
18232 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18234 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18242 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18243 rmdir conf$$.dir
2>/dev
/null
18248 # Create "$as_dir" as a directory, including parents if necessary.
18253 -*) as_dir
=.
/$as_dir;;
18255 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18259 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18260 *) as_qdir
=$as_dir;;
18262 as_dirs
="'$as_qdir' $as_dirs"
18263 as_dir
=`$as_dirname -- "$as_dir" ||
18264 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18265 X"$as_dir" : 'X\(//\)[^/]' \| \
18266 X"$as_dir" : 'X\(//\)$' \| \
18267 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18268 $as_echo X"$as_dir" |
18269 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18273 /^X\(\/\/\)[^/].*/{
18286 test -d "$as_dir" && break
18288 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18289 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18293 if mkdir
-p .
2>/dev
/null
; then
18294 as_mkdir_p
='mkdir -p "$as_dir"'
18296 test -d .
/-p && rmdir .
/-p
18301 # as_fn_executable_p FILE
18302 # -----------------------
18303 # Test if FILE is an executable regular file.
18304 as_fn_executable_p
()
18306 test -f "$1" && test -x "$1"
18307 } # as_fn_executable_p
18308 as_test_x
='test -x'
18309 as_executable_p
=as_fn_executable_p
18311 # Sed expression to map a string onto a valid CPP name.
18312 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18314 # Sed expression to map a string onto a valid variable name.
18315 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18319 ## ----------------------------------- ##
18320 ## Main body of $CONFIG_STATUS script. ##
18321 ## ----------------------------------- ##
18323 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18325 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18326 # Save the log message, to keep $0 and so on meaningful, and to
18327 # report actual input values of CONFIG_FILES etc. instead of their
18328 # values after options handling.
18330 This file was extended by Wine $as_me 1.7.34, which was
18331 generated by GNU Autoconf 2.69. Invocation command line was
18333 CONFIG_FILES = $CONFIG_FILES
18334 CONFIG_HEADERS = $CONFIG_HEADERS
18335 CONFIG_LINKS = $CONFIG_LINKS
18336 CONFIG_COMMANDS = $CONFIG_COMMANDS
18339 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18344 case $ac_config_files in *"
18345 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18348 case $ac_config_headers in *"
18349 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18353 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18354 # Files that config.status was made for.
18355 config_files="$ac_config_files"
18356 config_headers="$ac_config_headers"
18357 config_links="$ac_config_links"
18358 config_commands="$ac_config_commands"
18362 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18364 \`$as_me' instantiates files and other configuration actions
18365 from templates according to the current configuration. Unless the files
18366 and actions are specified as TAGs, all are instantiated by default.
18368 Usage: $0 [OPTION]... [TAG]...
18370 -h, --help print this help, then exit
18371 -V, --version print version number and configuration settings, then exit
18372 --config print configuration, then exit
18373 -q, --quiet, --silent
18374 do not print progress messages
18375 -d, --debug don't remove temporary files
18376 --recheck update $as_me by reconfiguring in the same conditions
18377 --file=FILE[:TEMPLATE]
18378 instantiate the configuration file FILE
18379 --header=FILE[:TEMPLATE]
18380 instantiate the configuration header FILE
18382 Configuration files:
18385 Configuration headers:
18388 Configuration links:
18391 Configuration commands:
18394 Report bugs to <wine-devel@winehq.org>.
18395 Wine home page: <http://www.winehq.org>."
18398 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18399 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18401 Wine config.status 1.7.34
18402 configured by $0, generated by GNU Autoconf 2.69,
18403 with options \\"\$ac_cs_config\\"
18405 Copyright (C) 2012 Free Software Foundation, Inc.
18406 This config.status script is free software; the Free Software Foundation
18407 gives unlimited permission to copy, distribute and modify it."
18411 test -n "\$AWK" || AWK=awk
18414 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18415 # The default lists apply if the user does not specify any file.
18421 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18422 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18426 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18438 # Handling of the options.
18439 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18441 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18442 $as_echo "$ac_cs_version"; exit ;;
18443 --config |
--confi |
--conf |
--con |
--co |
--c )
18444 $as_echo "$ac_cs_config"; exit ;;
18445 --debug |
--debu |
--deb |
--de |
--d |
-d )
18447 --file |
--fil |
--fi |
--f )
18450 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18451 '') as_fn_error $?
"missing file argument" ;;
18453 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18454 ac_need_defaults
=false
;;
18455 --header |
--heade |
--head |
--hea )
18458 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18460 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18461 ac_need_defaults
=false
;;
18463 # Conflict between --help and --header
18464 as_fn_error $?
"ambiguous option: \`$1'
18465 Try \`$0 --help' for more information.";;
18466 --help |
--hel |
-h )
18467 $as_echo "$ac_cs_usage"; exit ;;
18468 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18469 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18472 # This is an error.
18473 -*) as_fn_error $?
"unrecognized option: \`$1'
18474 Try \`$0 --help' for more information." ;;
18476 *) as_fn_append ac_config_targets
" $1"
18477 ac_need_defaults
=false
;;
18483 ac_configure_extra_args
=
18485 if $ac_cs_silent; then
18487 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18491 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18492 if \$ac_cs_recheck; then
18493 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18495 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18496 CONFIG_SHELL='$SHELL'
18497 export CONFIG_SHELL
18502 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18506 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18507 ## Running $as_me. ##
18513 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18517 wine_fn_output_makedep ()
18519 as_dir=tools; as_fn_mkdir_p
18520 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18522 wine_fn_output_makefile ()
18524 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18525 `cat $wine_rules_file`
18527 as_fn_error $? "could not create Makefile" "$LINENO" 5
18529 wine_fn_output_gitignore ()
18531 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18534 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18539 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18541 # Handling of arguments.
18542 for ac_config_target
in $ac_config_targets
18544 case $ac_config_target in
18545 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18546 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18547 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18548 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18549 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18550 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18551 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18552 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18553 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18554 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18555 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
18556 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18557 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18558 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18560 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18565 # If the user did not use the arguments to specify the items to instantiate,
18566 # then the envvar interface is used. Set only those that are not.
18567 # We use the long form for the default assignment because of an extremely
18568 # bizarre bug on SunOS 4.1.3.
18569 if $ac_need_defaults; then
18570 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18571 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18572 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18573 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18576 # Have a temporary directory for convenience. Make it in the build tree
18577 # simply because there is no reason against having it here, and in addition,
18578 # creating and moving files from /tmp can sometimes cause problems.
18579 # Hook for its removal unless debugging.
18580 # Note that there is a small window in which the directory will not be cleaned:
18581 # after its creation but before its name has been assigned to `$tmp'.
18585 trap 'exit_status=$?
18586 : "${ac_tmp:=$tmp}"
18587 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18589 trap 'as_fn_exit 1' 1 2 13 15
18591 # Create a (secure) tmp directory for tmp files.
18594 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18598 tmp
=.
/conf$$
-$RANDOM
18599 (umask 077 && mkdir
"$tmp")
18600 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18603 # Set up the scripts for CONFIG_FILES section.
18604 # No need to generate them if there are no CONFIG_FILES.
18605 # This happens for instance with `./config.status config.h'.
18606 if test -n "$CONFIG_FILES"; then
18609 ac_cr
=`echo X | tr X '\015'`
18610 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18611 # But we know of no other shell where ac_cr would be empty at this
18612 # point, so we can use a bashism as a fallback.
18613 if test "x$ac_cr" = x
; then
18614 eval ac_cr
=\$
\'\\r
\'
18616 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18617 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18620 ac_cs_awk_cr
=$ac_cr
18623 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18628 echo "cat >conf$$subs.awk <<_ACEOF" &&
18629 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18631 } >conf$$subs.sh ||
18632 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18633 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18635 for ac_last_try in false false false false false :; do
18636 . ./conf$$subs.sh ||
18637 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18639 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18640 if test $ac_delim_n = $ac_delim_num; then
18642 elif $ac_last_try; then
18643 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18645 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18648 rm -f conf$$subs.sh
18650 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18651 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18655 s/^/S["/; s
/!.
*/"]=/
18665 s/\(.\{148\}\)..*/\1/
18667 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18672 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18679 s/\(.\{148\}\)..*/\1/
18681 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18685 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18690 ' <conf$$subs.awk | sed '
18695 ' >>$CONFIG_STATUS || ac_write_fail=1
18696 rm -f conf$$subs.awk
18697 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18699 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18700 for (key in S) S_is_set[key] = 1
18706 nfields = split(line, field, "@
")
18708 len = length(field[1])
18709 for (i = 2; i < nfields; i++) {
18711 keylen = length(key)
18712 if (S_is_set[key]) {
18714 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18715 len += length(value) + length(field[++i])
18726 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18727 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18728 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18731 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18732 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18735 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18736 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18737 # trailing colons and then remove the whole line if VPATH becomes empty
18738 # (actually we leave an empty line to preserve line numbers).
18739 if test "x
$srcdir" = x.; then
18740 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18758 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18759 fi # test -n "$CONFIG_FILES"
18761 # Set up the scripts for CONFIG_HEADERS section.
18762 # No need to generate them if there are no CONFIG_HEADERS.
18763 # This happens for instance with `./config.status Makefile'.
18764 if test -n "$CONFIG_HEADERS"; then
18765 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18769 # Transform confdefs.h into an awk script `defines.awk', embedded as
18770 # here-document in config.status, that substitutes the proper values into
18771 # config.h.in to produce config.h.
18773 # Create a delimiter string that does not exist in confdefs.h, to ease
18774 # handling of long lines.
18776 for ac_last_try in false false :; do
18777 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18778 if test -z "$ac_tt"; then
18780 elif $ac_last_try; then
18781 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18783 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18787 # For the awk script, D is an array of macro values keyed by name,
18788 # likewise P contains macro parameters if any. Preserve backslash
18789 # newline sequences.
18791 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18793 s/.\{148\}/&'"$ac_delim"'/g
18796 s/^[ ]*#[ ]*define[ ][ ]*/ /
18803 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18805 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18809 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18810 D["\
1"]=" \
3\\\\\\n
"\\/p
18812 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18817 s/.\{148\}/&'"$ac_delim"'/g
18822 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18825 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18827 ' <confdefs.h | sed '
18828 s/'"$ac_delim"'/"\\\
18829 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18831 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18832 for (key in D) D_is_set[key] = 1
18835 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18837 split(line, arg, " ")
18838 if (arg[1] == "#") {
18842 defundef
= substr
(arg
[1], 2)
18845 split(mac1
, mac2
, "(") #)
18847 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18848 if (D_is_set
[macro
]) {
18849 # Preserve the white space surrounding the "#".
18850 print prefix
"define", macro P
[macro
] D
[macro
]
18853 # Replace #undef with comments. This is necessary, for example,
18854 # in the case of _POSIX_SOURCE, which is predefined and required
18855 # on some systems where configure will not decide to define it.
18856 if (defundef
== "undef") {
18857 print
"/*", prefix defundef
, macro
, "*/"
18865 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18866 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18867 fi # test -n "$CONFIG_HEADERS"
18870 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18875 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18877 case $ac_mode$ac_tag in
18879 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18880 :[FH
]-) ac_tag
=-:-;;
18881 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18898 -) ac_f
="$ac_tmp/stdin";;
18899 *) # Look for the file first in the build tree, then in the source tree
18900 # (if the path is not absolute). The absolute path cannot be DOS-style,
18901 # because $ac_f cannot contain `:'.
18905 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18907 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18909 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18910 as_fn_append ac_file_inputs
" '$ac_f'"
18913 # Let's still pretend it is `configure' which instantiates (i.e., don't
18914 # use $as_me), people would be surprised to read:
18915 # /* config.h. Generated by config.status. */
18916 configure_input
='Generated from '`
18917 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18919 if test x
"$ac_file" != x-
; then
18920 configure_input
="$ac_file. $configure_input"
18921 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18922 $as_echo "$as_me: creating $ac_file" >&6;}
18924 # Neutralize special characters interpreted by sed in replacement strings.
18925 case $configure_input in #(
18926 *\
&* |
*\|
* |
*\\* )
18927 ac_sed_conf_input
=`$as_echo "$configure_input" |
18928 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18929 *) ac_sed_conf_input
=$configure_input;;
18933 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
18934 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
18939 ac_dir
=`$as_dirname -- "$ac_file" ||
18940 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18941 X"$ac_file" : 'X\(//\)[^/]' \| \
18942 X"$ac_file" : 'X\(//\)$' \| \
18943 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18944 $as_echo X"$ac_file" |
18945 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18949 /^X\(\/\/\)[^/].*/{
18962 as_dir
="$ac_dir"; as_fn_mkdir_p
18966 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18968 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18969 # A ".." for each directory in $ac_dir_suffix.
18970 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18971 case $ac_top_builddir_sub in
18972 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18973 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18976 ac_abs_top_builddir
=$ac_pwd
18977 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18978 # for backward compatibility:
18979 ac_top_builddir
=$ac_top_build_prefix
18982 .
) # We are building in place.
18984 ac_top_srcdir
=$ac_top_builddir_sub
18985 ac_abs_top_srcdir
=$ac_pwd ;;
18986 [\\/]* | ?
:[\\/]* ) # Absolute name.
18987 ac_srcdir
=$srcdir$ac_dir_suffix;
18988 ac_top_srcdir
=$srcdir
18989 ac_abs_top_srcdir
=$srcdir ;;
18990 *) # Relative name.
18991 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18992 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18993 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18995 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19006 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19007 # If the template does not know about datarootdir, expand it.
19008 # FIXME: This hack should be removed a few years after 2.60.
19009 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19020 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19021 *datarootdir
*) ac_datarootdir_seen
=yes;;
19022 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19024 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19026 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19027 ac_datarootdir_hack='
19028 s&@datadir@&$datadir&g
19029 s&@docdir@&$docdir&g
19030 s&@infodir@&$infodir&g
19031 s&@localedir@&$localedir&g
19032 s&@mandir@&$mandir&g
19033 s&\\\${datarootdir}&$datarootdir&g' ;;
19037 # Neutralize VPATH when `$srcdir' = `.'.
19038 # Shell code in configure.ac might set extrasub.
19039 # FIXME: do we really want to maintain this feature?
19040 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19041 ac_sed_extra="$ac_vpsub
19044 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19046 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19047 s|@configure_input@|
$ac_sed_conf_input|
;t t
19048 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19049 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19050 s
&@srcdir@
&$ac_srcdir&;t t
19051 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19052 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19053 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19054 s
&@builddir@
&$ac_builddir&;t t
19055 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19056 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19057 $ac_datarootdir_hack
19059 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19060 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19062 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19063 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19064 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19065 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19067 which seems to be undefined. Please make sure it is defined" >&5
19068 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19069 which seems to be undefined. Please make sure it is defined" >&2;}
19071 rm -f "$ac_tmp/stdin"
19073 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19074 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19076 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19082 if test x"$ac_file" != x-; then
19084 $as_echo "/* $configure_input */" \
19085 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19086 } >"$ac_tmp/config.h" \
19087 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19088 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19089 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19090 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19093 mv "$ac_tmp/config.h" "$ac_file" \
19094 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19097 $as_echo "/* $configure_input */" \
19098 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19099 || as_fn_error $? "could not create -" "$LINENO" 5
19107 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
19110 # Prefer the file from the source tree if names are identical.
19111 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19112 ac_source=$srcdir/$ac_source
19115 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19116 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19118 if test ! -r "$ac_source"; then
19119 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19123 # Try a relative symlink, then a hard link, then a copy.
19125 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19126 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19128 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19129 ln "$ac_source" "$ac_file" 2>/dev/null ||
19130 cp -p "$ac_source" "$ac_file" ||
19131 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19134 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19135 $as_echo "$as_me: executing $ac_file commands" >&6;}
19140 case $ac_file$ac_mode in
19141 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19142 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19143 "Makefile":C) wine_fn_output_makefile Makefile ;;
19144 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19152 ac_clean_files=$ac_clean_files_save
19154 test $ac_write_fail = 0 ||
19155 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19158 # configure is writing to config.log, and then calls config.status.
19159 # config.status does its own redirection, appending to config.log.
19160 # Unfortunately, on DOS this fails, as config.log is still kept open
19161 # by configure, so config.status won't be able to
write to it
; its
19162 # output is simply discarded. So we exec the FD to /dev/null,
19163 # effectively closing config.log, so it can be properly (re)opened and
19164 # appended to by config.status. When coming back to configure, we
19165 # need to make the FD available again.
19166 if test "$no_create" != yes; then
19168 ac_config_status_args
=
19169 test "$silent" = yes &&
19170 ac_config_status_args
="$ac_config_status_args --quiet"
19172 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19174 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19175 # would make configure fail if this is the last instruction.
19176 $ac_cs_success || as_fn_exit
1
19178 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19180 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19184 if test "$no_create" = "yes"
19190 if test "x$wine_notices != "x
; then
19193 for msg
in $wine_notices; do
19195 if ${msg:+false} :; then :
19198 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19199 $as_echo "$as_me: $msg" >&6;}
19204 for msg
in $wine_warnings; do
19206 if ${msg:+false} :; then :
19210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19211 $as_echo "$as_me: WARNING: $msg" >&2;}
19217 $as_me: Finished. Do '${ac_make}' to compile Wine.