2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.14.
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.14'
584 PACKAGE_STRING
='Wine 1.7.14'
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
697 APPLICATIONSERVICES_LIBS
781 program_transform_name
794 enable_option_checking
798 enable_maintainer_mode
854 enable_api_ms_win_core_com_l1_1_0
855 enable_api_ms_win_core_console_l1_1_0
856 enable_api_ms_win_core_debug_l1_1_1
857 enable_api_ms_win_core_errorhandling_l1_1_1
858 enable_api_ms_win_core_file_l1_2_0
859 enable_api_ms_win_core_handle_l1_1_0
860 enable_api_ms_win_core_heap_l1_2_0
861 enable_api_ms_win_core_heap_obsolete_l1_1_0
862 enable_api_ms_win_core_interlocked_l1_2_0
863 enable_api_ms_win_core_io_l1_1_1
864 enable_api_ms_win_core_kernel32_legacy_l1_1_0
865 enable_api_ms_win_core_libraryloader_l1_1_1
866 enable_api_ms_win_core_localization_l1_2_0
867 enable_api_ms_win_core_localization_obsolete_l1_1_0
868 enable_api_ms_win_core_localregistry_l1_1_0
869 enable_api_ms_win_core_memory_l1_1_1
870 enable_api_ms_win_core_namedpipe_l1_2_0
871 enable_api_ms_win_core_processenvironment_l1_2_0
872 enable_api_ms_win_core_processthreads_l1_1_0
873 enable_api_ms_win_core_processthreads_l1_1_1
874 enable_api_ms_win_core_profile_l1_1_0
875 enable_api_ms_win_core_psapi_l1_1_0
876 enable_api_ms_win_core_registry_l1_1_0
877 enable_api_ms_win_core_rtlsupport_l1_2_0
878 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
879 enable_api_ms_win_core_string_l1_1_0
880 enable_api_ms_win_core_synch_l1_2_0
881 enable_api_ms_win_core_sysinfo_l1_2_0
882 enable_api_ms_win_core_threadpool_legacy_l1_1_0
883 enable_api_ms_win_core_timezone_l1_1_0
884 enable_api_ms_win_core_url_l1_1_0
885 enable_api_ms_win_core_util_l1_1_0
886 enable_api_ms_win_core_winrt_error_l1_1_0
887 enable_api_ms_win_core_winrt_string_l1_1_0
888 enable_api_ms_win_downlevel_advapi32_l1_1_0
889 enable_api_ms_win_downlevel_advapi32_l2_1_0
890 enable_api_ms_win_downlevel_normaliz_l1_1_0
891 enable_api_ms_win_downlevel_ole32_l1_1_0
892 enable_api_ms_win_downlevel_shell32_l1_1_0
893 enable_api_ms_win_downlevel_shlwapi_l1_1_0
894 enable_api_ms_win_downlevel_shlwapi_l2_1_0
895 enable_api_ms_win_downlevel_user32_l1_1_0
896 enable_api_ms_win_downlevel_version_l1_1_0
897 enable_api_ms_win_eventing_provider_l1_1_0
898 enable_api_ms_win_ntuser_dc_access_l1_1_0
899 enable_api_ms_win_security_base_l1_1_0
900 enable_api_ms_win_security_base_l1_2_0
901 enable_api_ms_win_security_sddl_l1_1_0
902 enable_api_ms_win_service_core_l1_1_1
903 enable_api_ms_win_service_management_l1_1_0
904 enable_api_ms_win_service_winsvc_l1_2_0
944 enable_d3dcompiler_33
945 enable_d3dcompiler_34
946 enable_d3dcompiler_35
947 enable_d3dcompiler_36
948 enable_d3dcompiler_37
949 enable_d3dcompiler_38
950 enable_d3dcompiler_39
951 enable_d3dcompiler_40
952 enable_d3dcompiler_41
953 enable_d3dcompiler_42
954 enable_d3dcompiler_43
1027 enable_explorerframe
1028 enable_ext_ms_win_gdi_devcaps_l1_1_0
1169 enable_photometadatahandler
1248 enable_windowscodecs
1249 enable_windowscodecsext
1251 enable_winecoreaudio_drv
1253 enable_winegstreamer
1254 enable_winejoystick_drv
1260 enable_wineqtdecoder
1296 enable_documentation
1304 enable_aspnet_regiis
1337 enable_presentationfontcache
1349 enable_servicemodelreg
1369 enable_winemenubuilder
1371 enable_winemsibuilder
1385 ac_precious_vars
='build_alias
1434 # Initialize some variables set by options.
1436 ac_init_version
=false
1437 ac_unrecognized_opts
=
1438 ac_unrecognized_sep
=
1439 # The variables have the same names as the options, with
1440 # dashes changed to underlines.
1441 cache_file
=/dev
/null
1448 program_transform_name
=s
,x
,x
,
1456 # Installation directory options.
1457 # These are left unexpanded so users can "make install exec_prefix=/foo"
1458 # and all the variables that are supposed to be based on exec_prefix
1459 # by default will actually change.
1460 # Use braces instead of parens because sh, perl, etc. also accept them.
1461 # (The list follows the same order as the GNU Coding Standards.)
1462 bindir
='${exec_prefix}/bin'
1463 sbindir
='${exec_prefix}/sbin'
1464 libexecdir
='${exec_prefix}/libexec'
1465 datarootdir
='${prefix}/share'
1466 datadir
='${datarootdir}'
1467 sysconfdir
='${prefix}/etc'
1468 sharedstatedir
='${prefix}/com'
1469 localstatedir
='${prefix}/var'
1470 includedir
='${prefix}/include'
1471 oldincludedir
='/usr/include'
1472 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1473 infodir
='${datarootdir}/info'
1478 libdir
='${exec_prefix}/lib'
1479 localedir
='${datarootdir}/locale'
1480 mandir
='${datarootdir}/man'
1486 # If the previous option needs an argument, assign it.
1487 if test -n "$ac_prev"; then
1488 eval $ac_prev=\
$ac_option
1494 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1499 # Accept the important Cygnus configure options, so we can diagnose typos.
1501 case $ac_dashdash$ac_option in
1505 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1507 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1508 bindir
=$ac_optarg ;;
1510 -build |
--build |
--buil |
--bui |
--bu)
1511 ac_prev
=build_alias
;;
1512 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1513 build_alias
=$ac_optarg ;;
1515 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1516 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1517 ac_prev
=cache_file
;;
1518 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1519 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1520 cache_file
=$ac_optarg ;;
1522 --config-cache |
-C)
1523 cache_file
=config.cache
;;
1525 -datadir |
--datadir |
--datadi |
--datad)
1527 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1528 datadir
=$ac_optarg ;;
1530 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1531 |
--dataroo |
--dataro |
--datar)
1532 ac_prev
=datarootdir
;;
1533 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1534 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1535 datarootdir
=$ac_optarg ;;
1537 -disable-* |
--disable-*)
1538 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1539 # Reject names that are not valid shell variable names.
1540 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1541 as_fn_error $?
"invalid feature name: $ac_useropt"
1542 ac_useropt_orig
=$ac_useropt
1543 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1544 case $ac_user_opts in
1546 "enable_
$ac_useropt"
1548 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1549 ac_unrecognized_sep
=', ';;
1551 eval enable_
$ac_useropt=no
;;
1553 -docdir |
--docdir |
--docdi |
--doc |
--do)
1555 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1556 docdir
=$ac_optarg ;;
1558 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1560 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1561 dvidir
=$ac_optarg ;;
1563 -enable-* |
--enable-*)
1564 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1565 # Reject names that are not valid shell variable names.
1566 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1567 as_fn_error $?
"invalid feature name: $ac_useropt"
1568 ac_useropt_orig
=$ac_useropt
1569 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1570 case $ac_user_opts in
1572 "enable_
$ac_useropt"
1574 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1575 ac_unrecognized_sep
=', ';;
1577 eval enable_
$ac_useropt=\
$ac_optarg ;;
1579 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1580 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1581 |
--exec |
--exe |
--ex)
1582 ac_prev
=exec_prefix
;;
1583 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1584 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1585 |
--exec=* |
--exe=* |
--ex=*)
1586 exec_prefix
=$ac_optarg ;;
1588 -gas |
--gas |
--ga |
--g)
1589 # Obsolete; use --with-gas.
1592 -help |
--help |
--hel |
--he |
-h)
1593 ac_init_help
=long
;;
1594 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1595 ac_init_help
=recursive
;;
1596 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1597 ac_init_help
=short
;;
1599 -host |
--host |
--hos |
--ho)
1600 ac_prev
=host_alias
;;
1601 -host=* |
--host=* |
--hos=* |
--ho=*)
1602 host_alias
=$ac_optarg ;;
1604 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1606 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1608 htmldir
=$ac_optarg ;;
1610 -includedir |
--includedir |
--includedi |
--included |
--include \
1611 |
--includ |
--inclu |
--incl |
--inc)
1612 ac_prev
=includedir
;;
1613 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1614 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1615 includedir
=$ac_optarg ;;
1617 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1619 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1620 infodir
=$ac_optarg ;;
1622 -libdir |
--libdir |
--libdi |
--libd)
1624 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1625 libdir
=$ac_optarg ;;
1627 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1628 |
--libexe |
--libex |
--libe)
1629 ac_prev
=libexecdir
;;
1630 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1631 |
--libexe=* |
--libex=* |
--libe=*)
1632 libexecdir
=$ac_optarg ;;
1634 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1635 ac_prev
=localedir
;;
1636 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1637 localedir
=$ac_optarg ;;
1639 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1640 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1641 ac_prev
=localstatedir
;;
1642 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1643 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1644 localstatedir
=$ac_optarg ;;
1646 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1648 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1649 mandir
=$ac_optarg ;;
1651 -nfp |
--nfp |
--nf)
1652 # Obsolete; use --without-fp.
1655 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1656 |
--no-cr |
--no-c |
-n)
1659 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1660 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1663 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1664 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1665 |
--oldin |
--oldi |
--old |
--ol |
--o)
1666 ac_prev
=oldincludedir
;;
1667 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1668 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1669 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1670 oldincludedir
=$ac_optarg ;;
1672 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1674 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1675 prefix
=$ac_optarg ;;
1677 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1678 |
--program-pre |
--program-pr |
--program-p)
1679 ac_prev
=program_prefix
;;
1680 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1681 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1682 program_prefix
=$ac_optarg ;;
1684 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1685 |
--program-suf |
--program-su |
--program-s)
1686 ac_prev
=program_suffix
;;
1687 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1688 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1689 program_suffix
=$ac_optarg ;;
1691 -program-transform-name |
--program-transform-name \
1692 |
--program-transform-nam |
--program-transform-na \
1693 |
--program-transform-n |
--program-transform- \
1694 |
--program-transform |
--program-transfor \
1695 |
--program-transfo |
--program-transf \
1696 |
--program-trans |
--program-tran \
1697 |
--progr-tra |
--program-tr |
--program-t)
1698 ac_prev
=program_transform_name
;;
1699 -program-transform-name=* |
--program-transform-name=* \
1700 |
--program-transform-nam=* |
--program-transform-na=* \
1701 |
--program-transform-n=* |
--program-transform-=* \
1702 |
--program-transform=* |
--program-transfor=* \
1703 |
--program-transfo=* |
--program-transf=* \
1704 |
--program-trans=* |
--program-tran=* \
1705 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1706 program_transform_name
=$ac_optarg ;;
1708 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1710 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1711 pdfdir
=$ac_optarg ;;
1713 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1715 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1718 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1719 |
-silent |
--silent |
--silen |
--sile |
--sil)
1722 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1724 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1726 sbindir
=$ac_optarg ;;
1728 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1729 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1730 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1732 ac_prev
=sharedstatedir
;;
1733 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1734 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1735 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1737 sharedstatedir
=$ac_optarg ;;
1739 -site |
--site |
--sit)
1741 -site=* |
--site=* |
--sit=*)
1744 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1746 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1747 srcdir
=$ac_optarg ;;
1749 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1750 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1751 ac_prev
=sysconfdir
;;
1752 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1753 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1754 sysconfdir
=$ac_optarg ;;
1756 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1757 ac_prev
=target_alias
;;
1758 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1759 target_alias
=$ac_optarg ;;
1761 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1764 -version |
--version |
--versio |
--versi |
--vers |
-V)
1765 ac_init_version
=: ;;
1768 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1769 # Reject names that are not valid shell variable names.
1770 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1771 as_fn_error $?
"invalid package name: $ac_useropt"
1772 ac_useropt_orig
=$ac_useropt
1773 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1774 case $ac_user_opts in
1778 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1779 ac_unrecognized_sep
=', ';;
1781 eval with_
$ac_useropt=\
$ac_optarg ;;
1783 -without-* |
--without-*)
1784 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1785 # Reject names that are not valid shell variable names.
1786 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1787 as_fn_error $?
"invalid package name: $ac_useropt"
1788 ac_useropt_orig
=$ac_useropt
1789 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1790 case $ac_user_opts in
1794 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1795 ac_unrecognized_sep
=', ';;
1797 eval with_
$ac_useropt=no
;;
1800 # Obsolete; use --with-x.
1803 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1804 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1805 ac_prev
=x_includes
;;
1806 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1807 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1808 x_includes
=$ac_optarg ;;
1810 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1811 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1812 ac_prev
=x_libraries
;;
1813 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1814 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1815 x_libraries
=$ac_optarg ;;
1817 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1818 Try \`$0 --help' for more information"
1822 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1823 # Reject names that are not valid shell variable names.
1824 case $ac_envvar in #(
1825 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1826 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1828 eval $ac_envvar=\
$ac_optarg
1829 export $ac_envvar ;;
1832 # FIXME: should be removed in autoconf 3.0.
1833 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1834 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1835 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1836 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1842 if test -n "$ac_prev"; then
1843 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1844 as_fn_error $?
"missing argument to $ac_option"
1847 if test -n "$ac_unrecognized_opts"; then
1848 case $enable_option_checking in
1850 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1851 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1855 # Check all directory arguments for consistency.
1856 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1857 datadir sysconfdir sharedstatedir localstatedir includedir \
1858 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1859 libdir localedir mandir
1861 eval ac_val
=\$
$ac_var
1862 # Remove trailing slashes.
1865 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1866 eval $ac_var=\
$ac_val;;
1868 # Be sure to have absolute directory names.
1870 [\\/$
]* | ?
:[\\/]* ) continue;;
1871 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1873 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1876 # There might be people who depend on the old broken behavior: `$host'
1877 # used to hold the argument of --host etc.
1878 # FIXME: To remove some day.
1881 target
=$target_alias
1883 # FIXME: To remove some day.
1884 if test "x$host_alias" != x
; then
1885 if test "x$build_alias" = x
; then
1886 cross_compiling
=maybe
1887 elif test "x$build_alias" != "x$host_alias"; then
1893 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1895 test "$silent" = yes && exec 6>/dev
/null
1898 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1899 ac_ls_di
=`ls -di .` &&
1900 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1901 as_fn_error $?
"working directory cannot be determined"
1902 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1903 as_fn_error $?
"pwd does not report name of working directory"
1906 # Find the source files, if location was not specified.
1907 if test -z "$srcdir"; then
1908 ac_srcdir_defaulted
=yes
1909 # Try the directory containing this script, then the parent directory.
1910 ac_confdir
=`$as_dirname -- "$as_myself" ||
1911 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1912 X"$as_myself" : 'X\(//\)[^/]' \| \
1913 X"$as_myself" : 'X\(//\)$' \| \
1914 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1915 $as_echo X"$as_myself" |
1916 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1934 if test ! -r "$srcdir/$ac_unique_file"; then
1938 ac_srcdir_defaulted
=no
1940 if test ! -r "$srcdir/$ac_unique_file"; then
1941 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1942 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1944 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1946 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1948 # When building in place, set srcdir=.
1949 if test "$ac_abs_confdir" = "$ac_pwd"; then
1952 # Remove unnecessary trailing slashes from srcdir.
1953 # Double slashes in file names in object file debugging info
1954 # mess up M-x gdb in Emacs.
1956 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1958 for ac_var
in $ac_precious_vars; do
1959 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1960 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1961 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1962 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1966 # Report the --help message.
1968 if test "$ac_init_help" = "long"; then
1969 # Omit some internal or obsolete options to make the list less imposing.
1970 # This message is too long to be a string in the A/UX 3.1 sh.
1972 \`configure' configures Wine 1.7.14 to adapt to many kinds of systems.
1974 Usage: $0 [OPTION]... [VAR=VALUE]...
1976 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1977 VAR=VALUE. See below for descriptions of some of the useful variables.
1979 Defaults for the options are specified in brackets.
1982 -h, --help display this help and exit
1983 --help=short display options specific to this package
1984 --help=recursive display the short help of all the included packages
1985 -V, --version display version information and exit
1986 -q, --quiet, --silent do not print \`checking ...' messages
1987 --cache-file=FILE cache test results in FILE [disabled]
1988 -C, --config-cache alias for \`--cache-file=config.cache'
1989 -n, --no-create do not create output files
1990 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1992 Installation directories:
1993 --prefix=PREFIX install architecture-independent files in PREFIX
1994 [$ac_default_prefix]
1995 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1998 By default, \`make install' will install all the files in
1999 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2000 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2001 for instance \`--prefix=\$HOME'.
2003 For better control, use the options below.
2005 Fine tuning of the installation directories:
2006 --bindir=DIR user executables [EPREFIX/bin]
2007 --sbindir=DIR system admin executables [EPREFIX/sbin]
2008 --libexecdir=DIR program executables [EPREFIX/libexec]
2009 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2010 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2011 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2012 --libdir=DIR object code libraries [EPREFIX/lib]
2013 --includedir=DIR C header files [PREFIX/include]
2014 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2015 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2016 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2017 --infodir=DIR info documentation [DATAROOTDIR/info]
2018 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2019 --mandir=DIR man documentation [DATAROOTDIR/man]
2020 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2021 --htmldir=DIR html documentation [DOCDIR]
2022 --dvidir=DIR dvi documentation [DOCDIR]
2023 --pdfdir=DIR pdf documentation [DOCDIR]
2024 --psdir=DIR ps documentation [DOCDIR]
2030 --x-includes=DIR X include files are
in DIR
2031 --x-libraries=DIR X library files are
in DIR
2034 --build=BUILD configure
for building on BUILD
[guessed
]
2035 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2039 if test -n "$ac_init_help"; then
2040 case $ac_init_help in
2041 short | recursive
) echo "Configuration of Wine 1.7.14:";;
2046 --disable-option-checking ignore unrecognized
--enable/--with options
2047 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2048 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2049 --disable-win16 do not include Win16 support
2050 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2052 --disable-tests do not build the regression tests
2053 --enable-maintainer-mode
2054 enable maintainer-specific build rules
2055 --disable-largefile omit support for large files
2058 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2059 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2060 --without-alsa do not use the Alsa sound support
2061 --without-capi do not use CAPI (ISDN support)
2062 --without-cms do not use CMS (color management support)
2063 --without-coreaudio do not use the CoreAudio sound support
2064 --without-cups do not use CUPS
2065 --without-curses do not use (n)curses
2066 --without-dbus do not use DBus (dynamic device support)
2067 --without-fontconfig do not use fontconfig
2068 --without-freetype do not use the FreeType library
2069 --without-gettext do not use gettext
2070 --with-gettextpo use the GetTextPO library to rebuild po files
2071 --without-gphoto do not use gphoto (Digital Camera support)
2072 --without-glu do not use the GLU library
2073 --without-gnutls do not use GnuTLS (schannel support)
2074 --without-gsm do not use libgsm (GSM 06.10 codec support)
2075 --without-gstreamer do not use GStreamer (codecs support)
2076 --without-hal do not use HAL (dynamic device support)
2077 --without-jpeg do not use JPEG
2078 --without-ldap do not use LDAP
2079 --without-mpg123 do not use the mpg123 library
2080 --without-netapi do not use the Samba NetAPI library
2081 --without-openal do not use OpenAL
2082 --without-opencl do not use OpenCL
2083 --without-opengl do not use OpenGL
2084 --without-osmesa do not use the OSMesa library
2085 --without-oss do not use the OSS sound support
2086 --without-png do not use PNG
2087 --without-pthread do not use the pthread library
2088 --without-sane do not use SANE (scanner support)
2089 --without-tiff do not use TIFF
2090 --without-v4l do not use v4l1 (v4l support)
2091 --without-xcomposite do not use the Xcomposite extension
2092 --without-xcursor do not use the Xcursor extension
2093 --without-xinerama do not use Xinerama (multi-monitor support)
2094 --without-xinput do not use the Xinput extension
2095 --without-xinput2 do not use the Xinput 2 extension
2096 --without-xml do not use XML
2097 --without-xrandr do not use Xrandr (resolution changes)
2098 --without-xrender do not use the Xrender extension
2099 --without-xshape do not use the Xshape extension
2100 --without-xshm do not use XShm (shared memory extension)
2101 --without-xslt do not use XSLT
2102 --without-xxf86vm do not use XFree video mode extension
2103 --without-zlib do not use Zlib (data compression)
2104 --with-wine-tools=DIR use Wine tools from directory DIR
2105 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2106 --with-x use the X Window System
2108 Some influential environment variables:
2109 CC C compiler command
2110 CFLAGS C compiler flags
2111 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2112 nonstandard directory <lib dir>
2113 LIBS libraries to pass to the linker, e.g. -l<library>
2114 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2115 you have headers in a nonstandard directory <include dir>
2116 CXX C++ compiler command
2117 CXXFLAGS C++ compiler flags
2119 XMKMF Path to xmkmf, Makefile generator for X Window System
2120 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2121 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2122 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2123 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2124 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2125 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2126 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2127 HAL_LIBS Linker flags for hal, overriding pkg-config
2129 C compiler flags for gnutls, overriding pkg-config
2130 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2131 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2132 SANE_LIBS Linker flags for libsane, overriding pkg-config
2134 C compiler flags for libgphoto2, overriding pkg-config
2136 Linker flags for libgphoto2, overriding pkg-config
2138 C compiler flags for libgphoto2_port, overriding pkg-config
2140 Linker flags for libgphoto2_port, overriding pkg-config
2142 C compiler flags for lcms2, overriding pkg-config
2143 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2145 C compiler flags for freetype2, overriding pkg-config
2147 Linker flags for freetype2, overriding pkg-config
2149 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2151 Linker flags for gstreamer-app-0.10, overriding pkg-config
2153 C compiler flags for capi20, overriding pkg-config
2154 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2156 C compiler flags for fontconfig, overriding pkg-config
2158 Linker flags for fontconfig, overriding pkg-config
2159 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2160 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2161 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2162 PNG_LIBS Linker flags for libpng, overriding pkg-config
2163 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2164 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2166 C compiler flags for libmpg123, overriding pkg-config
2167 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2169 Use these variables to override the choices made by `configure' or to
help
2170 it to
find libraries and programs with nonstandard names
/locations.
2172 Report bugs to
<wine-devel@winehq.org
>.
2173 Wine home page
: <http
://www.winehq.org
>.
2178 if test "$ac_init_help" = "recursive"; then
2179 # If there are subdirs, report their specific --help.
2180 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2181 test -d "$ac_dir" ||
2182 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2187 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2189 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2190 # A ".." for each directory in $ac_dir_suffix.
2191 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2192 case $ac_top_builddir_sub in
2193 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2194 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2197 ac_abs_top_builddir
=$ac_pwd
2198 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2199 # for backward compatibility:
2200 ac_top_builddir
=$ac_top_build_prefix
2203 .
) # We are building in place.
2205 ac_top_srcdir
=$ac_top_builddir_sub
2206 ac_abs_top_srcdir
=$ac_pwd ;;
2207 [\\/]* | ?
:[\\/]* ) # Absolute name.
2208 ac_srcdir
=$srcdir$ac_dir_suffix;
2209 ac_top_srcdir
=$srcdir
2210 ac_abs_top_srcdir
=$srcdir ;;
2212 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2213 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2214 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2216 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2218 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2219 # Check for guested configure.
2220 if test -f "$ac_srcdir/configure.gnu"; then
2222 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2223 elif test -f "$ac_srcdir/configure"; then
2225 $SHELL "$ac_srcdir/configure" --help=recursive
2227 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2229 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2233 test -n "$ac_init_help" && exit $ac_status
2234 if $ac_init_version; then
2236 Wine configure
1.7.14
2237 generated by GNU Autoconf
2.69
2239 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2240 This configure
script is free software
; the Free Software Foundation
2241 gives unlimited permission to copy
, distribute and modify it.
2246 ## ------------------------ ##
2247 ## Autoconf initialization. ##
2248 ## ------------------------ ##
2250 # ac_fn_c_try_compile LINENO
2251 # --------------------------
2252 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2253 ac_fn_c_try_compile
()
2255 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2256 rm -f conftest.
$ac_objext
2257 if { { ac_try
="$ac_compile"
2259 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2260 *) ac_try_echo=$ac_try;;
2262 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2263 $as_echo "$ac_try_echo"; } >&5
2264 (eval "$ac_compile") 2>conftest.err
2266 if test -s conftest.err; then
2267 grep -v '^ *+' conftest.err >conftest.er1
2268 cat conftest.er1 >&5
2269 mv -f conftest.er1 conftest.err
2271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2272 test $ac_status = 0; } && {
2273 test -z "$ac_c_werror_flag" ||
2274 test ! -s conftest.err
2275 } && test -s conftest.$ac_objext; then :
2278 $as_echo "$as_me: failed program was:" >&5
2279 sed 's/^/| /' conftest.$ac_ext >&5
2283 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2284 as_fn_set_status $ac_retval
2286 } # ac_fn_c_try_compile
2288 # ac_fn_cxx_try_compile LINENO
2289 # ----------------------------
2290 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2291 ac_fn_cxx_try_compile ()
2293 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2294 rm -f conftest.$ac_objext
2295 if { { ac_try="$ac_compile"
2297 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2298 *) ac_try_echo
=$ac_try;;
2300 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2301 $as_echo "$ac_try_echo"; } >&5
2302 (eval "$ac_compile") 2>conftest.err
2304 if test -s conftest.err
; then
2305 grep -v '^ *+' conftest.err
>conftest.er1
2306 cat conftest.er1
>&5
2307 mv -f conftest.er1 conftest.err
2309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2310 test $ac_status = 0; } && {
2311 test -z "$ac_cxx_werror_flag" ||
2312 test ! -s conftest.err
2313 } && test -s conftest.
$ac_objext; then :
2316 $as_echo "$as_me: failed program was:" >&5
2317 sed 's/^/| /' conftest.
$ac_ext >&5
2321 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2322 as_fn_set_status
$ac_retval
2324 } # ac_fn_cxx_try_compile
2326 # ac_fn_c_try_link LINENO
2327 # -----------------------
2328 # Try to link conftest.$ac_ext, and return whether this succeeded.
2331 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2332 rm -f conftest.
$ac_objext conftest
$ac_exeext
2333 if { { ac_try
="$ac_link"
2335 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2336 *) ac_try_echo=$ac_try;;
2338 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2339 $as_echo "$ac_try_echo"; } >&5
2340 (eval "$ac_link") 2>conftest.err
2342 if test -s conftest.err; then
2343 grep -v '^ *+' conftest.err >conftest.er1
2344 cat conftest.er1 >&5
2345 mv -f conftest.er1 conftest.err
2347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2348 test $ac_status = 0; } && {
2349 test -z "$ac_c_werror_flag" ||
2350 test ! -s conftest.err
2351 } && test -s conftest$ac_exeext && {
2352 test "$cross_compiling" = yes ||
2353 test -x conftest$ac_exeext
2357 $as_echo "$as_me: failed program was:" >&5
2358 sed 's/^/| /' conftest.$ac_ext >&5
2362 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2363 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2364 # interfere with the next link command; also delete a directory that is
2365 # left behind by Apple's compiler. We do this before executing the actions.
2366 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2367 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2368 as_fn_set_status $ac_retval
2370 } # ac_fn_c_try_link
2372 # ac_fn_c_try_cpp LINENO
2373 # ----------------------
2374 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2377 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2378 if { { ac_try="$ac_cpp conftest.$ac_ext"
2380 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2381 *) ac_try_echo
=$ac_try;;
2383 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2384 $as_echo "$ac_try_echo"; } >&5
2385 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2387 if test -s conftest.err
; then
2388 grep -v '^ *+' conftest.err
>conftest.er1
2389 cat conftest.er1
>&5
2390 mv -f conftest.er1 conftest.err
2392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2393 test $ac_status = 0; } > conftest.i
&& {
2394 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2395 test ! -s conftest.err
2399 $as_echo "$as_me: failed program was:" >&5
2400 sed 's/^/| /' conftest.
$ac_ext >&5
2404 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2405 as_fn_set_status
$ac_retval
2409 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2410 # -------------------------------------------------------
2411 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2412 # the include files in INCLUDES and setting the cache variable VAR
2414 ac_fn_c_check_header_mongrel
()
2416 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2417 if eval \
${$3+:} false
; then :
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2419 $as_echo_n "checking for $2... " >&6; }
2420 if eval \
${$3+:} false
; then :
2421 $as_echo_n "(cached) " >&6
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2425 $as_echo "$ac_res" >&6; }
2427 # Is the header compilable?
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2429 $as_echo_n "checking $2 usability... " >&6; }
2430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2431 /* end confdefs.h. */
2435 if ac_fn_c_try_compile
"$LINENO"; then :
2436 ac_header_compiler
=yes
2438 ac_header_compiler
=no
2440 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2442 $as_echo "$ac_header_compiler" >&6; }
2444 # Is the header present?
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2446 $as_echo_n "checking $2 presence... " >&6; }
2447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2448 /* end confdefs.h. */
2451 if ac_fn_c_try_cpp
"$LINENO"; then :
2452 ac_header_preproc
=yes
2454 ac_header_preproc
=no
2456 rm -f conftest.err conftest.i conftest.
$ac_ext
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2458 $as_echo "$ac_header_preproc" >&6; }
2460 # So? What about this header?
2461 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2464 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2466 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2470 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2472 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2474 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2476 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2478 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2479 ( $as_echo "## ------------------------------------ ##
2480 ## Report this to wine-devel@winehq.org ##
2481 ## ------------------------------------ ##"
2482 ) |
sed "s/^/$as_me: WARNING: /" >&2
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2486 $as_echo_n "checking for $2... " >&6; }
2487 if eval \
${$3+:} false
; then :
2488 $as_echo_n "(cached) " >&6
2490 eval "$3=\$ac_header_compiler"
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2494 $as_echo "$ac_res" >&6; }
2496 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2498 } # ac_fn_c_check_header_mongrel
2500 # ac_fn_c_try_run LINENO
2501 # ----------------------
2502 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2503 # that executables *can* be run.
2506 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2507 if { { ac_try
="$ac_link"
2509 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2510 *) ac_try_echo=$ac_try;;
2512 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2513 $as_echo "$ac_try_echo"; } >&5
2514 (eval "$ac_link") 2>&5
2516 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2517 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2518 { { case "(($ac_try" in
2519 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2520 *) ac_try_echo
=$ac_try;;
2522 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2523 $as_echo "$ac_try_echo"; } >&5
2524 (eval "$ac_try") 2>&5
2526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2527 test $ac_status = 0; }; }; then :
2530 $as_echo "$as_me: program exited with status $ac_status" >&5
2531 $as_echo "$as_me: failed program was:" >&5
2532 sed 's/^/| /' conftest.
$ac_ext >&5
2534 ac_retval
=$ac_status
2536 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2537 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2538 as_fn_set_status
$ac_retval
2542 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2543 # -------------------------------------------------------
2544 # Tests whether HEADER exists and can be compiled using the include files in
2545 # INCLUDES, setting the cache variable VAR accordingly.
2546 ac_fn_c_check_header_compile
()
2548 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2550 $as_echo_n "checking for $2... " >&6; }
2551 if eval \
${$3+:} false
; then :
2552 $as_echo_n "(cached) " >&6
2554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2555 /* end confdefs.h. */
2559 if ac_fn_c_try_compile
"$LINENO"; then :
2564 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2568 $as_echo "$ac_res" >&6; }
2569 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2571 } # ac_fn_c_check_header_compile
2573 # ac_fn_c_check_func LINENO FUNC VAR
2574 # ----------------------------------
2575 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2576 ac_fn_c_check_func
()
2578 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2580 $as_echo_n "checking for $2... " >&6; }
2581 if eval \
${$3+:} false
; then :
2582 $as_echo_n "(cached) " >&6
2584 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2585 /* end confdefs.h. */
2586 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2588 #define $2 innocuous_$2
2590 /* System header to define __stub macros and hopefully few prototypes,
2591 which can conflict with char $2 (); below.
2592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2593 <limits.h> exists even on freestanding compilers. */
2596 # include <limits.h>
2598 # include <assert.h>
2603 /* Override any GCC internal prototype to avoid an error.
2604 Use char because int might match the return type of a GCC
2605 builtin and then its argument prototype would still apply. */
2610 /* The GNU C library defines this for functions which it implements
2611 to always fail with ENOSYS. Some functions are actually named
2612 something starting with __ and the normal name is an alias. */
2613 #if defined __stub_$2 || defined __stub___$2
2625 if ac_fn_c_try_link
"$LINENO"; then :
2630 rm -f core conftest.err conftest.
$ac_objext \
2631 conftest
$ac_exeext conftest.
$ac_ext
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2635 $as_echo "$ac_res" >&6; }
2636 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2638 } # ac_fn_c_check_func
2640 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2641 # ----------------------------------------------------
2642 # Tries to find if the field MEMBER exists in type AGGR, after including
2643 # INCLUDES, setting cache variable VAR accordingly.
2644 ac_fn_c_check_member
()
2646 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2648 $as_echo_n "checking for $2.$3... " >&6; }
2649 if eval \
${$4+:} false
; then :
2650 $as_echo_n "(cached) " >&6
2652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2653 /* end confdefs.h. */
2665 if ac_fn_c_try_compile
"$LINENO"; then :
2668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2669 /* end confdefs.h. */
2675 if (sizeof ac_aggr.$3)
2681 if ac_fn_c_try_compile
"$LINENO"; then :
2686 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2688 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2692 $as_echo "$ac_res" >&6; }
2693 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2695 } # ac_fn_c_check_member
2697 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2698 # -------------------------------------------
2699 # Tests whether TYPE exists after having included INCLUDES, setting cache
2700 # variable VAR accordingly.
2701 ac_fn_c_check_type
()
2703 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2705 $as_echo_n "checking for $2... " >&6; }
2706 if eval \
${$3+:} false
; then :
2707 $as_echo_n "(cached) " >&6
2710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2711 /* end confdefs.h. */
2722 if ac_fn_c_try_compile
"$LINENO"; then :
2723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2724 /* end confdefs.h. */
2735 if ac_fn_c_try_compile
"$LINENO"; then :
2740 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2742 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2746 $as_echo "$ac_res" >&6; }
2747 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2749 } # ac_fn_c_check_type
2750 cat >config.log
<<_ACEOF
2751 This file contains any messages produced by compilers while
2752 running configure, to aid debugging if configure makes a mistake.
2754 It was created by Wine $as_me 1.7.14, which was
2755 generated by GNU Autoconf 2.69. Invocation command line was
2767 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2768 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2769 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2770 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2771 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2773 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2774 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2776 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2777 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2778 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2779 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2780 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2781 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2782 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2786 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2790 test -z "$as_dir" && as_dir
=.
2791 $as_echo "PATH: $as_dir"
2807 # Keep a trace of the command line.
2808 # Strip out --no-create and --no-recursion so they do not pile up.
2809 # Strip out --silent because we don't want to record it for future runs.
2810 # Also quote any args containing shell meta-characters.
2811 # Make two passes to allow for proper duplicate-argument suppression.
2815 ac_must_keep_next
=false
2821 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2822 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2823 |
-silent |
--silent |
--silen |
--sile |
--sil)
2826 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2829 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2831 as_fn_append ac_configure_args1
" '$ac_arg'"
2832 if test $ac_must_keep_next = true
; then
2833 ac_must_keep_next
=false
# Got value, back to normal.
2836 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2837 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2838 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2839 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2840 case "$ac_configure_args0 " in
2841 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2844 -* ) ac_must_keep_next
=true
;;
2847 as_fn_append ac_configure_args
" '$ac_arg'"
2852 { ac_configure_args0
=; unset ac_configure_args0
;}
2853 { ac_configure_args1
=; unset ac_configure_args1
;}
2855 # When interrupted or exit'd, cleanup temporary files, and complete
2856 # config.log. We remove comments because anyway the quotes in there
2857 # would cause problems or look ugly.
2858 # WARNING: Use '\'' to represent an apostrophe within the trap.
2859 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2860 trap 'exit_status=$?
2861 # Save into config.log some information that might help in debugging.
2865 $as_echo "## ---------------- ##
2866 ## Cache variables. ##
2867 ## ---------------- ##"
2869 # The following way of writing the cache mishandles newlines in values,
2871 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2872 eval ac_val=\$$ac_var
2876 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2877 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2880 _ | IFS | as_nl) ;; #(
2881 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2882 *) { eval $ac_var=; unset $ac_var;} ;;
2887 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2888 *${as_nl}ac_space=\ *)
2890 "s/'\''/'\''\\\\'\'''\''/g;
2891 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2894 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2901 $as_echo "## ----------------- ##
2902 ## Output variables. ##
2903 ## ----------------- ##"
2905 for ac_var in $ac_subst_vars
2907 eval ac_val=\$$ac_var
2909 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2911 $as_echo "$ac_var='\''$ac_val'\''"
2915 if test -n "$ac_subst_files"; then
2916 $as_echo "## ------------------- ##
2917 ## File substitutions. ##
2918 ## ------------------- ##"
2920 for ac_var
in $ac_subst_files
2922 eval ac_val
=\$
$ac_var
2924 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2926 $as_echo "$ac_var='\''$ac_val'\''"
2931 if test -s confdefs.h; then
2932 $as_echo "## ----------- ##
2939 test "$ac_signal" != 0 &&
2940 $as_echo "$as_me: caught signal $ac_signal"
2941 $as_echo "$as_me: exit $exit_status"
2943 rm -f core *.core core.conftest.* &&
2944 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2947 for ac_signal
in 1 2 13 15; do
2948 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2952 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2953 rm -f -r conftest
* confdefs.h
2955 $as_echo "/* confdefs.h */" > confdefs.h
2957 # Predefined preprocessor variables.
2959 cat >>confdefs.h
<<_ACEOF
2960 #define PACKAGE_NAME "$PACKAGE_NAME"
2963 cat >>confdefs.h
<<_ACEOF
2964 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2967 cat >>confdefs.h
<<_ACEOF
2968 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2971 cat >>confdefs.h
<<_ACEOF
2972 #define PACKAGE_STRING "$PACKAGE_STRING"
2975 cat >>confdefs.h
<<_ACEOF
2976 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2979 cat >>confdefs.h
<<_ACEOF
2980 #define PACKAGE_URL "$PACKAGE_URL"
2984 # Let the site file select an alternate cache file if it wants to.
2985 # Prefer an explicitly selected file to automatically selected ones.
2988 if test -n "$CONFIG_SITE"; then
2989 # We do not want a PATH search for config.site.
2990 case $CONFIG_SITE in #((
2991 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2992 */*) ac_site_file1
=$CONFIG_SITE;;
2993 *) ac_site_file1
=.
/$CONFIG_SITE;;
2995 elif test "x$prefix" != xNONE
; then
2996 ac_site_file1
=$prefix/share
/config.site
2997 ac_site_file2
=$prefix/etc
/config.site
2999 ac_site_file1
=$ac_default_prefix/share
/config.site
3000 ac_site_file2
=$ac_default_prefix/etc
/config.site
3002 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3004 test "x$ac_site_file" = xNONE
&& continue
3005 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3007 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3008 sed 's/^/| /' "$ac_site_file" >&5
3010 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3011 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3012 as_fn_error $?
"failed to load site script $ac_site_file
3013 See \`config.log' for more details" "$LINENO" 5; }
3017 if test -r "$cache_file"; then
3018 # Some versions of bash will fail to source /dev/null (special files
3019 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3020 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3022 $as_echo "$as_me: loading cache $cache_file" >&6;}
3024 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3025 *) .
"./$cache_file";;
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3030 $as_echo "$as_me: creating cache $cache_file" >&6;}
3034 # Check that the precious variables saved in the cache have kept the same
3036 ac_cache_corrupted
=false
3037 for ac_var
in $ac_precious_vars; do
3038 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3039 eval ac_new_set
=\
$ac_env_${ac_var}_set
3040 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3041 eval ac_new_val
=\
$ac_env_${ac_var}_value
3042 case $ac_old_set,$ac_new_set in
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3045 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3046 ac_cache_corrupted
=: ;;
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3049 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3050 ac_cache_corrupted
=: ;;
3053 if test "x$ac_old_val" != "x$ac_new_val"; then
3054 # differences in whitespace do not lead to failure.
3055 ac_old_val_w
=`echo x $ac_old_val`
3056 ac_new_val_w
=`echo x $ac_new_val`
3057 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3059 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3060 ac_cache_corrupted
=:
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3063 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3064 eval $ac_var=\
$ac_old_val
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3067 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3069 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3072 # Pass precious variables to config.status.
3073 if test "$ac_new_set" = set; then
3075 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3076 *) ac_arg
=$ac_var=$ac_new_val ;;
3078 case " $ac_configure_args " in
3079 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3080 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3084 if $ac_cache_corrupted; then
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3086 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3088 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3089 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3091 ## -------------------- ##
3092 ## Main body of script. ##
3093 ## -------------------- ##
3096 ac_cpp
='$CPP $CPPFLAGS'
3097 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3098 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3099 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3103 ac_config_headers
="$ac_config_headers include/config.h"
3106 for ac_dir
in tools
"$srcdir"/tools
; do
3107 if test -f "$ac_dir/install-sh"; then
3109 ac_install_sh
="$ac_aux_dir/install-sh -c"
3111 elif test -f "$ac_dir/install.sh"; then
3113 ac_install_sh
="$ac_aux_dir/install.sh -c"
3115 elif test -f "$ac_dir/shtool"; then
3117 ac_install_sh
="$ac_aux_dir/shtool install -c"
3121 if test -z "$ac_aux_dir"; then
3122 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3125 # These three variables are undocumented and unsupported,
3126 # and are intended to be withdrawn in a future Autoconf release.
3127 # They can cause serious problems if a builder's source tree is in a directory
3128 # whose full name contains unusual characters.
3129 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3130 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3131 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3135 libwine_version
="1.0"
3139 # Check whether --enable-win16 was given.
3140 if test "${enable_win16+set}" = set; then :
3141 enableval
=$enable_win16;
3144 # Check whether --enable-win64 was given.
3145 if test "${enable_win64+set}" = set; then :
3146 enableval
=$enable_win64;
3149 # Check whether --enable-tests was given.
3150 if test "${enable_tests+set}" = set; then :
3151 enableval
=$enable_tests;
3154 # Check whether --enable-maintainer-mode was given.
3155 if test "${enable_maintainer_mode+set}" = set; then :
3156 enableval
=$enable_maintainer_mode;
3161 # Check whether --with-alsa was given.
3162 if test "${with_alsa+set}" = set; then :
3163 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3167 # Check whether --with-capi was given.
3168 if test "${with_capi+set}" = set; then :
3173 # Check whether --with-cms was given.
3174 if test "${with_cms+set}" = set; then :
3179 # Check whether --with-coreaudio was given.
3180 if test "${with_coreaudio+set}" = set; then :
3181 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3185 # Check whether --with-cups was given.
3186 if test "${with_cups+set}" = set; then :
3191 # Check whether --with-curses was given.
3192 if test "${with_curses+set}" = set; then :
3193 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3197 # Check whether --with-dbus was given.
3198 if test "${with_dbus+set}" = set; then :
3203 # Check whether --with-fontconfig was given.
3204 if test "${with_fontconfig+set}" = set; then :
3205 withval
=$with_fontconfig;
3209 # Check whether --with-freetype was given.
3210 if test "${with_freetype+set}" = set; then :
3211 withval
=$with_freetype;
3215 # Check whether --with-gettext was given.
3216 if test "${with_gettext+set}" = set; then :
3217 withval
=$with_gettext;
3221 # Check whether --with-gettextpo was given.
3222 if test "${with_gettextpo+set}" = set; then :
3223 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3227 # Check whether --with-gphoto was given.
3228 if test "${with_gphoto+set}" = set; then :
3229 withval
=$with_gphoto;
3233 # Check whether --with-glu was given.
3234 if test "${with_glu+set}" = set; then :
3239 # Check whether --with-gnutls was given.
3240 if test "${with_gnutls+set}" = set; then :
3241 withval
=$with_gnutls;
3245 # Check whether --with-gsm was given.
3246 if test "${with_gsm+set}" = set; then :
3247 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3251 # Check whether --with-gstreamer was given.
3252 if test "${with_gstreamer+set}" = set; then :
3253 withval
=$with_gstreamer;
3257 # Check whether --with-hal was given.
3258 if test "${with_hal+set}" = set; then :
3263 # Check whether --with-jpeg was given.
3264 if test "${with_jpeg+set}" = set; then :
3269 # Check whether --with-ldap was given.
3270 if test "${with_ldap+set}" = set; then :
3271 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3275 # Check whether --with-mpg123 was given.
3276 if test "${with_mpg123+set}" = set; then :
3277 withval
=$with_mpg123;
3281 # Check whether --with-netapi was given.
3282 if test "${with_netapi+set}" = set; then :
3283 withval
=$with_netapi;
3287 # Check whether --with-openal was given.
3288 if test "${with_openal+set}" = set; then :
3289 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3293 # Check whether --with-opencl was given.
3294 if test "${with_opencl+set}" = set; then :
3295 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3299 # Check whether --with-opengl was given.
3300 if test "${with_opengl+set}" = set; then :
3301 withval
=$with_opengl;
3305 # Check whether --with-osmesa was given.
3306 if test "${with_osmesa+set}" = set; then :
3307 withval
=$with_osmesa;
3311 # Check whether --with-oss was given.
3312 if test "${with_oss+set}" = set; then :
3317 # Check whether --with-png was given.
3318 if test "${with_png+set}" = set; then :
3323 # Check whether --with-pthread was given.
3324 if test "${with_pthread+set}" = set; then :
3325 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3329 # Check whether --with-sane was given.
3330 if test "${with_sane+set}" = set; then :
3335 # Check whether --with-tiff was given.
3336 if test "${with_tiff+set}" = set; then :
3341 # Check whether --with-v4l was given.
3342 if test "${with_v4l+set}" = set; then :
3347 # Check whether --with-xcomposite was given.
3348 if test "${with_xcomposite+set}" = set; then :
3349 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3353 # Check whether --with-xcursor was given.
3354 if test "${with_xcursor+set}" = set; then :
3355 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3359 # Check whether --with-xinerama was given.
3360 if test "${with_xinerama+set}" = set; then :
3361 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3365 # Check whether --with-xinput was given.
3366 if test "${with_xinput+set}" = set; then :
3367 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3371 # Check whether --with-xinput2 was given.
3372 if test "${with_xinput2+set}" = set; then :
3373 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3377 # Check whether --with-xml was given.
3378 if test "${with_xml+set}" = set; then :
3383 # Check whether --with-xrandr was given.
3384 if test "${with_xrandr+set}" = set; then :
3385 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3389 # Check whether --with-xrender was given.
3390 if test "${with_xrender+set}" = set; then :
3391 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3395 # Check whether --with-xshape was given.
3396 if test "${with_xshape+set}" = set; then :
3397 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3401 # Check whether --with-xshm was given.
3402 if test "${with_xshm+set}" = set; then :
3403 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3407 # Check whether --with-xslt was given.
3408 if test "${with_xslt+set}" = set; then :
3413 # Check whether --with-xxf86vm was given.
3414 if test "${with_xxf86vm+set}" = set; then :
3415 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
3419 # Check whether --with-zlib was given.
3420 if test "${with_zlib+set}" = set; then :
3421 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3426 # Check whether --with-wine-tools was given.
3427 if test "${with_wine_tools+set}" = set; then :
3428 withval
=$with_wine_tools;
3432 # Check whether --with-wine64 was given.
3433 if test "${with_wine64+set}" = set; then :
3434 withval
=$with_wine64;
3438 # Make sure we can run config.sub.
3439 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3440 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3443 $as_echo_n "checking build system type... " >&6; }
3444 if ${ac_cv_build+:} false
; then :
3445 $as_echo_n "(cached) " >&6
3447 ac_build_alias
=$build_alias
3448 test "x$ac_build_alias" = x
&&
3449 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3450 test "x$ac_build_alias" = x
&&
3451 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3452 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3453 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3457 $as_echo "$ac_cv_build" >&6; }
3458 case $ac_cv_build in
3460 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3463 ac_save_IFS
=$IFS; IFS
='-'
3469 # Remember, the first character of IFS is used to create $*,
3470 # except with old shells:
3473 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3477 $as_echo_n "checking host system type... " >&6; }
3478 if ${ac_cv_host+:} false
; then :
3479 $as_echo_n "(cached) " >&6
3481 if test "x$host_alias" = x
; then
3482 ac_cv_host
=$ac_cv_build
3484 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3485 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3490 $as_echo "$ac_cv_host" >&6; }
3493 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3496 ac_save_IFS
=$IFS; IFS
='-'
3502 # Remember, the first character of IFS is used to create $*,
3503 # except with old shells:
3506 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3512 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3513 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3514 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3520 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3522 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3523 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3524 $as_echo_n "(cached) " >&6
3526 cat >conftest.
make <<\_ACEOF
3529 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3531 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3532 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3534 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3536 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3540 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3542 $as_echo "yes" >&6; }
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3546 $as_echo "no" >&6; }
3547 SET_MAKE
="MAKE=${MAKE-make}"
3551 ac_cpp
='$CPP $CPPFLAGS'
3552 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3553 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3554 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3555 if test -n "$ac_tool_prefix"; then
3556 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3557 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3559 $as_echo_n "checking for $ac_word... " >&6; }
3560 if ${ac_cv_prog_CC+:} false
; then :
3561 $as_echo_n "(cached) " >&6
3563 if test -n "$CC"; then
3564 ac_cv_prog_CC
="$CC" # Let the user override the test.
3566 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3570 test -z "$as_dir" && as_dir
=.
3571 for ac_exec_ext
in '' $ac_executable_extensions; do
3572 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3573 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3584 if test -n "$CC"; then
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3586 $as_echo "$CC" >&6; }
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3589 $as_echo "no" >&6; }
3594 if test -z "$ac_cv_prog_CC"; then
3596 # Extract the first word of "gcc", so it can be a program name with args.
3597 set dummy gcc
; ac_word
=$2
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3599 $as_echo_n "checking for $ac_word... " >&6; }
3600 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3601 $as_echo_n "(cached) " >&6
3603 if test -n "$ac_ct_CC"; then
3604 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3610 test -z "$as_dir" && as_dir
=.
3611 for ac_exec_ext
in '' $ac_executable_extensions; do
3612 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3613 ac_cv_prog_ac_ct_CC
="gcc"
3614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3623 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3624 if test -n "$ac_ct_CC"; then
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3626 $as_echo "$ac_ct_CC" >&6; }
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3629 $as_echo "no" >&6; }
3632 if test "x$ac_ct_CC" = x
; then
3635 case $cross_compiling:$ac_tool_warned in
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3638 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3639 ac_tool_warned
=yes ;;
3647 if test -z "$CC"; then
3648 if test -n "$ac_tool_prefix"; then
3649 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3650 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3652 $as_echo_n "checking for $ac_word... " >&6; }
3653 if ${ac_cv_prog_CC+:} false
; then :
3654 $as_echo_n "(cached) " >&6
3656 if test -n "$CC"; then
3657 ac_cv_prog_CC
="$CC" # Let the user override the test.
3659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3663 test -z "$as_dir" && as_dir
=.
3664 for ac_exec_ext
in '' $ac_executable_extensions; do
3665 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3666 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3677 if test -n "$CC"; then
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3679 $as_echo "$CC" >&6; }
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3682 $as_echo "no" >&6; }
3688 if test -z "$CC"; then
3689 # Extract the first word of "cc", so it can be a program name with args.
3690 set dummy cc
; ac_word
=$2
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3692 $as_echo_n "checking for $ac_word... " >&6; }
3693 if ${ac_cv_prog_CC+:} false
; then :
3694 $as_echo_n "(cached) " >&6
3696 if test -n "$CC"; then
3697 ac_cv_prog_CC
="$CC" # Let the user override the test.
3700 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3704 test -z "$as_dir" && as_dir
=.
3705 for ac_exec_ext
in '' $ac_executable_extensions; do
3706 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3707 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3708 ac_prog_rejected
=yes
3712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3719 if test $ac_prog_rejected = yes; then
3720 # We found a bogon in the path, so make sure we never use it.
3721 set dummy
$ac_cv_prog_CC
3723 if test $# != 0; then
3724 # We chose a different compiler from the bogus one.
3725 # However, it has the same basename, so the bogon will be chosen
3726 # first if we set CC to just the basename; use the full file name.
3728 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3734 if test -n "$CC"; then
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3736 $as_echo "$CC" >&6; }
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3739 $as_echo "no" >&6; }
3744 if test -z "$CC"; then
3745 if test -n "$ac_tool_prefix"; then
3746 for ac_prog
in cl.exe
3748 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3749 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3751 $as_echo_n "checking for $ac_word... " >&6; }
3752 if ${ac_cv_prog_CC+:} false
; then :
3753 $as_echo_n "(cached) " >&6
3755 if test -n "$CC"; then
3756 ac_cv_prog_CC
="$CC" # Let the user override the test.
3758 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3762 test -z "$as_dir" && as_dir
=.
3763 for ac_exec_ext
in '' $ac_executable_extensions; do
3764 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3765 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3776 if test -n "$CC"; then
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3778 $as_echo "$CC" >&6; }
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3781 $as_echo "no" >&6; }
3785 test -n "$CC" && break
3788 if test -z "$CC"; then
3790 for ac_prog
in cl.exe
3792 # Extract the first word of "$ac_prog", so it can be a program name with args.
3793 set dummy
$ac_prog; ac_word
=$2
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3795 $as_echo_n "checking for $ac_word... " >&6; }
3796 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3797 $as_echo_n "(cached) " >&6
3799 if test -n "$ac_ct_CC"; then
3800 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3802 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3806 test -z "$as_dir" && as_dir
=.
3807 for ac_exec_ext
in '' $ac_executable_extensions; do
3808 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3809 ac_cv_prog_ac_ct_CC
="$ac_prog"
3810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3819 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3820 if test -n "$ac_ct_CC"; then
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3822 $as_echo "$ac_ct_CC" >&6; }
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3825 $as_echo "no" >&6; }
3829 test -n "$ac_ct_CC" && break
3832 if test "x$ac_ct_CC" = x
; then
3835 case $cross_compiling:$ac_tool_warned in
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3838 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3839 ac_tool_warned
=yes ;;
3848 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3849 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3850 as_fn_error $?
"no acceptable C compiler found in \$PATH
3851 See \`config.log' for more details" "$LINENO" 5; }
3853 # Provide some information about the compiler.
3854 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3857 for ac_option
in --version -v -V -qversion; do
3858 { { ac_try
="$ac_compiler $ac_option >&5"
3860 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3861 *) ac_try_echo=$ac_try;;
3863 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3864 $as_echo "$ac_try_echo"; } >&5
3865 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3867 if test -s conftest.err; then
3869 ... rest of stderr output deleted ...
3870 10q' conftest.err >conftest.er1
3871 cat conftest.er1 >&5
3873 rm -f conftest.er1 conftest.err
3874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3875 test $ac_status = 0; }
3878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3879 /* end confdefs.h. */
3889 ac_clean_files_save=$ac_clean_files
3890 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3891 # Try to create an executable without -o first, disregard a.out.
3892 # It will help us diagnose broken compilers, and finding out an intuition
3894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3895 $as_echo_n "checking whether the C compiler works... " >&6; }
3896 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3898 # The possible output files:
3899 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3902 for ac_file in $ac_files
3905 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3906 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3911 if { { ac_try="$ac_link_default"
3913 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3914 *) ac_try_echo
=$ac_try;;
3916 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3917 $as_echo "$ac_try_echo"; } >&5
3918 (eval "$ac_link_default") 2>&5
3920 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3921 test $ac_status = 0; }; then :
3922 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3923 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3924 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3925 # so that the user can short-circuit this test for compilers unknown to
3927 for ac_file
in $ac_files ''
3929 test -f "$ac_file" ||
continue
3931 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3934 # We found the default executable, but exeext='' is most
3938 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3940 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3942 # We set ac_cv_exeext here because the later test for it is not
3943 # safe: cross compilers may not add the suffix if given an `-o'
3944 # argument, so we may need to know it at that point already.
3945 # Even if this section looks crufty: it has the advantage of
3952 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3957 if test -z "$ac_file"; then :
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3959 $as_echo "no" >&6; }
3960 $as_echo "$as_me: failed program was:" >&5
3961 sed 's/^/| /' conftest.
$ac_ext >&5
3963 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3964 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3965 as_fn_error
77 "C compiler cannot create executables
3966 See \`config.log' for more details" "$LINENO" 5; }
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3969 $as_echo "yes" >&6; }
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3972 $as_echo_n "checking for C compiler default output file name... " >&6; }
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3974 $as_echo "$ac_file" >&6; }
3975 ac_exeext
=$ac_cv_exeext
3977 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3978 ac_clean_files
=$ac_clean_files_save
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3980 $as_echo_n "checking for suffix of executables... " >&6; }
3981 if { { ac_try
="$ac_link"
3983 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3984 *) ac_try_echo=$ac_try;;
3986 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3987 $as_echo "$ac_try_echo"; } >&5
3988 (eval "$ac_link") 2>&5
3990 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3991 test $ac_status = 0; }; then :
3992 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3993 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3994 # work properly (i.e., refer to `conftest.exe'), while it won't with
3996 for ac_file
in conftest.exe conftest conftest.
*; do
3997 test -f "$ac_file" ||
continue
3999 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4000 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4006 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4007 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4008 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4009 See \`config.log' for more details" "$LINENO" 5; }
4011 rm -f conftest conftest
$ac_cv_exeext
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4013 $as_echo "$ac_cv_exeext" >&6; }
4015 rm -f conftest.
$ac_ext
4016 EXEEXT
=$ac_cv_exeext
4018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4019 /* end confdefs.h. */
4024 FILE *f = fopen ("conftest.out", "w");
4025 return ferror (f) || fclose (f) != 0;
4031 ac_clean_files
="$ac_clean_files conftest.out"
4032 # Check that the compiler produces executables we can run. If not, either
4033 # the compiler is broken, or we cross compile.
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4035 $as_echo_n "checking whether we are cross compiling... " >&6; }
4036 if test "$cross_compiling" != yes; then
4037 { { ac_try
="$ac_link"
4039 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4040 *) ac_try_echo=$ac_try;;
4042 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4043 $as_echo "$ac_try_echo"; } >&5
4044 (eval "$ac_link") 2>&5
4046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4047 test $ac_status = 0; }
4048 if { ac_try='./conftest$ac_cv_exeext'
4049 { { case "(($ac_try" in
4050 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4051 *) ac_try_echo
=$ac_try;;
4053 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4054 $as_echo "$ac_try_echo"; } >&5
4055 (eval "$ac_try") 2>&5
4057 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4058 test $ac_status = 0; }; }; then
4061 if test "$cross_compiling" = maybe
; then
4064 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4065 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4066 as_fn_error $?
"cannot run C compiled programs.
4067 If you meant to cross compile, use \`--host'.
4068 See \`config.log' for more details" "$LINENO" 5; }
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4073 $as_echo "$cross_compiling" >&6; }
4075 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4076 ac_clean_files
=$ac_clean_files_save
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4078 $as_echo_n "checking for suffix of object files... " >&6; }
4079 if ${ac_cv_objext+:} false
; then :
4080 $as_echo_n "(cached) " >&6
4082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4083 /* end confdefs.h. */
4093 rm -f conftest.o conftest.obj
4094 if { { ac_try
="$ac_compile"
4096 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4097 *) ac_try_echo=$ac_try;;
4099 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4100 $as_echo "$ac_try_echo"; } >&5
4101 (eval "$ac_compile") 2>&5
4103 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4104 test $ac_status = 0; }; then :
4105 for ac_file in conftest.o conftest.obj conftest.*; do
4106 test -f "$ac_file" || continue;
4108 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4109 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4114 $as_echo "$as_me: failed program was:" >&5
4115 sed 's/^/| /' conftest.$ac_ext >&5
4117 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4118 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4119 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4120 See \
`config.log' for more details" "$LINENO" 5; }
4122 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4125 $as_echo "$ac_cv_objext" >&6; }
4126 OBJEXT=$ac_cv_objext
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4129 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4130 if ${ac_cv_c_compiler_gnu+:} false; then :
4131 $as_echo_n "(cached) " >&6
4133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4134 /* end confdefs.h. */
4147 if ac_fn_c_try_compile "$LINENO"; then :
4152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4153 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4157 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4158 if test $ac_compiler_gnu = yes; then
4163 ac_test_CFLAGS=${CFLAGS+set}
4164 ac_save_CFLAGS=$CFLAGS
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4166 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4167 if ${ac_cv_prog_cc_g+:} false; then :
4168 $as_echo_n "(cached) " >&6
4170 ac_save_c_werror_flag=$ac_c_werror_flag
4171 ac_c_werror_flag=yes
4174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4175 /* end confdefs.h. */
4185 if ac_fn_c_try_compile "$LINENO"; then :
4189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4190 /* end confdefs.h. */
4200 if ac_fn_c_try_compile "$LINENO"; then :
4203 ac_c_werror_flag=$ac_save_c_werror_flag
4205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4206 /* end confdefs.h. */
4216 if ac_fn_c_try_compile "$LINENO"; then :
4219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4224 ac_c_werror_flag=$ac_save_c_werror_flag
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4227 $as_echo "$ac_cv_prog_cc_g" >&6; }
4228 if test "$ac_test_CFLAGS" = set; then
4229 CFLAGS=$ac_save_CFLAGS
4230 elif test $ac_cv_prog_cc_g = yes; then
4231 if test "$GCC" = yes; then
4237 if test "$GCC" = yes; then
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4244 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4245 if ${ac_cv_prog_cc_c89+:} false; then :
4246 $as_echo_n "(cached) " >&6
4248 ac_cv_prog_cc_c89=no
4250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4251 /* end confdefs.h. */
4255 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4256 struct buf { int x; };
4257 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4258 static char *e (p, i)
4264 static char *f (char * (*g) (char **, int), char **p, ...)
4269 s = g (p, va_arg (v,int));
4274 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4275 function prototypes and stuff, but not '\xHH' hex character constants.
4276 These don't provoke an error unfortunately, instead are silently treated
4277 as 'x'. The following induces an error, until -std is added to get
4278 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4279 array size at least. It's necessary to write '\x00'==0 to get something
4280 that's true only with -std. */
4281 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4283 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4284 inside strings and character constants. */
4286 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4288 int test (int i, double x);
4289 struct s1 {int (*f) (int a);};
4290 struct s2 {int (*f) (double a);};
4291 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4297 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4302 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4303 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4305 CC="$ac_save_CC $ac_arg"
4306 if ac_fn_c_try_compile "$LINENO"; then :
4307 ac_cv_prog_cc_c89=$ac_arg
4309 rm -f core conftest.err conftest.$ac_objext
4310 test "x$ac_cv_prog_cc_c89" != "xno" && break
4312 rm -f conftest.$ac_ext
4317 case "x$ac_cv_prog_cc_c89" in
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4320 $as_echo "none needed" >&6; } ;;
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4323 $as_echo "unsupported" >&6; } ;;
4325 CC="$CC $ac_cv_prog_cc_c89"
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4327 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4329 if test "x$ac_cv_prog_cc_c89" != xno; then :
4334 ac_cpp='$CPP $CPPFLAGS'
4335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4340 ac_cpp='$CXXCPP $CPPFLAGS'
4341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4344 if test -z "$CXX"; then
4345 if test -n "$CCC"; then
4348 if test -n "$ac_tool_prefix"; then
4349 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4351 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4352 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4354 $as_echo_n "checking for $ac_word... " >&6; }
4355 if ${ac_cv_prog_CXX+:} false; then :
4356 $as_echo_n "(cached) " >&6
4358 if test -n "$CXX"; then
4359 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4365 test -z "$as_dir" && as_dir=.
4366 for ac_exec_ext in '' $ac_executable_extensions; do
4367 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4368 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4379 if test -n "$CXX"; then
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4381 $as_echo "$CXX" >&6; }
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4384 $as_echo "no" >&6; }
4388 test -n "$CXX" && break
4391 if test -z "$CXX"; then
4393 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4395 # Extract the first word of "$ac_prog", so it can be a program name with args.
4396 set dummy $ac_prog; ac_word=$2
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4398 $as_echo_n "checking for $ac_word... " >&6; }
4399 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4400 $as_echo_n "(cached) " >&6
4402 if test -n "$ac_ct_CXX"; then
4403 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4409 test -z "$as_dir" && as_dir=.
4410 for ac_exec_ext in '' $ac_executable_extensions; do
4411 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4412 ac_cv_prog_ac_ct_CXX="$ac_prog"
4413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4422 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4423 if test -n "$ac_ct_CXX"; then
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4425 $as_echo "$ac_ct_CXX" >&6; }
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4428 $as_echo "no" >&6; }
4432 test -n "$ac_ct_CXX" && break
4435 if test "x$ac_ct_CXX" = x; then
4438 case $cross_compiling:$ac_tool_warned in
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4441 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4442 ac_tool_warned=yes ;;
4450 # Provide some information about the compiler.
4451 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4454 for ac_option in --version -v -V -qversion; do
4455 { { ac_try="$ac_compiler $ac_option >&5"
4457 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4458 *) ac_try_echo
=$ac_try;;
4460 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4461 $as_echo "$ac_try_echo"; } >&5
4462 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4464 if test -s conftest.err
; then
4466 ... rest of stderr output deleted ...
4467 10q' conftest.err
>conftest.er1
4468 cat conftest.er1
>&5
4470 rm -f conftest.er1 conftest.err
4471 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4472 test $ac_status = 0; }
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4476 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4477 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4478 $as_echo_n "(cached) " >&6
4480 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4481 /* end confdefs.h. */
4494 if ac_fn_cxx_try_compile
"$LINENO"; then :
4499 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4500 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4504 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4505 if test $ac_compiler_gnu = yes; then
4510 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4511 ac_save_CXXFLAGS
=$CXXFLAGS
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4513 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4514 if ${ac_cv_prog_cxx_g+:} false
; then :
4515 $as_echo_n "(cached) " >&6
4517 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4518 ac_cxx_werror_flag
=yes
4521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4522 /* end confdefs.h. */
4532 if ac_fn_cxx_try_compile
"$LINENO"; then :
4533 ac_cv_prog_cxx_g
=yes
4536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4537 /* end confdefs.h. */
4547 if ac_fn_cxx_try_compile
"$LINENO"; then :
4550 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4553 /* end confdefs.h. */
4563 if ac_fn_cxx_try_compile
"$LINENO"; then :
4564 ac_cv_prog_cxx_g
=yes
4566 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4568 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4570 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4571 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4574 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4575 if test "$ac_test_CXXFLAGS" = set; then
4576 CXXFLAGS
=$ac_save_CXXFLAGS
4577 elif test $ac_cv_prog_cxx_g = yes; then
4578 if test "$GXX" = yes; then
4584 if test "$GXX" = yes; then
4591 ac_cpp
='$CPP $CPPFLAGS'
4592 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4593 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4594 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4596 if test -n "$ac_tool_prefix"; then
4597 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4598 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4600 $as_echo_n "checking for $ac_word... " >&6; }
4601 if ${ac_cv_prog_CPPBIN+:} false
; then :
4602 $as_echo_n "(cached) " >&6
4604 if test -n "$CPPBIN"; then
4605 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4607 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4611 test -z "$as_dir" && as_dir
=.
4612 for ac_exec_ext
in '' $ac_executable_extensions; do
4613 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4614 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4624 CPPBIN
=$ac_cv_prog_CPPBIN
4625 if test -n "$CPPBIN"; then
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4627 $as_echo "$CPPBIN" >&6; }
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4630 $as_echo "no" >&6; }
4635 if test -z "$ac_cv_prog_CPPBIN"; then
4636 ac_ct_CPPBIN
=$CPPBIN
4637 # Extract the first word of "cpp", so it can be a program name with args.
4638 set dummy cpp
; ac_word
=$2
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4640 $as_echo_n "checking for $ac_word... " >&6; }
4641 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4642 $as_echo_n "(cached) " >&6
4644 if test -n "$ac_ct_CPPBIN"; then
4645 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4651 test -z "$as_dir" && as_dir
=.
4652 for ac_exec_ext
in '' $ac_executable_extensions; do
4653 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4654 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4664 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4665 if test -n "$ac_ct_CPPBIN"; then
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4667 $as_echo "$ac_ct_CPPBIN" >&6; }
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4670 $as_echo "no" >&6; }
4673 if test "x$ac_ct_CPPBIN" = x
; then
4676 case $cross_compiling:$ac_tool_warned in
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4679 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4680 ac_tool_warned
=yes ;;
4682 CPPBIN
=$ac_ct_CPPBIN
4685 CPPBIN
="$ac_cv_prog_CPPBIN"
4689 cat >>confdefs.h
<<_ACEOF
4690 #define EXEEXT "$ac_exeext"
4696 if test "x$enable_win64" = "xyes"
4701 notice_platform
="64-bit "
4708 notice_platform
="32-bit "
4711 enable_win16
=${enable_win16:-yes}
4713 with_fontconfig
=${with_fontconfig:-no}
4716 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4721 $as_echo_n "checking whether $CC works... " >&6; }
4723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4724 /* end confdefs.h. */
4734 if ac_fn_c_try_link
"$LINENO"; then :
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4736 $as_echo "yes" >&6; }
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4739 $as_echo "no" >&6; }
4740 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4742 rm -f core conftest.err conftest.
$ac_objext \
4743 conftest
$ac_exeext conftest.
$ac_ext
4745 notice_platform
="32-bit "
4748 enable_win16
=${enable_win16:-yes}
4750 if test "x${GCC}" = "xyes"
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4753 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4755 /* end confdefs.h. */
4760 void func(__builtin_ms_va_list *args);
4765 if ac_fn_c_try_compile
"$LINENO"; then :
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4767 $as_echo "yes" >&6; }
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4770 $as_echo "no" >&6; }
4771 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4773 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4781 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4783 /* end confdefs.h. */
4784 int ac_test(int i) { return i; }
4788 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4793 if ac_fn_c_try_link
"$LINENO"; then :
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4795 $as_echo "yes" >&6; }
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4798 $as_echo "no" >&6; }
4799 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4801 rm -f core conftest.err conftest.
$ac_objext \
4802 conftest
$ac_exeext conftest.
$ac_ext
4803 CFLAGS
="$CFLAGS -marm"
4807 *-mingw32*|
*-cygwin*)
4808 enable_win16
=${enable_win16:-no}
4809 CFLAGS
="$CFLAGS -D_WIN32"
4812 enable_win16
=${enable_win16:-yes}
4816 enable_win16
=${enable_win16:-no}
4817 enable_win64
=${enable_win64:-no}
4819 enable_winetest
=${enable_winetest:-$enable_tests}
4821 if test -n "$with_wine64"
4823 if test "x$enable_win64" = "xyes"
4825 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4826 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4828 enable_fonts
=${enable_fonts:-no}
4829 enable_server
=${enable_server:-no}
4830 elif test "x$enable_win64" = "xyes"
4832 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4836 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4837 if ${wine_cv_toolsdir+:} false
; then :
4838 $as_echo_n "(cached) " >&6
4840 wine_cv_toolsdir
="$with_wine_tools"
4841 if test -z "$with_wine_tools"; then
4842 if test "$cross_compiling" = "yes"; then
4843 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4844 elif test -n "$with_wine64"; then
4845 wine_cv_toolsdir
="$with_wine64"
4848 if test -z "$wine_cv_toolsdir"; then
4849 wine_cv_toolsdir
="\$(top_builddir)"
4850 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4851 case "$wine_cv_toolsdir" in
4853 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4855 enable_tools
=${enable_tools:-no}
4857 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4861 $as_echo "$wine_cv_toolsdir" >&6; }
4862 TOOLSDIR
=$wine_cv_toolsdir
4864 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4866 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4872 # Extract the first word of "$ac_prog", so it can be a program name with args.
4873 set dummy
$ac_prog; ac_word
=$2
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4875 $as_echo_n "checking for $ac_word... " >&6; }
4876 if ${ac_cv_prog_FLEX+:} false
; then :
4877 $as_echo_n "(cached) " >&6
4879 if test -n "$FLEX"; then
4880 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4886 test -z "$as_dir" && as_dir
=.
4887 for ac_exec_ext
in '' $ac_executable_extensions; do
4888 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4889 ac_cv_prog_FLEX
="$ac_prog"
4890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4899 FLEX
=$ac_cv_prog_FLEX
4900 if test -n "$FLEX"; then
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4902 $as_echo "$FLEX" >&6; }
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4905 $as_echo "no" >&6; }
4909 test -n "$FLEX" && break
4911 test -n "$FLEX" || FLEX
="none"
4913 if test "$FLEX" = "none"
4915 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4918 $as_echo_n "checking whether flex is recent enough... " >&6; }
4919 cat >conftest.l
<<EOF
4921 #include "prediluvian.h"
4925 if $FLEX -t conftest.l
>/dev
/null
2>&5
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4928 $as_echo "yes" >&6; }
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4931 $as_echo "no" >&6; }
4932 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4935 for ac_prog
in bison
4937 # Extract the first word of "$ac_prog", so it can be a program name with args.
4938 set dummy
$ac_prog; ac_word
=$2
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4940 $as_echo_n "checking for $ac_word... " >&6; }
4941 if ${ac_cv_prog_BISON+:} false
; then :
4942 $as_echo_n "(cached) " >&6
4944 if test -n "$BISON"; then
4945 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4947 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4951 test -z "$as_dir" && as_dir
=.
4952 for ac_exec_ext
in '' $ac_executable_extensions; do
4953 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4954 ac_cv_prog_BISON
="$ac_prog"
4955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4964 BISON
=$ac_cv_prog_BISON
4965 if test -n "$BISON"; then
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4967 $as_echo "$BISON" >&6; }
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4970 $as_echo "no" >&6; }
4974 test -n "$BISON" && break
4976 test -n "$BISON" || BISON
="none"
4978 if test "$BISON" = "none"
4980 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4983 if test -n "$ac_tool_prefix"; then
4984 for ac_prog
in ar gar
4986 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4987 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4989 $as_echo_n "checking for $ac_word... " >&6; }
4990 if ${ac_cv_prog_AR+:} false
; then :
4991 $as_echo_n "(cached) " >&6
4993 if test -n "$AR"; then
4994 ac_cv_prog_AR
="$AR" # Let the user override the test.
4996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5000 test -z "$as_dir" && as_dir
=.
5001 for ac_exec_ext
in '' $ac_executable_extensions; do
5002 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5003 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5014 if test -n "$AR"; then
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5016 $as_echo "$AR" >&6; }
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5019 $as_echo "no" >&6; }
5023 test -n "$AR" && break
5026 if test -z "$AR"; then
5028 for ac_prog
in ar gar
5030 # Extract the first word of "$ac_prog", so it can be a program name with args.
5031 set dummy
$ac_prog; ac_word
=$2
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5033 $as_echo_n "checking for $ac_word... " >&6; }
5034 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5035 $as_echo_n "(cached) " >&6
5037 if test -n "$ac_ct_AR"; then
5038 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5044 test -z "$as_dir" && as_dir
=.
5045 for ac_exec_ext
in '' $ac_executable_extensions; do
5046 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5047 ac_cv_prog_ac_ct_AR
="$ac_prog"
5048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5057 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5058 if test -n "$ac_ct_AR"; then
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5060 $as_echo "$ac_ct_AR" >&6; }
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5063 $as_echo "no" >&6; }
5067 test -n "$ac_ct_AR" && break
5070 if test "x$ac_ct_AR" = x
; then
5073 case $cross_compiling:$ac_tool_warned in
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5076 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5077 ac_tool_warned
=yes ;;
5083 if test -n "$ac_tool_prefix"; then
5084 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5085 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5087 $as_echo_n "checking for $ac_word... " >&6; }
5088 if ${ac_cv_prog_STRIP+:} false
; then :
5089 $as_echo_n "(cached) " >&6
5091 if test -n "$STRIP"; then
5092 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5094 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5098 test -z "$as_dir" && as_dir
=.
5099 for ac_exec_ext
in '' $ac_executable_extensions; do
5100 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5101 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5111 STRIP
=$ac_cv_prog_STRIP
5112 if test -n "$STRIP"; then
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5114 $as_echo "$STRIP" >&6; }
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5117 $as_echo "no" >&6; }
5122 if test -z "$ac_cv_prog_STRIP"; then
5124 # Extract the first word of "strip", so it can be a program name with args.
5125 set dummy strip
; ac_word
=$2
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5127 $as_echo_n "checking for $ac_word... " >&6; }
5128 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5129 $as_echo_n "(cached) " >&6
5131 if test -n "$ac_ct_STRIP"; then
5132 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5134 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5138 test -z "$as_dir" && as_dir
=.
5139 for ac_exec_ext
in '' $ac_executable_extensions; do
5140 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5141 ac_cv_prog_ac_ct_STRIP
="strip"
5142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5151 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5152 if test -n "$ac_ct_STRIP"; then
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5154 $as_echo "$ac_ct_STRIP" >&6; }
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5157 $as_echo "no" >&6; }
5160 if test "x$ac_ct_STRIP" = x
; then
5163 case $cross_compiling:$ac_tool_warned in
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5166 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5167 ac_tool_warned
=yes ;;
5172 STRIP
="$ac_cv_prog_STRIP"
5177 if test -n "$ac_tool_prefix"; then
5178 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5179 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5181 $as_echo_n "checking for $ac_word... " >&6; }
5182 if ${ac_cv_prog_RANLIB+:} false
; then :
5183 $as_echo_n "(cached) " >&6
5185 if test -n "$RANLIB"; then
5186 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5192 test -z "$as_dir" && as_dir
=.
5193 for ac_exec_ext
in '' $ac_executable_extensions; do
5194 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5195 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5205 RANLIB
=$ac_cv_prog_RANLIB
5206 if test -n "$RANLIB"; then
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5208 $as_echo "$RANLIB" >&6; }
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5211 $as_echo "no" >&6; }
5216 if test -z "$ac_cv_prog_RANLIB"; then
5217 ac_ct_RANLIB
=$RANLIB
5218 # Extract the first word of "ranlib", so it can be a program name with args.
5219 set dummy ranlib
; ac_word
=$2
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5221 $as_echo_n "checking for $ac_word... " >&6; }
5222 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5223 $as_echo_n "(cached) " >&6
5225 if test -n "$ac_ct_RANLIB"; then
5226 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5232 test -z "$as_dir" && as_dir
=.
5233 for ac_exec_ext
in '' $ac_executable_extensions; do
5234 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5235 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5245 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5246 if test -n "$ac_ct_RANLIB"; then
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5248 $as_echo "$ac_ct_RANLIB" >&6; }
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5251 $as_echo "no" >&6; }
5254 if test "x$ac_ct_RANLIB" = x
; then
5257 case $cross_compiling:$ac_tool_warned in
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5260 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5261 ac_tool_warned
=yes ;;
5263 RANLIB
=$ac_ct_RANLIB
5266 RANLIB
="$ac_cv_prog_RANLIB"
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5270 $as_echo_n "checking whether ln -s works... " >&6; }
5272 if test "$LN_S" = "ln -s"; then
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5274 $as_echo "yes" >&6; }
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5277 $as_echo "no, using $LN_S" >&6; }
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5281 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5282 if ${ac_cv_path_GREP+:} false
; then :
5283 $as_echo_n "(cached) " >&6
5285 if test -z "$GREP"; then
5286 ac_path_GREP_found
=false
5287 # Loop through the user's path and test for each of PROGNAME-LIST
5288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5289 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5292 test -z "$as_dir" && as_dir
=.
5293 for ac_prog
in grep ggrep
; do
5294 for ac_exec_ext
in '' $ac_executable_extensions; do
5295 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5296 as_fn_executable_p
"$ac_path_GREP" ||
continue
5297 # Check for GNU ac_path_GREP and select it if it is found.
5298 # Check for GNU $ac_path_GREP
5299 case `"$ac_path_GREP" --version 2>&1` in
5301 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5304 $as_echo_n 0123456789 >"conftest.in"
5307 cat "conftest.in" "conftest.in" >"conftest.tmp"
5308 mv "conftest.tmp" "conftest.in"
5309 cp "conftest.in" "conftest.nl"
5310 $as_echo 'GREP' >> "conftest.nl"
5311 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5312 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5313 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5314 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5315 # Best one so far, save it but keep looking for a better one
5316 ac_cv_path_GREP
="$ac_path_GREP"
5317 ac_path_GREP_max
=$ac_count
5319 # 10*(2^10) chars as input seems more than enough
5320 test $ac_count -gt 10 && break
5322 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5325 $ac_path_GREP_found && break 3
5330 if test -z "$ac_cv_path_GREP"; then
5331 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5334 ac_cv_path_GREP
=$GREP
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5339 $as_echo "$ac_cv_path_GREP" >&6; }
5340 GREP
="$ac_cv_path_GREP"
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5344 $as_echo_n "checking for egrep... " >&6; }
5345 if ${ac_cv_path_EGREP+:} false
; then :
5346 $as_echo_n "(cached) " >&6
5348 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5349 then ac_cv_path_EGREP
="$GREP -E"
5351 if test -z "$EGREP"; then
5352 ac_path_EGREP_found
=false
5353 # Loop through the user's path and test for each of PROGNAME-LIST
5354 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5355 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5358 test -z "$as_dir" && as_dir
=.
5359 for ac_prog
in egrep; do
5360 for ac_exec_ext
in '' $ac_executable_extensions; do
5361 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5362 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5363 # Check for GNU ac_path_EGREP and select it if it is found.
5364 # Check for GNU $ac_path_EGREP
5365 case `"$ac_path_EGREP" --version 2>&1` in
5367 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5370 $as_echo_n 0123456789 >"conftest.in"
5373 cat "conftest.in" "conftest.in" >"conftest.tmp"
5374 mv "conftest.tmp" "conftest.in"
5375 cp "conftest.in" "conftest.nl"
5376 $as_echo 'EGREP' >> "conftest.nl"
5377 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5378 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5379 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5380 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5381 # Best one so far, save it but keep looking for a better one
5382 ac_cv_path_EGREP
="$ac_path_EGREP"
5383 ac_path_EGREP_max
=$ac_count
5385 # 10*(2^10) chars as input seems more than enough
5386 test $ac_count -gt 10 && break
5388 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5391 $ac_path_EGREP_found && break 3
5396 if test -z "$ac_cv_path_EGREP"; then
5397 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5400 ac_cv_path_EGREP
=$EGREP
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5406 $as_echo "$ac_cv_path_EGREP" >&6; }
5407 EGREP
="$ac_cv_path_EGREP"
5410 # Extract the first word of "ldconfig", so it can be a program name with args.
5411 set dummy ldconfig
; ac_word
=$2
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5413 $as_echo_n "checking for $ac_word... " >&6; }
5414 if ${ac_cv_path_LDCONFIG+:} false
; then :
5415 $as_echo_n "(cached) " >&6
5419 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5422 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5423 for as_dir
in /sbin
/usr
/sbin
$PATH
5426 test -z "$as_dir" && as_dir
=.
5427 for ac_exec_ext
in '' $ac_executable_extensions; do
5428 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5429 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5437 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5441 LDCONFIG
=$ac_cv_path_LDCONFIG
5442 if test -n "$LDCONFIG"; then
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5444 $as_echo "$LDCONFIG" >&6; }
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5447 $as_echo "no" >&6; }
5451 for ac_prog
in msgfmt
5453 # Extract the first word of "$ac_prog", so it can be a program name with args.
5454 set dummy
$ac_prog; ac_word
=$2
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5456 $as_echo_n "checking for $ac_word... " >&6; }
5457 if ${ac_cv_prog_MSGFMT+:} false
; then :
5458 $as_echo_n "(cached) " >&6
5460 if test -n "$MSGFMT"; then
5461 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5463 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5467 test -z "$as_dir" && as_dir
=.
5468 for ac_exec_ext
in '' $ac_executable_extensions; do
5469 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5470 ac_cv_prog_MSGFMT
="$ac_prog"
5471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5480 MSGFMT
=$ac_cv_prog_MSGFMT
5481 if test -n "$MSGFMT"; then
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5483 $as_echo "$MSGFMT" >&6; }
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5486 $as_echo "no" >&6; }
5490 test -n "$MSGFMT" && break
5492 test -n "$MSGFMT" || MSGFMT
="false"
5494 if ${ac_tool_prefix+:} false
; then :
5495 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5496 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5498 $as_echo_n "checking for $ac_word... " >&6; }
5499 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5500 $as_echo_n "(cached) " >&6
5502 if test -n "$PKG_CONFIG"; then
5503 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5505 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5509 test -z "$as_dir" && as_dir
=.
5510 for ac_exec_ext
in '' $ac_executable_extensions; do
5511 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5512 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5522 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5523 if test -n "$PKG_CONFIG"; then
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5525 $as_echo "$PKG_CONFIG" >&6; }
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5528 $as_echo "no" >&6; }
5533 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5534 if test "x$cross_compiling" = xyes
; then :
5537 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5538 # Extract the first word of "pkg-config", so it can be a program name with args.
5539 set dummy pkg-config
; ac_word
=$2
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5541 $as_echo_n "checking for $ac_word... " >&6; }
5542 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5543 $as_echo_n "(cached) " >&6
5545 if test -n "$PKG_CONFIG"; then
5546 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5552 test -z "$as_dir" && as_dir
=.
5553 for ac_exec_ext
in '' $ac_executable_extensions; do
5554 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5555 ac_cv_prog_PKG_CONFIG
="pkg-config"
5556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5565 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5566 if test -n "$PKG_CONFIG"; then
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5568 $as_echo "$PKG_CONFIG" >&6; }
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5571 $as_echo "no" >&6; }
5577 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5580 if test "x$enable_maintainer_mode" != "xyes"
5587 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5588 for ac_prog
in fontforge
5590 # Extract the first word of "$ac_prog", so it can be a program name with args.
5591 set dummy
$ac_prog; ac_word
=$2
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5593 $as_echo_n "checking for $ac_word... " >&6; }
5594 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5595 $as_echo_n "(cached) " >&6
5597 if test -n "$FONTFORGE"; then
5598 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5600 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5604 test -z "$as_dir" && as_dir
=.
5605 for ac_exec_ext
in '' $ac_executable_extensions; do
5606 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5607 ac_cv_prog_FONTFORGE
="$ac_prog"
5608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5617 FONTFORGE
=$ac_cv_prog_FONTFORGE
5618 if test -n "$FONTFORGE"; then
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5620 $as_echo "$FONTFORGE" >&6; }
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5623 $as_echo "no" >&6; }
5627 test -n "$FONTFORGE" && break
5629 test -n "$FONTFORGE" || FONTFORGE
="false"
5633 # Extract the first word of "$ac_prog", so it can be a program name with args.
5634 set dummy
$ac_prog; ac_word
=$2
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5636 $as_echo_n "checking for $ac_word... " >&6; }
5637 if ${ac_cv_prog_RSVG+:} false
; then :
5638 $as_echo_n "(cached) " >&6
5640 if test -n "$RSVG"; then
5641 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5647 test -z "$as_dir" && as_dir
=.
5648 for ac_exec_ext
in '' $ac_executable_extensions; do
5649 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5650 ac_cv_prog_RSVG
="$ac_prog"
5651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5660 RSVG
=$ac_cv_prog_RSVG
5661 if test -n "$RSVG"; then
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5663 $as_echo "$RSVG" >&6; }
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5666 $as_echo "no" >&6; }
5670 test -n "$RSVG" && break
5672 test -n "$RSVG" || RSVG
="false"
5674 for ac_prog
in convert
5676 # Extract the first word of "$ac_prog", so it can be a program name with args.
5677 set dummy
$ac_prog; ac_word
=$2
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5679 $as_echo_n "checking for $ac_word... " >&6; }
5680 if ${ac_cv_prog_CONVERT+:} false
; then :
5681 $as_echo_n "(cached) " >&6
5683 if test -n "$CONVERT"; then
5684 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5690 test -z "$as_dir" && as_dir
=.
5691 for ac_exec_ext
in '' $ac_executable_extensions; do
5692 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5693 ac_cv_prog_CONVERT
="$ac_prog"
5694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5703 CONVERT
=$ac_cv_prog_CONVERT
5704 if test -n "$CONVERT"; then
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5706 $as_echo "$CONVERT" >&6; }
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5709 $as_echo "no" >&6; }
5713 test -n "$CONVERT" && break
5715 test -n "$CONVERT" || CONVERT
="false"
5717 for ac_prog
in icotool
5719 # Extract the first word of "$ac_prog", so it can be a program name with args.
5720 set dummy
$ac_prog; ac_word
=$2
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5722 $as_echo_n "checking for $ac_word... " >&6; }
5723 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5724 $as_echo_n "(cached) " >&6
5726 if test -n "$ICOTOOL"; then
5727 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5729 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5733 test -z "$as_dir" && as_dir
=.
5734 for ac_exec_ext
in '' $ac_executable_extensions; do
5735 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5736 ac_cv_prog_ICOTOOL
="$ac_prog"
5737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5746 ICOTOOL
=$ac_cv_prog_ICOTOOL
5747 if test -n "$ICOTOOL"; then
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5749 $as_echo "$ICOTOOL" >&6; }
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5752 $as_echo "no" >&6; }
5756 test -n "$ICOTOOL" && break
5758 test -n "$ICOTOOL" || ICOTOOL
="false"
5760 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5761 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5763 if test "$CONVERT" = false
5765 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5768 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5769 convert_version
=`convert --version | head -n1`
5770 if test "x$convert_version" != "x"
5772 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5773 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5774 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5779 if test "$CONVERT" = false
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5782 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5783 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5786 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5790 if test "$ICOTOOL" = false
5792 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5795 $as_echo_n "checking for recent enough icotool... " >&6; }
5796 icotool_version
=`icotool --version | head -n1`
5797 if test "x$icotool_version" != "x"
5799 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5800 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5801 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5804 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5807 if test "$ICOTOOL" = false
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5810 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5811 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5814 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5820 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5823 test "x$with_gettext" != xno || MSGFMT
=false
5824 if test "$MSGFMT" != "false"
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5827 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5828 cat >conftest.po
<<EOF
5834 if $MSGFMT -o /dev
/null conftest.po
2>&5
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5837 $as_echo "yes" >&6; }
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5840 $as_echo "no" >&6; }
5844 if test "$MSGFMT" = false
; then :
5845 case "x$with_gettext" in
5846 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5848 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5849 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5855 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5856 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5857 $as_echo_n "(cached) " >&6
5859 ac_check_lib_save_LIBS
=$LIBS
5861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5862 /* end confdefs.h. */
5864 /* Override any GCC internal prototype to avoid an error.
5865 Use char because int might match the return type of a GCC
5866 builtin and then its argument prototype would still apply. */
5870 char i386_set_ldt ();
5874 return i386_set_ldt ();
5879 if ac_fn_c_try_link
"$LINENO"; then :
5880 ac_cv_lib_i386_i386_set_ldt
=yes
5882 ac_cv_lib_i386_i386_set_ldt
=no
5884 rm -f core conftest.err conftest.
$ac_objext \
5885 conftest
$ac_exeext conftest.
$ac_ext
5886 LIBS
=$ac_check_lib_save_LIBS
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5889 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5890 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5891 cat >>confdefs.h
<<_ACEOF
5892 #define HAVE_LIBI386 1
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5900 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5901 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5902 $as_echo_n "(cached) " >&6
5904 ac_check_lib_save_LIBS
=$LIBS
5905 LIBS
="-lossaudio $LIBS"
5906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5907 /* end confdefs.h. */
5909 /* Override any GCC internal prototype to avoid an error.
5910 Use char because int might match the return type of a GCC
5911 builtin and then its argument prototype would still apply. */
5919 return _oss_ioctl ();
5924 if ac_fn_c_try_link
"$LINENO"; then :
5925 ac_cv_lib_ossaudio__oss_ioctl
=yes
5927 ac_cv_lib_ossaudio__oss_ioctl
=no
5929 rm -f core conftest.err conftest.
$ac_objext \
5930 conftest
$ac_exeext conftest.
$ac_ext
5931 LIBS
=$ac_check_lib_save_LIBS
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5934 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5935 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
5936 cat >>confdefs.h
<<_ACEOF
5937 #define HAVE_LIBOSSAUDIO 1
5940 LIBS
="-lossaudio $LIBS"
5949 # Check whether --enable-largefile was given.
5950 if test "${enable_largefile+set}" = set; then :
5951 enableval
=$enable_largefile;
5954 if test "$enable_largefile" != no
; then
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5957 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5958 if ${ac_cv_sys_largefile_CC+:} false
; then :
5959 $as_echo_n "(cached) " >&6
5961 ac_cv_sys_largefile_CC
=no
5962 if test "$GCC" != yes; then
5965 # IRIX 6.2 and later do not support large files by default,
5966 # so use the C compiler's -n32 option if that helps.
5967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5968 /* end confdefs.h. */
5969 #include <sys/types.h>
5970 /* Check that off_t can represent 2**63 - 1 correctly.
5971 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5972 since some C++ compilers masquerading as C compilers
5973 incorrectly reject 9223372036854775807. */
5974 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5975 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5976 && LARGE_OFF_T % 2147483647 == 1)
5986 if ac_fn_c_try_compile
"$LINENO"; then :
5989 rm -f core conftest.err conftest.
$ac_objext
5991 if ac_fn_c_try_compile
"$LINENO"; then :
5992 ac_cv_sys_largefile_CC
=' -n32'; break
5994 rm -f core conftest.err conftest.
$ac_objext
5998 rm -f conftest.
$ac_ext
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6002 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6003 if test "$ac_cv_sys_largefile_CC" != no
; then
6004 CC
=$CC$ac_cv_sys_largefile_CC
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6008 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6009 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6010 $as_echo_n "(cached) " >&6
6013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6014 /* end confdefs.h. */
6015 #include <sys/types.h>
6016 /* Check that off_t can represent 2**63 - 1 correctly.
6017 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6018 since some C++ compilers masquerading as C compilers
6019 incorrectly reject 9223372036854775807. */
6020 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6021 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6022 && LARGE_OFF_T % 2147483647 == 1)
6032 if ac_fn_c_try_compile
"$LINENO"; then :
6033 ac_cv_sys_file_offset_bits
=no
; break
6035 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6037 /* end confdefs.h. */
6038 #define _FILE_OFFSET_BITS 64
6039 #include <sys/types.h>
6040 /* Check that off_t can represent 2**63 - 1 correctly.
6041 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6042 since some C++ compilers masquerading as C compilers
6043 incorrectly reject 9223372036854775807. */
6044 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6045 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6046 && LARGE_OFF_T % 2147483647 == 1)
6056 if ac_fn_c_try_compile
"$LINENO"; then :
6057 ac_cv_sys_file_offset_bits
=64; break
6059 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6060 ac_cv_sys_file_offset_bits
=unknown
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6065 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6066 case $ac_cv_sys_file_offset_bits in #(
6069 cat >>confdefs.h
<<_ACEOF
6070 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6075 if test $ac_cv_sys_file_offset_bits = unknown
; then
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6077 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6078 if ${ac_cv_sys_large_files+:} false
; then :
6079 $as_echo_n "(cached) " >&6
6082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6083 /* end confdefs.h. */
6084 #include <sys/types.h>
6085 /* Check that off_t can represent 2**63 - 1 correctly.
6086 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6087 since some C++ compilers masquerading as C compilers
6088 incorrectly reject 9223372036854775807. */
6089 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6090 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6091 && LARGE_OFF_T % 2147483647 == 1)
6101 if ac_fn_c_try_compile
"$LINENO"; then :
6102 ac_cv_sys_large_files
=no
; break
6104 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6106 /* end confdefs.h. */
6107 #define _LARGE_FILES 1
6108 #include <sys/types.h>
6109 /* Check that off_t can represent 2**63 - 1 correctly.
6110 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6111 since some C++ compilers masquerading as C compilers
6112 incorrectly reject 9223372036854775807. */
6113 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6114 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6115 && LARGE_OFF_T % 2147483647 == 1)
6125 if ac_fn_c_try_compile
"$LINENO"; then :
6126 ac_cv_sys_large_files
=1; break
6128 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6129 ac_cv_sys_large_files
=unknown
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6134 $as_echo "$ac_cv_sys_large_files" >&6; }
6135 case $ac_cv_sys_large_files in #(
6138 cat >>confdefs.h
<<_ACEOF
6139 #define _LARGE_FILES $ac_cv_sys_large_files
6151 ac_cpp
='$CPP $CPPFLAGS'
6152 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6153 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6154 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6156 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6157 # On Suns, sometimes $CPP names a directory.
6158 if test -n "$CPP" && test -d "$CPP"; then
6161 if test -z "$CPP"; then
6162 if ${ac_cv_prog_CPP+:} false
; then :
6163 $as_echo_n "(cached) " >&6
6165 # Double quotes because CPP needs to be expanded
6166 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6169 for ac_c_preproc_warn_flag
in '' yes
6171 # Use a header file that comes with gcc, so configuring glibc
6172 # with a fresh cross-compiler works.
6173 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6174 # <limits.h> exists even on freestanding compilers.
6175 # On the NeXT, cc -E runs the code through the compiler's parser,
6176 # not just through cpp. "Syntax error" is here to catch this case.
6177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6178 /* end confdefs.h. */
6180 # include <limits.h>
6182 # include <assert.h>
6186 if ac_fn_c_try_cpp
"$LINENO"; then :
6189 # Broken: fails on valid input.
6192 rm -f conftest.err conftest.i conftest.
$ac_ext
6194 # OK, works on sane cases. Now check whether nonexistent headers
6195 # can be detected and how.
6196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6197 /* end confdefs.h. */
6198 #include <ac_nonexistent.h>
6200 if ac_fn_c_try_cpp
"$LINENO"; then :
6201 # Broken: success on invalid input.
6204 # Passes both tests.
6208 rm -f conftest.err conftest.i conftest.
$ac_ext
6211 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6212 rm -f conftest.i conftest.err conftest.
$ac_ext
6213 if $ac_preproc_ok; then :
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6226 $as_echo "$CPP" >&6; }
6228 for ac_c_preproc_warn_flag
in '' yes
6230 # Use a header file that comes with gcc, so configuring glibc
6231 # with a fresh cross-compiler works.
6232 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6233 # <limits.h> exists even on freestanding compilers.
6234 # On the NeXT, cc -E runs the code through the compiler's parser,
6235 # not just through cpp. "Syntax error" is here to catch this case.
6236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6237 /* end confdefs.h. */
6239 # include <limits.h>
6241 # include <assert.h>
6245 if ac_fn_c_try_cpp
"$LINENO"; then :
6248 # Broken: fails on valid input.
6251 rm -f conftest.err conftest.i conftest.
$ac_ext
6253 # OK, works on sane cases. Now check whether nonexistent headers
6254 # can be detected and how.
6255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6256 /* end confdefs.h. */
6257 #include <ac_nonexistent.h>
6259 if ac_fn_c_try_cpp
"$LINENO"; then :
6260 # Broken: success on invalid input.
6263 # Passes both tests.
6267 rm -f conftest.err conftest.i conftest.
$ac_ext
6270 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6271 rm -f conftest.i conftest.err conftest.
$ac_ext
6272 if $ac_preproc_ok; then :
6275 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6276 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6277 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6278 See \`config.log' for more details" "$LINENO" 5; }
6282 ac_cpp
='$CPP $CPPFLAGS'
6283 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6284 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6285 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6289 $as_echo_n "checking for ANSI C header files... " >&6; }
6290 if ${ac_cv_header_stdc+:} false
; then :
6291 $as_echo_n "(cached) " >&6
6293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6294 /* end confdefs.h. */
6308 if ac_fn_c_try_compile
"$LINENO"; then :
6309 ac_cv_header_stdc
=yes
6311 ac_cv_header_stdc
=no
6313 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6315 if test $ac_cv_header_stdc = yes; then
6316 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6318 /* end confdefs.h. */
6322 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6323 $EGREP "memchr" >/dev
/null
2>&1; then :
6326 ac_cv_header_stdc
=no
6332 if test $ac_cv_header_stdc = yes; then
6333 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6335 /* end confdefs.h. */
6339 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6340 $EGREP "free" >/dev
/null
2>&1; then :
6343 ac_cv_header_stdc
=no
6349 if test $ac_cv_header_stdc = yes; then
6350 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6351 if test "$cross_compiling" = yes; then :
6354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6355 /* end confdefs.h. */
6358 #if ((' ' & 0x0FF) == 0x020)
6359 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6360 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6362 # define ISLOWER(c) \
6363 (('a' <= (c) && (c) <= 'i') \
6364 || ('j' <= (c) && (c) <= 'r') \
6365 || ('s' <= (c) && (c) <= 'z'))
6366 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6369 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6374 for (i = 0; i < 256; i++)
6375 if (XOR (islower (i), ISLOWER (i))
6376 || toupper (i) != TOUPPER (i))
6381 if ac_fn_c_try_run
"$LINENO"; then :
6384 ac_cv_header_stdc
=no
6386 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6387 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6393 $as_echo "$ac_cv_header_stdc" >&6; }
6394 if test $ac_cv_header_stdc = yes; then
6396 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6400 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6401 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6402 inttypes.h stdint.h unistd.h
6404 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6405 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6407 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6408 cat >>confdefs.h
<<_ACEOF
6409 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6419 ApplicationServices
/ApplicationServices.h \
6420 AudioToolbox
/AudioConverter.h \
6421 AudioUnit
/AudioUnit.h \
6422 AudioUnit
/AudioComponent.h \
6425 CoreAudio
/CoreAudio.h \
6426 CoreServices
/CoreServices.h \
6427 DiskArbitration
/DiskArbitration.h \
6429 IOKit
/hid
/IOHIDLib.h \
6432 QuickTime
/ImageCompression.h \
6433 Security
/Security.h \
6484 netinet
/in_systm.h \
6545 valgrind
/memcheck.h \
6546 valgrind
/valgrind.h \
6550 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6551 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6552 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6553 cat >>confdefs.h
<<_ACEOF
6554 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6562 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6563 if ${ac_cv_header_stat_broken+:} false
; then :
6564 $as_echo_n "(cached) " >&6
6566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6567 /* end confdefs.h. */
6568 #include <sys/types.h>
6569 #include <sys/stat.h>
6571 #if defined S_ISBLK && defined S_IFDIR
6572 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6575 #if defined S_ISBLK && defined S_IFCHR
6576 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6579 #if defined S_ISLNK && defined S_IFREG
6580 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6583 #if defined S_ISSOCK && defined S_IFREG
6584 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6588 if ac_fn_c_try_compile
"$LINENO"; then :
6589 ac_cv_header_stat_broken
=no
6591 ac_cv_header_stat_broken
=yes
6593 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6596 $as_echo "$ac_cv_header_stat_broken" >&6; }
6597 if test $ac_cv_header_stat_broken = yes; then
6599 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6605 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6607 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6608 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6609 #ifdef HAVE_SYS_PARAM_H
6610 # include <sys/param.h>
6613 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6614 cat >>confdefs.h
<<_ACEOF
6615 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6630 netinet
/if_ether.h \
6631 netinet
/if_inarp.h \
6640 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6641 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6642 #ifdef HAVE_SYS_SOCKET_H
6643 # include <sys/socket.h>
6645 #ifdef HAVE_SYS_SOCKETVAR_H
6646 # include <sys/socketvar.h>
6648 #ifdef HAVE_NET_ROUTE_H
6649 # include <net/route.h>
6651 #ifdef HAVE_NETINET_IN_H
6652 # include <netinet/in.h>
6654 #ifdef HAVE_NETINET_IN_SYSTM_H
6655 # include <netinet/in_systm.h>
6657 #ifdef HAVE_NET_IF_H
6658 # include <net/if.h>
6660 #ifdef HAVE_NETINET_IP_H
6661 # include <netinet/ip.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
6674 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6676 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6677 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6681 #ifdef HAVE_SYS_SOCKET_H
6682 # include <sys/socket.h>
6684 #ifdef HAVE_SYS_SOCKETVAR_H
6685 # include <sys/socketvar.h>
6687 #ifdef HAVE_SYS_TIMEOUT_H
6688 # include <sys/timeout.h>
6690 #ifdef HAVE_NETINET_IN_H
6691 # include <netinet/in.h>
6693 #ifdef HAVE_NETINET_IN_SYSTM_H
6694 # include <netinet/in_systm.h>
6696 #ifdef HAVE_NETINET_IP_H
6697 # include <netinet/ip.h>
6699 #ifdef HAVE_NETINET_IP_VAR_H
6700 # include <netinet/ip_var.h>
6702 #ifdef HAVE_NETINET_IP_ICMP_H
6703 # include <netinet/ip_icmp.h>
6705 #ifdef HAVE_NETINET_UDP_H
6706 # include <netinet/udp.h>
6708 #ifdef HAVE_NETINET_TCP_H
6709 # include <netinet/tcp.h>
6711 #ifdef HAVE_NETINET_TCP_TIMER_H
6712 #include <netinet/tcp_timer.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 linux
/ipx.h linux
/irda.h linux
/rtnetlink.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>
6729 #ifdef HAVE_ASM_TYPES_H
6730 # include <asm/types.h>
6732 #ifdef HAVE_SYS_SOCKET_H
6733 # include <sys/socket.h>
6735 #ifdef HAVE_LINUX_TYPES_H
6736 # include <linux/types.h>
6739 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6740 cat >>confdefs.h
<<_ACEOF
6741 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6749 for ac_header
in mach-o
/dyld_images.h
6751 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6752 # include <stdbool.h>
6754 #ifdef HAVE_STDINT_H
6755 # include <stdint.h>
6758 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6759 cat >>confdefs.h
<<_ACEOF
6760 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6768 for ac_header
in resolv.h
6770 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6771 #ifdef HAVE_SYS_SOCKET_H
6772 # include <sys/socket.h>
6774 #ifdef HAVE_NETINET_IN_H
6775 # include <netinet/in.h>
6777 #ifdef HAVE_ARPA_NAMESER_H
6778 # include <arpa/nameser.h>
6781 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6782 cat >>confdefs.h
<<_ACEOF
6783 #define HAVE_RESOLV_H 1
6791 for ac_header
in ifaddrs.h
6793 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6795 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6796 cat >>confdefs.h
<<_ACEOF
6797 #define HAVE_IFADDRS_H 1
6805 for ac_header
in ucontext.h
6807 ac_fn_c_check_header_compile
"$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6809 if test "x$ac_cv_header_ucontext_h" = xyes
; then :
6810 cat >>confdefs.h
<<_ACEOF
6811 #define HAVE_UCONTEXT_H 1
6819 for ac_header
in sys
/thr.h
6821 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6822 #ifdef HAVE_UCONTEXT_H
6823 #include <ucontext.h>
6826 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6827 cat >>confdefs.h
<<_ACEOF
6828 #define HAVE_SYS_THR_H 1
6836 for ac_header
in pthread_np.h
6838 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6839 #include <pthread.h>
6842 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6843 cat >>confdefs.h
<<_ACEOF
6844 #define HAVE_PTHREAD_NP_H 1
6852 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
6854 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6855 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6856 #include <sys/time.h>
6858 #include <sys/types.h>
6859 #ifdef HAVE_ASM_TYPES_H
6860 #include <asm/types.h>
6863 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6864 cat >>confdefs.h
<<_ACEOF
6865 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6873 for ac_header
in libprocstat.h
6875 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6876 #include <sys/param.h>
6878 #ifdef HAVE_SYS_QUEUE_H
6879 #include <sys/queue.h>
6881 #ifdef HAVE_SYS_SOCKET_H
6882 #include <sys/socket.h>
6885 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
6886 cat >>confdefs.h
<<_ACEOF
6887 #define HAVE_LIBPROCSTAT_H 1
6896 dlldir
="\${libdir}/wine"
6900 DLLFLAGS
="-D_REENTRANT"
6909 STATIC_IMPLIBEXT
="def.a"
6910 # Extract the first word of "ldd", so it can be a program name with args.
6911 set dummy ldd
; ac_word
=$2
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6913 $as_echo_n "checking for $ac_word... " >&6; }
6914 if ${ac_cv_path_LDD+:} false
; then :
6915 $as_echo_n "(cached) " >&6
6919 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6923 as_dummy
="/sbin:/usr/sbin:$PATH"
6924 for as_dir
in $as_dummy
6927 test -z "$as_dir" && as_dir
=.
6928 for ac_exec_ext
in '' $ac_executable_extensions; do
6929 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6930 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6938 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6943 if test -n "$LDD"; then
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6945 $as_echo "$LDD" >&6; }
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6948 $as_echo "no" >&6; }
6952 if test -n "$ac_tool_prefix"; then
6953 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6954 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
6955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6956 $as_echo_n "checking for $ac_word... " >&6; }
6957 if ${ac_cv_prog_READELF+:} false
; then :
6958 $as_echo_n "(cached) " >&6
6960 if test -n "$READELF"; then
6961 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
6963 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6967 test -z "$as_dir" && as_dir
=.
6968 for ac_exec_ext
in '' $ac_executable_extensions; do
6969 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6970 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
6971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6980 READELF
=$ac_cv_prog_READELF
6981 if test -n "$READELF"; then
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
6983 $as_echo "$READELF" >&6; }
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6986 $as_echo "no" >&6; }
6991 if test -z "$ac_cv_prog_READELF"; then
6992 ac_ct_READELF
=$READELF
6993 # Extract the first word of "readelf", so it can be a program name with args.
6994 set dummy readelf
; ac_word
=$2
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6996 $as_echo_n "checking for $ac_word... " >&6; }
6997 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
6998 $as_echo_n "(cached) " >&6
7000 if test -n "$ac_ct_READELF"; then
7001 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7003 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7007 test -z "$as_dir" && as_dir
=.
7008 for ac_exec_ext
in '' $ac_executable_extensions; do
7009 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7010 ac_cv_prog_ac_ct_READELF
="readelf"
7011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7020 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7021 if test -n "$ac_ct_READELF"; then
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7023 $as_echo "$ac_ct_READELF" >&6; }
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7026 $as_echo "no" >&6; }
7029 if test "x$ac_ct_READELF" = x
; then
7032 case $cross_compiling:$ac_tool_warned in
7034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7035 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7036 ac_tool_warned
=yes ;;
7038 READELF
=$ac_ct_READELF
7041 READELF
="$ac_cv_prog_READELF"
7044 wine_rules_file
=conf$
$rules.
make
7045 rm -f $wine_rules_file
7047 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7048 ALL_TEST_RESOURCES
=""
7051 wine_fn_append_file
()
7053 as_fn_append
$1 " \\$as_nl $2"
7056 wine_fn_ignore_file
()
7059 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7060 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7061 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7065 wine_fn_append_rule
()
7067 $as_echo "$1" >>$wine_rules_file
7072 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7075 wine_fn_depend_rules
()
7077 wine_fn_append_rule \
7078 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7079 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7080 depend: $ac_dir/depend
7081 .PHONY: $ac_dir/depend
7082 $ac_dir/depend: \$(MAKEDEP) dummy
7083 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7086 wine_fn_pot_rules
()
7088 test "x$with_gettextpo" = xyes ||
return
7090 if wine_fn_has_flag mc
7092 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7093 wine_fn_append_rule \
7094 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7095 @cd $ac_dir && \$(MAKE) msg.pot
7096 $ac_dir/msg.pot: tools/wmc include"
7098 if wine_fn_has_flag po
7100 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7101 wine_fn_append_rule \
7102 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7103 @cd $ac_dir && \$(MAKE) rsrc.pot
7104 $ac_dir/rsrc.pot: tools/wrc include"
7108 wine_fn_all_rules
()
7110 wine_fn_depend_rules
7111 wine_fn_append_rule \
7114 $ac_dir: $ac_dir/Makefile dummy
7115 @cd $ac_dir && \$(MAKE)"
7118 wine_fn_install_rules
()
7120 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7122 wine_fn_append_rule \
7123 ".PHONY: $ac_dir/install $ac_dir/uninstall
7124 $ac_dir/install:: $ac_dir
7125 @cd $ac_dir && \$(MAKE) install
7126 $ac_dir/uninstall:: $ac_dir/Makefile
7127 @cd $ac_dir && \$(MAKE) uninstall
7128 install:: $ac_dir/install
7129 __uninstall__: $ac_dir/uninstall"
7131 if wine_fn_has_flag install-lib
7133 wine_fn_append_rule \
7134 ".PHONY: $ac_dir/install-lib
7135 $ac_dir/install-lib:: $ac_dir
7136 @cd $ac_dir && \$(MAKE) install-lib
7137 install-lib:: $ac_dir/install-lib"
7140 if wine_fn_has_flag install-dev
7142 wine_fn_append_rule \
7143 ".PHONY: $ac_dir/install-dev
7144 $ac_dir/install-dev:: $ac_dir
7145 @cd $ac_dir && \$(MAKE) install-dev
7146 install-dev:: $ac_dir/install-dev"
7150 wine_fn_clean_rules
()
7153 ac_extraclean
="$ac_dir/Makefile"
7154 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7156 */tests
) ac_extraclean
="$ac_extraclean $ac_dir/testlist.c" ;;
7159 if wine_fn_has_flag clean
7161 wine_fn_append_rule \
7162 "__clean__: $ac_dir/clean
7163 .PHONY: $ac_dir/clean
7164 $ac_dir/clean: $ac_dir/Makefile
7165 @cd $ac_dir && \$(MAKE) clean
7166 \$(RM) $ac_extraclean"
7168 wine_fn_append_rule \
7169 "__clean__: $ac_dir/clean
7170 .PHONY: $ac_dir/clean
7171 $ac_dir/clean: dummy
7172 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7176 wine_fn_disabled_rules
()
7179 ac_extraclean
="$ac_dir/Makefile"
7180 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7182 wine_fn_append_rule \
7183 "__clean__: $ac_dir/clean
7184 .PHONY: $ac_dir/clean
7185 $ac_dir/clean: dummy
7186 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7189 wine_fn_config_makefile
()
7195 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7196 wine_fn_disabled_rules
; return
7199 wine_fn_install_rules
7203 wine_fn_config_lib
()
7207 ac_dir
=dlls
/$ac_name
7210 if test "x$enable_tools" = xno
; then :
7213 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7218 wine_fn_append_rule \
7219 ".PHONY: $ac_dir/install $ac_dir/uninstall
7220 $ac_dir/install:: $ac_dir
7221 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7223 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7224 install install-dev:: $ac_dir/install
7225 __uninstall__: $ac_dir/uninstall
7226 __builddeps__: $ac_dir
7230 wine_fn_config_dll
()
7233 ac_dir
=dlls
/$ac_name
7236 ac_implib
=${4:-$ac_name}
7237 ac_file
=$ac_dir/lib
$ac_implib
7242 if test "x$enable_tools" = xno
; then :
7245 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7248 *16) ac_implibflags
=" -m16" ;;
7250 *) ac_dll
=$ac_dll.dll
;;
7254 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7255 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7256 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7257 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7259 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7260 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
7262 wine_fn_depend_rules
7263 wine_fn_clean_rules
$ac_clean
7265 wine_fn_disabled_rules
$ac_clean
7270 wine_fn_clean_rules
$ac_clean
7271 wine_fn_append_rule \
7272 "$ac_dir: __builddeps__
7273 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7274 @cd $ac_dir && \$(MAKE) \$@
7275 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7276 install install-lib:: $ac_dir/install-lib
7277 __uninstall__: $ac_dir/uninstall"
7278 if test -n "$DLLEXT"
7280 wine_fn_append_rule \
7281 "$ac_dir/install-lib:: $ac_dir
7282 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7283 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7285 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7287 wine_fn_append_rule \
7288 "$ac_dir/install-lib:: $ac_dir
7289 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7291 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7297 if wine_fn_has_flag staticimplib
7299 wine_fn_append_rule \
7300 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7301 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7302 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7303 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7304 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7305 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7306 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7307 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7308 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7310 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7311 install install-dev:: $ac_dir/install-dev
7312 __uninstall__: $ac_dir/uninstall"
7314 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7316 wine_fn_append_rule \
7317 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7318 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7320 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7323 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7325 wine_fn_append_rule \
7326 "__builddeps__: $ac_file.cross.a
7327 $ac_file.cross.a: $ac_dir/Makefile dummy
7328 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7331 elif wine_fn_has_flag implib
7333 wine_fn_append_rule \
7334 "__builddeps__: $ac_file.$IMPLIBEXT
7335 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7336 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7337 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7338 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7339 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7340 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7341 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7343 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7344 install install-dev:: $ac_dir/install-dev
7345 __uninstall__: $ac_dir/uninstall"
7346 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7348 wine_fn_append_rule \
7349 "__builddeps__: $ac_file.cross.a
7350 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7351 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7354 if test "$ac_name" != "$ac_implib"
7356 wine_fn_append_rule \
7357 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7358 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7359 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7361 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7362 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7363 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7365 wine_fn_append_rule \
7366 "__builddeps__: dlls/lib$ac_implib.cross.a
7367 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7368 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7370 \$(RM) dlls/lib$ac_implib.cross.a"
7371 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7377 wine_fn_config_program
()
7380 ac_dir
=programs
/$ac_name
7387 *) ac_program
=$ac_program.exe
;;
7391 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7392 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7393 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7394 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7396 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7397 wine_fn_disabled_rules
$ac_clean; return
7401 wine_fn_clean_rules
$ac_clean
7402 wine_fn_append_rule
"$ac_dir: __builddeps__"
7405 wine_fn_has_flag
install ||
return
7406 wine_fn_append_rule \
7407 ".PHONY: $ac_dir/install $ac_dir/uninstall
7408 install install-lib:: $ac_dir/install
7409 __uninstall__: $ac_dir/uninstall"
7411 if test -n "$DLLEXT"
7413 wine_fn_append_rule \
7414 "$ac_dir/install:: $ac_dir
7415 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7416 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7418 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7420 if test -z "$with_wine64" && wine_fn_has_flag installbin
7422 wine_fn_append_rule \
7423 "$ac_dir/install:: __tooldeps__
7424 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7426 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7429 wine_fn_append_rule \
7430 "$ac_dir/install:: $ac_dir
7431 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7433 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7436 if test -z "$with_wine64" && wine_fn_has_flag manpage
7438 wine_fn_append_rule \
7439 "$ac_dir/install:: $ac_dir
7440 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7442 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7446 wine_fn_config_test
()
7453 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7454 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7456 if test "x$enable_tests" = xno
; then :
7457 wine_fn_disabled_rules
$ac_clean; return
7460 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7462 wine_fn_clean_rules
$ac_clean
7464 wine_fn_append_rule \
7465 "$ac_dir: programs/winetest/Makefile __builddeps__
7466 programs/winetest: $ac_dir
7467 check test: $ac_dir/test
7468 .PHONY: $ac_dir/test
7470 @cd $ac_dir && \$(MAKE) test
7472 \$(RM) $ac_dir/*.ok"
7474 if test -n "$CROSSTARGET"
7476 wine_fn_append_rule \
7477 "crosstest: $ac_dir/crosstest
7478 .PHONY: $ac_dir/crosstest
7479 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7480 @cd $ac_dir && \$(MAKE) crosstest"
7484 wine_fn_config_tool
()
7488 if test "x$enable_tools" = xno
; then :
7493 wine_fn_install_rules
7496 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7497 wine_fn_append_rule
"$ac_dir: libs/port"
7499 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7503 wine_fn_config_symlink
()
7506 if test "x$1" = "x-d"
7512 wine_fn_append_rule \
7514 @./config.status \$@
7517 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7518 test -n "$ac_linkdir" ||
return
7519 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7523 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7524 loader_programs
="$wine_binary wine-installed"
7525 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7528 install install-lib:: wine-installed
7529 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7532 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7538 if test -n "$ac_tool_prefix"; then
7539 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7540 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7542 $as_echo_n "checking for $ac_word... " >&6; }
7543 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7544 $as_echo_n "(cached) " >&6
7546 if test -n "$DLLTOOL"; then
7547 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7553 test -z "$as_dir" && as_dir
=.
7554 for ac_exec_ext
in '' $ac_executable_extensions; do
7555 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7556 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7566 DLLTOOL
=$ac_cv_prog_DLLTOOL
7567 if test -n "$DLLTOOL"; then
7568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7569 $as_echo "$DLLTOOL" >&6; }
7571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7572 $as_echo "no" >&6; }
7577 if test -z "$ac_cv_prog_DLLTOOL"; then
7578 ac_ct_DLLTOOL
=$DLLTOOL
7579 # Extract the first word of "dlltool", so it can be a program name with args.
7580 set dummy dlltool
; ac_word
=$2
7581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7582 $as_echo_n "checking for $ac_word... " >&6; }
7583 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7584 $as_echo_n "(cached) " >&6
7586 if test -n "$ac_ct_DLLTOOL"; then
7587 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7589 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7593 test -z "$as_dir" && as_dir
=.
7594 for ac_exec_ext
in '' $ac_executable_extensions; do
7595 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7596 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7606 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7607 if test -n "$ac_ct_DLLTOOL"; then
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7609 $as_echo "$ac_ct_DLLTOOL" >&6; }
7611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7612 $as_echo "no" >&6; }
7615 if test "x$ac_ct_DLLTOOL" = x
; then
7618 case $cross_compiling:$ac_tool_warned in
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7621 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7622 ac_tool_warned
=yes ;;
7624 DLLTOOL
=$ac_ct_DLLTOOL
7627 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7633 STATIC_IMPLIBEXT
="a"
7634 enable_iphlpapi
=${enable_iphlpapi:-no}
7635 enable_kernel32
=${enable_kernel32:-no}
7636 enable_msvcrt
=${enable_msvcrt:-no}
7637 enable_ntdll
=${enable_ntdll:-no}
7638 enable_ws2_32
=${enable_ws2_32:-no}
7639 enable_loader
=${enable_loader:-no}
7640 enable_server
=${enable_server:-no}
7641 with_x
=${with_x:-no}
7642 with_pthread
=${with_pthread:-no}
7648 SOCKET_LIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7652 libwine_targets
="libwine.dll libwine.a"
7654 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7656 all: libwine.dll libwine.a
7658 libwine.a: \$(srcdir)/wine.def
7659 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7661 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7662 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7664 install install-lib:: libwine.dll
7665 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7667 install install-dev:: libwine.a
7668 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7671 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7678 DLLFLAGS
="$DLLFLAGS -fPIC"
7679 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7680 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7681 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7682 COREFOUNDATION_LIBS
="-framework CoreFoundation"
7684 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
7686 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
7688 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
7690 CORESERVICES_LIBS
="-framework CoreServices"
7692 APPKIT_LIBS
="-framework AppKit"
7694 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7696 darwin11
*) LDEXECFLAGS
="-Wl,-macosx_version_min,10.6 $LDEXECFLAGS" ;;
7698 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7700 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
7703 if test "$ac_cv_header_Security_Security_h" = "yes"
7705 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
7707 ac_save_LIBS
="$LIBS"
7708 LIBS
="$LIBS $SECURITY_LIBS"
7709 for ac_func
in SSLCopyPeerCertificates
7711 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7712 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7713 cat >>confdefs.h
<<_ACEOF
7714 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7720 LIBS
="$ac_save_LIBS"
7721 with_gnutls
=${with_gnutls:-no}
7723 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7725 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7727 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7730 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7733 ac_save_LIBS
="$LIBS"
7734 LIBS
="$LIBS $COREAUDIO_LIBS"
7735 for ac_func
in AUGraphAddNode
7737 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7738 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7739 cat >>confdefs.h
<<_ACEOF
7740 #define HAVE_AUGRAPHADDNODE 1
7746 LIBS
="$ac_save_LIBS"
7748 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7750 OPENAL_LIBS
="-framework OpenAL"
7753 cat >>confdefs.h
<<_ACEOF
7754 #define HAVE_OPENAL 1
7757 ac_cv_lib_openal
=yes
7759 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7761 OPENCL_LIBS
="-framework OpenCL"
7763 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7765 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7767 ac_save_LIBS
="$LIBS"
7768 LIBS
="$LIBS $IOKIT_LIBS"
7769 for ac_func
in IOHIDManagerCreate
7771 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7772 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7773 cat >>confdefs.h
<<_ACEOF
7774 #define HAVE_IOHIDMANAGERCREATE 1
7780 LIBS
="$ac_save_LIBS"
7782 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7784 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7786 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
7788 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7790 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7792 CARBON_LIBS
="-framework Carbon"
7796 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7798 ac_save_LIBS
="$LIBS"
7799 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
7800 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7801 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
7802 enable_winemac_drv
=${enable_winemac_drv:-yes}
7805 LIBS
="$ac_save_LIBS"
7808 if test "x$enable_win16" = "xyes"
7810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7811 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7812 if test "$cross_compiling" = yes; then :
7813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7814 $as_echo "cross-compiling, assuming yes" >&6; }
7816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7817 /* end confdefs.h. */
7820 "good:\tnop;nop\n\t"
7821 ".globl _testfunc\n"
7822 "_testfunc:\tcallw good");
7823 extern void testfunc();
7827 unsigned short *p = (unsigned short *)testfunc;
7828 return p[0] != 0xe866 || p[1] != 0xfffa
7833 if ac_fn_c_try_run
"$LINENO"; then :
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7835 $as_echo "yes" >&6; }
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7838 $as_echo "no" >&6; }
7839 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
7841 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7842 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7847 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7849 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7853 libwine.$libwine_version.dylib: \$(OBJS)
7854 \$(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 \$@
7856 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7857 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7859 libwine.dylib: libwine.$libwine_soversion.dylib
7860 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7862 install install-lib:: libwine.$libwine_version.dylib
7863 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7864 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7866 install install-dev::
7867 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7870 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7874 as_fn_append LOADER_RULES
"
7875 $wine_binary: main.o wine_info.plist
7876 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7878 wine-installed: main.o wine_info.plist
7879 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7884 DLLFLAGS
="$DLLFLAGS -fPIC"
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7889 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7890 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7891 $as_echo_n "(cached) " >&6
7893 ac_wine_try_cflags_saved
=$CFLAGS
7894 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7896 /* end confdefs.h. */
7897 int main(int argc, char **argv) { return 0; }
7899 if ac_fn_c_try_link
"$LINENO"; then :
7900 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7902 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7904 rm -f core conftest.err conftest.
$ac_objext \
7905 conftest
$ac_exeext conftest.
$ac_ext
7906 CFLAGS
=$ac_wine_try_cflags_saved
7908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7909 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7910 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
7911 LDEXECFLAGS
="-Wl,--export-dynamic"
7913 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7915 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7916 if eval \
${$as_ac_var+:} false
; then :
7917 $as_echo_n "(cached) " >&6
7919 ac_wine_try_cflags_saved
=$CFLAGS
7920 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7921 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7922 /* end confdefs.h. */
7923 int main(int argc, char **argv) { return 0; }
7925 if ac_fn_c_try_link
"$LINENO"; then :
7926 eval "$as_ac_var=yes"
7928 eval "$as_ac_var=no"
7930 rm -f core conftest.err conftest.
$ac_objext \
7931 conftest
$ac_exeext conftest.
$ac_ext
7932 CFLAGS
=$ac_wine_try_cflags_saved
7934 eval ac_res
=\$
$as_ac_var
7935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7936 $as_echo "$ac_res" >&6; }
7937 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7938 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7939 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7941 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7943 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7944 if eval \
${$as_ac_var+:} false
; then :
7945 $as_echo_n "(cached) " >&6
7947 ac_wine_try_cflags_saved
=$CFLAGS
7948 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7950 /* end confdefs.h. */
7951 int main(int argc, char **argv) { return 0; }
7953 if ac_fn_c_try_link
"$LINENO"; then :
7954 eval "$as_ac_var=yes"
7956 eval "$as_ac_var=no"
7958 rm -f core conftest.err conftest.
$ac_objext \
7959 conftest
$ac_exeext conftest.
$ac_ext
7960 CFLAGS
=$ac_wine_try_cflags_saved
7962 eval ac_res
=\$
$as_ac_var
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7964 $as_echo "$ac_res" >&6; }
7965 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7966 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7967 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7972 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7973 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
7974 $as_echo_n "(cached) " >&6
7976 ac_wine_try_cflags_saved
=$CFLAGS
7977 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
7978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7979 /* end confdefs.h. */
7980 int main(int argc, char **argv) { return 0; }
7982 if ac_fn_c_try_link
"$LINENO"; then :
7983 ac_cv_cflags__Wl___enable_new_dtags
=yes
7985 ac_cv_cflags__Wl___enable_new_dtags
=no
7987 rm -f core conftest.err conftest.
$ac_objext \
7988 conftest
$ac_exeext conftest.
$ac_ext
7989 CFLAGS
=$ac_wine_try_cflags_saved
7991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7992 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7993 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
7994 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7998 *i
[3456789]86* | x86_64
)
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8000 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8001 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8002 $as_echo_n "(cached) " >&6
8004 ac_wine_try_cflags_saved
=$CFLAGS
8005 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8007 /* end confdefs.h. */
8008 int main(int argc, char **argv) { return 0; }
8010 if ac_fn_c_try_link
"$LINENO"; then :
8011 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8013 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8015 rm -f core conftest.err conftest.
$ac_objext \
8016 conftest
$ac_exeext conftest.
$ac_ext
8017 CFLAGS
=$ac_wine_try_cflags_saved
8019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8020 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8021 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8022 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8027 libwine_targets
="libwine.so"
8029 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8033 libwine.so: \$(OBJS)
8034 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8036 install install-lib:: libwine.so
8037 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8040 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8044 as_fn_append LOADER_RULES
"
8045 $wine_binary: main.o
8046 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8048 wine-installed: main.o
8049 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8054 DLLFLAGS
="$DLLFLAGS -fPIC"
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8057 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8058 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8059 $as_echo_n "(cached) " >&6
8061 ac_wine_try_cflags_saved
=$CFLAGS
8062 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8064 /* end confdefs.h. */
8067 if ac_fn_c_try_link
"$LINENO"; then :
8068 ac_cv_c_dll_gnuelf
="yes"
8070 ac_cv_c_dll_gnuelf
="no"
8072 rm -f core conftest.err conftest.
$ac_objext \
8073 conftest
$ac_exeext conftest.
$ac_ext
8074 CFLAGS
=$ac_wine_try_cflags_saved
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8077 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8078 if test "$ac_cv_c_dll_gnuelf" = "yes"
8080 LDSHARED
="\$(CC) -shared"
8081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8082 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8083 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8084 $as_echo_n "(cached) " >&6
8086 ac_wine_try_cflags_saved
=$CFLAGS
8087 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8089 /* end confdefs.h. */
8090 int main(int argc, char **argv) { return 0; }
8092 if ac_fn_c_try_link
"$LINENO"; then :
8093 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8095 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8097 rm -f core conftest.err conftest.
$ac_objext \
8098 conftest
$ac_exeext conftest.
$ac_ext
8099 CFLAGS
=$ac_wine_try_cflags_saved
8101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8102 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8103 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8104 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8107 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8108 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8109 $as_echo_n "(cached) " >&6
8111 ac_wine_try_cflags_saved
=$CFLAGS
8112 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8113 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8114 /* end confdefs.h. */
8115 int main(int argc, char **argv) { return 0; }
8117 if ac_fn_c_try_link
"$LINENO"; then :
8118 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8120 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8122 rm -f core conftest.err conftest.
$ac_objext \
8123 conftest
$ac_exeext conftest.
$ac_ext
8124 CFLAGS
=$ac_wine_try_cflags_saved
8126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8127 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8128 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8129 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8133 echo '{ global: *; };' >conftest.map
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8135 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8136 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8137 $as_echo_n "(cached) " >&6
8139 ac_wine_try_cflags_saved
=$CFLAGS
8140 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8142 /* end confdefs.h. */
8143 int main(int argc, char **argv) { return 0; }
8145 if ac_fn_c_try_link
"$LINENO"; then :
8146 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8148 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8150 rm -f core conftest.err conftest.
$ac_objext \
8151 conftest
$ac_exeext conftest.
$ac_ext
8152 CFLAGS
=$ac_wine_try_cflags_saved
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8155 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8156 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8157 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8162 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8163 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8164 $as_echo_n "(cached) " >&6
8166 ac_wine_try_cflags_saved
=$CFLAGS
8167 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8169 /* end confdefs.h. */
8170 int main(int argc, char **argv) { return 0; }
8172 if ac_fn_c_try_link
"$LINENO"; then :
8173 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8175 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8177 rm -f core conftest.err conftest.
$ac_objext \
8178 conftest
$ac_exeext conftest.
$ac_ext
8179 CFLAGS
=$ac_wine_try_cflags_saved
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8182 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8183 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8184 LDEXECFLAGS
="-Wl,--export-dynamic"
8187 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8189 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8190 if eval \
${$as_ac_var+:} false
; then :
8191 $as_echo_n "(cached) " >&6
8193 ac_wine_try_cflags_saved
=$CFLAGS
8194 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8195 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8196 /* end confdefs.h. */
8197 int main(int argc, char **argv) { return 0; }
8199 if ac_fn_c_try_link
"$LINENO"; then :
8200 eval "$as_ac_var=yes"
8202 eval "$as_ac_var=no"
8204 rm -f core conftest.err conftest.
$ac_objext \
8205 conftest
$ac_exeext conftest.
$ac_ext
8206 CFLAGS
=$ac_wine_try_cflags_saved
8208 eval ac_res
=\$
$as_ac_var
8209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8210 $as_echo "$ac_res" >&6; }
8211 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8212 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8213 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8215 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8217 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8218 if eval \
${$as_ac_var+:} false
; then :
8219 $as_echo_n "(cached) " >&6
8221 ac_wine_try_cflags_saved
=$CFLAGS
8222 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8224 /* end confdefs.h. */
8225 int main(int argc, char **argv) { return 0; }
8227 if ac_fn_c_try_link
"$LINENO"; then :
8228 eval "$as_ac_var=yes"
8230 eval "$as_ac_var=no"
8232 rm -f core conftest.err conftest.
$ac_objext \
8233 conftest
$ac_exeext conftest.
$ac_ext
8234 CFLAGS
=$ac_wine_try_cflags_saved
8236 eval ac_res
=\$
$as_ac_var
8237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8238 $as_echo "$ac_res" >&6; }
8239 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8240 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8241 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8246 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8247 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8248 $as_echo_n "(cached) " >&6
8250 ac_wine_try_cflags_saved
=$CFLAGS
8251 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8253 /* end confdefs.h. */
8254 int main(int argc, char **argv) { return 0; }
8256 if ac_fn_c_try_link
"$LINENO"; then :
8257 ac_cv_cflags__Wl___enable_new_dtags
=yes
8259 ac_cv_cflags__Wl___enable_new_dtags
=no
8261 rm -f core conftest.err conftest.
$ac_objext \
8262 conftest
$ac_exeext conftest.
$ac_ext
8263 CFLAGS
=$ac_wine_try_cflags_saved
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8266 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8267 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8268 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8272 *i
[3456789]86* | x86_64
)
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8274 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8275 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8276 $as_echo_n "(cached) " >&6
8278 ac_wine_try_cflags_saved
=$CFLAGS
8279 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8281 /* end confdefs.h. */
8282 int main(int argc, char **argv) { return 0; }
8284 if ac_fn_c_try_link
"$LINENO"; then :
8285 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8287 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8289 rm -f core conftest.err conftest.
$ac_objext \
8290 conftest
$ac_exeext conftest.
$ac_ext
8291 CFLAGS
=$ac_wine_try_cflags_saved
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8294 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8295 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8297 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8298 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8302 # Extract the first word of "prelink", so it can be a program name with args.
8303 set dummy prelink
; ac_word
=$2
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8305 $as_echo_n "checking for $ac_word... " >&6; }
8306 if ${ac_cv_path_PRELINK+:} false
; then :
8307 $as_echo_n "(cached) " >&6
8311 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8315 for as_dir
in /sbin
/usr
/sbin
$PATH
8318 test -z "$as_dir" && as_dir
=.
8319 for ac_exec_ext
in '' $ac_executable_extensions; do
8320 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8321 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8329 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8333 PRELINK
=$ac_cv_path_PRELINK
8334 if test -n "$PRELINK"; then
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8336 $as_echo "$PRELINK" >&6; }
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8339 $as_echo "no" >&6; }
8343 if test "x$PRELINK" = xfalse
8345 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8352 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8353 if ${ac_cv_c_dll_unixware+:} false
; then :
8354 $as_echo_n "(cached) " >&6
8356 ac_wine_try_cflags_saved
=$CFLAGS
8357 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8359 /* end confdefs.h. */
8362 if ac_fn_c_try_link
"$LINENO"; then :
8363 ac_cv_c_dll_unixware
="yes"
8365 ac_cv_c_dll_unixware
="no"
8367 rm -f core conftest.err conftest.
$ac_objext \
8368 conftest
$ac_exeext conftest.
$ac_ext
8369 CFLAGS
=$ac_wine_try_cflags_saved
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8372 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8373 if test "$ac_cv_c_dll_unixware" = "yes"
8375 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8378 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8380 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8384 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8385 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8387 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8388 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8390 libwine.so: libwine.so.$libwine_soversion
8391 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8393 install install-lib:: libwine.so.$libwine_version
8394 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8395 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8397 install install-dev::
8398 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8401 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8405 as_fn_append LOADER_RULES
"
8406 $wine_binary: main.o
8407 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8409 wine-installed: main.o
8410 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8415 as_fn_append LIBWINE_RULES
"
8416 EXTRA_TARGETS = $libwine_targets
8419 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8420 enable_winemac_drv
=${enable_winemac_drv:-no}
8424 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8428 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
8431 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 " ;;
8433 ac_prefix_list
="" ;;
8435 for ac_prog
in $ac_prefix_list
8437 # Extract the first word of "$ac_prog", so it can be a program name with args.
8438 set dummy
$ac_prog; ac_word
=$2
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8440 $as_echo_n "checking for $ac_word... " >&6; }
8441 if ${ac_cv_prog_CROSSCC+:} false
; then :
8442 $as_echo_n "(cached) " >&6
8444 if test -n "$CROSSCC"; then
8445 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8447 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8451 test -z "$as_dir" && as_dir
=.
8452 for ac_exec_ext
in '' $ac_executable_extensions; do
8453 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8454 ac_cv_prog_CROSSCC
="$ac_prog"
8455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8464 CROSSCC
=$ac_cv_prog_CROSSCC
8465 if test -n "$CROSSCC"; then
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8467 $as_echo "$CROSSCC" >&6; }
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8470 $as_echo "no" >&6; }
8474 test -n "$CROSSCC" && break
8476 test -n "$CROSSCC" || CROSSCC
="false"
8478 if test "$CROSSCC" != "false"
8482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8483 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8485 /* end confdefs.h. */
8495 if ac_fn_c_try_compile
"$LINENO"; then :
8496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8497 $as_echo "yes" >&6; }
8503 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8509 $as_echo "no" >&6; }
8511 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8517 if test "$ac_cv_header_pthread_h" = "yes"
8519 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8520 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8524 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8525 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8526 $as_echo_n "(cached) " >&6
8528 ac_check_lib_save_LIBS
=$LIBS
8529 LIBS
="-lpthread $LIBS"
8530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8531 /* end confdefs.h. */
8533 /* Override any GCC internal prototype to avoid an error.
8534 Use char because int might match the return type of a GCC
8535 builtin and then its argument prototype would still apply. */
8539 char pthread_create ();
8543 return pthread_create ();
8548 if ac_fn_c_try_link
"$LINENO"; then :
8549 ac_cv_lib_pthread_pthread_create
=yes
8551 ac_cv_lib_pthread_pthread_create
=no
8553 rm -f core conftest.err conftest.
$ac_objext \
8554 conftest
$ac_exeext conftest.
$ac_ext
8555 LIBS
=$ac_check_lib_save_LIBS
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8558 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8559 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8560 PTHREAD_LIBS
="-lpthread"
8567 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8568 case "x$with_pthread" in
8570 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8571 Wine cannot support threads without libpthread.
8572 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8578 $as_echo_n "checking for X... " >&6; }
8581 # Check whether --with-x was given.
8582 if test "${with_x+set}" = set; then :
8586 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8587 if test "x$with_x" = xno
; then
8588 # The user explicitly disabled X.
8591 case $x_includes,$x_libraries in #(
8592 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8593 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8594 $as_echo_n "(cached) " >&6
8596 # One or both of the vars are not set, and there is no cached value.
8597 ac_x_includes
=no ac_x_libraries
=no
8598 rm -f -r conftest.dir
8599 if mkdir conftest.dir
; then
8601 cat >Imakefile
<<'_ACEOF'
8603 @echo incroot='${INCROOT}'
8605 @echo usrlibdir='${USRLIBDIR}'
8607 @echo libdir='${LIBDIR}'
8609 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8610 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8611 for ac_var
in incroot usrlibdir libdir
; do
8612 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8614 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8615 for ac_extension
in a so sl dylib la dll
; do
8616 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8617 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8618 ac_im_usrlibdir
=$ac_im_libdir; break
8621 # Screen out bogus values from the imake configuration. They are
8622 # bogus both because they are the default anyway, and because
8623 # using them would break gcc on systems where it needs fixed includes.
8624 case $ac_im_incroot in
8625 /usr
/include
) ac_x_includes
= ;;
8626 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8628 case $ac_im_usrlibdir in
8629 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8630 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8634 rm -f -r conftest.dir
8637 # Standard set of common directories for X headers.
8638 # Check X11 before X11Rn because it is often a symlink to the current release.
8652 /usr/local/X11/include
8653 /usr/local/X11R7/include
8654 /usr/local/X11R6/include
8655 /usr/local/X11R5/include
8656 /usr/local/X11R4/include
8658 /usr/local/include/X11
8659 /usr/local/include/X11R7
8660 /usr/local/include/X11R6
8661 /usr/local/include/X11R5
8662 /usr/local/include/X11R4
8666 /usr/XFree86/include/X11
8670 /usr/unsupported/include
8672 /usr/local/x11r5/include
8673 /usr/lpp/Xamples/include
8675 /usr/openwin/include
8676 /usr/openwin/share/include'
8678 if test "$ac_x_includes" = no
; then
8679 # Guess where to find include files, by looking for Xlib.h.
8680 # First, try using that file with no special directory specified.
8681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8682 /* end confdefs.h. */
8683 #include <X11/Xlib.h>
8685 if ac_fn_c_try_cpp
"$LINENO"; then :
8686 # We can compile using X headers with no special include directory.
8689 for ac_dir
in $ac_x_header_dirs; do
8690 if test -r "$ac_dir/X11/Xlib.h"; then
8691 ac_x_includes
=$ac_dir
8696 rm -f conftest.err conftest.i conftest.
$ac_ext
8697 fi # $ac_x_includes = no
8699 if test "$ac_x_libraries" = no
; then
8700 # Check for the libraries.
8701 # See if we find them without any special options.
8702 # Don't add to $LIBS permanently.
8705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8706 /* end confdefs.h. */
8707 #include <X11/Xlib.h>
8716 if ac_fn_c_try_link
"$LINENO"; then :
8718 # We can link X programs with no special library path.
8722 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8724 # Don't even attempt the hair of trying to link an X program!
8725 for ac_extension
in a so sl dylib la dll
; do
8726 if test -r "$ac_dir/libX11.$ac_extension"; then
8727 ac_x_libraries
=$ac_dir
8733 rm -f core conftest.err conftest.
$ac_objext \
8734 conftest
$ac_exeext conftest.
$ac_ext
8735 fi # $ac_x_libraries = no
8737 case $ac_x_includes,$ac_x_libraries in #(
8739 # Didn't find X, or a directory has "'" in its name.
8740 ac_cv_have_x
="have_x=no";; #(
8742 # Record where we found X for the cache.
8743 ac_cv_have_x
="have_x=yes\
8744 ac_x_includes='$ac_x_includes'\
8745 ac_x_libraries='$ac_x_libraries'"
8751 eval "$ac_cv_have_x"
8754 if test "$have_x" != yes; then
8755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8756 $as_echo "$have_x" >&6; }
8759 # If each of the values was on the command line, it overrides each guess.
8760 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8761 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8762 # Update the cache value to reflect the command line values.
8763 ac_cv_have_x
="have_x=yes\
8764 ac_x_includes='$x_includes'\
8765 ac_x_libraries='$x_libraries'"
8766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8767 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8770 if test "$no_x" = yes; then
8771 # Not all programs may use this symbol, but it does not hurt to define it.
8773 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8775 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8777 if test -n "$x_includes"; then
8778 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8781 # It would also be nice to do this for all -L options, not just this one.
8782 if test -n "$x_libraries"; then
8783 X_LIBS
="$X_LIBS -L$x_libraries"
8784 # For Solaris; some versions of Sun CC require a space after -R and
8785 # others require no space. Words are not sufficient . . . .
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8787 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8788 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
8789 ac_xsave_c_werror_flag
=$ac_c_werror_flag
8790 ac_c_werror_flag
=yes
8791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8792 /* end confdefs.h. */
8802 if ac_fn_c_try_link
"$LINENO"; then :
8803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8804 $as_echo "no" >&6; }
8805 X_LIBS
="$X_LIBS -R$x_libraries"
8807 LIBS
="$ac_xsave_LIBS -R $x_libraries"
8808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8809 /* end confdefs.h. */
8819 if ac_fn_c_try_link
"$LINENO"; then :
8820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8821 $as_echo "yes" >&6; }
8822 X_LIBS
="$X_LIBS -R $x_libraries"
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8825 $as_echo "neither works" >&6; }
8827 rm -f core conftest.err conftest.
$ac_objext \
8828 conftest
$ac_exeext conftest.
$ac_ext
8830 rm -f core conftest.err conftest.
$ac_objext \
8831 conftest
$ac_exeext conftest.
$ac_ext
8832 ac_c_werror_flag
=$ac_xsave_c_werror_flag
8836 # Check for system-dependent libraries X programs must link with.
8837 # Do this before checking for the system-independent R6 libraries
8838 # (-lICE), since we may need -lsocket or whatever for X linking.
8840 if test "$ISC" = yes; then
8841 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
8843 # Martyn Johnson says this is needed for Ultrix, if the X
8844 # libraries were built with DECnet support. And Karl Berry says
8845 # the Alpha needs dnet_stub (dnet does not exist).
8846 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
8847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8848 /* end confdefs.h. */
8850 /* Override any GCC internal prototype to avoid an error.
8851 Use char because int might match the return type of a GCC
8852 builtin and then its argument prototype would still apply. */
8856 char XOpenDisplay ();
8860 return XOpenDisplay ();
8865 if ac_fn_c_try_link
"$LINENO"; then :
8868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8869 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8870 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
8871 $as_echo_n "(cached) " >&6
8873 ac_check_lib_save_LIBS
=$LIBS
8875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8876 /* end confdefs.h. */
8878 /* Override any GCC internal prototype to avoid an error.
8879 Use char because int might match the return type of a GCC
8880 builtin and then its argument prototype would still apply. */
8888 return dnet_ntoa ();
8893 if ac_fn_c_try_link
"$LINENO"; then :
8894 ac_cv_lib_dnet_dnet_ntoa
=yes
8896 ac_cv_lib_dnet_dnet_ntoa
=no
8898 rm -f core conftest.err conftest.
$ac_objext \
8899 conftest
$ac_exeext conftest.
$ac_ext
8900 LIBS
=$ac_check_lib_save_LIBS
8902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8903 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8904 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
8905 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8908 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8910 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8911 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
8912 $as_echo_n "(cached) " >&6
8914 ac_check_lib_save_LIBS
=$LIBS
8915 LIBS
="-ldnet_stub $LIBS"
8916 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8917 /* end confdefs.h. */
8919 /* Override any GCC internal prototype to avoid an error.
8920 Use char because int might match the return type of a GCC
8921 builtin and then its argument prototype would still apply. */
8929 return dnet_ntoa ();
8934 if ac_fn_c_try_link
"$LINENO"; then :
8935 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
8937 ac_cv_lib_dnet_stub_dnet_ntoa
=no
8939 rm -f core conftest.err conftest.
$ac_objext \
8940 conftest
$ac_exeext conftest.
$ac_ext
8941 LIBS
=$ac_check_lib_save_LIBS
8943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8944 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8945 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
8946 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
8951 rm -f core conftest.err conftest.
$ac_objext \
8952 conftest
$ac_exeext conftest.
$ac_ext
8953 LIBS
="$ac_xsave_LIBS"
8955 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8956 # to get the SysV transport functions.
8957 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8959 # The nsl library prevents programs from opening the X display
8960 # on Irix 5.2, according to T.E. Dickey.
8961 # The functions gethostbyname, getservbyname, and inet_addr are
8962 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8963 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8964 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
8968 if test $ac_cv_func_gethostbyname = no
; then
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8970 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8971 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
8972 $as_echo_n "(cached) " >&6
8974 ac_check_lib_save_LIBS
=$LIBS
8976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8977 /* end confdefs.h. */
8979 /* Override any GCC internal prototype to avoid an error.
8980 Use char because int might match the return type of a GCC
8981 builtin and then its argument prototype would still apply. */
8985 char gethostbyname ();
8989 return gethostbyname ();
8994 if ac_fn_c_try_link
"$LINENO"; then :
8995 ac_cv_lib_nsl_gethostbyname
=yes
8997 ac_cv_lib_nsl_gethostbyname
=no
8999 rm -f core conftest.err conftest.
$ac_objext \
9000 conftest
$ac_exeext conftest.
$ac_ext
9001 LIBS
=$ac_check_lib_save_LIBS
9003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9004 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9005 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9006 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9009 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9011 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9012 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9013 $as_echo_n "(cached) " >&6
9015 ac_check_lib_save_LIBS
=$LIBS
9017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9018 /* end confdefs.h. */
9020 /* Override any GCC internal prototype to avoid an error.
9021 Use char because int might match the return type of a GCC
9022 builtin and then its argument prototype would still apply. */
9026 char gethostbyname ();
9030 return gethostbyname ();
9035 if ac_fn_c_try_link
"$LINENO"; then :
9036 ac_cv_lib_bsd_gethostbyname
=yes
9038 ac_cv_lib_bsd_gethostbyname
=no
9040 rm -f core conftest.err conftest.
$ac_objext \
9041 conftest
$ac_exeext conftest.
$ac_ext
9042 LIBS
=$ac_check_lib_save_LIBS
9044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9045 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9046 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9047 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9053 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9054 # socket/setsockopt and other routines are undefined under SCO ODT
9055 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9056 # on later versions), says Simon Leinen: it contains gethostby*
9057 # variants that don't use the name server (or something). -lsocket
9058 # must be given before -lnsl if both are needed. We assume that
9059 # if connect needs -lnsl, so does gethostbyname.
9060 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9061 if test "x$ac_cv_func_connect" = xyes
; then :
9065 if test $ac_cv_func_connect = no
; then
9066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9067 $as_echo_n "checking for connect in -lsocket... " >&6; }
9068 if ${ac_cv_lib_socket_connect+:} false
; then :
9069 $as_echo_n "(cached) " >&6
9071 ac_check_lib_save_LIBS
=$LIBS
9072 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9074 /* end confdefs.h. */
9076 /* Override any GCC internal prototype to avoid an error.
9077 Use char because int might match the return type of a GCC
9078 builtin and then its argument prototype would still apply. */
9091 if ac_fn_c_try_link
"$LINENO"; then :
9092 ac_cv_lib_socket_connect
=yes
9094 ac_cv_lib_socket_connect
=no
9096 rm -f core conftest.err conftest.
$ac_objext \
9097 conftest
$ac_exeext conftest.
$ac_ext
9098 LIBS
=$ac_check_lib_save_LIBS
9100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9101 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9102 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9103 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9108 # Guillermo Gomez says -lposix is necessary on A/UX.
9109 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9110 if test "x$ac_cv_func_remove" = xyes
; then :
9114 if test $ac_cv_func_remove = no
; then
9115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9116 $as_echo_n "checking for remove in -lposix... " >&6; }
9117 if ${ac_cv_lib_posix_remove+:} false
; then :
9118 $as_echo_n "(cached) " >&6
9120 ac_check_lib_save_LIBS
=$LIBS
9121 LIBS
="-lposix $LIBS"
9122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9123 /* end confdefs.h. */
9125 /* Override any GCC internal prototype to avoid an error.
9126 Use char because int might match the return type of a GCC
9127 builtin and then its argument prototype would still apply. */
9140 if ac_fn_c_try_link
"$LINENO"; then :
9141 ac_cv_lib_posix_remove
=yes
9143 ac_cv_lib_posix_remove
=no
9145 rm -f core conftest.err conftest.
$ac_objext \
9146 conftest
$ac_exeext conftest.
$ac_ext
9147 LIBS
=$ac_check_lib_save_LIBS
9149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9150 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9151 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9152 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9157 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9158 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9159 if test "x$ac_cv_func_shmat" = xyes
; then :
9163 if test $ac_cv_func_shmat = no
; then
9164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9165 $as_echo_n "checking for shmat in -lipc... " >&6; }
9166 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9167 $as_echo_n "(cached) " >&6
9169 ac_check_lib_save_LIBS
=$LIBS
9171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9172 /* end confdefs.h. */
9174 /* Override any GCC internal prototype to avoid an error.
9175 Use char because int might match the return type of a GCC
9176 builtin and then its argument prototype would still apply. */
9189 if ac_fn_c_try_link
"$LINENO"; then :
9190 ac_cv_lib_ipc_shmat
=yes
9192 ac_cv_lib_ipc_shmat
=no
9194 rm -f core conftest.err conftest.
$ac_objext \
9195 conftest
$ac_exeext conftest.
$ac_ext
9196 LIBS
=$ac_check_lib_save_LIBS
9198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9199 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9200 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9201 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9207 # Check for libraries that X11R6 Xt/Xaw programs need.
9208 ac_save_LDFLAGS
=$LDFLAGS
9209 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9210 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9211 # check for ICE first), but we must link in the order -lSM -lICE or
9212 # we get undefined symbols. So assume we have SM if we have ICE.
9213 # These have to be linked with before -lX11, unlike the other
9214 # libraries we check for below, so use a different variable.
9215 # John Interrante, Karl Berry
9216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9217 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9218 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9219 $as_echo_n "(cached) " >&6
9221 ac_check_lib_save_LIBS
=$LIBS
9222 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9224 /* end confdefs.h. */
9226 /* Override any GCC internal prototype to avoid an error.
9227 Use char because int might match the return type of a GCC
9228 builtin and then its argument prototype would still apply. */
9232 char IceConnectionNumber ();
9236 return IceConnectionNumber ();
9241 if ac_fn_c_try_link
"$LINENO"; then :
9242 ac_cv_lib_ICE_IceConnectionNumber
=yes
9244 ac_cv_lib_ICE_IceConnectionNumber
=no
9246 rm -f core conftest.err conftest.
$ac_objext \
9247 conftest
$ac_exeext conftest.
$ac_ext
9248 LIBS
=$ac_check_lib_save_LIBS
9250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9251 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9252 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9253 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9256 LDFLAGS
=$ac_save_LDFLAGS
9261 if test "$have_x" = "yes"
9263 ac_save_CPPFLAGS
="$CPPFLAGS"
9264 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9267 $as_echo_n "checking for -lX11... " >&6; }
9268 if ${ac_cv_lib_soname_X11+:} false
; then :
9269 $as_echo_n "(cached) " >&6
9271 ac_check_soname_save_LIBS
=$LIBS
9272 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9274 /* end confdefs.h. */
9276 /* Override any GCC internal prototype to avoid an error.
9277 Use char because int might match the return type of a GCC
9278 builtin and then its argument prototype would still apply. */
9282 char XCreateWindow ();
9286 return XCreateWindow ();
9291 if ac_fn_c_try_link
"$LINENO"; then :
9293 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9294 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'` ;;
9295 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9296 if ${ac_cv_lib_soname_X11:+false} :; then :
9297 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9301 rm -f core conftest.err conftest.
$ac_objext \
9302 conftest
$ac_exeext conftest.
$ac_ext
9303 LIBS
=$ac_check_soname_save_LIBS
9305 if ${ac_cv_lib_soname_X11:+false} :; then :
9306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9307 $as_echo "not found" >&6; }
9310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9311 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9313 cat >>confdefs.h
<<_ACEOF
9314 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9320 $as_echo_n "checking for -lXext... " >&6; }
9321 if ${ac_cv_lib_soname_Xext+:} false
; then :
9322 $as_echo_n "(cached) " >&6
9324 ac_check_soname_save_LIBS
=$LIBS
9325 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9327 /* end confdefs.h. */
9329 /* Override any GCC internal prototype to avoid an error.
9330 Use char because int might match the return type of a GCC
9331 builtin and then its argument prototype would still apply. */
9335 char XextCreateExtension ();
9339 return XextCreateExtension ();
9344 if ac_fn_c_try_link
"$LINENO"; then :
9346 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9347 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'` ;;
9348 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9349 if ${ac_cv_lib_soname_Xext:+false} :; then :
9350 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9354 rm -f core conftest.err conftest.
$ac_objext \
9355 conftest
$ac_exeext conftest.
$ac_ext
9356 LIBS
=$ac_check_soname_save_LIBS
9358 if ${ac_cv_lib_soname_Xext:+false} :; then :
9359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9360 $as_echo "not found" >&6; }
9363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9364 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9366 cat >>confdefs.h
<<_ACEOF
9367 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9370 X_LIBS
="$X_LIBS -lXext"
9372 X_LIBS
="$X_LIBS -lX11"
9374 for ac_header
in X11
/Xlib.h \
9377 X11
/Xcursor
/Xcursor.h \
9378 X11
/extensions
/shape.h \
9379 X11
/extensions
/XInput.h \
9380 X11
/extensions
/XInput2.h \
9381 X11
/extensions
/XShm.h \
9382 X11
/extensions
/Xcomposite.h \
9383 X11
/extensions
/Xinerama.h \
9384 X11
/extensions
/Xrandr.h \
9385 X11
/extensions
/Xrender.h \
9386 X11
/extensions
/xf86vmode.h \
9387 X11
/extensions
/xf86vmproto.h
9389 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9390 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9391 # include <X11/Xlib.h>
9393 #ifdef HAVE_X11_XUTIL_H
9394 # include <X11/Xutil.h>
9397 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9398 cat >>confdefs.h
<<_ACEOF
9399 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9407 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9410 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9411 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9412 $as_echo_n "(cached) " >&6
9414 ac_check_lib_save_LIBS
=$LIBS
9415 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9416 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9417 /* end confdefs.h. */
9419 /* Override any GCC internal prototype to avoid an error.
9420 Use char because int might match the return type of a GCC
9421 builtin and then its argument prototype would still apply. */
9425 char XkbQueryExtension ();
9429 return XkbQueryExtension ();
9434 if ac_fn_c_try_link
"$LINENO"; then :
9435 ac_cv_lib_X11_XkbQueryExtension
=yes
9437 ac_cv_lib_X11_XkbQueryExtension
=no
9439 rm -f core conftest.err conftest.
$ac_objext \
9440 conftest
$ac_exeext conftest.
$ac_ext
9441 LIBS
=$ac_check_lib_save_LIBS
9443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9444 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9445 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9447 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9453 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9456 $as_echo_n "checking for -lXcursor... " >&6; }
9457 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9458 $as_echo_n "(cached) " >&6
9460 ac_check_soname_save_LIBS
=$LIBS
9461 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9462 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9463 /* end confdefs.h. */
9465 /* Override any GCC internal prototype to avoid an error.
9466 Use char because int might match the return type of a GCC
9467 builtin and then its argument prototype would still apply. */
9471 char XcursorImageLoadCursor ();
9475 return XcursorImageLoadCursor ();
9480 if ac_fn_c_try_link
"$LINENO"; then :
9482 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9483 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'` ;;
9484 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9485 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9486 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9490 rm -f core conftest.err conftest.
$ac_objext \
9491 conftest
$ac_exeext conftest.
$ac_ext
9492 LIBS
=$ac_check_soname_save_LIBS
9494 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9496 $as_echo "not found" >&6; }
9499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9500 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9502 cat >>confdefs.h
<<_ACEOF
9503 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9509 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9510 case "x$with_xcursor" in
9511 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9513 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9514 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9518 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9521 $as_echo_n "checking for -lXi... " >&6; }
9522 if ${ac_cv_lib_soname_Xi+:} false
; then :
9523 $as_echo_n "(cached) " >&6
9525 ac_check_soname_save_LIBS
=$LIBS
9526 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9527 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9528 /* end confdefs.h. */
9530 /* Override any GCC internal prototype to avoid an error.
9531 Use char because int might match the return type of a GCC
9532 builtin and then its argument prototype would still apply. */
9536 char XOpenDevice ();
9540 return XOpenDevice ();
9545 if ac_fn_c_try_link
"$LINENO"; then :
9547 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9548 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'` ;;
9549 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9550 if ${ac_cv_lib_soname_Xi:+false} :; then :
9551 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9555 rm -f core conftest.err conftest.
$ac_objext \
9556 conftest
$ac_exeext conftest.
$ac_ext
9557 LIBS
=$ac_check_soname_save_LIBS
9559 if ${ac_cv_lib_soname_Xi:+false} :; then :
9560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9561 $as_echo "not found" >&6; }
9564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9565 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9567 cat >>confdefs.h
<<_ACEOF
9568 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9574 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9575 case "x$with_xinput" in
9576 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9578 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9579 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9583 if test "x$ac_cv_lib_soname_Xi" != x
9585 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9586 case "x$with_xinput2" in
9587 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9589 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9590 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9595 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9598 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9599 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9600 $as_echo_n "(cached) " >&6
9602 ac_check_lib_save_LIBS
=$LIBS
9603 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9604 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9605 /* end confdefs.h. */
9607 /* Override any GCC internal prototype to avoid an error.
9608 Use char because int might match the return type of a GCC
9609 builtin and then its argument prototype would still apply. */
9613 char XShmQueryExtension ();
9617 return XShmQueryExtension ();
9622 if ac_fn_c_try_link
"$LINENO"; then :
9623 ac_cv_lib_Xext_XShmQueryExtension
=yes
9625 ac_cv_lib_Xext_XShmQueryExtension
=no
9627 rm -f core conftest.err conftest.
$ac_objext \
9628 conftest
$ac_exeext conftest.
$ac_ext
9629 LIBS
=$ac_check_lib_save_LIBS
9631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9632 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9633 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9635 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9640 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9641 case "x$with_xshm" in
9642 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9644 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9645 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9649 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9652 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9653 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9654 $as_echo_n "(cached) " >&6
9656 ac_check_lib_save_LIBS
=$LIBS
9657 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9659 /* end confdefs.h. */
9661 /* Override any GCC internal prototype to avoid an error.
9662 Use char because int might match the return type of a GCC
9663 builtin and then its argument prototype would still apply. */
9667 char XShapeQueryExtension ();
9671 return XShapeQueryExtension ();
9676 if ac_fn_c_try_link
"$LINENO"; then :
9677 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9679 ac_cv_lib_Xext_XShapeQueryExtension
=no
9681 rm -f core conftest.err conftest.
$ac_objext \
9682 conftest
$ac_exeext conftest.
$ac_ext
9683 LIBS
=$ac_check_lib_save_LIBS
9685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9686 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9687 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9689 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9694 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9695 case "x$with_xshape" in
9696 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9698 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9699 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9703 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9706 $as_echo_n "checking for -lXxf86vm... " >&6; }
9707 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9708 $as_echo_n "(cached) " >&6
9710 ac_check_soname_save_LIBS
=$LIBS
9711 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9713 /* end confdefs.h. */
9715 /* Override any GCC internal prototype to avoid an error.
9716 Use char because int might match the return type of a GCC
9717 builtin and then its argument prototype would still apply. */
9721 char XF86VidModeQueryExtension ();
9725 return XF86VidModeQueryExtension ();
9730 if ac_fn_c_try_link
"$LINENO"; then :
9732 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9733 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'` ;;
9734 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9735 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9736 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9740 rm -f core conftest.err conftest.
$ac_objext \
9741 conftest
$ac_exeext conftest.
$ac_ext
9742 LIBS
=$ac_check_soname_save_LIBS
9744 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9746 $as_echo "not found" >&6; }
9749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9750 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9752 cat >>confdefs.h
<<_ACEOF
9753 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9759 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9760 case "x$with_xxf86vm" in
9761 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9763 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9764 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9768 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x" -a "x$ac_cv_lib_soname_Xext" != "x"
9770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9771 $as_echo_n "checking for -lXrender... " >&6; }
9772 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9773 $as_echo_n "(cached) " >&6
9775 ac_check_soname_save_LIBS
=$LIBS
9776 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9778 /* end confdefs.h. */
9780 /* Override any GCC internal prototype to avoid an error.
9781 Use char because int might match the return type of a GCC
9782 builtin and then its argument prototype would still apply. */
9786 char XRenderQueryExtension ();
9790 return XRenderQueryExtension ();
9795 if ac_fn_c_try_link
"$LINENO"; then :
9797 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9798 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'` ;;
9799 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9800 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9801 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9805 rm -f core conftest.err conftest.
$ac_objext \
9806 conftest
$ac_exeext conftest.
$ac_ext
9807 LIBS
=$ac_check_soname_save_LIBS
9809 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9811 $as_echo "not found" >&6; }
9814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9815 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9817 cat >>confdefs.h
<<_ACEOF
9818 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9822 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9823 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
9824 $as_echo_n "(cached) " >&6
9826 ac_check_lib_save_LIBS
=$LIBS
9827 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9829 /* end confdefs.h. */
9831 /* Override any GCC internal prototype to avoid an error.
9832 Use char because int might match the return type of a GCC
9833 builtin and then its argument prototype would still apply. */
9837 char XRenderSetPictureTransform ();
9841 return XRenderSetPictureTransform ();
9846 if ac_fn_c_try_link
"$LINENO"; then :
9847 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9849 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9851 rm -f core conftest.err conftest.
$ac_objext \
9852 conftest
$ac_exeext conftest.
$ac_ext
9853 LIBS
=$ac_check_lib_save_LIBS
9855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9856 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9857 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
9859 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9864 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9865 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
9866 $as_echo_n "(cached) " >&6
9868 ac_check_lib_save_LIBS
=$LIBS
9869 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9871 /* end confdefs.h. */
9873 /* Override any GCC internal prototype to avoid an error.
9874 Use char because int might match the return type of a GCC
9875 builtin and then its argument prototype would still apply. */
9879 char XRenderCreateLinearGradient ();
9883 return XRenderCreateLinearGradient ();
9888 if ac_fn_c_try_link
"$LINENO"; then :
9889 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
9891 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
9893 rm -f core conftest.err conftest.
$ac_objext \
9894 conftest
$ac_exeext conftest.
$ac_ext
9895 LIBS
=$ac_check_lib_save_LIBS
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9898 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9899 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
9901 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9908 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9909 case "x$with_xrender" in
9910 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9912 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
9913 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9917 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9920 /* end confdefs.h. */
9921 #include <X11/Xlib.h>
9922 #include <X11/extensions/Xrandr.h>
9926 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9931 if ac_fn_c_try_compile
"$LINENO"; then :
9932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9933 $as_echo_n "checking for -lXrandr... " >&6; }
9934 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
9935 $as_echo_n "(cached) " >&6
9937 ac_check_soname_save_LIBS
=$LIBS
9938 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
9939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9940 /* end confdefs.h. */
9942 /* Override any GCC internal prototype to avoid an error.
9943 Use char because int might match the return type of a GCC
9944 builtin and then its argument prototype would still apply. */
9948 char XRRQueryExtension ();
9952 return XRRQueryExtension ();
9957 if ac_fn_c_try_link
"$LINENO"; then :
9959 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9960 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'` ;;
9961 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9962 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9963 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9967 rm -f core conftest.err conftest.
$ac_objext \
9968 conftest
$ac_exeext conftest.
$ac_ext
9969 LIBS
=$ac_check_soname_save_LIBS
9971 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9973 $as_echo "not found" >&6; }
9976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
9977 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
9979 cat >>confdefs.h
<<_ACEOF
9980 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
9983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9984 /* end confdefs.h. */
9985 #include <X11/Xlib.h>
9986 #include <X11/extensions/Xrandr.h>
9990 static typeof(XRRGetScreenResources) *f; if (f) return 0;
9995 if ac_fn_c_try_compile
"$LINENO"; then :
9997 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10000 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10003 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10005 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10006 case "x$with_xrandr" in
10007 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10009 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10010 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10014 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10017 /* end confdefs.h. */
10018 #include <X11/Xlib.h>
10019 #include <X11/extensions/Xinerama.h>
10023 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10028 if ac_fn_c_try_compile
"$LINENO"; then :
10029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10030 $as_echo_n "checking for -lXinerama... " >&6; }
10031 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10032 $as_echo_n "(cached) " >&6
10034 ac_check_soname_save_LIBS
=$LIBS
10035 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10037 /* end confdefs.h. */
10039 /* Override any GCC internal prototype to avoid an error.
10040 Use char because int might match the return type of a GCC
10041 builtin and then its argument prototype would still apply. */
10045 char XineramaQueryScreens ();
10049 return XineramaQueryScreens ();
10054 if ac_fn_c_try_link
"$LINENO"; then :
10056 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10057 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'` ;;
10058 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10059 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10060 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10064 rm -f core conftest.err conftest.
$ac_objext \
10065 conftest
$ac_exeext conftest.
$ac_ext
10066 LIBS
=$ac_check_soname_save_LIBS
10068 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10070 $as_echo "not found" >&6; }
10073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10074 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10076 cat >>confdefs.h
<<_ACEOF
10077 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10083 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10085 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10086 case "x$with_xinerama" in
10087 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10089 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10090 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10094 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10097 $as_echo_n "checking for -lXcomposite... " >&6; }
10098 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10099 $as_echo_n "(cached) " >&6
10101 ac_check_soname_save_LIBS
=$LIBS
10102 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10104 /* end confdefs.h. */
10106 /* Override any GCC internal prototype to avoid an error.
10107 Use char because int might match the return type of a GCC
10108 builtin and then its argument prototype would still apply. */
10112 char XCompositeRedirectWindow ();
10116 return XCompositeRedirectWindow ();
10121 if ac_fn_c_try_link
"$LINENO"; then :
10123 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10124 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'` ;;
10125 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10126 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10127 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10131 rm -f core conftest.err conftest.
$ac_objext \
10132 conftest
$ac_exeext conftest.
$ac_ext
10133 LIBS
=$ac_check_soname_save_LIBS
10135 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10137 $as_echo "not found" >&6; }
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10141 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10143 cat >>confdefs.h
<<_ACEOF
10144 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10150 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10151 case "x$with_xcomposite" in
10152 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10154 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10155 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10159 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10160 #include <X11/Xlib.h>
10163 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10165 cat >>confdefs.h
<<_ACEOF
10166 #define HAVE_XICCALLBACK_CALLBACK 1
10171 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10172 #include <X11/Xlib.h>
10175 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10177 cat >>confdefs.h
<<_ACEOF
10178 #define HAVE_XEVENT_XCOOKIE 1
10187 if test "x$with_opengl" != "xno"
10189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10190 $as_echo_n "checking for -lGL... " >&6; }
10191 if ${ac_cv_lib_soname_GL+:} false
; then :
10192 $as_echo_n "(cached) " >&6
10194 ac_check_soname_save_LIBS
=$LIBS
10195 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10197 /* end confdefs.h. */
10199 /* Override any GCC internal prototype to avoid an error.
10200 Use char because int might match the return type of a GCC
10201 builtin and then its argument prototype would still apply. */
10205 char glXCreateContext ();
10209 return glXCreateContext ();
10214 if ac_fn_c_try_link
"$LINENO"; then :
10216 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10217 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'` ;;
10218 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10219 if ${ac_cv_lib_soname_GL:+false} :; then :
10220 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10224 rm -f core conftest.err conftest.
$ac_objext \
10225 conftest
$ac_exeext conftest.
$ac_ext
10226 LIBS
=$ac_check_soname_save_LIBS
10228 if ${ac_cv_lib_soname_GL:+false} :; then :
10229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10230 $as_echo "not found" >&6; }
10231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10232 $as_echo_n "checking for -lGL... " >&6; }
10233 if ${ac_cv_lib_soname_GL+:} false
; then :
10234 $as_echo_n "(cached) " >&6
10236 ac_check_soname_save_LIBS
=$LIBS
10237 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"
10238 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10239 /* end confdefs.h. */
10241 /* Override any GCC internal prototype to avoid an error.
10242 Use char because int might match the return type of a GCC
10243 builtin and then its argument prototype would still apply. */
10247 char glXCreateContext ();
10251 return glXCreateContext ();
10256 if ac_fn_c_try_link
"$LINENO"; then :
10258 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10259 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'` ;;
10260 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10261 if ${ac_cv_lib_soname_GL:+false} :; then :
10262 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10266 rm -f core conftest.err conftest.
$ac_objext \
10267 conftest
$ac_exeext conftest.
$ac_ext
10268 LIBS
=$ac_check_soname_save_LIBS
10270 if ${ac_cv_lib_soname_GL:+false} :; then :
10271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10272 $as_echo "not found" >&6; }
10273 if test -f /usr
/X11R
6/lib
/libGL.a
10275 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10276 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10278 opengl_msg
="No OpenGL library found on this system."
10281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10282 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10284 cat >>confdefs.h
<<_ACEOF
10285 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10288 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"
10291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10292 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10294 cat >>confdefs.h
<<_ACEOF
10295 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10300 if test "x$with_glu" != "xno"
10302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10303 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10304 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10305 $as_echo_n "(cached) " >&6
10307 ac_check_lib_save_LIBS
=$LIBS
10308 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10310 /* end confdefs.h. */
10312 /* Override any GCC internal prototype to avoid an error.
10313 Use char because int might match the return type of a GCC
10314 builtin and then its argument prototype would still apply. */
10322 return gluLookAt ();
10327 if ac_fn_c_try_link
"$LINENO"; then :
10328 ac_cv_lib_GLU_gluLookAt
=yes
10330 ac_cv_lib_GLU_gluLookAt
=no
10332 rm -f core conftest.err conftest.
$ac_objext \
10333 conftest
$ac_exeext conftest.
$ac_ext
10334 LIBS
=$ac_check_lib_save_LIBS
10336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10337 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10338 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10342 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10343 case "x$with_glu" in
10344 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10346 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10347 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10352 if test "x$with_osmesa" != "xno"
10354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10355 $as_echo_n "checking for -lOSMesa... " >&6; }
10356 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10357 $as_echo_n "(cached) " >&6
10359 ac_check_soname_save_LIBS
=$LIBS
10360 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10362 /* end confdefs.h. */
10364 /* Override any GCC internal prototype to avoid an error.
10365 Use char because int might match the return type of a GCC
10366 builtin and then its argument prototype would still apply. */
10379 if ac_fn_c_try_link
"$LINENO"; then :
10381 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10382 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'` ;;
10383 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10384 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10385 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10389 rm -f core conftest.err conftest.
$ac_objext \
10390 conftest
$ac_exeext conftest.
$ac_ext
10391 LIBS
=$ac_check_soname_save_LIBS
10393 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10395 $as_echo "not found" >&6; }
10398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10399 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10401 cat >>confdefs.h
<<_ACEOF
10402 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10407 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10408 case "x$with_osmesa" in
10409 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10411 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10412 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10417 if test -n "$opengl_msg"; then :
10418 case "x$with_opengl" in
10419 x
) as_fn_append wine_warnings
"|$opengl_msg
10420 OpenGL and Direct3D won't be supported." ;;
10422 *) as_fn_error $?
"$opengl_msg
10423 OpenGL and Direct3D won't be supported.
10424 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10428 CPPFLAGS
="$ac_save_CPPFLAGS"
10432 enable_winex11_drv
=${enable_winex11_drv:-no}
10434 if test "x$X_LIBS" = "x"; then :
10437 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10438 without X support, which probably isn't what you want. You will need
10439 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10440 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10444 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10446 if test "$ac_cv_header_CL_cl_h" = "yes"
10448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10449 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10450 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10451 $as_echo_n "(cached) " >&6
10453 ac_check_lib_save_LIBS
=$LIBS
10454 LIBS
="-lOpenCL $LIBS"
10455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10456 /* end confdefs.h. */
10458 /* Override any GCC internal prototype to avoid an error.
10459 Use char because int might match the return type of a GCC
10460 builtin and then its argument prototype would still apply. */
10464 char clGetPlatformInfo ();
10468 return clGetPlatformInfo ();
10473 if ac_fn_c_try_link
"$LINENO"; then :
10474 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10476 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10478 rm -f core conftest.err conftest.
$ac_objext \
10479 conftest
$ac_exeext conftest.
$ac_ext
10480 LIBS
=$ac_check_lib_save_LIBS
10482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10483 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10484 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10485 OPENCL_LIBS
="-lOpenCL"
10490 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10491 case "x$with_opencl" in
10492 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10494 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10495 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10498 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10501 if test "x$with_xml" != "xno"
10503 if ${XML2_CFLAGS:+false} :; then :
10504 if ${PKG_CONFIG+:} false
; then :
10505 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10508 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10509 if ${XML2_LIBS:+false} :; then :
10510 if ${PKG_CONFIG+:} false
; then :
10511 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10514 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10515 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10516 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10517 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10518 ac_save_CPPFLAGS
=$CPPFLAGS
10519 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10520 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10522 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10523 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10524 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10525 cat >>confdefs.h
<<_ACEOF
10526 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10533 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"
10535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10536 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10537 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10538 $as_echo_n "(cached) " >&6
10540 ac_check_lib_save_LIBS
=$LIBS
10541 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10542 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10543 /* end confdefs.h. */
10545 /* Override any GCC internal prototype to avoid an error.
10546 Use char because int might match the return type of a GCC
10547 builtin and then its argument prototype would still apply. */
10551 char xmlParseMemory ();
10555 return xmlParseMemory ();
10560 if ac_fn_c_try_link
"$LINENO"; then :
10561 ac_cv_lib_xml2_xmlParseMemory
=yes
10563 ac_cv_lib_xml2_xmlParseMemory
=no
10565 rm -f core conftest.err conftest.
$ac_objext \
10566 conftest
$ac_exeext conftest.
$ac_ext
10567 LIBS
=$ac_check_lib_save_LIBS
10569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10570 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10571 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10573 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10580 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10581 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10582 $as_echo_n "(cached) " >&6
10584 ac_check_lib_save_LIBS
=$LIBS
10585 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10587 /* end confdefs.h. */
10589 /* Override any GCC internal prototype to avoid an error.
10590 Use char because int might match the return type of a GCC
10591 builtin and then its argument prototype would still apply. */
10595 char xmlReadMemory ();
10599 return xmlReadMemory ();
10604 if ac_fn_c_try_link
"$LINENO"; then :
10605 ac_cv_lib_xml2_xmlReadMemory
=yes
10607 ac_cv_lib_xml2_xmlReadMemory
=no
10609 rm -f core conftest.err conftest.
$ac_objext \
10610 conftest
$ac_exeext conftest.
$ac_ext
10611 LIBS
=$ac_check_lib_save_LIBS
10613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10614 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10615 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10617 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10622 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10623 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10624 $as_echo_n "(cached) " >&6
10626 ac_check_lib_save_LIBS
=$LIBS
10627 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10629 /* end confdefs.h. */
10631 /* Override any GCC internal prototype to avoid an error.
10632 Use char because int might match the return type of a GCC
10633 builtin and then its argument prototype would still apply. */
10637 char xmlNewDocPI ();
10641 return xmlNewDocPI ();
10646 if ac_fn_c_try_link
"$LINENO"; then :
10647 ac_cv_lib_xml2_xmlNewDocPI
=yes
10649 ac_cv_lib_xml2_xmlNewDocPI
=no
10651 rm -f core conftest.err conftest.
$ac_objext \
10652 conftest
$ac_exeext conftest.
$ac_ext
10653 LIBS
=$ac_check_lib_save_LIBS
10655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10656 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10657 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10659 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10664 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10665 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10666 $as_echo_n "(cached) " >&6
10668 ac_check_lib_save_LIBS
=$LIBS
10669 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10671 /* end confdefs.h. */
10673 /* Override any GCC internal prototype to avoid an error.
10674 Use char because int might match the return type of a GCC
10675 builtin and then its argument prototype would still apply. */
10679 char xmlSchemaSetParserStructuredErrors ();
10683 return xmlSchemaSetParserStructuredErrors ();
10688 if ac_fn_c_try_link
"$LINENO"; then :
10689 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10691 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10693 rm -f core conftest.err conftest.
$ac_objext \
10694 conftest
$ac_exeext conftest.
$ac_ext
10695 LIBS
=$ac_check_lib_save_LIBS
10697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10698 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10699 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10701 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10706 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10707 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10708 $as_echo_n "(cached) " >&6
10710 ac_check_lib_save_LIBS
=$LIBS
10711 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10713 /* end confdefs.h. */
10715 /* Override any GCC internal prototype to avoid an error.
10716 Use char because int might match the return type of a GCC
10717 builtin and then its argument prototype would still apply. */
10721 char xmlSchemaSetValidStructuredErrors ();
10725 return xmlSchemaSetValidStructuredErrors ();
10730 if ac_fn_c_try_link
"$LINENO"; then :
10731 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
10733 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
10735 rm -f core conftest.err conftest.
$ac_objext \
10736 conftest
$ac_exeext conftest.
$ac_ext
10737 LIBS
=$ac_check_lib_save_LIBS
10739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10740 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10741 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
10743 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10748 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10749 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
10750 $as_echo_n "(cached) " >&6
10752 ac_check_lib_save_LIBS
=$LIBS
10753 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10755 /* end confdefs.h. */
10757 /* Override any GCC internal prototype to avoid an error.
10758 Use char because int might match the return type of a GCC
10759 builtin and then its argument prototype would still apply. */
10763 char xmlFirstElementChild ();
10767 return xmlFirstElementChild ();
10772 if ac_fn_c_try_link
"$LINENO"; then :
10773 ac_cv_lib_xml2_xmlFirstElementChild
=yes
10775 ac_cv_lib_xml2_xmlFirstElementChild
=no
10777 rm -f core conftest.err conftest.
$ac_objext \
10778 conftest
$ac_exeext conftest.
$ac_ext
10779 LIBS
=$ac_check_lib_save_LIBS
10781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10782 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10783 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
10785 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10789 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10791 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
10793 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10801 CPPFLAGS
=$ac_save_CPPFLAGS
10802 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10803 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10806 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10807 case "x$with_xml" in
10808 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10810 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10811 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10815 if test "x$with_xslt" != "xno"
10817 if ${XSLT_CFLAGS:+false} :; then :
10818 if ${PKG_CONFIG+:} false
; then :
10819 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10822 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10823 if ${XSLT_LIBS:+false} :; then :
10824 if ${PKG_CONFIG+:} false
; then :
10825 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10828 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10829 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
10830 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10831 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10832 ac_save_CPPFLAGS
=$CPPFLAGS
10833 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
10834 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
10836 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10837 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10838 # include <libxslt/pattern.h>
10841 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10842 cat >>confdefs.h
<<_ACEOF
10843 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10850 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10853 $as_echo_n "checking for -lxslt... " >&6; }
10854 if ${ac_cv_lib_soname_xslt+:} false
; then :
10855 $as_echo_n "(cached) " >&6
10857 ac_check_soname_save_LIBS
=$LIBS
10858 LIBS
="-lxslt $XSLT_LIBS $LIBS"
10859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10860 /* end confdefs.h. */
10862 /* Override any GCC internal prototype to avoid an error.
10863 Use char because int might match the return type of a GCC
10864 builtin and then its argument prototype would still apply. */
10868 char xsltCompilePattern ();
10872 return xsltCompilePattern ();
10877 if ac_fn_c_try_link
"$LINENO"; then :
10879 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10880 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'` ;;
10881 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10882 if ${ac_cv_lib_soname_xslt:+false} :; then :
10883 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10887 rm -f core conftest.err conftest.
$ac_objext \
10888 conftest
$ac_exeext conftest.
$ac_ext
10889 LIBS
=$ac_check_soname_save_LIBS
10891 if ${ac_cv_lib_soname_xslt:+false} :; then :
10892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10893 $as_echo "not found" >&6; }
10896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10897 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10899 cat >>confdefs.h
<<_ACEOF
10900 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10908 CPPFLAGS
=$ac_save_CPPFLAGS
10909 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10910 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10913 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10914 case "x$with_xslt" in
10915 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10917 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
10918 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10922 if test "x$with_dbus" != "xno"
10924 if ${DBUS_CFLAGS:+false} :; then :
10925 if ${PKG_CONFIG+:} false
; then :
10926 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10930 if ${DBUS_LIBS:+false} :; then :
10931 if ${PKG_CONFIG+:} false
; then :
10932 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10937 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
10938 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
10939 ac_save_CPPFLAGS
=$CPPFLAGS
10940 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
10941 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10942 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
10943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10944 $as_echo_n "checking for -ldbus-1... " >&6; }
10945 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
10946 $as_echo_n "(cached) " >&6
10948 ac_check_soname_save_LIBS
=$LIBS
10949 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
10950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10951 /* end confdefs.h. */
10953 /* Override any GCC internal prototype to avoid an error.
10954 Use char because int might match the return type of a GCC
10955 builtin and then its argument prototype would still apply. */
10959 char dbus_connection_close ();
10963 return dbus_connection_close ();
10968 if ac_fn_c_try_link
"$LINENO"; then :
10970 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10971 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'` ;;
10972 *) 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'`
10973 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
10974 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10978 rm -f core conftest.err conftest.
$ac_objext \
10979 conftest
$ac_exeext conftest.
$ac_ext
10980 LIBS
=$ac_check_soname_save_LIBS
10982 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
10983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10984 $as_echo "not found" >&6; }
10987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
10988 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
10990 cat >>confdefs.h
<<_ACEOF
10991 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11001 CPPFLAGS
=$ac_save_CPPFLAGS
11002 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11003 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11006 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11007 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11008 case "x$with_dbus" in
11009 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11011 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11012 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11016 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11018 if ${HAL_CFLAGS:+false} :; then :
11019 if ${PKG_CONFIG+:} false
; then :
11020 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11024 if ${HAL_LIBS:+false} :; then :
11025 if ${PKG_CONFIG+:} false
; then :
11026 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11030 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11031 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11032 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11033 ac_save_CPPFLAGS
=$CPPFLAGS
11034 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11035 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11036 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11038 $as_echo_n "checking for -lhal... " >&6; }
11039 if ${ac_cv_lib_soname_hal+:} false
; then :
11040 $as_echo_n "(cached) " >&6
11042 ac_check_soname_save_LIBS
=$LIBS
11043 LIBS
="-lhal $HAL_LIBS $LIBS"
11044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11045 /* end confdefs.h. */
11047 /* Override any GCC internal prototype to avoid an error.
11048 Use char because int might match the return type of a GCC
11049 builtin and then its argument prototype would still apply. */
11053 char libhal_ctx_new ();
11057 return libhal_ctx_new ();
11062 if ac_fn_c_try_link
"$LINENO"; then :
11064 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11065 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'` ;;
11066 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11067 if ${ac_cv_lib_soname_hal:+false} :; then :
11068 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11072 rm -f core conftest.err conftest.
$ac_objext \
11073 conftest
$ac_exeext conftest.
$ac_ext
11074 LIBS
=$ac_check_soname_save_LIBS
11076 if ${ac_cv_lib_soname_hal:+false} :; then :
11077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11078 $as_echo "not found" >&6; }
11081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11082 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11084 cat >>confdefs.h
<<_ACEOF
11085 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11095 CPPFLAGS
=$ac_save_CPPFLAGS
11096 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11097 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11099 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11100 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11101 case "x$with_hal" in
11102 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11104 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11105 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11110 if test "x$with_gnutls" != "xno"
11112 if ${GNUTLS_CFLAGS:+false} :; then :
11113 if ${PKG_CONFIG+:} false
; then :
11114 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11118 if ${GNUTLS_LIBS:+false} :; then :
11119 if ${PKG_CONFIG+:} false
; then :
11120 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11125 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11126 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11127 ac_save_CPPFLAGS
=$CPPFLAGS
11128 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11129 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11130 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11132 /* end confdefs.h. */
11133 #include <gnutls/gnutls.h>
11134 #include <gnutls/crypto.h>
11138 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11143 if ac_fn_c_try_compile
"$LINENO"; then :
11144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11145 $as_echo_n "checking for -lgnutls... " >&6; }
11146 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11147 $as_echo_n "(cached) " >&6
11149 ac_check_soname_save_LIBS
=$LIBS
11150 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11152 /* end confdefs.h. */
11154 /* Override any GCC internal prototype to avoid an error.
11155 Use char because int might match the return type of a GCC
11156 builtin and then its argument prototype would still apply. */
11160 char gnutls_global_init ();
11164 return gnutls_global_init ();
11169 if ac_fn_c_try_link
"$LINENO"; then :
11171 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11172 dylib
) ac_cv_lib_soname_gnutls
=`otool -L conftest$ac_exeext | grep "libgnutls\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgnutls\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11173 *) ac_cv_lib_soname_gnutls
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11174 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11175 ac_cv_lib_soname_gnutls
=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11179 rm -f core conftest.err conftest.
$ac_objext \
11180 conftest
$ac_exeext conftest.
$ac_ext
11181 LIBS
=$ac_check_soname_save_LIBS
11183 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11185 $as_echo "not found" >&6; }
11188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11189 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11191 cat >>confdefs.h
<<_ACEOF
11192 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11198 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11204 CPPFLAGS
=$ac_save_CPPFLAGS
11205 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11206 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11209 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11210 case "x$with_gnutls" in
11211 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11213 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11214 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11219 if test "$ac_cv_header_ncurses_h" = "yes"
11221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11222 $as_echo_n "checking for -lncurses... " >&6; }
11223 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11224 $as_echo_n "(cached) " >&6
11226 ac_check_soname_save_LIBS
=$LIBS
11227 LIBS
="-lncurses $LIBS"
11228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11229 /* end confdefs.h. */
11231 /* Override any GCC internal prototype to avoid an error.
11232 Use char because int might match the return type of a GCC
11233 builtin and then its argument prototype would still apply. */
11246 if ac_fn_c_try_link
"$LINENO"; then :
11248 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11249 dylib
) ac_cv_lib_soname_ncurses
=`otool -L conftest$ac_exeext | grep "libncurses\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libncurses\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11250 *) ac_cv_lib_soname_ncurses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11251 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11252 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11256 rm -f core conftest.err conftest.
$ac_objext \
11257 conftest
$ac_exeext conftest.
$ac_ext
11258 LIBS
=$ac_check_soname_save_LIBS
11260 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11262 $as_echo "not found" >&6; }
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11266 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11268 cat >>confdefs.h
<<_ACEOF
11269 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11272 CURSES_LIBS
="-lncurses"
11274 elif test "$ac_cv_header_curses_h" = "yes"
11276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11277 $as_echo_n "checking for -lcurses... " >&6; }
11278 if ${ac_cv_lib_soname_curses+:} false
; then :
11279 $as_echo_n "(cached) " >&6
11281 ac_check_soname_save_LIBS
=$LIBS
11282 LIBS
="-lcurses $LIBS"
11283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11284 /* end confdefs.h. */
11286 /* Override any GCC internal prototype to avoid an error.
11287 Use char because int might match the return type of a GCC
11288 builtin and then its argument prototype would still apply. */
11301 if ac_fn_c_try_link
"$LINENO"; then :
11303 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11304 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'` ;;
11305 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11306 if ${ac_cv_lib_soname_curses:+false} :; then :
11307 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11311 rm -f core conftest.err conftest.
$ac_objext \
11312 conftest
$ac_exeext conftest.
$ac_ext
11313 LIBS
=$ac_check_soname_save_LIBS
11315 if ${ac_cv_lib_soname_curses:+false} :; then :
11316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11317 $as_echo "not found" >&6; }
11320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11321 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11323 cat >>confdefs.h
<<_ACEOF
11324 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11327 CURSES_LIBS
="-lcurses"
11330 ac_save_LIBS
="$LIBS"
11331 LIBS
="$LIBS $CURSES_LIBS"
11332 for ac_func
in mousemask
11334 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11335 if test "x$ac_cv_func_mousemask" = xyes
; then :
11336 cat >>confdefs.h
<<_ACEOF
11337 #define HAVE_MOUSEMASK 1
11343 LIBS
="$ac_save_LIBS"
11344 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11345 case "x$with_curses" in
11346 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11348 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11349 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11353 if test "x$with_sane" != "xno"
11355 if ${SANE_CFLAGS:+false} :; then :
11356 if ${PKG_CONFIG+:} false
; then :
11357 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11360 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11361 if ${SANE_LIBS:+false} :; then :
11362 if ${PKG_CONFIG+:} false
; then :
11363 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11366 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11368 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11369 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11370 ac_save_CPPFLAGS
=$CPPFLAGS
11371 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11372 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11373 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11375 $as_echo_n "checking for -lsane... " >&6; }
11376 if ${ac_cv_lib_soname_sane+:} false
; then :
11377 $as_echo_n "(cached) " >&6
11379 ac_check_soname_save_LIBS
=$LIBS
11380 LIBS
="-lsane $SANE_LIBS $LIBS"
11381 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11382 /* end confdefs.h. */
11384 /* Override any GCC internal prototype to avoid an error.
11385 Use char because int might match the return type of a GCC
11386 builtin and then its argument prototype would still apply. */
11394 return sane_init ();
11399 if ac_fn_c_try_link
"$LINENO"; then :
11401 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11402 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'` ;;
11403 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11404 if ${ac_cv_lib_soname_sane:+false} :; then :
11405 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11409 rm -f core conftest.err conftest.
$ac_objext \
11410 conftest
$ac_exeext conftest.
$ac_ext
11411 LIBS
=$ac_check_soname_save_LIBS
11413 if ${ac_cv_lib_soname_sane:+false} :; then :
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11415 $as_echo "not found" >&6; }
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11419 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11421 cat >>confdefs.h
<<_ACEOF
11422 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11432 CPPFLAGS
=$ac_save_CPPFLAGS
11433 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11434 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11437 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11438 case "x$with_sane" in
11439 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11441 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11442 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11446 if test "x$with_v4l" != "xno"
11448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11449 $as_echo_n "checking for -lv4l1... " >&6; }
11450 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11451 $as_echo_n "(cached) " >&6
11453 ac_check_soname_save_LIBS
=$LIBS
11454 LIBS
="-lv4l1 $LIBS"
11455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11456 /* end confdefs.h. */
11458 /* Override any GCC internal prototype to avoid an error.
11459 Use char because int might match the return type of a GCC
11460 builtin and then its argument prototype would still apply. */
11468 return v4l1_open ();
11473 if ac_fn_c_try_link
"$LINENO"; then :
11475 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11476 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'` ;;
11477 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11478 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11479 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11483 rm -f core conftest.err conftest.
$ac_objext \
11484 conftest
$ac_exeext conftest.
$ac_ext
11485 LIBS
=$ac_check_soname_save_LIBS
11487 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11489 $as_echo "not found" >&6; }
11492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11493 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11495 cat >>confdefs.h
<<_ACEOF
11496 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11502 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11503 case "x$with_v4l" in
11504 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11506 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11507 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11511 if test "x$with_gphoto" != "xno"
11513 if ${GPHOTO2_CFLAGS:+false} :; then :
11514 if ${PKG_CONFIG+:} false
; then :
11515 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11518 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11519 if ${GPHOTO2_LIBS:+false} :; then :
11520 if ${PKG_CONFIG+:} false
; then :
11521 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11524 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11525 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11526 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11527 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11528 ac_save_CPPFLAGS
=$CPPFLAGS
11529 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11530 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11531 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11533 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11534 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11535 $as_echo_n "(cached) " >&6
11537 ac_check_lib_save_LIBS
=$LIBS
11538 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11540 /* end confdefs.h. */
11542 /* Override any GCC internal prototype to avoid an error.
11543 Use char because int might match the return type of a GCC
11544 builtin and then its argument prototype would still apply. */
11548 char gp_camera_new ();
11552 return gp_camera_new ();
11557 if ac_fn_c_try_link
"$LINENO"; then :
11558 ac_cv_lib_gphoto2_gp_camera_new
=yes
11560 ac_cv_lib_gphoto2_gp_camera_new
=no
11562 rm -f core conftest.err conftest.
$ac_objext \
11563 conftest
$ac_exeext conftest.
$ac_ext
11564 LIBS
=$ac_check_lib_save_LIBS
11566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11567 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11568 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11570 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11573 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11577 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11581 CPPFLAGS
=$ac_save_CPPFLAGS
11582 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11583 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11585 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11586 if ${PKG_CONFIG+:} false
; then :
11587 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11590 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11591 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11592 if ${PKG_CONFIG+:} false
; then :
11593 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11596 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11597 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11598 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11599 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11600 ac_save_CPPFLAGS
=$CPPFLAGS
11601 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11602 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11603 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11605 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11606 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11607 $as_echo_n "(cached) " >&6
11609 ac_check_lib_save_LIBS
=$LIBS
11610 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11612 /* end confdefs.h. */
11614 /* Override any GCC internal prototype to avoid an error.
11615 Use char because int might match the return type of a GCC
11616 builtin and then its argument prototype would still apply. */
11620 char gp_port_info_list_new ();
11624 return gp_port_info_list_new ();
11629 if ac_fn_c_try_link
"$LINENO"; then :
11630 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11632 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11634 rm -f core conftest.err conftest.
$ac_objext \
11635 conftest
$ac_exeext conftest.
$ac_ext
11636 LIBS
=$ac_check_lib_save_LIBS
11638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11639 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11640 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11642 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11645 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11649 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11653 CPPFLAGS
=$ac_save_CPPFLAGS
11654 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11655 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11658 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11659 case "x$with_gphoto" in
11660 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11662 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11663 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11666 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11667 case "x$with_gphoto" in
11668 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11670 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11671 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11676 if test "$ac_cv_header_resolv_h" = "yes"
11678 ac_save_LIBS
="$LIBS"
11679 for lib
in '' -lresolv
11681 LIBS
="$lib $ac_save_LIBS"
11682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11683 /* end confdefs.h. */
11684 #ifdef HAVE_NETINET_IN_H
11685 #include <netinet/in.h>
11687 #include <resolv.h>
11691 res_query("foo",ns_c_in,0,0,0);
11696 if ac_fn_c_try_link
"$LINENO"; then :
11698 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11703 rm -f core conftest.err conftest.
$ac_objext \
11704 conftest
$ac_exeext conftest.
$ac_ext
11705 if test "${RESOLV_LIBS+set}" = set; then
11709 LIBS
="$ac_save_LIBS"
11712 if test "x$with_lcms2" != "xno"
11714 if ${LCMS2_CFLAGS:+false} :; then :
11715 if ${PKG_CONFIG+:} false
; then :
11716 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11720 if ${LCMS2_LIBS:+false} :; then :
11721 if ${PKG_CONFIG+:} false
; then :
11722 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11726 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
11727 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11728 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11729 ac_save_CPPFLAGS
=$CPPFLAGS
11730 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
11731 for ac_header
in lcms2.h
11733 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11734 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
11735 cat >>confdefs.h
<<_ACEOF
11736 #define HAVE_LCMS2_H 1
11743 if test "$ac_cv_header_lcms2_h" = "yes"
11745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11746 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11747 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
11748 $as_echo_n "(cached) " >&6
11750 ac_check_lib_save_LIBS
=$LIBS
11751 LIBS
="-llcms2 $LIBS"
11752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11753 /* end confdefs.h. */
11755 /* Override any GCC internal prototype to avoid an error.
11756 Use char because int might match the return type of a GCC
11757 builtin and then its argument prototype would still apply. */
11761 char cmsOpenProfileFromFile ();
11765 return cmsOpenProfileFromFile ();
11770 if ac_fn_c_try_link
"$LINENO"; then :
11771 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
11773 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
11775 rm -f core conftest.err conftest.
$ac_objext \
11776 conftest
$ac_exeext conftest.
$ac_ext
11777 LIBS
=$ac_check_lib_save_LIBS
11779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11780 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11781 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
11783 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11793 CPPFLAGS
=$ac_save_CPPFLAGS
11794 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11795 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11798 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11799 case "x$with_cms" in
11800 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11802 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11803 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11807 if test "x$with_freetype" != "xno"
11809 if ${FREETYPE_CFLAGS:+false} :; then :
11810 if ${PKG_CONFIG+:} false
; then :
11811 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11814 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11815 if ${FREETYPE_LIBS:+false} :; then :
11816 if ${PKG_CONFIG+:} false
; then :
11817 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11820 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11821 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
11822 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11823 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11824 ac_save_CPPFLAGS
=$CPPFLAGS
11825 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
11826 for ac_header
in ft2build.h
11828 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11829 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
11830 cat >>confdefs.h
<<_ACEOF
11831 #define HAVE_FT2BUILD_H 1
11838 if test "$ac_cv_header_ft2build_h" = "yes"
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11841 $as_echo_n "checking for -lfreetype... " >&6; }
11842 if ${ac_cv_lib_soname_freetype+:} false
; then :
11843 $as_echo_n "(cached) " >&6
11845 ac_check_soname_save_LIBS
=$LIBS
11846 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
11847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11848 /* end confdefs.h. */
11850 /* Override any GCC internal prototype to avoid an error.
11851 Use char because int might match the return type of a GCC
11852 builtin and then its argument prototype would still apply. */
11856 char FT_Init_FreeType ();
11860 return FT_Init_FreeType ();
11865 if ac_fn_c_try_link
"$LINENO"; then :
11867 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11868 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'` ;;
11869 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11870 if ${ac_cv_lib_soname_freetype:+false} :; then :
11871 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11875 rm -f core conftest.err conftest.
$ac_objext \
11876 conftest
$ac_exeext conftest.
$ac_ext
11877 LIBS
=$ac_check_soname_save_LIBS
11879 if ${ac_cv_lib_soname_freetype:+false} :; then :
11880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11881 $as_echo "not found" >&6; }
11884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11885 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11887 cat >>confdefs.h
<<_ACEOF
11888 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11892 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11894 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
11895 #include FT_MODULE_H
11897 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
11899 cat >>confdefs.h
<<_ACEOF
11900 #define HAVE_FT_TRUETYPEENGINETYPE 1
11911 CPPFLAGS
=$ac_save_CPPFLAGS
11912 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11913 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11916 if test "x$ac_cv_lib_soname_freetype" = x
; then :
11917 case "x$with_freetype" in
11919 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
11920 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
11923 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
11925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
11926 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
11927 if ${ac_cv_c_ppdev+:} false
; then :
11928 $as_echo_n "(cached) " >&6
11930 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11931 /* end confdefs.h. */
11932 #ifdef HAVE_SYS_IOCTL_H
11933 # include <sys/ioctl.h>
11935 #include <linux/ppdev.h>
11939 ioctl (1,PPCLAIM,0)
11944 if ac_fn_c_try_compile
"$LINENO"; then :
11945 ac_cv_c_ppdev
="yes"
11949 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11952 $as_echo "$ac_cv_c_ppdev" >&6; }
11953 if test "$ac_cv_c_ppdev" = "yes"
11956 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11960 ac_wine_check_funcs_save_LIBS
="$LIBS"
11961 LIBS
="$LIBS $PTHREAD_LIBS"
11963 pthread_attr_get_np \
11964 pthread_getattr_np \
11965 pthread_getthreadid_np \
11966 pthread_get_stackaddr_np \
11967 pthread_get_stacksize_np
11969 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11970 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11971 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11972 cat >>confdefs.h
<<_ACEOF
11973 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11979 LIBS
="$ac_wine_check_funcs_save_LIBS"
11981 if test "$ac_cv_header_zlib_h" = "yes"
11983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11984 $as_echo_n "checking for inflate in -lz... " >&6; }
11985 if ${ac_cv_lib_z_inflate+:} false
; then :
11986 $as_echo_n "(cached) " >&6
11988 ac_check_lib_save_LIBS
=$LIBS
11990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11991 /* end confdefs.h. */
11993 /* Override any GCC internal prototype to avoid an error.
11994 Use char because int might match the return type of a GCC
11995 builtin and then its argument prototype would still apply. */
12008 if ac_fn_c_try_link
"$LINENO"; then :
12009 ac_cv_lib_z_inflate
=yes
12011 ac_cv_lib_z_inflate
=no
12013 rm -f core conftest.err conftest.
$ac_objext \
12014 conftest
$ac_exeext conftest.
$ac_ext
12015 LIBS
=$ac_check_lib_save_LIBS
12017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12018 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12019 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12021 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12028 if test "x$Z_LIBS" = "x"; then :
12029 case "x$with_zlib" in
12030 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12032 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12033 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12037 if test "x$enable_tools" != xno
12039 if test "$ac_cv_header_gettext_po_h" = "yes"
12041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12042 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12043 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12044 $as_echo_n "(cached) " >&6
12046 ac_check_lib_save_LIBS
=$LIBS
12047 LIBS
="-lgettextpo $LIBS"
12048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12049 /* end confdefs.h. */
12051 /* Override any GCC internal prototype to avoid an error.
12052 Use char because int might match the return type of a GCC
12053 builtin and then its argument prototype would still apply. */
12057 char po_message_msgctxt ();
12061 return po_message_msgctxt ();
12066 if ac_fn_c_try_link
"$LINENO"; then :
12067 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12069 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12071 rm -f core conftest.err conftest.
$ac_objext \
12072 conftest
$ac_exeext conftest.
$ac_ext
12073 LIBS
=$ac_check_lib_save_LIBS
12075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12076 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12077 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12079 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12081 GETTEXTPO_LIBS
="-lgettextpo"
12086 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12087 case "x$with_gettextpo" in
12088 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12090 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12091 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12096 if test "x$with_gstreamer" != "xno"
12098 if ${GSTREAMER_CFLAGS:+false} :; then :
12099 if ${PKG_CONFIG+:} false
; then :
12100 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12104 if ${GSTREAMER_LIBS:+false} :; then :
12105 if ${PKG_CONFIG+:} false
; then :
12106 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12111 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12112 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12113 ac_save_CPPFLAGS
=$CPPFLAGS
12114 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12116 for i
in $GSTREAMER_CFLAGS
12119 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12122 GSTREAMER_CFLAGS
=$ac_gst_incl
12123 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12124 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12125 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12126 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12127 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12129 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12131 /* end confdefs.h. */
12132 #include <gst/app/gstappsink.h>
12136 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12141 if ac_fn_c_try_compile
"$LINENO"; then :
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12143 $as_echo "yes" >&6; }
12144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12145 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12146 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12147 $as_echo_n "(cached) " >&6
12149 ac_check_lib_save_LIBS
=$LIBS
12150 LIBS
="-lgstreamer-0.10 $LIBS"
12151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12152 /* end confdefs.h. */
12154 /* Override any GCC internal prototype to avoid an error.
12155 Use char because int might match the return type of a GCC
12156 builtin and then its argument prototype would still apply. */
12160 char gst_pad_get_caps_reffed ();
12164 return gst_pad_get_caps_reffed ();
12169 if ac_fn_c_try_link
"$LINENO"; then :
12170 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12172 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12174 rm -f core conftest.err conftest.
$ac_objext \
12175 conftest
$ac_exeext conftest.
$ac_ext
12176 LIBS
=$ac_check_lib_save_LIBS
12178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12179 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12180 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12182 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12183 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12184 $as_echo_n "(cached) " >&6
12186 ac_check_lib_save_LIBS
=$LIBS
12187 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12189 /* end confdefs.h. */
12191 /* Override any GCC internal prototype to avoid an error.
12192 Use char because int might match the return type of a GCC
12193 builtin and then its argument prototype would still apply. */
12197 char gst_app_buffer_new ();
12201 return gst_app_buffer_new ();
12206 if ac_fn_c_try_link
"$LINENO"; then :
12207 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12209 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12211 rm -f core conftest.err conftest.
$ac_objext \
12212 conftest
$ac_exeext conftest.
$ac_ext
12213 LIBS
=$ac_check_lib_save_LIBS
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12216 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12217 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12225 $as_echo "no" >&6; }
12227 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12232 GSTREAMER_CFLAGS
=""
12236 CPPFLAGS
=$ac_save_CPPFLAGS
12237 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12238 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12241 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12242 case "x$with_gstreamer" in
12243 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12245 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12246 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12249 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12253 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12256 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12257 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12258 $as_echo_n "(cached) " >&6
12260 ac_check_lib_save_LIBS
=$LIBS
12261 LIBS
="-lasound $LIBS"
12262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12263 /* end confdefs.h. */
12265 /* Override any GCC internal prototype to avoid an error.
12266 Use char because int might match the return type of a GCC
12267 builtin and then its argument prototype would still apply. */
12271 char snd_pcm_hw_params_get_access_mask ();
12275 return snd_pcm_hw_params_get_access_mask ();
12280 if ac_fn_c_try_link
"$LINENO"; then :
12281 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12283 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12285 rm -f core conftest.err conftest.
$ac_objext \
12286 conftest
$ac_exeext conftest.
$ac_ext
12287 LIBS
=$ac_check_lib_save_LIBS
12289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12290 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12291 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12293 /* end confdefs.h. */
12294 #ifdef HAVE_ALSA_ASOUNDLIB_H
12295 #include <alsa/asoundlib.h>
12296 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12297 #include <sys/asoundlib.h>
12302 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12307 if ac_fn_c_try_compile
"$LINENO"; then :
12308 ALSA_LIBS
="-lasound"
12310 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12315 if test "x$with_oss" != xno
12317 ac_save_CPPFLAGS
="$CPPFLAGS"
12318 if test -f /etc
/oss.conf
12322 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12323 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12324 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12325 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12326 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12328 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12330 cat >>confdefs.h
<<_ACEOF
12331 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12334 OSS4_CFLAGS
="$ac_oss_incl"
12341 CPPFLAGS
="$ac_save_CPPFLAGS"
12342 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12344 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12348 if test "x$with_capi" != "xno"
12350 if ${CAPI20_CFLAGS:+false} :; then :
12351 if ${PKG_CONFIG+:} false
; then :
12352 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12356 if ${CAPI20_LIBS:+false} :; then :
12357 if ${PKG_CONFIG+:} false
; then :
12358 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12363 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12364 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12365 ac_save_CPPFLAGS
=$CPPFLAGS
12366 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12367 for ac_header
in capi20.h linux
/capi.h
12369 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12370 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12372 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12373 cat >>confdefs.h
<<_ACEOF
12374 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12381 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12384 $as_echo_n "checking for -lcapi20... " >&6; }
12385 if ${ac_cv_lib_soname_capi20+:} false
; then :
12386 $as_echo_n "(cached) " >&6
12388 ac_check_soname_save_LIBS
=$LIBS
12389 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12391 /* end confdefs.h. */
12393 /* Override any GCC internal prototype to avoid an error.
12394 Use char because int might match the return type of a GCC
12395 builtin and then its argument prototype would still apply. */
12399 char capi20_register ();
12403 return capi20_register ();
12408 if ac_fn_c_try_link
"$LINENO"; then :
12410 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12411 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'` ;;
12412 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12413 if ${ac_cv_lib_soname_capi20:+false} :; then :
12414 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12418 rm -f core conftest.err conftest.
$ac_objext \
12419 conftest
$ac_exeext conftest.
$ac_ext
12420 LIBS
=$ac_check_soname_save_LIBS
12422 if ${ac_cv_lib_soname_capi20:+false} :; then :
12423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12424 $as_echo "not found" >&6; }
12427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12428 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12430 cat >>confdefs.h
<<_ACEOF
12431 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12437 CPPFLAGS
=$ac_save_CPPFLAGS
12438 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12439 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12442 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12443 case "x$with_capi" in
12444 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12446 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12447 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12453 if test "x$with_cups" != "xno"
12455 ac_save_CPPFLAGS
="$CPPFLAGS"
12456 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12457 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12458 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12459 for ac_header
in cups
/cups.h
12461 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12462 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12463 cat >>confdefs.h
<<_ACEOF
12464 #define HAVE_CUPS_CUPS_H 1
12466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12467 $as_echo_n "checking for -lcups... " >&6; }
12468 if ${ac_cv_lib_soname_cups+:} false
; then :
12469 $as_echo_n "(cached) " >&6
12471 ac_check_soname_save_LIBS
=$LIBS
12472 LIBS
="-lcups $ac_cups_libs $LIBS"
12473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12474 /* end confdefs.h. */
12476 /* Override any GCC internal prototype to avoid an error.
12477 Use char because int might match the return type of a GCC
12478 builtin and then its argument prototype would still apply. */
12482 char cupsGetDefault ();
12486 return cupsGetDefault ();
12491 if ac_fn_c_try_link
"$LINENO"; then :
12493 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12494 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'` ;;
12495 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12496 if ${ac_cv_lib_soname_cups:+false} :; then :
12497 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12501 rm -f core conftest.err conftest.
$ac_objext \
12502 conftest
$ac_exeext conftest.
$ac_ext
12503 LIBS
=$ac_check_soname_save_LIBS
12505 if ${ac_cv_lib_soname_cups:+false} :; then :
12506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12507 $as_echo "not found" >&6; }
12510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12511 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12513 cat >>confdefs.h
<<_ACEOF
12514 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12517 CUPS_CFLAGS
="$ac_cups_cflags"
12523 CPPFLAGS
="$ac_save_CPPFLAGS"
12525 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12526 case "x$with_cups" in
12527 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12529 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12530 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12534 if test "x$with_fontconfig" != "xno"
12536 if ${FONTCONFIG_CFLAGS:+false} :; then :
12537 if ${PKG_CONFIG+:} false
; then :
12538 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12541 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12542 if ${FONTCONFIG_LIBS:+false} :; then :
12543 if ${PKG_CONFIG+:} false
; then :
12544 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12547 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
12549 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12550 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12551 ac_save_CPPFLAGS
=$CPPFLAGS
12552 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
12553 for ac_header
in fontconfig
/fontconfig.h
12555 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12556 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12557 cat >>confdefs.h
<<_ACEOF
12558 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12565 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12568 $as_echo_n "checking for -lfontconfig... " >&6; }
12569 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12570 $as_echo_n "(cached) " >&6
12572 ac_check_soname_save_LIBS
=$LIBS
12573 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12575 /* end confdefs.h. */
12577 /* Override any GCC internal prototype to avoid an error.
12578 Use char because int might match the return type of a GCC
12579 builtin and then its argument prototype would still apply. */
12592 if ac_fn_c_try_link
"$LINENO"; then :
12594 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12595 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'` ;;
12596 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12597 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12598 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12602 rm -f core conftest.err conftest.
$ac_objext \
12603 conftest
$ac_exeext conftest.
$ac_ext
12604 LIBS
=$ac_check_soname_save_LIBS
12606 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12608 $as_echo "not found" >&6; }
12609 FONTCONFIG_CFLAGS
=""
12611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12612 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12614 cat >>confdefs.h
<<_ACEOF
12615 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12621 FONTCONFIG_CFLAGS
=""
12623 CPPFLAGS
=$ac_save_CPPFLAGS
12624 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12625 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12628 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12629 case "x$with_fontconfig" in
12630 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12632 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12633 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12637 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12640 $as_echo_n "checking for -lgsm... " >&6; }
12641 if ${ac_cv_lib_soname_gsm+:} false
; then :
12642 $as_echo_n "(cached) " >&6
12644 ac_check_soname_save_LIBS
=$LIBS
12646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12647 /* end confdefs.h. */
12649 /* Override any GCC internal prototype to avoid an error.
12650 Use char because int might match the return type of a GCC
12651 builtin and then its argument prototype would still apply. */
12655 char gsm_create ();
12659 return gsm_create ();
12664 if ac_fn_c_try_link
"$LINENO"; then :
12666 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12667 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'` ;;
12668 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12669 if ${ac_cv_lib_soname_gsm:+false} :; then :
12670 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12674 rm -f core conftest.err conftest.
$ac_objext \
12675 conftest
$ac_exeext conftest.
$ac_ext
12676 LIBS
=$ac_check_soname_save_LIBS
12678 if ${ac_cv_lib_soname_gsm:+false} :; then :
12679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12680 $as_echo "not found" >&6; }
12683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12684 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12686 cat >>confdefs.h
<<_ACEOF
12687 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12693 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12694 case "x$with_gsm" in
12695 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12697 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12698 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12702 if test "x$with_jpeg" != "xno"
12704 if ${JPEG_CFLAGS:+false} :; then :
12705 if ${PKG_CONFIG+:} false
; then :
12706 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12710 if ${JPEG_LIBS:+false} :; then :
12711 if ${PKG_CONFIG+:} false
; then :
12712 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12717 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12718 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12719 ac_save_CPPFLAGS
=$CPPFLAGS
12720 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
12721 for ac_header
in jpeglib.h
12723 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12724 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
12725 cat >>confdefs.h
<<_ACEOF
12726 #define HAVE_JPEGLIB_H 1
12733 if test "$ac_cv_header_jpeglib_h" = "yes"
12735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12736 $as_echo_n "checking for -ljpeg... " >&6; }
12737 if ${ac_cv_lib_soname_jpeg+:} false
; then :
12738 $as_echo_n "(cached) " >&6
12740 ac_check_soname_save_LIBS
=$LIBS
12741 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
12742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12743 /* end confdefs.h. */
12745 /* Override any GCC internal prototype to avoid an error.
12746 Use char because int might match the return type of a GCC
12747 builtin and then its argument prototype would still apply. */
12751 char jpeg_start_decompress ();
12755 return jpeg_start_decompress ();
12760 if ac_fn_c_try_link
"$LINENO"; then :
12762 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12763 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'` ;;
12764 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12765 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12766 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12770 rm -f core conftest.err conftest.
$ac_objext \
12771 conftest
$ac_exeext conftest.
$ac_ext
12772 LIBS
=$ac_check_soname_save_LIBS
12774 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12776 $as_echo "not found" >&6; }
12779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12780 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12782 cat >>confdefs.h
<<_ACEOF
12783 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12791 CPPFLAGS
=$ac_save_CPPFLAGS
12792 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12793 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12796 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12797 case "x$with_jpeg" in
12798 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12800 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12801 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12805 if test "x$with_png" != "xno"
12807 if ${PNG_CFLAGS:+false} :; then :
12808 if ${PKG_CONFIG+:} false
; then :
12809 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12812 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
12813 if ${PNG_LIBS:+false} :; then :
12814 if ${PKG_CONFIG+:} false
; then :
12815 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
12818 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
12820 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12821 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12822 ac_save_CPPFLAGS
=$CPPFLAGS
12823 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
12824 for ac_header
in png.h
12826 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12827 if test "x$ac_cv_header_png_h" = xyes
; then :
12828 cat >>confdefs.h
<<_ACEOF
12829 #define HAVE_PNG_H 1
12836 if test "$ac_cv_header_png_h" = "yes"
12838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12839 $as_echo_n "checking for -lpng... " >&6; }
12840 if ${ac_cv_lib_soname_png+:} false
; then :
12841 $as_echo_n "(cached) " >&6
12843 ac_check_soname_save_LIBS
=$LIBS
12844 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
12845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12846 /* end confdefs.h. */
12848 /* Override any GCC internal prototype to avoid an error.
12849 Use char because int might match the return type of a GCC
12850 builtin and then its argument prototype would still apply. */
12854 char png_create_read_struct ();
12858 return png_create_read_struct ();
12863 if ac_fn_c_try_link
"$LINENO"; then :
12865 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12866 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'` ;;
12867 *) 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'`
12868 if ${ac_cv_lib_soname_png:+false} :; then :
12869 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12873 rm -f core conftest.err conftest.
$ac_objext \
12874 conftest
$ac_exeext conftest.
$ac_ext
12875 LIBS
=$ac_check_soname_save_LIBS
12877 if ${ac_cv_lib_soname_png:+false} :; then :
12878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12879 $as_echo "not found" >&6; }
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12883 $as_echo "$ac_cv_lib_soname_png" >&6; }
12885 cat >>confdefs.h
<<_ACEOF
12886 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12890 /* end confdefs.h. */
12895 typeof(png_set_expand_gray_1_2_4_to_8) *p
12900 if ac_fn_c_try_compile
"$LINENO"; then :
12902 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12905 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12910 CPPFLAGS
=$ac_save_CPPFLAGS
12911 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12912 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12915 if test "x$ac_cv_lib_soname_png" = "x"; then :
12916 case "x$with_png" in
12917 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
12919 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
12920 This is an error since --with-png was requested." "$LINENO" 5 ;;
12924 if test "x$with_tiff" != "xno"
12926 if ${TIFF_CFLAGS:+false} :; then :
12927 if ${PKG_CONFIG+:} false
; then :
12928 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
12932 if ${TIFF_LIBS:+false} :; then :
12933 if ${PKG_CONFIG+:} false
; then :
12934 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
12939 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
12940 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
12941 ac_save_CPPFLAGS
=$CPPFLAGS
12942 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
12943 for ac_header
in tiffio.h
12945 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
12946 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
12947 cat >>confdefs.h
<<_ACEOF
12948 #define HAVE_TIFFIO_H 1
12955 if test "$ac_cv_header_tiffio_h" = "yes"
12957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
12958 $as_echo_n "checking for -ltiff... " >&6; }
12959 if ${ac_cv_lib_soname_tiff+:} false
; then :
12960 $as_echo_n "(cached) " >&6
12962 ac_check_soname_save_LIBS
=$LIBS
12963 LIBS
="-ltiff $TIFF_LIBS $LIBS"
12964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12965 /* end confdefs.h. */
12967 /* Override any GCC internal prototype to avoid an error.
12968 Use char because int might match the return type of a GCC
12969 builtin and then its argument prototype would still apply. */
12973 char TIFFClientOpen ();
12977 return TIFFClientOpen ();
12982 if ac_fn_c_try_link
"$LINENO"; then :
12984 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12985 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'` ;;
12986 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12987 if ${ac_cv_lib_soname_tiff:+false} :; then :
12988 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12992 rm -f core conftest.err conftest.
$ac_objext \
12993 conftest
$ac_exeext conftest.
$ac_ext
12994 LIBS
=$ac_check_soname_save_LIBS
12996 if ${ac_cv_lib_soname_tiff:+false} :; then :
12997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12998 $as_echo "not found" >&6; }
13001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13002 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13004 cat >>confdefs.h
<<_ACEOF
13005 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13011 CPPFLAGS
=$ac_save_CPPFLAGS
13012 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13013 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13016 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13017 case "x$with_tiff" in
13018 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13020 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13021 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13025 if test "x$with_mpg123" != "xno"
13027 if ${MPG123_CFLAGS:+false} :; then :
13028 if ${PKG_CONFIG+:} false
; then :
13029 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13033 if ${MPG123_LIBS:+false} :; then :
13034 if ${PKG_CONFIG+:} false
; then :
13035 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13039 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13040 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13041 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13042 ac_save_CPPFLAGS
=$CPPFLAGS
13043 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13044 for ac_header
in mpg123.h
13046 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13047 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13048 cat >>confdefs.h
<<_ACEOF
13049 #define HAVE_MPG123_H 1
13056 if test "$ac_cv_header_mpg123_h" = "yes"
13058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13059 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13060 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13061 $as_echo_n "(cached) " >&6
13063 ac_check_lib_save_LIBS
=$LIBS
13064 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13066 /* end confdefs.h. */
13068 /* Override any GCC internal prototype to avoid an error.
13069 Use char because int might match the return type of a GCC
13070 builtin and then its argument prototype would still apply. */
13074 char mpg123_feed ();
13078 return mpg123_feed ();
13083 if ac_fn_c_try_link
"$LINENO"; then :
13084 ac_cv_lib_mpg123_mpg123_feed
=yes
13086 ac_cv_lib_mpg123_mpg123_feed
=no
13088 rm -f core conftest.err conftest.
$ac_objext \
13089 conftest
$ac_exeext conftest.
$ac_ext
13090 LIBS
=$ac_check_lib_save_LIBS
13092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13093 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13094 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13104 CPPFLAGS
=$ac_save_CPPFLAGS
13105 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13106 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13109 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13110 case "x$with_mpg123" in
13111 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13113 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13114 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13117 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}
13119 if test "$ac_cv_header_AL_al_h" = "yes"
13121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13122 $as_echo_n "checking for -lopenal... " >&6; }
13123 if ${ac_cv_lib_soname_openal+:} false
; then :
13124 $as_echo_n "(cached) " >&6
13126 ac_check_soname_save_LIBS
=$LIBS
13127 LIBS
="-lopenal $LIBS"
13128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13129 /* end confdefs.h. */
13131 /* Override any GCC internal prototype to avoid an error.
13132 Use char because int might match the return type of a GCC
13133 builtin and then its argument prototype would still apply. */
13137 char alGetSource3i ();
13141 return alGetSource3i ();
13146 if ac_fn_c_try_link
"$LINENO"; then :
13148 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13149 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'` ;;
13150 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13151 if ${ac_cv_lib_soname_openal:+false} :; then :
13152 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13156 rm -f core conftest.err conftest.
$ac_objext \
13157 conftest
$ac_exeext conftest.
$ac_ext
13158 LIBS
=$ac_check_soname_save_LIBS
13160 if ${ac_cv_lib_soname_openal:+false} :; then :
13161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13162 $as_echo "not found" >&6; }
13165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13166 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13168 cat >>confdefs.h
<<_ACEOF
13169 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13172 OPENAL_LIBS
="-lopenal"
13174 ac_cv_lib_openal
=yes
13176 cat >>confdefs.h
<<_ACEOF
13177 #define HAVE_OPENAL 1
13182 if test "x$ac_cv_lib_openal" != xyes
; then :
13183 case "x$with_openal" in
13184 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13186 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13187 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13190 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13192 if test "$ac_cv_header_kstat_h" = "yes"
13194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13195 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13196 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13197 $as_echo_n "(cached) " >&6
13199 ac_check_lib_save_LIBS
=$LIBS
13200 LIBS
="-lkstat $LIBS"
13201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13202 /* end confdefs.h. */
13204 /* Override any GCC internal prototype to avoid an error.
13205 Use char because int might match the return type of a GCC
13206 builtin and then its argument prototype would still apply. */
13210 char kstat_open ();
13214 return kstat_open ();
13219 if ac_fn_c_try_link
"$LINENO"; then :
13220 ac_cv_lib_kstat_kstat_open
=yes
13222 ac_cv_lib_kstat_kstat_open
=no
13224 rm -f core conftest.err conftest.
$ac_objext \
13225 conftest
$ac_exeext conftest.
$ac_ext
13226 LIBS
=$ac_check_lib_save_LIBS
13228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13229 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13230 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13232 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13234 KSTAT_LIBS
="-lkstat"
13240 if test "$ac_cv_header_libprocstat_h" = "yes"
13242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13243 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13244 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13245 $as_echo_n "(cached) " >&6
13247 ac_check_lib_save_LIBS
=$LIBS
13248 LIBS
="-lprocstat $LIBS"
13249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13250 /* end confdefs.h. */
13252 /* Override any GCC internal prototype to avoid an error.
13253 Use char because int might match the return type of a GCC
13254 builtin and then its argument prototype would still apply. */
13258 char procstat_open_sysctl ();
13262 return procstat_open_sysctl ();
13267 if ac_fn_c_try_link
"$LINENO"; then :
13268 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13270 ac_cv_lib_procstat_procstat_open_sysctl
=no
13272 rm -f core conftest.err conftest.
$ac_objext \
13273 conftest
$ac_exeext conftest.
$ac_ext
13274 LIBS
=$ac_check_lib_save_LIBS
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13277 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13278 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13280 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13282 PROCSTAT_LIBS
="-lprocstat"
13288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13289 $as_echo_n "checking for -lodbc... " >&6; }
13290 if ${ac_cv_lib_soname_odbc+:} false
; then :
13291 $as_echo_n "(cached) " >&6
13293 ac_check_soname_save_LIBS
=$LIBS
13294 LIBS
="-lodbc $LIBS"
13295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13296 /* end confdefs.h. */
13298 /* Override any GCC internal prototype to avoid an error.
13299 Use char because int might match the return type of a GCC
13300 builtin and then its argument prototype would still apply. */
13304 char SQLConnect ();
13308 return SQLConnect ();
13313 if ac_fn_c_try_link
"$LINENO"; then :
13315 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13316 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'` ;;
13317 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13318 if ${ac_cv_lib_soname_odbc:+false} :; then :
13319 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13323 rm -f core conftest.err conftest.
$ac_objext \
13324 conftest
$ac_exeext conftest.
$ac_ext
13325 LIBS
=$ac_check_soname_save_LIBS
13327 if ${ac_cv_lib_soname_odbc:+false} :; then :
13328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13329 $as_echo "not found" >&6; }
13330 cat >>confdefs.h
<<_ACEOF
13331 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13336 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13338 cat >>confdefs.h
<<_ACEOF
13339 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13345 if test "x$with_netapi" != "xno"
13347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13348 $as_echo_n "checking for -lnetapi... " >&6; }
13349 if ${ac_cv_lib_soname_netapi+:} false
; then :
13350 $as_echo_n "(cached) " >&6
13352 ac_check_soname_save_LIBS
=$LIBS
13353 LIBS
="-lnetapi $LIBS"
13354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13355 /* end confdefs.h. */
13357 /* Override any GCC internal prototype to avoid an error.
13358 Use char because int might match the return type of a GCC
13359 builtin and then its argument prototype would still apply. */
13363 char libnetapi_init ();
13367 return libnetapi_init ();
13372 if ac_fn_c_try_link
"$LINENO"; then :
13374 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13375 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'` ;;
13376 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13377 if ${ac_cv_lib_soname_netapi:+false} :; then :
13378 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13382 rm -f core conftest.err conftest.
$ac_objext \
13383 conftest
$ac_exeext conftest.
$ac_ext
13384 LIBS
=$ac_check_soname_save_LIBS
13386 if ${ac_cv_lib_soname_netapi:+false} :; then :
13387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13388 $as_echo "not found" >&6; }
13389 cat >>confdefs.h
<<_ACEOF
13390 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13395 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13397 cat >>confdefs.h
<<_ACEOF
13398 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13405 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13406 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13407 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13408 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13410 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13411 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13412 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13414 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13420 if test "x${GCC}" = "xyes"
13422 EXTRACFLAGS
="-Wall -pipe"
13424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13425 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13426 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13427 $as_echo_n "(cached) " >&6
13429 if test "$cross_compiling" = yes; then :
13430 ac_cv_c_gcc_strength_bug
="yes"
13432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13433 /* end confdefs.h. */
13434 int L[4] = {0,1,2,3};
13438 static int Array[3];
13439 unsigned int B = 3;
13441 for(i=0; i<B; i++) Array[i] = i - 3;
13442 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13444 return (Array[1] != -2 || L[2] != 3)
13449 if ac_fn_c_try_run
"$LINENO"; then :
13450 ac_cv_c_gcc_strength_bug
="no"
13452 ac_cv_c_gcc_strength_bug
="yes"
13454 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13455 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13460 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13461 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13463 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13467 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13468 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13469 $as_echo_n "(cached) " >&6
13471 ac_wine_try_cflags_saved
=$CFLAGS
13472 CFLAGS
="$CFLAGS -fno-builtin"
13473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13474 /* end confdefs.h. */
13475 int main(int argc, char **argv) { return 0; }
13477 if ac_fn_c_try_link
"$LINENO"; then :
13478 ac_cv_cflags__fno_builtin
=yes
13480 ac_cv_cflags__fno_builtin
=no
13482 rm -f core conftest.err conftest.
$ac_objext \
13483 conftest
$ac_exeext conftest.
$ac_ext
13484 CFLAGS
=$ac_wine_try_cflags_saved
13486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13487 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13488 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
13489 BUILTINFLAG
="-fno-builtin"
13492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13493 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13494 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13495 $as_echo_n "(cached) " >&6
13497 ac_wine_try_cflags_saved
=$CFLAGS
13498 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13500 /* end confdefs.h. */
13501 int main(int argc, char **argv) { return 0; }
13503 if ac_fn_c_try_link
"$LINENO"; then :
13504 ac_cv_cflags__fno_strict_aliasing
=yes
13506 ac_cv_cflags__fno_strict_aliasing
=no
13508 rm -f core conftest.err conftest.
$ac_objext \
13509 conftest
$ac_exeext conftest.
$ac_ext
13510 CFLAGS
=$ac_wine_try_cflags_saved
13512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13513 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13514 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
13515 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13517 saved_CFLAGS
=$CFLAGS
13518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13519 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13520 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13521 $as_echo_n "(cached) " >&6
13523 ac_wine_try_cflags_saved
=$CFLAGS
13524 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13525 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13526 /* end confdefs.h. */
13527 int main(int argc, char **argv) { return 0; }
13529 if ac_fn_c_try_link
"$LINENO"; then :
13530 ac_cv_cflags__Werror_unknown_warning_option
=yes
13532 ac_cv_cflags__Werror_unknown_warning_option
=no
13534 rm -f core conftest.err conftest.
$ac_objext \
13535 conftest
$ac_exeext conftest.
$ac_ext
13536 CFLAGS
=$ac_wine_try_cflags_saved
13538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13539 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13540 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
13541 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13544 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13545 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13546 $as_echo_n "(cached) " >&6
13548 ac_wine_try_cflags_saved
=$CFLAGS
13549 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13551 /* end confdefs.h. */
13552 int main(int argc, char **argv) { return 0; }
13554 if ac_fn_c_try_link
"$LINENO"; then :
13555 ac_cv_cflags__Wdeclaration_after_statement
=yes
13557 ac_cv_cflags__Wdeclaration_after_statement
=no
13559 rm -f core conftest.err conftest.
$ac_objext \
13560 conftest
$ac_exeext conftest.
$ac_ext
13561 CFLAGS
=$ac_wine_try_cflags_saved
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13564 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13565 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
13566 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13569 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13570 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13571 $as_echo_n "(cached) " >&6
13573 ac_wine_try_cflags_saved
=$CFLAGS
13574 CFLAGS
="$CFLAGS -Wempty-body"
13575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13576 /* end confdefs.h. */
13577 int main(int argc, char **argv) { return 0; }
13579 if ac_fn_c_try_link
"$LINENO"; then :
13580 ac_cv_cflags__Wempty_body
=yes
13582 ac_cv_cflags__Wempty_body
=no
13584 rm -f core conftest.err conftest.
$ac_objext \
13585 conftest
$ac_exeext conftest.
$ac_ext
13586 CFLAGS
=$ac_wine_try_cflags_saved
13588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13589 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13590 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
13591 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13594 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13595 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13596 $as_echo_n "(cached) " >&6
13598 ac_wine_try_cflags_saved
=$CFLAGS
13599 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13601 /* end confdefs.h. */
13602 int main(int argc, char **argv) { return 0; }
13604 if ac_fn_c_try_link
"$LINENO"; then :
13605 ac_cv_cflags__Wignored_qualifiers
=yes
13607 ac_cv_cflags__Wignored_qualifiers
=no
13609 rm -f core conftest.err conftest.
$ac_objext \
13610 conftest
$ac_exeext conftest.
$ac_ext
13611 CFLAGS
=$ac_wine_try_cflags_saved
13613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13614 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13615 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
13616 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13619 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13620 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13621 $as_echo_n "(cached) " >&6
13623 ac_wine_try_cflags_saved
=$CFLAGS
13624 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13625 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13626 /* end confdefs.h. */
13627 int main(int argc, char **argv) { return 0; }
13629 if ac_fn_c_try_link
"$LINENO"; then :
13630 ac_cv_cflags__Wstrict_prototypes
=yes
13632 ac_cv_cflags__Wstrict_prototypes
=no
13634 rm -f core conftest.err conftest.
$ac_objext \
13635 conftest
$ac_exeext conftest.
$ac_ext
13636 CFLAGS
=$ac_wine_try_cflags_saved
13638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13639 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13640 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
13641 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13644 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13645 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13646 $as_echo_n "(cached) " >&6
13648 ac_wine_try_cflags_saved
=$CFLAGS
13649 CFLAGS
="$CFLAGS -Wtype-limits"
13650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13651 /* end confdefs.h. */
13652 int main(int argc, char **argv) { return 0; }
13654 if ac_fn_c_try_link
"$LINENO"; then :
13655 ac_cv_cflags__Wtype_limits
=yes
13657 ac_cv_cflags__Wtype_limits
=no
13659 rm -f core conftest.err conftest.
$ac_objext \
13660 conftest
$ac_exeext conftest.
$ac_ext
13661 CFLAGS
=$ac_wine_try_cflags_saved
13663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13664 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13665 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
13666 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13669 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13670 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13671 $as_echo_n "(cached) " >&6
13673 ac_wine_try_cflags_saved
=$CFLAGS
13674 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13676 /* end confdefs.h. */
13677 int main(int argc, char **argv) { return 0; }
13679 if ac_fn_c_try_link
"$LINENO"; then :
13680 ac_cv_cflags__Wunused_but_set_parameter
=yes
13682 ac_cv_cflags__Wunused_but_set_parameter
=no
13684 rm -f core conftest.err conftest.
$ac_objext \
13685 conftest
$ac_exeext conftest.
$ac_ext
13686 CFLAGS
=$ac_wine_try_cflags_saved
13688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13689 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13690 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
13691 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13694 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13695 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
13696 $as_echo_n "(cached) " >&6
13698 ac_wine_try_cflags_saved
=$CFLAGS
13699 CFLAGS
="$CFLAGS -Wwrite-strings"
13700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13701 /* end confdefs.h. */
13702 int main(int argc, char **argv) { return 0; }
13704 if ac_fn_c_try_link
"$LINENO"; then :
13705 ac_cv_cflags__Wwrite_strings
=yes
13707 ac_cv_cflags__Wwrite_strings
=no
13709 rm -f core conftest.err conftest.
$ac_objext \
13710 conftest
$ac_exeext conftest.
$ac_ext
13711 CFLAGS
=$ac_wine_try_cflags_saved
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13714 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13715 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
13716 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
13719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13720 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13721 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
13722 $as_echo_n "(cached) " >&6
13724 ac_wine_try_cflags_saved
=$CFLAGS
13725 CFLAGS
="$CFLAGS -Wpointer-arith"
13726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13727 /* end confdefs.h. */
13728 int main(int argc, char **argv) { return 0; }
13730 if ac_fn_c_try_link
"$LINENO"; then :
13731 ac_cv_cflags__Wpointer_arith
=yes
13733 ac_cv_cflags__Wpointer_arith
=no
13735 rm -f core conftest.err conftest.
$ac_objext \
13736 conftest
$ac_exeext conftest.
$ac_ext
13737 CFLAGS
=$ac_wine_try_cflags_saved
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13740 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13741 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
13742 saved_string_h_CFLAGS
=$CFLAGS
13743 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
13744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13745 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13746 if ${ac_cv_c_string_h_warnings+:} false
; then :
13747 $as_echo_n "(cached) " >&6
13749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13750 /* end confdefs.h. */
13751 #include <string.h>
13760 if ac_fn_c_try_compile
"$LINENO"; then :
13761 ac_cv_c_string_h_warnings
=no
13763 ac_cv_c_string_h_warnings
=yes
13765 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13768 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13769 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
13770 CFLAGS
=$saved_string_h_CFLAGS
13773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13774 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13775 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
13776 $as_echo_n "(cached) " >&6
13778 ac_wine_try_cflags_saved
=$CFLAGS
13779 CFLAGS
="$CFLAGS -Wlogical-op"
13780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13781 /* end confdefs.h. */
13782 int main(int argc, char **argv) { return 0; }
13784 if ac_fn_c_try_link
"$LINENO"; then :
13785 ac_cv_cflags__Wlogical_op
=yes
13787 ac_cv_cflags__Wlogical_op
=no
13789 rm -f core conftest.err conftest.
$ac_objext \
13790 conftest
$ac_exeext conftest.
$ac_ext
13791 CFLAGS
=$ac_wine_try_cflags_saved
13793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13794 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13795 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
13796 saved_string_h_CFLAGS
=$CFLAGS
13797 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13799 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13800 if ${ac_cv_c_logicalop_noisy+:} false
; then :
13801 $as_echo_n "(cached) " >&6
13803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13804 /* end confdefs.h. */
13805 #include <string.h>
13806 char*f(const char *h,char n) {return strchr(h,n);}
13815 if ac_fn_c_try_compile
"$LINENO"; then :
13816 ac_cv_c_logicalop_noisy
=no
13818 ac_cv_c_logicalop_noisy
=yes
13820 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13823 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13824 CFLAGS
=$saved_string_h_CFLAGS
13825 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
13828 CFLAGS
=$saved_CFLAGS
13830 for ac_flag
in $CFLAGS; do
13832 -g) case $host_os in
13833 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13834 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13835 if ${ac_cv_cflags__gstabsp+:} false
; then :
13836 $as_echo_n "(cached) " >&6
13838 ac_wine_try_cflags_saved
=$CFLAGS
13839 CFLAGS
="$CFLAGS -gstabs+"
13840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13841 /* end confdefs.h. */
13842 int main(int argc, char **argv) { return 0; }
13844 if ac_fn_c_try_link
"$LINENO"; then :
13845 ac_cv_cflags__gstabsp
=yes
13847 ac_cv_cflags__gstabsp
=no
13849 rm -f core conftest.err conftest.
$ac_objext \
13850 conftest
$ac_exeext conftest.
$ac_ext
13851 CFLAGS
=$ac_wine_try_cflags_saved
13853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13854 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
13855 if test "x$ac_cv_cflags__gstabsp" = xyes
; then :
13856 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
13858 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
13859 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
13860 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
13861 $as_echo_n "(cached) " >&6
13863 ac_wine_try_cflags_saved
=$CFLAGS
13864 CFLAGS
="$CFLAGS -gdwarf-2"
13865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13866 /* end confdefs.h. */
13867 int main(int argc, char **argv) { return 0; }
13869 if ac_fn_c_try_link
"$LINENO"; then :
13870 ac_cv_cflags__gdwarf_2
=yes
13872 ac_cv_cflags__gdwarf_2
=no
13874 rm -f core conftest.err conftest.
$ac_objext \
13875 conftest
$ac_exeext conftest.
$ac_ext
13876 CFLAGS
=$ac_wine_try_cflags_saved
13878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
13879 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
13880 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
13881 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
13883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
13884 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
13885 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
13886 $as_echo_n "(cached) " >&6
13888 ac_wine_try_cflags_saved
=$CFLAGS
13889 CFLAGS
="$CFLAGS -gstrict-dwarf"
13890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13891 /* end confdefs.h. */
13892 int main(int argc, char **argv) { return 0; }
13894 if ac_fn_c_try_link
"$LINENO"; then :
13895 ac_cv_cflags__gstrict_dwarf
=yes
13897 ac_cv_cflags__gstrict_dwarf
=no
13899 rm -f core conftest.err conftest.
$ac_objext \
13900 conftest
$ac_exeext conftest.
$ac_ext
13901 CFLAGS
=$ac_wine_try_cflags_saved
13903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
13904 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
13905 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
13906 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
13913 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
13914 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
13915 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
13916 $as_echo_n "(cached) " >&6
13918 ac_wine_try_cflags_saved
=$CFLAGS
13919 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
13920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13921 /* end confdefs.h. */
13922 int main(int argc, char **argv) { return 0; }
13924 if ac_fn_c_try_link
"$LINENO"; then :
13925 ac_cv_cflags__fno_omit_frame_pointer
=yes
13927 ac_cv_cflags__fno_omit_frame_pointer
=no
13929 rm -f core conftest.err conftest.
$ac_objext \
13930 conftest
$ac_exeext conftest.
$ac_ext
13931 CFLAGS
=$ac_wine_try_cflags_saved
13933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
13934 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
13935 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
13936 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
13941 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
13942 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
13943 if ${ac_cv_cflags__Wno_format+:} false
; then :
13944 $as_echo_n "(cached) " >&6
13946 ac_wine_try_cflags_saved
=$CFLAGS
13947 CFLAGS
="$CFLAGS -Wno-format"
13948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13949 /* end confdefs.h. */
13950 int main(int argc, char **argv) { return 0; }
13952 if ac_fn_c_try_link
"$LINENO"; then :
13953 ac_cv_cflags__Wno_format
=yes
13955 ac_cv_cflags__Wno_format
=no
13957 rm -f core conftest.err conftest.
$ac_objext \
13958 conftest
$ac_exeext conftest.
$ac_ext
13959 CFLAGS
=$ac_wine_try_cflags_saved
13961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
13962 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
13963 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
13964 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
13968 if test "x$enable_maintainer_mode" = "xyes"
13970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
13971 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
13972 if ${ac_cv_cflags__Werror+:} false
; then :
13973 $as_echo_n "(cached) " >&6
13975 ac_wine_try_cflags_saved
=$CFLAGS
13976 CFLAGS
="$CFLAGS -Werror"
13977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13978 /* end confdefs.h. */
13979 int main(int argc, char **argv) { return 0; }
13981 if ac_fn_c_try_link
"$LINENO"; then :
13982 ac_cv_cflags__Werror
=yes
13984 ac_cv_cflags__Werror
=no
13986 rm -f core conftest.err conftest.
$ac_objext \
13987 conftest
$ac_exeext conftest.
$ac_ext
13988 CFLAGS
=$ac_wine_try_cflags_saved
13990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
13991 $as_echo "$ac_cv_cflags__Werror" >&6; }
13992 if test "x$ac_cv_cflags__Werror" = xyes
; then :
13993 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
13997 saved_CFLAGS
="$CFLAGS"
13998 CFLAGS
="$CFLAGS -Werror"
13999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14000 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14001 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14002 $as_echo_n "(cached) " >&6
14004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14005 /* end confdefs.h. */
14006 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14015 if ac_fn_c_try_compile
"$LINENO"; then :
14016 ac_cv_have_ms_hook_prologue
="yes"
14018 ac_cv_have_ms_hook_prologue
="no"
14020 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14023 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14024 CFLAGS
="$saved_CFLAGS"
14025 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14028 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14031 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14038 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14039 if ${ac_cv_c_fortify_enabled+:} false
; then :
14040 $as_echo_n "(cached) " >&6
14042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14043 /* end confdefs.h. */
14044 #include <string.h>
14048 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14049 #error Fortify enabled
14055 if ac_fn_c_try_compile
"$LINENO"; then :
14056 ac_cv_c_fortify_enabled
=no
14058 ac_cv_c_fortify_enabled
=yes
14060 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14063 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14064 if test "$ac_cv_c_fortify_enabled" = yes
14066 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14071 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14072 if ${ac_cv_c_extern_prefix+:} false
; then :
14073 $as_echo_n "(cached) " >&6
14075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14076 /* end confdefs.h. */
14077 extern int ac_test;
14081 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14086 if ac_fn_c_try_link
"$LINENO"; then :
14087 ac_cv_c_extern_prefix
="yes"
14089 ac_cv_c_extern_prefix
="no"
14091 rm -f core conftest.err conftest.
$ac_objext \
14092 conftest
$ac_exeext conftest.
$ac_ext
14094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14095 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14100 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14101 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14102 $as_echo_n "(cached) " >&6
14104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14105 /* end confdefs.h. */
14107 #define __stdcall __attribute__((__stdcall__))
14109 int __stdcall ac_test(int i) { return i; }
14113 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14118 if ac_fn_c_try_link
"$LINENO"; then :
14119 ac_cv_c_stdcall_suffix
="yes"
14121 ac_cv_c_stdcall_suffix
="no"
14123 rm -f core conftest.err conftest.
$ac_objext \
14124 conftest
$ac_exeext conftest.
$ac_ext
14126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14127 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14128 *) ac_cv_c_stdcall_suffix
="no" ;;
14132 if test "$ac_cv_c_extern_prefix" = "yes"
14134 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14136 asm_name_prefix
="_"
14138 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14144 if test "$ac_cv_c_stdcall_suffix" = "yes"
14146 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14149 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14155 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14156 if ${ac_cv_asm_func_def+:} false
; then :
14157 $as_echo_n "(cached) " >&6
14159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14160 /* end confdefs.h. */
14165 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14170 if ac_fn_c_try_link
"$LINENO"; then :
14171 ac_cv_asm_func_def
=".def"
14173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14174 /* end confdefs.h. */
14179 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14184 if ac_fn_c_try_link
"$LINENO"; then :
14185 ac_cv_asm_func_def
=".type @function"
14187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14188 /* end confdefs.h. */
14193 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14198 if ac_fn_c_try_link
"$LINENO"; then :
14199 ac_cv_asm_func_def
=".type 2"
14201 ac_cv_asm_func_def
="unknown"
14203 rm -f core conftest.err conftest.
$ac_objext \
14204 conftest
$ac_exeext conftest.
$ac_ext
14206 rm -f core conftest.err conftest.
$ac_objext \
14207 conftest
$ac_exeext conftest.
$ac_ext
14209 rm -f core conftest.err conftest.
$ac_objext \
14210 conftest
$ac_exeext conftest.
$ac_ext
14212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14213 $as_echo "$ac_cv_asm_func_def" >&6; }
14216 case "$ac_cv_asm_func_def" in
14218 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14220 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14222 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14224 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14226 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14228 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14230 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14232 asm_func_header
="" ;;
14235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14236 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14237 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14238 $as_echo_n "(cached) " >&6
14240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14241 /* end confdefs.h. */
14242 asm(".text\n\t.long 0");
14251 if ac_fn_c_try_compile
"$LINENO"; then :
14252 ac_cv_c_asm_outside_funcs
="yes"
14254 ac_cv_c_asm_outside_funcs
="no"
14256 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14259 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14262 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14263 if ${ac_cv_c_dot_previous+:} false
; then :
14264 $as_echo_n "(cached) " >&6
14266 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14267 /* end confdefs.h. */
14272 asm(".text\nac_test:\t.long 0\n\t.previous");
14277 if ac_fn_c_try_link
"$LINENO"; then :
14278 ac_cv_c_dot_previous
="yes"
14280 ac_cv_c_dot_previous
="no"
14282 rm -f core conftest.err conftest.
$ac_objext \
14283 conftest
$ac_exeext conftest.
$ac_ext
14285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14286 $as_echo "$ac_cv_c_dot_previous" >&6; }
14288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14289 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14290 if ${ac_cv_c_cfi_support+:} false
; then :
14291 $as_echo_n "(cached) " >&6
14293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14294 /* end confdefs.h. */
14295 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14304 if ac_fn_c_try_compile
"$LINENO"; then :
14305 ac_cv_c_cfi_support
="yes"
14307 ac_cv_c_cfi_support
="no"
14309 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14312 $as_echo "$ac_cv_c_cfi_support" >&6; }
14314 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14315 asm_func_trailer
=""
14316 if test "$ac_cv_c_dot_previous" = "yes"
14318 asm_func_trailer
="\\n\\t.previous"
14320 if test "$ac_cv_c_cfi_support" = "yes"
14322 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14323 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14325 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14327 UNWINDFLAGS
=-fasynchronous-unwind-tables
14330 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14334 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14337 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14339 cat >>confdefs.h
<<_ACEOF
14340 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14344 cat >>confdefs.h
<<_ACEOF
14345 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14350 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14353 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14358 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14365 *i
[3456789]86*|x86_64
*)
14366 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14367 loader_programs
="$loader_programs $wine_binary-preloader"
14368 as_fn_append LOADER_RULES
"
14369 $wine_binary-preloader: preloader.o
14370 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14372 install install-lib:: $wine_binary-preloader
14373 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14376 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14378 preloader_EXTRADEFS = $BUILTINFLAG
14383 as_fn_append LOADER_RULES
"
14384 PROGRAMS = $loader_programs
14388 ac_save_CFLAGS
="$CFLAGS"
14389 CFLAGS
="$CFLAGS $BUILTINFLAG"
14466 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14467 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14468 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14469 cat >>confdefs.h
<<_ACEOF
14470 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14476 CFLAGS
="$ac_save_CFLAGS"
14478 if test "$ac_cv_func_dlopen" = no
14480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14481 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14482 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14483 $as_echo_n "(cached) " >&6
14485 ac_check_lib_save_LIBS
=$LIBS
14487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14488 /* end confdefs.h. */
14490 /* Override any GCC internal prototype to avoid an error.
14491 Use char because int might match the return type of a GCC
14492 builtin and then its argument prototype would still apply. */
14505 if ac_fn_c_try_link
"$LINENO"; then :
14506 ac_cv_lib_dl_dlopen
=yes
14508 ac_cv_lib_dl_dlopen
=no
14510 rm -f core conftest.err conftest.
$ac_objext \
14511 conftest
$ac_exeext conftest.
$ac_ext
14512 LIBS
=$ac_check_lib_save_LIBS
14514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14515 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14516 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14517 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14523 ac_wine_check_funcs_save_LIBS
="$LIBS"
14524 LIBS
="$LIBS $DL_LIBS"
14525 for ac_func
in dladdr
14527 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14528 if test "x$ac_cv_func_dladdr" = xyes
; then :
14529 cat >>confdefs.h
<<_ACEOF
14530 #define HAVE_DLADDR 1
14536 LIBS
="$ac_wine_check_funcs_save_LIBS"
14538 if test "$ac_cv_func_poll" = no
14540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14541 $as_echo_n "checking for poll in -lpoll... " >&6; }
14542 if ${ac_cv_lib_poll_poll+:} false
; then :
14543 $as_echo_n "(cached) " >&6
14545 ac_check_lib_save_LIBS
=$LIBS
14546 LIBS
="-lpoll $LIBS"
14547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14548 /* end confdefs.h. */
14550 /* Override any GCC internal prototype to avoid an error.
14551 Use char because int might match the return type of a GCC
14552 builtin and then its argument prototype would still apply. */
14565 if ac_fn_c_try_link
"$LINENO"; then :
14566 ac_cv_lib_poll_poll
=yes
14568 ac_cv_lib_poll_poll
=no
14570 rm -f core conftest.err conftest.
$ac_objext \
14571 conftest
$ac_exeext conftest.
$ac_ext
14572 LIBS
=$ac_check_lib_save_LIBS
14574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14575 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14576 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14577 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14585 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14586 if ${ac_cv_search_gethostbyname+:} false
; then :
14587 $as_echo_n "(cached) " >&6
14589 ac_func_search_save_LIBS
=$LIBS
14590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14591 /* end confdefs.h. */
14593 /* Override any GCC internal prototype to avoid an error.
14594 Use char because int might match the return type of a GCC
14595 builtin and then its argument prototype would still apply. */
14599 char gethostbyname ();
14603 return gethostbyname ();
14608 for ac_lib
in '' nsl
; do
14609 if test -z "$ac_lib"; then
14610 ac_res
="none required"
14613 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14615 if ac_fn_c_try_link
"$LINENO"; then :
14616 ac_cv_search_gethostbyname
=$ac_res
14618 rm -f core conftest.err conftest.
$ac_objext \
14620 if ${ac_cv_search_gethostbyname+:} false
; then :
14624 if ${ac_cv_search_gethostbyname+:} false
; then :
14627 ac_cv_search_gethostbyname
=no
14629 rm conftest.
$ac_ext
14630 LIBS
=$ac_func_search_save_LIBS
14632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14633 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14634 ac_res
=$ac_cv_search_gethostbyname
14635 if test "$ac_res" != no
; then :
14636 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14642 $as_echo_n "checking for library containing connect... " >&6; }
14643 if ${ac_cv_search_connect+:} false
; then :
14644 $as_echo_n "(cached) " >&6
14646 ac_func_search_save_LIBS
=$LIBS
14647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14648 /* end confdefs.h. */
14650 /* Override any GCC internal prototype to avoid an error.
14651 Use char because int might match the return type of a GCC
14652 builtin and then its argument prototype would still apply. */
14665 for ac_lib
in '' socket
; do
14666 if test -z "$ac_lib"; then
14667 ac_res
="none required"
14670 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14672 if ac_fn_c_try_link
"$LINENO"; then :
14673 ac_cv_search_connect
=$ac_res
14675 rm -f core conftest.err conftest.
$ac_objext \
14677 if ${ac_cv_search_connect+:} false
; then :
14681 if ${ac_cv_search_connect+:} false
; then :
14684 ac_cv_search_connect
=no
14686 rm conftest.
$ac_ext
14687 LIBS
=$ac_func_search_save_LIBS
14689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14690 $as_echo "$ac_cv_search_connect" >&6; }
14691 ac_res
=$ac_cv_search_connect
14692 if test "$ac_res" != no
; then :
14693 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14699 $as_echo_n "checking for library containing inet_aton... " >&6; }
14700 if ${ac_cv_search_inet_aton+:} false
; then :
14701 $as_echo_n "(cached) " >&6
14703 ac_func_search_save_LIBS
=$LIBS
14704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14705 /* end confdefs.h. */
14707 /* Override any GCC internal prototype to avoid an error.
14708 Use char because int might match the return type of a GCC
14709 builtin and then its argument prototype would still apply. */
14717 return inet_aton ();
14722 for ac_lib
in '' resolv
; do
14723 if test -z "$ac_lib"; then
14724 ac_res
="none required"
14727 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14729 if ac_fn_c_try_link
"$LINENO"; then :
14730 ac_cv_search_inet_aton
=$ac_res
14732 rm -f core conftest.err conftest.
$ac_objext \
14734 if ${ac_cv_search_inet_aton+:} false
; then :
14738 if ${ac_cv_search_inet_aton+:} false
; then :
14741 ac_cv_search_inet_aton
=no
14743 rm conftest.
$ac_ext
14744 LIBS
=$ac_func_search_save_LIBS
14746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14747 $as_echo "$ac_cv_search_inet_aton" >&6; }
14748 ac_res
=$ac_cv_search_inet_aton
14749 if test "$ac_res" != no
; then :
14750 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14770 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14771 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14772 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14773 cat >>confdefs.h
<<_ACEOF
14774 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14783 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14784 if ${ac_cv_search_clock_gettime+:} false
; then :
14785 $as_echo_n "(cached) " >&6
14787 ac_func_search_save_LIBS
=$LIBS
14788 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14789 /* end confdefs.h. */
14791 /* Override any GCC internal prototype to avoid an error.
14792 Use char because int might match the return type of a GCC
14793 builtin and then its argument prototype would still apply. */
14797 char clock_gettime ();
14801 return clock_gettime ();
14806 for ac_lib
in '' rt
; do
14807 if test -z "$ac_lib"; then
14808 ac_res
="none required"
14811 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14813 if ac_fn_c_try_link
"$LINENO"; then :
14814 ac_cv_search_clock_gettime
=$ac_res
14816 rm -f core conftest.err conftest.
$ac_objext \
14818 if ${ac_cv_search_clock_gettime+:} false
; then :
14822 if ${ac_cv_search_clock_gettime+:} false
; then :
14825 ac_cv_search_clock_gettime
=no
14827 rm conftest.
$ac_ext
14828 LIBS
=$ac_func_search_save_LIBS
14830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14831 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14832 ac_res
=$ac_cv_search_clock_gettime
14833 if test "$ac_res" != no
; then :
14834 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14836 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14838 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
14846 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14848 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14850 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
14851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14852 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14853 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
14854 $as_echo_n "(cached) " >&6
14856 ac_check_lib_save_LIBS
=$LIBS
14857 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
14858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14859 /* end confdefs.h. */
14861 /* Override any GCC internal prototype to avoid an error.
14862 Use char because int might match the return type of a GCC
14863 builtin and then its argument prototype would still apply. */
14867 char ldap_initialize ();
14871 return ldap_initialize ();
14876 if ac_fn_c_try_link
"$LINENO"; then :
14877 ac_cv_lib_ldap_r_ldap_initialize
=yes
14879 ac_cv_lib_ldap_r_ldap_initialize
=no
14881 rm -f core conftest.err conftest.
$ac_objext \
14882 conftest
$ac_exeext conftest.
$ac_ext
14883 LIBS
=$ac_check_lib_save_LIBS
14885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
14886 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
14887 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
14888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
14889 $as_echo_n "checking for ber_init in -llber... " >&6; }
14890 if ${ac_cv_lib_lber_ber_init+:} false
; then :
14891 $as_echo_n "(cached) " >&6
14893 ac_check_lib_save_LIBS
=$LIBS
14894 LIBS
="-llber $PTHREAD_LIBS $LIBS"
14895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14896 /* end confdefs.h. */
14898 /* Override any GCC internal prototype to avoid an error.
14899 Use char because int might match the return type of a GCC
14900 builtin and then its argument prototype would still apply. */
14908 return ber_init ();
14913 if ac_fn_c_try_link
"$LINENO"; then :
14914 ac_cv_lib_lber_ber_init
=yes
14916 ac_cv_lib_lber_ber_init
=no
14918 rm -f core conftest.err conftest.
$ac_objext \
14919 conftest
$ac_exeext conftest.
$ac_ext
14920 LIBS
=$ac_check_lib_save_LIBS
14922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
14923 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
14924 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
14926 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
14928 LDAP_LIBS
="-lldap_r -llber"
14935 ac_wine_check_funcs_save_LIBS
="$LIBS"
14936 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
14938 ldap_count_references \
14939 ldap_first_reference \
14940 ldap_next_reference \
14941 ldap_parse_reference \
14942 ldap_parse_sort_control \
14943 ldap_parse_sortresponse_control \
14944 ldap_parse_vlv_control \
14945 ldap_parse_vlvresponse_control
14947 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14948 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14949 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14950 cat >>confdefs.h
<<_ACEOF
14951 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14957 LIBS
="$ac_wine_check_funcs_save_LIBS"
14959 if test "x$LDAP_LIBS" = "x"; then :
14960 case "x$with_ldap" in
14961 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
14963 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
14964 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
14968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
14969 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
14970 if ${wine_cv_one_arg_mkdir+:} false
; then :
14971 $as_echo_n "(cached) " >&6
14973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14974 /* end confdefs.h. */
14975 #include <sys/stat.h>
14984 if ac_fn_c_try_compile
"$LINENO"; then :
14985 wine_cv_one_arg_mkdir
=yes
14987 wine_cv_one_arg_mkdir
=no
14989 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
14992 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
14993 if test "$wine_cv_one_arg_mkdir" = "yes"
14996 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15001 $as_echo_n "checking for sched_setaffinity... " >&6; }
15002 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15003 $as_echo_n "(cached) " >&6
15005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15006 /* end confdefs.h. */
15007 #define _GNU_SOURCE
15012 sched_setaffinity(0, 0, 0);
15017 if ac_fn_c_try_link
"$LINENO"; then :
15018 wine_cv_have_sched_setaffinity
=yes
15020 wine_cv_have_sched_setaffinity
=no
15022 rm -f core conftest.err conftest.
$ac_objext \
15023 conftest
$ac_exeext conftest.
$ac_ext
15025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15026 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15027 if test "$wine_cv_have_sched_setaffinity" = "yes"
15030 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15035 $as_echo_n "checking for fallocate... " >&6; }
15036 if ${wine_cv_have_fallocate+:} false
; then :
15037 $as_echo_n "(cached) " >&6
15039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15040 /* end confdefs.h. */
15041 #define _GNU_SOURCE
15046 fallocate(-1, 0, 0, 0);
15051 if ac_fn_c_try_link
"$LINENO"; then :
15052 wine_cv_have_fallocate
=yes
15054 wine_cv_have_fallocate
=no
15056 rm -f core conftest.err conftest.
$ac_objext \
15057 conftest
$ac_exeext conftest.
$ac_ext
15059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15060 $as_echo "$wine_cv_have_fallocate" >&6; }
15061 if test "$wine_cv_have_fallocate" = "yes"
15064 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15070 $as_echo_n "checking for inline... " >&6; }
15071 if ${ac_cv_c_inline+:} false
; then :
15072 $as_echo_n "(cached) " >&6
15075 for ac_kw
in inline __inline__ __inline
; do
15076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15077 /* end confdefs.h. */
15078 #ifndef __cplusplus
15080 static $ac_kw foo_t static_foo () {return 0; }
15081 $ac_kw foo_t foo () {return 0; }
15085 if ac_fn_c_try_compile
"$LINENO"; then :
15086 ac_cv_c_inline
=$ac_kw
15088 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15089 test "$ac_cv_c_inline" != no
&& break
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15094 $as_echo "$ac_cv_c_inline" >&6; }
15096 case $ac_cv_c_inline in
15099 case $ac_cv_c_inline in
15101 *) ac_val
=$ac_cv_c_inline;;
15103 cat >>confdefs.h
<<_ACEOF
15104 #ifndef __cplusplus
15105 #define inline $ac_val
15111 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15112 if test "x$ac_cv_type_mode_t" = xyes
; then :
15114 cat >>confdefs.h
<<_ACEOF
15115 #define HAVE_MODE_T 1
15120 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15121 if test "x$ac_cv_type_off_t" = xyes
; then :
15123 cat >>confdefs.h
<<_ACEOF
15124 #define HAVE_OFF_T 1
15129 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15130 if test "x$ac_cv_type_pid_t" = xyes
; then :
15132 cat >>confdefs.h
<<_ACEOF
15133 #define HAVE_PID_T 1
15138 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15139 if test "x$ac_cv_type_size_t" = xyes
; then :
15141 cat >>confdefs.h
<<_ACEOF
15142 #define HAVE_SIZE_T 1
15147 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15148 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15150 cat >>confdefs.h
<<_ACEOF
15151 #define HAVE_SSIZE_T 1
15156 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15157 if test "x$ac_cv_type_long_long" = xyes
; then :
15159 cat >>confdefs.h
<<_ACEOF
15160 #define HAVE_LONG_LONG 1
15165 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15166 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15168 cat >>confdefs.h
<<_ACEOF
15169 #define HAVE_FSBLKCNT_T 1
15174 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15175 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15177 cat >>confdefs.h
<<_ACEOF
15178 #define HAVE_FSFILCNT_T 1
15184 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15185 #include <signal.h>
15187 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15189 cat >>confdefs.h
<<_ACEOF
15190 #define HAVE_SIGSET_T 1
15196 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15198 if test "x$ac_cv_type_request_sense" = xyes
; then :
15200 cat >>confdefs.h
<<_ACEOF
15201 #define HAVE_REQUEST_SENSE 1
15208 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15209 #ifdef HAVE_SYS_SOCKET_H
15210 #include <sys/socket.h>
15212 #ifdef HAVE_SYS_SOCKETVAR_H
15213 #include <sys/socketvar.h>
15215 #ifdef HAVE_NET_ROUTE_H
15216 #include <net/route.h>
15218 #ifdef HAVE_NETINET_IN_H
15219 #include <netinet/in.h>
15221 #ifdef HAVE_NETINET_IN_SYSTM_H
15222 #include <netinet/in_systm.h>
15224 #ifdef HAVE_NETINET_IP_H
15225 #include <netinet/ip.h>
15227 #ifdef HAVE_NETINET_IN_PCB_H
15228 #include <netinet/in_pcb.h>
15231 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15233 cat >>confdefs.h
<<_ACEOF
15234 #define HAVE_STRUCT_XINPGEN 1
15241 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15244 #ifdef HAVE_SYS_LINK_H
15245 #include <sys/link.h>
15248 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15250 cat >>confdefs.h
<<_ACEOF
15251 #define HAVE_STRUCT_R_DEBUG 1
15256 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15259 #ifdef HAVE_SYS_LINK_H
15260 #include <sys/link.h>
15263 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15265 cat >>confdefs.h
<<_ACEOF
15266 #define HAVE_STRUCT_LINK_MAP 1
15273 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15274 #include <linux/input.h>
15277 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15279 cat >>confdefs.h
<<_ACEOF
15280 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15288 $as_echo_n "checking for sigaddset... " >&6; }
15289 if ${wine_cv_have_sigaddset+:} false
; then :
15290 $as_echo_n "(cached) " >&6
15292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15293 /* end confdefs.h. */
15294 #include <signal.h>
15298 sigset_t set; sigaddset(&set,SIGTERM);
15303 if ac_fn_c_try_link
"$LINENO"; then :
15304 wine_cv_have_sigaddset
=yes
15306 wine_cv_have_sigaddset
=no
15308 rm -f core conftest.err conftest.
$ac_objext \
15309 conftest
$ac_exeext conftest.
$ac_ext
15311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15312 $as_echo "$wine_cv_have_sigaddset" >&6; }
15313 if test "$wine_cv_have_sigaddset" = "yes"
15316 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15322 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15323 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15324 $as_echo_n "(cached) " >&6
15326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15327 /* end confdefs.h. */
15335 struct hostent *result;
15342 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15343 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15349 if ac_fn_c_try_link
"$LINENO"; then :
15350 wine_cv_linux_gethostbyname_r_6
=yes
15352 wine_cv_linux_gethostbyname_r_6
=no
15355 rm -f core conftest.err conftest.
$ac_objext \
15356 conftest
$ac_exeext conftest.
$ac_ext
15359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15360 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15361 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15364 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15368 if test "$ac_cv_header_linux_joystick_h" = "yes"
15370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15371 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15372 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15373 $as_echo_n "(cached) " >&6
15375 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15376 /* end confdefs.h. */
15378 #include <sys/ioctl.h>
15379 #include <sys/types.h>
15380 #include <linux/joystick.h>
15382 struct js_event blub;
15383 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15384 #error "no 2.2 header"
15395 if ac_fn_c_try_compile
"$LINENO"; then :
15396 wine_cv_linux_joystick_22_api
=yes
15398 wine_cv_linux_joystick_22_api
=no
15400 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15404 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15405 if test "$wine_cv_linux_joystick_22_api" = "yes"
15408 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15414 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15415 #ifdef HAVE_SYS_PARAM_H
15416 # include <sys/param.h>
15418 #ifdef HAVE_SYS_MOUNT_H
15419 # include <sys/mount.h>
15421 #ifdef HAVE_SYS_VFS_H
15422 # include <sys/vfs.h>
15424 #ifdef HAVE_SYS_STATFS_H
15425 # include <sys/statfs.h>
15428 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15430 cat >>confdefs.h
<<_ACEOF
15431 #define HAVE_STRUCT_STATFS_F_BFREE 1
15436 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15437 #ifdef HAVE_SYS_PARAM_H
15438 # include <sys/param.h>
15440 #ifdef HAVE_SYS_MOUNT_H
15441 # include <sys/mount.h>
15443 #ifdef HAVE_SYS_VFS_H
15444 # include <sys/vfs.h>
15446 #ifdef HAVE_SYS_STATFS_H
15447 # include <sys/statfs.h>
15450 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15452 cat >>confdefs.h
<<_ACEOF
15453 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15458 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15459 #ifdef HAVE_SYS_PARAM_H
15460 # include <sys/param.h>
15462 #ifdef HAVE_SYS_MOUNT_H
15463 # include <sys/mount.h>
15465 #ifdef HAVE_SYS_VFS_H
15466 # include <sys/vfs.h>
15468 #ifdef HAVE_SYS_STATFS_H
15469 # include <sys/statfs.h>
15472 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15474 cat >>confdefs.h
<<_ACEOF
15475 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15480 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15481 #ifdef HAVE_SYS_PARAM_H
15482 # include <sys/param.h>
15484 #ifdef HAVE_SYS_MOUNT_H
15485 # include <sys/mount.h>
15487 #ifdef HAVE_SYS_VFS_H
15488 # include <sys/vfs.h>
15490 #ifdef HAVE_SYS_STATFS_H
15491 # include <sys/statfs.h>
15494 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15496 cat >>confdefs.h
<<_ACEOF
15497 #define HAVE_STRUCT_STATFS_F_FFREE 1
15502 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15503 #ifdef HAVE_SYS_PARAM_H
15504 # include <sys/param.h>
15506 #ifdef HAVE_SYS_MOUNT_H
15507 # include <sys/mount.h>
15509 #ifdef HAVE_SYS_VFS_H
15510 # include <sys/vfs.h>
15512 #ifdef HAVE_SYS_STATFS_H
15513 # include <sys/statfs.h>
15516 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15518 cat >>confdefs.h
<<_ACEOF
15519 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15524 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15525 #ifdef HAVE_SYS_PARAM_H
15526 # include <sys/param.h>
15528 #ifdef HAVE_SYS_MOUNT_H
15529 # include <sys/mount.h>
15531 #ifdef HAVE_SYS_VFS_H
15532 # include <sys/vfs.h>
15534 #ifdef HAVE_SYS_STATFS_H
15535 # include <sys/statfs.h>
15538 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15540 cat >>confdefs.h
<<_ACEOF
15541 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15548 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15549 #include <sys/statvfs.h>
15552 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15554 cat >>confdefs.h
<<_ACEOF
15555 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15562 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15563 #include <dirent.h>
15566 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15568 cat >>confdefs.h
<<_ACEOF
15569 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15576 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15577 #ifdef HAVE_SYS_SOCKET_H
15578 # include <sys/socket.h>
15580 #ifdef HAVE_SYS_UN_H
15581 # include <sys/un.h>
15584 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15586 cat >>confdefs.h
<<_ACEOF
15587 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15592 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15593 #ifdef HAVE_SYS_SOCKET_H
15594 # include <sys/socket.h>
15596 #ifdef HAVE_SYS_UN_H
15597 # include <sys/un.h>
15600 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15602 cat >>confdefs.h
<<_ACEOF
15603 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15608 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15609 #ifdef HAVE_SYS_SOCKET_H
15610 # include <sys/socket.h>
15612 #ifdef HAVE_SYS_UN_H
15613 # include <sys/un.h>
15616 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15618 cat >>confdefs.h
<<_ACEOF
15619 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15626 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15627 #ifdef HAVE_SCSI_SG_H
15628 #include <scsi/sg.h>
15631 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15633 cat >>confdefs.h
<<_ACEOF
15634 #define HAVE_SCSIREQ_T_CMD 1
15639 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>
15640 #ifdef HAVE_SCSI_SG_H
15641 #include <scsi/sg.h>
15644 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15646 cat >>confdefs.h
<<_ACEOF
15647 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15654 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15656 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15658 cat >>confdefs.h
<<_ACEOF
15659 #define HAVE_SIGINFO_T_SI_FD 1
15666 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15667 #ifdef HAVE_SYS_MTIO_H
15668 #include <sys/mtio.h>
15671 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15673 cat >>confdefs.h
<<_ACEOF
15674 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15679 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15680 #ifdef HAVE_SYS_MTIO_H
15681 #include <sys/mtio.h>
15684 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
15686 cat >>confdefs.h
<<_ACEOF
15687 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15692 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15693 #ifdef HAVE_SYS_MTIO_H
15694 #include <sys/mtio.h>
15697 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
15699 cat >>confdefs.h
<<_ACEOF
15700 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15707 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15708 #include <getopt.h>
15711 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
15713 cat >>confdefs.h
<<_ACEOF
15714 #define HAVE_STRUCT_OPTION_NAME 1
15721 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15722 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
15724 cat >>confdefs.h
<<_ACEOF
15725 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15730 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15731 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
15733 cat >>confdefs.h
<<_ACEOF
15734 #define HAVE_STRUCT_STAT_ST_MTIM 1
15739 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15740 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
15742 cat >>confdefs.h
<<_ACEOF
15743 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15748 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15749 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
15751 cat >>confdefs.h
<<_ACEOF
15752 #define HAVE_STRUCT_STAT_ST_CTIM 1
15757 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15758 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
15760 cat >>confdefs.h
<<_ACEOF
15761 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15766 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15767 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
15769 cat >>confdefs.h
<<_ACEOF
15770 #define HAVE_STRUCT_STAT_ST_ATIM 1
15775 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15776 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
15778 cat >>confdefs.h
<<_ACEOF
15779 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15784 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15785 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
15787 cat >>confdefs.h
<<_ACEOF
15788 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15793 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15794 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
15796 cat >>confdefs.h
<<_ACEOF
15797 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15802 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15803 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
15805 cat >>confdefs.h
<<_ACEOF
15806 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15811 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15812 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
15814 cat >>confdefs.h
<<_ACEOF
15815 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15820 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15821 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
15823 cat >>confdefs.h
<<_ACEOF
15824 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15831 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
15832 #include <sys/types.h>
15834 #ifdef HAVE_NETINET_IN_H
15835 #include <netinet/in.h>
15838 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
15840 cat >>confdefs.h
<<_ACEOF
15841 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15848 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15849 #include <resolv.h>
15852 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
15854 cat >>confdefs.h
<<_ACEOF
15855 #define HAVE_STRUCT___RES_STATE 1
15862 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
15863 #include <resolv.h>
15866 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
15868 cat >>confdefs.h
<<_ACEOF
15869 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
15876 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
15877 #include <sys/types.h>
15879 #ifdef HAVE_NETINET_IN_H
15880 # include <netinet/in.h>
15882 #ifdef HAVE_ARPA_NAMESER_H
15883 # include <arpa/nameser.h>
15886 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
15888 cat >>confdefs.h
<<_ACEOF
15889 #define HAVE_NS_MSG__MSG_PTR 1
15896 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
15897 #include <sys/types.h>
15899 #ifdef HAVE_NETINET_IP_H
15900 #include <netinet/ip.h>
15902 #ifdef HAVE_NETINET_IP_ICMP_H
15903 #include <netinet/ip_icmp.h>
15905 #ifdef HAVE_NETINET_ICMP_VAR_H
15906 #include <netinet/icmp_var.h>
15909 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
15911 cat >>confdefs.h
<<_ACEOF
15912 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
15919 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
15920 #include <sys/types.h>
15922 #ifdef HAVE_ALIAS_H
15925 #ifdef HAVE_SYS_SOCKET_H
15926 #include <sys/socket.h>
15928 #ifdef HAVE_SYS_SOCKETVAR_H
15929 #include <sys/socketvar.h>
15931 #ifdef HAVE_SYS_TIMEOUT_H
15932 #include <sys/timeout.h>
15934 #ifdef HAVE_NETINET_IN_H
15935 #include <netinet/in.h>
15937 #ifdef HAVE_NETINET_IN_SYSTM_H
15938 #include <netinet/in_systm.h>
15940 #ifdef HAVE_NETINET_IP_H
15941 #include <netinet/ip.h>
15943 #ifdef HAVE_NETINET_IP_VAR_H
15944 #include <netinet/ip_var.h>
15946 #ifdef HAVE_NETINET_IP_ICMP_H
15947 #include <netinet/ip_icmp.h>
15949 #ifdef HAVE_NETINET_ICMP_VAR_H
15950 #include <netinet/icmp_var.h>
15953 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
15955 cat >>confdefs.h
<<_ACEOF
15956 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
15963 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
15964 #include <sys/types.h>
15966 #ifdef HAVE_SYS_SOCKETVAR_H
15967 #include <sys/socketvar.h>
15969 #ifdef HAVE_NETINET_IN_H
15970 #include <netinet/in.h>
15972 #ifdef HAVE_NETINET_IP_VAR_H
15973 #include <netinet/ip_var.h>
15976 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
15978 cat >>confdefs.h
<<_ACEOF
15979 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
15986 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
15987 #include <netinet/ip_var.h>
15990 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
15992 cat >>confdefs.h
<<_ACEOF
15993 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16000 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16001 #include <sys/types.h>
16003 #ifdef HAVE_SYS_SOCKETVAR_H
16004 #include <sys/socketvar.h>
16006 #ifdef HAVE_NETINET_IN_H
16007 #include <netinet/in.h>
16009 #ifdef HAVE_NETINET_TCP_H
16010 #include <netinet/tcp.h>
16012 #ifdef HAVE_NETINET_TCP_VAR_H
16013 #include <netinet/tcp_var.h>
16016 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16018 cat >>confdefs.h
<<_ACEOF
16019 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16026 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
16027 #include <netinet/tcp_var.h>
16030 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16032 cat >>confdefs.h
<<_ACEOF
16033 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16040 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16041 #include <sys/types.h>
16043 #ifdef HAVE_NETINET_IN_H
16044 #include <netinet/in.h>
16046 #ifdef HAVE_NETINET_IP_VAR_H
16047 #include <netinet/ip_var.h>
16049 #ifdef HAVE_NETINET_UDP_H
16050 #include <netinet/udp.h>
16052 #ifdef HAVE_NETINET_UDP_VAR_H
16053 #include <netinet/udp_var.h>
16056 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16058 cat >>confdefs.h
<<_ACEOF
16059 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16066 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16067 #include <sys/types.h>
16069 #ifdef HAVE_NET_IF_H
16070 # include <net/if.h>
16073 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16075 cat >>confdefs.h
<<_ACEOF
16076 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16084 $as_echo_n "checking for timezone variable... " >&6; }
16085 if ${ac_cv_have_timezone+:} false
; then :
16086 $as_echo_n "(cached) " >&6
16088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16089 /* end confdefs.h. */
16099 if ac_fn_c_try_link
"$LINENO"; then :
16100 ac_cv_have_timezone
="yes"
16102 ac_cv_have_timezone
="no"
16104 rm -f core conftest.err conftest.
$ac_objext \
16105 conftest
$ac_exeext conftest.
$ac_ext
16107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16108 $as_echo "$ac_cv_have_timezone" >&6; }
16109 if test "$ac_cv_have_timezone" = "yes"
16112 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16116 $as_echo_n "checking for daylight variable... " >&6; }
16117 if ${ac_cv_have_daylight+:} false
; then :
16118 $as_echo_n "(cached) " >&6
16120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16121 /* end confdefs.h. */
16131 if ac_fn_c_try_link
"$LINENO"; then :
16132 ac_cv_have_daylight
="yes"
16134 ac_cv_have_daylight
="no"
16136 rm -f core conftest.err conftest.
$ac_objext \
16137 conftest
$ac_exeext conftest.
$ac_ext
16139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16140 $as_echo "$ac_cv_have_daylight" >&6; }
16141 if test "$ac_cv_have_daylight" = "yes"
16144 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16148 ac_save_LIBS
="$LIBS"
16150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16151 $as_echo_n "checking for isfinite... " >&6; }
16152 if ${ac_cv_have_isfinite+:} false
; then :
16153 $as_echo_n "(cached) " >&6
16155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16156 /* end confdefs.h. */
16157 #define _GNU_SOURCE
16162 float f = 0.0; return isfinite(f)
16167 if ac_fn_c_try_link
"$LINENO"; then :
16168 ac_cv_have_isfinite
="yes"
16170 ac_cv_have_isfinite
="no"
16172 rm -f core conftest.err conftest.
$ac_objext \
16173 conftest
$ac_exeext conftest.
$ac_ext
16175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16176 $as_echo "$ac_cv_have_isfinite" >&6; }
16177 if test "$ac_cv_have_isfinite" = "yes"
16180 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16184 ac_save_LIBS
="$LIBS"
16186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16187 $as_echo_n "checking for isinf... " >&6; }
16188 if ${ac_cv_have_isinf+:} false
; then :
16189 $as_echo_n "(cached) " >&6
16191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16192 /* end confdefs.h. */
16197 float f = 0.0; return isinf(f)
16202 if ac_fn_c_try_link
"$LINENO"; then :
16203 ac_cv_have_isinf
="yes"
16205 ac_cv_have_isinf
="no"
16207 rm -f core conftest.err conftest.
$ac_objext \
16208 conftest
$ac_exeext conftest.
$ac_ext
16210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16211 $as_echo "$ac_cv_have_isinf" >&6; }
16212 if test "$ac_cv_have_isinf" = "yes"
16215 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16220 $as_echo_n "checking for isnan... " >&6; }
16221 if ${ac_cv_have_isnan+:} false
; then :
16222 $as_echo_n "(cached) " >&6
16224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16225 /* end confdefs.h. */
16230 float f = 0.0; return isnan(f)
16235 if ac_fn_c_try_link
"$LINENO"; then :
16236 ac_cv_have_isnan
="yes"
16238 ac_cv_have_isnan
="no"
16240 rm -f core conftest.err conftest.
$ac_objext \
16241 conftest
$ac_exeext conftest.
$ac_ext
16243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16244 $as_echo "$ac_cv_have_isnan" >&6; }
16245 if test "$ac_cv_have_isnan" = "yes"
16248 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16251 LIBS
="$ac_save_LIBS"
16255 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16256 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16257 if ${ac_cv_cpp_def___i386__+:} false
; then :
16258 $as_echo_n "(cached) " >&6
16260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16261 /* end confdefs.h. */
16266 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16267 $EGREP "yes" >/dev
/null
2>&1; then :
16268 ac_cv_cpp_def___i386__
=yes
16270 ac_cv_cpp_def___i386__
=no
16275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16276 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16277 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16278 CFLAGS
="$CFLAGS -D__i386__"
16279 LINTFLAGS
="$LINTFLAGS -D__i386__"
16281 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16282 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16283 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16284 $as_echo_n "(cached) " >&6
16286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16287 /* end confdefs.h. */
16292 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16293 $EGREP "yes" >/dev
/null
2>&1; then :
16294 ac_cv_cpp_def___x86_64__
=yes
16296 ac_cv_cpp_def___x86_64__
=no
16301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16302 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16303 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16304 CFLAGS
="$CFLAGS -D__x86_64__"
16305 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16307 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16308 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16309 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16310 $as_echo_n "(cached) " >&6
16312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16313 /* end confdefs.h. */
16314 #ifndef __sparc64__
16318 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16319 $EGREP "yes" >/dev
/null
2>&1; then :
16320 ac_cv_cpp_def___sparc64__
=yes
16322 ac_cv_cpp_def___sparc64__
=no
16327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16328 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16329 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16330 CFLAGS
="$CFLAGS -D__sparc64__"
16331 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16333 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16334 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16335 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16336 $as_echo_n "(cached) " >&6
16338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16339 /* end confdefs.h. */
16344 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16345 $EGREP "yes" >/dev
/null
2>&1; then :
16346 ac_cv_cpp_def___sparc__
=yes
16348 ac_cv_cpp_def___sparc__
=no
16353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16354 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16355 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16356 CFLAGS
="$CFLAGS -D__sparc__"
16357 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16359 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16360 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16361 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16362 $as_echo_n "(cached) " >&6
16364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16365 /* end confdefs.h. */
16366 #ifndef __powerpc64__
16370 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16371 $EGREP "yes" >/dev
/null
2>&1; then :
16372 ac_cv_cpp_def___powerpc64__
=yes
16374 ac_cv_cpp_def___powerpc64__
=no
16379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16380 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16381 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
16382 CFLAGS
="$CFLAGS -D__powerpc64__"
16383 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16385 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16386 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16387 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16388 $as_echo_n "(cached) " >&6
16390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16391 /* end confdefs.h. */
16392 #ifndef __powerpc__
16396 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16397 $EGREP "yes" >/dev
/null
2>&1; then :
16398 ac_cv_cpp_def___powerpc__
=yes
16400 ac_cv_cpp_def___powerpc__
=no
16405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16406 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16407 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
16408 CFLAGS
="$CFLAGS -D__powerpc__"
16409 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16411 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16412 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16413 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16414 $as_echo_n "(cached) " >&6
16416 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16417 /* end confdefs.h. */
16418 #ifndef __aarch64__
16422 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16423 $EGREP "yes" >/dev
/null
2>&1; then :
16424 ac_cv_cpp_def___aarch64__
=yes
16426 ac_cv_cpp_def___aarch64__
=no
16431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16432 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16433 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
16434 CFLAGS
="$CFLAGS -D__aarch64__"
16435 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16437 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16438 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16439 if ${ac_cv_cpp_def___arm__+:} false
; then :
16440 $as_echo_n "(cached) " >&6
16442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16443 /* end confdefs.h. */
16448 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16449 $EGREP "yes" >/dev
/null
2>&1; then :
16450 ac_cv_cpp_def___arm__
=yes
16452 ac_cv_cpp_def___arm__
=no
16457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16458 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16459 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
16460 CFLAGS
="$CFLAGS -D__arm__"
16461 LINTFLAGS
="$LINTFLAGS -D__arm__"
16465 case $host_vendor in
16466 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16467 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16468 if ${ac_cv_cpp_def___sun__+:} false
; then :
16469 $as_echo_n "(cached) " >&6
16471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16472 /* end confdefs.h. */
16477 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16478 $EGREP "yes" >/dev
/null
2>&1; then :
16479 ac_cv_cpp_def___sun__
=yes
16481 ac_cv_cpp_def___sun__
=no
16486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16487 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16488 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
16489 CFLAGS
="$CFLAGS -D__sun__"
16490 LINTFLAGS
="$LINTFLAGS -D__sun__"
16498 ac_config_commands
="$ac_config_commands include/stamp-h"
16500 $as_echo_n "creating Makefile rules..." >&6
16502 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
16503 SOCKET_LIBS = $SOCKET_LIBS
16504 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16505 IOKIT_LIBS = $IOKIT_LIBS
16506 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16507 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16508 CORESERVICES_LIBS = $CORESERVICES_LIBS
16509 APPKIT_LIBS = $APPKIT_LIBS
16510 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16511 SECURITY_LIBS = $SECURITY_LIBS
16512 COREAUDIO_LIBS = $COREAUDIO_LIBS
16513 OPENAL_LIBS = $OPENAL_LIBS
16514 OPENCL_LIBS = $OPENCL_LIBS
16515 QUICKTIME_LIBS = $QUICKTIME_LIBS
16516 CARBON_LIBS = $CARBON_LIBS
16517 PTHREAD_LIBS = $PTHREAD_LIBS
16518 X_CFLAGS = $X_CFLAGS
16519 X_PRE_LIBS = $X_PRE_LIBS
16521 X_EXTRA_LIBS = $X_EXTRA_LIBS
16522 XML2_CFLAGS = $XML2_CFLAGS
16523 XML2_LIBS = $XML2_LIBS
16524 XSLT_CFLAGS = $XSLT_CFLAGS
16525 XSLT_LIBS = $XSLT_LIBS
16526 DBUS_CFLAGS = $DBUS_CFLAGS
16527 DBUS_LIBS = $DBUS_LIBS
16528 HAL_CFLAGS = $HAL_CFLAGS
16529 HAL_LIBS = $HAL_LIBS
16530 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16531 GNUTLS_LIBS = $GNUTLS_LIBS
16532 SANE_CFLAGS = $SANE_CFLAGS
16533 SANE_LIBS = $SANE_LIBS
16534 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16535 GPHOTO2_LIBS = $GPHOTO2_LIBS
16536 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16537 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16538 RESOLV_LIBS = $RESOLV_LIBS
16539 LCMS2_CFLAGS = $LCMS2_CFLAGS
16540 LCMS2_LIBS = $LCMS2_LIBS
16541 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16542 FREETYPE_LIBS = $FREETYPE_LIBS
16544 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16545 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16546 GSTREAMER_LIBS = $GSTREAMER_LIBS
16547 ALSA_LIBS = $ALSA_LIBS
16548 OSS4_CFLAGS = $OSS4_CFLAGS
16549 CAPI20_CFLAGS = $CAPI20_CFLAGS
16550 CAPI20_LIBS = $CAPI20_LIBS
16551 CUPS_CFLAGS = $CUPS_CFLAGS
16552 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16553 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16554 JPEG_CFLAGS = $JPEG_CFLAGS
16555 JPEG_LIBS = $JPEG_LIBS
16556 PNG_CFLAGS = $PNG_CFLAGS
16557 PNG_LIBS = $PNG_LIBS
16558 TIFF_CFLAGS = $TIFF_CFLAGS
16559 TIFF_LIBS = $TIFF_LIBS
16560 MPG123_CFLAGS = $MPG123_CFLAGS
16561 MPG123_LIBS = $MPG123_LIBS
16562 KSTAT_LIBS = $KSTAT_LIBS
16563 PROCSTAT_LIBS = $PROCSTAT_LIBS
16565 POLL_LIBS = $POLL_LIBS
16567 LDAP_LIBS = $LDAP_LIBS
16572 wine_fn_append_rule
"
16573 # Rules automatically generated by configure
16575 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16580 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16581 @./config.status Make.tmp Makefile && \$(MAKEDEP) ."
16583 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
16584 .gitignore: config.status
16585 @./config.status .gitignore"
16587 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
16588 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16590 if test "x$enable_fonts" != xno
; then
16591 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16592 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16593 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16594 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16595 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16597 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16598 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
16599 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16600 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16601 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16602 wine_fn_config_symlink wine
16603 if test "x$enable_win64" != xno
; then
16604 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16605 wine_fn_config_symlink wine64
16608 wine_fn_config_dll acledit enable_acledit
16609 wine_fn_config_dll aclui enable_aclui implib
16610 wine_fn_config_dll activeds enable_activeds implib
16611 wine_fn_config_dll actxprxy enable_actxprxy clean
16612 wine_fn_config_lib adsiid
16613 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
16614 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
16615 wine_fn_config_dll advpack enable_advpack implib
16616 wine_fn_config_test dlls
/advpack
/tests advpack_test
16617 wine_fn_config_dll amstream enable_amstream clean
16618 wine_fn_config_test dlls
/amstream
/tests amstream_test
16619 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16620 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16621 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16622 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16623 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16624 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16625 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16626 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16627 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16628 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16629 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16630 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16631 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16632 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16633 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16634 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16635 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16636 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16637 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16638 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16639 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16640 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16641 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16642 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16643 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16644 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16645 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16646 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16647 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16648 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16649 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16650 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16651 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16652 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16653 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16654 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16655 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16656 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16657 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16658 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16659 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16660 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16661 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16662 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16663 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16664 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16665 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16666 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16667 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16668 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16669 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16670 wine_fn_config_dll apphelp enable_apphelp
16671 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
16672 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16673 wine_fn_config_dll atl enable_atl clean
,implib
16674 wine_fn_config_test dlls
/atl
/tests atl_test
16675 wine_fn_config_dll atl100 enable_atl100 implib
16676 wine_fn_config_test dlls
/atl100
/tests atl100_test
16677 wine_fn_config_dll atl110 enable_atl110
16678 wine_fn_config_dll atl80 enable_atl80 implib
16679 wine_fn_config_test dlls
/atl80
/tests atl80_test
16680 wine_fn_config_dll atl90 enable_atl90
16681 wine_fn_config_dll authz enable_authz
16682 wine_fn_config_dll avicap32 enable_avicap32 implib
16683 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
16684 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
16685 wine_fn_config_dll avifile.dll16 enable_win16
16686 wine_fn_config_dll avrt enable_avrt implib
16687 wine_fn_config_dll bcrypt enable_bcrypt
16688 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
16689 wine_fn_config_dll browseui enable_browseui clean
,po
16690 wine_fn_config_test dlls
/browseui
/tests browseui_test
16691 wine_fn_config_dll cabinet enable_cabinet implib
16692 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
16693 wine_fn_config_dll capi2032 enable_capi2032 implib
16694 wine_fn_config_dll cards enable_cards implib
16695 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16696 wine_fn_config_dll clusapi enable_clusapi implib
16697 wine_fn_config_dll comcat enable_comcat
16698 wine_fn_config_test dlls
/comcat
/tests comcat_test
16699 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
16700 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
16701 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
16702 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
16703 wine_fn_config_dll
comm.drv16 enable_win16
16704 wine_fn_config_dll commdlg.dll16 enable_win16
16705 wine_fn_config_dll compobj.dll16 enable_win16
16706 wine_fn_config_dll compstui enable_compstui implib
16707 wine_fn_config_dll comsvcs enable_comsvcs implib
16708 wine_fn_config_dll credui enable_credui implib
,po
16709 wine_fn_config_test dlls
/credui
/tests credui_test
16710 wine_fn_config_dll crtdll enable_crtdll implib
16711 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
16712 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
16713 wine_fn_config_dll cryptdlg enable_cryptdlg po
16714 wine_fn_config_dll cryptdll enable_cryptdll implib
16715 wine_fn_config_dll cryptnet enable_cryptnet implib
16716 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
16717 wine_fn_config_dll cryptui enable_cryptui implib
,po
16718 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
16719 wine_fn_config_dll ctapi32 enable_ctapi32
16720 wine_fn_config_dll ctl3d.dll16 enable_win16
16721 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16722 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16723 wine_fn_config_dll d2d1 enable_d2d1 implib
16724 wine_fn_config_dll d3d10 enable_d3d10 implib
16725 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
16726 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16727 wine_fn_config_dll d3d10core enable_d3d10core implib
16728 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
16729 wine_fn_config_dll d3d11 enable_d3d11
16730 wine_fn_config_dll d3d8 enable_d3d8 implib
16731 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
16732 wine_fn_config_dll d3d9 enable_d3d9 implib
16733 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
16734 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16735 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16736 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16737 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16738 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16739 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16740 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16741 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16742 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16743 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16744 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16745 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
16746 wine_fn_config_dll d3dim enable_d3dim implib
16747 wine_fn_config_dll d3drm enable_d3drm implib
16748 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
16749 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16750 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16751 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16752 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16753 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16754 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16755 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16756 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16757 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16758 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16759 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16760 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16761 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16762 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16763 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16764 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16765 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16766 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16767 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16768 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16769 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16770 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16771 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16772 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16773 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16774 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16775 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
16776 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16777 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16778 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16779 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16780 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16781 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16782 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16783 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
16784 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
16785 wine_fn_config_dll dbgeng enable_dbgeng implib
16786 wine_fn_config_dll dbghelp enable_dbghelp implib
16787 wine_fn_config_dll dciman32 enable_dciman32 implib
16788 wine_fn_config_dll ddeml.dll16 enable_win16
16789 wine_fn_config_dll ddraw enable_ddraw clean
,implib
16790 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
16791 wine_fn_config_dll ddrawex enable_ddrawex clean
16792 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
16793 wine_fn_config_dll devenum enable_devenum clean
,po
16794 wine_fn_config_test dlls
/devenum
/tests devenum_test
16795 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16796 wine_fn_config_dll difxapi enable_difxapi
16797 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
16798 wine_fn_config_test dlls
/dinput
/tests dinput_test
16799 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
16800 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
16801 wine_fn_config_dll dispdib.dll16 enable_win16
16802 wine_fn_config_dll dispex enable_dispex clean
16803 wine_fn_config_test dlls
/dispex
/tests dispex_test
16804 wine_fn_config_dll display.drv16 enable_win16
16805 wine_fn_config_dll dmband enable_dmband clean
16806 wine_fn_config_test dlls
/dmband
/tests dmband_test
16807 wine_fn_config_dll dmcompos enable_dmcompos clean
16808 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
16809 wine_fn_config_dll dmime enable_dmime clean
16810 wine_fn_config_test dlls
/dmime
/tests dmime_test
16811 wine_fn_config_dll dmloader enable_dmloader clean
16812 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
16813 wine_fn_config_dll dmscript enable_dmscript clean
16814 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
16815 wine_fn_config_dll dmstyle enable_dmstyle clean
16816 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
16817 wine_fn_config_dll dmsynth enable_dmsynth clean
16818 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
16819 wine_fn_config_dll dmusic enable_dmusic clean
16820 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
16821 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16822 wine_fn_config_dll dnsapi enable_dnsapi implib
16823 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
16824 wine_fn_config_dll dplay enable_dplay implib
16825 wine_fn_config_dll dplayx enable_dplayx clean
,implib
16826 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
16827 wine_fn_config_dll dpnaddr enable_dpnaddr
16828 wine_fn_config_dll dpnet enable_dpnet clean
,implib
16829 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
16830 wine_fn_config_dll dpnhpast enable_dpnhpast
16831 wine_fn_config_dll dpnlobby enable_dpnlobby
16832 wine_fn_config_dll dpwsockx enable_dpwsockx
16833 wine_fn_config_dll drmclien enable_drmclien
16834 wine_fn_config_dll dsound enable_dsound clean
,implib
16835 wine_fn_config_test dlls
/dsound
/tests dsound_test
16836 wine_fn_config_dll dssenh enable_dssenh
16837 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
16838 wine_fn_config_dll dswave enable_dswave clean
16839 wine_fn_config_dll dwmapi enable_dwmapi implib
16840 wine_fn_config_dll dwrite enable_dwrite implib
16841 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
16842 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
16843 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
16844 wine_fn_config_lib dxerr8
16845 wine_fn_config_lib dxerr9
16846 wine_fn_config_dll dxgi enable_dxgi implib
16847 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
16848 wine_fn_config_lib dxguid
16849 wine_fn_config_dll explorerframe enable_explorerframe clean
16850 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
16851 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
16852 wine_fn_config_dll faultrep enable_faultrep implib
16853 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
16854 wine_fn_config_dll fltlib enable_fltlib
16855 wine_fn_config_dll fntcache enable_fntcache
16856 wine_fn_config_dll fontsub enable_fontsub
16857 wine_fn_config_dll fusion enable_fusion
16858 wine_fn_config_test dlls
/fusion
/tests fusion_test
16859 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16860 wine_fn_config_dll gameux enable_gameux clean
16861 wine_fn_config_test dlls
/gameux
/tests gameux_test
16862 wine_fn_config_dll gdi.exe16 enable_win16
16863 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
16864 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
16865 wine_fn_config_dll gdiplus enable_gdiplus implib
16866 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
16867 wine_fn_config_dll glu32 enable_glu32 implib
16868 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16869 wine_fn_config_dll gpkcsp enable_gpkcsp
16870 wine_fn_config_dll hal enable_hal
16871 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
16872 wine_fn_config_dll hid enable_hid implib
16873 wine_fn_config_dll hlink enable_hlink clean
,implib
16874 wine_fn_config_test dlls
/hlink
/tests hlink_test
16875 wine_fn_config_dll hnetcfg enable_hnetcfg clean
16876 wine_fn_config_dll httpapi enable_httpapi
16877 wine_fn_config_dll iccvid enable_iccvid po
16878 wine_fn_config_dll icmp enable_icmp
16879 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
16880 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
16881 wine_fn_config_dll ifsmgr.vxd enable_win16
16882 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
16883 wine_fn_config_dll imagehlp enable_imagehlp implib
16884 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
16885 wine_fn_config_dll imm.dll16 enable_win16
16886 wine_fn_config_dll imm32 enable_imm32 implib
16887 wine_fn_config_test dlls
/imm32
/tests imm32_test
16888 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
16889 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
16890 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
16891 wine_fn_config_dll inetmib1 enable_inetmib1
16892 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
16893 wine_fn_config_dll infosoft enable_infosoft clean
16894 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
16895 wine_fn_config_dll initpki enable_initpki
16896 wine_fn_config_dll inkobj enable_inkobj
16897 wine_fn_config_dll inseng enable_inseng clean
16898 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16899 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
16900 wine_fn_config_dll itircl enable_itircl
16901 wine_fn_config_dll itss enable_itss clean
16902 wine_fn_config_test dlls
/itss
/tests itss_test
16903 wine_fn_config_dll joy.cpl enable_joy_cpl po
16904 wine_fn_config_dll jscript enable_jscript clean
,po
16905 wine_fn_config_test dlls
/jscript
/tests jscript_test
16906 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
16907 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
16908 wine_fn_config_dll keyboard.drv16 enable_win16
16909 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16910 wine_fn_config_dll ktmw32 enable_ktmw32
16911 wine_fn_config_dll loadperf enable_loadperf implib
16912 wine_fn_config_dll localspl enable_localspl po
16913 wine_fn_config_test dlls
/localspl
/tests localspl_test
16914 wine_fn_config_dll localui enable_localui po
16915 wine_fn_config_test dlls
/localui
/tests localui_test
16916 wine_fn_config_dll lz32 enable_lz32 implib
16917 wine_fn_config_test dlls
/lz32
/tests lz32_test
16918 wine_fn_config_dll lzexpand.dll16 enable_win16
16919 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
16920 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
16921 wine_fn_config_dll mapistub enable_mapistub
16922 wine_fn_config_dll mciavi32 enable_mciavi32
16923 wine_fn_config_dll mcicda enable_mcicda
16924 wine_fn_config_dll mciqtz32 enable_mciqtz32
16925 wine_fn_config_dll mciseq enable_mciseq
16926 wine_fn_config_dll mciwave enable_mciwave
16927 wine_fn_config_dll mgmtapi enable_mgmtapi
16928 wine_fn_config_dll midimap enable_midimap
16929 wine_fn_config_dll mlang enable_mlang clean
,implib
16930 wine_fn_config_test dlls
/mlang
/tests mlang_test
16931 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
16932 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
16933 wine_fn_config_dll mmdevapi enable_mmdevapi clean
16934 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
16935 wine_fn_config_dll mmdevldr.vxd enable_win16
16936 wine_fn_config_dll mmsystem.dll16 enable_win16
16937 wine_fn_config_dll monodebg.vxd enable_win16
16938 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16939 wine_fn_config_dll mouse.drv16 enable_win16
16940 wine_fn_config_dll mpr enable_mpr implib
,po
16941 wine_fn_config_test dlls
/mpr
/tests mpr_test
16942 wine_fn_config_dll mprapi enable_mprapi implib
16943 wine_fn_config_dll msacm.dll16 enable_win16
16944 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16945 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
16946 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
16947 wine_fn_config_dll msadp32.acm enable_msadp32_acm
16948 wine_fn_config_dll mscat32 enable_mscat32
16949 wine_fn_config_dll mscms enable_mscms implib
16950 wine_fn_config_test dlls
/mscms
/tests mscms_test
16951 wine_fn_config_dll mscoree enable_mscoree clean
16952 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
16953 wine_fn_config_dll msctf enable_msctf clean
16954 wine_fn_config_test dlls
/msctf
/tests msctf_test
16955 wine_fn_config_dll msdaps enable_msdaps clean
16956 wine_fn_config_dll msdmo enable_msdmo implib
16957 wine_fn_config_dll msftedit enable_msftedit
16958 wine_fn_config_dll msg711.acm enable_msg711_acm
16959 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
16960 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
16961 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
16962 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
16963 wine_fn_config_dll msi enable_msi clean
,implib
,po
16964 wine_fn_config_test dlls
/msi
/tests msi_test
16965 wine_fn_config_dll msident enable_msident clean
16966 wine_fn_config_dll msimg32 enable_msimg32 implib
16967 wine_fn_config_dll msimsg enable_msimsg
16968 wine_fn_config_dll msimtf enable_msimtf clean
16969 wine_fn_config_dll msisip enable_msisip
16970 wine_fn_config_dll msisys.ocx enable_msisys_ocx
16971 wine_fn_config_dll msls31 enable_msls31
16972 wine_fn_config_dll msnet32 enable_msnet32
16973 wine_fn_config_dll mspatcha enable_mspatcha
16974 wine_fn_config_dll msrle32 enable_msrle32 po
16975 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
16976 wine_fn_config_dll mssign32 enable_mssign32
16977 wine_fn_config_dll mssip32 enable_mssip32
16978 wine_fn_config_dll mstask enable_mstask clean
16979 wine_fn_config_test dlls
/mstask
/tests mstask_test
16980 wine_fn_config_dll msvcirt enable_msvcirt
16981 wine_fn_config_dll msvcm80 enable_msvcm80
16982 wine_fn_config_dll msvcm90 enable_msvcm90
16983 wine_fn_config_dll msvcp100 enable_msvcp100
16984 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
16985 wine_fn_config_dll msvcp110 enable_msvcp110
16986 wine_fn_config_dll msvcp60 enable_msvcp60
16987 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
16988 wine_fn_config_dll msvcp70 enable_msvcp70
16989 wine_fn_config_dll msvcp71 enable_msvcp71
16990 wine_fn_config_dll msvcp80 enable_msvcp80
16991 wine_fn_config_dll msvcp90 enable_msvcp90
16992 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
16993 wine_fn_config_dll msvcr100 enable_msvcr100 implib
16994 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
16995 wine_fn_config_dll msvcr110 enable_msvcr110 implib
16996 wine_fn_config_dll msvcr70 enable_msvcr70 implib
16997 wine_fn_config_dll msvcr71 enable_msvcr71 implib
16998 wine_fn_config_dll msvcr80 enable_msvcr80 implib
16999 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17000 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17001 wine_fn_config_dll msvcrt enable_msvcrt implib
17002 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17003 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17004 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17005 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17006 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17007 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17008 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17009 wine_fn_config_dll msvidc32 enable_msvidc32 po
17010 wine_fn_config_dll msvideo.dll16 enable_win16
17011 wine_fn_config_dll mswsock enable_mswsock implib
17012 wine_fn_config_dll msxml enable_msxml clean
17013 wine_fn_config_dll msxml2 enable_msxml2 clean
17014 wine_fn_config_dll msxml3 enable_msxml3 clean
17015 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17016 wine_fn_config_dll msxml4 enable_msxml4 clean
17017 wine_fn_config_dll msxml6 enable_msxml6 clean
17018 wine_fn_config_dll nddeapi enable_nddeapi implib
17019 wine_fn_config_dll netapi32 enable_netapi32 implib
17020 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17021 wine_fn_config_dll netcfgx enable_netcfgx
17022 wine_fn_config_dll newdev enable_newdev implib
17023 wine_fn_config_dll normaliz enable_normaliz implib
17024 wine_fn_config_dll npmshtml enable_npmshtml
17025 wine_fn_config_dll ntdll enable_ntdll implib
17026 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17027 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17028 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17029 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17030 wine_fn_config_dll ntprint enable_ntprint
17031 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17032 wine_fn_config_dll objsel enable_objsel clean
17033 wine_fn_config_dll odbc32 enable_odbc32 implib
17034 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17035 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17036 wine_fn_config_dll odbccu32 enable_odbccu32
17037 wine_fn_config_dll ole2.dll16 enable_win16
17038 wine_fn_config_dll ole2conv.dll16 enable_win16
17039 wine_fn_config_dll ole2disp.dll16 enable_win16
17040 wine_fn_config_dll ole2nls.dll16 enable_win16
17041 wine_fn_config_dll ole2prox.dll16 enable_win16
17042 wine_fn_config_dll ole2thk.dll16 enable_win16
17043 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17044 wine_fn_config_test dlls
/ole32
/tests ole32_test
17045 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17046 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17047 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17048 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17049 wine_fn_config_dll olecli.dll16 enable_win16
17050 wine_fn_config_dll olecli32 enable_olecli32 implib
17051 wine_fn_config_dll oledb32 enable_oledb32 clean
17052 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17053 wine_fn_config_dll oledlg enable_oledlg implib
,po
17054 wine_fn_config_dll olepro32 enable_olepro32 implib
17055 wine_fn_config_dll olesvr.dll16 enable_win16
17056 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17057 wine_fn_config_dll olethk32 enable_olethk32
17058 wine_fn_config_dll openal32 enable_openal32
17059 wine_fn_config_dll opencl enable_opencl
17060 wine_fn_config_dll opengl32 enable_opengl32 implib
17061 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17062 wine_fn_config_dll pdh enable_pdh implib
17063 wine_fn_config_test dlls
/pdh
/tests pdh_test
17064 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17065 wine_fn_config_dll pidgen enable_pidgen
17066 wine_fn_config_dll powrprof enable_powrprof implib
17067 wine_fn_config_dll printui enable_printui
17068 wine_fn_config_dll propsys enable_propsys clean
,implib
17069 wine_fn_config_test dlls
/propsys
/tests propsys_test
17070 wine_fn_config_dll psapi enable_psapi implib
17071 wine_fn_config_test dlls
/psapi
/tests psapi_test
17072 wine_fn_config_dll pstorec enable_pstorec clean
17073 wine_fn_config_dll qcap enable_qcap
17074 wine_fn_config_test dlls
/qcap
/tests qcap_test
17075 wine_fn_config_dll qedit enable_qedit clean
17076 wine_fn_config_test dlls
/qedit
/tests qedit_test
17077 wine_fn_config_dll qmgr enable_qmgr clean
17078 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17079 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17080 wine_fn_config_dll quartz enable_quartz clean
,implib
17081 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17082 wine_fn_config_dll query enable_query
17083 wine_fn_config_dll rasapi16.dll16 enable_win16
17084 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17085 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17086 wine_fn_config_dll rasdlg enable_rasdlg implib
17087 wine_fn_config_dll regapi enable_regapi
17088 wine_fn_config_dll resutils enable_resutils implib
17089 wine_fn_config_dll riched20 enable_riched20 implib
17090 wine_fn_config_test dlls
/riched20
/tests riched20_test
17091 wine_fn_config_dll riched32 enable_riched32
17092 wine_fn_config_test dlls
/riched32
/tests riched32_test
17093 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17094 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17095 wine_fn_config_dll rsabase enable_rsabase
17096 wine_fn_config_dll rsaenh enable_rsaenh implib
17097 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17098 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17099 wine_fn_config_dll rtutils enable_rtutils implib
17100 wine_fn_config_dll samlib enable_samlib
17101 wine_fn_config_dll sane.ds enable_sane_ds po
17102 wine_fn_config_dll scarddlg enable_scarddlg
17103 wine_fn_config_dll sccbase enable_sccbase
17104 wine_fn_config_dll schannel enable_schannel
17105 wine_fn_config_test dlls
/schannel
/tests schannel_test
17106 wine_fn_config_dll scrrun enable_scrrun clean
17107 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17108 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17109 wine_fn_config_dll secur32 enable_secur32 implib
17110 wine_fn_config_test dlls
/secur32
/tests secur32_test
17111 wine_fn_config_dll security enable_security
17112 wine_fn_config_dll sensapi enable_sensapi implib
17113 wine_fn_config_dll serialui enable_serialui implib
,po
17114 wine_fn_config_test dlls
/serialui
/tests serialui_test
17115 wine_fn_config_dll setupapi enable_setupapi implib
,po
17116 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17117 wine_fn_config_dll setupx.dll16 enable_win16
17118 wine_fn_config_dll sfc enable_sfc implib
17119 wine_fn_config_dll sfc_os enable_sfc_os implib
17120 wine_fn_config_dll shdoclc enable_shdoclc po
17121 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17122 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17123 wine_fn_config_dll shell.dll16 enable_win16
17124 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17125 wine_fn_config_test dlls
/shell32
/tests shell32_test
17126 wine_fn_config_dll shfolder enable_shfolder implib
17127 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17128 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17129 wine_fn_config_dll slbcsp enable_slbcsp
17130 wine_fn_config_dll slc enable_slc implib
17131 wine_fn_config_dll snmpapi enable_snmpapi implib
17132 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17133 wine_fn_config_dll softpub enable_softpub
17134 wine_fn_config_dll sound.drv16 enable_win16
17135 wine_fn_config_dll spoolss enable_spoolss implib
17136 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17137 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17138 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17139 wine_fn_config_dll sti enable_sti clean
,implib
17140 wine_fn_config_test dlls
/sti
/tests sti_test
17141 wine_fn_config_dll storage.dll16 enable_win16
17142 wine_fn_config_dll stress.dll16 enable_win16
17143 wine_fn_config_lib strmbase
17144 wine_fn_config_lib strmiids
17145 wine_fn_config_dll svrapi enable_svrapi
17146 wine_fn_config_dll sxs enable_sxs implib
17147 wine_fn_config_test dlls
/sxs
/tests sxs_test
17148 wine_fn_config_dll system.drv16 enable_win16
17149 wine_fn_config_dll t2embed enable_t2embed
17150 wine_fn_config_dll tapi32 enable_tapi32 implib
17151 wine_fn_config_dll taskschd enable_taskschd clean
17152 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17153 wine_fn_config_dll toolhelp.dll16 enable_win16
17154 wine_fn_config_dll traffic enable_traffic
17155 wine_fn_config_dll twain.dll16 enable_win16
17156 wine_fn_config_dll twain_32 enable_twain_32
17157 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17158 wine_fn_config_dll typelib.dll16 enable_win16
17159 wine_fn_config_dll unicows enable_unicows implib
17160 wine_fn_config_dll updspapi enable_updspapi
17161 wine_fn_config_dll url enable_url implib
17162 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17163 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17164 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17165 wine_fn_config_dll user.exe16 enable_win16
17166 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17167 wine_fn_config_test dlls
/user32
/tests user32_test
17168 wine_fn_config_dll userenv enable_userenv implib
17169 wine_fn_config_test dlls
/userenv
/tests userenv_test
17170 wine_fn_config_dll usp10 enable_usp10 implib
17171 wine_fn_config_test dlls
/usp10
/tests usp10_test
17172 wine_fn_config_lib uuid
17173 wine_fn_config_dll uxtheme enable_uxtheme implib
17174 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17175 wine_fn_config_dll vbscript enable_vbscript clean
17176 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17177 wine_fn_config_dll vcomp enable_vcomp
17178 wine_fn_config_dll vcomp100 enable_vcomp100
17179 wine_fn_config_dll vcomp90 enable_vcomp90
17180 wine_fn_config_dll vdhcp.vxd enable_win16
17181 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17182 wine_fn_config_dll ver.dll16 enable_win16
17183 wine_fn_config_dll version enable_version implib
17184 wine_fn_config_test dlls
/version
/tests version_test
17185 wine_fn_config_dll vmm.vxd enable_win16
17186 wine_fn_config_dll vnbt.vxd enable_win16
17187 wine_fn_config_dll vnetbios.vxd enable_win16
17188 wine_fn_config_dll vtdapi.vxd enable_win16
17189 wine_fn_config_dll vwin32.vxd enable_win16
17190 wine_fn_config_dll w32skrnl enable_win16
17191 wine_fn_config_dll w32sys.dll16 enable_win16
17192 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17193 wine_fn_config_dll wbemprox enable_wbemprox clean
17194 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17195 wine_fn_config_dll webservices enable_webservices implib
17196 wine_fn_config_dll wer enable_wer implib
17197 wine_fn_config_test dlls
/wer
/tests wer_test
17198 wine_fn_config_dll wevtapi enable_wevtapi
17199 wine_fn_config_dll wiaservc enable_wiaservc clean
17200 wine_fn_config_dll win32s16.dll16 enable_win16
17201 wine_fn_config_dll win87em.dll16 enable_win16
17202 wine_fn_config_dll winaspi.dll16 enable_win16
17203 wine_fn_config_dll windebug.dll16 enable_win16
17204 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17205 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17206 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17207 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17208 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17209 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17210 wine_fn_config_lib winecrt0
17211 wine_fn_config_dll wined3d enable_wined3d implib
17212 wine_fn_config_dll winegstreamer enable_winegstreamer
17213 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17214 wine_fn_config_dll winemac.drv enable_winemac_drv
17215 wine_fn_config_dll winemapi enable_winemapi
17216 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17217 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17218 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17219 wine_fn_config_dll wineps16.drv16 enable_win16
17220 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17221 wine_fn_config_dll winex11.drv enable_winex11_drv
17222 wine_fn_config_dll wing.dll16 enable_win16
17223 wine_fn_config_dll wing32 enable_wing32
17224 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17225 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17226 wine_fn_config_dll wininet enable_wininet implib
,po
17227 wine_fn_config_test dlls
/wininet
/tests wininet_test
17228 wine_fn_config_dll winmm enable_winmm implib
,po
17229 wine_fn_config_test dlls
/winmm
/tests winmm_test
17230 wine_fn_config_dll winnls.dll16 enable_win16
17231 wine_fn_config_dll winnls32 enable_winnls32 implib
17232 wine_fn_config_dll winscard enable_winscard implib
17233 wine_fn_config_dll winsock.dll16 enable_win16
17234 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17235 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17236 wine_fn_config_dll winsta enable_winsta
17237 wine_fn_config_dll wintab.dll16 enable_win16
17238 wine_fn_config_dll wintab32 enable_wintab32 implib
17239 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17240 wine_fn_config_dll wintrust enable_wintrust implib
17241 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17242 wine_fn_config_dll wlanapi enable_wlanapi
17243 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17244 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17245 wine_fn_config_dll wmi enable_wmi
17246 wine_fn_config_dll wmiutils enable_wmiutils clean
17247 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17248 wine_fn_config_dll wmp enable_wmp clean
17249 wine_fn_config_test dlls
/wmp
/tests wmp_test
17250 wine_fn_config_dll wmvcore enable_wmvcore
17251 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17252 wine_fn_config_dll wow32 enable_win16 implib
17253 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17254 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17255 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17256 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17257 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17258 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17259 wine_fn_config_dll wsock32 enable_wsock32 implib
17260 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17261 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
17262 wine_fn_config_dll wuapi enable_wuapi clean
17263 wine_fn_config_dll wuaueng enable_wuaueng
17264 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17265 wine_fn_config_dll xinput1_1 enable_xinput1_1
17266 wine_fn_config_dll xinput1_2 enable_xinput1_2
17267 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17268 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17269 wine_fn_config_dll xinput1_4 enable_xinput1_4
17270 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17271 wine_fn_config_dll xmllite enable_xmllite implib
17272 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17273 wine_fn_config_dll xolehlp enable_xolehlp
17274 wine_fn_config_dll xpsprint enable_xpsprint
17275 wine_fn_config_dll xpssvcs enable_xpssvcs
17276 wine_fn_config_makefile documentation enable_documentation clean
17277 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17278 wine_fn_config_makefile include enable_include clean
,install-dev
17279 wine_fn_config_makefile libs
/port enable_libs_port
17280 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17281 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17282 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17283 wine_fn_config_program arp enable_arp
install
17284 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17285 wine_fn_config_program attrib enable_attrib
install,po
17286 wine_fn_config_program cabarc enable_cabarc
install
17287 wine_fn_config_program cacls enable_cacls
install
17288 wine_fn_config_program
clock enable_clock
install,po
17289 wine_fn_config_program cmd enable_cmd
install,po
17290 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17291 wine_fn_config_program conhost enable_conhost
install
17292 wine_fn_config_program control enable_control
install
17293 wine_fn_config_program cscript enable_cscript
install
17294 wine_fn_config_program dpnsvr enable_dpnsvr
install
17295 wine_fn_config_program dxdiag enable_dxdiag
install,po
17296 wine_fn_config_program eject enable_eject
install
17297 wine_fn_config_program
expand enable_expand
install
17298 wine_fn_config_program explorer enable_explorer
install,po
17299 wine_fn_config_program extrac32 enable_extrac32
install
17300 wine_fn_config_program findstr enable_findstr
install
17301 wine_fn_config_program hh enable_hh
install
17302 wine_fn_config_program hostname enable_hostname
install,po
17303 wine_fn_config_program icinfo enable_icinfo
install
17304 wine_fn_config_program iexplore enable_iexplore
install
17305 wine_fn_config_program ipconfig enable_ipconfig
install,po
17306 wine_fn_config_program lodctr enable_lodctr
install
17307 wine_fn_config_program mofcomp enable_mofcomp
install
17308 wine_fn_config_program mshta enable_mshta
install
17309 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17310 wine_fn_config_program net enable_net
install,po
17311 wine_fn_config_program netsh enable_netsh
install
17312 wine_fn_config_program netstat enable_netstat
install,po
17313 wine_fn_config_program ngen enable_ngen
install
17314 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17315 wine_fn_config_program oleview enable_oleview
install,po
17316 wine_fn_config_program
ping enable_ping
install
17317 wine_fn_config_program plugplay enable_plugplay
install
17318 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17319 wine_fn_config_program progman enable_progman
install,po
17320 wine_fn_config_program reg enable_reg
install,po
17321 wine_fn_config_program regasm enable_regasm
install
17322 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17323 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17324 wine_fn_config_program regsvcs enable_regsvcs
install
17325 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
17326 wine_fn_config_program rpcss enable_rpcss clean
,install
17327 wine_fn_config_program rundll.exe16 enable_win16
install
17328 wine_fn_config_program rundll32 enable_rundll32
install
17329 wine_fn_config_program sc enable_sc
install
17330 wine_fn_config_program schtasks enable_schtasks
install
17331 wine_fn_config_program secedit enable_secedit
install
17332 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17333 wine_fn_config_program services enable_services clean
,install
17334 wine_fn_config_test programs
/services
/tests services.exe_test
17335 wine_fn_config_program spoolsv enable_spoolsv
install
17336 wine_fn_config_program start enable_start
install,po
17337 wine_fn_config_program svchost enable_svchost
install
17338 wine_fn_config_program taskkill enable_taskkill
install,po
17339 wine_fn_config_program tasklist enable_tasklist
install
17340 wine_fn_config_program taskmgr enable_taskmgr
install,po
17341 wine_fn_config_program termsv enable_termsv
install
17342 wine_fn_config_program uninstaller enable_uninstaller
install,po
17343 wine_fn_config_program unlodctr enable_unlodctr
install
17344 wine_fn_config_program view enable_view
install,po
17345 wine_fn_config_program wevtutil enable_wevtutil
install
17346 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17347 wine_fn_config_program winebrowser enable_winebrowser
install
17348 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17349 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17350 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17351 wine_fn_config_program winedevice enable_winedevice
install
17352 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17353 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17354 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17355 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17356 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17357 wine_fn_config_program winetest enable_winetest clean
17358 wine_fn_config_program winevdm enable_win16
install
17359 wine_fn_config_program winhelp.exe16 enable_win16
install
17360 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17361 wine_fn_config_program winoldap.mod16 enable_win16
install
17362 wine_fn_config_program winver enable_winver
install
17363 wine_fn_config_program wmic enable_wmic
install,po
17364 wine_fn_config_program wordpad enable_wordpad
install,po
17365 wine_fn_config_program
write enable_write
install,po
17366 wine_fn_config_program wscript enable_wscript clean
,install
17367 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17368 wine_fn_config_program wusa enable_wusa
install
17369 wine_fn_config_program xcopy enable_xcopy
install,po
17370 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
17371 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17372 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17373 wine_fn_config_tool tools
/sfnt2fon clean
17374 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17375 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17376 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17377 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17378 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17379 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17431 wine_fn_ignore_file
".gitignore"
17432 wine_fn_ignore_file
"Makefile"
17433 wine_fn_ignore_file
"TAGS"
17434 wine_fn_ignore_file
"tags"
17435 wine_fn_ignore_file
"autom4te.cache"
17436 wine_fn_ignore_file
"config.cache"
17437 wine_fn_ignore_file
"config.log"
17438 wine_fn_ignore_file
"config.status"
17439 wine_fn_ignore_file
"configure.lineno"
17440 wine_fn_ignore_file
"include/config.h"
17441 wine_fn_ignore_file
"include/stamp-h"
17442 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
17444 if test "x$enable_tools" != xno
17446 wine_fn_ignore_file
"tools/makedep$ac_exeext"
17447 ac_config_commands
="$ac_config_commands tools/makedep"
17451 ac_config_commands
="$ac_config_commands Makefile"
17454 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17458 if test "x$enable_maintainer_mode" = xyes
17460 wine_fn_append_rule
"configure: configure.ac aclocal.m4
17461 autoconf --warnings=all
17462 include/config.h.in: include/stamp-h.in
17463 include/stamp-h.in: configure.ac aclocal.m4
17464 autoheader --warnings=all
17465 @echo timestamp > \$@"
17468 if test "x$with_gettextpo" = xyes
17470 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17471 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17472 \$(LINGUAS:%=po/%.po): po/wine.pot
17473 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17474 po/wine.pot: \$(ALL_POT_FILES)
17475 msgcat -o \$@ \$(ALL_POT_FILES)"
17478 if test "$MSGFMT" != false
17480 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
17482 \$(RM) \$(LINGUAS:%=po/%.mo)"
17485 test "$srcdir" = . || posrc
="$srcdir/po"
17488 wine_fn_ignore_file
"po/$i.mo"
17489 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
17490 \$(MSGFMT) -o \$@ $posrc/$i.po"
17496 if test "x$enable_tools" != xno
17498 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17499 @./config.status tools/makedep
17500 Makefile: tools/makedep$ac_exeext
17502 \$(RM) tools/makedep$ac_exeext"
17504 wine_fn_append_rule
"\$(MAKEDEP):
17505 @echo \"You need to run make in $TOOLSDIR first\" && false"
17508 if test -n "$with_wine64"
17510 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17511 fonts server tools:
17512 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17513 $with_wine64/loader/wine:
17514 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17515 $with_wine64/loader/wine-preloader:
17516 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17518 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17520 as_fn_append LOADER_RULES
"
17523 install install-lib:: wine.inf install-man-pages
17524 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17525 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17528 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17532 if test "$srcdir" = .
17534 ac_config_commands
="$ac_config_commands .gitignore"
17538 $as_echo " done" >&6
17539 cat >confcache
<<\_ACEOF
17540 # This file is a shell script that caches the results of configure
17541 # tests run on this system so they can be shared between configure
17542 # scripts and configure runs, see configure's option --config-cache.
17543 # It is not useful on other systems. If it contains results you don't
17544 # want to keep, you may remove or edit it.
17546 # config.status only pays attention to the cache file if you give it
17547 # the --recheck option to rerun configure.
17549 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17550 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17551 # following values.
17555 # The following way of writing the cache mishandles newlines in values,
17556 # but we know of no workaround that is simple, portable, and efficient.
17557 # So, we kill variables containing newlines.
17558 # Ultrix sh set writes to stderr and can't be redirected directly,
17559 # and sets the high bit in the cache file unless we assign to the vars.
17561 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17562 eval ac_val
=\$
$ac_var
17566 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17567 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17570 _ | IFS | as_nl
) ;; #(
17571 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17572 *) { eval $ac_var=; unset $ac_var;} ;;
17578 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17579 *${as_nl}ac_space
=\
*)
17580 # `set' does not quote correctly, so add quotes: double-quote
17581 # substitution turns \\\\ into \\, and sed turns \\ into \.
17584 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17587 # `set' quotes correctly as required by POSIX, so do not add quotes.
17588 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17597 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17599 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17601 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17602 if test -w "$cache_file"; then
17603 if test "x$cache_file" != "x/dev/null"; then
17604 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17605 $as_echo "$as_me: updating cache $cache_file" >&6;}
17606 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17607 cat confcache
>"$cache_file"
17609 case $cache_file in #(
17611 mv -f confcache
"$cache_file"$$
&&
17612 mv -f "$cache_file"$$
"$cache_file" ;; #(
17614 mv -f confcache
"$cache_file" ;;
17619 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17620 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17625 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17626 # Let make expand exec_prefix.
17627 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17629 DEFS
=-DHAVE_CONFIG_H
17634 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17635 # 1. Remove the extension, and $U if already installed.
17636 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17637 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17638 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17639 # will be set to the directory where LIBOBJS objects are built.
17640 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17641 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17643 LIBOBJS
=$ac_libobjs
17645 LTLIBOBJS
=$ac_ltlibobjs
17649 : "${CONFIG_STATUS=./config.status}"
17651 ac_clean_files_save
=$ac_clean_files
17652 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17653 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17654 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17656 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17658 # Generated by $as_me.
17659 # Run this file to recreate the current configuration.
17660 # Compiler output produced by configure, useful for debugging
17661 # configure, is in config.log if it exists.
17664 ac_cs_recheck=false
17667 SHELL=\${CONFIG_SHELL-$SHELL}
17670 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17671 ## -------------------- ##
17672 ## M4sh Initialization. ##
17673 ## -------------------- ##
17675 # Be more Bourne compatible
17676 DUALCASE
=1; export DUALCASE
# for MKS sh
17677 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17680 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17681 # is contrary to our usage. Disable this feature.
17682 alias -g '${1+"$@"}'='"$@"'
17683 setopt NO_GLOB_SUBST
17685 case `(set -o) 2>/dev/null` in #(
17697 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17698 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17699 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17700 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17701 # Prefer a ksh shell builtin over an external printf program on Solaris,
17702 # but without wasting forks for bash or zsh.
17703 if test -z "$BASH_VERSION$ZSH_VERSION" \
17704 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17705 as_echo='print
-r --'
17706 as_echo_n='print
-rn --'
17707 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17708 as_echo='printf %s
\n'
17709 as_echo_n='printf %s
'
17711 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17712 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17713 as_echo_n='/usr
/ucb
/echo -n'
17715 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17716 as_echo_n_body='eval
17720 expr "X$arg" : "X\\(.*\\)$as_nl";
17721 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17723 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17725 export as_echo_n_body
17726 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17728 export as_echo_body
17729 as_echo='sh
-c $as_echo_body as_echo
'
17732 # The user is always right.
17733 if test "${PATH_SEPARATOR+set}" != set; then
17735 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17736 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17743 # We need space, tab and new line, in precisely that order. Quoting is
17744 # there to prevent editors from complaining about space-tab.
17745 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17746 # splitting by setting IFS to empty value.)
17749 # Find who we are. Look in the path if we contain no directory separator.
17752 *[\\/]* ) as_myself=$0 ;;
17753 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17754 for as_dir in $PATH
17757 test -z "$as_dir" && as_dir=.
17758 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17764 # We did not find ourselves, most probably we were run as `sh COMMAND'
17765 # in which case we are not to be found in the path.
17766 if test "x$as_myself" = x
; then
17769 if test ! -f "$as_myself"; then
17770 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17774 # Unset variables that we do not need and which cause bugs (e.g. in
17775 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17776 # suppresses any "Segmentation fault" message there. '((' could
17777 # trigger a bug in pdksh 5.2.14.
17778 for as_var
in BASH_ENV ENV MAIL MAILPATH
17779 do eval test x\
${$as_var+set} = xset \
17780 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17793 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17796 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17797 # ----------------------------------------
17798 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17799 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17800 # script with STATUS, using 1 if that was 0.
17803 as_status
=$1; test $as_status -eq 0 && as_status
=1
17805 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17806 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17808 $as_echo "$as_me: error: $2" >&2
17809 as_fn_exit
$as_status
17813 # as_fn_set_status STATUS
17814 # -----------------------
17815 # Set $? to STATUS, without forking.
17816 as_fn_set_status
()
17819 } # as_fn_set_status
17821 # as_fn_exit STATUS
17822 # -----------------
17823 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17827 as_fn_set_status
$1
17833 # Portably unset VAR.
17836 { eval $1=; unset $1;}
17838 as_unset
=as_fn_unset
17839 # as_fn_append VAR VALUE
17840 # ----------------------
17841 # Append the text in VALUE to the end of the definition contained in VAR. Take
17842 # advantage of any shell optimizations that allow amortized linear growth over
17843 # repeated appends, instead of the typical quadratic growth present in naive
17845 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
17846 eval 'as_fn_append ()
17857 # as_fn_arith ARG...
17858 # ------------------
17859 # Perform arithmetic evaluation on the ARGs, and store the result in the
17860 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17861 # must be portable across $(()) and expr.
17862 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
17863 eval 'as_fn_arith ()
17870 as_val
=`expr "$@" || test $? -eq 1`
17875 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
17876 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17882 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17883 as_basename
=basename
17888 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
17894 as_me
=`$as_basename -- "$0" ||
17895 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17896 X"$0" : 'X\(//\)$' \| \
17897 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17899 sed '/^.*\/\([^/][^/]*\)\/*$/{
17913 # Avoid depending upon Character Ranges.
17914 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17915 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17916 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17917 as_cr_digits
='0123456789'
17918 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17920 ECHO_C
= ECHO_N
= ECHO_T
=
17921 case `echo -n x` in #(((((
17923 case `echo 'xy\c'` in
17924 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
17926 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
17933 rm -f conf$$ conf$$.exe conf$$.
file
17934 if test -d conf$$.dir
; then
17935 rm -f conf$$.dir
/conf$$.
file
17938 mkdir conf$$.dir
2>/dev
/null
17940 if (echo >conf$$.
file) 2>/dev
/null
; then
17941 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17943 # ... but there are two gotchas:
17944 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17945 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17946 # In both cases, we have to default to `cp -pR'.
17947 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
17949 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17957 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
17958 rmdir conf$$.dir
2>/dev
/null
17963 # Create "$as_dir" as a directory, including parents if necessary.
17968 -*) as_dir
=.
/$as_dir;;
17970 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
17974 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17975 *) as_qdir
=$as_dir;;
17977 as_dirs
="'$as_qdir' $as_dirs"
17978 as_dir
=`$as_dirname -- "$as_dir" ||
17979 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17980 X"$as_dir" : 'X\(//\)[^/]' \| \
17981 X"$as_dir" : 'X\(//\)$' \| \
17982 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17983 $as_echo X"$as_dir" |
17984 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17988 /^X\(\/\/\)[^/].*/{
18001 test -d "$as_dir" && break
18003 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18004 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18008 if mkdir
-p .
2>/dev
/null
; then
18009 as_mkdir_p
='mkdir -p "$as_dir"'
18011 test -d .
/-p && rmdir .
/-p
18016 # as_fn_executable_p FILE
18017 # -----------------------
18018 # Test if FILE is an executable regular file.
18019 as_fn_executable_p
()
18021 test -f "$1" && test -x "$1"
18022 } # as_fn_executable_p
18023 as_test_x
='test -x'
18024 as_executable_p
=as_fn_executable_p
18026 # Sed expression to map a string onto a valid CPP name.
18027 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18029 # Sed expression to map a string onto a valid variable name.
18030 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18034 ## ----------------------------------- ##
18035 ## Main body of $CONFIG_STATUS script. ##
18036 ## ----------------------------------- ##
18038 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18040 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18041 # Save the log message, to keep $0 and so on meaningful, and to
18042 # report actual input values of CONFIG_FILES etc. instead of their
18043 # values after options handling.
18045 This file was extended by Wine $as_me 1.7.14, which was
18046 generated by GNU Autoconf 2.69. Invocation command line was
18048 CONFIG_FILES = $CONFIG_FILES
18049 CONFIG_HEADERS = $CONFIG_HEADERS
18050 CONFIG_LINKS = $CONFIG_LINKS
18051 CONFIG_COMMANDS = $CONFIG_COMMANDS
18054 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18059 case $ac_config_files in *"
18060 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18063 case $ac_config_headers in *"
18064 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18068 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18069 # Files that config.status was made for.
18070 config_files="$ac_config_files"
18071 config_headers="$ac_config_headers"
18072 config_links="$ac_config_links"
18073 config_commands="$ac_config_commands"
18077 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18079 \`$as_me' instantiates files and other configuration actions
18080 from templates according to the current configuration. Unless the files
18081 and actions are specified as TAGs, all are instantiated by default.
18083 Usage: $0 [OPTION]... [TAG]...
18085 -h, --help print this help, then exit
18086 -V, --version print version number and configuration settings, then exit
18087 --config print configuration, then exit
18088 -q, --quiet, --silent
18089 do not print progress messages
18090 -d, --debug don't remove temporary files
18091 --recheck update $as_me by reconfiguring in the same conditions
18092 --file=FILE[:TEMPLATE]
18093 instantiate the configuration file FILE
18094 --header=FILE[:TEMPLATE]
18095 instantiate the configuration header FILE
18097 Configuration files:
18100 Configuration headers:
18103 Configuration links:
18106 Configuration commands:
18109 Report bugs to <wine-devel@winehq.org>.
18110 Wine home page: <http://www.winehq.org>."
18113 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18114 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18116 Wine config.status 1.7.14
18117 configured by $0, generated by GNU Autoconf 2.69,
18118 with options \\"\$ac_cs_config\\"
18120 Copyright (C) 2012 Free Software Foundation, Inc.
18121 This config.status script is free software; the Free Software Foundation
18122 gives unlimited permission to copy, distribute and modify it."
18126 test -n "\$AWK" || AWK=awk
18129 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18130 # The default lists apply if the user does not specify any file.
18136 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18137 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18141 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18153 # Handling of the options.
18154 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18156 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18157 $as_echo "$ac_cs_version"; exit ;;
18158 --config |
--confi |
--conf |
--con |
--co |
--c )
18159 $as_echo "$ac_cs_config"; exit ;;
18160 --debug |
--debu |
--deb |
--de |
--d |
-d )
18162 --file |
--fil |
--fi |
--f )
18165 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18166 '') as_fn_error $?
"missing file argument" ;;
18168 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18169 ac_need_defaults
=false
;;
18170 --header |
--heade |
--head |
--hea )
18173 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18175 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18176 ac_need_defaults
=false
;;
18178 # Conflict between --help and --header
18179 as_fn_error $?
"ambiguous option: \`$1'
18180 Try \`$0 --help' for more information.";;
18181 --help |
--hel |
-h )
18182 $as_echo "$ac_cs_usage"; exit ;;
18183 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18184 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18187 # This is an error.
18188 -*) as_fn_error $?
"unrecognized option: \`$1'
18189 Try \`$0 --help' for more information." ;;
18191 *) as_fn_append ac_config_targets
" $1"
18192 ac_need_defaults
=false
;;
18198 ac_configure_extra_args
=
18200 if $ac_cs_silent; then
18202 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18206 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18207 if \$ac_cs_recheck; then
18208 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18210 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18211 CONFIG_SHELL='$SHELL'
18212 export CONFIG_SHELL
18217 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18221 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18222 ## Running $as_me. ##
18228 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18232 wine_fn_output_makedep ()
18234 as_dir=tools; as_fn_mkdir_p
18235 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18237 wine_fn_output_makefile ()
18239 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
18240 `cat $wine_rules_file`
18242 as_fn_error $? "could not create Makefile" "$LINENO" 5
18244 wine_fn_output_gitignore ()
18246 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18249 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18254 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18256 # Handling of arguments.
18257 for ac_config_target
in $ac_config_targets
18259 case $ac_config_target in
18260 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18261 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18262 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18263 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18264 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18265 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18266 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18267 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18268 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18269 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18270 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
18271 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18272 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18273 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18275 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18280 # If the user did not use the arguments to specify the items to instantiate,
18281 # then the envvar interface is used. Set only those that are not.
18282 # We use the long form for the default assignment because of an extremely
18283 # bizarre bug on SunOS 4.1.3.
18284 if $ac_need_defaults; then
18285 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18286 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18287 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18288 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18291 # Have a temporary directory for convenience. Make it in the build tree
18292 # simply because there is no reason against having it here, and in addition,
18293 # creating and moving files from /tmp can sometimes cause problems.
18294 # Hook for its removal unless debugging.
18295 # Note that there is a small window in which the directory will not be cleaned:
18296 # after its creation but before its name has been assigned to `$tmp'.
18300 trap 'exit_status=$?
18301 : "${ac_tmp:=$tmp}"
18302 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18304 trap 'as_fn_exit 1' 1 2 13 15
18306 # Create a (secure) tmp directory for tmp files.
18309 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18313 tmp
=.
/conf$$
-$RANDOM
18314 (umask 077 && mkdir
"$tmp")
18315 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18318 # Set up the scripts for CONFIG_FILES section.
18319 # No need to generate them if there are no CONFIG_FILES.
18320 # This happens for instance with `./config.status config.h'.
18321 if test -n "$CONFIG_FILES"; then
18324 ac_cr
=`echo X | tr X '\015'`
18325 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18326 # But we know of no other shell where ac_cr would be empty at this
18327 # point, so we can use a bashism as a fallback.
18328 if test "x$ac_cr" = x
; then
18329 eval ac_cr
=\$
\'\\r
\'
18331 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18332 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18335 ac_cs_awk_cr
=$ac_cr
18338 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18343 echo "cat >conf$$subs.awk <<_ACEOF" &&
18344 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18346 } >conf$$subs.sh ||
18347 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18348 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18350 for ac_last_try in false false false false false :; do
18351 . ./conf$$subs.sh ||
18352 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18354 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18355 if test $ac_delim_n = $ac_delim_num; then
18357 elif $ac_last_try; then
18358 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18360 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18363 rm -f conf$$subs.sh
18365 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18366 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18370 s/^/S["/; s
/!.
*/"]=/
18380 s/\(.\{148\}\)..*/\1/
18382 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18387 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18394 s/\(.\{148\}\)..*/\1/
18396 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18400 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18405 ' <conf$$subs.awk | sed '
18410 ' >>$CONFIG_STATUS || ac_write_fail=1
18411 rm -f conf$$subs.awk
18412 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18414 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18415 for (key in S) S_is_set[key] = 1
18421 nfields = split(line, field, "@
")
18423 len = length(field[1])
18424 for (i = 2; i < nfields; i++) {
18426 keylen = length(key)
18427 if (S_is_set[key]) {
18429 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18430 len += length(value) + length(field[++i])
18441 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18442 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18443 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18446 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18447 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18450 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18451 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18452 # trailing colons and then remove the whole line if VPATH becomes empty
18453 # (actually we leave an empty line to preserve line numbers).
18454 if test "x
$srcdir" = x.; then
18455 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18473 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18474 fi # test -n "$CONFIG_FILES"
18476 # Set up the scripts for CONFIG_HEADERS section.
18477 # No need to generate them if there are no CONFIG_HEADERS.
18478 # This happens for instance with `./config.status Makefile'.
18479 if test -n "$CONFIG_HEADERS"; then
18480 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18484 # Transform confdefs.h into an awk script `defines.awk', embedded as
18485 # here-document in config.status, that substitutes the proper values into
18486 # config.h.in to produce config.h.
18488 # Create a delimiter string that does not exist in confdefs.h, to ease
18489 # handling of long lines.
18491 for ac_last_try in false false :; do
18492 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18493 if test -z "$ac_tt"; then
18495 elif $ac_last_try; then
18496 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18498 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18502 # For the awk script, D is an array of macro values keyed by name,
18503 # likewise P contains macro parameters if any. Preserve backslash
18504 # newline sequences.
18506 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18508 s/.\{148\}/&'"$ac_delim"'/g
18511 s/^[ ]*#[ ]*define[ ][ ]*/ /
18518 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18520 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18524 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18525 D["\
1"]=" \
3\\\\\\n
"\\/p
18527 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18532 s/.\{148\}/&'"$ac_delim"'/g
18537 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18540 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18542 ' <confdefs.h | sed '
18543 s/'"$ac_delim"'/"\\\
18544 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18546 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18547 for (key in D) D_is_set[key] = 1
18550 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18552 split(line, arg, " ")
18553 if (arg[1] == "#") {
18557 defundef
= substr
(arg
[1], 2)
18560 split(mac1
, mac2
, "(") #)
18562 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18563 if (D_is_set
[macro
]) {
18564 # Preserve the white space surrounding the "#".
18565 print prefix
"define", macro P
[macro
] D
[macro
]
18568 # Replace #undef with comments. This is necessary, for example,
18569 # in the case of _POSIX_SOURCE, which is predefined and required
18570 # on some systems where configure will not decide to define it.
18571 if (defundef
== "undef") {
18572 print
"/*", prefix defundef
, macro
, "*/"
18580 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18581 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18582 fi # test -n "$CONFIG_HEADERS"
18585 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18590 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18592 case $ac_mode$ac_tag in
18594 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18595 :[FH
]-) ac_tag
=-:-;;
18596 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18613 -) ac_f
="$ac_tmp/stdin";;
18614 *) # Look for the file first in the build tree, then in the source tree
18615 # (if the path is not absolute). The absolute path cannot be DOS-style,
18616 # because $ac_f cannot contain `:'.
18620 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18622 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18624 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18625 as_fn_append ac_file_inputs
" '$ac_f'"
18628 # Let's still pretend it is `configure' which instantiates (i.e., don't
18629 # use $as_me), people would be surprised to read:
18630 # /* config.h. Generated by config.status. */
18631 configure_input
='Generated from '`
18632 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18634 if test x
"$ac_file" != x-
; then
18635 configure_input
="$ac_file. $configure_input"
18636 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18637 $as_echo "$as_me: creating $ac_file" >&6;}
18639 # Neutralize special characters interpreted by sed in replacement strings.
18640 case $configure_input in #(
18641 *\
&* |
*\|
* |
*\\* )
18642 ac_sed_conf_input
=`$as_echo "$configure_input" |
18643 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18644 *) ac_sed_conf_input
=$configure_input;;
18648 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
18649 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
18654 ac_dir
=`$as_dirname -- "$ac_file" ||
18655 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18656 X"$ac_file" : 'X\(//\)[^/]' \| \
18657 X"$ac_file" : 'X\(//\)$' \| \
18658 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18659 $as_echo X"$ac_file" |
18660 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18664 /^X\(\/\/\)[^/].*/{
18677 as_dir
="$ac_dir"; as_fn_mkdir_p
18681 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18683 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18684 # A ".." for each directory in $ac_dir_suffix.
18685 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18686 case $ac_top_builddir_sub in
18687 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18688 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18691 ac_abs_top_builddir
=$ac_pwd
18692 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18693 # for backward compatibility:
18694 ac_top_builddir
=$ac_top_build_prefix
18697 .
) # We are building in place.
18699 ac_top_srcdir
=$ac_top_builddir_sub
18700 ac_abs_top_srcdir
=$ac_pwd ;;
18701 [\\/]* | ?
:[\\/]* ) # Absolute name.
18702 ac_srcdir
=$srcdir$ac_dir_suffix;
18703 ac_top_srcdir
=$srcdir
18704 ac_abs_top_srcdir
=$srcdir ;;
18705 *) # Relative name.
18706 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18707 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18708 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18710 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18721 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18722 # If the template does not know about datarootdir, expand it.
18723 # FIXME: This hack should be removed a few years after 2.60.
18724 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18735 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18736 *datarootdir
*) ac_datarootdir_seen
=yes;;
18737 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18739 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18741 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18742 ac_datarootdir_hack='
18743 s&@datadir@&$datadir&g
18744 s&@docdir@&$docdir&g
18745 s&@infodir@&$infodir&g
18746 s&@localedir@&$localedir&g
18747 s&@mandir@&$mandir&g
18748 s&\\\${datarootdir}&$datarootdir&g' ;;
18752 # Neutralize VPATH when `$srcdir' = `.'.
18753 # Shell code in configure.ac might set extrasub.
18754 # FIXME: do we really want to maintain this feature?
18755 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18756 ac_sed_extra="$ac_vpsub
18759 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18761 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18762 s|@configure_input@|
$ac_sed_conf_input|
;t t
18763 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18764 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18765 s
&@srcdir@
&$ac_srcdir&;t t
18766 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18767 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18768 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18769 s
&@builddir@
&$ac_builddir&;t t
18770 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18771 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18772 $ac_datarootdir_hack
18774 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
18775 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18777 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18778 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
18779 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18780 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
18781 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18782 which seems to be undefined. Please make sure it is defined" >&5
18783 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18784 which seems to be undefined. Please make sure it is defined" >&2;}
18786 rm -f "$ac_tmp/stdin"
18788 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18789 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18791 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18797 if test x"$ac_file" != x-; then
18799 $as_echo "/* $configure_input */" \
18800 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18801 } >"$ac_tmp/config.h" \
18802 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18803 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18804 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18805 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18808 mv "$ac_tmp/config.h" "$ac_file" \
18809 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18812 $as_echo "/* $configure_input */" \
18813 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18814 || as_fn_error $? "could not create -" "$LINENO" 5
18822 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
18825 # Prefer the file from the source tree if names are identical.
18826 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18827 ac_source=$srcdir/$ac_source
18830 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18831 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18833 if test ! -r "$ac_source"; then
18834 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18838 # Try a relative symlink, then a hard link, then a copy.
18840 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18841 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18843 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18844 ln "$ac_source" "$ac_file" 2>/dev/null ||
18845 cp -p "$ac_source" "$ac_file" ||
18846 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18849 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18850 $as_echo "$as_me: executing $ac_file commands" >&6;}
18855 case $ac_file$ac_mode in
18856 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18857 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
18858 "Makefile":C) wine_fn_output_makefile Makefile ;;
18859 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
18867 ac_clean_files=$ac_clean_files_save
18869 test $ac_write_fail = 0 ||
18870 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18873 # configure is writing to config.log, and then calls config.status.
18874 # config.status does its own redirection, appending to config.log.
18875 # Unfortunately, on DOS this fails, as config.log is still kept open
18876 # by configure, so config.status won't be able to
write to it
; its
18877 # output is simply discarded. So we exec the FD to /dev/null,
18878 # effectively closing config.log, so it can be properly (re)opened and
18879 # appended to by config.status. When coming back to configure, we
18880 # need to make the FD available again.
18881 if test "$no_create" != yes; then
18883 ac_config_status_args
=
18884 test "$silent" = yes &&
18885 ac_config_status_args
="$ac_config_status_args --quiet"
18887 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18889 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18890 # would make configure fail if this is the last instruction.
18891 $ac_cs_success || as_fn_exit
1
18893 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18895 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18899 if test "$no_create" = "yes"
18905 if test "x$wine_notices != "x
; then
18908 for msg
in $wine_notices; do
18910 if ${msg:+false} :; then :
18913 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
18914 $as_echo "$as_me: $msg" >&6;}
18919 for msg
in $wine_warnings; do
18921 if ${msg:+false} :; then :
18925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
18926 $as_echo "$as_me: WARNING: $msg" >&2;}
18932 $as_me: Finished. Do '${ac_make}' to compile Wine.