2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.12.
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.12'
584 PACKAGE_STRING
='Wine 1.7.12'
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
943 enable_d3dcompiler_33
944 enable_d3dcompiler_34
945 enable_d3dcompiler_35
946 enable_d3dcompiler_36
947 enable_d3dcompiler_37
948 enable_d3dcompiler_38
949 enable_d3dcompiler_39
950 enable_d3dcompiler_40
951 enable_d3dcompiler_41
952 enable_d3dcompiler_42
953 enable_d3dcompiler_43
1026 enable_explorerframe
1027 enable_ext_ms_win_gdi_devcaps_l1_1_0
1166 enable_photometadatahandler
1245 enable_windowscodecs
1246 enable_windowscodecsext
1248 enable_winecoreaudio_drv
1250 enable_winegstreamer
1251 enable_winejoystick_drv
1257 enable_wineqtdecoder
1293 enable_documentation
1301 enable_aspnet_regiis
1333 enable_presentationfontcache
1345 enable_servicemodelreg
1364 enable_winemenubuilder
1366 enable_winemsibuilder
1380 ac_precious_vars
='build_alias
1429 # Initialize some variables set by options.
1431 ac_init_version
=false
1432 ac_unrecognized_opts
=
1433 ac_unrecognized_sep
=
1434 # The variables have the same names as the options, with
1435 # dashes changed to underlines.
1436 cache_file
=/dev
/null
1443 program_transform_name
=s
,x
,x
,
1451 # Installation directory options.
1452 # These are left unexpanded so users can "make install exec_prefix=/foo"
1453 # and all the variables that are supposed to be based on exec_prefix
1454 # by default will actually change.
1455 # Use braces instead of parens because sh, perl, etc. also accept them.
1456 # (The list follows the same order as the GNU Coding Standards.)
1457 bindir
='${exec_prefix}/bin'
1458 sbindir
='${exec_prefix}/sbin'
1459 libexecdir
='${exec_prefix}/libexec'
1460 datarootdir
='${prefix}/share'
1461 datadir
='${datarootdir}'
1462 sysconfdir
='${prefix}/etc'
1463 sharedstatedir
='${prefix}/com'
1464 localstatedir
='${prefix}/var'
1465 includedir
='${prefix}/include'
1466 oldincludedir
='/usr/include'
1467 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1468 infodir
='${datarootdir}/info'
1473 libdir
='${exec_prefix}/lib'
1474 localedir
='${datarootdir}/locale'
1475 mandir
='${datarootdir}/man'
1481 # If the previous option needs an argument, assign it.
1482 if test -n "$ac_prev"; then
1483 eval $ac_prev=\
$ac_option
1489 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1494 # Accept the important Cygnus configure options, so we can diagnose typos.
1496 case $ac_dashdash$ac_option in
1500 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1502 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1503 bindir
=$ac_optarg ;;
1505 -build |
--build |
--buil |
--bui |
--bu)
1506 ac_prev
=build_alias
;;
1507 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1508 build_alias
=$ac_optarg ;;
1510 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1511 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1512 ac_prev
=cache_file
;;
1513 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1514 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1515 cache_file
=$ac_optarg ;;
1517 --config-cache |
-C)
1518 cache_file
=config.cache
;;
1520 -datadir |
--datadir |
--datadi |
--datad)
1522 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1523 datadir
=$ac_optarg ;;
1525 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1526 |
--dataroo |
--dataro |
--datar)
1527 ac_prev
=datarootdir
;;
1528 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1529 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1530 datarootdir
=$ac_optarg ;;
1532 -disable-* |
--disable-*)
1533 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1534 # Reject names that are not valid shell variable names.
1535 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1536 as_fn_error $?
"invalid feature name: $ac_useropt"
1537 ac_useropt_orig
=$ac_useropt
1538 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1539 case $ac_user_opts in
1541 "enable_
$ac_useropt"
1543 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1544 ac_unrecognized_sep
=', ';;
1546 eval enable_
$ac_useropt=no
;;
1548 -docdir |
--docdir |
--docdi |
--doc |
--do)
1550 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1551 docdir
=$ac_optarg ;;
1553 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1555 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1556 dvidir
=$ac_optarg ;;
1558 -enable-* |
--enable-*)
1559 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1560 # Reject names that are not valid shell variable names.
1561 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1562 as_fn_error $?
"invalid feature name: $ac_useropt"
1563 ac_useropt_orig
=$ac_useropt
1564 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1565 case $ac_user_opts in
1567 "enable_
$ac_useropt"
1569 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1570 ac_unrecognized_sep
=', ';;
1572 eval enable_
$ac_useropt=\
$ac_optarg ;;
1574 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1575 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1576 |
--exec |
--exe |
--ex)
1577 ac_prev
=exec_prefix
;;
1578 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1579 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1580 |
--exec=* |
--exe=* |
--ex=*)
1581 exec_prefix
=$ac_optarg ;;
1583 -gas |
--gas |
--ga |
--g)
1584 # Obsolete; use --with-gas.
1587 -help |
--help |
--hel |
--he |
-h)
1588 ac_init_help
=long
;;
1589 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1590 ac_init_help
=recursive
;;
1591 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1592 ac_init_help
=short
;;
1594 -host |
--host |
--hos |
--ho)
1595 ac_prev
=host_alias
;;
1596 -host=* |
--host=* |
--hos=* |
--ho=*)
1597 host_alias
=$ac_optarg ;;
1599 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1601 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1603 htmldir
=$ac_optarg ;;
1605 -includedir |
--includedir |
--includedi |
--included |
--include \
1606 |
--includ |
--inclu |
--incl |
--inc)
1607 ac_prev
=includedir
;;
1608 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1609 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1610 includedir
=$ac_optarg ;;
1612 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1614 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1615 infodir
=$ac_optarg ;;
1617 -libdir |
--libdir |
--libdi |
--libd)
1619 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1620 libdir
=$ac_optarg ;;
1622 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1623 |
--libexe |
--libex |
--libe)
1624 ac_prev
=libexecdir
;;
1625 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1626 |
--libexe=* |
--libex=* |
--libe=*)
1627 libexecdir
=$ac_optarg ;;
1629 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1630 ac_prev
=localedir
;;
1631 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1632 localedir
=$ac_optarg ;;
1634 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1635 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1636 ac_prev
=localstatedir
;;
1637 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1638 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1639 localstatedir
=$ac_optarg ;;
1641 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1643 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1644 mandir
=$ac_optarg ;;
1646 -nfp |
--nfp |
--nf)
1647 # Obsolete; use --without-fp.
1650 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1651 |
--no-cr |
--no-c |
-n)
1654 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1655 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1658 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1659 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1660 |
--oldin |
--oldi |
--old |
--ol |
--o)
1661 ac_prev
=oldincludedir
;;
1662 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1663 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1664 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1665 oldincludedir
=$ac_optarg ;;
1667 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1669 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1670 prefix
=$ac_optarg ;;
1672 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1673 |
--program-pre |
--program-pr |
--program-p)
1674 ac_prev
=program_prefix
;;
1675 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1676 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1677 program_prefix
=$ac_optarg ;;
1679 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1680 |
--program-suf |
--program-su |
--program-s)
1681 ac_prev
=program_suffix
;;
1682 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1683 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1684 program_suffix
=$ac_optarg ;;
1686 -program-transform-name |
--program-transform-name \
1687 |
--program-transform-nam |
--program-transform-na \
1688 |
--program-transform-n |
--program-transform- \
1689 |
--program-transform |
--program-transfor \
1690 |
--program-transfo |
--program-transf \
1691 |
--program-trans |
--program-tran \
1692 |
--progr-tra |
--program-tr |
--program-t)
1693 ac_prev
=program_transform_name
;;
1694 -program-transform-name=* |
--program-transform-name=* \
1695 |
--program-transform-nam=* |
--program-transform-na=* \
1696 |
--program-transform-n=* |
--program-transform-=* \
1697 |
--program-transform=* |
--program-transfor=* \
1698 |
--program-transfo=* |
--program-transf=* \
1699 |
--program-trans=* |
--program-tran=* \
1700 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1701 program_transform_name
=$ac_optarg ;;
1703 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1705 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1706 pdfdir
=$ac_optarg ;;
1708 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1710 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1713 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1714 |
-silent |
--silent |
--silen |
--sile |
--sil)
1717 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1719 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1721 sbindir
=$ac_optarg ;;
1723 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1724 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1725 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1727 ac_prev
=sharedstatedir
;;
1728 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1729 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1730 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1732 sharedstatedir
=$ac_optarg ;;
1734 -site |
--site |
--sit)
1736 -site=* |
--site=* |
--sit=*)
1739 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1741 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1742 srcdir
=$ac_optarg ;;
1744 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1745 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1746 ac_prev
=sysconfdir
;;
1747 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1748 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1749 sysconfdir
=$ac_optarg ;;
1751 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1752 ac_prev
=target_alias
;;
1753 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1754 target_alias
=$ac_optarg ;;
1756 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1759 -version |
--version |
--versio |
--versi |
--vers |
-V)
1760 ac_init_version
=: ;;
1763 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1764 # Reject names that are not valid shell variable names.
1765 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1766 as_fn_error $?
"invalid package name: $ac_useropt"
1767 ac_useropt_orig
=$ac_useropt
1768 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1769 case $ac_user_opts in
1773 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1774 ac_unrecognized_sep
=', ';;
1776 eval with_
$ac_useropt=\
$ac_optarg ;;
1778 -without-* |
--without-*)
1779 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1780 # Reject names that are not valid shell variable names.
1781 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1782 as_fn_error $?
"invalid package name: $ac_useropt"
1783 ac_useropt_orig
=$ac_useropt
1784 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1785 case $ac_user_opts in
1789 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1790 ac_unrecognized_sep
=', ';;
1792 eval with_
$ac_useropt=no
;;
1795 # Obsolete; use --with-x.
1798 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1799 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1800 ac_prev
=x_includes
;;
1801 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1802 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1803 x_includes
=$ac_optarg ;;
1805 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1806 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1807 ac_prev
=x_libraries
;;
1808 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1809 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1810 x_libraries
=$ac_optarg ;;
1812 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1813 Try \`$0 --help' for more information"
1817 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1818 # Reject names that are not valid shell variable names.
1819 case $ac_envvar in #(
1820 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1821 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1823 eval $ac_envvar=\
$ac_optarg
1824 export $ac_envvar ;;
1827 # FIXME: should be removed in autoconf 3.0.
1828 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1829 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1830 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1831 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1837 if test -n "$ac_prev"; then
1838 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1839 as_fn_error $?
"missing argument to $ac_option"
1842 if test -n "$ac_unrecognized_opts"; then
1843 case $enable_option_checking in
1845 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1846 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1850 # Check all directory arguments for consistency.
1851 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1852 datadir sysconfdir sharedstatedir localstatedir includedir \
1853 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1854 libdir localedir mandir
1856 eval ac_val
=\$
$ac_var
1857 # Remove trailing slashes.
1860 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1861 eval $ac_var=\
$ac_val;;
1863 # Be sure to have absolute directory names.
1865 [\\/$
]* | ?
:[\\/]* ) continue;;
1866 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1868 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1871 # There might be people who depend on the old broken behavior: `$host'
1872 # used to hold the argument of --host etc.
1873 # FIXME: To remove some day.
1876 target
=$target_alias
1878 # FIXME: To remove some day.
1879 if test "x$host_alias" != x
; then
1880 if test "x$build_alias" = x
; then
1881 cross_compiling
=maybe
1882 elif test "x$build_alias" != "x$host_alias"; then
1888 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1890 test "$silent" = yes && exec 6>/dev
/null
1893 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1894 ac_ls_di
=`ls -di .` &&
1895 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1896 as_fn_error $?
"working directory cannot be determined"
1897 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1898 as_fn_error $?
"pwd does not report name of working directory"
1901 # Find the source files, if location was not specified.
1902 if test -z "$srcdir"; then
1903 ac_srcdir_defaulted
=yes
1904 # Try the directory containing this script, then the parent directory.
1905 ac_confdir
=`$as_dirname -- "$as_myself" ||
1906 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1907 X"$as_myself" : 'X\(//\)[^/]' \| \
1908 X"$as_myself" : 'X\(//\)$' \| \
1909 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1910 $as_echo X"$as_myself" |
1911 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1929 if test ! -r "$srcdir/$ac_unique_file"; then
1933 ac_srcdir_defaulted
=no
1935 if test ! -r "$srcdir/$ac_unique_file"; then
1936 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1937 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1939 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1941 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1943 # When building in place, set srcdir=.
1944 if test "$ac_abs_confdir" = "$ac_pwd"; then
1947 # Remove unnecessary trailing slashes from srcdir.
1948 # Double slashes in file names in object file debugging info
1949 # mess up M-x gdb in Emacs.
1951 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1953 for ac_var
in $ac_precious_vars; do
1954 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1955 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1956 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1957 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1961 # Report the --help message.
1963 if test "$ac_init_help" = "long"; then
1964 # Omit some internal or obsolete options to make the list less imposing.
1965 # This message is too long to be a string in the A/UX 3.1 sh.
1967 \`configure' configures Wine 1.7.12 to adapt to many kinds of systems.
1969 Usage: $0 [OPTION]... [VAR=VALUE]...
1971 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1972 VAR=VALUE. See below for descriptions of some of the useful variables.
1974 Defaults for the options are specified in brackets.
1977 -h, --help display this help and exit
1978 --help=short display options specific to this package
1979 --help=recursive display the short help of all the included packages
1980 -V, --version display version information and exit
1981 -q, --quiet, --silent do not print \`checking ...' messages
1982 --cache-file=FILE cache test results in FILE [disabled]
1983 -C, --config-cache alias for \`--cache-file=config.cache'
1984 -n, --no-create do not create output files
1985 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1987 Installation directories:
1988 --prefix=PREFIX install architecture-independent files in PREFIX
1989 [$ac_default_prefix]
1990 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1993 By default, \`make install' will install all the files in
1994 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1995 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1996 for instance \`--prefix=\$HOME'.
1998 For better control, use the options below.
2000 Fine tuning of the installation directories:
2001 --bindir=DIR user executables [EPREFIX/bin]
2002 --sbindir=DIR system admin executables [EPREFIX/sbin]
2003 --libexecdir=DIR program executables [EPREFIX/libexec]
2004 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2005 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2006 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2007 --libdir=DIR object code libraries [EPREFIX/lib]
2008 --includedir=DIR C header files [PREFIX/include]
2009 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2010 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2011 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2012 --infodir=DIR info documentation [DATAROOTDIR/info]
2013 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2014 --mandir=DIR man documentation [DATAROOTDIR/man]
2015 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2016 --htmldir=DIR html documentation [DOCDIR]
2017 --dvidir=DIR dvi documentation [DOCDIR]
2018 --pdfdir=DIR pdf documentation [DOCDIR]
2019 --psdir=DIR ps documentation [DOCDIR]
2025 --x-includes=DIR X include files are
in DIR
2026 --x-libraries=DIR X library files are
in DIR
2029 --build=BUILD configure
for building on BUILD
[guessed
]
2030 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2034 if test -n "$ac_init_help"; then
2035 case $ac_init_help in
2036 short | recursive
) echo "Configuration of Wine 1.7.12:";;
2041 --disable-option-checking ignore unrecognized
--enable/--with options
2042 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2043 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2044 --disable-win16 do not include Win16 support
2045 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2047 --disable-tests do not build the regression tests
2048 --enable-maintainer-mode
2049 enable maintainer-specific build rules
2050 --disable-largefile omit support for large files
2053 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2054 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2055 --without-alsa do not use the Alsa sound support
2056 --without-capi do not use CAPI (ISDN support)
2057 --without-cms do not use CMS (color management support)
2058 --without-coreaudio do not use the CoreAudio sound support
2059 --without-cups do not use CUPS
2060 --without-curses do not use (n)curses
2061 --without-dbus do not use DBus (dynamic device support)
2062 --without-fontconfig do not use fontconfig
2063 --without-freetype do not use the FreeType library
2064 --without-gettext do not use gettext
2065 --with-gettextpo use the GetTextPO library to rebuild po files
2066 --without-gphoto do not use gphoto (Digital Camera support)
2067 --without-glu do not use the GLU library
2068 --without-gnutls do not use GnuTLS (schannel support)
2069 --without-gsm do not use libgsm (GSM 06.10 codec support)
2070 --without-gstreamer do not use GStreamer (codecs support)
2071 --without-hal do not use HAL (dynamic device support)
2072 --without-jpeg do not use JPEG
2073 --without-ldap do not use LDAP
2074 --without-mpg123 do not use the mpg123 library
2075 --without-netapi do not use the Samba NetAPI library
2076 --without-openal do not use OpenAL
2077 --without-opencl do not use OpenCL
2078 --without-opengl do not use OpenGL
2079 --without-osmesa do not use the OSMesa library
2080 --without-oss do not use the OSS sound support
2081 --without-png do not use PNG
2082 --without-pthread do not use the pthread library
2083 --without-sane do not use SANE (scanner support)
2084 --without-tiff do not use TIFF
2085 --without-v4l do not use v4l1 (v4l support)
2086 --without-xcomposite do not use the Xcomposite extension
2087 --without-xcursor do not use the Xcursor extension
2088 --without-xinerama do not use Xinerama (multi-monitor support)
2089 --without-xinput do not use the Xinput extension
2090 --without-xinput2 do not use the Xinput 2 extension
2091 --without-xml do not use XML
2092 --without-xrandr do not use Xrandr (resolution changes)
2093 --without-xrender do not use the Xrender extension
2094 --without-xshape do not use the Xshape extension
2095 --without-xshm do not use XShm (shared memory extension)
2096 --without-xslt do not use XSLT
2097 --without-xxf86vm do not use XFree video mode extension
2098 --without-zlib do not use Zlib (data compression)
2099 --with-wine-tools=DIR use Wine tools from directory DIR
2100 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2101 --with-x use the X Window System
2103 Some influential environment variables:
2104 CC C compiler command
2105 CFLAGS C compiler flags
2106 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2107 nonstandard directory <lib dir>
2108 LIBS libraries to pass to the linker, e.g. -l<library>
2109 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2110 you have headers in a nonstandard directory <include dir>
2111 CXX C++ compiler command
2112 CXXFLAGS C++ compiler flags
2114 XMKMF Path to xmkmf, Makefile generator for X Window System
2115 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2116 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2117 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2118 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2119 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2120 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2121 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2122 HAL_LIBS Linker flags for hal, overriding pkg-config
2124 C compiler flags for gnutls, overriding pkg-config
2125 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2126 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2127 SANE_LIBS Linker flags for libsane, overriding pkg-config
2129 C compiler flags for libgphoto2, overriding pkg-config
2131 Linker flags for libgphoto2, overriding pkg-config
2133 C compiler flags for libgphoto2_port, overriding pkg-config
2135 Linker flags for libgphoto2_port, overriding pkg-config
2137 C compiler flags for lcms2, overriding pkg-config
2138 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2140 C compiler flags for freetype2, overriding pkg-config
2142 Linker flags for freetype2, overriding pkg-config
2144 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2146 Linker flags for gstreamer-app-0.10, overriding pkg-config
2148 C compiler flags for capi20, overriding pkg-config
2149 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2151 C compiler flags for fontconfig, overriding pkg-config
2153 Linker flags for fontconfig, overriding pkg-config
2154 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2155 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2156 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2157 PNG_LIBS Linker flags for libpng, overriding pkg-config
2158 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2159 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2161 C compiler flags for libmpg123, overriding pkg-config
2162 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2164 Use these variables to override the choices made by `configure' or to
help
2165 it to
find libraries and programs with nonstandard names
/locations.
2167 Report bugs to
<wine-devel@winehq.org
>.
2168 Wine home page
: <http
://www.winehq.org
>.
2173 if test "$ac_init_help" = "recursive"; then
2174 # If there are subdirs, report their specific --help.
2175 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2176 test -d "$ac_dir" ||
2177 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2182 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2184 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2185 # A ".." for each directory in $ac_dir_suffix.
2186 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2187 case $ac_top_builddir_sub in
2188 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2189 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2192 ac_abs_top_builddir
=$ac_pwd
2193 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2194 # for backward compatibility:
2195 ac_top_builddir
=$ac_top_build_prefix
2198 .
) # We are building in place.
2200 ac_top_srcdir
=$ac_top_builddir_sub
2201 ac_abs_top_srcdir
=$ac_pwd ;;
2202 [\\/]* | ?
:[\\/]* ) # Absolute name.
2203 ac_srcdir
=$srcdir$ac_dir_suffix;
2204 ac_top_srcdir
=$srcdir
2205 ac_abs_top_srcdir
=$srcdir ;;
2207 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2208 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2209 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2211 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2213 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2214 # Check for guested configure.
2215 if test -f "$ac_srcdir/configure.gnu"; then
2217 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2218 elif test -f "$ac_srcdir/configure"; then
2220 $SHELL "$ac_srcdir/configure" --help=recursive
2222 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2224 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2228 test -n "$ac_init_help" && exit $ac_status
2229 if $ac_init_version; then
2231 Wine configure
1.7.12
2232 generated by GNU Autoconf
2.69
2234 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2235 This configure
script is free software
; the Free Software Foundation
2236 gives unlimited permission to copy
, distribute and modify it.
2241 ## ------------------------ ##
2242 ## Autoconf initialization. ##
2243 ## ------------------------ ##
2245 # ac_fn_c_try_compile LINENO
2246 # --------------------------
2247 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2248 ac_fn_c_try_compile
()
2250 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2251 rm -f conftest.
$ac_objext
2252 if { { ac_try
="$ac_compile"
2254 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2255 *) ac_try_echo=$ac_try;;
2257 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2258 $as_echo "$ac_try_echo"; } >&5
2259 (eval "$ac_compile") 2>conftest.err
2261 if test -s conftest.err; then
2262 grep -v '^ *+' conftest.err >conftest.er1
2263 cat conftest.er1 >&5
2264 mv -f conftest.er1 conftest.err
2266 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2267 test $ac_status = 0; } && {
2268 test -z "$ac_c_werror_flag" ||
2269 test ! -s conftest.err
2270 } && test -s conftest.$ac_objext; then :
2273 $as_echo "$as_me: failed program was:" >&5
2274 sed 's/^/| /' conftest.$ac_ext >&5
2278 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2279 as_fn_set_status $ac_retval
2281 } # ac_fn_c_try_compile
2283 # ac_fn_cxx_try_compile LINENO
2284 # ----------------------------
2285 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2286 ac_fn_cxx_try_compile ()
2288 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2289 rm -f conftest.$ac_objext
2290 if { { ac_try="$ac_compile"
2292 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2293 *) ac_try_echo
=$ac_try;;
2295 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2296 $as_echo "$ac_try_echo"; } >&5
2297 (eval "$ac_compile") 2>conftest.err
2299 if test -s conftest.err
; then
2300 grep -v '^ *+' conftest.err
>conftest.er1
2301 cat conftest.er1
>&5
2302 mv -f conftest.er1 conftest.err
2304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2305 test $ac_status = 0; } && {
2306 test -z "$ac_cxx_werror_flag" ||
2307 test ! -s conftest.err
2308 } && test -s conftest.
$ac_objext; then :
2311 $as_echo "$as_me: failed program was:" >&5
2312 sed 's/^/| /' conftest.
$ac_ext >&5
2316 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2317 as_fn_set_status
$ac_retval
2319 } # ac_fn_cxx_try_compile
2321 # ac_fn_c_try_link LINENO
2322 # -----------------------
2323 # Try to link conftest.$ac_ext, and return whether this succeeded.
2326 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2327 rm -f conftest.
$ac_objext conftest
$ac_exeext
2328 if { { ac_try
="$ac_link"
2330 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2331 *) ac_try_echo=$ac_try;;
2333 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2334 $as_echo "$ac_try_echo"; } >&5
2335 (eval "$ac_link") 2>conftest.err
2337 if test -s conftest.err; then
2338 grep -v '^ *+' conftest.err >conftest.er1
2339 cat conftest.er1 >&5
2340 mv -f conftest.er1 conftest.err
2342 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2343 test $ac_status = 0; } && {
2344 test -z "$ac_c_werror_flag" ||
2345 test ! -s conftest.err
2346 } && test -s conftest$ac_exeext && {
2347 test "$cross_compiling" = yes ||
2348 test -x conftest$ac_exeext
2352 $as_echo "$as_me: failed program was:" >&5
2353 sed 's/^/| /' conftest.$ac_ext >&5
2357 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2358 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2359 # interfere with the next link command; also delete a directory that is
2360 # left behind by Apple's compiler. We do this before executing the actions.
2361 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2362 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2363 as_fn_set_status $ac_retval
2365 } # ac_fn_c_try_link
2367 # ac_fn_c_try_cpp LINENO
2368 # ----------------------
2369 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2372 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2373 if { { ac_try="$ac_cpp conftest.$ac_ext"
2375 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2376 *) ac_try_echo
=$ac_try;;
2378 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2379 $as_echo "$ac_try_echo"; } >&5
2380 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2382 if test -s conftest.err
; then
2383 grep -v '^ *+' conftest.err
>conftest.er1
2384 cat conftest.er1
>&5
2385 mv -f conftest.er1 conftest.err
2387 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2388 test $ac_status = 0; } > conftest.i
&& {
2389 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2390 test ! -s conftest.err
2394 $as_echo "$as_me: failed program was:" >&5
2395 sed 's/^/| /' conftest.
$ac_ext >&5
2399 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2400 as_fn_set_status
$ac_retval
2404 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2405 # -------------------------------------------------------
2406 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2407 # the include files in INCLUDES and setting the cache variable VAR
2409 ac_fn_c_check_header_mongrel
()
2411 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2412 if eval \
${$3+:} false
; then :
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2414 $as_echo_n "checking for $2... " >&6; }
2415 if eval \
${$3+:} false
; then :
2416 $as_echo_n "(cached) " >&6
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2420 $as_echo "$ac_res" >&6; }
2422 # Is the header compilable?
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2424 $as_echo_n "checking $2 usability... " >&6; }
2425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2426 /* end confdefs.h. */
2430 if ac_fn_c_try_compile
"$LINENO"; then :
2431 ac_header_compiler
=yes
2433 ac_header_compiler
=no
2435 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2437 $as_echo "$ac_header_compiler" >&6; }
2439 # Is the header present?
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2441 $as_echo_n "checking $2 presence... " >&6; }
2442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2443 /* end confdefs.h. */
2446 if ac_fn_c_try_cpp
"$LINENO"; then :
2447 ac_header_preproc
=yes
2449 ac_header_preproc
=no
2451 rm -f conftest.err conftest.i conftest.
$ac_ext
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2453 $as_echo "$ac_header_preproc" >&6; }
2455 # So? What about this header?
2456 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2459 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2461 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2465 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2467 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2469 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2471 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2473 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2474 ( $as_echo "## ------------------------------------ ##
2475 ## Report this to wine-devel@winehq.org ##
2476 ## ------------------------------------ ##"
2477 ) |
sed "s/^/$as_me: WARNING: /" >&2
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2481 $as_echo_n "checking for $2... " >&6; }
2482 if eval \
${$3+:} false
; then :
2483 $as_echo_n "(cached) " >&6
2485 eval "$3=\$ac_header_compiler"
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2489 $as_echo "$ac_res" >&6; }
2491 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2493 } # ac_fn_c_check_header_mongrel
2495 # ac_fn_c_try_run LINENO
2496 # ----------------------
2497 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2498 # that executables *can* be run.
2501 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2502 if { { ac_try
="$ac_link"
2504 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2505 *) ac_try_echo=$ac_try;;
2507 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2508 $as_echo "$ac_try_echo"; } >&5
2509 (eval "$ac_link") 2>&5
2511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2512 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2513 { { case "(($ac_try" in
2514 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2515 *) ac_try_echo
=$ac_try;;
2517 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2518 $as_echo "$ac_try_echo"; } >&5
2519 (eval "$ac_try") 2>&5
2521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2522 test $ac_status = 0; }; }; then :
2525 $as_echo "$as_me: program exited with status $ac_status" >&5
2526 $as_echo "$as_me: failed program was:" >&5
2527 sed 's/^/| /' conftest.
$ac_ext >&5
2529 ac_retval
=$ac_status
2531 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2532 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2533 as_fn_set_status
$ac_retval
2537 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2538 # -------------------------------------------------------
2539 # Tests whether HEADER exists and can be compiled using the include files in
2540 # INCLUDES, setting the cache variable VAR accordingly.
2541 ac_fn_c_check_header_compile
()
2543 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2545 $as_echo_n "checking for $2... " >&6; }
2546 if eval \
${$3+:} false
; then :
2547 $as_echo_n "(cached) " >&6
2549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2550 /* end confdefs.h. */
2554 if ac_fn_c_try_compile
"$LINENO"; then :
2559 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2563 $as_echo "$ac_res" >&6; }
2564 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2566 } # ac_fn_c_check_header_compile
2568 # ac_fn_c_check_func LINENO FUNC VAR
2569 # ----------------------------------
2570 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2571 ac_fn_c_check_func
()
2573 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2575 $as_echo_n "checking for $2... " >&6; }
2576 if eval \
${$3+:} false
; then :
2577 $as_echo_n "(cached) " >&6
2579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2580 /* end confdefs.h. */
2581 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2582 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2583 #define $2 innocuous_$2
2585 /* System header to define __stub macros and hopefully few prototypes,
2586 which can conflict with char $2 (); below.
2587 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2588 <limits.h> exists even on freestanding compilers. */
2591 # include <limits.h>
2593 # include <assert.h>
2598 /* Override any GCC internal prototype to avoid an error.
2599 Use char because int might match the return type of a GCC
2600 builtin and then its argument prototype would still apply. */
2605 /* The GNU C library defines this for functions which it implements
2606 to always fail with ENOSYS. Some functions are actually named
2607 something starting with __ and the normal name is an alias. */
2608 #if defined __stub_$2 || defined __stub___$2
2620 if ac_fn_c_try_link
"$LINENO"; then :
2625 rm -f core conftest.err conftest.
$ac_objext \
2626 conftest
$ac_exeext conftest.
$ac_ext
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2630 $as_echo "$ac_res" >&6; }
2631 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2633 } # ac_fn_c_check_func
2635 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2636 # ----------------------------------------------------
2637 # Tries to find if the field MEMBER exists in type AGGR, after including
2638 # INCLUDES, setting cache variable VAR accordingly.
2639 ac_fn_c_check_member
()
2641 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2643 $as_echo_n "checking for $2.$3... " >&6; }
2644 if eval \
${$4+:} false
; then :
2645 $as_echo_n "(cached) " >&6
2647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2648 /* end confdefs.h. */
2660 if ac_fn_c_try_compile
"$LINENO"; then :
2663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2664 /* end confdefs.h. */
2670 if (sizeof ac_aggr.$3)
2676 if ac_fn_c_try_compile
"$LINENO"; then :
2681 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2683 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2687 $as_echo "$ac_res" >&6; }
2688 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2690 } # ac_fn_c_check_member
2692 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2693 # -------------------------------------------
2694 # Tests whether TYPE exists after having included INCLUDES, setting cache
2695 # variable VAR accordingly.
2696 ac_fn_c_check_type
()
2698 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2700 $as_echo_n "checking for $2... " >&6; }
2701 if eval \
${$3+:} false
; then :
2702 $as_echo_n "(cached) " >&6
2705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2706 /* end confdefs.h. */
2717 if ac_fn_c_try_compile
"$LINENO"; then :
2718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2719 /* end confdefs.h. */
2730 if ac_fn_c_try_compile
"$LINENO"; then :
2735 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2737 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2741 $as_echo "$ac_res" >&6; }
2742 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2744 } # ac_fn_c_check_type
2745 cat >config.log
<<_ACEOF
2746 This file contains any messages produced by compilers while
2747 running configure, to aid debugging if configure makes a mistake.
2749 It was created by Wine $as_me 1.7.12, which was
2750 generated by GNU Autoconf 2.69. Invocation command line was
2762 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2763 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2764 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2765 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2766 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2768 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2769 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2771 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2772 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2773 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2774 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2775 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2776 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2777 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2781 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2785 test -z "$as_dir" && as_dir
=.
2786 $as_echo "PATH: $as_dir"
2802 # Keep a trace of the command line.
2803 # Strip out --no-create and --no-recursion so they do not pile up.
2804 # Strip out --silent because we don't want to record it for future runs.
2805 # Also quote any args containing shell meta-characters.
2806 # Make two passes to allow for proper duplicate-argument suppression.
2810 ac_must_keep_next
=false
2816 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2817 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2818 |
-silent |
--silent |
--silen |
--sile |
--sil)
2821 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2824 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2826 as_fn_append ac_configure_args1
" '$ac_arg'"
2827 if test $ac_must_keep_next = true
; then
2828 ac_must_keep_next
=false
# Got value, back to normal.
2831 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2832 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2833 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2834 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2835 case "$ac_configure_args0 " in
2836 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2839 -* ) ac_must_keep_next
=true
;;
2842 as_fn_append ac_configure_args
" '$ac_arg'"
2847 { ac_configure_args0
=; unset ac_configure_args0
;}
2848 { ac_configure_args1
=; unset ac_configure_args1
;}
2850 # When interrupted or exit'd, cleanup temporary files, and complete
2851 # config.log. We remove comments because anyway the quotes in there
2852 # would cause problems or look ugly.
2853 # WARNING: Use '\'' to represent an apostrophe within the trap.
2854 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2855 trap 'exit_status=$?
2856 # Save into config.log some information that might help in debugging.
2860 $as_echo "## ---------------- ##
2861 ## Cache variables. ##
2862 ## ---------------- ##"
2864 # The following way of writing the cache mishandles newlines in values,
2866 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2867 eval ac_val=\$$ac_var
2871 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2872 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2875 _ | IFS | as_nl) ;; #(
2876 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2877 *) { eval $ac_var=; unset $ac_var;} ;;
2882 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2883 *${as_nl}ac_space=\ *)
2885 "s/'\''/'\''\\\\'\'''\''/g;
2886 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2889 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2896 $as_echo "## ----------------- ##
2897 ## Output variables. ##
2898 ## ----------------- ##"
2900 for ac_var in $ac_subst_vars
2902 eval ac_val=\$$ac_var
2904 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2906 $as_echo "$ac_var='\''$ac_val'\''"
2910 if test -n "$ac_subst_files"; then
2911 $as_echo "## ------------------- ##
2912 ## File substitutions. ##
2913 ## ------------------- ##"
2915 for ac_var
in $ac_subst_files
2917 eval ac_val
=\$
$ac_var
2919 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2921 $as_echo "$ac_var='\''$ac_val'\''"
2926 if test -s confdefs.h; then
2927 $as_echo "## ----------- ##
2934 test "$ac_signal" != 0 &&
2935 $as_echo "$as_me: caught signal $ac_signal"
2936 $as_echo "$as_me: exit $exit_status"
2938 rm -f core *.core core.conftest.* &&
2939 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2942 for ac_signal
in 1 2 13 15; do
2943 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2947 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2948 rm -f -r conftest
* confdefs.h
2950 $as_echo "/* confdefs.h */" > confdefs.h
2952 # Predefined preprocessor variables.
2954 cat >>confdefs.h
<<_ACEOF
2955 #define PACKAGE_NAME "$PACKAGE_NAME"
2958 cat >>confdefs.h
<<_ACEOF
2959 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2962 cat >>confdefs.h
<<_ACEOF
2963 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2966 cat >>confdefs.h
<<_ACEOF
2967 #define PACKAGE_STRING "$PACKAGE_STRING"
2970 cat >>confdefs.h
<<_ACEOF
2971 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2974 cat >>confdefs.h
<<_ACEOF
2975 #define PACKAGE_URL "$PACKAGE_URL"
2979 # Let the site file select an alternate cache file if it wants to.
2980 # Prefer an explicitly selected file to automatically selected ones.
2983 if test -n "$CONFIG_SITE"; then
2984 # We do not want a PATH search for config.site.
2985 case $CONFIG_SITE in #((
2986 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2987 */*) ac_site_file1
=$CONFIG_SITE;;
2988 *) ac_site_file1
=.
/$CONFIG_SITE;;
2990 elif test "x$prefix" != xNONE
; then
2991 ac_site_file1
=$prefix/share
/config.site
2992 ac_site_file2
=$prefix/etc
/config.site
2994 ac_site_file1
=$ac_default_prefix/share
/config.site
2995 ac_site_file2
=$ac_default_prefix/etc
/config.site
2997 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2999 test "x$ac_site_file" = xNONE
&& continue
3000 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3002 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3003 sed 's/^/| /' "$ac_site_file" >&5
3005 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3006 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3007 as_fn_error $?
"failed to load site script $ac_site_file
3008 See \`config.log' for more details" "$LINENO" 5; }
3012 if test -r "$cache_file"; then
3013 # Some versions of bash will fail to source /dev/null (special files
3014 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3015 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3017 $as_echo "$as_me: loading cache $cache_file" >&6;}
3019 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3020 *) .
"./$cache_file";;
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3025 $as_echo "$as_me: creating cache $cache_file" >&6;}
3029 # Check that the precious variables saved in the cache have kept the same
3031 ac_cache_corrupted
=false
3032 for ac_var
in $ac_precious_vars; do
3033 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3034 eval ac_new_set
=\
$ac_env_${ac_var}_set
3035 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3036 eval ac_new_val
=\
$ac_env_${ac_var}_value
3037 case $ac_old_set,$ac_new_set in
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3040 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3041 ac_cache_corrupted
=: ;;
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3044 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3045 ac_cache_corrupted
=: ;;
3048 if test "x$ac_old_val" != "x$ac_new_val"; then
3049 # differences in whitespace do not lead to failure.
3050 ac_old_val_w
=`echo x $ac_old_val`
3051 ac_new_val_w
=`echo x $ac_new_val`
3052 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3054 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3055 ac_cache_corrupted
=:
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3058 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3059 eval $ac_var=\
$ac_old_val
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3062 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3064 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3067 # Pass precious variables to config.status.
3068 if test "$ac_new_set" = set; then
3070 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3071 *) ac_arg
=$ac_var=$ac_new_val ;;
3073 case " $ac_configure_args " in
3074 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3075 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3079 if $ac_cache_corrupted; then
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3081 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3083 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3084 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3086 ## -------------------- ##
3087 ## Main body of script. ##
3088 ## -------------------- ##
3091 ac_cpp
='$CPP $CPPFLAGS'
3092 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3093 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3094 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3098 ac_config_headers
="$ac_config_headers include/config.h"
3101 for ac_dir
in tools
"$srcdir"/tools
; do
3102 if test -f "$ac_dir/install-sh"; then
3104 ac_install_sh
="$ac_aux_dir/install-sh -c"
3106 elif test -f "$ac_dir/install.sh"; then
3108 ac_install_sh
="$ac_aux_dir/install.sh -c"
3110 elif test -f "$ac_dir/shtool"; then
3112 ac_install_sh
="$ac_aux_dir/shtool install -c"
3116 if test -z "$ac_aux_dir"; then
3117 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3120 # These three variables are undocumented and unsupported,
3121 # and are intended to be withdrawn in a future Autoconf release.
3122 # They can cause serious problems if a builder's source tree is in a directory
3123 # whose full name contains unusual characters.
3124 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3125 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3126 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3130 libwine_version
="1.0"
3134 # Check whether --enable-win16 was given.
3135 if test "${enable_win16+set}" = set; then :
3136 enableval
=$enable_win16;
3139 # Check whether --enable-win64 was given.
3140 if test "${enable_win64+set}" = set; then :
3141 enableval
=$enable_win64;
3144 # Check whether --enable-tests was given.
3145 if test "${enable_tests+set}" = set; then :
3146 enableval
=$enable_tests;
3149 # Check whether --enable-maintainer-mode was given.
3150 if test "${enable_maintainer_mode+set}" = set; then :
3151 enableval
=$enable_maintainer_mode;
3156 # Check whether --with-alsa was given.
3157 if test "${with_alsa+set}" = set; then :
3158 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3162 # Check whether --with-capi was given.
3163 if test "${with_capi+set}" = set; then :
3168 # Check whether --with-cms was given.
3169 if test "${with_cms+set}" = set; then :
3174 # Check whether --with-coreaudio was given.
3175 if test "${with_coreaudio+set}" = set; then :
3176 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3180 # Check whether --with-cups was given.
3181 if test "${with_cups+set}" = set; then :
3186 # Check whether --with-curses was given.
3187 if test "${with_curses+set}" = set; then :
3188 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3192 # Check whether --with-dbus was given.
3193 if test "${with_dbus+set}" = set; then :
3198 # Check whether --with-fontconfig was given.
3199 if test "${with_fontconfig+set}" = set; then :
3200 withval
=$with_fontconfig;
3204 # Check whether --with-freetype was given.
3205 if test "${with_freetype+set}" = set; then :
3206 withval
=$with_freetype;
3210 # Check whether --with-gettext was given.
3211 if test "${with_gettext+set}" = set; then :
3212 withval
=$with_gettext;
3216 # Check whether --with-gettextpo was given.
3217 if test "${with_gettextpo+set}" = set; then :
3218 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3222 # Check whether --with-gphoto was given.
3223 if test "${with_gphoto+set}" = set; then :
3224 withval
=$with_gphoto;
3228 # Check whether --with-glu was given.
3229 if test "${with_glu+set}" = set; then :
3234 # Check whether --with-gnutls was given.
3235 if test "${with_gnutls+set}" = set; then :
3236 withval
=$with_gnutls;
3240 # Check whether --with-gsm was given.
3241 if test "${with_gsm+set}" = set; then :
3242 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3246 # Check whether --with-gstreamer was given.
3247 if test "${with_gstreamer+set}" = set; then :
3248 withval
=$with_gstreamer;
3252 # Check whether --with-hal was given.
3253 if test "${with_hal+set}" = set; then :
3258 # Check whether --with-jpeg was given.
3259 if test "${with_jpeg+set}" = set; then :
3264 # Check whether --with-ldap was given.
3265 if test "${with_ldap+set}" = set; then :
3266 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3270 # Check whether --with-mpg123 was given.
3271 if test "${with_mpg123+set}" = set; then :
3272 withval
=$with_mpg123;
3276 # Check whether --with-netapi was given.
3277 if test "${with_netapi+set}" = set; then :
3278 withval
=$with_netapi;
3282 # Check whether --with-openal was given.
3283 if test "${with_openal+set}" = set; then :
3284 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3288 # Check whether --with-opencl was given.
3289 if test "${with_opencl+set}" = set; then :
3290 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3294 # Check whether --with-opengl was given.
3295 if test "${with_opengl+set}" = set; then :
3296 withval
=$with_opengl;
3300 # Check whether --with-osmesa was given.
3301 if test "${with_osmesa+set}" = set; then :
3302 withval
=$with_osmesa;
3306 # Check whether --with-oss was given.
3307 if test "${with_oss+set}" = set; then :
3312 # Check whether --with-png was given.
3313 if test "${with_png+set}" = set; then :
3318 # Check whether --with-pthread was given.
3319 if test "${with_pthread+set}" = set; then :
3320 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3324 # Check whether --with-sane was given.
3325 if test "${with_sane+set}" = set; then :
3330 # Check whether --with-tiff was given.
3331 if test "${with_tiff+set}" = set; then :
3336 # Check whether --with-v4l was given.
3337 if test "${with_v4l+set}" = set; then :
3342 # Check whether --with-xcomposite was given.
3343 if test "${with_xcomposite+set}" = set; then :
3344 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3348 # Check whether --with-xcursor was given.
3349 if test "${with_xcursor+set}" = set; then :
3350 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3354 # Check whether --with-xinerama was given.
3355 if test "${with_xinerama+set}" = set; then :
3356 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3360 # Check whether --with-xinput was given.
3361 if test "${with_xinput+set}" = set; then :
3362 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3366 # Check whether --with-xinput2 was given.
3367 if test "${with_xinput2+set}" = set; then :
3368 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3372 # Check whether --with-xml was given.
3373 if test "${with_xml+set}" = set; then :
3378 # Check whether --with-xrandr was given.
3379 if test "${with_xrandr+set}" = set; then :
3380 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3384 # Check whether --with-xrender was given.
3385 if test "${with_xrender+set}" = set; then :
3386 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3390 # Check whether --with-xshape was given.
3391 if test "${with_xshape+set}" = set; then :
3392 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3396 # Check whether --with-xshm was given.
3397 if test "${with_xshm+set}" = set; then :
3398 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3402 # Check whether --with-xslt was given.
3403 if test "${with_xslt+set}" = set; then :
3408 # Check whether --with-xxf86vm was given.
3409 if test "${with_xxf86vm+set}" = set; then :
3410 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
3414 # Check whether --with-zlib was given.
3415 if test "${with_zlib+set}" = set; then :
3416 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3421 # Check whether --with-wine-tools was given.
3422 if test "${with_wine_tools+set}" = set; then :
3423 withval
=$with_wine_tools;
3427 # Check whether --with-wine64 was given.
3428 if test "${with_wine64+set}" = set; then :
3429 withval
=$with_wine64;
3433 # Make sure we can run config.sub.
3434 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3435 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3438 $as_echo_n "checking build system type... " >&6; }
3439 if ${ac_cv_build+:} false
; then :
3440 $as_echo_n "(cached) " >&6
3442 ac_build_alias
=$build_alias
3443 test "x$ac_build_alias" = x
&&
3444 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3445 test "x$ac_build_alias" = x
&&
3446 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3447 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3448 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3452 $as_echo "$ac_cv_build" >&6; }
3453 case $ac_cv_build in
3455 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3458 ac_save_IFS
=$IFS; IFS
='-'
3464 # Remember, the first character of IFS is used to create $*,
3465 # except with old shells:
3468 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3472 $as_echo_n "checking host system type... " >&6; }
3473 if ${ac_cv_host+:} false
; then :
3474 $as_echo_n "(cached) " >&6
3476 if test "x$host_alias" = x
; then
3477 ac_cv_host
=$ac_cv_build
3479 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3480 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3485 $as_echo "$ac_cv_host" >&6; }
3488 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3491 ac_save_IFS
=$IFS; IFS
='-'
3497 # Remember, the first character of IFS is used to create $*,
3498 # except with old shells:
3501 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3507 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3508 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3509 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3515 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3517 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3518 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3519 $as_echo_n "(cached) " >&6
3521 cat >conftest.
make <<\_ACEOF
3524 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3526 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3527 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3529 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3531 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3535 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3537 $as_echo "yes" >&6; }
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3541 $as_echo "no" >&6; }
3542 SET_MAKE
="MAKE=${MAKE-make}"
3546 ac_cpp
='$CPP $CPPFLAGS'
3547 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3548 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3549 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3550 if test -n "$ac_tool_prefix"; then
3551 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3552 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3554 $as_echo_n "checking for $ac_word... " >&6; }
3555 if ${ac_cv_prog_CC+:} false
; then :
3556 $as_echo_n "(cached) " >&6
3558 if test -n "$CC"; then
3559 ac_cv_prog_CC
="$CC" # Let the user override the test.
3561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3565 test -z "$as_dir" && as_dir
=.
3566 for ac_exec_ext
in '' $ac_executable_extensions; do
3567 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3568 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3579 if test -n "$CC"; then
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3581 $as_echo "$CC" >&6; }
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3584 $as_echo "no" >&6; }
3589 if test -z "$ac_cv_prog_CC"; then
3591 # Extract the first word of "gcc", so it can be a program name with args.
3592 set dummy gcc
; ac_word
=$2
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3594 $as_echo_n "checking for $ac_word... " >&6; }
3595 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3596 $as_echo_n "(cached) " >&6
3598 if test -n "$ac_ct_CC"; then
3599 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3605 test -z "$as_dir" && as_dir
=.
3606 for ac_exec_ext
in '' $ac_executable_extensions; do
3607 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3608 ac_cv_prog_ac_ct_CC
="gcc"
3609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3618 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3619 if test -n "$ac_ct_CC"; then
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3621 $as_echo "$ac_ct_CC" >&6; }
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3624 $as_echo "no" >&6; }
3627 if test "x$ac_ct_CC" = x
; then
3630 case $cross_compiling:$ac_tool_warned in
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3633 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3634 ac_tool_warned
=yes ;;
3642 if test -z "$CC"; then
3643 if test -n "$ac_tool_prefix"; then
3644 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3645 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3647 $as_echo_n "checking for $ac_word... " >&6; }
3648 if ${ac_cv_prog_CC+:} false
; then :
3649 $as_echo_n "(cached) " >&6
3651 if test -n "$CC"; then
3652 ac_cv_prog_CC
="$CC" # Let the user override the test.
3654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3658 test -z "$as_dir" && as_dir
=.
3659 for ac_exec_ext
in '' $ac_executable_extensions; do
3660 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3661 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3672 if test -n "$CC"; then
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3674 $as_echo "$CC" >&6; }
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3677 $as_echo "no" >&6; }
3683 if test -z "$CC"; then
3684 # Extract the first word of "cc", so it can be a program name with args.
3685 set dummy cc
; ac_word
=$2
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3687 $as_echo_n "checking for $ac_word... " >&6; }
3688 if ${ac_cv_prog_CC+:} false
; then :
3689 $as_echo_n "(cached) " >&6
3691 if test -n "$CC"; then
3692 ac_cv_prog_CC
="$CC" # Let the user override the test.
3695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3699 test -z "$as_dir" && as_dir
=.
3700 for ac_exec_ext
in '' $ac_executable_extensions; do
3701 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3702 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3703 ac_prog_rejected
=yes
3707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3714 if test $ac_prog_rejected = yes; then
3715 # We found a bogon in the path, so make sure we never use it.
3716 set dummy
$ac_cv_prog_CC
3718 if test $# != 0; then
3719 # We chose a different compiler from the bogus one.
3720 # However, it has the same basename, so the bogon will be chosen
3721 # first if we set CC to just the basename; use the full file name.
3723 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3729 if test -n "$CC"; then
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3731 $as_echo "$CC" >&6; }
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3734 $as_echo "no" >&6; }
3739 if test -z "$CC"; then
3740 if test -n "$ac_tool_prefix"; then
3741 for ac_prog
in cl.exe
3743 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3744 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3746 $as_echo_n "checking for $ac_word... " >&6; }
3747 if ${ac_cv_prog_CC+:} false
; then :
3748 $as_echo_n "(cached) " >&6
3750 if test -n "$CC"; then
3751 ac_cv_prog_CC
="$CC" # Let the user override the test.
3753 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3757 test -z "$as_dir" && as_dir
=.
3758 for ac_exec_ext
in '' $ac_executable_extensions; do
3759 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3760 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3771 if test -n "$CC"; then
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3773 $as_echo "$CC" >&6; }
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3776 $as_echo "no" >&6; }
3780 test -n "$CC" && break
3783 if test -z "$CC"; then
3785 for ac_prog
in cl.exe
3787 # Extract the first word of "$ac_prog", so it can be a program name with args.
3788 set dummy
$ac_prog; ac_word
=$2
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3790 $as_echo_n "checking for $ac_word... " >&6; }
3791 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3792 $as_echo_n "(cached) " >&6
3794 if test -n "$ac_ct_CC"; then
3795 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3801 test -z "$as_dir" && as_dir
=.
3802 for ac_exec_ext
in '' $ac_executable_extensions; do
3803 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3804 ac_cv_prog_ac_ct_CC
="$ac_prog"
3805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3814 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3815 if test -n "$ac_ct_CC"; then
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3817 $as_echo "$ac_ct_CC" >&6; }
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3820 $as_echo "no" >&6; }
3824 test -n "$ac_ct_CC" && break
3827 if test "x$ac_ct_CC" = x
; then
3830 case $cross_compiling:$ac_tool_warned in
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3833 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3834 ac_tool_warned
=yes ;;
3843 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3844 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3845 as_fn_error $?
"no acceptable C compiler found in \$PATH
3846 See \`config.log' for more details" "$LINENO" 5; }
3848 # Provide some information about the compiler.
3849 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3852 for ac_option
in --version -v -V -qversion; do
3853 { { ac_try
="$ac_compiler $ac_option >&5"
3855 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3856 *) ac_try_echo=$ac_try;;
3858 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3859 $as_echo "$ac_try_echo"; } >&5
3860 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3862 if test -s conftest.err; then
3864 ... rest of stderr output deleted ...
3865 10q' conftest.err >conftest.er1
3866 cat conftest.er1 >&5
3868 rm -f conftest.er1 conftest.err
3869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3870 test $ac_status = 0; }
3873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3874 /* end confdefs.h. */
3884 ac_clean_files_save=$ac_clean_files
3885 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3886 # Try to create an executable without -o first, disregard a.out.
3887 # It will help us diagnose broken compilers, and finding out an intuition
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3890 $as_echo_n "checking whether the C compiler works... " >&6; }
3891 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3893 # The possible output files:
3894 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3897 for ac_file in $ac_files
3900 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3901 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3906 if { { ac_try="$ac_link_default"
3908 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3909 *) ac_try_echo
=$ac_try;;
3911 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3912 $as_echo "$ac_try_echo"; } >&5
3913 (eval "$ac_link_default") 2>&5
3915 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3916 test $ac_status = 0; }; then :
3917 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3918 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3919 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3920 # so that the user can short-circuit this test for compilers unknown to
3922 for ac_file
in $ac_files ''
3924 test -f "$ac_file" ||
continue
3926 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3929 # We found the default executable, but exeext='' is most
3933 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3935 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3937 # We set ac_cv_exeext here because the later test for it is not
3938 # safe: cross compilers may not add the suffix if given an `-o'
3939 # argument, so we may need to know it at that point already.
3940 # Even if this section looks crufty: it has the advantage of
3947 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3952 if test -z "$ac_file"; then :
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3954 $as_echo "no" >&6; }
3955 $as_echo "$as_me: failed program was:" >&5
3956 sed 's/^/| /' conftest.
$ac_ext >&5
3958 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3959 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3960 as_fn_error
77 "C compiler cannot create executables
3961 See \`config.log' for more details" "$LINENO" 5; }
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3964 $as_echo "yes" >&6; }
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3967 $as_echo_n "checking for C compiler default output file name... " >&6; }
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3969 $as_echo "$ac_file" >&6; }
3970 ac_exeext
=$ac_cv_exeext
3972 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3973 ac_clean_files
=$ac_clean_files_save
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3975 $as_echo_n "checking for suffix of executables... " >&6; }
3976 if { { ac_try
="$ac_link"
3978 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3979 *) ac_try_echo=$ac_try;;
3981 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3982 $as_echo "$ac_try_echo"; } >&5
3983 (eval "$ac_link") 2>&5
3985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3986 test $ac_status = 0; }; then :
3987 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3988 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3989 # work properly (i.e., refer to `conftest.exe'), while it won't with
3991 for ac_file
in conftest.exe conftest conftest.
*; do
3992 test -f "$ac_file" ||
continue
3994 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3995 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4001 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4002 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4003 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4004 See \`config.log' for more details" "$LINENO" 5; }
4006 rm -f conftest conftest
$ac_cv_exeext
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4008 $as_echo "$ac_cv_exeext" >&6; }
4010 rm -f conftest.
$ac_ext
4011 EXEEXT
=$ac_cv_exeext
4013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4014 /* end confdefs.h. */
4019 FILE *f = fopen ("conftest.out", "w");
4020 return ferror (f) || fclose (f) != 0;
4026 ac_clean_files
="$ac_clean_files conftest.out"
4027 # Check that the compiler produces executables we can run. If not, either
4028 # the compiler is broken, or we cross compile.
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4030 $as_echo_n "checking whether we are cross compiling... " >&6; }
4031 if test "$cross_compiling" != yes; then
4032 { { ac_try
="$ac_link"
4034 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4035 *) ac_try_echo=$ac_try;;
4037 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4038 $as_echo "$ac_try_echo"; } >&5
4039 (eval "$ac_link") 2>&5
4041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4042 test $ac_status = 0; }
4043 if { ac_try='./conftest$ac_cv_exeext'
4044 { { case "(($ac_try" in
4045 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4046 *) ac_try_echo
=$ac_try;;
4048 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4049 $as_echo "$ac_try_echo"; } >&5
4050 (eval "$ac_try") 2>&5
4052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4053 test $ac_status = 0; }; }; then
4056 if test "$cross_compiling" = maybe
; then
4059 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4060 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4061 as_fn_error $?
"cannot run C compiled programs.
4062 If you meant to cross compile, use \`--host'.
4063 See \`config.log' for more details" "$LINENO" 5; }
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4068 $as_echo "$cross_compiling" >&6; }
4070 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4071 ac_clean_files
=$ac_clean_files_save
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4073 $as_echo_n "checking for suffix of object files... " >&6; }
4074 if ${ac_cv_objext+:} false
; then :
4075 $as_echo_n "(cached) " >&6
4077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4078 /* end confdefs.h. */
4088 rm -f conftest.o conftest.obj
4089 if { { ac_try
="$ac_compile"
4091 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4092 *) ac_try_echo=$ac_try;;
4094 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4095 $as_echo "$ac_try_echo"; } >&5
4096 (eval "$ac_compile") 2>&5
4098 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4099 test $ac_status = 0; }; then :
4100 for ac_file in conftest.o conftest.obj conftest.*; do
4101 test -f "$ac_file" || continue;
4103 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4104 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4109 $as_echo "$as_me: failed program was:" >&5
4110 sed 's/^/| /' conftest.$ac_ext >&5
4112 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4113 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4114 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4115 See \
`config.log' for more details" "$LINENO" 5; }
4117 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4120 $as_echo "$ac_cv_objext" >&6; }
4121 OBJEXT=$ac_cv_objext
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4124 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4125 if ${ac_cv_c_compiler_gnu+:} false; then :
4126 $as_echo_n "(cached) " >&6
4128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4129 /* end confdefs.h. */
4142 if ac_fn_c_try_compile "$LINENO"; then :
4147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4148 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4152 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4153 if test $ac_compiler_gnu = yes; then
4158 ac_test_CFLAGS=${CFLAGS+set}
4159 ac_save_CFLAGS=$CFLAGS
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4161 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4162 if ${ac_cv_prog_cc_g+:} false; then :
4163 $as_echo_n "(cached) " >&6
4165 ac_save_c_werror_flag=$ac_c_werror_flag
4166 ac_c_werror_flag=yes
4169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4170 /* end confdefs.h. */
4180 if ac_fn_c_try_compile "$LINENO"; then :
4184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4185 /* end confdefs.h. */
4195 if ac_fn_c_try_compile "$LINENO"; then :
4198 ac_c_werror_flag=$ac_save_c_werror_flag
4200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4201 /* end confdefs.h. */
4211 if ac_fn_c_try_compile "$LINENO"; then :
4214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4219 ac_c_werror_flag=$ac_save_c_werror_flag
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4222 $as_echo "$ac_cv_prog_cc_g" >&6; }
4223 if test "$ac_test_CFLAGS" = set; then
4224 CFLAGS=$ac_save_CFLAGS
4225 elif test $ac_cv_prog_cc_g = yes; then
4226 if test "$GCC" = yes; then
4232 if test "$GCC" = yes; then
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4239 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4240 if ${ac_cv_prog_cc_c89+:} false; then :
4241 $as_echo_n "(cached) " >&6
4243 ac_cv_prog_cc_c89=no
4245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4246 /* end confdefs.h. */
4250 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4251 struct buf { int x; };
4252 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4253 static char *e (p, i)
4259 static char *f (char * (*g) (char **, int), char **p, ...)
4264 s = g (p, va_arg (v,int));
4269 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4270 function prototypes and stuff, but not '\xHH' hex character constants.
4271 These don't provoke an error unfortunately, instead are silently treated
4272 as 'x'. The following induces an error, until -std is added to get
4273 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4274 array size at least. It's necessary to write '\x00'==0 to get something
4275 that's true only with -std. */
4276 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4278 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4279 inside strings and character constants. */
4281 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4283 int test (int i, double x);
4284 struct s1 {int (*f) (int a);};
4285 struct s2 {int (*f) (double a);};
4286 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4292 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4297 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4298 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4300 CC="$ac_save_CC $ac_arg"
4301 if ac_fn_c_try_compile "$LINENO"; then :
4302 ac_cv_prog_cc_c89=$ac_arg
4304 rm -f core conftest.err conftest.$ac_objext
4305 test "x$ac_cv_prog_cc_c89" != "xno" && break
4307 rm -f conftest.$ac_ext
4312 case "x$ac_cv_prog_cc_c89" in
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4315 $as_echo "none needed" >&6; } ;;
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4318 $as_echo "unsupported" >&6; } ;;
4320 CC="$CC $ac_cv_prog_cc_c89"
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4322 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4324 if test "x$ac_cv_prog_cc_c89" != xno; then :
4329 ac_cpp='$CPP $CPPFLAGS'
4330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4335 ac_cpp='$CXXCPP $CPPFLAGS'
4336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4339 if test -z "$CXX"; then
4340 if test -n "$CCC"; then
4343 if test -n "$ac_tool_prefix"; then
4344 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4346 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4347 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4349 $as_echo_n "checking for $ac_word... " >&6; }
4350 if ${ac_cv_prog_CXX+:} false; then :
4351 $as_echo_n "(cached) " >&6
4353 if test -n "$CXX"; then
4354 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4360 test -z "$as_dir" && as_dir=.
4361 for ac_exec_ext in '' $ac_executable_extensions; do
4362 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4363 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4374 if test -n "$CXX"; then
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4376 $as_echo "$CXX" >&6; }
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4379 $as_echo "no" >&6; }
4383 test -n "$CXX" && break
4386 if test -z "$CXX"; then
4388 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4390 # Extract the first word of "$ac_prog", so it can be a program name with args.
4391 set dummy $ac_prog; ac_word=$2
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4393 $as_echo_n "checking for $ac_word... " >&6; }
4394 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4395 $as_echo_n "(cached) " >&6
4397 if test -n "$ac_ct_CXX"; then
4398 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4404 test -z "$as_dir" && as_dir=.
4405 for ac_exec_ext in '' $ac_executable_extensions; do
4406 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4407 ac_cv_prog_ac_ct_CXX="$ac_prog"
4408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4417 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4418 if test -n "$ac_ct_CXX"; then
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4420 $as_echo "$ac_ct_CXX" >&6; }
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4423 $as_echo "no" >&6; }
4427 test -n "$ac_ct_CXX" && break
4430 if test "x$ac_ct_CXX" = x; then
4433 case $cross_compiling:$ac_tool_warned in
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4436 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4437 ac_tool_warned=yes ;;
4445 # Provide some information about the compiler.
4446 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4449 for ac_option in --version -v -V -qversion; do
4450 { { ac_try="$ac_compiler $ac_option >&5"
4452 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4453 *) ac_try_echo
=$ac_try;;
4455 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4456 $as_echo "$ac_try_echo"; } >&5
4457 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4459 if test -s conftest.err
; then
4461 ... rest of stderr output deleted ...
4462 10q' conftest.err
>conftest.er1
4463 cat conftest.er1
>&5
4465 rm -f conftest.er1 conftest.err
4466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4467 test $ac_status = 0; }
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4471 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4472 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4473 $as_echo_n "(cached) " >&6
4475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4476 /* end confdefs.h. */
4489 if ac_fn_cxx_try_compile
"$LINENO"; then :
4494 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4495 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4499 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4500 if test $ac_compiler_gnu = yes; then
4505 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4506 ac_save_CXXFLAGS
=$CXXFLAGS
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4508 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4509 if ${ac_cv_prog_cxx_g+:} false
; then :
4510 $as_echo_n "(cached) " >&6
4512 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4513 ac_cxx_werror_flag
=yes
4516 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4517 /* end confdefs.h. */
4527 if ac_fn_cxx_try_compile
"$LINENO"; then :
4528 ac_cv_prog_cxx_g
=yes
4531 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4532 /* end confdefs.h. */
4542 if ac_fn_cxx_try_compile
"$LINENO"; then :
4545 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4548 /* end confdefs.h. */
4558 if ac_fn_cxx_try_compile
"$LINENO"; then :
4559 ac_cv_prog_cxx_g
=yes
4561 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4563 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4565 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4566 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4569 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4570 if test "$ac_test_CXXFLAGS" = set; then
4571 CXXFLAGS
=$ac_save_CXXFLAGS
4572 elif test $ac_cv_prog_cxx_g = yes; then
4573 if test "$GXX" = yes; then
4579 if test "$GXX" = yes; then
4586 ac_cpp
='$CPP $CPPFLAGS'
4587 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4588 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4589 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4591 if test -n "$ac_tool_prefix"; then
4592 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4593 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4595 $as_echo_n "checking for $ac_word... " >&6; }
4596 if ${ac_cv_prog_CPPBIN+:} false
; then :
4597 $as_echo_n "(cached) " >&6
4599 if test -n "$CPPBIN"; then
4600 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4602 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4606 test -z "$as_dir" && as_dir
=.
4607 for ac_exec_ext
in '' $ac_executable_extensions; do
4608 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4609 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4619 CPPBIN
=$ac_cv_prog_CPPBIN
4620 if test -n "$CPPBIN"; then
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4622 $as_echo "$CPPBIN" >&6; }
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4625 $as_echo "no" >&6; }
4630 if test -z "$ac_cv_prog_CPPBIN"; then
4631 ac_ct_CPPBIN
=$CPPBIN
4632 # Extract the first word of "cpp", so it can be a program name with args.
4633 set dummy cpp
; ac_word
=$2
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4635 $as_echo_n "checking for $ac_word... " >&6; }
4636 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4637 $as_echo_n "(cached) " >&6
4639 if test -n "$ac_ct_CPPBIN"; then
4640 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4642 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4646 test -z "$as_dir" && as_dir
=.
4647 for ac_exec_ext
in '' $ac_executable_extensions; do
4648 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4649 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4659 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4660 if test -n "$ac_ct_CPPBIN"; then
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4662 $as_echo "$ac_ct_CPPBIN" >&6; }
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4665 $as_echo "no" >&6; }
4668 if test "x$ac_ct_CPPBIN" = x
; then
4671 case $cross_compiling:$ac_tool_warned in
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4674 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4675 ac_tool_warned
=yes ;;
4677 CPPBIN
=$ac_ct_CPPBIN
4680 CPPBIN
="$ac_cv_prog_CPPBIN"
4684 cat >>confdefs.h
<<_ACEOF
4685 #define EXEEXT "$ac_exeext"
4691 if test "x$enable_win64" = "xyes"
4696 notice_platform
="64-bit "
4703 notice_platform
="32-bit "
4706 enable_win16
=${enable_win16:-yes}
4708 with_fontconfig
=${with_fontconfig:-no}
4711 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4716 $as_echo_n "checking whether $CC works... " >&6; }
4718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4719 /* end confdefs.h. */
4729 if ac_fn_c_try_link
"$LINENO"; then :
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4731 $as_echo "yes" >&6; }
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4734 $as_echo "no" >&6; }
4735 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4737 rm -f core conftest.err conftest.
$ac_objext \
4738 conftest
$ac_exeext conftest.
$ac_ext
4740 notice_platform
="32-bit "
4743 enable_win16
=${enable_win16:-yes}
4745 if test "x${GCC}" = "xyes"
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4748 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4750 /* end confdefs.h. */
4755 void func(__builtin_ms_va_list *args);
4760 if ac_fn_c_try_compile
"$LINENO"; then :
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4762 $as_echo "yes" >&6; }
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4765 $as_echo "no" >&6; }
4766 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4768 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4776 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4778 /* end confdefs.h. */
4779 int ac_test(int i) { return i; }
4783 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4788 if ac_fn_c_try_link
"$LINENO"; then :
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4790 $as_echo "yes" >&6; }
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4793 $as_echo "no" >&6; }
4794 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4796 rm -f core conftest.err conftest.
$ac_objext \
4797 conftest
$ac_exeext conftest.
$ac_ext
4798 CFLAGS
="$CFLAGS -marm"
4800 *-mingw32*|
*-cygwin*)
4801 enable_win16
=${enable_win16:-no}
4802 CFLAGS
="$CFLAGS -D_WIN32"
4805 enable_win16
=${enable_win16:-yes}
4809 enable_win16
=${enable_win16:-no}
4810 enable_win64
=${enable_win64:-no}
4812 enable_winetest
=${enable_winetest:-$enable_tests}
4814 if test -n "$with_wine64"
4816 if test "x$enable_win64" = "xyes"
4818 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4819 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4821 enable_fonts
=${enable_fonts:-no}
4822 enable_server
=${enable_server:-no}
4823 elif test "x$enable_win64" = "xyes"
4825 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4829 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4830 if ${wine_cv_toolsdir+:} false
; then :
4831 $as_echo_n "(cached) " >&6
4833 wine_cv_toolsdir
="$with_wine_tools"
4834 if test -z "$with_wine_tools"; then
4835 if test "$cross_compiling" = "yes"; then
4836 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4837 elif test -n "$with_wine64"; then
4838 wine_cv_toolsdir
="$with_wine64"
4841 if test -z "$wine_cv_toolsdir"; then
4842 wine_cv_toolsdir
="\$(top_builddir)"
4843 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4844 case "$wine_cv_toolsdir" in
4846 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4848 enable_tools
=${enable_tools:-no}
4850 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4854 $as_echo "$wine_cv_toolsdir" >&6; }
4855 TOOLSDIR
=$wine_cv_toolsdir
4857 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4859 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4865 # Extract the first word of "$ac_prog", so it can be a program name with args.
4866 set dummy
$ac_prog; ac_word
=$2
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4868 $as_echo_n "checking for $ac_word... " >&6; }
4869 if ${ac_cv_prog_FLEX+:} false
; then :
4870 $as_echo_n "(cached) " >&6
4872 if test -n "$FLEX"; then
4873 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4875 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4879 test -z "$as_dir" && as_dir
=.
4880 for ac_exec_ext
in '' $ac_executable_extensions; do
4881 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4882 ac_cv_prog_FLEX
="$ac_prog"
4883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4892 FLEX
=$ac_cv_prog_FLEX
4893 if test -n "$FLEX"; then
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4895 $as_echo "$FLEX" >&6; }
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4898 $as_echo "no" >&6; }
4902 test -n "$FLEX" && break
4904 test -n "$FLEX" || FLEX
="none"
4906 if test "$FLEX" = "none"
4908 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4911 $as_echo_n "checking whether flex is recent enough... " >&6; }
4912 cat >conftest.l
<<EOF
4914 #include "prediluvian.h"
4918 if $FLEX -t conftest.l
>/dev
/null
2>&5
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4921 $as_echo "yes" >&6; }
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4924 $as_echo "no" >&6; }
4925 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4928 for ac_prog
in bison
4930 # Extract the first word of "$ac_prog", so it can be a program name with args.
4931 set dummy
$ac_prog; ac_word
=$2
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4933 $as_echo_n "checking for $ac_word... " >&6; }
4934 if ${ac_cv_prog_BISON+:} false
; then :
4935 $as_echo_n "(cached) " >&6
4937 if test -n "$BISON"; then
4938 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4944 test -z "$as_dir" && as_dir
=.
4945 for ac_exec_ext
in '' $ac_executable_extensions; do
4946 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4947 ac_cv_prog_BISON
="$ac_prog"
4948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4957 BISON
=$ac_cv_prog_BISON
4958 if test -n "$BISON"; then
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4960 $as_echo "$BISON" >&6; }
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4963 $as_echo "no" >&6; }
4967 test -n "$BISON" && break
4969 test -n "$BISON" || BISON
="none"
4971 if test "$BISON" = "none"
4973 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4976 if test -n "$ac_tool_prefix"; then
4977 for ac_prog
in ar gar
4979 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4980 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4982 $as_echo_n "checking for $ac_word... " >&6; }
4983 if ${ac_cv_prog_AR+:} false
; then :
4984 $as_echo_n "(cached) " >&6
4986 if test -n "$AR"; then
4987 ac_cv_prog_AR
="$AR" # Let the user override the test.
4989 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4993 test -z "$as_dir" && as_dir
=.
4994 for ac_exec_ext
in '' $ac_executable_extensions; do
4995 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4996 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
4997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5007 if test -n "$AR"; then
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5009 $as_echo "$AR" >&6; }
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5012 $as_echo "no" >&6; }
5016 test -n "$AR" && break
5019 if test -z "$AR"; then
5021 for ac_prog
in ar gar
5023 # Extract the first word of "$ac_prog", so it can be a program name with args.
5024 set dummy
$ac_prog; ac_word
=$2
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5026 $as_echo_n "checking for $ac_word... " >&6; }
5027 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5028 $as_echo_n "(cached) " >&6
5030 if test -n "$ac_ct_AR"; then
5031 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5037 test -z "$as_dir" && as_dir
=.
5038 for ac_exec_ext
in '' $ac_executable_extensions; do
5039 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5040 ac_cv_prog_ac_ct_AR
="$ac_prog"
5041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5050 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5051 if test -n "$ac_ct_AR"; then
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5053 $as_echo "$ac_ct_AR" >&6; }
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5056 $as_echo "no" >&6; }
5060 test -n "$ac_ct_AR" && break
5063 if test "x$ac_ct_AR" = x
; then
5066 case $cross_compiling:$ac_tool_warned in
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5069 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5070 ac_tool_warned
=yes ;;
5076 if test -n "$ac_tool_prefix"; then
5077 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5078 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5080 $as_echo_n "checking for $ac_word... " >&6; }
5081 if ${ac_cv_prog_STRIP+:} false
; then :
5082 $as_echo_n "(cached) " >&6
5084 if test -n "$STRIP"; then
5085 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5087 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5091 test -z "$as_dir" && as_dir
=.
5092 for ac_exec_ext
in '' $ac_executable_extensions; do
5093 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5094 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5104 STRIP
=$ac_cv_prog_STRIP
5105 if test -n "$STRIP"; then
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5107 $as_echo "$STRIP" >&6; }
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5110 $as_echo "no" >&6; }
5115 if test -z "$ac_cv_prog_STRIP"; then
5117 # Extract the first word of "strip", so it can be a program name with args.
5118 set dummy strip
; ac_word
=$2
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5120 $as_echo_n "checking for $ac_word... " >&6; }
5121 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5122 $as_echo_n "(cached) " >&6
5124 if test -n "$ac_ct_STRIP"; then
5125 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5131 test -z "$as_dir" && as_dir
=.
5132 for ac_exec_ext
in '' $ac_executable_extensions; do
5133 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5134 ac_cv_prog_ac_ct_STRIP
="strip"
5135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5144 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5145 if test -n "$ac_ct_STRIP"; then
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5147 $as_echo "$ac_ct_STRIP" >&6; }
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5150 $as_echo "no" >&6; }
5153 if test "x$ac_ct_STRIP" = x
; then
5156 case $cross_compiling:$ac_tool_warned in
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5159 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5160 ac_tool_warned
=yes ;;
5165 STRIP
="$ac_cv_prog_STRIP"
5170 if test -n "$ac_tool_prefix"; then
5171 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5172 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5174 $as_echo_n "checking for $ac_word... " >&6; }
5175 if ${ac_cv_prog_RANLIB+:} false
; then :
5176 $as_echo_n "(cached) " >&6
5178 if test -n "$RANLIB"; then
5179 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5185 test -z "$as_dir" && as_dir
=.
5186 for ac_exec_ext
in '' $ac_executable_extensions; do
5187 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5188 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5198 RANLIB
=$ac_cv_prog_RANLIB
5199 if test -n "$RANLIB"; then
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5201 $as_echo "$RANLIB" >&6; }
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5204 $as_echo "no" >&6; }
5209 if test -z "$ac_cv_prog_RANLIB"; then
5210 ac_ct_RANLIB
=$RANLIB
5211 # Extract the first word of "ranlib", so it can be a program name with args.
5212 set dummy ranlib
; ac_word
=$2
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5214 $as_echo_n "checking for $ac_word... " >&6; }
5215 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5216 $as_echo_n "(cached) " >&6
5218 if test -n "$ac_ct_RANLIB"; then
5219 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5225 test -z "$as_dir" && as_dir
=.
5226 for ac_exec_ext
in '' $ac_executable_extensions; do
5227 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5228 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5238 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5239 if test -n "$ac_ct_RANLIB"; then
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5241 $as_echo "$ac_ct_RANLIB" >&6; }
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5244 $as_echo "no" >&6; }
5247 if test "x$ac_ct_RANLIB" = x
; then
5250 case $cross_compiling:$ac_tool_warned in
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5253 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5254 ac_tool_warned
=yes ;;
5256 RANLIB
=$ac_ct_RANLIB
5259 RANLIB
="$ac_cv_prog_RANLIB"
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5263 $as_echo_n "checking whether ln -s works... " >&6; }
5265 if test "$LN_S" = "ln -s"; then
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5267 $as_echo "yes" >&6; }
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5270 $as_echo "no, using $LN_S" >&6; }
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5274 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5275 if ${ac_cv_path_GREP+:} false
; then :
5276 $as_echo_n "(cached) " >&6
5278 if test -z "$GREP"; then
5279 ac_path_GREP_found
=false
5280 # Loop through the user's path and test for each of PROGNAME-LIST
5281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5282 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5285 test -z "$as_dir" && as_dir
=.
5286 for ac_prog
in grep ggrep
; do
5287 for ac_exec_ext
in '' $ac_executable_extensions; do
5288 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5289 as_fn_executable_p
"$ac_path_GREP" ||
continue
5290 # Check for GNU ac_path_GREP and select it if it is found.
5291 # Check for GNU $ac_path_GREP
5292 case `"$ac_path_GREP" --version 2>&1` in
5294 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5297 $as_echo_n 0123456789 >"conftest.in"
5300 cat "conftest.in" "conftest.in" >"conftest.tmp"
5301 mv "conftest.tmp" "conftest.in"
5302 cp "conftest.in" "conftest.nl"
5303 $as_echo 'GREP' >> "conftest.nl"
5304 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5305 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5306 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5307 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5308 # Best one so far, save it but keep looking for a better one
5309 ac_cv_path_GREP
="$ac_path_GREP"
5310 ac_path_GREP_max
=$ac_count
5312 # 10*(2^10) chars as input seems more than enough
5313 test $ac_count -gt 10 && break
5315 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5318 $ac_path_GREP_found && break 3
5323 if test -z "$ac_cv_path_GREP"; then
5324 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5327 ac_cv_path_GREP
=$GREP
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5332 $as_echo "$ac_cv_path_GREP" >&6; }
5333 GREP
="$ac_cv_path_GREP"
5336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5337 $as_echo_n "checking for egrep... " >&6; }
5338 if ${ac_cv_path_EGREP+:} false
; then :
5339 $as_echo_n "(cached) " >&6
5341 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5342 then ac_cv_path_EGREP
="$GREP -E"
5344 if test -z "$EGREP"; then
5345 ac_path_EGREP_found
=false
5346 # Loop through the user's path and test for each of PROGNAME-LIST
5347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5348 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5351 test -z "$as_dir" && as_dir
=.
5352 for ac_prog
in egrep; do
5353 for ac_exec_ext
in '' $ac_executable_extensions; do
5354 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5355 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5356 # Check for GNU ac_path_EGREP and select it if it is found.
5357 # Check for GNU $ac_path_EGREP
5358 case `"$ac_path_EGREP" --version 2>&1` in
5360 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5363 $as_echo_n 0123456789 >"conftest.in"
5366 cat "conftest.in" "conftest.in" >"conftest.tmp"
5367 mv "conftest.tmp" "conftest.in"
5368 cp "conftest.in" "conftest.nl"
5369 $as_echo 'EGREP' >> "conftest.nl"
5370 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5371 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5372 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5373 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5374 # Best one so far, save it but keep looking for a better one
5375 ac_cv_path_EGREP
="$ac_path_EGREP"
5376 ac_path_EGREP_max
=$ac_count
5378 # 10*(2^10) chars as input seems more than enough
5379 test $ac_count -gt 10 && break
5381 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5384 $ac_path_EGREP_found && break 3
5389 if test -z "$ac_cv_path_EGREP"; then
5390 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5393 ac_cv_path_EGREP
=$EGREP
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5399 $as_echo "$ac_cv_path_EGREP" >&6; }
5400 EGREP
="$ac_cv_path_EGREP"
5403 # Extract the first word of "ldconfig", so it can be a program name with args.
5404 set dummy ldconfig
; ac_word
=$2
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5406 $as_echo_n "checking for $ac_word... " >&6; }
5407 if ${ac_cv_path_LDCONFIG+:} false
; then :
5408 $as_echo_n "(cached) " >&6
5412 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5416 for as_dir
in /sbin
/usr
/sbin
$PATH
5419 test -z "$as_dir" && as_dir
=.
5420 for ac_exec_ext
in '' $ac_executable_extensions; do
5421 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5422 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5430 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5434 LDCONFIG
=$ac_cv_path_LDCONFIG
5435 if test -n "$LDCONFIG"; then
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5437 $as_echo "$LDCONFIG" >&6; }
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5440 $as_echo "no" >&6; }
5444 for ac_prog
in msgfmt
5446 # Extract the first word of "$ac_prog", so it can be a program name with args.
5447 set dummy
$ac_prog; ac_word
=$2
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5449 $as_echo_n "checking for $ac_word... " >&6; }
5450 if ${ac_cv_prog_MSGFMT+:} false
; then :
5451 $as_echo_n "(cached) " >&6
5453 if test -n "$MSGFMT"; then
5454 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5456 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5460 test -z "$as_dir" && as_dir
=.
5461 for ac_exec_ext
in '' $ac_executable_extensions; do
5462 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5463 ac_cv_prog_MSGFMT
="$ac_prog"
5464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5473 MSGFMT
=$ac_cv_prog_MSGFMT
5474 if test -n "$MSGFMT"; then
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5476 $as_echo "$MSGFMT" >&6; }
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5479 $as_echo "no" >&6; }
5483 test -n "$MSGFMT" && break
5485 test -n "$MSGFMT" || MSGFMT
="false"
5487 if ${ac_tool_prefix+:} false
; then :
5488 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5489 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5491 $as_echo_n "checking for $ac_word... " >&6; }
5492 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5493 $as_echo_n "(cached) " >&6
5495 if test -n "$PKG_CONFIG"; then
5496 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5498 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5502 test -z "$as_dir" && as_dir
=.
5503 for ac_exec_ext
in '' $ac_executable_extensions; do
5504 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5505 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5515 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5516 if test -n "$PKG_CONFIG"; then
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5518 $as_echo "$PKG_CONFIG" >&6; }
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5521 $as_echo "no" >&6; }
5526 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5527 if test "x$cross_compiling" = xyes
; then :
5530 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5531 # Extract the first word of "pkg-config", so it can be a program name with args.
5532 set dummy pkg-config
; ac_word
=$2
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5534 $as_echo_n "checking for $ac_word... " >&6; }
5535 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5536 $as_echo_n "(cached) " >&6
5538 if test -n "$PKG_CONFIG"; then
5539 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5545 test -z "$as_dir" && as_dir
=.
5546 for ac_exec_ext
in '' $ac_executable_extensions; do
5547 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5548 ac_cv_prog_PKG_CONFIG
="pkg-config"
5549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5558 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5559 if test -n "$PKG_CONFIG"; then
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5561 $as_echo "$PKG_CONFIG" >&6; }
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5564 $as_echo "no" >&6; }
5570 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5573 if test "x$enable_maintainer_mode" != "xyes"
5580 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5581 for ac_prog
in fontforge
5583 # Extract the first word of "$ac_prog", so it can be a program name with args.
5584 set dummy
$ac_prog; ac_word
=$2
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5586 $as_echo_n "checking for $ac_word... " >&6; }
5587 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5588 $as_echo_n "(cached) " >&6
5590 if test -n "$FONTFORGE"; then
5591 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5597 test -z "$as_dir" && as_dir
=.
5598 for ac_exec_ext
in '' $ac_executable_extensions; do
5599 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5600 ac_cv_prog_FONTFORGE
="$ac_prog"
5601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5610 FONTFORGE
=$ac_cv_prog_FONTFORGE
5611 if test -n "$FONTFORGE"; then
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5613 $as_echo "$FONTFORGE" >&6; }
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5616 $as_echo "no" >&6; }
5620 test -n "$FONTFORGE" && break
5622 test -n "$FONTFORGE" || FONTFORGE
="false"
5626 # Extract the first word of "$ac_prog", so it can be a program name with args.
5627 set dummy
$ac_prog; ac_word
=$2
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5629 $as_echo_n "checking for $ac_word... " >&6; }
5630 if ${ac_cv_prog_RSVG+:} false
; then :
5631 $as_echo_n "(cached) " >&6
5633 if test -n "$RSVG"; then
5634 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5636 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5640 test -z "$as_dir" && as_dir
=.
5641 for ac_exec_ext
in '' $ac_executable_extensions; do
5642 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5643 ac_cv_prog_RSVG
="$ac_prog"
5644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5653 RSVG
=$ac_cv_prog_RSVG
5654 if test -n "$RSVG"; then
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5656 $as_echo "$RSVG" >&6; }
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5659 $as_echo "no" >&6; }
5663 test -n "$RSVG" && break
5665 test -n "$RSVG" || RSVG
="false"
5667 for ac_prog
in convert
5669 # Extract the first word of "$ac_prog", so it can be a program name with args.
5670 set dummy
$ac_prog; ac_word
=$2
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5672 $as_echo_n "checking for $ac_word... " >&6; }
5673 if ${ac_cv_prog_CONVERT+:} false
; then :
5674 $as_echo_n "(cached) " >&6
5676 if test -n "$CONVERT"; then
5677 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5679 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5683 test -z "$as_dir" && as_dir
=.
5684 for ac_exec_ext
in '' $ac_executable_extensions; do
5685 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5686 ac_cv_prog_CONVERT
="$ac_prog"
5687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5696 CONVERT
=$ac_cv_prog_CONVERT
5697 if test -n "$CONVERT"; then
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5699 $as_echo "$CONVERT" >&6; }
5701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5702 $as_echo "no" >&6; }
5706 test -n "$CONVERT" && break
5708 test -n "$CONVERT" || CONVERT
="false"
5710 for ac_prog
in icotool
5712 # Extract the first word of "$ac_prog", so it can be a program name with args.
5713 set dummy
$ac_prog; ac_word
=$2
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5715 $as_echo_n "checking for $ac_word... " >&6; }
5716 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5717 $as_echo_n "(cached) " >&6
5719 if test -n "$ICOTOOL"; then
5720 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5722 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5726 test -z "$as_dir" && as_dir
=.
5727 for ac_exec_ext
in '' $ac_executable_extensions; do
5728 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5729 ac_cv_prog_ICOTOOL
="$ac_prog"
5730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5739 ICOTOOL
=$ac_cv_prog_ICOTOOL
5740 if test -n "$ICOTOOL"; then
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5742 $as_echo "$ICOTOOL" >&6; }
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5745 $as_echo "no" >&6; }
5749 test -n "$ICOTOOL" && break
5751 test -n "$ICOTOOL" || ICOTOOL
="false"
5753 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5754 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5756 if test "$CONVERT" = false
5758 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5761 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5762 convert_version
=`convert --version | head -n1`
5763 if test "x$convert_version" != "x"
5765 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5766 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5767 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5772 if test "$CONVERT" = false
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5775 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5776 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5779 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5783 if test "$ICOTOOL" = false
5785 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5788 $as_echo_n "checking for recent enough icotool... " >&6; }
5789 icotool_version
=`icotool --version | head -n1`
5790 if test "x$icotool_version" != "x"
5792 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5793 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5794 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5797 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5800 if test "$ICOTOOL" = false
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5803 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5804 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5807 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5813 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5816 test "x$with_gettext" != xno || MSGFMT
=false
5817 if test "$MSGFMT" != "false"
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5820 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5821 cat >conftest.po
<<EOF
5827 if $MSGFMT -o /dev
/null conftest.po
2>&5
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5830 $as_echo "yes" >&6; }
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5833 $as_echo "no" >&6; }
5837 if test "$MSGFMT" = false
; then :
5838 case "x$with_gettext" in
5839 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5841 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5842 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5848 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5849 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5850 $as_echo_n "(cached) " >&6
5852 ac_check_lib_save_LIBS
=$LIBS
5854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5855 /* end confdefs.h. */
5857 /* Override any GCC internal prototype to avoid an error.
5858 Use char because int might match the return type of a GCC
5859 builtin and then its argument prototype would still apply. */
5863 char i386_set_ldt ();
5867 return i386_set_ldt ();
5872 if ac_fn_c_try_link
"$LINENO"; then :
5873 ac_cv_lib_i386_i386_set_ldt
=yes
5875 ac_cv_lib_i386_i386_set_ldt
=no
5877 rm -f core conftest.err conftest.
$ac_objext \
5878 conftest
$ac_exeext conftest.
$ac_ext
5879 LIBS
=$ac_check_lib_save_LIBS
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5882 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5883 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5884 cat >>confdefs.h
<<_ACEOF
5885 #define HAVE_LIBI386 1
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5893 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5894 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5895 $as_echo_n "(cached) " >&6
5897 ac_check_lib_save_LIBS
=$LIBS
5898 LIBS
="-lossaudio $LIBS"
5899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5900 /* end confdefs.h. */
5902 /* Override any GCC internal prototype to avoid an error.
5903 Use char because int might match the return type of a GCC
5904 builtin and then its argument prototype would still apply. */
5912 return _oss_ioctl ();
5917 if ac_fn_c_try_link
"$LINENO"; then :
5918 ac_cv_lib_ossaudio__oss_ioctl
=yes
5920 ac_cv_lib_ossaudio__oss_ioctl
=no
5922 rm -f core conftest.err conftest.
$ac_objext \
5923 conftest
$ac_exeext conftest.
$ac_ext
5924 LIBS
=$ac_check_lib_save_LIBS
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5927 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5928 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
5929 cat >>confdefs.h
<<_ACEOF
5930 #define HAVE_LIBOSSAUDIO 1
5933 LIBS
="-lossaudio $LIBS"
5942 # Check whether --enable-largefile was given.
5943 if test "${enable_largefile+set}" = set; then :
5944 enableval
=$enable_largefile;
5947 if test "$enable_largefile" != no
; then
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5950 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5951 if ${ac_cv_sys_largefile_CC+:} false
; then :
5952 $as_echo_n "(cached) " >&6
5954 ac_cv_sys_largefile_CC
=no
5955 if test "$GCC" != yes; then
5958 # IRIX 6.2 and later do not support large files by default,
5959 # so use the C compiler's -n32 option if that helps.
5960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5961 /* end confdefs.h. */
5962 #include <sys/types.h>
5963 /* Check that off_t can represent 2**63 - 1 correctly.
5964 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5965 since some C++ compilers masquerading as C compilers
5966 incorrectly reject 9223372036854775807. */
5967 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5968 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5969 && LARGE_OFF_T % 2147483647 == 1)
5979 if ac_fn_c_try_compile
"$LINENO"; then :
5982 rm -f core conftest.err conftest.
$ac_objext
5984 if ac_fn_c_try_compile
"$LINENO"; then :
5985 ac_cv_sys_largefile_CC
=' -n32'; break
5987 rm -f core conftest.err conftest.
$ac_objext
5991 rm -f conftest.
$ac_ext
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5995 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5996 if test "$ac_cv_sys_largefile_CC" != no
; then
5997 CC
=$CC$ac_cv_sys_largefile_CC
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6001 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6002 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6003 $as_echo_n "(cached) " >&6
6006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6007 /* end confdefs.h. */
6008 #include <sys/types.h>
6009 /* Check that off_t can represent 2**63 - 1 correctly.
6010 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6011 since some C++ compilers masquerading as C compilers
6012 incorrectly reject 9223372036854775807. */
6013 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6014 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6015 && LARGE_OFF_T % 2147483647 == 1)
6025 if ac_fn_c_try_compile
"$LINENO"; then :
6026 ac_cv_sys_file_offset_bits
=no
; break
6028 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6030 /* end confdefs.h. */
6031 #define _FILE_OFFSET_BITS 64
6032 #include <sys/types.h>
6033 /* Check that off_t can represent 2**63 - 1 correctly.
6034 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6035 since some C++ compilers masquerading as C compilers
6036 incorrectly reject 9223372036854775807. */
6037 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6038 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6039 && LARGE_OFF_T % 2147483647 == 1)
6049 if ac_fn_c_try_compile
"$LINENO"; then :
6050 ac_cv_sys_file_offset_bits
=64; break
6052 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6053 ac_cv_sys_file_offset_bits
=unknown
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6058 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6059 case $ac_cv_sys_file_offset_bits in #(
6062 cat >>confdefs.h
<<_ACEOF
6063 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6068 if test $ac_cv_sys_file_offset_bits = unknown
; then
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6070 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6071 if ${ac_cv_sys_large_files+:} false
; then :
6072 $as_echo_n "(cached) " >&6
6075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6076 /* end confdefs.h. */
6077 #include <sys/types.h>
6078 /* Check that off_t can represent 2**63 - 1 correctly.
6079 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6080 since some C++ compilers masquerading as C compilers
6081 incorrectly reject 9223372036854775807. */
6082 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6083 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6084 && LARGE_OFF_T % 2147483647 == 1)
6094 if ac_fn_c_try_compile
"$LINENO"; then :
6095 ac_cv_sys_large_files
=no
; break
6097 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6099 /* end confdefs.h. */
6100 #define _LARGE_FILES 1
6101 #include <sys/types.h>
6102 /* Check that off_t can represent 2**63 - 1 correctly.
6103 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6104 since some C++ compilers masquerading as C compilers
6105 incorrectly reject 9223372036854775807. */
6106 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6107 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6108 && LARGE_OFF_T % 2147483647 == 1)
6118 if ac_fn_c_try_compile
"$LINENO"; then :
6119 ac_cv_sys_large_files
=1; break
6121 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6122 ac_cv_sys_large_files
=unknown
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6127 $as_echo "$ac_cv_sys_large_files" >&6; }
6128 case $ac_cv_sys_large_files in #(
6131 cat >>confdefs.h
<<_ACEOF
6132 #define _LARGE_FILES $ac_cv_sys_large_files
6144 ac_cpp
='$CPP $CPPFLAGS'
6145 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6146 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6147 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6149 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6150 # On Suns, sometimes $CPP names a directory.
6151 if test -n "$CPP" && test -d "$CPP"; then
6154 if test -z "$CPP"; then
6155 if ${ac_cv_prog_CPP+:} false
; then :
6156 $as_echo_n "(cached) " >&6
6158 # Double quotes because CPP needs to be expanded
6159 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6162 for ac_c_preproc_warn_flag
in '' yes
6164 # Use a header file that comes with gcc, so configuring glibc
6165 # with a fresh cross-compiler works.
6166 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6167 # <limits.h> exists even on freestanding compilers.
6168 # On the NeXT, cc -E runs the code through the compiler's parser,
6169 # not just through cpp. "Syntax error" is here to catch this case.
6170 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6171 /* end confdefs.h. */
6173 # include <limits.h>
6175 # include <assert.h>
6179 if ac_fn_c_try_cpp
"$LINENO"; then :
6182 # Broken: fails on valid input.
6185 rm -f conftest.err conftest.i conftest.
$ac_ext
6187 # OK, works on sane cases. Now check whether nonexistent headers
6188 # can be detected and how.
6189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6190 /* end confdefs.h. */
6191 #include <ac_nonexistent.h>
6193 if ac_fn_c_try_cpp
"$LINENO"; then :
6194 # Broken: success on invalid input.
6197 # Passes both tests.
6201 rm -f conftest.err conftest.i conftest.
$ac_ext
6204 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6205 rm -f conftest.i conftest.err conftest.
$ac_ext
6206 if $ac_preproc_ok; then :
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6219 $as_echo "$CPP" >&6; }
6221 for ac_c_preproc_warn_flag
in '' yes
6223 # Use a header file that comes with gcc, so configuring glibc
6224 # with a fresh cross-compiler works.
6225 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6226 # <limits.h> exists even on freestanding compilers.
6227 # On the NeXT, cc -E runs the code through the compiler's parser,
6228 # not just through cpp. "Syntax error" is here to catch this case.
6229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6230 /* end confdefs.h. */
6232 # include <limits.h>
6234 # include <assert.h>
6238 if ac_fn_c_try_cpp
"$LINENO"; then :
6241 # Broken: fails on valid input.
6244 rm -f conftest.err conftest.i conftest.
$ac_ext
6246 # OK, works on sane cases. Now check whether nonexistent headers
6247 # can be detected and how.
6248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6249 /* end confdefs.h. */
6250 #include <ac_nonexistent.h>
6252 if ac_fn_c_try_cpp
"$LINENO"; then :
6253 # Broken: success on invalid input.
6256 # Passes both tests.
6260 rm -f conftest.err conftest.i conftest.
$ac_ext
6263 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6264 rm -f conftest.i conftest.err conftest.
$ac_ext
6265 if $ac_preproc_ok; then :
6268 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6269 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6270 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6271 See \`config.log' for more details" "$LINENO" 5; }
6275 ac_cpp
='$CPP $CPPFLAGS'
6276 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6277 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6278 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6282 $as_echo_n "checking for ANSI C header files... " >&6; }
6283 if ${ac_cv_header_stdc+:} false
; then :
6284 $as_echo_n "(cached) " >&6
6286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6287 /* end confdefs.h. */
6301 if ac_fn_c_try_compile
"$LINENO"; then :
6302 ac_cv_header_stdc
=yes
6304 ac_cv_header_stdc
=no
6306 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6308 if test $ac_cv_header_stdc = yes; then
6309 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6311 /* end confdefs.h. */
6315 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6316 $EGREP "memchr" >/dev
/null
2>&1; then :
6319 ac_cv_header_stdc
=no
6325 if test $ac_cv_header_stdc = yes; then
6326 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6328 /* end confdefs.h. */
6332 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6333 $EGREP "free" >/dev
/null
2>&1; then :
6336 ac_cv_header_stdc
=no
6342 if test $ac_cv_header_stdc = yes; then
6343 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6344 if test "$cross_compiling" = yes; then :
6347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6348 /* end confdefs.h. */
6351 #if ((' ' & 0x0FF) == 0x020)
6352 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6353 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6355 # define ISLOWER(c) \
6356 (('a' <= (c) && (c) <= 'i') \
6357 || ('j' <= (c) && (c) <= 'r') \
6358 || ('s' <= (c) && (c) <= 'z'))
6359 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6362 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6367 for (i = 0; i < 256; i++)
6368 if (XOR (islower (i), ISLOWER (i))
6369 || toupper (i) != TOUPPER (i))
6374 if ac_fn_c_try_run
"$LINENO"; then :
6377 ac_cv_header_stdc
=no
6379 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6380 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6386 $as_echo "$ac_cv_header_stdc" >&6; }
6387 if test $ac_cv_header_stdc = yes; then
6389 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6393 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6394 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6395 inttypes.h stdint.h unistd.h
6397 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6398 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6400 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6401 cat >>confdefs.h
<<_ACEOF
6402 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6412 ApplicationServices
/ApplicationServices.h \
6413 AudioToolbox
/AudioConverter.h \
6414 AudioUnit
/AudioUnit.h \
6415 AudioUnit
/AudioComponent.h \
6418 CoreAudio
/CoreAudio.h \
6419 CoreServices
/CoreServices.h \
6420 DiskArbitration
/DiskArbitration.h \
6422 IOKit
/hid
/IOHIDLib.h \
6425 QuickTime
/ImageCompression.h \
6426 Security
/Security.h \
6477 netinet
/in_systm.h \
6538 valgrind
/memcheck.h \
6539 valgrind
/valgrind.h \
6543 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6544 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6545 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6546 cat >>confdefs.h
<<_ACEOF
6547 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6555 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6556 if ${ac_cv_header_stat_broken+:} false
; then :
6557 $as_echo_n "(cached) " >&6
6559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6560 /* end confdefs.h. */
6561 #include <sys/types.h>
6562 #include <sys/stat.h>
6564 #if defined S_ISBLK && defined S_IFDIR
6565 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6568 #if defined S_ISBLK && defined S_IFCHR
6569 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6572 #if defined S_ISLNK && defined S_IFREG
6573 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6576 #if defined S_ISSOCK && defined S_IFREG
6577 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6581 if ac_fn_c_try_compile
"$LINENO"; then :
6582 ac_cv_header_stat_broken
=no
6584 ac_cv_header_stat_broken
=yes
6586 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6589 $as_echo "$ac_cv_header_stat_broken" >&6; }
6590 if test $ac_cv_header_stat_broken = yes; then
6592 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6598 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6600 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6601 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6602 #ifdef HAVE_SYS_PARAM_H
6603 # include <sys/param.h>
6606 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6607 cat >>confdefs.h
<<_ACEOF
6608 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6623 netinet
/if_ether.h \
6624 netinet
/if_inarp.h \
6633 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6634 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6635 #ifdef HAVE_SYS_SOCKET_H
6636 # include <sys/socket.h>
6638 #ifdef HAVE_SYS_SOCKETVAR_H
6639 # include <sys/socketvar.h>
6641 #ifdef HAVE_NET_ROUTE_H
6642 # include <net/route.h>
6644 #ifdef HAVE_NETINET_IN_H
6645 # include <netinet/in.h>
6647 #ifdef HAVE_NETINET_IN_SYSTM_H
6648 # include <netinet/in_systm.h>
6650 #ifdef HAVE_NET_IF_H
6651 # include <net/if.h>
6653 #ifdef HAVE_NETINET_IP_H
6654 # include <netinet/ip.h>
6657 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6658 cat >>confdefs.h
<<_ACEOF
6659 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6667 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6669 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6670 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6674 #ifdef HAVE_SYS_SOCKET_H
6675 # include <sys/socket.h>
6677 #ifdef HAVE_SYS_SOCKETVAR_H
6678 # include <sys/socketvar.h>
6680 #ifdef HAVE_SYS_TIMEOUT_H
6681 # include <sys/timeout.h>
6683 #ifdef HAVE_NETINET_IN_H
6684 # include <netinet/in.h>
6686 #ifdef HAVE_NETINET_IN_SYSTM_H
6687 # include <netinet/in_systm.h>
6689 #ifdef HAVE_NETINET_IP_H
6690 # include <netinet/ip.h>
6692 #ifdef HAVE_NETINET_IP_VAR_H
6693 # include <netinet/ip_var.h>
6695 #ifdef HAVE_NETINET_IP_ICMP_H
6696 # include <netinet/ip_icmp.h>
6698 #ifdef HAVE_NETINET_UDP_H
6699 # include <netinet/udp.h>
6701 #ifdef HAVE_NETINET_TCP_H
6702 # include <netinet/tcp.h>
6704 #ifdef HAVE_NETINET_TCP_TIMER_H
6705 #include <netinet/tcp_timer.h>
6708 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6709 cat >>confdefs.h
<<_ACEOF
6710 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6718 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6720 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6721 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6722 #ifdef HAVE_ASM_TYPES_H
6723 # include <asm/types.h>
6725 #ifdef HAVE_SYS_SOCKET_H
6726 # include <sys/socket.h>
6728 #ifdef HAVE_LINUX_TYPES_H
6729 # include <linux/types.h>
6732 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6733 cat >>confdefs.h
<<_ACEOF
6734 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6742 for ac_header
in mach-o
/dyld_images.h
6744 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6745 # include <stdbool.h>
6747 #ifdef HAVE_STDINT_H
6748 # include <stdint.h>
6751 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6752 cat >>confdefs.h
<<_ACEOF
6753 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6761 for ac_header
in resolv.h
6763 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6764 #ifdef HAVE_SYS_SOCKET_H
6765 # include <sys/socket.h>
6767 #ifdef HAVE_NETINET_IN_H
6768 # include <netinet/in.h>
6770 #ifdef HAVE_ARPA_NAMESER_H
6771 # include <arpa/nameser.h>
6774 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6775 cat >>confdefs.h
<<_ACEOF
6776 #define HAVE_RESOLV_H 1
6784 for ac_header
in ifaddrs.h
6786 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6788 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6789 cat >>confdefs.h
<<_ACEOF
6790 #define HAVE_IFADDRS_H 1
6798 for ac_header
in ucontext.h
6800 ac_fn_c_check_header_compile
"$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6802 if test "x$ac_cv_header_ucontext_h" = xyes
; then :
6803 cat >>confdefs.h
<<_ACEOF
6804 #define HAVE_UCONTEXT_H 1
6812 for ac_header
in sys
/thr.h
6814 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6815 #ifdef HAVE_UCONTEXT_H
6816 #include <ucontext.h>
6819 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6820 cat >>confdefs.h
<<_ACEOF
6821 #define HAVE_SYS_THR_H 1
6829 for ac_header
in pthread_np.h
6831 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6832 #include <pthread.h>
6835 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6836 cat >>confdefs.h
<<_ACEOF
6837 #define HAVE_PTHREAD_NP_H 1
6845 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
6847 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6848 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6849 #include <sys/time.h>
6851 #include <sys/types.h>
6852 #ifdef HAVE_ASM_TYPES_H
6853 #include <asm/types.h>
6856 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6857 cat >>confdefs.h
<<_ACEOF
6858 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6866 for ac_header
in libprocstat.h
6868 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6869 #include <sys/param.h>
6871 #ifdef HAVE_SYS_QUEUE_H
6872 #include <sys/queue.h>
6874 #ifdef HAVE_SYS_SOCKET_H
6875 #include <sys/socket.h>
6878 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
6879 cat >>confdefs.h
<<_ACEOF
6880 #define HAVE_LIBPROCSTAT_H 1
6889 dlldir
="\${libdir}/wine"
6893 DLLFLAGS
="-D_REENTRANT"
6902 STATIC_IMPLIBEXT
="def.a"
6903 # Extract the first word of "ldd", so it can be a program name with args.
6904 set dummy ldd
; ac_word
=$2
6905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6906 $as_echo_n "checking for $ac_word... " >&6; }
6907 if ${ac_cv_path_LDD+:} false
; then :
6908 $as_echo_n "(cached) " >&6
6912 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6916 as_dummy
="/sbin:/usr/sbin:$PATH"
6917 for as_dir
in $as_dummy
6920 test -z "$as_dir" && as_dir
=.
6921 for ac_exec_ext
in '' $ac_executable_extensions; do
6922 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6923 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6931 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6936 if test -n "$LDD"; then
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6938 $as_echo "$LDD" >&6; }
6940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6941 $as_echo "no" >&6; }
6945 if test -n "$ac_tool_prefix"; then
6946 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6947 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
6948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6949 $as_echo_n "checking for $ac_word... " >&6; }
6950 if ${ac_cv_prog_READELF+:} false
; then :
6951 $as_echo_n "(cached) " >&6
6953 if test -n "$READELF"; then
6954 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
6956 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6960 test -z "$as_dir" && as_dir
=.
6961 for ac_exec_ext
in '' $ac_executable_extensions; do
6962 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6963 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
6964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6973 READELF
=$ac_cv_prog_READELF
6974 if test -n "$READELF"; then
6975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
6976 $as_echo "$READELF" >&6; }
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6979 $as_echo "no" >&6; }
6984 if test -z "$ac_cv_prog_READELF"; then
6985 ac_ct_READELF
=$READELF
6986 # Extract the first word of "readelf", so it can be a program name with args.
6987 set dummy readelf
; ac_word
=$2
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6989 $as_echo_n "checking for $ac_word... " >&6; }
6990 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
6991 $as_echo_n "(cached) " >&6
6993 if test -n "$ac_ct_READELF"; then
6994 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
6996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7000 test -z "$as_dir" && as_dir
=.
7001 for ac_exec_ext
in '' $ac_executable_extensions; do
7002 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7003 ac_cv_prog_ac_ct_READELF
="readelf"
7004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7013 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7014 if test -n "$ac_ct_READELF"; then
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7016 $as_echo "$ac_ct_READELF" >&6; }
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7019 $as_echo "no" >&6; }
7022 if test "x$ac_ct_READELF" = x
; then
7025 case $cross_compiling:$ac_tool_warned in
7027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7028 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7029 ac_tool_warned
=yes ;;
7031 READELF
=$ac_ct_READELF
7034 READELF
="$ac_cv_prog_READELF"
7037 wine_rules_file
=conf$
$rules.
make
7038 rm -f $wine_rules_file
7040 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7041 ALL_TEST_RESOURCES
=""
7044 wine_fn_append_file
()
7046 as_fn_append
$1 " \\$as_nl $2"
7049 wine_fn_ignore_file
()
7052 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7053 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7054 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7058 wine_fn_append_rule
()
7060 $as_echo "$1" >>$wine_rules_file
7065 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7068 wine_fn_depend_rules
()
7070 wine_fn_append_rule \
7071 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7072 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7073 depend: $ac_dir/depend
7074 .PHONY: $ac_dir/depend
7075 $ac_dir/depend: \$(MAKEDEP) dummy
7076 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7079 wine_fn_pot_rules
()
7081 test "x$with_gettextpo" = xyes ||
return
7083 if wine_fn_has_flag mc
7085 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7086 wine_fn_append_rule \
7087 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7088 @cd $ac_dir && \$(MAKE) msg.pot
7089 $ac_dir/msg.pot: tools/wmc include"
7091 if wine_fn_has_flag po
7093 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7094 wine_fn_append_rule \
7095 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7096 @cd $ac_dir && \$(MAKE) rsrc.pot
7097 $ac_dir/rsrc.pot: tools/wrc include"
7101 wine_fn_all_rules
()
7103 wine_fn_depend_rules
7104 wine_fn_append_rule \
7107 $ac_dir: $ac_dir/Makefile dummy
7108 @cd $ac_dir && \$(MAKE)"
7111 wine_fn_install_rules
()
7113 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7115 wine_fn_append_rule \
7116 ".PHONY: $ac_dir/install $ac_dir/uninstall
7117 $ac_dir/install:: $ac_dir
7118 @cd $ac_dir && \$(MAKE) install
7119 $ac_dir/uninstall:: $ac_dir/Makefile
7120 @cd $ac_dir && \$(MAKE) uninstall
7121 install:: $ac_dir/install
7122 __uninstall__: $ac_dir/uninstall"
7124 if wine_fn_has_flag install-lib
7126 wine_fn_append_rule \
7127 ".PHONY: $ac_dir/install-lib
7128 $ac_dir/install-lib:: $ac_dir
7129 @cd $ac_dir && \$(MAKE) install-lib
7130 install-lib:: $ac_dir/install-lib"
7133 if wine_fn_has_flag install-dev
7135 wine_fn_append_rule \
7136 ".PHONY: $ac_dir/install-dev
7137 $ac_dir/install-dev:: $ac_dir
7138 @cd $ac_dir && \$(MAKE) install-dev
7139 install-dev:: $ac_dir/install-dev"
7143 wine_fn_clean_rules
()
7146 ac_extraclean
="$ac_dir/Makefile"
7147 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7149 */tests
) ac_extraclean
="$ac_extraclean $ac_dir/testlist.c" ;;
7152 if wine_fn_has_flag clean
7154 wine_fn_append_rule \
7155 "__clean__: $ac_dir/clean
7156 .PHONY: $ac_dir/clean
7157 $ac_dir/clean: $ac_dir/Makefile
7158 @cd $ac_dir && \$(MAKE) clean
7159 \$(RM) $ac_extraclean"
7161 wine_fn_append_rule \
7162 "__clean__: $ac_dir/clean
7163 .PHONY: $ac_dir/clean
7164 $ac_dir/clean: dummy
7165 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7169 wine_fn_disabled_rules
()
7172 ac_extraclean
="$ac_dir/Makefile"
7173 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7175 wine_fn_append_rule \
7176 "__clean__: $ac_dir/clean
7177 .PHONY: $ac_dir/clean
7178 $ac_dir/clean: dummy
7179 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7182 wine_fn_config_makefile
()
7188 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7189 wine_fn_disabled_rules
; return
7192 wine_fn_install_rules
7196 wine_fn_config_lib
()
7200 ac_dir
=dlls
/$ac_name
7203 if test "x$enable_tools" = xno
; then :
7206 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7211 wine_fn_append_rule \
7212 ".PHONY: $ac_dir/install $ac_dir/uninstall
7213 $ac_dir/install:: $ac_dir
7214 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7216 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7217 install install-dev:: $ac_dir/install
7218 __uninstall__: $ac_dir/uninstall
7219 __builddeps__: $ac_dir
7223 wine_fn_config_dll
()
7226 ac_dir
=dlls
/$ac_name
7229 ac_implib
=${4:-$ac_name}
7230 ac_file
=$ac_dir/lib
$ac_implib
7235 if test "x$enable_tools" = xno
; then :
7238 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7241 *16) ac_implibflags
=" -m16" ;;
7243 *) ac_dll
=$ac_dll.dll
;;
7247 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7248 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7249 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7250 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7252 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7253 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
7255 wine_fn_depend_rules
7256 wine_fn_clean_rules
$ac_clean
7258 wine_fn_disabled_rules
$ac_clean
7263 wine_fn_clean_rules
$ac_clean
7264 wine_fn_append_rule \
7265 "$ac_dir: __builddeps__
7266 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7267 @cd $ac_dir && \$(MAKE) \$@
7268 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7269 install install-lib:: $ac_dir/install-lib
7270 __uninstall__: $ac_dir/uninstall"
7271 if test -n "$DLLEXT"
7273 wine_fn_append_rule \
7274 "$ac_dir/install-lib:: $ac_dir
7275 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7276 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7278 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7280 wine_fn_append_rule \
7281 "$ac_dir/install-lib:: $ac_dir
7282 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7284 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7290 if wine_fn_has_flag staticimplib
7292 wine_fn_append_rule \
7293 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7294 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7295 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7296 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7297 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7298 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7299 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7300 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7301 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7303 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7304 install install-dev:: $ac_dir/install-dev
7305 __uninstall__: $ac_dir/uninstall"
7307 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7309 wine_fn_append_rule \
7310 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7311 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7313 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7316 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7318 wine_fn_append_rule \
7319 "__builddeps__: $ac_file.cross.a
7320 $ac_file.cross.a: $ac_dir/Makefile dummy
7321 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7324 elif wine_fn_has_flag implib
7326 wine_fn_append_rule \
7327 "__builddeps__: $ac_file.$IMPLIBEXT
7328 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7329 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7330 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7331 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7332 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7333 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7334 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7336 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7337 install install-dev:: $ac_dir/install-dev
7338 __uninstall__: $ac_dir/uninstall"
7339 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7341 wine_fn_append_rule \
7342 "__builddeps__: $ac_file.cross.a
7343 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7344 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7347 if test "$ac_name" != "$ac_implib"
7349 wine_fn_append_rule \
7350 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7351 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7352 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7354 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7355 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7356 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7358 wine_fn_append_rule \
7359 "__builddeps__: dlls/lib$ac_implib.cross.a
7360 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7361 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7363 \$(RM) dlls/lib$ac_implib.cross.a"
7364 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7370 wine_fn_config_program
()
7373 ac_dir
=programs
/$ac_name
7380 *) ac_program
=$ac_program.exe
;;
7384 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7385 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7386 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7387 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7389 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7390 wine_fn_disabled_rules
$ac_clean; return
7394 wine_fn_clean_rules
$ac_clean
7395 wine_fn_append_rule
"$ac_dir: __builddeps__"
7398 wine_fn_has_flag
install ||
return
7399 wine_fn_append_rule \
7400 ".PHONY: $ac_dir/install $ac_dir/uninstall
7401 install install-lib:: $ac_dir/install
7402 __uninstall__: $ac_dir/uninstall"
7404 if test -n "$DLLEXT"
7406 wine_fn_append_rule \
7407 "$ac_dir/install:: $ac_dir
7408 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7409 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7411 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7413 if test -z "$with_wine64" && wine_fn_has_flag installbin
7415 wine_fn_append_rule \
7416 "$ac_dir/install:: __tooldeps__
7417 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7419 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7422 wine_fn_append_rule \
7423 "$ac_dir/install:: $ac_dir
7424 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7426 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7429 if test -z "$with_wine64" && wine_fn_has_flag manpage
7431 wine_fn_append_rule \
7432 "$ac_dir/install:: $ac_dir
7433 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7435 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7439 wine_fn_config_test
()
7446 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7447 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7449 if test "x$enable_tests" = xno
; then :
7450 wine_fn_disabled_rules
$ac_clean; return
7453 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7455 wine_fn_clean_rules
$ac_clean
7457 wine_fn_append_rule \
7458 "$ac_dir: programs/winetest/Makefile __builddeps__
7459 programs/winetest: $ac_dir
7460 check test: $ac_dir/test
7461 .PHONY: $ac_dir/test
7463 @cd $ac_dir && \$(MAKE) test
7465 \$(RM) $ac_dir/*.ok"
7467 if test -n "$CROSSTARGET"
7469 wine_fn_append_rule \
7470 "crosstest: $ac_dir/crosstest
7471 .PHONY: $ac_dir/crosstest
7472 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7473 @cd $ac_dir && \$(MAKE) crosstest"
7477 wine_fn_config_tool
()
7481 if test "x$enable_tools" = xno
; then :
7486 wine_fn_install_rules
7489 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7490 wine_fn_append_rule
"$ac_dir: libs/port"
7492 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7496 wine_fn_config_symlink
()
7499 if test "x$1" = "x-d"
7505 wine_fn_append_rule \
7507 @./config.status \$@
7510 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7511 test -n "$ac_linkdir" ||
return
7512 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7516 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7517 loader_programs
="$wine_binary wine-installed"
7518 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7521 install install-lib:: wine-installed
7522 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7525 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7531 if test -n "$ac_tool_prefix"; then
7532 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7533 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7535 $as_echo_n "checking for $ac_word... " >&6; }
7536 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7537 $as_echo_n "(cached) " >&6
7539 if test -n "$DLLTOOL"; then
7540 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7542 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7546 test -z "$as_dir" && as_dir
=.
7547 for ac_exec_ext
in '' $ac_executable_extensions; do
7548 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7549 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7559 DLLTOOL
=$ac_cv_prog_DLLTOOL
7560 if test -n "$DLLTOOL"; then
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7562 $as_echo "$DLLTOOL" >&6; }
7564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7565 $as_echo "no" >&6; }
7570 if test -z "$ac_cv_prog_DLLTOOL"; then
7571 ac_ct_DLLTOOL
=$DLLTOOL
7572 # Extract the first word of "dlltool", so it can be a program name with args.
7573 set dummy dlltool
; ac_word
=$2
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7575 $as_echo_n "checking for $ac_word... " >&6; }
7576 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7577 $as_echo_n "(cached) " >&6
7579 if test -n "$ac_ct_DLLTOOL"; then
7580 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7582 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7586 test -z "$as_dir" && as_dir
=.
7587 for ac_exec_ext
in '' $ac_executable_extensions; do
7588 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7589 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7599 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7600 if test -n "$ac_ct_DLLTOOL"; then
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7602 $as_echo "$ac_ct_DLLTOOL" >&6; }
7604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7605 $as_echo "no" >&6; }
7608 if test "x$ac_ct_DLLTOOL" = x
; then
7611 case $cross_compiling:$ac_tool_warned in
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7614 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7615 ac_tool_warned
=yes ;;
7617 DLLTOOL
=$ac_ct_DLLTOOL
7620 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7626 STATIC_IMPLIBEXT
="a"
7627 enable_iphlpapi
=${enable_iphlpapi:-no}
7628 enable_kernel32
=${enable_kernel32:-no}
7629 enable_msvcrt
=${enable_msvcrt:-no}
7630 enable_ntdll
=${enable_ntdll:-no}
7631 enable_ws2_32
=${enable_ws2_32:-no}
7632 enable_loader
=${enable_loader:-no}
7633 enable_server
=${enable_server:-no}
7634 with_x
=${with_x:-no}
7635 with_pthread
=${with_pthread:-no}
7641 SOCKET_LIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7645 libwine_targets
="libwine.dll libwine.a"
7647 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7649 all: libwine.dll libwine.a
7651 libwine.a: \$(srcdir)/wine.def
7652 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7654 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7655 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7657 install install-lib:: libwine.dll
7658 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7660 install install-dev:: libwine.a
7661 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7664 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7671 DLLFLAGS
="$DLLFLAGS -fPIC"
7672 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7673 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7674 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7675 COREFOUNDATION_LIBS
="-framework CoreFoundation"
7677 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
7679 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
7681 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
7683 CORESERVICES_LIBS
="-framework CoreServices"
7685 APPKIT_LIBS
="-framework AppKit"
7687 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7689 darwin11
*) LDEXECFLAGS
="-Wl,-macosx_version_min,10.6 $LDEXECFLAGS" ;;
7691 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7693 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
7696 if test "$ac_cv_header_Security_Security_h" = "yes"
7698 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
7700 ac_save_LIBS
="$LIBS"
7701 LIBS
="$LIBS $SECURITY_LIBS"
7702 for ac_func
in SSLCopyPeerCertificates
7704 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7705 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7706 cat >>confdefs.h
<<_ACEOF
7707 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7713 LIBS
="$ac_save_LIBS"
7714 with_gnutls
=${with_gnutls:-no}
7716 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7718 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7720 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7723 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7726 ac_save_LIBS
="$LIBS"
7727 LIBS
="$LIBS $COREAUDIO_LIBS"
7728 for ac_func
in AUGraphAddNode
7730 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7731 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7732 cat >>confdefs.h
<<_ACEOF
7733 #define HAVE_AUGRAPHADDNODE 1
7739 LIBS
="$ac_save_LIBS"
7741 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7743 OPENAL_LIBS
="-framework OpenAL"
7746 cat >>confdefs.h
<<_ACEOF
7747 #define HAVE_OPENAL 1
7750 ac_cv_lib_openal
=yes
7752 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7754 OPENCL_LIBS
="-framework OpenCL"
7756 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7758 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7760 ac_save_LIBS
="$LIBS"
7761 LIBS
="$LIBS $IOKIT_LIBS"
7762 for ac_func
in IOHIDManagerCreate
7764 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7765 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7766 cat >>confdefs.h
<<_ACEOF
7767 #define HAVE_IOHIDMANAGERCREATE 1
7773 LIBS
="$ac_save_LIBS"
7775 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7777 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7779 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
7781 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7783 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7785 CARBON_LIBS
="-framework Carbon"
7789 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7791 ac_save_LIBS
="$LIBS"
7792 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
7793 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7794 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
7795 enable_winemac_drv
=${enable_winemac_drv:-yes}
7798 LIBS
="$ac_save_LIBS"
7801 if test "x$enable_win16" = "xyes"
7803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7804 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7805 if test "$cross_compiling" = yes; then :
7806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7807 $as_echo "cross-compiling, assuming yes" >&6; }
7809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7810 /* end confdefs.h. */
7813 "good:\tnop;nop\n\t"
7814 ".globl _testfunc\n"
7815 "_testfunc:\tcallw good");
7816 extern void testfunc();
7820 unsigned short *p = (unsigned short *)testfunc;
7821 return p[0] != 0xe866 || p[1] != 0xfffa
7826 if ac_fn_c_try_run
"$LINENO"; then :
7827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7828 $as_echo "yes" >&6; }
7830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7831 $as_echo "no" >&6; }
7832 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
7834 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7835 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7840 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7842 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7846 libwine.$libwine_version.dylib: \$(OBJS)
7847 \$(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 \$@
7849 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7850 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7852 libwine.dylib: libwine.$libwine_soversion.dylib
7853 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7855 install install-lib:: libwine.$libwine_version.dylib
7856 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7857 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7859 install install-dev::
7860 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7863 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7867 as_fn_append LOADER_RULES
"
7868 $wine_binary: main.o wine_info.plist
7869 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7871 wine-installed: main.o wine_info.plist
7872 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7877 DLLFLAGS
="$DLLFLAGS -fPIC"
7881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7882 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7883 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7884 $as_echo_n "(cached) " >&6
7886 ac_wine_try_cflags_saved
=$CFLAGS
7887 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7889 /* end confdefs.h. */
7890 int main(int argc, char **argv) { return 0; }
7892 if ac_fn_c_try_link
"$LINENO"; then :
7893 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7895 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7897 rm -f core conftest.err conftest.
$ac_objext \
7898 conftest
$ac_exeext conftest.
$ac_ext
7899 CFLAGS
=$ac_wine_try_cflags_saved
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7902 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7903 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
7904 LDEXECFLAGS
="-Wl,--export-dynamic"
7906 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7908 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7909 if eval \
${$as_ac_var+:} false
; then :
7910 $as_echo_n "(cached) " >&6
7912 ac_wine_try_cflags_saved
=$CFLAGS
7913 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7915 /* end confdefs.h. */
7916 int main(int argc, char **argv) { return 0; }
7918 if ac_fn_c_try_link
"$LINENO"; then :
7919 eval "$as_ac_var=yes"
7921 eval "$as_ac_var=no"
7923 rm -f core conftest.err conftest.
$ac_objext \
7924 conftest
$ac_exeext conftest.
$ac_ext
7925 CFLAGS
=$ac_wine_try_cflags_saved
7927 eval ac_res
=\$
$as_ac_var
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7929 $as_echo "$ac_res" >&6; }
7930 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7931 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7932 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7934 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7936 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7937 if eval \
${$as_ac_var+:} false
; then :
7938 $as_echo_n "(cached) " >&6
7940 ac_wine_try_cflags_saved
=$CFLAGS
7941 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7943 /* end confdefs.h. */
7944 int main(int argc, char **argv) { return 0; }
7946 if ac_fn_c_try_link
"$LINENO"; then :
7947 eval "$as_ac_var=yes"
7949 eval "$as_ac_var=no"
7951 rm -f core conftest.err conftest.
$ac_objext \
7952 conftest
$ac_exeext conftest.
$ac_ext
7953 CFLAGS
=$ac_wine_try_cflags_saved
7955 eval ac_res
=\$
$as_ac_var
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7957 $as_echo "$ac_res" >&6; }
7958 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7959 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7960 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7965 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7966 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
7967 $as_echo_n "(cached) " >&6
7969 ac_wine_try_cflags_saved
=$CFLAGS
7970 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
7971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7972 /* end confdefs.h. */
7973 int main(int argc, char **argv) { return 0; }
7975 if ac_fn_c_try_link
"$LINENO"; then :
7976 ac_cv_cflags__Wl___enable_new_dtags
=yes
7978 ac_cv_cflags__Wl___enable_new_dtags
=no
7980 rm -f core conftest.err conftest.
$ac_objext \
7981 conftest
$ac_exeext conftest.
$ac_ext
7982 CFLAGS
=$ac_wine_try_cflags_saved
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7985 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7986 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
7987 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7991 *i
[3456789]86* | x86_64
)
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7993 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7994 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
7995 $as_echo_n "(cached) " >&6
7997 ac_wine_try_cflags_saved
=$CFLAGS
7998 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8000 /* end confdefs.h. */
8001 int main(int argc, char **argv) { return 0; }
8003 if ac_fn_c_try_link
"$LINENO"; then :
8004 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8006 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8008 rm -f core conftest.err conftest.
$ac_objext \
8009 conftest
$ac_exeext conftest.
$ac_ext
8010 CFLAGS
=$ac_wine_try_cflags_saved
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8013 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8014 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8015 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8020 libwine_targets
="libwine.so"
8022 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8026 libwine.so: \$(OBJS)
8027 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8029 install install-lib:: libwine.so
8030 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8033 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8037 as_fn_append LOADER_RULES
"
8038 $wine_binary: main.o
8039 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8041 wine-installed: main.o
8042 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8047 DLLFLAGS
="$DLLFLAGS -fPIC"
8049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8050 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8051 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8052 $as_echo_n "(cached) " >&6
8054 ac_wine_try_cflags_saved
=$CFLAGS
8055 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8057 /* end confdefs.h. */
8060 if ac_fn_c_try_link
"$LINENO"; then :
8061 ac_cv_c_dll_gnuelf
="yes"
8063 ac_cv_c_dll_gnuelf
="no"
8065 rm -f core conftest.err conftest.
$ac_objext \
8066 conftest
$ac_exeext conftest.
$ac_ext
8067 CFLAGS
=$ac_wine_try_cflags_saved
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8070 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8071 if test "$ac_cv_c_dll_gnuelf" = "yes"
8073 LDSHARED
="\$(CC) -shared"
8074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8075 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8076 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8077 $as_echo_n "(cached) " >&6
8079 ac_wine_try_cflags_saved
=$CFLAGS
8080 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8082 /* end confdefs.h. */
8083 int main(int argc, char **argv) { return 0; }
8085 if ac_fn_c_try_link
"$LINENO"; then :
8086 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8088 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8090 rm -f core conftest.err conftest.
$ac_objext \
8091 conftest
$ac_exeext conftest.
$ac_ext
8092 CFLAGS
=$ac_wine_try_cflags_saved
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8095 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8096 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8097 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8100 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8101 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8102 $as_echo_n "(cached) " >&6
8104 ac_wine_try_cflags_saved
=$CFLAGS
8105 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8107 /* end confdefs.h. */
8108 int main(int argc, char **argv) { return 0; }
8110 if ac_fn_c_try_link
"$LINENO"; then :
8111 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8113 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8115 rm -f core conftest.err conftest.
$ac_objext \
8116 conftest
$ac_exeext conftest.
$ac_ext
8117 CFLAGS
=$ac_wine_try_cflags_saved
8119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8120 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8121 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8122 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8126 echo '{ global: *; };' >conftest.map
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8128 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8129 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8130 $as_echo_n "(cached) " >&6
8132 ac_wine_try_cflags_saved
=$CFLAGS
8133 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8135 /* end confdefs.h. */
8136 int main(int argc, char **argv) { return 0; }
8138 if ac_fn_c_try_link
"$LINENO"; then :
8139 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8141 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8143 rm -f core conftest.err conftest.
$ac_objext \
8144 conftest
$ac_exeext conftest.
$ac_ext
8145 CFLAGS
=$ac_wine_try_cflags_saved
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8148 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8149 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8150 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8155 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8156 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8157 $as_echo_n "(cached) " >&6
8159 ac_wine_try_cflags_saved
=$CFLAGS
8160 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8162 /* end confdefs.h. */
8163 int main(int argc, char **argv) { return 0; }
8165 if ac_fn_c_try_link
"$LINENO"; then :
8166 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8168 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8170 rm -f core conftest.err conftest.
$ac_objext \
8171 conftest
$ac_exeext conftest.
$ac_ext
8172 CFLAGS
=$ac_wine_try_cflags_saved
8174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8175 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8176 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8177 LDEXECFLAGS
="-Wl,--export-dynamic"
8180 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8182 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8183 if eval \
${$as_ac_var+:} false
; then :
8184 $as_echo_n "(cached) " >&6
8186 ac_wine_try_cflags_saved
=$CFLAGS
8187 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8189 /* end confdefs.h. */
8190 int main(int argc, char **argv) { return 0; }
8192 if ac_fn_c_try_link
"$LINENO"; then :
8193 eval "$as_ac_var=yes"
8195 eval "$as_ac_var=no"
8197 rm -f core conftest.err conftest.
$ac_objext \
8198 conftest
$ac_exeext conftest.
$ac_ext
8199 CFLAGS
=$ac_wine_try_cflags_saved
8201 eval ac_res
=\$
$as_ac_var
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8203 $as_echo "$ac_res" >&6; }
8204 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8205 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8206 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8208 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8210 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8211 if eval \
${$as_ac_var+:} false
; then :
8212 $as_echo_n "(cached) " >&6
8214 ac_wine_try_cflags_saved
=$CFLAGS
8215 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8217 /* end confdefs.h. */
8218 int main(int argc, char **argv) { return 0; }
8220 if ac_fn_c_try_link
"$LINENO"; then :
8221 eval "$as_ac_var=yes"
8223 eval "$as_ac_var=no"
8225 rm -f core conftest.err conftest.
$ac_objext \
8226 conftest
$ac_exeext conftest.
$ac_ext
8227 CFLAGS
=$ac_wine_try_cflags_saved
8229 eval ac_res
=\$
$as_ac_var
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8231 $as_echo "$ac_res" >&6; }
8232 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8233 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8234 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8239 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8240 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8241 $as_echo_n "(cached) " >&6
8243 ac_wine_try_cflags_saved
=$CFLAGS
8244 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8246 /* end confdefs.h. */
8247 int main(int argc, char **argv) { return 0; }
8249 if ac_fn_c_try_link
"$LINENO"; then :
8250 ac_cv_cflags__Wl___enable_new_dtags
=yes
8252 ac_cv_cflags__Wl___enable_new_dtags
=no
8254 rm -f core conftest.err conftest.
$ac_objext \
8255 conftest
$ac_exeext conftest.
$ac_ext
8256 CFLAGS
=$ac_wine_try_cflags_saved
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8259 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8260 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8261 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8265 *i
[3456789]86* | x86_64
)
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8267 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8268 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8269 $as_echo_n "(cached) " >&6
8271 ac_wine_try_cflags_saved
=$CFLAGS
8272 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8274 /* end confdefs.h. */
8275 int main(int argc, char **argv) { return 0; }
8277 if ac_fn_c_try_link
"$LINENO"; then :
8278 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8280 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8282 rm -f core conftest.err conftest.
$ac_objext \
8283 conftest
$ac_exeext conftest.
$ac_ext
8284 CFLAGS
=$ac_wine_try_cflags_saved
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8287 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8288 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8290 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8291 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8295 # Extract the first word of "prelink", so it can be a program name with args.
8296 set dummy prelink
; ac_word
=$2
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8298 $as_echo_n "checking for $ac_word... " >&6; }
8299 if ${ac_cv_path_PRELINK+:} false
; then :
8300 $as_echo_n "(cached) " >&6
8304 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8307 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8308 for as_dir
in /sbin
/usr
/sbin
$PATH
8311 test -z "$as_dir" && as_dir
=.
8312 for ac_exec_ext
in '' $ac_executable_extensions; do
8313 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8314 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8322 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8326 PRELINK
=$ac_cv_path_PRELINK
8327 if test -n "$PRELINK"; then
8328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8329 $as_echo "$PRELINK" >&6; }
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8332 $as_echo "no" >&6; }
8336 if test "x$PRELINK" = xfalse
8338 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8345 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8346 if ${ac_cv_c_dll_unixware+:} false
; then :
8347 $as_echo_n "(cached) " >&6
8349 ac_wine_try_cflags_saved
=$CFLAGS
8350 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8352 /* end confdefs.h. */
8355 if ac_fn_c_try_link
"$LINENO"; then :
8356 ac_cv_c_dll_unixware
="yes"
8358 ac_cv_c_dll_unixware
="no"
8360 rm -f core conftest.err conftest.
$ac_objext \
8361 conftest
$ac_exeext conftest.
$ac_ext
8362 CFLAGS
=$ac_wine_try_cflags_saved
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8365 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8366 if test "$ac_cv_c_dll_unixware" = "yes"
8368 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8371 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8373 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8377 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8378 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8380 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8381 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8383 libwine.so: libwine.so.$libwine_soversion
8384 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8386 install install-lib:: libwine.so.$libwine_version
8387 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8388 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8390 install install-dev::
8391 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8394 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8398 as_fn_append LOADER_RULES
"
8399 $wine_binary: main.o
8400 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8402 wine-installed: main.o
8403 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8408 as_fn_append LIBWINE_RULES
"
8409 EXTRA_TARGETS = $libwine_targets
8412 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8413 enable_winemac_drv
=${enable_winemac_drv:-no}
8417 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8421 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
8424 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 " ;;
8426 ac_prefix_list
="" ;;
8428 for ac_prog
in $ac_prefix_list
8430 # Extract the first word of "$ac_prog", so it can be a program name with args.
8431 set dummy
$ac_prog; ac_word
=$2
8432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8433 $as_echo_n "checking for $ac_word... " >&6; }
8434 if ${ac_cv_prog_CROSSCC+:} false
; then :
8435 $as_echo_n "(cached) " >&6
8437 if test -n "$CROSSCC"; then
8438 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8440 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8444 test -z "$as_dir" && as_dir
=.
8445 for ac_exec_ext
in '' $ac_executable_extensions; do
8446 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8447 ac_cv_prog_CROSSCC
="$ac_prog"
8448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8457 CROSSCC
=$ac_cv_prog_CROSSCC
8458 if test -n "$CROSSCC"; then
8459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8460 $as_echo "$CROSSCC" >&6; }
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8463 $as_echo "no" >&6; }
8467 test -n "$CROSSCC" && break
8469 test -n "$CROSSCC" || CROSSCC
="false"
8471 if test "$CROSSCC" != "false"
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8476 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8478 /* end confdefs.h. */
8488 if ac_fn_c_try_compile
"$LINENO"; then :
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8490 $as_echo "yes" >&6; }
8496 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8502 $as_echo "no" >&6; }
8504 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8510 if test "$ac_cv_header_pthread_h" = "yes"
8512 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8513 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8517 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8518 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8519 $as_echo_n "(cached) " >&6
8521 ac_check_lib_save_LIBS
=$LIBS
8522 LIBS
="-lpthread $LIBS"
8523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8524 /* end confdefs.h. */
8526 /* Override any GCC internal prototype to avoid an error.
8527 Use char because int might match the return type of a GCC
8528 builtin and then its argument prototype would still apply. */
8532 char pthread_create ();
8536 return pthread_create ();
8541 if ac_fn_c_try_link
"$LINENO"; then :
8542 ac_cv_lib_pthread_pthread_create
=yes
8544 ac_cv_lib_pthread_pthread_create
=no
8546 rm -f core conftest.err conftest.
$ac_objext \
8547 conftest
$ac_exeext conftest.
$ac_ext
8548 LIBS
=$ac_check_lib_save_LIBS
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8551 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8552 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8553 PTHREAD_LIBS
="-lpthread"
8560 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8561 case "x$with_pthread" in
8563 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8564 Wine cannot support threads without libpthread.
8565 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8571 $as_echo_n "checking for X... " >&6; }
8574 # Check whether --with-x was given.
8575 if test "${with_x+set}" = set; then :
8579 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8580 if test "x$with_x" = xno
; then
8581 # The user explicitly disabled X.
8584 case $x_includes,$x_libraries in #(
8585 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8586 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8587 $as_echo_n "(cached) " >&6
8589 # One or both of the vars are not set, and there is no cached value.
8590 ac_x_includes
=no ac_x_libraries
=no
8591 rm -f -r conftest.dir
8592 if mkdir conftest.dir
; then
8594 cat >Imakefile
<<'_ACEOF'
8596 @echo incroot='${INCROOT}'
8598 @echo usrlibdir='${USRLIBDIR}'
8600 @echo libdir='${LIBDIR}'
8602 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8603 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8604 for ac_var
in incroot usrlibdir libdir
; do
8605 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8607 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8608 for ac_extension
in a so sl dylib la dll
; do
8609 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8610 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8611 ac_im_usrlibdir
=$ac_im_libdir; break
8614 # Screen out bogus values from the imake configuration. They are
8615 # bogus both because they are the default anyway, and because
8616 # using them would break gcc on systems where it needs fixed includes.
8617 case $ac_im_incroot in
8618 /usr
/include
) ac_x_includes
= ;;
8619 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8621 case $ac_im_usrlibdir in
8622 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8623 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8627 rm -f -r conftest.dir
8630 # Standard set of common directories for X headers.
8631 # Check X11 before X11Rn because it is often a symlink to the current release.
8645 /usr/local/X11/include
8646 /usr/local/X11R7/include
8647 /usr/local/X11R6/include
8648 /usr/local/X11R5/include
8649 /usr/local/X11R4/include
8651 /usr/local/include/X11
8652 /usr/local/include/X11R7
8653 /usr/local/include/X11R6
8654 /usr/local/include/X11R5
8655 /usr/local/include/X11R4
8659 /usr/XFree86/include/X11
8663 /usr/unsupported/include
8665 /usr/local/x11r5/include
8666 /usr/lpp/Xamples/include
8668 /usr/openwin/include
8669 /usr/openwin/share/include'
8671 if test "$ac_x_includes" = no
; then
8672 # Guess where to find include files, by looking for Xlib.h.
8673 # First, try using that file with no special directory specified.
8674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8675 /* end confdefs.h. */
8676 #include <X11/Xlib.h>
8678 if ac_fn_c_try_cpp
"$LINENO"; then :
8679 # We can compile using X headers with no special include directory.
8682 for ac_dir
in $ac_x_header_dirs; do
8683 if test -r "$ac_dir/X11/Xlib.h"; then
8684 ac_x_includes
=$ac_dir
8689 rm -f conftest.err conftest.i conftest.
$ac_ext
8690 fi # $ac_x_includes = no
8692 if test "$ac_x_libraries" = no
; then
8693 # Check for the libraries.
8694 # See if we find them without any special options.
8695 # Don't add to $LIBS permanently.
8698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8699 /* end confdefs.h. */
8700 #include <X11/Xlib.h>
8709 if ac_fn_c_try_link
"$LINENO"; then :
8711 # We can link X programs with no special library path.
8715 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8717 # Don't even attempt the hair of trying to link an X program!
8718 for ac_extension
in a so sl dylib la dll
; do
8719 if test -r "$ac_dir/libX11.$ac_extension"; then
8720 ac_x_libraries
=$ac_dir
8726 rm -f core conftest.err conftest.
$ac_objext \
8727 conftest
$ac_exeext conftest.
$ac_ext
8728 fi # $ac_x_libraries = no
8730 case $ac_x_includes,$ac_x_libraries in #(
8732 # Didn't find X, or a directory has "'" in its name.
8733 ac_cv_have_x
="have_x=no";; #(
8735 # Record where we found X for the cache.
8736 ac_cv_have_x
="have_x=yes\
8737 ac_x_includes='$ac_x_includes'\
8738 ac_x_libraries='$ac_x_libraries'"
8744 eval "$ac_cv_have_x"
8747 if test "$have_x" != yes; then
8748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8749 $as_echo "$have_x" >&6; }
8752 # If each of the values was on the command line, it overrides each guess.
8753 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8754 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8755 # Update the cache value to reflect the command line values.
8756 ac_cv_have_x
="have_x=yes\
8757 ac_x_includes='$x_includes'\
8758 ac_x_libraries='$x_libraries'"
8759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8760 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8763 if test "$no_x" = yes; then
8764 # Not all programs may use this symbol, but it does not hurt to define it.
8766 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8768 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8770 if test -n "$x_includes"; then
8771 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8774 # It would also be nice to do this for all -L options, not just this one.
8775 if test -n "$x_libraries"; then
8776 X_LIBS
="$X_LIBS -L$x_libraries"
8777 # For Solaris; some versions of Sun CC require a space after -R and
8778 # others require no space. Words are not sufficient . . . .
8779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8780 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8781 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
8782 ac_xsave_c_werror_flag
=$ac_c_werror_flag
8783 ac_c_werror_flag
=yes
8784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8785 /* end confdefs.h. */
8795 if ac_fn_c_try_link
"$LINENO"; then :
8796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8797 $as_echo "no" >&6; }
8798 X_LIBS
="$X_LIBS -R$x_libraries"
8800 LIBS
="$ac_xsave_LIBS -R $x_libraries"
8801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8802 /* end confdefs.h. */
8812 if ac_fn_c_try_link
"$LINENO"; then :
8813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8814 $as_echo "yes" >&6; }
8815 X_LIBS
="$X_LIBS -R $x_libraries"
8817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8818 $as_echo "neither works" >&6; }
8820 rm -f core conftest.err conftest.
$ac_objext \
8821 conftest
$ac_exeext conftest.
$ac_ext
8823 rm -f core conftest.err conftest.
$ac_objext \
8824 conftest
$ac_exeext conftest.
$ac_ext
8825 ac_c_werror_flag
=$ac_xsave_c_werror_flag
8829 # Check for system-dependent libraries X programs must link with.
8830 # Do this before checking for the system-independent R6 libraries
8831 # (-lICE), since we may need -lsocket or whatever for X linking.
8833 if test "$ISC" = yes; then
8834 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
8836 # Martyn Johnson says this is needed for Ultrix, if the X
8837 # libraries were built with DECnet support. And Karl Berry says
8838 # the Alpha needs dnet_stub (dnet does not exist).
8839 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
8840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8841 /* end confdefs.h. */
8843 /* Override any GCC internal prototype to avoid an error.
8844 Use char because int might match the return type of a GCC
8845 builtin and then its argument prototype would still apply. */
8849 char XOpenDisplay ();
8853 return XOpenDisplay ();
8858 if ac_fn_c_try_link
"$LINENO"; then :
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8862 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8863 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
8864 $as_echo_n "(cached) " >&6
8866 ac_check_lib_save_LIBS
=$LIBS
8868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8869 /* end confdefs.h. */
8871 /* Override any GCC internal prototype to avoid an error.
8872 Use char because int might match the return type of a GCC
8873 builtin and then its argument prototype would still apply. */
8881 return dnet_ntoa ();
8886 if ac_fn_c_try_link
"$LINENO"; then :
8887 ac_cv_lib_dnet_dnet_ntoa
=yes
8889 ac_cv_lib_dnet_dnet_ntoa
=no
8891 rm -f core conftest.err conftest.
$ac_objext \
8892 conftest
$ac_exeext conftest.
$ac_ext
8893 LIBS
=$ac_check_lib_save_LIBS
8895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8896 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8897 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
8898 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8901 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8903 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8904 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
8905 $as_echo_n "(cached) " >&6
8907 ac_check_lib_save_LIBS
=$LIBS
8908 LIBS
="-ldnet_stub $LIBS"
8909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8910 /* end confdefs.h. */
8912 /* Override any GCC internal prototype to avoid an error.
8913 Use char because int might match the return type of a GCC
8914 builtin and then its argument prototype would still apply. */
8922 return dnet_ntoa ();
8927 if ac_fn_c_try_link
"$LINENO"; then :
8928 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
8930 ac_cv_lib_dnet_stub_dnet_ntoa
=no
8932 rm -f core conftest.err conftest.
$ac_objext \
8933 conftest
$ac_exeext conftest.
$ac_ext
8934 LIBS
=$ac_check_lib_save_LIBS
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8937 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8938 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
8939 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
8944 rm -f core conftest.err conftest.
$ac_objext \
8945 conftest
$ac_exeext conftest.
$ac_ext
8946 LIBS
="$ac_xsave_LIBS"
8948 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8949 # to get the SysV transport functions.
8950 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8952 # The nsl library prevents programs from opening the X display
8953 # on Irix 5.2, according to T.E. Dickey.
8954 # The functions gethostbyname, getservbyname, and inet_addr are
8955 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8956 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8957 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
8961 if test $ac_cv_func_gethostbyname = no
; then
8962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8963 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8964 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
8965 $as_echo_n "(cached) " >&6
8967 ac_check_lib_save_LIBS
=$LIBS
8969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8970 /* end confdefs.h. */
8972 /* Override any GCC internal prototype to avoid an error.
8973 Use char because int might match the return type of a GCC
8974 builtin and then its argument prototype would still apply. */
8978 char gethostbyname ();
8982 return gethostbyname ();
8987 if ac_fn_c_try_link
"$LINENO"; then :
8988 ac_cv_lib_nsl_gethostbyname
=yes
8990 ac_cv_lib_nsl_gethostbyname
=no
8992 rm -f core conftest.err conftest.
$ac_objext \
8993 conftest
$ac_exeext conftest.
$ac_ext
8994 LIBS
=$ac_check_lib_save_LIBS
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
8997 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
8998 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
8999 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9002 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9004 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9005 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9006 $as_echo_n "(cached) " >&6
9008 ac_check_lib_save_LIBS
=$LIBS
9010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9011 /* end confdefs.h. */
9013 /* Override any GCC internal prototype to avoid an error.
9014 Use char because int might match the return type of a GCC
9015 builtin and then its argument prototype would still apply. */
9019 char gethostbyname ();
9023 return gethostbyname ();
9028 if ac_fn_c_try_link
"$LINENO"; then :
9029 ac_cv_lib_bsd_gethostbyname
=yes
9031 ac_cv_lib_bsd_gethostbyname
=no
9033 rm -f core conftest.err conftest.
$ac_objext \
9034 conftest
$ac_exeext conftest.
$ac_ext
9035 LIBS
=$ac_check_lib_save_LIBS
9037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9038 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9039 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9040 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9046 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9047 # socket/setsockopt and other routines are undefined under SCO ODT
9048 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9049 # on later versions), says Simon Leinen: it contains gethostby*
9050 # variants that don't use the name server (or something). -lsocket
9051 # must be given before -lnsl if both are needed. We assume that
9052 # if connect needs -lnsl, so does gethostbyname.
9053 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9054 if test "x$ac_cv_func_connect" = xyes
; then :
9058 if test $ac_cv_func_connect = no
; then
9059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9060 $as_echo_n "checking for connect in -lsocket... " >&6; }
9061 if ${ac_cv_lib_socket_connect+:} false
; then :
9062 $as_echo_n "(cached) " >&6
9064 ac_check_lib_save_LIBS
=$LIBS
9065 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9067 /* end confdefs.h. */
9069 /* Override any GCC internal prototype to avoid an error.
9070 Use char because int might match the return type of a GCC
9071 builtin and then its argument prototype would still apply. */
9084 if ac_fn_c_try_link
"$LINENO"; then :
9085 ac_cv_lib_socket_connect
=yes
9087 ac_cv_lib_socket_connect
=no
9089 rm -f core conftest.err conftest.
$ac_objext \
9090 conftest
$ac_exeext conftest.
$ac_ext
9091 LIBS
=$ac_check_lib_save_LIBS
9093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9094 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9095 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9096 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9101 # Guillermo Gomez says -lposix is necessary on A/UX.
9102 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9103 if test "x$ac_cv_func_remove" = xyes
; then :
9107 if test $ac_cv_func_remove = no
; then
9108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9109 $as_echo_n "checking for remove in -lposix... " >&6; }
9110 if ${ac_cv_lib_posix_remove+:} false
; then :
9111 $as_echo_n "(cached) " >&6
9113 ac_check_lib_save_LIBS
=$LIBS
9114 LIBS
="-lposix $LIBS"
9115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9116 /* end confdefs.h. */
9118 /* Override any GCC internal prototype to avoid an error.
9119 Use char because int might match the return type of a GCC
9120 builtin and then its argument prototype would still apply. */
9133 if ac_fn_c_try_link
"$LINENO"; then :
9134 ac_cv_lib_posix_remove
=yes
9136 ac_cv_lib_posix_remove
=no
9138 rm -f core conftest.err conftest.
$ac_objext \
9139 conftest
$ac_exeext conftest.
$ac_ext
9140 LIBS
=$ac_check_lib_save_LIBS
9142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9143 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9144 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9145 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9150 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9151 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9152 if test "x$ac_cv_func_shmat" = xyes
; then :
9156 if test $ac_cv_func_shmat = no
; then
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9158 $as_echo_n "checking for shmat in -lipc... " >&6; }
9159 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9160 $as_echo_n "(cached) " >&6
9162 ac_check_lib_save_LIBS
=$LIBS
9164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9165 /* end confdefs.h. */
9167 /* Override any GCC internal prototype to avoid an error.
9168 Use char because int might match the return type of a GCC
9169 builtin and then its argument prototype would still apply. */
9182 if ac_fn_c_try_link
"$LINENO"; then :
9183 ac_cv_lib_ipc_shmat
=yes
9185 ac_cv_lib_ipc_shmat
=no
9187 rm -f core conftest.err conftest.
$ac_objext \
9188 conftest
$ac_exeext conftest.
$ac_ext
9189 LIBS
=$ac_check_lib_save_LIBS
9191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9192 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9193 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9194 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9200 # Check for libraries that X11R6 Xt/Xaw programs need.
9201 ac_save_LDFLAGS
=$LDFLAGS
9202 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9203 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9204 # check for ICE first), but we must link in the order -lSM -lICE or
9205 # we get undefined symbols. So assume we have SM if we have ICE.
9206 # These have to be linked with before -lX11, unlike the other
9207 # libraries we check for below, so use a different variable.
9208 # John Interrante, Karl Berry
9209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9210 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9211 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9212 $as_echo_n "(cached) " >&6
9214 ac_check_lib_save_LIBS
=$LIBS
9215 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9217 /* end confdefs.h. */
9219 /* Override any GCC internal prototype to avoid an error.
9220 Use char because int might match the return type of a GCC
9221 builtin and then its argument prototype would still apply. */
9225 char IceConnectionNumber ();
9229 return IceConnectionNumber ();
9234 if ac_fn_c_try_link
"$LINENO"; then :
9235 ac_cv_lib_ICE_IceConnectionNumber
=yes
9237 ac_cv_lib_ICE_IceConnectionNumber
=no
9239 rm -f core conftest.err conftest.
$ac_objext \
9240 conftest
$ac_exeext conftest.
$ac_ext
9241 LIBS
=$ac_check_lib_save_LIBS
9243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9244 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9245 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9246 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9249 LDFLAGS
=$ac_save_LDFLAGS
9254 if test "$have_x" = "yes"
9256 ac_save_CPPFLAGS
="$CPPFLAGS"
9257 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9260 $as_echo_n "checking for -lX11... " >&6; }
9261 if ${ac_cv_lib_soname_X11+:} false
; then :
9262 $as_echo_n "(cached) " >&6
9264 ac_check_soname_save_LIBS
=$LIBS
9265 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9266 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9267 /* end confdefs.h. */
9269 /* Override any GCC internal prototype to avoid an error.
9270 Use char because int might match the return type of a GCC
9271 builtin and then its argument prototype would still apply. */
9275 char XCreateWindow ();
9279 return XCreateWindow ();
9284 if ac_fn_c_try_link
"$LINENO"; then :
9286 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9287 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'` ;;
9288 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9289 if ${ac_cv_lib_soname_X11:+false} :; then :
9290 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9294 rm -f core conftest.err conftest.
$ac_objext \
9295 conftest
$ac_exeext conftest.
$ac_ext
9296 LIBS
=$ac_check_soname_save_LIBS
9298 if ${ac_cv_lib_soname_X11:+false} :; then :
9299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9300 $as_echo "not found" >&6; }
9303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9304 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9306 cat >>confdefs.h
<<_ACEOF
9307 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9313 $as_echo_n "checking for -lXext... " >&6; }
9314 if ${ac_cv_lib_soname_Xext+:} false
; then :
9315 $as_echo_n "(cached) " >&6
9317 ac_check_soname_save_LIBS
=$LIBS
9318 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9320 /* end confdefs.h. */
9322 /* Override any GCC internal prototype to avoid an error.
9323 Use char because int might match the return type of a GCC
9324 builtin and then its argument prototype would still apply. */
9328 char XextCreateExtension ();
9332 return XextCreateExtension ();
9337 if ac_fn_c_try_link
"$LINENO"; then :
9339 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9340 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'` ;;
9341 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9342 if ${ac_cv_lib_soname_Xext:+false} :; then :
9343 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9347 rm -f core conftest.err conftest.
$ac_objext \
9348 conftest
$ac_exeext conftest.
$ac_ext
9349 LIBS
=$ac_check_soname_save_LIBS
9351 if ${ac_cv_lib_soname_Xext:+false} :; then :
9352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9353 $as_echo "not found" >&6; }
9356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9357 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9359 cat >>confdefs.h
<<_ACEOF
9360 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9363 X_LIBS
="$X_LIBS -lXext"
9365 X_LIBS
="$X_LIBS -lX11"
9367 for ac_header
in X11
/Xlib.h \
9370 X11
/Xcursor
/Xcursor.h \
9371 X11
/extensions
/shape.h \
9372 X11
/extensions
/XInput.h \
9373 X11
/extensions
/XInput2.h \
9374 X11
/extensions
/XShm.h \
9375 X11
/extensions
/Xcomposite.h \
9376 X11
/extensions
/Xinerama.h \
9377 X11
/extensions
/Xrandr.h \
9378 X11
/extensions
/Xrender.h \
9379 X11
/extensions
/xf86vmode.h \
9380 X11
/extensions
/xf86vmproto.h
9382 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9383 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9384 # include <X11/Xlib.h>
9386 #ifdef HAVE_X11_XUTIL_H
9387 # include <X11/Xutil.h>
9390 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9391 cat >>confdefs.h
<<_ACEOF
9392 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9400 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9403 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9404 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9405 $as_echo_n "(cached) " >&6
9407 ac_check_lib_save_LIBS
=$LIBS
9408 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9410 /* end confdefs.h. */
9412 /* Override any GCC internal prototype to avoid an error.
9413 Use char because int might match the return type of a GCC
9414 builtin and then its argument prototype would still apply. */
9418 char XkbQueryExtension ();
9422 return XkbQueryExtension ();
9427 if ac_fn_c_try_link
"$LINENO"; then :
9428 ac_cv_lib_X11_XkbQueryExtension
=yes
9430 ac_cv_lib_X11_XkbQueryExtension
=no
9432 rm -f core conftest.err conftest.
$ac_objext \
9433 conftest
$ac_exeext conftest.
$ac_ext
9434 LIBS
=$ac_check_lib_save_LIBS
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9437 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9438 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9440 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9446 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9449 $as_echo_n "checking for -lXcursor... " >&6; }
9450 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9451 $as_echo_n "(cached) " >&6
9453 ac_check_soname_save_LIBS
=$LIBS
9454 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9456 /* end confdefs.h. */
9458 /* Override any GCC internal prototype to avoid an error.
9459 Use char because int might match the return type of a GCC
9460 builtin and then its argument prototype would still apply. */
9464 char XcursorImageLoadCursor ();
9468 return XcursorImageLoadCursor ();
9473 if ac_fn_c_try_link
"$LINENO"; then :
9475 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9476 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'` ;;
9477 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9478 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9479 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9483 rm -f core conftest.err conftest.
$ac_objext \
9484 conftest
$ac_exeext conftest.
$ac_ext
9485 LIBS
=$ac_check_soname_save_LIBS
9487 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9489 $as_echo "not found" >&6; }
9492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9493 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9495 cat >>confdefs.h
<<_ACEOF
9496 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9502 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9503 case "x$with_xcursor" in
9504 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9506 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9507 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9511 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9514 $as_echo_n "checking for -lXi... " >&6; }
9515 if ${ac_cv_lib_soname_Xi+:} false
; then :
9516 $as_echo_n "(cached) " >&6
9518 ac_check_soname_save_LIBS
=$LIBS
9519 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9521 /* end confdefs.h. */
9523 /* Override any GCC internal prototype to avoid an error.
9524 Use char because int might match the return type of a GCC
9525 builtin and then its argument prototype would still apply. */
9529 char XOpenDevice ();
9533 return XOpenDevice ();
9538 if ac_fn_c_try_link
"$LINENO"; then :
9540 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9541 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'` ;;
9542 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9543 if ${ac_cv_lib_soname_Xi:+false} :; then :
9544 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9548 rm -f core conftest.err conftest.
$ac_objext \
9549 conftest
$ac_exeext conftest.
$ac_ext
9550 LIBS
=$ac_check_soname_save_LIBS
9552 if ${ac_cv_lib_soname_Xi:+false} :; then :
9553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9554 $as_echo "not found" >&6; }
9557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9558 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9560 cat >>confdefs.h
<<_ACEOF
9561 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9567 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9568 case "x$with_xinput" in
9569 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9571 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9572 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9576 if test "x$ac_cv_lib_soname_Xi" != x
9578 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9579 case "x$with_xinput2" in
9580 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9582 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9583 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9588 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9591 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9592 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9593 $as_echo_n "(cached) " >&6
9595 ac_check_lib_save_LIBS
=$LIBS
9596 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9598 /* end confdefs.h. */
9600 /* Override any GCC internal prototype to avoid an error.
9601 Use char because int might match the return type of a GCC
9602 builtin and then its argument prototype would still apply. */
9606 char XShmQueryExtension ();
9610 return XShmQueryExtension ();
9615 if ac_fn_c_try_link
"$LINENO"; then :
9616 ac_cv_lib_Xext_XShmQueryExtension
=yes
9618 ac_cv_lib_Xext_XShmQueryExtension
=no
9620 rm -f core conftest.err conftest.
$ac_objext \
9621 conftest
$ac_exeext conftest.
$ac_ext
9622 LIBS
=$ac_check_lib_save_LIBS
9624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9625 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9626 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9628 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9633 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9634 case "x$with_xshm" in
9635 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9637 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9638 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9642 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9645 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9646 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9647 $as_echo_n "(cached) " >&6
9649 ac_check_lib_save_LIBS
=$LIBS
9650 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9652 /* end confdefs.h. */
9654 /* Override any GCC internal prototype to avoid an error.
9655 Use char because int might match the return type of a GCC
9656 builtin and then its argument prototype would still apply. */
9660 char XShapeQueryExtension ();
9664 return XShapeQueryExtension ();
9669 if ac_fn_c_try_link
"$LINENO"; then :
9670 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9672 ac_cv_lib_Xext_XShapeQueryExtension
=no
9674 rm -f core conftest.err conftest.
$ac_objext \
9675 conftest
$ac_exeext conftest.
$ac_ext
9676 LIBS
=$ac_check_lib_save_LIBS
9678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9679 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9680 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9682 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9687 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9688 case "x$with_xshape" in
9689 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9691 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9692 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9696 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9699 $as_echo_n "checking for -lXxf86vm... " >&6; }
9700 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9701 $as_echo_n "(cached) " >&6
9703 ac_check_soname_save_LIBS
=$LIBS
9704 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9706 /* end confdefs.h. */
9708 /* Override any GCC internal prototype to avoid an error.
9709 Use char because int might match the return type of a GCC
9710 builtin and then its argument prototype would still apply. */
9714 char XF86VidModeQueryExtension ();
9718 return XF86VidModeQueryExtension ();
9723 if ac_fn_c_try_link
"$LINENO"; then :
9725 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9726 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'` ;;
9727 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9728 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9729 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9733 rm -f core conftest.err conftest.
$ac_objext \
9734 conftest
$ac_exeext conftest.
$ac_ext
9735 LIBS
=$ac_check_soname_save_LIBS
9737 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9739 $as_echo "not found" >&6; }
9742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9743 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9745 cat >>confdefs.h
<<_ACEOF
9746 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9752 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9753 case "x$with_xxf86vm" in
9754 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9756 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9757 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9761 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"
9763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9764 $as_echo_n "checking for -lXrender... " >&6; }
9765 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9766 $as_echo_n "(cached) " >&6
9768 ac_check_soname_save_LIBS
=$LIBS
9769 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9771 /* end confdefs.h. */
9773 /* Override any GCC internal prototype to avoid an error.
9774 Use char because int might match the return type of a GCC
9775 builtin and then its argument prototype would still apply. */
9779 char XRenderQueryExtension ();
9783 return XRenderQueryExtension ();
9788 if ac_fn_c_try_link
"$LINENO"; then :
9790 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9791 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'` ;;
9792 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9793 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9794 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9798 rm -f core conftest.err conftest.
$ac_objext \
9799 conftest
$ac_exeext conftest.
$ac_ext
9800 LIBS
=$ac_check_soname_save_LIBS
9802 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9804 $as_echo "not found" >&6; }
9807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9808 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9810 cat >>confdefs.h
<<_ACEOF
9811 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9815 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9816 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
9817 $as_echo_n "(cached) " >&6
9819 ac_check_lib_save_LIBS
=$LIBS
9820 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9822 /* end confdefs.h. */
9824 /* Override any GCC internal prototype to avoid an error.
9825 Use char because int might match the return type of a GCC
9826 builtin and then its argument prototype would still apply. */
9830 char XRenderSetPictureTransform ();
9834 return XRenderSetPictureTransform ();
9839 if ac_fn_c_try_link
"$LINENO"; then :
9840 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9842 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9844 rm -f core conftest.err conftest.
$ac_objext \
9845 conftest
$ac_exeext conftest.
$ac_ext
9846 LIBS
=$ac_check_lib_save_LIBS
9848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9849 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9850 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
9852 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9857 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9858 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
9859 $as_echo_n "(cached) " >&6
9861 ac_check_lib_save_LIBS
=$LIBS
9862 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9864 /* end confdefs.h. */
9866 /* Override any GCC internal prototype to avoid an error.
9867 Use char because int might match the return type of a GCC
9868 builtin and then its argument prototype would still apply. */
9872 char XRenderCreateLinearGradient ();
9876 return XRenderCreateLinearGradient ();
9881 if ac_fn_c_try_link
"$LINENO"; then :
9882 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
9884 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
9886 rm -f core conftest.err conftest.
$ac_objext \
9887 conftest
$ac_exeext conftest.
$ac_ext
9888 LIBS
=$ac_check_lib_save_LIBS
9890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9891 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9892 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
9894 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9901 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9902 case "x$with_xrender" in
9903 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9905 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
9906 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9910 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9913 /* end confdefs.h. */
9914 #include <X11/Xlib.h>
9915 #include <X11/extensions/Xrandr.h>
9919 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9924 if ac_fn_c_try_compile
"$LINENO"; then :
9925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9926 $as_echo_n "checking for -lXrandr... " >&6; }
9927 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
9928 $as_echo_n "(cached) " >&6
9930 ac_check_soname_save_LIBS
=$LIBS
9931 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
9932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9933 /* end confdefs.h. */
9935 /* Override any GCC internal prototype to avoid an error.
9936 Use char because int might match the return type of a GCC
9937 builtin and then its argument prototype would still apply. */
9941 char XRRQueryExtension ();
9945 return XRRQueryExtension ();
9950 if ac_fn_c_try_link
"$LINENO"; then :
9952 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9953 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'` ;;
9954 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9955 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9956 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9960 rm -f core conftest.err conftest.
$ac_objext \
9961 conftest
$ac_exeext conftest.
$ac_ext
9962 LIBS
=$ac_check_soname_save_LIBS
9964 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9966 $as_echo "not found" >&6; }
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
9970 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
9972 cat >>confdefs.h
<<_ACEOF
9973 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
9976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9977 /* end confdefs.h. */
9978 #include <X11/Xlib.h>
9979 #include <X11/extensions/Xrandr.h>
9983 static typeof(XRRGetScreenResources) *f; if (f) return 0;
9988 if ac_fn_c_try_compile
"$LINENO"; then :
9990 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
9993 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9996 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9998 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9999 case "x$with_xrandr" in
10000 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10002 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10003 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10007 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10010 /* end confdefs.h. */
10011 #include <X11/Xlib.h>
10012 #include <X11/extensions/Xinerama.h>
10016 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10021 if ac_fn_c_try_compile
"$LINENO"; then :
10022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10023 $as_echo_n "checking for -lXinerama... " >&6; }
10024 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10025 $as_echo_n "(cached) " >&6
10027 ac_check_soname_save_LIBS
=$LIBS
10028 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10030 /* end confdefs.h. */
10032 /* Override any GCC internal prototype to avoid an error.
10033 Use char because int might match the return type of a GCC
10034 builtin and then its argument prototype would still apply. */
10038 char XineramaQueryScreens ();
10042 return XineramaQueryScreens ();
10047 if ac_fn_c_try_link
"$LINENO"; then :
10049 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10050 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'` ;;
10051 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10052 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10053 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10057 rm -f core conftest.err conftest.
$ac_objext \
10058 conftest
$ac_exeext conftest.
$ac_ext
10059 LIBS
=$ac_check_soname_save_LIBS
10061 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10063 $as_echo "not found" >&6; }
10066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10067 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10069 cat >>confdefs.h
<<_ACEOF
10070 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10076 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10078 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10079 case "x$with_xinerama" in
10080 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10082 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10083 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10087 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10090 $as_echo_n "checking for -lXcomposite... " >&6; }
10091 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10092 $as_echo_n "(cached) " >&6
10094 ac_check_soname_save_LIBS
=$LIBS
10095 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10097 /* end confdefs.h. */
10099 /* Override any GCC internal prototype to avoid an error.
10100 Use char because int might match the return type of a GCC
10101 builtin and then its argument prototype would still apply. */
10105 char XCompositeRedirectWindow ();
10109 return XCompositeRedirectWindow ();
10114 if ac_fn_c_try_link
"$LINENO"; then :
10116 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10117 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'` ;;
10118 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10119 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10120 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10124 rm -f core conftest.err conftest.
$ac_objext \
10125 conftest
$ac_exeext conftest.
$ac_ext
10126 LIBS
=$ac_check_soname_save_LIBS
10128 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10130 $as_echo "not found" >&6; }
10133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10134 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10136 cat >>confdefs.h
<<_ACEOF
10137 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10143 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10144 case "x$with_xcomposite" in
10145 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10147 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10148 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10152 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10153 #include <X11/Xlib.h>
10156 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10158 cat >>confdefs.h
<<_ACEOF
10159 #define HAVE_XICCALLBACK_CALLBACK 1
10164 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10165 #include <X11/Xlib.h>
10168 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10170 cat >>confdefs.h
<<_ACEOF
10171 #define HAVE_XEVENT_XCOOKIE 1
10180 if test "x$with_opengl" != "xno"
10182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10183 $as_echo_n "checking for -lGL... " >&6; }
10184 if ${ac_cv_lib_soname_GL+:} false
; then :
10185 $as_echo_n "(cached) " >&6
10187 ac_check_soname_save_LIBS
=$LIBS
10188 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10190 /* end confdefs.h. */
10192 /* Override any GCC internal prototype to avoid an error.
10193 Use char because int might match the return type of a GCC
10194 builtin and then its argument prototype would still apply. */
10198 char glXCreateContext ();
10202 return glXCreateContext ();
10207 if ac_fn_c_try_link
"$LINENO"; then :
10209 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10210 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'` ;;
10211 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10212 if ${ac_cv_lib_soname_GL:+false} :; then :
10213 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10217 rm -f core conftest.err conftest.
$ac_objext \
10218 conftest
$ac_exeext conftest.
$ac_ext
10219 LIBS
=$ac_check_soname_save_LIBS
10221 if ${ac_cv_lib_soname_GL:+false} :; then :
10222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10223 $as_echo "not found" >&6; }
10224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10225 $as_echo_n "checking for -lGL... " >&6; }
10226 if ${ac_cv_lib_soname_GL+:} false
; then :
10227 $as_echo_n "(cached) " >&6
10229 ac_check_soname_save_LIBS
=$LIBS
10230 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"
10231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10232 /* end confdefs.h. */
10234 /* Override any GCC internal prototype to avoid an error.
10235 Use char because int might match the return type of a GCC
10236 builtin and then its argument prototype would still apply. */
10240 char glXCreateContext ();
10244 return glXCreateContext ();
10249 if ac_fn_c_try_link
"$LINENO"; then :
10251 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10252 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'` ;;
10253 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10254 if ${ac_cv_lib_soname_GL:+false} :; then :
10255 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10259 rm -f core conftest.err conftest.
$ac_objext \
10260 conftest
$ac_exeext conftest.
$ac_ext
10261 LIBS
=$ac_check_soname_save_LIBS
10263 if ${ac_cv_lib_soname_GL:+false} :; then :
10264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10265 $as_echo "not found" >&6; }
10266 if test -f /usr
/X11R
6/lib
/libGL.a
10268 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10269 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10271 opengl_msg
="No OpenGL library found on this system."
10274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10275 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10277 cat >>confdefs.h
<<_ACEOF
10278 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10281 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"
10284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10285 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10287 cat >>confdefs.h
<<_ACEOF
10288 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10293 if test "x$with_glu" != "xno"
10295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10296 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10297 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10298 $as_echo_n "(cached) " >&6
10300 ac_check_lib_save_LIBS
=$LIBS
10301 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10303 /* end confdefs.h. */
10305 /* Override any GCC internal prototype to avoid an error.
10306 Use char because int might match the return type of a GCC
10307 builtin and then its argument prototype would still apply. */
10315 return gluLookAt ();
10320 if ac_fn_c_try_link
"$LINENO"; then :
10321 ac_cv_lib_GLU_gluLookAt
=yes
10323 ac_cv_lib_GLU_gluLookAt
=no
10325 rm -f core conftest.err conftest.
$ac_objext \
10326 conftest
$ac_exeext conftest.
$ac_ext
10327 LIBS
=$ac_check_lib_save_LIBS
10329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10330 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10331 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10335 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10336 case "x$with_glu" in
10337 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10339 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10340 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10345 if test "x$with_osmesa" != "xno"
10347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10348 $as_echo_n "checking for -lOSMesa... " >&6; }
10349 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10350 $as_echo_n "(cached) " >&6
10352 ac_check_soname_save_LIBS
=$LIBS
10353 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10355 /* end confdefs.h. */
10357 /* Override any GCC internal prototype to avoid an error.
10358 Use char because int might match the return type of a GCC
10359 builtin and then its argument prototype would still apply. */
10372 if ac_fn_c_try_link
"$LINENO"; then :
10374 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10375 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'` ;;
10376 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10377 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10378 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10382 rm -f core conftest.err conftest.
$ac_objext \
10383 conftest
$ac_exeext conftest.
$ac_ext
10384 LIBS
=$ac_check_soname_save_LIBS
10386 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10388 $as_echo "not found" >&6; }
10391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10392 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10394 cat >>confdefs.h
<<_ACEOF
10395 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10400 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10401 case "x$with_osmesa" in
10402 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10404 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10405 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10410 if test -n "$opengl_msg"; then :
10411 case "x$with_opengl" in
10412 x
) as_fn_append wine_warnings
"|$opengl_msg
10413 OpenGL and Direct3D won't be supported." ;;
10415 *) as_fn_error $?
"$opengl_msg
10416 OpenGL and Direct3D won't be supported.
10417 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10421 CPPFLAGS
="$ac_save_CPPFLAGS"
10425 enable_winex11_drv
=${enable_winex11_drv:-no}
10427 if test "x$X_LIBS" = "x"; then :
10430 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10431 without X support, which probably isn't what you want. You will need
10432 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10433 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10437 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10439 if test "$ac_cv_header_CL_cl_h" = "yes"
10441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10442 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10443 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10444 $as_echo_n "(cached) " >&6
10446 ac_check_lib_save_LIBS
=$LIBS
10447 LIBS
="-lOpenCL $LIBS"
10448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10449 /* end confdefs.h. */
10451 /* Override any GCC internal prototype to avoid an error.
10452 Use char because int might match the return type of a GCC
10453 builtin and then its argument prototype would still apply. */
10457 char clGetPlatformInfo ();
10461 return clGetPlatformInfo ();
10466 if ac_fn_c_try_link
"$LINENO"; then :
10467 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10469 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10471 rm -f core conftest.err conftest.
$ac_objext \
10472 conftest
$ac_exeext conftest.
$ac_ext
10473 LIBS
=$ac_check_lib_save_LIBS
10475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10476 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10477 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10478 OPENCL_LIBS
="-lOpenCL"
10483 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10484 case "x$with_opencl" in
10485 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10487 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10488 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10491 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10494 if test "x$with_xml" != "xno"
10496 if ${XML2_CFLAGS:+false} :; then :
10497 if ${PKG_CONFIG+:} false
; then :
10498 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10501 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10502 if ${XML2_LIBS:+false} :; then :
10503 if ${PKG_CONFIG+:} false
; then :
10504 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10507 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10508 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10509 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10510 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10511 ac_save_CPPFLAGS
=$CPPFLAGS
10512 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10513 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10515 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10516 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10517 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10518 cat >>confdefs.h
<<_ACEOF
10519 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10526 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"
10528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10529 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10530 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10531 $as_echo_n "(cached) " >&6
10533 ac_check_lib_save_LIBS
=$LIBS
10534 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10536 /* end confdefs.h. */
10538 /* Override any GCC internal prototype to avoid an error.
10539 Use char because int might match the return type of a GCC
10540 builtin and then its argument prototype would still apply. */
10544 char xmlParseMemory ();
10548 return xmlParseMemory ();
10553 if ac_fn_c_try_link
"$LINENO"; then :
10554 ac_cv_lib_xml2_xmlParseMemory
=yes
10556 ac_cv_lib_xml2_xmlParseMemory
=no
10558 rm -f core conftest.err conftest.
$ac_objext \
10559 conftest
$ac_exeext conftest.
$ac_ext
10560 LIBS
=$ac_check_lib_save_LIBS
10562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10563 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10564 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10566 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10573 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10574 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10575 $as_echo_n "(cached) " >&6
10577 ac_check_lib_save_LIBS
=$LIBS
10578 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10580 /* end confdefs.h. */
10582 /* Override any GCC internal prototype to avoid an error.
10583 Use char because int might match the return type of a GCC
10584 builtin and then its argument prototype would still apply. */
10588 char xmlReadMemory ();
10592 return xmlReadMemory ();
10597 if ac_fn_c_try_link
"$LINENO"; then :
10598 ac_cv_lib_xml2_xmlReadMemory
=yes
10600 ac_cv_lib_xml2_xmlReadMemory
=no
10602 rm -f core conftest.err conftest.
$ac_objext \
10603 conftest
$ac_exeext conftest.
$ac_ext
10604 LIBS
=$ac_check_lib_save_LIBS
10606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10607 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10608 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10610 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10615 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10616 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10617 $as_echo_n "(cached) " >&6
10619 ac_check_lib_save_LIBS
=$LIBS
10620 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10622 /* end confdefs.h. */
10624 /* Override any GCC internal prototype to avoid an error.
10625 Use char because int might match the return type of a GCC
10626 builtin and then its argument prototype would still apply. */
10630 char xmlNewDocPI ();
10634 return xmlNewDocPI ();
10639 if ac_fn_c_try_link
"$LINENO"; then :
10640 ac_cv_lib_xml2_xmlNewDocPI
=yes
10642 ac_cv_lib_xml2_xmlNewDocPI
=no
10644 rm -f core conftest.err conftest.
$ac_objext \
10645 conftest
$ac_exeext conftest.
$ac_ext
10646 LIBS
=$ac_check_lib_save_LIBS
10648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10649 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10650 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10652 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10657 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10658 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10659 $as_echo_n "(cached) " >&6
10661 ac_check_lib_save_LIBS
=$LIBS
10662 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10664 /* end confdefs.h. */
10666 /* Override any GCC internal prototype to avoid an error.
10667 Use char because int might match the return type of a GCC
10668 builtin and then its argument prototype would still apply. */
10672 char xmlSchemaSetParserStructuredErrors ();
10676 return xmlSchemaSetParserStructuredErrors ();
10681 if ac_fn_c_try_link
"$LINENO"; then :
10682 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10684 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10686 rm -f core conftest.err conftest.
$ac_objext \
10687 conftest
$ac_exeext conftest.
$ac_ext
10688 LIBS
=$ac_check_lib_save_LIBS
10690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10691 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10692 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10694 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10699 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10700 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10701 $as_echo_n "(cached) " >&6
10703 ac_check_lib_save_LIBS
=$LIBS
10704 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10706 /* end confdefs.h. */
10708 /* Override any GCC internal prototype to avoid an error.
10709 Use char because int might match the return type of a GCC
10710 builtin and then its argument prototype would still apply. */
10714 char xmlSchemaSetValidStructuredErrors ();
10718 return xmlSchemaSetValidStructuredErrors ();
10723 if ac_fn_c_try_link
"$LINENO"; then :
10724 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
10726 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
10728 rm -f core conftest.err conftest.
$ac_objext \
10729 conftest
$ac_exeext conftest.
$ac_ext
10730 LIBS
=$ac_check_lib_save_LIBS
10732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10733 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10734 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
10736 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10741 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10742 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
10743 $as_echo_n "(cached) " >&6
10745 ac_check_lib_save_LIBS
=$LIBS
10746 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10748 /* end confdefs.h. */
10750 /* Override any GCC internal prototype to avoid an error.
10751 Use char because int might match the return type of a GCC
10752 builtin and then its argument prototype would still apply. */
10756 char xmlFirstElementChild ();
10760 return xmlFirstElementChild ();
10765 if ac_fn_c_try_link
"$LINENO"; then :
10766 ac_cv_lib_xml2_xmlFirstElementChild
=yes
10768 ac_cv_lib_xml2_xmlFirstElementChild
=no
10770 rm -f core conftest.err conftest.
$ac_objext \
10771 conftest
$ac_exeext conftest.
$ac_ext
10772 LIBS
=$ac_check_lib_save_LIBS
10774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10775 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10776 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
10778 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10782 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10784 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
10786 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10794 CPPFLAGS
=$ac_save_CPPFLAGS
10795 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10796 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10799 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10800 case "x$with_xml" in
10801 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10803 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10804 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10808 if test "x$with_xslt" != "xno"
10810 if ${XSLT_CFLAGS:+false} :; then :
10811 if ${PKG_CONFIG+:} false
; then :
10812 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10815 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10816 if ${XSLT_LIBS:+false} :; then :
10817 if ${PKG_CONFIG+:} false
; then :
10818 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10821 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10822 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
10823 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10824 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10825 ac_save_CPPFLAGS
=$CPPFLAGS
10826 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
10827 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
10829 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10830 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10831 # include <libxslt/pattern.h>
10834 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10835 cat >>confdefs.h
<<_ACEOF
10836 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10843 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10846 $as_echo_n "checking for -lxslt... " >&6; }
10847 if ${ac_cv_lib_soname_xslt+:} false
; then :
10848 $as_echo_n "(cached) " >&6
10850 ac_check_soname_save_LIBS
=$LIBS
10851 LIBS
="-lxslt $XSLT_LIBS $LIBS"
10852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10853 /* end confdefs.h. */
10855 /* Override any GCC internal prototype to avoid an error.
10856 Use char because int might match the return type of a GCC
10857 builtin and then its argument prototype would still apply. */
10861 char xsltCompilePattern ();
10865 return xsltCompilePattern ();
10870 if ac_fn_c_try_link
"$LINENO"; then :
10872 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10873 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'` ;;
10874 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10875 if ${ac_cv_lib_soname_xslt:+false} :; then :
10876 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10880 rm -f core conftest.err conftest.
$ac_objext \
10881 conftest
$ac_exeext conftest.
$ac_ext
10882 LIBS
=$ac_check_soname_save_LIBS
10884 if ${ac_cv_lib_soname_xslt:+false} :; then :
10885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10886 $as_echo "not found" >&6; }
10889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10890 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10892 cat >>confdefs.h
<<_ACEOF
10893 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10901 CPPFLAGS
=$ac_save_CPPFLAGS
10902 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10903 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10906 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10907 case "x$with_xslt" in
10908 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10910 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
10911 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10915 if test "x$with_dbus" != "xno"
10917 if ${DBUS_CFLAGS:+false} :; then :
10918 if ${PKG_CONFIG+:} false
; then :
10919 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10923 if ${DBUS_LIBS:+false} :; then :
10924 if ${PKG_CONFIG+:} false
; then :
10925 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10930 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
10931 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
10932 ac_save_CPPFLAGS
=$CPPFLAGS
10933 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
10934 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10935 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
10936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10937 $as_echo_n "checking for -ldbus-1... " >&6; }
10938 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
10939 $as_echo_n "(cached) " >&6
10941 ac_check_soname_save_LIBS
=$LIBS
10942 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
10943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10944 /* end confdefs.h. */
10946 /* Override any GCC internal prototype to avoid an error.
10947 Use char because int might match the return type of a GCC
10948 builtin and then its argument prototype would still apply. */
10952 char dbus_connection_close ();
10956 return dbus_connection_close ();
10961 if ac_fn_c_try_link
"$LINENO"; then :
10963 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10964 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'` ;;
10965 *) 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'`
10966 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
10967 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10971 rm -f core conftest.err conftest.
$ac_objext \
10972 conftest
$ac_exeext conftest.
$ac_ext
10973 LIBS
=$ac_check_soname_save_LIBS
10975 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
10976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10977 $as_echo "not found" >&6; }
10980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
10981 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
10983 cat >>confdefs.h
<<_ACEOF
10984 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
10994 CPPFLAGS
=$ac_save_CPPFLAGS
10995 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10996 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10999 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11000 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11001 case "x$with_dbus" in
11002 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11004 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11005 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11009 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11011 if ${HAL_CFLAGS:+false} :; then :
11012 if ${PKG_CONFIG+:} false
; then :
11013 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11017 if ${HAL_LIBS:+false} :; then :
11018 if ${PKG_CONFIG+:} false
; then :
11019 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11023 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11024 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11025 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11026 ac_save_CPPFLAGS
=$CPPFLAGS
11027 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11028 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11029 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11031 $as_echo_n "checking for -lhal... " >&6; }
11032 if ${ac_cv_lib_soname_hal+:} false
; then :
11033 $as_echo_n "(cached) " >&6
11035 ac_check_soname_save_LIBS
=$LIBS
11036 LIBS
="-lhal $HAL_LIBS $LIBS"
11037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11038 /* end confdefs.h. */
11040 /* Override any GCC internal prototype to avoid an error.
11041 Use char because int might match the return type of a GCC
11042 builtin and then its argument prototype would still apply. */
11046 char libhal_ctx_new ();
11050 return libhal_ctx_new ();
11055 if ac_fn_c_try_link
"$LINENO"; then :
11057 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11058 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'` ;;
11059 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11060 if ${ac_cv_lib_soname_hal:+false} :; then :
11061 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11065 rm -f core conftest.err conftest.
$ac_objext \
11066 conftest
$ac_exeext conftest.
$ac_ext
11067 LIBS
=$ac_check_soname_save_LIBS
11069 if ${ac_cv_lib_soname_hal:+false} :; then :
11070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11071 $as_echo "not found" >&6; }
11074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11075 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11077 cat >>confdefs.h
<<_ACEOF
11078 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11088 CPPFLAGS
=$ac_save_CPPFLAGS
11089 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11090 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11092 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11093 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11094 case "x$with_hal" in
11095 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11097 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11098 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11103 if test "x$with_gnutls" != "xno"
11105 if ${GNUTLS_CFLAGS:+false} :; then :
11106 if ${PKG_CONFIG+:} false
; then :
11107 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11111 if ${GNUTLS_LIBS:+false} :; then :
11112 if ${PKG_CONFIG+:} false
; then :
11113 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11118 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11119 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11120 ac_save_CPPFLAGS
=$CPPFLAGS
11121 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11122 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11123 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11125 /* end confdefs.h. */
11126 #include <gnutls/gnutls.h>
11127 #include <gnutls/crypto.h>
11131 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11136 if ac_fn_c_try_compile
"$LINENO"; then :
11137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11138 $as_echo_n "checking for -lgnutls... " >&6; }
11139 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11140 $as_echo_n "(cached) " >&6
11142 ac_check_soname_save_LIBS
=$LIBS
11143 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11145 /* end confdefs.h. */
11147 /* Override any GCC internal prototype to avoid an error.
11148 Use char because int might match the return type of a GCC
11149 builtin and then its argument prototype would still apply. */
11153 char gnutls_global_init ();
11157 return gnutls_global_init ();
11162 if ac_fn_c_try_link
"$LINENO"; then :
11164 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11165 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'` ;;
11166 *) ac_cv_lib_soname_gnutls
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11167 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11168 ac_cv_lib_soname_gnutls
=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11172 rm -f core conftest.err conftest.
$ac_objext \
11173 conftest
$ac_exeext conftest.
$ac_ext
11174 LIBS
=$ac_check_soname_save_LIBS
11176 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11178 $as_echo "not found" >&6; }
11181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11182 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11184 cat >>confdefs.h
<<_ACEOF
11185 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11191 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11197 CPPFLAGS
=$ac_save_CPPFLAGS
11198 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11199 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11202 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11203 case "x$with_gnutls" in
11204 x
) as_fn_append wine_notices
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11206 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11207 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11212 if test "$ac_cv_header_ncurses_h" = "yes"
11214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11215 $as_echo_n "checking for -lncurses... " >&6; }
11216 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11217 $as_echo_n "(cached) " >&6
11219 ac_check_soname_save_LIBS
=$LIBS
11220 LIBS
="-lncurses $LIBS"
11221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11222 /* end confdefs.h. */
11224 /* Override any GCC internal prototype to avoid an error.
11225 Use char because int might match the return type of a GCC
11226 builtin and then its argument prototype would still apply. */
11239 if ac_fn_c_try_link
"$LINENO"; then :
11241 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11242 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'` ;;
11243 *) ac_cv_lib_soname_ncurses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11244 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11245 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11249 rm -f core conftest.err conftest.
$ac_objext \
11250 conftest
$ac_exeext conftest.
$ac_ext
11251 LIBS
=$ac_check_soname_save_LIBS
11253 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11255 $as_echo "not found" >&6; }
11258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11259 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11261 cat >>confdefs.h
<<_ACEOF
11262 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11265 CURSES_LIBS
="-lncurses"
11267 elif test "$ac_cv_header_curses_h" = "yes"
11269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11270 $as_echo_n "checking for -lcurses... " >&6; }
11271 if ${ac_cv_lib_soname_curses+:} false
; then :
11272 $as_echo_n "(cached) " >&6
11274 ac_check_soname_save_LIBS
=$LIBS
11275 LIBS
="-lcurses $LIBS"
11276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11277 /* end confdefs.h. */
11279 /* Override any GCC internal prototype to avoid an error.
11280 Use char because int might match the return type of a GCC
11281 builtin and then its argument prototype would still apply. */
11294 if ac_fn_c_try_link
"$LINENO"; then :
11296 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11297 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'` ;;
11298 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11299 if ${ac_cv_lib_soname_curses:+false} :; then :
11300 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11304 rm -f core conftest.err conftest.
$ac_objext \
11305 conftest
$ac_exeext conftest.
$ac_ext
11306 LIBS
=$ac_check_soname_save_LIBS
11308 if ${ac_cv_lib_soname_curses:+false} :; then :
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11310 $as_echo "not found" >&6; }
11313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11314 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11316 cat >>confdefs.h
<<_ACEOF
11317 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11320 CURSES_LIBS
="-lcurses"
11323 ac_save_LIBS
="$LIBS"
11324 LIBS
="$LIBS $CURSES_LIBS"
11325 for ac_func
in mousemask
11327 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11328 if test "x$ac_cv_func_mousemask" = xyes
; then :
11329 cat >>confdefs.h
<<_ACEOF
11330 #define HAVE_MOUSEMASK 1
11336 LIBS
="$ac_save_LIBS"
11337 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11338 case "x$with_curses" in
11339 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11341 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11342 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11346 if test "x$with_sane" != "xno"
11348 if ${SANE_CFLAGS:+false} :; then :
11349 if ${PKG_CONFIG+:} false
; then :
11350 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11353 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11354 if ${SANE_LIBS:+false} :; then :
11355 if ${PKG_CONFIG+:} false
; then :
11356 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11359 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11361 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11362 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11363 ac_save_CPPFLAGS
=$CPPFLAGS
11364 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11365 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11366 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11368 $as_echo_n "checking for -lsane... " >&6; }
11369 if ${ac_cv_lib_soname_sane+:} false
; then :
11370 $as_echo_n "(cached) " >&6
11372 ac_check_soname_save_LIBS
=$LIBS
11373 LIBS
="-lsane $SANE_LIBS $LIBS"
11374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11375 /* end confdefs.h. */
11377 /* Override any GCC internal prototype to avoid an error.
11378 Use char because int might match the return type of a GCC
11379 builtin and then its argument prototype would still apply. */
11387 return sane_init ();
11392 if ac_fn_c_try_link
"$LINENO"; then :
11394 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11395 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'` ;;
11396 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11397 if ${ac_cv_lib_soname_sane:+false} :; then :
11398 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11402 rm -f core conftest.err conftest.
$ac_objext \
11403 conftest
$ac_exeext conftest.
$ac_ext
11404 LIBS
=$ac_check_soname_save_LIBS
11406 if ${ac_cv_lib_soname_sane:+false} :; then :
11407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11408 $as_echo "not found" >&6; }
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11412 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11414 cat >>confdefs.h
<<_ACEOF
11415 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11425 CPPFLAGS
=$ac_save_CPPFLAGS
11426 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11427 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11430 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11431 case "x$with_sane" in
11432 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11434 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11435 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11439 if test "x$with_v4l" != "xno"
11441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11442 $as_echo_n "checking for -lv4l1... " >&6; }
11443 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11444 $as_echo_n "(cached) " >&6
11446 ac_check_soname_save_LIBS
=$LIBS
11447 LIBS
="-lv4l1 $LIBS"
11448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11449 /* end confdefs.h. */
11451 /* Override any GCC internal prototype to avoid an error.
11452 Use char because int might match the return type of a GCC
11453 builtin and then its argument prototype would still apply. */
11461 return v4l1_open ();
11466 if ac_fn_c_try_link
"$LINENO"; then :
11468 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11469 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'` ;;
11470 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11471 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11472 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11476 rm -f core conftest.err conftest.
$ac_objext \
11477 conftest
$ac_exeext conftest.
$ac_ext
11478 LIBS
=$ac_check_soname_save_LIBS
11480 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11482 $as_echo "not found" >&6; }
11485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11486 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11488 cat >>confdefs.h
<<_ACEOF
11489 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11495 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11496 case "x$with_v4l" in
11497 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11499 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11500 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11504 if test "x$with_gphoto" != "xno"
11506 if ${GPHOTO2_CFLAGS:+false} :; then :
11507 if ${PKG_CONFIG+:} false
; then :
11508 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11511 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11512 if ${GPHOTO2_LIBS:+false} :; then :
11513 if ${PKG_CONFIG+:} false
; then :
11514 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11517 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11518 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11519 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11520 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11521 ac_save_CPPFLAGS
=$CPPFLAGS
11522 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11523 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11524 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11526 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11527 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11528 $as_echo_n "(cached) " >&6
11530 ac_check_lib_save_LIBS
=$LIBS
11531 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11533 /* end confdefs.h. */
11535 /* Override any GCC internal prototype to avoid an error.
11536 Use char because int might match the return type of a GCC
11537 builtin and then its argument prototype would still apply. */
11541 char gp_camera_new ();
11545 return gp_camera_new ();
11550 if ac_fn_c_try_link
"$LINENO"; then :
11551 ac_cv_lib_gphoto2_gp_camera_new
=yes
11553 ac_cv_lib_gphoto2_gp_camera_new
=no
11555 rm -f core conftest.err conftest.
$ac_objext \
11556 conftest
$ac_exeext conftest.
$ac_ext
11557 LIBS
=$ac_check_lib_save_LIBS
11559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11560 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11561 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11563 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11566 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11570 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11574 CPPFLAGS
=$ac_save_CPPFLAGS
11575 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11576 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11578 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11579 if ${PKG_CONFIG+:} false
; then :
11580 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11583 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11584 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11585 if ${PKG_CONFIG+:} false
; then :
11586 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11589 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11590 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11591 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11592 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11593 ac_save_CPPFLAGS
=$CPPFLAGS
11594 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11595 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11596 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11598 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11599 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11600 $as_echo_n "(cached) " >&6
11602 ac_check_lib_save_LIBS
=$LIBS
11603 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11604 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11605 /* end confdefs.h. */
11607 /* Override any GCC internal prototype to avoid an error.
11608 Use char because int might match the return type of a GCC
11609 builtin and then its argument prototype would still apply. */
11613 char gp_port_info_list_new ();
11617 return gp_port_info_list_new ();
11622 if ac_fn_c_try_link
"$LINENO"; then :
11623 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11625 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11627 rm -f core conftest.err conftest.
$ac_objext \
11628 conftest
$ac_exeext conftest.
$ac_ext
11629 LIBS
=$ac_check_lib_save_LIBS
11631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11632 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11633 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11635 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11638 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11642 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11646 CPPFLAGS
=$ac_save_CPPFLAGS
11647 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11648 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11651 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11652 case "x$with_gphoto" in
11653 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11655 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11656 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11659 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11660 case "x$with_gphoto" in
11661 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11663 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11664 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11669 if test "$ac_cv_header_resolv_h" = "yes"
11671 ac_save_LIBS
="$LIBS"
11672 for lib
in '' -lresolv
11674 LIBS
="$lib $ac_save_LIBS"
11675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11676 /* end confdefs.h. */
11677 #ifdef HAVE_NETINET_IN_H
11678 #include <netinet/in.h>
11680 #include <resolv.h>
11684 res_query("foo",ns_c_in,0,0,0);
11689 if ac_fn_c_try_link
"$LINENO"; then :
11691 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11696 rm -f core conftest.err conftest.
$ac_objext \
11697 conftest
$ac_exeext conftest.
$ac_ext
11698 if test "${RESOLV_LIBS+set}" = set; then
11702 LIBS
="$ac_save_LIBS"
11705 if test "x$with_lcms2" != "xno"
11707 if ${LCMS2_CFLAGS:+false} :; then :
11708 if ${PKG_CONFIG+:} false
; then :
11709 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11713 if ${LCMS2_LIBS:+false} :; then :
11714 if ${PKG_CONFIG+:} false
; then :
11715 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11719 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
11720 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11721 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11722 ac_save_CPPFLAGS
=$CPPFLAGS
11723 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
11724 for ac_header
in lcms2.h
11726 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11727 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
11728 cat >>confdefs.h
<<_ACEOF
11729 #define HAVE_LCMS2_H 1
11736 if test "$ac_cv_header_lcms2_h" = "yes"
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11739 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11740 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
11741 $as_echo_n "(cached) " >&6
11743 ac_check_lib_save_LIBS
=$LIBS
11744 LIBS
="-llcms2 $LIBS"
11745 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11746 /* end confdefs.h. */
11748 /* Override any GCC internal prototype to avoid an error.
11749 Use char because int might match the return type of a GCC
11750 builtin and then its argument prototype would still apply. */
11754 char cmsOpenProfileFromFile ();
11758 return cmsOpenProfileFromFile ();
11763 if ac_fn_c_try_link
"$LINENO"; then :
11764 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
11766 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
11768 rm -f core conftest.err conftest.
$ac_objext \
11769 conftest
$ac_exeext conftest.
$ac_ext
11770 LIBS
=$ac_check_lib_save_LIBS
11772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11773 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11774 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
11776 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11786 CPPFLAGS
=$ac_save_CPPFLAGS
11787 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11788 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11791 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11792 case "x$with_cms" in
11793 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11795 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11796 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11800 if test "x$with_freetype" != "xno"
11802 if ${FREETYPE_CFLAGS:+false} :; then :
11803 if ${PKG_CONFIG+:} false
; then :
11804 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11807 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11808 if ${FREETYPE_LIBS:+false} :; then :
11809 if ${PKG_CONFIG+:} false
; then :
11810 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11813 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11814 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
11815 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11816 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11817 ac_save_CPPFLAGS
=$CPPFLAGS
11818 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
11819 for ac_header
in ft2build.h
11821 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11822 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
11823 cat >>confdefs.h
<<_ACEOF
11824 #define HAVE_FT2BUILD_H 1
11831 if test "$ac_cv_header_ft2build_h" = "yes"
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11834 $as_echo_n "checking for -lfreetype... " >&6; }
11835 if ${ac_cv_lib_soname_freetype+:} false
; then :
11836 $as_echo_n "(cached) " >&6
11838 ac_check_soname_save_LIBS
=$LIBS
11839 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
11840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11841 /* end confdefs.h. */
11843 /* Override any GCC internal prototype to avoid an error.
11844 Use char because int might match the return type of a GCC
11845 builtin and then its argument prototype would still apply. */
11849 char FT_Init_FreeType ();
11853 return FT_Init_FreeType ();
11858 if ac_fn_c_try_link
"$LINENO"; then :
11860 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11861 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'` ;;
11862 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11863 if ${ac_cv_lib_soname_freetype:+false} :; then :
11864 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11868 rm -f core conftest.err conftest.
$ac_objext \
11869 conftest
$ac_exeext conftest.
$ac_ext
11870 LIBS
=$ac_check_soname_save_LIBS
11872 if ${ac_cv_lib_soname_freetype:+false} :; then :
11873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11874 $as_echo "not found" >&6; }
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11878 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11880 cat >>confdefs.h
<<_ACEOF
11881 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11885 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11887 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
11888 #include FT_MODULE_H
11890 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
11892 cat >>confdefs.h
<<_ACEOF
11893 #define HAVE_FT_TRUETYPEENGINETYPE 1
11904 CPPFLAGS
=$ac_save_CPPFLAGS
11905 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11906 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11909 if test "x$ac_cv_lib_soname_freetype" = x
; then :
11910 case "x$with_freetype" in
11912 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
11913 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
11916 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
11918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
11919 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
11920 if ${ac_cv_c_ppdev+:} false
; then :
11921 $as_echo_n "(cached) " >&6
11923 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11924 /* end confdefs.h. */
11925 #ifdef HAVE_SYS_IOCTL_H
11926 # include <sys/ioctl.h>
11928 #include <linux/ppdev.h>
11932 ioctl (1,PPCLAIM,0)
11937 if ac_fn_c_try_compile
"$LINENO"; then :
11938 ac_cv_c_ppdev
="yes"
11942 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11945 $as_echo "$ac_cv_c_ppdev" >&6; }
11946 if test "$ac_cv_c_ppdev" = "yes"
11949 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11953 ac_wine_check_funcs_save_LIBS
="$LIBS"
11954 LIBS
="$LIBS $PTHREAD_LIBS"
11956 pthread_attr_get_np \
11957 pthread_getattr_np \
11958 pthread_getthreadid_np \
11959 pthread_get_stackaddr_np \
11960 pthread_get_stacksize_np
11962 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11963 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11964 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11965 cat >>confdefs.h
<<_ACEOF
11966 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11972 LIBS
="$ac_wine_check_funcs_save_LIBS"
11974 if test "$ac_cv_header_zlib_h" = "yes"
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11977 $as_echo_n "checking for inflate in -lz... " >&6; }
11978 if ${ac_cv_lib_z_inflate+:} false
; then :
11979 $as_echo_n "(cached) " >&6
11981 ac_check_lib_save_LIBS
=$LIBS
11983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11984 /* end confdefs.h. */
11986 /* Override any GCC internal prototype to avoid an error.
11987 Use char because int might match the return type of a GCC
11988 builtin and then its argument prototype would still apply. */
12001 if ac_fn_c_try_link
"$LINENO"; then :
12002 ac_cv_lib_z_inflate
=yes
12004 ac_cv_lib_z_inflate
=no
12006 rm -f core conftest.err conftest.
$ac_objext \
12007 conftest
$ac_exeext conftest.
$ac_ext
12008 LIBS
=$ac_check_lib_save_LIBS
12010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12011 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12012 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12014 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12021 if test "x$Z_LIBS" = "x"; then :
12022 case "x$with_zlib" in
12023 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12025 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12026 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12030 if test "x$enable_tools" != xno
12032 if test "$ac_cv_header_gettext_po_h" = "yes"
12034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12035 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12036 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12037 $as_echo_n "(cached) " >&6
12039 ac_check_lib_save_LIBS
=$LIBS
12040 LIBS
="-lgettextpo $LIBS"
12041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12042 /* end confdefs.h. */
12044 /* Override any GCC internal prototype to avoid an error.
12045 Use char because int might match the return type of a GCC
12046 builtin and then its argument prototype would still apply. */
12050 char po_message_msgctxt ();
12054 return po_message_msgctxt ();
12059 if ac_fn_c_try_link
"$LINENO"; then :
12060 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12062 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12064 rm -f core conftest.err conftest.
$ac_objext \
12065 conftest
$ac_exeext conftest.
$ac_ext
12066 LIBS
=$ac_check_lib_save_LIBS
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12069 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12070 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12072 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12074 GETTEXTPO_LIBS
="-lgettextpo"
12079 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12080 case "x$with_gettextpo" in
12081 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12083 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12084 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12089 if test "x$with_gstreamer" != "xno"
12091 if ${GSTREAMER_CFLAGS:+false} :; then :
12092 if ${PKG_CONFIG+:} false
; then :
12093 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12097 if ${GSTREAMER_LIBS:+false} :; then :
12098 if ${PKG_CONFIG+:} false
; then :
12099 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12104 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12105 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12106 ac_save_CPPFLAGS
=$CPPFLAGS
12107 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12109 for i
in $GSTREAMER_CFLAGS
12112 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12115 GSTREAMER_CFLAGS
=$ac_gst_incl
12116 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12117 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12118 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12119 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12120 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12122 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12124 /* end confdefs.h. */
12125 #include <gst/app/gstappsink.h>
12129 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12134 if ac_fn_c_try_compile
"$LINENO"; then :
12135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12136 $as_echo "yes" >&6; }
12137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12138 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12139 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12140 $as_echo_n "(cached) " >&6
12142 ac_check_lib_save_LIBS
=$LIBS
12143 LIBS
="-lgstreamer-0.10 $LIBS"
12144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12145 /* end confdefs.h. */
12147 /* Override any GCC internal prototype to avoid an error.
12148 Use char because int might match the return type of a GCC
12149 builtin and then its argument prototype would still apply. */
12153 char gst_pad_get_caps_reffed ();
12157 return gst_pad_get_caps_reffed ();
12162 if ac_fn_c_try_link
"$LINENO"; then :
12163 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12165 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12167 rm -f core conftest.err conftest.
$ac_objext \
12168 conftest
$ac_exeext conftest.
$ac_ext
12169 LIBS
=$ac_check_lib_save_LIBS
12171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12172 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12173 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12175 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12176 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12177 $as_echo_n "(cached) " >&6
12179 ac_check_lib_save_LIBS
=$LIBS
12180 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12182 /* end confdefs.h. */
12184 /* Override any GCC internal prototype to avoid an error.
12185 Use char because int might match the return type of a GCC
12186 builtin and then its argument prototype would still apply. */
12190 char gst_app_buffer_new ();
12194 return gst_app_buffer_new ();
12199 if ac_fn_c_try_link
"$LINENO"; then :
12200 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12202 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12204 rm -f core conftest.err conftest.
$ac_objext \
12205 conftest
$ac_exeext conftest.
$ac_ext
12206 LIBS
=$ac_check_lib_save_LIBS
12208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12209 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12210 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12218 $as_echo "no" >&6; }
12220 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12225 GSTREAMER_CFLAGS
=""
12229 CPPFLAGS
=$ac_save_CPPFLAGS
12230 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12231 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12234 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12235 case "x$with_gstreamer" in
12236 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12238 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12239 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12242 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12246 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12249 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12250 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12251 $as_echo_n "(cached) " >&6
12253 ac_check_lib_save_LIBS
=$LIBS
12254 LIBS
="-lasound $LIBS"
12255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12256 /* end confdefs.h. */
12258 /* Override any GCC internal prototype to avoid an error.
12259 Use char because int might match the return type of a GCC
12260 builtin and then its argument prototype would still apply. */
12264 char snd_pcm_hw_params_get_access_mask ();
12268 return snd_pcm_hw_params_get_access_mask ();
12273 if ac_fn_c_try_link
"$LINENO"; then :
12274 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12276 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12278 rm -f core conftest.err conftest.
$ac_objext \
12279 conftest
$ac_exeext conftest.
$ac_ext
12280 LIBS
=$ac_check_lib_save_LIBS
12282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12283 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12284 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12286 /* end confdefs.h. */
12287 #ifdef HAVE_ALSA_ASOUNDLIB_H
12288 #include <alsa/asoundlib.h>
12289 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12290 #include <sys/asoundlib.h>
12295 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12300 if ac_fn_c_try_compile
"$LINENO"; then :
12301 ALSA_LIBS
="-lasound"
12303 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12308 if test "x$with_oss" != xno
12310 ac_save_CPPFLAGS
="$CPPFLAGS"
12311 if test -f /etc
/oss.conf
12315 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12316 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12317 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12318 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12319 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12321 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12323 cat >>confdefs.h
<<_ACEOF
12324 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12327 OSS4_CFLAGS
="$ac_oss_incl"
12334 CPPFLAGS
="$ac_save_CPPFLAGS"
12335 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12337 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12341 if test "x$with_capi" != "xno"
12343 if ${CAPI20_CFLAGS:+false} :; then :
12344 if ${PKG_CONFIG+:} false
; then :
12345 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12349 if ${CAPI20_LIBS:+false} :; then :
12350 if ${PKG_CONFIG+:} false
; then :
12351 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12356 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12357 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12358 ac_save_CPPFLAGS
=$CPPFLAGS
12359 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12360 for ac_header
in capi20.h linux
/capi.h
12362 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12363 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12365 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12366 cat >>confdefs.h
<<_ACEOF
12367 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12374 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12377 $as_echo_n "checking for -lcapi20... " >&6; }
12378 if ${ac_cv_lib_soname_capi20+:} false
; then :
12379 $as_echo_n "(cached) " >&6
12381 ac_check_soname_save_LIBS
=$LIBS
12382 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12384 /* end confdefs.h. */
12386 /* Override any GCC internal prototype to avoid an error.
12387 Use char because int might match the return type of a GCC
12388 builtin and then its argument prototype would still apply. */
12392 char capi20_register ();
12396 return capi20_register ();
12401 if ac_fn_c_try_link
"$LINENO"; then :
12403 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12404 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'` ;;
12405 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12406 if ${ac_cv_lib_soname_capi20:+false} :; then :
12407 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12411 rm -f core conftest.err conftest.
$ac_objext \
12412 conftest
$ac_exeext conftest.
$ac_ext
12413 LIBS
=$ac_check_soname_save_LIBS
12415 if ${ac_cv_lib_soname_capi20:+false} :; then :
12416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12417 $as_echo "not found" >&6; }
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12421 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12423 cat >>confdefs.h
<<_ACEOF
12424 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12430 CPPFLAGS
=$ac_save_CPPFLAGS
12431 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12432 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12435 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12436 case "x$with_capi" in
12437 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12439 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12440 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12446 if test "x$with_cups" != "xno"
12448 ac_save_CPPFLAGS
="$CPPFLAGS"
12449 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12450 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12451 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12452 for ac_header
in cups
/cups.h
12454 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12455 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12456 cat >>confdefs.h
<<_ACEOF
12457 #define HAVE_CUPS_CUPS_H 1
12459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12460 $as_echo_n "checking for -lcups... " >&6; }
12461 if ${ac_cv_lib_soname_cups+:} false
; then :
12462 $as_echo_n "(cached) " >&6
12464 ac_check_soname_save_LIBS
=$LIBS
12465 LIBS
="-lcups $ac_cups_libs $LIBS"
12466 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12467 /* end confdefs.h. */
12469 /* Override any GCC internal prototype to avoid an error.
12470 Use char because int might match the return type of a GCC
12471 builtin and then its argument prototype would still apply. */
12475 char cupsGetDefault ();
12479 return cupsGetDefault ();
12484 if ac_fn_c_try_link
"$LINENO"; then :
12486 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12487 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'` ;;
12488 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12489 if ${ac_cv_lib_soname_cups:+false} :; then :
12490 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12494 rm -f core conftest.err conftest.
$ac_objext \
12495 conftest
$ac_exeext conftest.
$ac_ext
12496 LIBS
=$ac_check_soname_save_LIBS
12498 if ${ac_cv_lib_soname_cups:+false} :; then :
12499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12500 $as_echo "not found" >&6; }
12503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12504 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12506 cat >>confdefs.h
<<_ACEOF
12507 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12510 CUPS_CFLAGS
="$ac_cups_cflags"
12516 CPPFLAGS
="$ac_save_CPPFLAGS"
12518 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12519 case "x$with_cups" in
12520 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12522 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12523 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12527 if test "x$with_fontconfig" != "xno"
12529 if ${FONTCONFIG_CFLAGS:+false} :; then :
12530 if ${PKG_CONFIG+:} false
; then :
12531 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12534 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12535 if ${FONTCONFIG_LIBS:+false} :; then :
12536 if ${PKG_CONFIG+:} false
; then :
12537 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12540 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
12542 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12543 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12544 ac_save_CPPFLAGS
=$CPPFLAGS
12545 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
12546 for ac_header
in fontconfig
/fontconfig.h
12548 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12549 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12550 cat >>confdefs.h
<<_ACEOF
12551 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12558 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12561 $as_echo_n "checking for -lfontconfig... " >&6; }
12562 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12563 $as_echo_n "(cached) " >&6
12565 ac_check_soname_save_LIBS
=$LIBS
12566 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12568 /* end confdefs.h. */
12570 /* Override any GCC internal prototype to avoid an error.
12571 Use char because int might match the return type of a GCC
12572 builtin and then its argument prototype would still apply. */
12585 if ac_fn_c_try_link
"$LINENO"; then :
12587 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12588 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'` ;;
12589 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12590 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12591 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12595 rm -f core conftest.err conftest.
$ac_objext \
12596 conftest
$ac_exeext conftest.
$ac_ext
12597 LIBS
=$ac_check_soname_save_LIBS
12599 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12601 $as_echo "not found" >&6; }
12602 FONTCONFIG_CFLAGS
=""
12604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12605 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12607 cat >>confdefs.h
<<_ACEOF
12608 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12614 FONTCONFIG_CFLAGS
=""
12616 CPPFLAGS
=$ac_save_CPPFLAGS
12617 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12618 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12621 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12622 case "x$with_fontconfig" in
12623 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12625 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12626 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12630 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12633 $as_echo_n "checking for -lgsm... " >&6; }
12634 if ${ac_cv_lib_soname_gsm+:} false
; then :
12635 $as_echo_n "(cached) " >&6
12637 ac_check_soname_save_LIBS
=$LIBS
12639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12640 /* end confdefs.h. */
12642 /* Override any GCC internal prototype to avoid an error.
12643 Use char because int might match the return type of a GCC
12644 builtin and then its argument prototype would still apply. */
12648 char gsm_create ();
12652 return gsm_create ();
12657 if ac_fn_c_try_link
"$LINENO"; then :
12659 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12660 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'` ;;
12661 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12662 if ${ac_cv_lib_soname_gsm:+false} :; then :
12663 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12667 rm -f core conftest.err conftest.
$ac_objext \
12668 conftest
$ac_exeext conftest.
$ac_ext
12669 LIBS
=$ac_check_soname_save_LIBS
12671 if ${ac_cv_lib_soname_gsm:+false} :; then :
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12673 $as_echo "not found" >&6; }
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12677 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12679 cat >>confdefs.h
<<_ACEOF
12680 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12686 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12687 case "x$with_gsm" in
12688 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12690 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12691 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12695 if test "x$with_jpeg" != "xno"
12697 if ${JPEG_CFLAGS:+false} :; then :
12698 if ${PKG_CONFIG+:} false
; then :
12699 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12703 if ${JPEG_LIBS:+false} :; then :
12704 if ${PKG_CONFIG+:} false
; then :
12705 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12710 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12711 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12712 ac_save_CPPFLAGS
=$CPPFLAGS
12713 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
12714 for ac_header
in jpeglib.h
12716 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12717 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
12718 cat >>confdefs.h
<<_ACEOF
12719 #define HAVE_JPEGLIB_H 1
12726 if test "$ac_cv_header_jpeglib_h" = "yes"
12728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12729 $as_echo_n "checking for -ljpeg... " >&6; }
12730 if ${ac_cv_lib_soname_jpeg+:} false
; then :
12731 $as_echo_n "(cached) " >&6
12733 ac_check_soname_save_LIBS
=$LIBS
12734 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
12735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12736 /* end confdefs.h. */
12738 /* Override any GCC internal prototype to avoid an error.
12739 Use char because int might match the return type of a GCC
12740 builtin and then its argument prototype would still apply. */
12744 char jpeg_start_decompress ();
12748 return jpeg_start_decompress ();
12753 if ac_fn_c_try_link
"$LINENO"; then :
12755 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12756 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'` ;;
12757 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12758 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12759 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12763 rm -f core conftest.err conftest.
$ac_objext \
12764 conftest
$ac_exeext conftest.
$ac_ext
12765 LIBS
=$ac_check_soname_save_LIBS
12767 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12769 $as_echo "not found" >&6; }
12772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12773 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12775 cat >>confdefs.h
<<_ACEOF
12776 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12784 CPPFLAGS
=$ac_save_CPPFLAGS
12785 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12786 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12789 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12790 case "x$with_jpeg" in
12791 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12793 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12794 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12798 if test "x$with_png" != "xno"
12800 if ${PNG_CFLAGS:+false} :; then :
12801 if ${PKG_CONFIG+:} false
; then :
12802 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12805 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
12806 if ${PNG_LIBS:+false} :; then :
12807 if ${PKG_CONFIG+:} false
; then :
12808 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
12811 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
12813 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12814 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12815 ac_save_CPPFLAGS
=$CPPFLAGS
12816 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
12817 for ac_header
in png.h
12819 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12820 if test "x$ac_cv_header_png_h" = xyes
; then :
12821 cat >>confdefs.h
<<_ACEOF
12822 #define HAVE_PNG_H 1
12829 if test "$ac_cv_header_png_h" = "yes"
12831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12832 $as_echo_n "checking for -lpng... " >&6; }
12833 if ${ac_cv_lib_soname_png+:} false
; then :
12834 $as_echo_n "(cached) " >&6
12836 ac_check_soname_save_LIBS
=$LIBS
12837 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
12838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12839 /* end confdefs.h. */
12841 /* Override any GCC internal prototype to avoid an error.
12842 Use char because int might match the return type of a GCC
12843 builtin and then its argument prototype would still apply. */
12847 char png_create_read_struct ();
12851 return png_create_read_struct ();
12856 if ac_fn_c_try_link
"$LINENO"; then :
12858 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12859 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'` ;;
12860 *) 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'`
12861 if ${ac_cv_lib_soname_png:+false} :; then :
12862 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12866 rm -f core conftest.err conftest.
$ac_objext \
12867 conftest
$ac_exeext conftest.
$ac_ext
12868 LIBS
=$ac_check_soname_save_LIBS
12870 if ${ac_cv_lib_soname_png:+false} :; then :
12871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12872 $as_echo "not found" >&6; }
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12876 $as_echo "$ac_cv_lib_soname_png" >&6; }
12878 cat >>confdefs.h
<<_ACEOF
12879 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12883 /* end confdefs.h. */
12888 typeof(png_set_expand_gray_1_2_4_to_8) *p
12893 if ac_fn_c_try_compile
"$LINENO"; then :
12895 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12898 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12903 CPPFLAGS
=$ac_save_CPPFLAGS
12904 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12905 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12908 if test "x$ac_cv_lib_soname_png" = "x"; then :
12909 case "x$with_png" in
12910 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
12912 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
12913 This is an error since --with-png was requested." "$LINENO" 5 ;;
12917 if test "x$with_tiff" != "xno"
12919 if ${TIFF_CFLAGS:+false} :; then :
12920 if ${PKG_CONFIG+:} false
; then :
12921 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
12925 if ${TIFF_LIBS:+false} :; then :
12926 if ${PKG_CONFIG+:} false
; then :
12927 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
12932 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
12933 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
12934 ac_save_CPPFLAGS
=$CPPFLAGS
12935 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
12936 for ac_header
in tiffio.h
12938 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
12939 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
12940 cat >>confdefs.h
<<_ACEOF
12941 #define HAVE_TIFFIO_H 1
12948 if test "$ac_cv_header_tiffio_h" = "yes"
12950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
12951 $as_echo_n "checking for -ltiff... " >&6; }
12952 if ${ac_cv_lib_soname_tiff+:} false
; then :
12953 $as_echo_n "(cached) " >&6
12955 ac_check_soname_save_LIBS
=$LIBS
12956 LIBS
="-ltiff $TIFF_LIBS $LIBS"
12957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12958 /* end confdefs.h. */
12960 /* Override any GCC internal prototype to avoid an error.
12961 Use char because int might match the return type of a GCC
12962 builtin and then its argument prototype would still apply. */
12966 char TIFFClientOpen ();
12970 return TIFFClientOpen ();
12975 if ac_fn_c_try_link
"$LINENO"; then :
12977 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12978 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'` ;;
12979 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12980 if ${ac_cv_lib_soname_tiff:+false} :; then :
12981 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12985 rm -f core conftest.err conftest.
$ac_objext \
12986 conftest
$ac_exeext conftest.
$ac_ext
12987 LIBS
=$ac_check_soname_save_LIBS
12989 if ${ac_cv_lib_soname_tiff:+false} :; then :
12990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12991 $as_echo "not found" >&6; }
12994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
12995 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
12997 cat >>confdefs.h
<<_ACEOF
12998 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13004 CPPFLAGS
=$ac_save_CPPFLAGS
13005 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13006 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13009 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13010 case "x$with_tiff" in
13011 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13013 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13014 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13018 if test "x$with_mpg123" != "xno"
13020 if ${MPG123_CFLAGS:+false} :; then :
13021 if ${PKG_CONFIG+:} false
; then :
13022 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13026 if ${MPG123_LIBS:+false} :; then :
13027 if ${PKG_CONFIG+:} false
; then :
13028 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13032 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13033 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13034 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13035 ac_save_CPPFLAGS
=$CPPFLAGS
13036 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13037 for ac_header
in mpg123.h
13039 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13040 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13041 cat >>confdefs.h
<<_ACEOF
13042 #define HAVE_MPG123_H 1
13049 if test "$ac_cv_header_mpg123_h" = "yes"
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13052 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13053 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13054 $as_echo_n "(cached) " >&6
13056 ac_check_lib_save_LIBS
=$LIBS
13057 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13059 /* end confdefs.h. */
13061 /* Override any GCC internal prototype to avoid an error.
13062 Use char because int might match the return type of a GCC
13063 builtin and then its argument prototype would still apply. */
13067 char mpg123_feed ();
13071 return mpg123_feed ();
13076 if ac_fn_c_try_link
"$LINENO"; then :
13077 ac_cv_lib_mpg123_mpg123_feed
=yes
13079 ac_cv_lib_mpg123_mpg123_feed
=no
13081 rm -f core conftest.err conftest.
$ac_objext \
13082 conftest
$ac_exeext conftest.
$ac_ext
13083 LIBS
=$ac_check_lib_save_LIBS
13085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13086 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13087 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13097 CPPFLAGS
=$ac_save_CPPFLAGS
13098 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13099 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13102 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13103 case "x$with_mpg123" in
13104 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13106 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13107 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13110 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}
13112 if test "$ac_cv_header_AL_al_h" = "yes"
13114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13115 $as_echo_n "checking for -lopenal... " >&6; }
13116 if ${ac_cv_lib_soname_openal+:} false
; then :
13117 $as_echo_n "(cached) " >&6
13119 ac_check_soname_save_LIBS
=$LIBS
13120 LIBS
="-lopenal $LIBS"
13121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13122 /* end confdefs.h. */
13124 /* Override any GCC internal prototype to avoid an error.
13125 Use char because int might match the return type of a GCC
13126 builtin and then its argument prototype would still apply. */
13130 char alGetSource3i ();
13134 return alGetSource3i ();
13139 if ac_fn_c_try_link
"$LINENO"; then :
13141 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13142 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'` ;;
13143 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13144 if ${ac_cv_lib_soname_openal:+false} :; then :
13145 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13149 rm -f core conftest.err conftest.
$ac_objext \
13150 conftest
$ac_exeext conftest.
$ac_ext
13151 LIBS
=$ac_check_soname_save_LIBS
13153 if ${ac_cv_lib_soname_openal:+false} :; then :
13154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13155 $as_echo "not found" >&6; }
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13159 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13161 cat >>confdefs.h
<<_ACEOF
13162 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13165 OPENAL_LIBS
="-lopenal"
13167 ac_cv_lib_openal
=yes
13169 cat >>confdefs.h
<<_ACEOF
13170 #define HAVE_OPENAL 1
13175 if test "x$ac_cv_lib_openal" != xyes
; then :
13176 case "x$with_openal" in
13177 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13179 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13180 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13183 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13185 if test "$ac_cv_header_kstat_h" = "yes"
13187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13188 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13189 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13190 $as_echo_n "(cached) " >&6
13192 ac_check_lib_save_LIBS
=$LIBS
13193 LIBS
="-lkstat $LIBS"
13194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13195 /* end confdefs.h. */
13197 /* Override any GCC internal prototype to avoid an error.
13198 Use char because int might match the return type of a GCC
13199 builtin and then its argument prototype would still apply. */
13203 char kstat_open ();
13207 return kstat_open ();
13212 if ac_fn_c_try_link
"$LINENO"; then :
13213 ac_cv_lib_kstat_kstat_open
=yes
13215 ac_cv_lib_kstat_kstat_open
=no
13217 rm -f core conftest.err conftest.
$ac_objext \
13218 conftest
$ac_exeext conftest.
$ac_ext
13219 LIBS
=$ac_check_lib_save_LIBS
13221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13222 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13223 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13225 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13227 KSTAT_LIBS
="-lkstat"
13233 if test "$ac_cv_header_libprocstat_h" = "yes"
13235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13236 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13237 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13238 $as_echo_n "(cached) " >&6
13240 ac_check_lib_save_LIBS
=$LIBS
13241 LIBS
="-lprocstat $LIBS"
13242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13243 /* end confdefs.h. */
13245 /* Override any GCC internal prototype to avoid an error.
13246 Use char because int might match the return type of a GCC
13247 builtin and then its argument prototype would still apply. */
13251 char procstat_open_sysctl ();
13255 return procstat_open_sysctl ();
13260 if ac_fn_c_try_link
"$LINENO"; then :
13261 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13263 ac_cv_lib_procstat_procstat_open_sysctl
=no
13265 rm -f core conftest.err conftest.
$ac_objext \
13266 conftest
$ac_exeext conftest.
$ac_ext
13267 LIBS
=$ac_check_lib_save_LIBS
13269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13270 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13271 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13273 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13275 PROCSTAT_LIBS
="-lprocstat"
13281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13282 $as_echo_n "checking for -lodbc... " >&6; }
13283 if ${ac_cv_lib_soname_odbc+:} false
; then :
13284 $as_echo_n "(cached) " >&6
13286 ac_check_soname_save_LIBS
=$LIBS
13287 LIBS
="-lodbc $LIBS"
13288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13289 /* end confdefs.h. */
13291 /* Override any GCC internal prototype to avoid an error.
13292 Use char because int might match the return type of a GCC
13293 builtin and then its argument prototype would still apply. */
13297 char SQLConnect ();
13301 return SQLConnect ();
13306 if ac_fn_c_try_link
"$LINENO"; then :
13308 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13309 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'` ;;
13310 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13311 if ${ac_cv_lib_soname_odbc:+false} :; then :
13312 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13316 rm -f core conftest.err conftest.
$ac_objext \
13317 conftest
$ac_exeext conftest.
$ac_ext
13318 LIBS
=$ac_check_soname_save_LIBS
13320 if ${ac_cv_lib_soname_odbc:+false} :; then :
13321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13322 $as_echo "not found" >&6; }
13323 cat >>confdefs.h
<<_ACEOF
13324 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13329 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13331 cat >>confdefs.h
<<_ACEOF
13332 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13338 if test "x$with_netapi" != "xno"
13340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13341 $as_echo_n "checking for -lnetapi... " >&6; }
13342 if ${ac_cv_lib_soname_netapi+:} false
; then :
13343 $as_echo_n "(cached) " >&6
13345 ac_check_soname_save_LIBS
=$LIBS
13346 LIBS
="-lnetapi $LIBS"
13347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13348 /* end confdefs.h. */
13350 /* Override any GCC internal prototype to avoid an error.
13351 Use char because int might match the return type of a GCC
13352 builtin and then its argument prototype would still apply. */
13356 char libnetapi_init ();
13360 return libnetapi_init ();
13365 if ac_fn_c_try_link
"$LINENO"; then :
13367 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13368 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'` ;;
13369 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13370 if ${ac_cv_lib_soname_netapi:+false} :; then :
13371 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13375 rm -f core conftest.err conftest.
$ac_objext \
13376 conftest
$ac_exeext conftest.
$ac_ext
13377 LIBS
=$ac_check_soname_save_LIBS
13379 if ${ac_cv_lib_soname_netapi:+false} :; then :
13380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13381 $as_echo "not found" >&6; }
13382 cat >>confdefs.h
<<_ACEOF
13383 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13388 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13390 cat >>confdefs.h
<<_ACEOF
13391 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13398 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13399 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13400 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13401 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13403 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13404 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13405 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13407 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13413 if test "x${GCC}" = "xyes"
13415 EXTRACFLAGS
="-Wall -pipe"
13417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13418 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13419 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13420 $as_echo_n "(cached) " >&6
13422 if test "$cross_compiling" = yes; then :
13423 ac_cv_c_gcc_strength_bug
="yes"
13425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13426 /* end confdefs.h. */
13427 int L[4] = {0,1,2,3};
13431 static int Array[3];
13432 unsigned int B = 3;
13434 for(i=0; i<B; i++) Array[i] = i - 3;
13435 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13437 return (Array[1] != -2 || L[2] != 3)
13442 if ac_fn_c_try_run
"$LINENO"; then :
13443 ac_cv_c_gcc_strength_bug
="no"
13445 ac_cv_c_gcc_strength_bug
="yes"
13447 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13448 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13453 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13454 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13456 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13460 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13461 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13462 $as_echo_n "(cached) " >&6
13464 ac_wine_try_cflags_saved
=$CFLAGS
13465 CFLAGS
="$CFLAGS -fno-builtin"
13466 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13467 /* end confdefs.h. */
13468 int main(int argc, char **argv) { return 0; }
13470 if ac_fn_c_try_link
"$LINENO"; then :
13471 ac_cv_cflags__fno_builtin
=yes
13473 ac_cv_cflags__fno_builtin
=no
13475 rm -f core conftest.err conftest.
$ac_objext \
13476 conftest
$ac_exeext conftest.
$ac_ext
13477 CFLAGS
=$ac_wine_try_cflags_saved
13479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13480 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13481 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
13482 BUILTINFLAG
="-fno-builtin"
13485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13486 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13487 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13488 $as_echo_n "(cached) " >&6
13490 ac_wine_try_cflags_saved
=$CFLAGS
13491 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13493 /* end confdefs.h. */
13494 int main(int argc, char **argv) { return 0; }
13496 if ac_fn_c_try_link
"$LINENO"; then :
13497 ac_cv_cflags__fno_strict_aliasing
=yes
13499 ac_cv_cflags__fno_strict_aliasing
=no
13501 rm -f core conftest.err conftest.
$ac_objext \
13502 conftest
$ac_exeext conftest.
$ac_ext
13503 CFLAGS
=$ac_wine_try_cflags_saved
13505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13506 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13507 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
13508 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13510 saved_CFLAGS
=$CFLAGS
13511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13512 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13513 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13514 $as_echo_n "(cached) " >&6
13516 ac_wine_try_cflags_saved
=$CFLAGS
13517 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13519 /* end confdefs.h. */
13520 int main(int argc, char **argv) { return 0; }
13522 if ac_fn_c_try_link
"$LINENO"; then :
13523 ac_cv_cflags__Werror_unknown_warning_option
=yes
13525 ac_cv_cflags__Werror_unknown_warning_option
=no
13527 rm -f core conftest.err conftest.
$ac_objext \
13528 conftest
$ac_exeext conftest.
$ac_ext
13529 CFLAGS
=$ac_wine_try_cflags_saved
13531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13532 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13533 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
13534 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13537 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13538 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13539 $as_echo_n "(cached) " >&6
13541 ac_wine_try_cflags_saved
=$CFLAGS
13542 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13544 /* end confdefs.h. */
13545 int main(int argc, char **argv) { return 0; }
13547 if ac_fn_c_try_link
"$LINENO"; then :
13548 ac_cv_cflags__Wdeclaration_after_statement
=yes
13550 ac_cv_cflags__Wdeclaration_after_statement
=no
13552 rm -f core conftest.err conftest.
$ac_objext \
13553 conftest
$ac_exeext conftest.
$ac_ext
13554 CFLAGS
=$ac_wine_try_cflags_saved
13556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13557 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13558 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
13559 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13562 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13563 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13564 $as_echo_n "(cached) " >&6
13566 ac_wine_try_cflags_saved
=$CFLAGS
13567 CFLAGS
="$CFLAGS -Wempty-body"
13568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13569 /* end confdefs.h. */
13570 int main(int argc, char **argv) { return 0; }
13572 if ac_fn_c_try_link
"$LINENO"; then :
13573 ac_cv_cflags__Wempty_body
=yes
13575 ac_cv_cflags__Wempty_body
=no
13577 rm -f core conftest.err conftest.
$ac_objext \
13578 conftest
$ac_exeext conftest.
$ac_ext
13579 CFLAGS
=$ac_wine_try_cflags_saved
13581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13582 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13583 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
13584 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13587 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13588 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13589 $as_echo_n "(cached) " >&6
13591 ac_wine_try_cflags_saved
=$CFLAGS
13592 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13593 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13594 /* end confdefs.h. */
13595 int main(int argc, char **argv) { return 0; }
13597 if ac_fn_c_try_link
"$LINENO"; then :
13598 ac_cv_cflags__Wignored_qualifiers
=yes
13600 ac_cv_cflags__Wignored_qualifiers
=no
13602 rm -f core conftest.err conftest.
$ac_objext \
13603 conftest
$ac_exeext conftest.
$ac_ext
13604 CFLAGS
=$ac_wine_try_cflags_saved
13606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13607 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13608 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
13609 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13612 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13613 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13614 $as_echo_n "(cached) " >&6
13616 ac_wine_try_cflags_saved
=$CFLAGS
13617 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13619 /* end confdefs.h. */
13620 int main(int argc, char **argv) { return 0; }
13622 if ac_fn_c_try_link
"$LINENO"; then :
13623 ac_cv_cflags__Wstrict_prototypes
=yes
13625 ac_cv_cflags__Wstrict_prototypes
=no
13627 rm -f core conftest.err conftest.
$ac_objext \
13628 conftest
$ac_exeext conftest.
$ac_ext
13629 CFLAGS
=$ac_wine_try_cflags_saved
13631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13632 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13633 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
13634 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13637 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13638 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13639 $as_echo_n "(cached) " >&6
13641 ac_wine_try_cflags_saved
=$CFLAGS
13642 CFLAGS
="$CFLAGS -Wtype-limits"
13643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13644 /* end confdefs.h. */
13645 int main(int argc, char **argv) { return 0; }
13647 if ac_fn_c_try_link
"$LINENO"; then :
13648 ac_cv_cflags__Wtype_limits
=yes
13650 ac_cv_cflags__Wtype_limits
=no
13652 rm -f core conftest.err conftest.
$ac_objext \
13653 conftest
$ac_exeext conftest.
$ac_ext
13654 CFLAGS
=$ac_wine_try_cflags_saved
13656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13657 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13658 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
13659 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13662 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13663 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13664 $as_echo_n "(cached) " >&6
13666 ac_wine_try_cflags_saved
=$CFLAGS
13667 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13669 /* end confdefs.h. */
13670 int main(int argc, char **argv) { return 0; }
13672 if ac_fn_c_try_link
"$LINENO"; then :
13673 ac_cv_cflags__Wunused_but_set_parameter
=yes
13675 ac_cv_cflags__Wunused_but_set_parameter
=no
13677 rm -f core conftest.err conftest.
$ac_objext \
13678 conftest
$ac_exeext conftest.
$ac_ext
13679 CFLAGS
=$ac_wine_try_cflags_saved
13681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13682 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13683 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
13684 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13687 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13688 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
13689 $as_echo_n "(cached) " >&6
13691 ac_wine_try_cflags_saved
=$CFLAGS
13692 CFLAGS
="$CFLAGS -Wwrite-strings"
13693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13694 /* end confdefs.h. */
13695 int main(int argc, char **argv) { return 0; }
13697 if ac_fn_c_try_link
"$LINENO"; then :
13698 ac_cv_cflags__Wwrite_strings
=yes
13700 ac_cv_cflags__Wwrite_strings
=no
13702 rm -f core conftest.err conftest.
$ac_objext \
13703 conftest
$ac_exeext conftest.
$ac_ext
13704 CFLAGS
=$ac_wine_try_cflags_saved
13706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13707 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13708 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
13709 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
13712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13713 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13714 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
13715 $as_echo_n "(cached) " >&6
13717 ac_wine_try_cflags_saved
=$CFLAGS
13718 CFLAGS
="$CFLAGS -Wpointer-arith"
13719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13720 /* end confdefs.h. */
13721 int main(int argc, char **argv) { return 0; }
13723 if ac_fn_c_try_link
"$LINENO"; then :
13724 ac_cv_cflags__Wpointer_arith
=yes
13726 ac_cv_cflags__Wpointer_arith
=no
13728 rm -f core conftest.err conftest.
$ac_objext \
13729 conftest
$ac_exeext conftest.
$ac_ext
13730 CFLAGS
=$ac_wine_try_cflags_saved
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13733 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13734 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
13735 saved_string_h_CFLAGS
=$CFLAGS
13736 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
13737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13738 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13739 if ${ac_cv_c_string_h_warnings+:} false
; then :
13740 $as_echo_n "(cached) " >&6
13742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13743 /* end confdefs.h. */
13744 #include <string.h>
13753 if ac_fn_c_try_compile
"$LINENO"; then :
13754 ac_cv_c_string_h_warnings
=no
13756 ac_cv_c_string_h_warnings
=yes
13758 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13761 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13762 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
13763 CFLAGS
=$saved_string_h_CFLAGS
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13767 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13768 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
13769 $as_echo_n "(cached) " >&6
13771 ac_wine_try_cflags_saved
=$CFLAGS
13772 CFLAGS
="$CFLAGS -Wlogical-op"
13773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13774 /* end confdefs.h. */
13775 int main(int argc, char **argv) { return 0; }
13777 if ac_fn_c_try_link
"$LINENO"; then :
13778 ac_cv_cflags__Wlogical_op
=yes
13780 ac_cv_cflags__Wlogical_op
=no
13782 rm -f core conftest.err conftest.
$ac_objext \
13783 conftest
$ac_exeext conftest.
$ac_ext
13784 CFLAGS
=$ac_wine_try_cflags_saved
13786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13787 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13788 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
13789 saved_string_h_CFLAGS
=$CFLAGS
13790 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
13791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13792 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13793 if ${ac_cv_c_logicalop_noisy+:} false
; then :
13794 $as_echo_n "(cached) " >&6
13796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13797 /* end confdefs.h. */
13798 #include <string.h>
13799 char*f(const char *h,char n) {return strchr(h,n);}
13808 if ac_fn_c_try_compile
"$LINENO"; then :
13809 ac_cv_c_logicalop_noisy
=no
13811 ac_cv_c_logicalop_noisy
=yes
13813 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13816 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13817 CFLAGS
=$saved_string_h_CFLAGS
13818 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
13821 CFLAGS
=$saved_CFLAGS
13823 for ac_flag
in $CFLAGS; do
13825 -g) case $host_os in
13826 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13827 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13828 if ${ac_cv_cflags__gstabsp+:} false
; then :
13829 $as_echo_n "(cached) " >&6
13831 ac_wine_try_cflags_saved
=$CFLAGS
13832 CFLAGS
="$CFLAGS -gstabs+"
13833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13834 /* end confdefs.h. */
13835 int main(int argc, char **argv) { return 0; }
13837 if ac_fn_c_try_link
"$LINENO"; then :
13838 ac_cv_cflags__gstabsp
=yes
13840 ac_cv_cflags__gstabsp
=no
13842 rm -f core conftest.err conftest.
$ac_objext \
13843 conftest
$ac_exeext conftest.
$ac_ext
13844 CFLAGS
=$ac_wine_try_cflags_saved
13846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13847 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
13848 if test "x$ac_cv_cflags__gstabsp" = xyes
; then :
13849 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
13851 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
13852 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
13853 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
13854 $as_echo_n "(cached) " >&6
13856 ac_wine_try_cflags_saved
=$CFLAGS
13857 CFLAGS
="$CFLAGS -gdwarf-2"
13858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13859 /* end confdefs.h. */
13860 int main(int argc, char **argv) { return 0; }
13862 if ac_fn_c_try_link
"$LINENO"; then :
13863 ac_cv_cflags__gdwarf_2
=yes
13865 ac_cv_cflags__gdwarf_2
=no
13867 rm -f core conftest.err conftest.
$ac_objext \
13868 conftest
$ac_exeext conftest.
$ac_ext
13869 CFLAGS
=$ac_wine_try_cflags_saved
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
13872 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
13873 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
13874 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
13876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
13877 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
13878 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
13879 $as_echo_n "(cached) " >&6
13881 ac_wine_try_cflags_saved
=$CFLAGS
13882 CFLAGS
="$CFLAGS -gstrict-dwarf"
13883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13884 /* end confdefs.h. */
13885 int main(int argc, char **argv) { return 0; }
13887 if ac_fn_c_try_link
"$LINENO"; then :
13888 ac_cv_cflags__gstrict_dwarf
=yes
13890 ac_cv_cflags__gstrict_dwarf
=no
13892 rm -f core conftest.err conftest.
$ac_objext \
13893 conftest
$ac_exeext conftest.
$ac_ext
13894 CFLAGS
=$ac_wine_try_cflags_saved
13896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
13897 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
13898 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
13899 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
13906 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
13907 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
13908 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
13909 $as_echo_n "(cached) " >&6
13911 ac_wine_try_cflags_saved
=$CFLAGS
13912 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
13913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13914 /* end confdefs.h. */
13915 int main(int argc, char **argv) { return 0; }
13917 if ac_fn_c_try_link
"$LINENO"; then :
13918 ac_cv_cflags__fno_omit_frame_pointer
=yes
13920 ac_cv_cflags__fno_omit_frame_pointer
=no
13922 rm -f core conftest.err conftest.
$ac_objext \
13923 conftest
$ac_exeext conftest.
$ac_ext
13924 CFLAGS
=$ac_wine_try_cflags_saved
13926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
13927 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
13928 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
13929 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
13934 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
13935 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
13936 if ${ac_cv_cflags__Wno_format+:} false
; then :
13937 $as_echo_n "(cached) " >&6
13939 ac_wine_try_cflags_saved
=$CFLAGS
13940 CFLAGS
="$CFLAGS -Wno-format"
13941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13942 /* end confdefs.h. */
13943 int main(int argc, char **argv) { return 0; }
13945 if ac_fn_c_try_link
"$LINENO"; then :
13946 ac_cv_cflags__Wno_format
=yes
13948 ac_cv_cflags__Wno_format
=no
13950 rm -f core conftest.err conftest.
$ac_objext \
13951 conftest
$ac_exeext conftest.
$ac_ext
13952 CFLAGS
=$ac_wine_try_cflags_saved
13954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
13955 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
13956 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
13957 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
13961 if test "x$enable_maintainer_mode" = "xyes"
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
13964 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
13965 if ${ac_cv_cflags__Werror+:} false
; then :
13966 $as_echo_n "(cached) " >&6
13968 ac_wine_try_cflags_saved
=$CFLAGS
13969 CFLAGS
="$CFLAGS -Werror"
13970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13971 /* end confdefs.h. */
13972 int main(int argc, char **argv) { return 0; }
13974 if ac_fn_c_try_link
"$LINENO"; then :
13975 ac_cv_cflags__Werror
=yes
13977 ac_cv_cflags__Werror
=no
13979 rm -f core conftest.err conftest.
$ac_objext \
13980 conftest
$ac_exeext conftest.
$ac_ext
13981 CFLAGS
=$ac_wine_try_cflags_saved
13983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
13984 $as_echo "$ac_cv_cflags__Werror" >&6; }
13985 if test "x$ac_cv_cflags__Werror" = xyes
; then :
13986 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
13990 saved_CFLAGS
="$CFLAGS"
13991 CFLAGS
="$CFLAGS -Werror"
13992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
13993 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
13994 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
13995 $as_echo_n "(cached) " >&6
13997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13998 /* end confdefs.h. */
13999 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14008 if ac_fn_c_try_compile
"$LINENO"; then :
14009 ac_cv_have_ms_hook_prologue
="yes"
14011 ac_cv_have_ms_hook_prologue
="no"
14013 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14016 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14017 CFLAGS
="$saved_CFLAGS"
14018 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14021 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14024 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14031 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14032 if ${ac_cv_c_fortify_enabled+:} false
; then :
14033 $as_echo_n "(cached) " >&6
14035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14036 /* end confdefs.h. */
14037 #include <string.h>
14041 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14042 #error Fortify enabled
14048 if ac_fn_c_try_compile
"$LINENO"; then :
14049 ac_cv_c_fortify_enabled
=no
14051 ac_cv_c_fortify_enabled
=yes
14053 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14056 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14057 if test "$ac_cv_c_fortify_enabled" = yes
14059 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14064 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14065 if ${ac_cv_c_extern_prefix+:} false
; then :
14066 $as_echo_n "(cached) " >&6
14068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14069 /* end confdefs.h. */
14070 extern int ac_test;
14074 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14079 if ac_fn_c_try_link
"$LINENO"; then :
14080 ac_cv_c_extern_prefix
="yes"
14082 ac_cv_c_extern_prefix
="no"
14084 rm -f core conftest.err conftest.
$ac_objext \
14085 conftest
$ac_exeext conftest.
$ac_ext
14087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14088 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14093 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14094 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14095 $as_echo_n "(cached) " >&6
14097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14098 /* end confdefs.h. */
14100 #define __stdcall __attribute__((__stdcall__))
14102 int __stdcall ac_test(int i) { return i; }
14106 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14111 if ac_fn_c_try_link
"$LINENO"; then :
14112 ac_cv_c_stdcall_suffix
="yes"
14114 ac_cv_c_stdcall_suffix
="no"
14116 rm -f core conftest.err conftest.
$ac_objext \
14117 conftest
$ac_exeext conftest.
$ac_ext
14119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14120 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14121 *) ac_cv_c_stdcall_suffix
="no" ;;
14125 if test "$ac_cv_c_extern_prefix" = "yes"
14127 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14129 asm_name_prefix
="_"
14131 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14137 if test "$ac_cv_c_stdcall_suffix" = "yes"
14139 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14142 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14148 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14149 if ${ac_cv_asm_func_def+:} false
; then :
14150 $as_echo_n "(cached) " >&6
14152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14153 /* end confdefs.h. */
14158 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14163 if ac_fn_c_try_link
"$LINENO"; then :
14164 ac_cv_asm_func_def
=".def"
14166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14167 /* end confdefs.h. */
14172 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14177 if ac_fn_c_try_link
"$LINENO"; then :
14178 ac_cv_asm_func_def
=".type @function"
14180 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14181 /* end confdefs.h. */
14186 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14191 if ac_fn_c_try_link
"$LINENO"; then :
14192 ac_cv_asm_func_def
=".type 2"
14194 ac_cv_asm_func_def
="unknown"
14196 rm -f core conftest.err conftest.
$ac_objext \
14197 conftest
$ac_exeext conftest.
$ac_ext
14199 rm -f core conftest.err conftest.
$ac_objext \
14200 conftest
$ac_exeext conftest.
$ac_ext
14202 rm -f core conftest.err conftest.
$ac_objext \
14203 conftest
$ac_exeext conftest.
$ac_ext
14205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14206 $as_echo "$ac_cv_asm_func_def" >&6; }
14209 case "$ac_cv_asm_func_def" in
14211 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14213 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14215 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14217 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14219 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14221 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14223 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14225 asm_func_header
="" ;;
14228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14229 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14230 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14231 $as_echo_n "(cached) " >&6
14233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14234 /* end confdefs.h. */
14235 asm(".text\n\t.long 0");
14244 if ac_fn_c_try_compile
"$LINENO"; then :
14245 ac_cv_c_asm_outside_funcs
="yes"
14247 ac_cv_c_asm_outside_funcs
="no"
14249 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14252 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14255 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14256 if ${ac_cv_c_dot_previous+:} false
; then :
14257 $as_echo_n "(cached) " >&6
14259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14260 /* end confdefs.h. */
14265 asm(".text\nac_test:\t.long 0\n\t.previous");
14270 if ac_fn_c_try_link
"$LINENO"; then :
14271 ac_cv_c_dot_previous
="yes"
14273 ac_cv_c_dot_previous
="no"
14275 rm -f core conftest.err conftest.
$ac_objext \
14276 conftest
$ac_exeext conftest.
$ac_ext
14278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14279 $as_echo "$ac_cv_c_dot_previous" >&6; }
14281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14282 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14283 if ${ac_cv_c_cfi_support+:} false
; then :
14284 $as_echo_n "(cached) " >&6
14286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14287 /* end confdefs.h. */
14288 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14297 if ac_fn_c_try_compile
"$LINENO"; then :
14298 ac_cv_c_cfi_support
="yes"
14300 ac_cv_c_cfi_support
="no"
14302 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14305 $as_echo "$ac_cv_c_cfi_support" >&6; }
14307 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14308 asm_func_trailer
=""
14309 if test "$ac_cv_c_dot_previous" = "yes"
14311 asm_func_trailer
="\\n\\t.previous"
14313 if test "$ac_cv_c_cfi_support" = "yes"
14315 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14316 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14318 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14320 UNWINDFLAGS
=-fasynchronous-unwind-tables
14323 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14327 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14330 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14332 cat >>confdefs.h
<<_ACEOF
14333 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14337 cat >>confdefs.h
<<_ACEOF
14338 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14343 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14346 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14351 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14358 *i
[3456789]86*|x86_64
*)
14359 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14360 loader_programs
="$loader_programs $wine_binary-preloader"
14361 as_fn_append LOADER_RULES
"
14362 $wine_binary-preloader: preloader.o
14363 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14365 install install-lib:: $wine_binary-preloader
14366 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14369 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14371 preloader_EXTRADEFS = $BUILTINFLAG
14376 as_fn_append LOADER_RULES
"
14377 PROGRAMS = $loader_programs
14381 ac_save_CFLAGS
="$CFLAGS"
14382 CFLAGS
="$CFLAGS $BUILTINFLAG"
14459 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14460 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14461 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14462 cat >>confdefs.h
<<_ACEOF
14463 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14469 CFLAGS
="$ac_save_CFLAGS"
14471 if test "$ac_cv_func_dlopen" = no
14473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14474 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14475 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14476 $as_echo_n "(cached) " >&6
14478 ac_check_lib_save_LIBS
=$LIBS
14480 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14481 /* end confdefs.h. */
14483 /* Override any GCC internal prototype to avoid an error.
14484 Use char because int might match the return type of a GCC
14485 builtin and then its argument prototype would still apply. */
14498 if ac_fn_c_try_link
"$LINENO"; then :
14499 ac_cv_lib_dl_dlopen
=yes
14501 ac_cv_lib_dl_dlopen
=no
14503 rm -f core conftest.err conftest.
$ac_objext \
14504 conftest
$ac_exeext conftest.
$ac_ext
14505 LIBS
=$ac_check_lib_save_LIBS
14507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14508 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14509 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14510 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14516 ac_wine_check_funcs_save_LIBS
="$LIBS"
14517 LIBS
="$LIBS $DL_LIBS"
14518 for ac_func
in dladdr
14520 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14521 if test "x$ac_cv_func_dladdr" = xyes
; then :
14522 cat >>confdefs.h
<<_ACEOF
14523 #define HAVE_DLADDR 1
14529 LIBS
="$ac_wine_check_funcs_save_LIBS"
14531 if test "$ac_cv_func_poll" = no
14533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14534 $as_echo_n "checking for poll in -lpoll... " >&6; }
14535 if ${ac_cv_lib_poll_poll+:} false
; then :
14536 $as_echo_n "(cached) " >&6
14538 ac_check_lib_save_LIBS
=$LIBS
14539 LIBS
="-lpoll $LIBS"
14540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14541 /* end confdefs.h. */
14543 /* Override any GCC internal prototype to avoid an error.
14544 Use char because int might match the return type of a GCC
14545 builtin and then its argument prototype would still apply. */
14558 if ac_fn_c_try_link
"$LINENO"; then :
14559 ac_cv_lib_poll_poll
=yes
14561 ac_cv_lib_poll_poll
=no
14563 rm -f core conftest.err conftest.
$ac_objext \
14564 conftest
$ac_exeext conftest.
$ac_ext
14565 LIBS
=$ac_check_lib_save_LIBS
14567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14568 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14569 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14570 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14578 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14579 if ${ac_cv_search_gethostbyname+:} false
; then :
14580 $as_echo_n "(cached) " >&6
14582 ac_func_search_save_LIBS
=$LIBS
14583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14584 /* end confdefs.h. */
14586 /* Override any GCC internal prototype to avoid an error.
14587 Use char because int might match the return type of a GCC
14588 builtin and then its argument prototype would still apply. */
14592 char gethostbyname ();
14596 return gethostbyname ();
14601 for ac_lib
in '' nsl
; do
14602 if test -z "$ac_lib"; then
14603 ac_res
="none required"
14606 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14608 if ac_fn_c_try_link
"$LINENO"; then :
14609 ac_cv_search_gethostbyname
=$ac_res
14611 rm -f core conftest.err conftest.
$ac_objext \
14613 if ${ac_cv_search_gethostbyname+:} false
; then :
14617 if ${ac_cv_search_gethostbyname+:} false
; then :
14620 ac_cv_search_gethostbyname
=no
14622 rm conftest.
$ac_ext
14623 LIBS
=$ac_func_search_save_LIBS
14625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14626 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14627 ac_res
=$ac_cv_search_gethostbyname
14628 if test "$ac_res" != no
; then :
14629 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14635 $as_echo_n "checking for library containing connect... " >&6; }
14636 if ${ac_cv_search_connect+:} false
; then :
14637 $as_echo_n "(cached) " >&6
14639 ac_func_search_save_LIBS
=$LIBS
14640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14641 /* end confdefs.h. */
14643 /* Override any GCC internal prototype to avoid an error.
14644 Use char because int might match the return type of a GCC
14645 builtin and then its argument prototype would still apply. */
14658 for ac_lib
in '' socket
; do
14659 if test -z "$ac_lib"; then
14660 ac_res
="none required"
14663 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14665 if ac_fn_c_try_link
"$LINENO"; then :
14666 ac_cv_search_connect
=$ac_res
14668 rm -f core conftest.err conftest.
$ac_objext \
14670 if ${ac_cv_search_connect+:} false
; then :
14674 if ${ac_cv_search_connect+:} false
; then :
14677 ac_cv_search_connect
=no
14679 rm conftest.
$ac_ext
14680 LIBS
=$ac_func_search_save_LIBS
14682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14683 $as_echo "$ac_cv_search_connect" >&6; }
14684 ac_res
=$ac_cv_search_connect
14685 if test "$ac_res" != no
; then :
14686 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14692 $as_echo_n "checking for library containing inet_aton... " >&6; }
14693 if ${ac_cv_search_inet_aton+:} false
; then :
14694 $as_echo_n "(cached) " >&6
14696 ac_func_search_save_LIBS
=$LIBS
14697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14698 /* end confdefs.h. */
14700 /* Override any GCC internal prototype to avoid an error.
14701 Use char because int might match the return type of a GCC
14702 builtin and then its argument prototype would still apply. */
14710 return inet_aton ();
14715 for ac_lib
in '' resolv
; do
14716 if test -z "$ac_lib"; then
14717 ac_res
="none required"
14720 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14722 if ac_fn_c_try_link
"$LINENO"; then :
14723 ac_cv_search_inet_aton
=$ac_res
14725 rm -f core conftest.err conftest.
$ac_objext \
14727 if ${ac_cv_search_inet_aton+:} false
; then :
14731 if ${ac_cv_search_inet_aton+:} false
; then :
14734 ac_cv_search_inet_aton
=no
14736 rm conftest.
$ac_ext
14737 LIBS
=$ac_func_search_save_LIBS
14739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14740 $as_echo "$ac_cv_search_inet_aton" >&6; }
14741 ac_res
=$ac_cv_search_inet_aton
14742 if test "$ac_res" != no
; then :
14743 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14763 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14764 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14765 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14766 cat >>confdefs.h
<<_ACEOF
14767 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14776 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14777 if ${ac_cv_search_clock_gettime+:} false
; then :
14778 $as_echo_n "(cached) " >&6
14780 ac_func_search_save_LIBS
=$LIBS
14781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14782 /* end confdefs.h. */
14784 /* Override any GCC internal prototype to avoid an error.
14785 Use char because int might match the return type of a GCC
14786 builtin and then its argument prototype would still apply. */
14790 char clock_gettime ();
14794 return clock_gettime ();
14799 for ac_lib
in '' rt
; do
14800 if test -z "$ac_lib"; then
14801 ac_res
="none required"
14804 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14806 if ac_fn_c_try_link
"$LINENO"; then :
14807 ac_cv_search_clock_gettime
=$ac_res
14809 rm -f core conftest.err conftest.
$ac_objext \
14811 if ${ac_cv_search_clock_gettime+:} false
; then :
14815 if ${ac_cv_search_clock_gettime+:} false
; then :
14818 ac_cv_search_clock_gettime
=no
14820 rm conftest.
$ac_ext
14821 LIBS
=$ac_func_search_save_LIBS
14823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14824 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14825 ac_res
=$ac_cv_search_clock_gettime
14826 if test "$ac_res" != no
; then :
14827 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14829 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14831 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
14839 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14841 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14843 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
14844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14845 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14846 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
14847 $as_echo_n "(cached) " >&6
14849 ac_check_lib_save_LIBS
=$LIBS
14850 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
14851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14852 /* end confdefs.h. */
14854 /* Override any GCC internal prototype to avoid an error.
14855 Use char because int might match the return type of a GCC
14856 builtin and then its argument prototype would still apply. */
14860 char ldap_initialize ();
14864 return ldap_initialize ();
14869 if ac_fn_c_try_link
"$LINENO"; then :
14870 ac_cv_lib_ldap_r_ldap_initialize
=yes
14872 ac_cv_lib_ldap_r_ldap_initialize
=no
14874 rm -f core conftest.err conftest.
$ac_objext \
14875 conftest
$ac_exeext conftest.
$ac_ext
14876 LIBS
=$ac_check_lib_save_LIBS
14878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
14879 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
14880 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
14881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
14882 $as_echo_n "checking for ber_init in -llber... " >&6; }
14883 if ${ac_cv_lib_lber_ber_init+:} false
; then :
14884 $as_echo_n "(cached) " >&6
14886 ac_check_lib_save_LIBS
=$LIBS
14887 LIBS
="-llber $PTHREAD_LIBS $LIBS"
14888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14889 /* end confdefs.h. */
14891 /* Override any GCC internal prototype to avoid an error.
14892 Use char because int might match the return type of a GCC
14893 builtin and then its argument prototype would still apply. */
14901 return ber_init ();
14906 if ac_fn_c_try_link
"$LINENO"; then :
14907 ac_cv_lib_lber_ber_init
=yes
14909 ac_cv_lib_lber_ber_init
=no
14911 rm -f core conftest.err conftest.
$ac_objext \
14912 conftest
$ac_exeext conftest.
$ac_ext
14913 LIBS
=$ac_check_lib_save_LIBS
14915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
14916 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
14917 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
14919 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
14921 LDAP_LIBS
="-lldap_r -llber"
14928 ac_wine_check_funcs_save_LIBS
="$LIBS"
14929 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
14931 ldap_count_references \
14932 ldap_first_reference \
14933 ldap_next_reference \
14934 ldap_parse_reference \
14935 ldap_parse_sort_control \
14936 ldap_parse_sortresponse_control \
14937 ldap_parse_vlv_control \
14938 ldap_parse_vlvresponse_control
14940 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14941 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14942 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14943 cat >>confdefs.h
<<_ACEOF
14944 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14950 LIBS
="$ac_wine_check_funcs_save_LIBS"
14952 if test "x$LDAP_LIBS" = "x"; then :
14953 case "x$with_ldap" in
14954 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
14956 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
14957 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
14961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
14962 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
14963 if ${wine_cv_one_arg_mkdir+:} false
; then :
14964 $as_echo_n "(cached) " >&6
14966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14967 /* end confdefs.h. */
14968 #include <sys/stat.h>
14977 if ac_fn_c_try_compile
"$LINENO"; then :
14978 wine_cv_one_arg_mkdir
=yes
14980 wine_cv_one_arg_mkdir
=no
14982 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
14985 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
14986 if test "$wine_cv_one_arg_mkdir" = "yes"
14989 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
14993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
14994 $as_echo_n "checking for sched_setaffinity... " >&6; }
14995 if ${wine_cv_have_sched_setaffinity+:} false
; then :
14996 $as_echo_n "(cached) " >&6
14998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14999 /* end confdefs.h. */
15000 #define _GNU_SOURCE
15005 sched_setaffinity(0, 0, 0);
15010 if ac_fn_c_try_link
"$LINENO"; then :
15011 wine_cv_have_sched_setaffinity
=yes
15013 wine_cv_have_sched_setaffinity
=no
15015 rm -f core conftest.err conftest.
$ac_objext \
15016 conftest
$ac_exeext conftest.
$ac_ext
15018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15019 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15020 if test "$wine_cv_have_sched_setaffinity" = "yes"
15023 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15028 $as_echo_n "checking for fallocate... " >&6; }
15029 if ${wine_cv_have_fallocate+:} false
; then :
15030 $as_echo_n "(cached) " >&6
15032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15033 /* end confdefs.h. */
15034 #define _GNU_SOURCE
15039 fallocate(-1, 0, 0, 0);
15044 if ac_fn_c_try_link
"$LINENO"; then :
15045 wine_cv_have_fallocate
=yes
15047 wine_cv_have_fallocate
=no
15049 rm -f core conftest.err conftest.
$ac_objext \
15050 conftest
$ac_exeext conftest.
$ac_ext
15052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15053 $as_echo "$wine_cv_have_fallocate" >&6; }
15054 if test "$wine_cv_have_fallocate" = "yes"
15057 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15063 $as_echo_n "checking for inline... " >&6; }
15064 if ${ac_cv_c_inline+:} false
; then :
15065 $as_echo_n "(cached) " >&6
15068 for ac_kw
in inline __inline__ __inline
; do
15069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15070 /* end confdefs.h. */
15071 #ifndef __cplusplus
15073 static $ac_kw foo_t static_foo () {return 0; }
15074 $ac_kw foo_t foo () {return 0; }
15078 if ac_fn_c_try_compile
"$LINENO"; then :
15079 ac_cv_c_inline
=$ac_kw
15081 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15082 test "$ac_cv_c_inline" != no
&& break
15086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15087 $as_echo "$ac_cv_c_inline" >&6; }
15089 case $ac_cv_c_inline in
15092 case $ac_cv_c_inline in
15094 *) ac_val
=$ac_cv_c_inline;;
15096 cat >>confdefs.h
<<_ACEOF
15097 #ifndef __cplusplus
15098 #define inline $ac_val
15104 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15105 if test "x$ac_cv_type_mode_t" = xyes
; then :
15107 cat >>confdefs.h
<<_ACEOF
15108 #define HAVE_MODE_T 1
15113 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15114 if test "x$ac_cv_type_off_t" = xyes
; then :
15116 cat >>confdefs.h
<<_ACEOF
15117 #define HAVE_OFF_T 1
15122 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15123 if test "x$ac_cv_type_pid_t" = xyes
; then :
15125 cat >>confdefs.h
<<_ACEOF
15126 #define HAVE_PID_T 1
15131 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15132 if test "x$ac_cv_type_size_t" = xyes
; then :
15134 cat >>confdefs.h
<<_ACEOF
15135 #define HAVE_SIZE_T 1
15140 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15141 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15143 cat >>confdefs.h
<<_ACEOF
15144 #define HAVE_SSIZE_T 1
15149 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15150 if test "x$ac_cv_type_long_long" = xyes
; then :
15152 cat >>confdefs.h
<<_ACEOF
15153 #define HAVE_LONG_LONG 1
15158 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15159 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15161 cat >>confdefs.h
<<_ACEOF
15162 #define HAVE_FSBLKCNT_T 1
15167 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15168 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15170 cat >>confdefs.h
<<_ACEOF
15171 #define HAVE_FSFILCNT_T 1
15177 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15178 #include <signal.h>
15180 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15182 cat >>confdefs.h
<<_ACEOF
15183 #define HAVE_SIGSET_T 1
15189 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15191 if test "x$ac_cv_type_request_sense" = xyes
; then :
15193 cat >>confdefs.h
<<_ACEOF
15194 #define HAVE_REQUEST_SENSE 1
15201 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15202 #ifdef HAVE_SYS_SOCKET_H
15203 #include <sys/socket.h>
15205 #ifdef HAVE_SYS_SOCKETVAR_H
15206 #include <sys/socketvar.h>
15208 #ifdef HAVE_NET_ROUTE_H
15209 #include <net/route.h>
15211 #ifdef HAVE_NETINET_IN_H
15212 #include <netinet/in.h>
15214 #ifdef HAVE_NETINET_IN_SYSTM_H
15215 #include <netinet/in_systm.h>
15217 #ifdef HAVE_NETINET_IP_H
15218 #include <netinet/ip.h>
15220 #ifdef HAVE_NETINET_IN_PCB_H
15221 #include <netinet/in_pcb.h>
15224 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15226 cat >>confdefs.h
<<_ACEOF
15227 #define HAVE_STRUCT_XINPGEN 1
15234 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15237 #ifdef HAVE_SYS_LINK_H
15238 #include <sys/link.h>
15241 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15243 cat >>confdefs.h
<<_ACEOF
15244 #define HAVE_STRUCT_R_DEBUG 1
15249 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15252 #ifdef HAVE_SYS_LINK_H
15253 #include <sys/link.h>
15256 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15258 cat >>confdefs.h
<<_ACEOF
15259 #define HAVE_STRUCT_LINK_MAP 1
15266 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15267 #include <linux/input.h>
15270 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15272 cat >>confdefs.h
<<_ACEOF
15273 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15281 $as_echo_n "checking for sigaddset... " >&6; }
15282 if ${wine_cv_have_sigaddset+:} false
; then :
15283 $as_echo_n "(cached) " >&6
15285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15286 /* end confdefs.h. */
15287 #include <signal.h>
15291 sigset_t set; sigaddset(&set,SIGTERM);
15296 if ac_fn_c_try_link
"$LINENO"; then :
15297 wine_cv_have_sigaddset
=yes
15299 wine_cv_have_sigaddset
=no
15301 rm -f core conftest.err conftest.
$ac_objext \
15302 conftest
$ac_exeext conftest.
$ac_ext
15304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15305 $as_echo "$wine_cv_have_sigaddset" >&6; }
15306 if test "$wine_cv_have_sigaddset" = "yes"
15309 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15315 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15316 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15317 $as_echo_n "(cached) " >&6
15319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15320 /* end confdefs.h. */
15328 struct hostent *result;
15335 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15336 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15342 if ac_fn_c_try_link
"$LINENO"; then :
15343 wine_cv_linux_gethostbyname_r_6
=yes
15345 wine_cv_linux_gethostbyname_r_6
=no
15348 rm -f core conftest.err conftest.
$ac_objext \
15349 conftest
$ac_exeext conftest.
$ac_ext
15352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15353 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15354 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15357 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15361 if test "$ac_cv_header_linux_joystick_h" = "yes"
15363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15364 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15365 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15366 $as_echo_n "(cached) " >&6
15368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15369 /* end confdefs.h. */
15371 #include <sys/ioctl.h>
15372 #include <sys/types.h>
15373 #include <linux/joystick.h>
15375 struct js_event blub;
15376 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15377 #error "no 2.2 header"
15388 if ac_fn_c_try_compile
"$LINENO"; then :
15389 wine_cv_linux_joystick_22_api
=yes
15391 wine_cv_linux_joystick_22_api
=no
15393 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15397 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15398 if test "$wine_cv_linux_joystick_22_api" = "yes"
15401 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15407 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15408 #ifdef HAVE_SYS_PARAM_H
15409 # include <sys/param.h>
15411 #ifdef HAVE_SYS_MOUNT_H
15412 # include <sys/mount.h>
15414 #ifdef HAVE_SYS_VFS_H
15415 # include <sys/vfs.h>
15417 #ifdef HAVE_SYS_STATFS_H
15418 # include <sys/statfs.h>
15421 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15423 cat >>confdefs.h
<<_ACEOF
15424 #define HAVE_STRUCT_STATFS_F_BFREE 1
15429 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15430 #ifdef HAVE_SYS_PARAM_H
15431 # include <sys/param.h>
15433 #ifdef HAVE_SYS_MOUNT_H
15434 # include <sys/mount.h>
15436 #ifdef HAVE_SYS_VFS_H
15437 # include <sys/vfs.h>
15439 #ifdef HAVE_SYS_STATFS_H
15440 # include <sys/statfs.h>
15443 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15445 cat >>confdefs.h
<<_ACEOF
15446 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15451 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15452 #ifdef HAVE_SYS_PARAM_H
15453 # include <sys/param.h>
15455 #ifdef HAVE_SYS_MOUNT_H
15456 # include <sys/mount.h>
15458 #ifdef HAVE_SYS_VFS_H
15459 # include <sys/vfs.h>
15461 #ifdef HAVE_SYS_STATFS_H
15462 # include <sys/statfs.h>
15465 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15467 cat >>confdefs.h
<<_ACEOF
15468 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15473 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15474 #ifdef HAVE_SYS_PARAM_H
15475 # include <sys/param.h>
15477 #ifdef HAVE_SYS_MOUNT_H
15478 # include <sys/mount.h>
15480 #ifdef HAVE_SYS_VFS_H
15481 # include <sys/vfs.h>
15483 #ifdef HAVE_SYS_STATFS_H
15484 # include <sys/statfs.h>
15487 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15489 cat >>confdefs.h
<<_ACEOF
15490 #define HAVE_STRUCT_STATFS_F_FFREE 1
15495 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15496 #ifdef HAVE_SYS_PARAM_H
15497 # include <sys/param.h>
15499 #ifdef HAVE_SYS_MOUNT_H
15500 # include <sys/mount.h>
15502 #ifdef HAVE_SYS_VFS_H
15503 # include <sys/vfs.h>
15505 #ifdef HAVE_SYS_STATFS_H
15506 # include <sys/statfs.h>
15509 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15511 cat >>confdefs.h
<<_ACEOF
15512 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15517 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15518 #ifdef HAVE_SYS_PARAM_H
15519 # include <sys/param.h>
15521 #ifdef HAVE_SYS_MOUNT_H
15522 # include <sys/mount.h>
15524 #ifdef HAVE_SYS_VFS_H
15525 # include <sys/vfs.h>
15527 #ifdef HAVE_SYS_STATFS_H
15528 # include <sys/statfs.h>
15531 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15533 cat >>confdefs.h
<<_ACEOF
15534 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15541 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15542 #include <sys/statvfs.h>
15545 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15547 cat >>confdefs.h
<<_ACEOF
15548 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15555 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15556 #include <dirent.h>
15559 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15561 cat >>confdefs.h
<<_ACEOF
15562 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15569 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15570 #ifdef HAVE_SYS_SOCKET_H
15571 # include <sys/socket.h>
15573 #ifdef HAVE_SYS_UN_H
15574 # include <sys/un.h>
15577 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15579 cat >>confdefs.h
<<_ACEOF
15580 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15585 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15586 #ifdef HAVE_SYS_SOCKET_H
15587 # include <sys/socket.h>
15589 #ifdef HAVE_SYS_UN_H
15590 # include <sys/un.h>
15593 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15595 cat >>confdefs.h
<<_ACEOF
15596 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15601 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15602 #ifdef HAVE_SYS_SOCKET_H
15603 # include <sys/socket.h>
15605 #ifdef HAVE_SYS_UN_H
15606 # include <sys/un.h>
15609 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15611 cat >>confdefs.h
<<_ACEOF
15612 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15619 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15620 #ifdef HAVE_SCSI_SG_H
15621 #include <scsi/sg.h>
15624 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15626 cat >>confdefs.h
<<_ACEOF
15627 #define HAVE_SCSIREQ_T_CMD 1
15632 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>
15633 #ifdef HAVE_SCSI_SG_H
15634 #include <scsi/sg.h>
15637 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15639 cat >>confdefs.h
<<_ACEOF
15640 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15647 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15649 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15651 cat >>confdefs.h
<<_ACEOF
15652 #define HAVE_SIGINFO_T_SI_FD 1
15659 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15660 #ifdef HAVE_SYS_MTIO_H
15661 #include <sys/mtio.h>
15664 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15666 cat >>confdefs.h
<<_ACEOF
15667 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15672 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15673 #ifdef HAVE_SYS_MTIO_H
15674 #include <sys/mtio.h>
15677 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
15679 cat >>confdefs.h
<<_ACEOF
15680 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15685 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15686 #ifdef HAVE_SYS_MTIO_H
15687 #include <sys/mtio.h>
15690 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
15692 cat >>confdefs.h
<<_ACEOF
15693 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15700 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15701 #include <getopt.h>
15704 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
15706 cat >>confdefs.h
<<_ACEOF
15707 #define HAVE_STRUCT_OPTION_NAME 1
15714 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15715 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
15717 cat >>confdefs.h
<<_ACEOF
15718 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15723 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15724 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
15726 cat >>confdefs.h
<<_ACEOF
15727 #define HAVE_STRUCT_STAT_ST_MTIM 1
15732 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15733 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
15735 cat >>confdefs.h
<<_ACEOF
15736 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15741 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15742 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
15744 cat >>confdefs.h
<<_ACEOF
15745 #define HAVE_STRUCT_STAT_ST_CTIM 1
15750 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15751 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
15753 cat >>confdefs.h
<<_ACEOF
15754 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15759 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15760 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
15762 cat >>confdefs.h
<<_ACEOF
15763 #define HAVE_STRUCT_STAT_ST_ATIM 1
15768 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15769 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
15771 cat >>confdefs.h
<<_ACEOF
15772 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15777 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15778 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
15780 cat >>confdefs.h
<<_ACEOF
15781 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15786 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15787 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
15789 cat >>confdefs.h
<<_ACEOF
15790 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15795 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15796 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
15798 cat >>confdefs.h
<<_ACEOF
15799 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15804 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15805 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
15807 cat >>confdefs.h
<<_ACEOF
15808 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15813 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15814 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
15816 cat >>confdefs.h
<<_ACEOF
15817 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15824 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
15825 #include <sys/types.h>
15827 #ifdef HAVE_NETINET_IN_H
15828 #include <netinet/in.h>
15831 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
15833 cat >>confdefs.h
<<_ACEOF
15834 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15841 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15842 #include <resolv.h>
15845 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
15847 cat >>confdefs.h
<<_ACEOF
15848 #define HAVE_STRUCT___RES_STATE 1
15855 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
15856 #include <resolv.h>
15859 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
15861 cat >>confdefs.h
<<_ACEOF
15862 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
15869 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
15870 #include <sys/types.h>
15872 #ifdef HAVE_NETINET_IN_H
15873 # include <netinet/in.h>
15875 #ifdef HAVE_ARPA_NAMESER_H
15876 # include <arpa/nameser.h>
15879 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
15881 cat >>confdefs.h
<<_ACEOF
15882 #define HAVE_NS_MSG__MSG_PTR 1
15889 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
15890 #include <sys/types.h>
15892 #ifdef HAVE_NETINET_IP_H
15893 #include <netinet/ip.h>
15895 #ifdef HAVE_NETINET_IP_ICMP_H
15896 #include <netinet/ip_icmp.h>
15898 #ifdef HAVE_NETINET_ICMP_VAR_H
15899 #include <netinet/icmp_var.h>
15902 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
15904 cat >>confdefs.h
<<_ACEOF
15905 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
15912 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
15913 #include <sys/types.h>
15915 #ifdef HAVE_ALIAS_H
15918 #ifdef HAVE_SYS_SOCKET_H
15919 #include <sys/socket.h>
15921 #ifdef HAVE_SYS_SOCKETVAR_H
15922 #include <sys/socketvar.h>
15924 #ifdef HAVE_SYS_TIMEOUT_H
15925 #include <sys/timeout.h>
15927 #ifdef HAVE_NETINET_IN_H
15928 #include <netinet/in.h>
15930 #ifdef HAVE_NETINET_IN_SYSTM_H
15931 #include <netinet/in_systm.h>
15933 #ifdef HAVE_NETINET_IP_H
15934 #include <netinet/ip.h>
15936 #ifdef HAVE_NETINET_IP_VAR_H
15937 #include <netinet/ip_var.h>
15939 #ifdef HAVE_NETINET_IP_ICMP_H
15940 #include <netinet/ip_icmp.h>
15942 #ifdef HAVE_NETINET_ICMP_VAR_H
15943 #include <netinet/icmp_var.h>
15946 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
15948 cat >>confdefs.h
<<_ACEOF
15949 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
15956 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
15957 #include <sys/types.h>
15959 #ifdef HAVE_SYS_SOCKETVAR_H
15960 #include <sys/socketvar.h>
15962 #ifdef HAVE_NETINET_IN_H
15963 #include <netinet/in.h>
15965 #ifdef HAVE_NETINET_IP_VAR_H
15966 #include <netinet/ip_var.h>
15969 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
15971 cat >>confdefs.h
<<_ACEOF
15972 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
15979 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
15980 #include <netinet/ip_var.h>
15983 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
15985 cat >>confdefs.h
<<_ACEOF
15986 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
15993 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
15994 #include <sys/types.h>
15996 #ifdef HAVE_SYS_SOCKETVAR_H
15997 #include <sys/socketvar.h>
15999 #ifdef HAVE_NETINET_IN_H
16000 #include <netinet/in.h>
16002 #ifdef HAVE_NETINET_TCP_H
16003 #include <netinet/tcp.h>
16005 #ifdef HAVE_NETINET_TCP_VAR_H
16006 #include <netinet/tcp_var.h>
16009 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16011 cat >>confdefs.h
<<_ACEOF
16012 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16019 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
16020 #include <netinet/tcp_var.h>
16023 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16025 cat >>confdefs.h
<<_ACEOF
16026 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16033 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16034 #include <sys/types.h>
16036 #ifdef HAVE_NETINET_IN_H
16037 #include <netinet/in.h>
16039 #ifdef HAVE_NETINET_IP_VAR_H
16040 #include <netinet/ip_var.h>
16042 #ifdef HAVE_NETINET_UDP_H
16043 #include <netinet/udp.h>
16045 #ifdef HAVE_NETINET_UDP_VAR_H
16046 #include <netinet/udp_var.h>
16049 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16051 cat >>confdefs.h
<<_ACEOF
16052 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16059 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16060 #include <sys/types.h>
16062 #ifdef HAVE_NET_IF_H
16063 # include <net/if.h>
16066 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16068 cat >>confdefs.h
<<_ACEOF
16069 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16077 $as_echo_n "checking for timezone variable... " >&6; }
16078 if ${ac_cv_have_timezone+:} false
; then :
16079 $as_echo_n "(cached) " >&6
16081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16082 /* end confdefs.h. */
16092 if ac_fn_c_try_link
"$LINENO"; then :
16093 ac_cv_have_timezone
="yes"
16095 ac_cv_have_timezone
="no"
16097 rm -f core conftest.err conftest.
$ac_objext \
16098 conftest
$ac_exeext conftest.
$ac_ext
16100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16101 $as_echo "$ac_cv_have_timezone" >&6; }
16102 if test "$ac_cv_have_timezone" = "yes"
16105 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16109 $as_echo_n "checking for daylight variable... " >&6; }
16110 if ${ac_cv_have_daylight+:} false
; then :
16111 $as_echo_n "(cached) " >&6
16113 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16114 /* end confdefs.h. */
16124 if ac_fn_c_try_link
"$LINENO"; then :
16125 ac_cv_have_daylight
="yes"
16127 ac_cv_have_daylight
="no"
16129 rm -f core conftest.err conftest.
$ac_objext \
16130 conftest
$ac_exeext conftest.
$ac_ext
16132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16133 $as_echo "$ac_cv_have_daylight" >&6; }
16134 if test "$ac_cv_have_daylight" = "yes"
16137 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16141 ac_save_LIBS
="$LIBS"
16143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16144 $as_echo_n "checking for isfinite... " >&6; }
16145 if ${ac_cv_have_isfinite+:} false
; then :
16146 $as_echo_n "(cached) " >&6
16148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16149 /* end confdefs.h. */
16150 #define _GNU_SOURCE
16155 float f = 0.0; return isfinite(f)
16160 if ac_fn_c_try_link
"$LINENO"; then :
16161 ac_cv_have_isfinite
="yes"
16163 ac_cv_have_isfinite
="no"
16165 rm -f core conftest.err conftest.
$ac_objext \
16166 conftest
$ac_exeext conftest.
$ac_ext
16168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16169 $as_echo "$ac_cv_have_isfinite" >&6; }
16170 if test "$ac_cv_have_isfinite" = "yes"
16173 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16177 ac_save_LIBS
="$LIBS"
16179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16180 $as_echo_n "checking for isinf... " >&6; }
16181 if ${ac_cv_have_isinf+:} false
; then :
16182 $as_echo_n "(cached) " >&6
16184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16185 /* end confdefs.h. */
16190 float f = 0.0; return isinf(f)
16195 if ac_fn_c_try_link
"$LINENO"; then :
16196 ac_cv_have_isinf
="yes"
16198 ac_cv_have_isinf
="no"
16200 rm -f core conftest.err conftest.
$ac_objext \
16201 conftest
$ac_exeext conftest.
$ac_ext
16203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16204 $as_echo "$ac_cv_have_isinf" >&6; }
16205 if test "$ac_cv_have_isinf" = "yes"
16208 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16213 $as_echo_n "checking for isnan... " >&6; }
16214 if ${ac_cv_have_isnan+:} false
; then :
16215 $as_echo_n "(cached) " >&6
16217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16218 /* end confdefs.h. */
16223 float f = 0.0; return isnan(f)
16228 if ac_fn_c_try_link
"$LINENO"; then :
16229 ac_cv_have_isnan
="yes"
16231 ac_cv_have_isnan
="no"
16233 rm -f core conftest.err conftest.
$ac_objext \
16234 conftest
$ac_exeext conftest.
$ac_ext
16236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16237 $as_echo "$ac_cv_have_isnan" >&6; }
16238 if test "$ac_cv_have_isnan" = "yes"
16241 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16244 LIBS
="$ac_save_LIBS"
16248 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16249 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16250 if ${ac_cv_cpp_def___i386__+:} false
; then :
16251 $as_echo_n "(cached) " >&6
16253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16254 /* end confdefs.h. */
16259 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16260 $EGREP "yes" >/dev
/null
2>&1; then :
16261 ac_cv_cpp_def___i386__
=yes
16263 ac_cv_cpp_def___i386__
=no
16268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16269 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16270 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16271 CFLAGS
="$CFLAGS -D__i386__"
16272 LINTFLAGS
="$LINTFLAGS -D__i386__"
16274 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16275 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16276 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16277 $as_echo_n "(cached) " >&6
16279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16280 /* end confdefs.h. */
16285 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16286 $EGREP "yes" >/dev
/null
2>&1; then :
16287 ac_cv_cpp_def___x86_64__
=yes
16289 ac_cv_cpp_def___x86_64__
=no
16294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16295 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16296 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16297 CFLAGS
="$CFLAGS -D__x86_64__"
16298 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16300 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16301 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16302 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16303 $as_echo_n "(cached) " >&6
16305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16306 /* end confdefs.h. */
16307 #ifndef __sparc64__
16311 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16312 $EGREP "yes" >/dev
/null
2>&1; then :
16313 ac_cv_cpp_def___sparc64__
=yes
16315 ac_cv_cpp_def___sparc64__
=no
16320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16321 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16322 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16323 CFLAGS
="$CFLAGS -D__sparc64__"
16324 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16326 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16327 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16328 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16329 $as_echo_n "(cached) " >&6
16331 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16332 /* end confdefs.h. */
16337 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16338 $EGREP "yes" >/dev
/null
2>&1; then :
16339 ac_cv_cpp_def___sparc__
=yes
16341 ac_cv_cpp_def___sparc__
=no
16346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16347 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16348 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16349 CFLAGS
="$CFLAGS -D__sparc__"
16350 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16352 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16353 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16354 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16355 $as_echo_n "(cached) " >&6
16357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16358 /* end confdefs.h. */
16359 #ifndef __powerpc64__
16363 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16364 $EGREP "yes" >/dev
/null
2>&1; then :
16365 ac_cv_cpp_def___powerpc64__
=yes
16367 ac_cv_cpp_def___powerpc64__
=no
16372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16373 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16374 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
16375 CFLAGS
="$CFLAGS -D__powerpc64__"
16376 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16378 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16379 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16380 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16381 $as_echo_n "(cached) " >&6
16383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16384 /* end confdefs.h. */
16385 #ifndef __powerpc__
16389 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16390 $EGREP "yes" >/dev
/null
2>&1; then :
16391 ac_cv_cpp_def___powerpc__
=yes
16393 ac_cv_cpp_def___powerpc__
=no
16398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16399 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16400 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
16401 CFLAGS
="$CFLAGS -D__powerpc__"
16402 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16404 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16405 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16406 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16407 $as_echo_n "(cached) " >&6
16409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16410 /* end confdefs.h. */
16411 #ifndef __aarch64__
16415 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16416 $EGREP "yes" >/dev
/null
2>&1; then :
16417 ac_cv_cpp_def___aarch64__
=yes
16419 ac_cv_cpp_def___aarch64__
=no
16424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16425 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16426 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
16427 CFLAGS
="$CFLAGS -D__aarch64__"
16428 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16430 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16431 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16432 if ${ac_cv_cpp_def___arm__+:} false
; then :
16433 $as_echo_n "(cached) " >&6
16435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16436 /* end confdefs.h. */
16441 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16442 $EGREP "yes" >/dev
/null
2>&1; then :
16443 ac_cv_cpp_def___arm__
=yes
16445 ac_cv_cpp_def___arm__
=no
16450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16451 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16452 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
16453 CFLAGS
="$CFLAGS -D__arm__"
16454 LINTFLAGS
="$LINTFLAGS -D__arm__"
16458 case $host_vendor in
16459 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16460 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16461 if ${ac_cv_cpp_def___sun__+:} false
; then :
16462 $as_echo_n "(cached) " >&6
16464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16465 /* end confdefs.h. */
16470 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16471 $EGREP "yes" >/dev
/null
2>&1; then :
16472 ac_cv_cpp_def___sun__
=yes
16474 ac_cv_cpp_def___sun__
=no
16479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16480 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16481 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
16482 CFLAGS
="$CFLAGS -D__sun__"
16483 LINTFLAGS
="$LINTFLAGS -D__sun__"
16491 ac_config_commands
="$ac_config_commands include/stamp-h"
16493 $as_echo_n "creating Makefile rules..." >&6
16495 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
16496 SOCKET_LIBS = $SOCKET_LIBS
16497 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16498 IOKIT_LIBS = $IOKIT_LIBS
16499 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16500 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16501 CORESERVICES_LIBS = $CORESERVICES_LIBS
16502 APPKIT_LIBS = $APPKIT_LIBS
16503 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16504 SECURITY_LIBS = $SECURITY_LIBS
16505 COREAUDIO_LIBS = $COREAUDIO_LIBS
16506 OPENAL_LIBS = $OPENAL_LIBS
16507 OPENCL_LIBS = $OPENCL_LIBS
16508 QUICKTIME_LIBS = $QUICKTIME_LIBS
16509 CARBON_LIBS = $CARBON_LIBS
16510 PTHREAD_LIBS = $PTHREAD_LIBS
16511 X_CFLAGS = $X_CFLAGS
16512 X_PRE_LIBS = $X_PRE_LIBS
16514 X_EXTRA_LIBS = $X_EXTRA_LIBS
16515 XML2_CFLAGS = $XML2_CFLAGS
16516 XML2_LIBS = $XML2_LIBS
16517 XSLT_CFLAGS = $XSLT_CFLAGS
16518 XSLT_LIBS = $XSLT_LIBS
16519 DBUS_CFLAGS = $DBUS_CFLAGS
16520 DBUS_LIBS = $DBUS_LIBS
16521 HAL_CFLAGS = $HAL_CFLAGS
16522 HAL_LIBS = $HAL_LIBS
16523 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16524 GNUTLS_LIBS = $GNUTLS_LIBS
16525 SANE_CFLAGS = $SANE_CFLAGS
16526 SANE_LIBS = $SANE_LIBS
16527 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16528 GPHOTO2_LIBS = $GPHOTO2_LIBS
16529 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16530 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16531 RESOLV_LIBS = $RESOLV_LIBS
16532 LCMS2_CFLAGS = $LCMS2_CFLAGS
16533 LCMS2_LIBS = $LCMS2_LIBS
16534 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16535 FREETYPE_LIBS = $FREETYPE_LIBS
16537 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16538 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16539 GSTREAMER_LIBS = $GSTREAMER_LIBS
16540 ALSA_LIBS = $ALSA_LIBS
16541 OSS4_CFLAGS = $OSS4_CFLAGS
16542 CAPI20_CFLAGS = $CAPI20_CFLAGS
16543 CAPI20_LIBS = $CAPI20_LIBS
16544 CUPS_CFLAGS = $CUPS_CFLAGS
16545 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16546 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16547 JPEG_CFLAGS = $JPEG_CFLAGS
16548 JPEG_LIBS = $JPEG_LIBS
16549 PNG_CFLAGS = $PNG_CFLAGS
16550 PNG_LIBS = $PNG_LIBS
16551 TIFF_CFLAGS = $TIFF_CFLAGS
16552 TIFF_LIBS = $TIFF_LIBS
16553 MPG123_CFLAGS = $MPG123_CFLAGS
16554 MPG123_LIBS = $MPG123_LIBS
16555 KSTAT_LIBS = $KSTAT_LIBS
16556 PROCSTAT_LIBS = $PROCSTAT_LIBS
16558 POLL_LIBS = $POLL_LIBS
16560 LDAP_LIBS = $LDAP_LIBS
16565 wine_fn_append_rule
"
16566 # Rules automatically generated by configure
16568 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16573 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16574 @./config.status Make.tmp Makefile && \$(MAKEDEP) ."
16576 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
16577 .gitignore: config.status
16578 @./config.status .gitignore"
16580 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
16581 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16583 if test "x$enable_fonts" != xno
; then
16584 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16585 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16586 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16587 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16588 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16590 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16591 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
16592 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16593 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16594 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16595 wine_fn_config_symlink wine
16596 if test "x$enable_win64" != xno
; then
16597 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16598 wine_fn_config_symlink wine64
16601 wine_fn_config_dll acledit enable_acledit
16602 wine_fn_config_dll aclui enable_aclui implib
16603 wine_fn_config_dll activeds enable_activeds implib
16604 wine_fn_config_dll actxprxy enable_actxprxy clean
16605 wine_fn_config_lib adsiid
16606 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
16607 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
16608 wine_fn_config_dll advpack enable_advpack implib
16609 wine_fn_config_test dlls
/advpack
/tests advpack_test
16610 wine_fn_config_dll amstream enable_amstream clean
16611 wine_fn_config_test dlls
/amstream
/tests amstream_test
16612 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16613 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16614 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16615 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16616 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16617 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16618 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16619 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16620 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16621 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16622 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16623 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16624 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16625 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16626 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16627 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16628 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16629 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16630 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16631 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16632 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16633 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16634 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16635 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16636 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16637 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16638 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16639 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16640 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16641 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16642 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16643 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16644 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16645 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16646 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16647 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16648 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16649 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16650 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16651 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16652 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16653 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16654 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16655 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16656 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16657 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16658 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16659 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16660 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16661 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16662 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16663 wine_fn_config_dll apphelp enable_apphelp
16664 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
16665 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16666 wine_fn_config_dll atl enable_atl clean
,implib
16667 wine_fn_config_test dlls
/atl
/tests atl_test
16668 wine_fn_config_dll atl100 enable_atl100 implib
16669 wine_fn_config_test dlls
/atl100
/tests atl100_test
16670 wine_fn_config_dll atl110 enable_atl110
16671 wine_fn_config_dll atl80 enable_atl80 implib
16672 wine_fn_config_test dlls
/atl80
/tests atl80_test
16673 wine_fn_config_dll atl90 enable_atl90
16674 wine_fn_config_dll authz enable_authz
16675 wine_fn_config_dll avicap32 enable_avicap32 implib
16676 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
16677 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
16678 wine_fn_config_dll avifile.dll16 enable_win16
16679 wine_fn_config_dll avrt enable_avrt implib
16680 wine_fn_config_dll bcrypt enable_bcrypt
16681 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
16682 wine_fn_config_dll browseui enable_browseui clean
,po
16683 wine_fn_config_test dlls
/browseui
/tests browseui_test
16684 wine_fn_config_dll cabinet enable_cabinet implib
16685 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
16686 wine_fn_config_dll capi2032 enable_capi2032 implib
16687 wine_fn_config_dll cards enable_cards implib
16688 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16689 wine_fn_config_dll clusapi enable_clusapi implib
16690 wine_fn_config_dll comcat enable_comcat
16691 wine_fn_config_test dlls
/comcat
/tests comcat_test
16692 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
16693 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
16694 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
16695 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
16696 wine_fn_config_dll
comm.drv16 enable_win16
16697 wine_fn_config_dll commdlg.dll16 enable_win16
16698 wine_fn_config_dll compobj.dll16 enable_win16
16699 wine_fn_config_dll compstui enable_compstui implib
16700 wine_fn_config_dll comsvcs enable_comsvcs implib
16701 wine_fn_config_dll credui enable_credui implib
,po
16702 wine_fn_config_test dlls
/credui
/tests credui_test
16703 wine_fn_config_dll crtdll enable_crtdll implib
16704 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
16705 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
16706 wine_fn_config_dll cryptdlg enable_cryptdlg po
16707 wine_fn_config_dll cryptdll enable_cryptdll implib
16708 wine_fn_config_dll cryptnet enable_cryptnet implib
16709 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
16710 wine_fn_config_dll cryptui enable_cryptui implib
,po
16711 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
16712 wine_fn_config_dll ctapi32 enable_ctapi32
16713 wine_fn_config_dll ctl3d.dll16 enable_win16
16714 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16715 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16716 wine_fn_config_dll d3d10 enable_d3d10 implib
16717 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
16718 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16719 wine_fn_config_dll d3d10core enable_d3d10core implib
16720 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
16721 wine_fn_config_dll d3d11 enable_d3d11
16722 wine_fn_config_dll d3d8 enable_d3d8 implib
16723 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
16724 wine_fn_config_dll d3d9 enable_d3d9 implib
16725 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
16726 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16727 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16728 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16729 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16730 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16731 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16732 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16733 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16734 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16735 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16736 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16737 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
16738 wine_fn_config_dll d3dim enable_d3dim implib
16739 wine_fn_config_dll d3drm enable_d3drm implib
16740 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
16741 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16742 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16743 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16744 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16745 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16746 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16747 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16748 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16749 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16750 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16751 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16752 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16753 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16754 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16755 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16756 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16757 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16758 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16759 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16760 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16761 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16762 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16763 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16764 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16765 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16766 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16767 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
16768 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16769 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16770 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16771 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16772 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16773 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16774 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16775 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
16776 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
16777 wine_fn_config_dll dbgeng enable_dbgeng implib
16778 wine_fn_config_dll dbghelp enable_dbghelp implib
16779 wine_fn_config_dll dciman32 enable_dciman32 implib
16780 wine_fn_config_dll ddeml.dll16 enable_win16
16781 wine_fn_config_dll ddraw enable_ddraw clean
,implib
16782 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
16783 wine_fn_config_dll ddrawex enable_ddrawex clean
16784 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
16785 wine_fn_config_dll devenum enable_devenum clean
,po
16786 wine_fn_config_test dlls
/devenum
/tests devenum_test
16787 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16788 wine_fn_config_dll difxapi enable_difxapi
16789 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
16790 wine_fn_config_test dlls
/dinput
/tests dinput_test
16791 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
16792 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
16793 wine_fn_config_dll dispdib.dll16 enable_win16
16794 wine_fn_config_dll dispex enable_dispex clean
16795 wine_fn_config_test dlls
/dispex
/tests dispex_test
16796 wine_fn_config_dll display.drv16 enable_win16
16797 wine_fn_config_dll dmband enable_dmband clean
16798 wine_fn_config_test dlls
/dmband
/tests dmband_test
16799 wine_fn_config_dll dmcompos enable_dmcompos clean
16800 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
16801 wine_fn_config_dll dmime enable_dmime clean
16802 wine_fn_config_test dlls
/dmime
/tests dmime_test
16803 wine_fn_config_dll dmloader enable_dmloader clean
16804 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
16805 wine_fn_config_dll dmscript enable_dmscript clean
16806 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
16807 wine_fn_config_dll dmstyle enable_dmstyle clean
16808 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
16809 wine_fn_config_dll dmsynth enable_dmsynth clean
16810 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
16811 wine_fn_config_dll dmusic enable_dmusic clean
16812 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
16813 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16814 wine_fn_config_dll dnsapi enable_dnsapi implib
16815 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
16816 wine_fn_config_dll dplay enable_dplay implib
16817 wine_fn_config_dll dplayx enable_dplayx clean
,implib
16818 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
16819 wine_fn_config_dll dpnaddr enable_dpnaddr
16820 wine_fn_config_dll dpnet enable_dpnet clean
,implib
16821 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
16822 wine_fn_config_dll dpnhpast enable_dpnhpast
16823 wine_fn_config_dll dpnlobby enable_dpnlobby
16824 wine_fn_config_dll dpwsockx enable_dpwsockx
16825 wine_fn_config_dll drmclien enable_drmclien
16826 wine_fn_config_dll dsound enable_dsound clean
,implib
16827 wine_fn_config_test dlls
/dsound
/tests dsound_test
16828 wine_fn_config_dll dssenh enable_dssenh
16829 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
16830 wine_fn_config_dll dswave enable_dswave clean
16831 wine_fn_config_dll dwmapi enable_dwmapi implib
16832 wine_fn_config_dll dwrite enable_dwrite implib
16833 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
16834 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
16835 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
16836 wine_fn_config_lib dxerr8
16837 wine_fn_config_lib dxerr9
16838 wine_fn_config_dll dxgi enable_dxgi implib
16839 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
16840 wine_fn_config_lib dxguid
16841 wine_fn_config_dll explorerframe enable_explorerframe clean
16842 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
16843 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
16844 wine_fn_config_dll faultrep enable_faultrep implib
16845 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
16846 wine_fn_config_dll fltlib enable_fltlib
16847 wine_fn_config_dll fusion enable_fusion
16848 wine_fn_config_test dlls
/fusion
/tests fusion_test
16849 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16850 wine_fn_config_dll gameux enable_gameux clean
16851 wine_fn_config_test dlls
/gameux
/tests gameux_test
16852 wine_fn_config_dll gdi.exe16 enable_win16
16853 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
16854 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
16855 wine_fn_config_dll gdiplus enable_gdiplus implib
16856 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
16857 wine_fn_config_dll glu32 enable_glu32 implib
16858 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16859 wine_fn_config_dll gpkcsp enable_gpkcsp
16860 wine_fn_config_dll hal enable_hal
16861 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
16862 wine_fn_config_dll hid enable_hid implib
16863 wine_fn_config_dll hlink enable_hlink clean
,implib
16864 wine_fn_config_test dlls
/hlink
/tests hlink_test
16865 wine_fn_config_dll hnetcfg enable_hnetcfg clean
16866 wine_fn_config_dll httpapi enable_httpapi
16867 wine_fn_config_dll iccvid enable_iccvid po
16868 wine_fn_config_dll icmp enable_icmp
16869 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
16870 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
16871 wine_fn_config_dll ifsmgr.vxd enable_win16
16872 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
16873 wine_fn_config_dll imagehlp enable_imagehlp implib
16874 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
16875 wine_fn_config_dll imm.dll16 enable_win16
16876 wine_fn_config_dll imm32 enable_imm32 implib
16877 wine_fn_config_test dlls
/imm32
/tests imm32_test
16878 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
16879 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
16880 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
16881 wine_fn_config_dll inetmib1 enable_inetmib1
16882 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
16883 wine_fn_config_dll infosoft enable_infosoft clean
16884 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
16885 wine_fn_config_dll initpki enable_initpki
16886 wine_fn_config_dll inkobj enable_inkobj
16887 wine_fn_config_dll inseng enable_inseng clean
16888 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16889 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
16890 wine_fn_config_dll itircl enable_itircl
16891 wine_fn_config_dll itss enable_itss clean
16892 wine_fn_config_test dlls
/itss
/tests itss_test
16893 wine_fn_config_dll joy.cpl enable_joy_cpl po
16894 wine_fn_config_dll jscript enable_jscript clean
,po
16895 wine_fn_config_test dlls
/jscript
/tests jscript_test
16896 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
16897 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
16898 wine_fn_config_dll keyboard.drv16 enable_win16
16899 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16900 wine_fn_config_dll ktmw32 enable_ktmw32
16901 wine_fn_config_dll loadperf enable_loadperf implib
16902 wine_fn_config_dll localspl enable_localspl po
16903 wine_fn_config_test dlls
/localspl
/tests localspl_test
16904 wine_fn_config_dll localui enable_localui po
16905 wine_fn_config_test dlls
/localui
/tests localui_test
16906 wine_fn_config_dll lz32 enable_lz32 implib
16907 wine_fn_config_test dlls
/lz32
/tests lz32_test
16908 wine_fn_config_dll lzexpand.dll16 enable_win16
16909 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
16910 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
16911 wine_fn_config_dll mapistub enable_mapistub
16912 wine_fn_config_dll mciavi32 enable_mciavi32
16913 wine_fn_config_dll mcicda enable_mcicda
16914 wine_fn_config_dll mciqtz32 enable_mciqtz32
16915 wine_fn_config_dll mciseq enable_mciseq
16916 wine_fn_config_dll mciwave enable_mciwave
16917 wine_fn_config_dll mgmtapi enable_mgmtapi
16918 wine_fn_config_dll midimap enable_midimap
16919 wine_fn_config_dll mlang enable_mlang clean
,implib
16920 wine_fn_config_test dlls
/mlang
/tests mlang_test
16921 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
16922 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
16923 wine_fn_config_dll mmdevapi enable_mmdevapi clean
16924 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
16925 wine_fn_config_dll mmdevldr.vxd enable_win16
16926 wine_fn_config_dll mmsystem.dll16 enable_win16
16927 wine_fn_config_dll monodebg.vxd enable_win16
16928 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16929 wine_fn_config_dll mouse.drv16 enable_win16
16930 wine_fn_config_dll mpr enable_mpr implib
,po
16931 wine_fn_config_test dlls
/mpr
/tests mpr_test
16932 wine_fn_config_dll mprapi enable_mprapi implib
16933 wine_fn_config_dll msacm.dll16 enable_win16
16934 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16935 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
16936 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
16937 wine_fn_config_dll msadp32.acm enable_msadp32_acm
16938 wine_fn_config_dll mscat32 enable_mscat32
16939 wine_fn_config_dll mscms enable_mscms implib
16940 wine_fn_config_test dlls
/mscms
/tests mscms_test
16941 wine_fn_config_dll mscoree enable_mscoree clean
16942 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
16943 wine_fn_config_dll msctf enable_msctf clean
16944 wine_fn_config_test dlls
/msctf
/tests msctf_test
16945 wine_fn_config_dll msdaps enable_msdaps clean
16946 wine_fn_config_dll msdmo enable_msdmo implib
16947 wine_fn_config_dll msftedit enable_msftedit
16948 wine_fn_config_dll msg711.acm enable_msg711_acm
16949 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
16950 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
16951 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
16952 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
16953 wine_fn_config_dll msi enable_msi clean
,implib
,po
16954 wine_fn_config_test dlls
/msi
/tests msi_test
16955 wine_fn_config_dll msident enable_msident clean
16956 wine_fn_config_dll msimg32 enable_msimg32 implib
16957 wine_fn_config_dll msimsg enable_msimsg
16958 wine_fn_config_dll msimtf enable_msimtf clean
16959 wine_fn_config_dll msisip enable_msisip
16960 wine_fn_config_dll msisys.ocx enable_msisys_ocx
16961 wine_fn_config_dll msls31 enable_msls31
16962 wine_fn_config_dll msnet32 enable_msnet32
16963 wine_fn_config_dll mspatcha enable_mspatcha
16964 wine_fn_config_dll msrle32 enable_msrle32 po
16965 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
16966 wine_fn_config_dll mssign32 enable_mssign32
16967 wine_fn_config_dll mssip32 enable_mssip32
16968 wine_fn_config_dll mstask enable_mstask clean
16969 wine_fn_config_test dlls
/mstask
/tests mstask_test
16970 wine_fn_config_dll msvcirt enable_msvcirt
16971 wine_fn_config_dll msvcm80 enable_msvcm80
16972 wine_fn_config_dll msvcm90 enable_msvcm90
16973 wine_fn_config_dll msvcp100 enable_msvcp100
16974 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
16975 wine_fn_config_dll msvcp110 enable_msvcp110
16976 wine_fn_config_dll msvcp60 enable_msvcp60
16977 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
16978 wine_fn_config_dll msvcp70 enable_msvcp70
16979 wine_fn_config_dll msvcp71 enable_msvcp71
16980 wine_fn_config_dll msvcp80 enable_msvcp80
16981 wine_fn_config_dll msvcp90 enable_msvcp90
16982 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
16983 wine_fn_config_dll msvcr100 enable_msvcr100 implib
16984 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
16985 wine_fn_config_dll msvcr110 enable_msvcr110 implib
16986 wine_fn_config_dll msvcr70 enable_msvcr70 implib
16987 wine_fn_config_dll msvcr71 enable_msvcr71 implib
16988 wine_fn_config_dll msvcr80 enable_msvcr80 implib
16989 wine_fn_config_dll msvcr90 enable_msvcr90 implib
16990 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
16991 wine_fn_config_dll msvcrt enable_msvcrt implib
16992 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
16993 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
16994 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
16995 wine_fn_config_dll msvcrtd enable_msvcrtd implib
16996 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
16997 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
16998 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
16999 wine_fn_config_dll msvidc32 enable_msvidc32 po
17000 wine_fn_config_dll msvideo.dll16 enable_win16
17001 wine_fn_config_dll mswsock enable_mswsock implib
17002 wine_fn_config_dll msxml enable_msxml clean
17003 wine_fn_config_dll msxml2 enable_msxml2 clean
17004 wine_fn_config_dll msxml3 enable_msxml3 clean
17005 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17006 wine_fn_config_dll msxml4 enable_msxml4 clean
17007 wine_fn_config_dll msxml6 enable_msxml6 clean
17008 wine_fn_config_dll nddeapi enable_nddeapi implib
17009 wine_fn_config_dll netapi32 enable_netapi32 implib
17010 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17011 wine_fn_config_dll netcfgx enable_netcfgx
17012 wine_fn_config_dll newdev enable_newdev implib
17013 wine_fn_config_dll normaliz enable_normaliz implib
17014 wine_fn_config_dll npmshtml enable_npmshtml
17015 wine_fn_config_dll ntdll enable_ntdll implib
17016 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17017 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17018 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17019 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17020 wine_fn_config_dll ntprint enable_ntprint
17021 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17022 wine_fn_config_dll objsel enable_objsel clean
17023 wine_fn_config_dll odbc32 enable_odbc32 implib
17024 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17025 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17026 wine_fn_config_dll odbccu32 enable_odbccu32
17027 wine_fn_config_dll ole2.dll16 enable_win16
17028 wine_fn_config_dll ole2conv.dll16 enable_win16
17029 wine_fn_config_dll ole2disp.dll16 enable_win16
17030 wine_fn_config_dll ole2nls.dll16 enable_win16
17031 wine_fn_config_dll ole2prox.dll16 enable_win16
17032 wine_fn_config_dll ole2thk.dll16 enable_win16
17033 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17034 wine_fn_config_test dlls
/ole32
/tests ole32_test
17035 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17036 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17037 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17038 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17039 wine_fn_config_dll olecli.dll16 enable_win16
17040 wine_fn_config_dll olecli32 enable_olecli32 implib
17041 wine_fn_config_dll oledb32 enable_oledb32 clean
17042 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17043 wine_fn_config_dll oledlg enable_oledlg implib
,po
17044 wine_fn_config_dll olepro32 enable_olepro32 implib
17045 wine_fn_config_dll olesvr.dll16 enable_win16
17046 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17047 wine_fn_config_dll olethk32 enable_olethk32
17048 wine_fn_config_dll openal32 enable_openal32
17049 wine_fn_config_dll opencl enable_opencl
17050 wine_fn_config_dll opengl32 enable_opengl32 implib
17051 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17052 wine_fn_config_dll pdh enable_pdh implib
17053 wine_fn_config_test dlls
/pdh
/tests pdh_test
17054 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17055 wine_fn_config_dll pidgen enable_pidgen
17056 wine_fn_config_dll powrprof enable_powrprof implib
17057 wine_fn_config_dll printui enable_printui
17058 wine_fn_config_dll propsys enable_propsys clean
,implib
17059 wine_fn_config_test dlls
/propsys
/tests propsys_test
17060 wine_fn_config_dll psapi enable_psapi implib
17061 wine_fn_config_test dlls
/psapi
/tests psapi_test
17062 wine_fn_config_dll pstorec enable_pstorec clean
17063 wine_fn_config_dll qcap enable_qcap
17064 wine_fn_config_test dlls
/qcap
/tests qcap_test
17065 wine_fn_config_dll qedit enable_qedit clean
17066 wine_fn_config_test dlls
/qedit
/tests qedit_test
17067 wine_fn_config_dll qmgr enable_qmgr clean
17068 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17069 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17070 wine_fn_config_dll quartz enable_quartz clean
,implib
17071 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17072 wine_fn_config_dll query enable_query
17073 wine_fn_config_dll rasapi16.dll16 enable_win16
17074 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17075 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17076 wine_fn_config_dll rasdlg enable_rasdlg implib
17077 wine_fn_config_dll regapi enable_regapi
17078 wine_fn_config_dll resutils enable_resutils implib
17079 wine_fn_config_dll riched20 enable_riched20 implib
17080 wine_fn_config_test dlls
/riched20
/tests riched20_test
17081 wine_fn_config_dll riched32 enable_riched32
17082 wine_fn_config_test dlls
/riched32
/tests riched32_test
17083 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17084 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17085 wine_fn_config_dll rsabase enable_rsabase
17086 wine_fn_config_dll rsaenh enable_rsaenh implib
17087 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17088 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17089 wine_fn_config_dll rtutils enable_rtutils implib
17090 wine_fn_config_dll samlib enable_samlib
17091 wine_fn_config_dll sane.ds enable_sane_ds po
17092 wine_fn_config_dll scarddlg enable_scarddlg
17093 wine_fn_config_dll sccbase enable_sccbase
17094 wine_fn_config_dll schannel enable_schannel
17095 wine_fn_config_test dlls
/schannel
/tests schannel_test
17096 wine_fn_config_dll scrrun enable_scrrun clean
17097 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17098 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17099 wine_fn_config_dll secur32 enable_secur32 implib
17100 wine_fn_config_test dlls
/secur32
/tests secur32_test
17101 wine_fn_config_dll security enable_security
17102 wine_fn_config_dll sensapi enable_sensapi implib
17103 wine_fn_config_dll serialui enable_serialui implib
,po
17104 wine_fn_config_test dlls
/serialui
/tests serialui_test
17105 wine_fn_config_dll setupapi enable_setupapi implib
,po
17106 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17107 wine_fn_config_dll setupx.dll16 enable_win16
17108 wine_fn_config_dll sfc enable_sfc implib
17109 wine_fn_config_dll sfc_os enable_sfc_os implib
17110 wine_fn_config_dll shdoclc enable_shdoclc po
17111 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17112 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17113 wine_fn_config_dll shell.dll16 enable_win16
17114 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17115 wine_fn_config_test dlls
/shell32
/tests shell32_test
17116 wine_fn_config_dll shfolder enable_shfolder implib
17117 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17118 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17119 wine_fn_config_dll slbcsp enable_slbcsp
17120 wine_fn_config_dll slc enable_slc implib
17121 wine_fn_config_dll snmpapi enable_snmpapi implib
17122 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17123 wine_fn_config_dll softpub enable_softpub
17124 wine_fn_config_dll sound.drv16 enable_win16
17125 wine_fn_config_dll spoolss enable_spoolss implib
17126 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17127 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17128 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17129 wine_fn_config_dll sti enable_sti clean
,implib
17130 wine_fn_config_test dlls
/sti
/tests sti_test
17131 wine_fn_config_dll storage.dll16 enable_win16
17132 wine_fn_config_dll stress.dll16 enable_win16
17133 wine_fn_config_lib strmbase
17134 wine_fn_config_lib strmiids
17135 wine_fn_config_dll svrapi enable_svrapi
17136 wine_fn_config_dll sxs enable_sxs implib
17137 wine_fn_config_test dlls
/sxs
/tests sxs_test
17138 wine_fn_config_dll system.drv16 enable_win16
17139 wine_fn_config_dll t2embed enable_t2embed
17140 wine_fn_config_dll tapi32 enable_tapi32 implib
17141 wine_fn_config_dll taskschd enable_taskschd clean
17142 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17143 wine_fn_config_dll toolhelp.dll16 enable_win16
17144 wine_fn_config_dll traffic enable_traffic
17145 wine_fn_config_dll twain.dll16 enable_win16
17146 wine_fn_config_dll twain_32 enable_twain_32
17147 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17148 wine_fn_config_dll typelib.dll16 enable_win16
17149 wine_fn_config_dll unicows enable_unicows implib
17150 wine_fn_config_dll updspapi enable_updspapi
17151 wine_fn_config_dll url enable_url implib
17152 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17153 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17154 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17155 wine_fn_config_dll user.exe16 enable_win16
17156 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17157 wine_fn_config_test dlls
/user32
/tests user32_test
17158 wine_fn_config_dll userenv enable_userenv implib
17159 wine_fn_config_test dlls
/userenv
/tests userenv_test
17160 wine_fn_config_dll usp10 enable_usp10 implib
17161 wine_fn_config_test dlls
/usp10
/tests usp10_test
17162 wine_fn_config_lib uuid
17163 wine_fn_config_dll uxtheme enable_uxtheme implib
17164 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17165 wine_fn_config_dll vbscript enable_vbscript clean
17166 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17167 wine_fn_config_dll vcomp enable_vcomp
17168 wine_fn_config_dll vcomp100 enable_vcomp100
17169 wine_fn_config_dll vcomp90 enable_vcomp90
17170 wine_fn_config_dll vdhcp.vxd enable_win16
17171 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17172 wine_fn_config_dll ver.dll16 enable_win16
17173 wine_fn_config_dll version enable_version implib
17174 wine_fn_config_test dlls
/version
/tests version_test
17175 wine_fn_config_dll vmm.vxd enable_win16
17176 wine_fn_config_dll vnbt.vxd enable_win16
17177 wine_fn_config_dll vnetbios.vxd enable_win16
17178 wine_fn_config_dll vtdapi.vxd enable_win16
17179 wine_fn_config_dll vwin32.vxd enable_win16
17180 wine_fn_config_dll w32skrnl enable_win16
17181 wine_fn_config_dll w32sys.dll16 enable_win16
17182 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17183 wine_fn_config_dll wbemprox enable_wbemprox clean
17184 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17185 wine_fn_config_dll webservices enable_webservices implib
17186 wine_fn_config_dll wer enable_wer implib
17187 wine_fn_config_test dlls
/wer
/tests wer_test
17188 wine_fn_config_dll wevtapi enable_wevtapi
17189 wine_fn_config_dll wiaservc enable_wiaservc clean
17190 wine_fn_config_dll win32s16.dll16 enable_win16
17191 wine_fn_config_dll win87em.dll16 enable_win16
17192 wine_fn_config_dll winaspi.dll16 enable_win16
17193 wine_fn_config_dll windebug.dll16 enable_win16
17194 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17195 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17196 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17197 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17198 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17199 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17200 wine_fn_config_lib winecrt0
17201 wine_fn_config_dll wined3d enable_wined3d implib
17202 wine_fn_config_dll winegstreamer enable_winegstreamer
17203 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17204 wine_fn_config_dll winemac.drv enable_winemac_drv
17205 wine_fn_config_dll winemapi enable_winemapi
17206 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17207 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17208 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17209 wine_fn_config_dll wineps16.drv16 enable_win16
17210 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17211 wine_fn_config_dll winex11.drv enable_winex11_drv
17212 wine_fn_config_dll wing.dll16 enable_win16
17213 wine_fn_config_dll wing32 enable_wing32
17214 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17215 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17216 wine_fn_config_dll wininet enable_wininet implib
,po
17217 wine_fn_config_test dlls
/wininet
/tests wininet_test
17218 wine_fn_config_dll winmm enable_winmm implib
,po
17219 wine_fn_config_test dlls
/winmm
/tests winmm_test
17220 wine_fn_config_dll winnls.dll16 enable_win16
17221 wine_fn_config_dll winnls32 enable_winnls32 implib
17222 wine_fn_config_dll winscard enable_winscard implib
17223 wine_fn_config_dll winsock.dll16 enable_win16
17224 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17225 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17226 wine_fn_config_dll winsta enable_winsta
17227 wine_fn_config_dll wintab.dll16 enable_win16
17228 wine_fn_config_dll wintab32 enable_wintab32 implib
17229 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17230 wine_fn_config_dll wintrust enable_wintrust implib
17231 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17232 wine_fn_config_dll wlanapi enable_wlanapi
17233 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17234 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17235 wine_fn_config_dll wmi enable_wmi
17236 wine_fn_config_dll wmiutils enable_wmiutils clean
17237 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17238 wine_fn_config_dll wmp enable_wmp clean
17239 wine_fn_config_test dlls
/wmp
/tests wmp_test
17240 wine_fn_config_dll wmvcore enable_wmvcore
17241 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17242 wine_fn_config_dll wow32 enable_win16 implib
17243 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17244 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17245 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17246 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17247 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17248 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17249 wine_fn_config_dll wsock32 enable_wsock32 implib
17250 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17251 wine_fn_config_dll wuapi enable_wuapi clean
17252 wine_fn_config_dll wuaueng enable_wuaueng
17253 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17254 wine_fn_config_dll xinput1_1 enable_xinput1_1
17255 wine_fn_config_dll xinput1_2 enable_xinput1_2
17256 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17257 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17258 wine_fn_config_dll xinput1_4 enable_xinput1_4
17259 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17260 wine_fn_config_dll xmllite enable_xmllite
17261 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17262 wine_fn_config_dll xolehlp enable_xolehlp
17263 wine_fn_config_dll xpsprint enable_xpsprint
17264 wine_fn_config_dll xpssvcs enable_xpssvcs
17265 wine_fn_config_makefile documentation enable_documentation clean
17266 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17267 wine_fn_config_makefile include enable_include clean
,install-dev
17268 wine_fn_config_makefile libs
/port enable_libs_port
17269 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17270 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17271 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17272 wine_fn_config_program arp enable_arp
install
17273 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17274 wine_fn_config_program attrib enable_attrib
install,po
17275 wine_fn_config_program cabarc enable_cabarc
install
17276 wine_fn_config_program cacls enable_cacls
install
17277 wine_fn_config_program
clock enable_clock
install,po
17278 wine_fn_config_program cmd enable_cmd
install,po
17279 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17280 wine_fn_config_program conhost enable_conhost
install
17281 wine_fn_config_program control enable_control
install
17282 wine_fn_config_program cscript enable_cscript
install
17283 wine_fn_config_program dxdiag enable_dxdiag
install,po
17284 wine_fn_config_program eject enable_eject
install
17285 wine_fn_config_program
expand enable_expand
install
17286 wine_fn_config_program explorer enable_explorer
install,po
17287 wine_fn_config_program extrac32 enable_extrac32
install
17288 wine_fn_config_program findstr enable_findstr
install
17289 wine_fn_config_program hh enable_hh
install
17290 wine_fn_config_program hostname enable_hostname
install,po
17291 wine_fn_config_program icinfo enable_icinfo
install
17292 wine_fn_config_program iexplore enable_iexplore
install
17293 wine_fn_config_program ipconfig enable_ipconfig
install,po
17294 wine_fn_config_program lodctr enable_lodctr
install
17295 wine_fn_config_program mofcomp enable_mofcomp
install
17296 wine_fn_config_program mshta enable_mshta
install
17297 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17298 wine_fn_config_program net enable_net
install,po
17299 wine_fn_config_program netsh enable_netsh
install
17300 wine_fn_config_program netstat enable_netstat
install,po
17301 wine_fn_config_program ngen enable_ngen
install
17302 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17303 wine_fn_config_program oleview enable_oleview
install,po
17304 wine_fn_config_program
ping enable_ping
install
17305 wine_fn_config_program plugplay enable_plugplay
install
17306 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17307 wine_fn_config_program progman enable_progman
install,po
17308 wine_fn_config_program reg enable_reg
install,po
17309 wine_fn_config_program regasm enable_regasm
install
17310 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17311 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17312 wine_fn_config_program regsvcs enable_regsvcs
install
17313 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
17314 wine_fn_config_program rpcss enable_rpcss clean
,install
17315 wine_fn_config_program rundll.exe16 enable_win16
install
17316 wine_fn_config_program rundll32 enable_rundll32
install
17317 wine_fn_config_program sc enable_sc
install
17318 wine_fn_config_program schtasks enable_schtasks
install
17319 wine_fn_config_program secedit enable_secedit
install
17320 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17321 wine_fn_config_program services enable_services clean
,install
17322 wine_fn_config_test programs
/services
/tests services.exe_test
17323 wine_fn_config_program spoolsv enable_spoolsv
install
17324 wine_fn_config_program start enable_start
install,po
17325 wine_fn_config_program svchost enable_svchost
install
17326 wine_fn_config_program taskkill enable_taskkill
install,po
17327 wine_fn_config_program tasklist enable_tasklist
install
17328 wine_fn_config_program taskmgr enable_taskmgr
install,po
17329 wine_fn_config_program termsv enable_termsv
install
17330 wine_fn_config_program uninstaller enable_uninstaller
install,po
17331 wine_fn_config_program unlodctr enable_unlodctr
install
17332 wine_fn_config_program view enable_view
install,po
17333 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17334 wine_fn_config_program winebrowser enable_winebrowser
install
17335 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17336 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17337 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17338 wine_fn_config_program winedevice enable_winedevice
install
17339 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17340 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17341 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17342 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17343 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17344 wine_fn_config_program winetest enable_winetest clean
17345 wine_fn_config_program winevdm enable_win16
install
17346 wine_fn_config_program winhelp.exe16 enable_win16
install
17347 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17348 wine_fn_config_program winoldap.mod16 enable_win16
install
17349 wine_fn_config_program winver enable_winver
install
17350 wine_fn_config_program wmic enable_wmic
install,po
17351 wine_fn_config_program wordpad enable_wordpad
install,po
17352 wine_fn_config_program
write enable_write
install,po
17353 wine_fn_config_program wscript enable_wscript clean
,install
17354 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17355 wine_fn_config_program wusa enable_wusa
install
17356 wine_fn_config_program xcopy enable_xcopy
install,po
17357 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
17358 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17359 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17360 wine_fn_config_tool tools
/sfnt2fon clean
17361 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17362 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17363 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17364 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17365 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17366 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17418 wine_fn_ignore_file
".gitignore"
17419 wine_fn_ignore_file
"Makefile"
17420 wine_fn_ignore_file
"TAGS"
17421 wine_fn_ignore_file
"tags"
17422 wine_fn_ignore_file
"autom4te.cache"
17423 wine_fn_ignore_file
"config.cache"
17424 wine_fn_ignore_file
"config.log"
17425 wine_fn_ignore_file
"config.status"
17426 wine_fn_ignore_file
"configure.lineno"
17427 wine_fn_ignore_file
"include/config.h"
17428 wine_fn_ignore_file
"include/stamp-h"
17429 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
17431 if test "x$enable_tools" != xno
17433 wine_fn_ignore_file
"tools/makedep$ac_exeext"
17434 ac_config_commands
="$ac_config_commands tools/makedep"
17438 ac_config_commands
="$ac_config_commands Makefile"
17441 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17445 if test "x$enable_maintainer_mode" = xyes
17447 wine_fn_append_rule
"configure: configure.ac aclocal.m4
17448 autoconf --warnings=all
17449 include/config.h.in: include/stamp-h.in
17450 include/stamp-h.in: configure.ac aclocal.m4
17451 autoheader --warnings=all
17452 @echo timestamp > \$@"
17455 if test "x$with_gettextpo" = xyes
17457 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17458 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17459 \$(LINGUAS:%=po/%.po): po/wine.pot
17460 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17461 po/wine.pot: \$(ALL_POT_FILES)
17462 msgcat -o \$@ \$(ALL_POT_FILES)"
17465 if test "$MSGFMT" != false
17467 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
17469 \$(RM) \$(LINGUAS:%=po/%.mo)"
17472 test "$srcdir" = . || posrc
="$srcdir/po"
17475 wine_fn_ignore_file
"po/$i.mo"
17476 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
17477 \$(MSGFMT) -o \$@ $posrc/$i.po"
17483 if test "x$enable_tools" != xno
17485 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17486 @./config.status tools/makedep
17487 Makefile: tools/makedep$ac_exeext
17489 \$(RM) tools/makedep$ac_exeext"
17491 wine_fn_append_rule
"\$(MAKEDEP):
17492 @echo \"You need to run make in $TOOLSDIR first\" && false"
17495 if test -n "$with_wine64"
17497 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17498 fonts server tools:
17499 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17500 $with_wine64/loader/wine:
17501 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17502 $with_wine64/loader/wine-preloader:
17503 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17505 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17507 as_fn_append LOADER_RULES
"
17510 install install-lib:: wine.inf install-man-pages
17511 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17512 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17515 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17519 if test "$srcdir" = .
17521 ac_config_commands
="$ac_config_commands .gitignore"
17525 $as_echo " done" >&6
17526 cat >confcache
<<\_ACEOF
17527 # This file is a shell script that caches the results of configure
17528 # tests run on this system so they can be shared between configure
17529 # scripts and configure runs, see configure's option --config-cache.
17530 # It is not useful on other systems. If it contains results you don't
17531 # want to keep, you may remove or edit it.
17533 # config.status only pays attention to the cache file if you give it
17534 # the --recheck option to rerun configure.
17536 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17537 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17538 # following values.
17542 # The following way of writing the cache mishandles newlines in values,
17543 # but we know of no workaround that is simple, portable, and efficient.
17544 # So, we kill variables containing newlines.
17545 # Ultrix sh set writes to stderr and can't be redirected directly,
17546 # and sets the high bit in the cache file unless we assign to the vars.
17548 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17549 eval ac_val
=\$
$ac_var
17553 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17554 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17557 _ | IFS | as_nl
) ;; #(
17558 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17559 *) { eval $ac_var=; unset $ac_var;} ;;
17565 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17566 *${as_nl}ac_space
=\
*)
17567 # `set' does not quote correctly, so add quotes: double-quote
17568 # substitution turns \\\\ into \\, and sed turns \\ into \.
17571 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17574 # `set' quotes correctly as required by POSIX, so do not add quotes.
17575 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17584 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17586 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17588 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17589 if test -w "$cache_file"; then
17590 if test "x$cache_file" != "x/dev/null"; then
17591 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17592 $as_echo "$as_me: updating cache $cache_file" >&6;}
17593 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17594 cat confcache
>"$cache_file"
17596 case $cache_file in #(
17598 mv -f confcache
"$cache_file"$$
&&
17599 mv -f "$cache_file"$$
"$cache_file" ;; #(
17601 mv -f confcache
"$cache_file" ;;
17606 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17607 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17612 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17613 # Let make expand exec_prefix.
17614 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17616 DEFS
=-DHAVE_CONFIG_H
17621 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17622 # 1. Remove the extension, and $U if already installed.
17623 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17624 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17625 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17626 # will be set to the directory where LIBOBJS objects are built.
17627 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17628 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17630 LIBOBJS
=$ac_libobjs
17632 LTLIBOBJS
=$ac_ltlibobjs
17636 : "${CONFIG_STATUS=./config.status}"
17638 ac_clean_files_save
=$ac_clean_files
17639 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17640 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17641 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17643 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17645 # Generated by $as_me.
17646 # Run this file to recreate the current configuration.
17647 # Compiler output produced by configure, useful for debugging
17648 # configure, is in config.log if it exists.
17651 ac_cs_recheck=false
17654 SHELL=\${CONFIG_SHELL-$SHELL}
17657 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17658 ## -------------------- ##
17659 ## M4sh Initialization. ##
17660 ## -------------------- ##
17662 # Be more Bourne compatible
17663 DUALCASE
=1; export DUALCASE
# for MKS sh
17664 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17667 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17668 # is contrary to our usage. Disable this feature.
17669 alias -g '${1+"$@"}'='"$@"'
17670 setopt NO_GLOB_SUBST
17672 case `(set -o) 2>/dev/null` in #(
17684 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17685 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17686 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17687 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17688 # Prefer a ksh shell builtin over an external printf program on Solaris,
17689 # but without wasting forks for bash or zsh.
17690 if test -z "$BASH_VERSION$ZSH_VERSION" \
17691 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17692 as_echo='print
-r --'
17693 as_echo_n='print
-rn --'
17694 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17695 as_echo='printf %s
\n'
17696 as_echo_n='printf %s
'
17698 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17699 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17700 as_echo_n='/usr
/ucb
/echo -n'
17702 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17703 as_echo_n_body='eval
17707 expr "X$arg" : "X\\(.*\\)$as_nl";
17708 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17710 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17712 export as_echo_n_body
17713 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17715 export as_echo_body
17716 as_echo='sh
-c $as_echo_body as_echo
'
17719 # The user is always right.
17720 if test "${PATH_SEPARATOR+set}" != set; then
17722 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17723 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17730 # We need space, tab and new line, in precisely that order. Quoting is
17731 # there to prevent editors from complaining about space-tab.
17732 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17733 # splitting by setting IFS to empty value.)
17736 # Find who we are. Look in the path if we contain no directory separator.
17739 *[\\/]* ) as_myself=$0 ;;
17740 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17741 for as_dir in $PATH
17744 test -z "$as_dir" && as_dir=.
17745 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17751 # We did not find ourselves, most probably we were run as `sh COMMAND'
17752 # in which case we are not to be found in the path.
17753 if test "x$as_myself" = x
; then
17756 if test ! -f "$as_myself"; then
17757 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17761 # Unset variables that we do not need and which cause bugs (e.g. in
17762 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17763 # suppresses any "Segmentation fault" message there. '((' could
17764 # trigger a bug in pdksh 5.2.14.
17765 for as_var
in BASH_ENV ENV MAIL MAILPATH
17766 do eval test x\
${$as_var+set} = xset \
17767 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17780 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17783 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17784 # ----------------------------------------
17785 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17786 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17787 # script with STATUS, using 1 if that was 0.
17790 as_status
=$1; test $as_status -eq 0 && as_status
=1
17792 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17793 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17795 $as_echo "$as_me: error: $2" >&2
17796 as_fn_exit
$as_status
17800 # as_fn_set_status STATUS
17801 # -----------------------
17802 # Set $? to STATUS, without forking.
17803 as_fn_set_status
()
17806 } # as_fn_set_status
17808 # as_fn_exit STATUS
17809 # -----------------
17810 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17814 as_fn_set_status
$1
17820 # Portably unset VAR.
17823 { eval $1=; unset $1;}
17825 as_unset
=as_fn_unset
17826 # as_fn_append VAR VALUE
17827 # ----------------------
17828 # Append the text in VALUE to the end of the definition contained in VAR. Take
17829 # advantage of any shell optimizations that allow amortized linear growth over
17830 # repeated appends, instead of the typical quadratic growth present in naive
17832 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
17833 eval 'as_fn_append ()
17844 # as_fn_arith ARG...
17845 # ------------------
17846 # Perform arithmetic evaluation on the ARGs, and store the result in the
17847 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17848 # must be portable across $(()) and expr.
17849 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
17850 eval 'as_fn_arith ()
17857 as_val
=`expr "$@" || test $? -eq 1`
17862 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
17863 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17869 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17870 as_basename
=basename
17875 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
17881 as_me
=`$as_basename -- "$0" ||
17882 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17883 X"$0" : 'X\(//\)$' \| \
17884 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17886 sed '/^.*\/\([^/][^/]*\)\/*$/{
17900 # Avoid depending upon Character Ranges.
17901 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17902 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17903 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17904 as_cr_digits
='0123456789'
17905 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17907 ECHO_C
= ECHO_N
= ECHO_T
=
17908 case `echo -n x` in #(((((
17910 case `echo 'xy\c'` in
17911 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
17913 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
17920 rm -f conf$$ conf$$.exe conf$$.
file
17921 if test -d conf$$.dir
; then
17922 rm -f conf$$.dir
/conf$$.
file
17925 mkdir conf$$.dir
2>/dev
/null
17927 if (echo >conf$$.
file) 2>/dev
/null
; then
17928 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17930 # ... but there are two gotchas:
17931 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17932 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17933 # In both cases, we have to default to `cp -pR'.
17934 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
17936 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17944 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
17945 rmdir conf$$.dir
2>/dev
/null
17950 # Create "$as_dir" as a directory, including parents if necessary.
17955 -*) as_dir
=.
/$as_dir;;
17957 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
17961 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17962 *) as_qdir
=$as_dir;;
17964 as_dirs
="'$as_qdir' $as_dirs"
17965 as_dir
=`$as_dirname -- "$as_dir" ||
17966 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17967 X"$as_dir" : 'X\(//\)[^/]' \| \
17968 X"$as_dir" : 'X\(//\)$' \| \
17969 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17970 $as_echo X"$as_dir" |
17971 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17975 /^X\(\/\/\)[^/].*/{
17988 test -d "$as_dir" && break
17990 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
17991 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
17995 if mkdir
-p .
2>/dev
/null
; then
17996 as_mkdir_p
='mkdir -p "$as_dir"'
17998 test -d .
/-p && rmdir .
/-p
18003 # as_fn_executable_p FILE
18004 # -----------------------
18005 # Test if FILE is an executable regular file.
18006 as_fn_executable_p
()
18008 test -f "$1" && test -x "$1"
18009 } # as_fn_executable_p
18010 as_test_x
='test -x'
18011 as_executable_p
=as_fn_executable_p
18013 # Sed expression to map a string onto a valid CPP name.
18014 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18016 # Sed expression to map a string onto a valid variable name.
18017 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18021 ## ----------------------------------- ##
18022 ## Main body of $CONFIG_STATUS script. ##
18023 ## ----------------------------------- ##
18025 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18027 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18028 # Save the log message, to keep $0 and so on meaningful, and to
18029 # report actual input values of CONFIG_FILES etc. instead of their
18030 # values after options handling.
18032 This file was extended by Wine $as_me 1.7.12, which was
18033 generated by GNU Autoconf 2.69. Invocation command line was
18035 CONFIG_FILES = $CONFIG_FILES
18036 CONFIG_HEADERS = $CONFIG_HEADERS
18037 CONFIG_LINKS = $CONFIG_LINKS
18038 CONFIG_COMMANDS = $CONFIG_COMMANDS
18041 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18046 case $ac_config_files in *"
18047 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18050 case $ac_config_headers in *"
18051 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18055 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18056 # Files that config.status was made for.
18057 config_files="$ac_config_files"
18058 config_headers="$ac_config_headers"
18059 config_links="$ac_config_links"
18060 config_commands="$ac_config_commands"
18064 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18066 \`$as_me' instantiates files and other configuration actions
18067 from templates according to the current configuration. Unless the files
18068 and actions are specified as TAGs, all are instantiated by default.
18070 Usage: $0 [OPTION]... [TAG]...
18072 -h, --help print this help, then exit
18073 -V, --version print version number and configuration settings, then exit
18074 --config print configuration, then exit
18075 -q, --quiet, --silent
18076 do not print progress messages
18077 -d, --debug don't remove temporary files
18078 --recheck update $as_me by reconfiguring in the same conditions
18079 --file=FILE[:TEMPLATE]
18080 instantiate the configuration file FILE
18081 --header=FILE[:TEMPLATE]
18082 instantiate the configuration header FILE
18084 Configuration files:
18087 Configuration headers:
18090 Configuration links:
18093 Configuration commands:
18096 Report bugs to <wine-devel@winehq.org>.
18097 Wine home page: <http://www.winehq.org>."
18100 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18101 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18103 Wine config.status 1.7.12
18104 configured by $0, generated by GNU Autoconf 2.69,
18105 with options \\"\$ac_cs_config\\"
18107 Copyright (C) 2012 Free Software Foundation, Inc.
18108 This config.status script is free software; the Free Software Foundation
18109 gives unlimited permission to copy, distribute and modify it."
18113 test -n "\$AWK" || AWK=awk
18116 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18117 # The default lists apply if the user does not specify any file.
18123 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18124 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18128 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18140 # Handling of the options.
18141 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18143 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18144 $as_echo "$ac_cs_version"; exit ;;
18145 --config |
--confi |
--conf |
--con |
--co |
--c )
18146 $as_echo "$ac_cs_config"; exit ;;
18147 --debug |
--debu |
--deb |
--de |
--d |
-d )
18149 --file |
--fil |
--fi |
--f )
18152 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18153 '') as_fn_error $?
"missing file argument" ;;
18155 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18156 ac_need_defaults
=false
;;
18157 --header |
--heade |
--head |
--hea )
18160 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18162 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18163 ac_need_defaults
=false
;;
18165 # Conflict between --help and --header
18166 as_fn_error $?
"ambiguous option: \`$1'
18167 Try \`$0 --help' for more information.";;
18168 --help |
--hel |
-h )
18169 $as_echo "$ac_cs_usage"; exit ;;
18170 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18171 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18174 # This is an error.
18175 -*) as_fn_error $?
"unrecognized option: \`$1'
18176 Try \`$0 --help' for more information." ;;
18178 *) as_fn_append ac_config_targets
" $1"
18179 ac_need_defaults
=false
;;
18185 ac_configure_extra_args
=
18187 if $ac_cs_silent; then
18189 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18193 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18194 if \$ac_cs_recheck; then
18195 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18197 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18198 CONFIG_SHELL='$SHELL'
18199 export CONFIG_SHELL
18204 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18208 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18209 ## Running $as_me. ##
18215 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18219 wine_fn_output_makedep ()
18221 as_dir=tools; as_fn_mkdir_p
18222 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18224 wine_fn_output_makefile ()
18226 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
18227 `cat $wine_rules_file`
18229 as_fn_error $? "could not create Makefile" "$LINENO" 5
18231 wine_fn_output_gitignore ()
18233 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18236 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18241 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18243 # Handling of arguments.
18244 for ac_config_target
in $ac_config_targets
18246 case $ac_config_target in
18247 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18248 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18249 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18250 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18251 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18252 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18253 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18254 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18255 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18256 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18257 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
18258 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18259 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18260 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18262 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18267 # If the user did not use the arguments to specify the items to instantiate,
18268 # then the envvar interface is used. Set only those that are not.
18269 # We use the long form for the default assignment because of an extremely
18270 # bizarre bug on SunOS 4.1.3.
18271 if $ac_need_defaults; then
18272 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18273 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18274 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18275 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18278 # Have a temporary directory for convenience. Make it in the build tree
18279 # simply because there is no reason against having it here, and in addition,
18280 # creating and moving files from /tmp can sometimes cause problems.
18281 # Hook for its removal unless debugging.
18282 # Note that there is a small window in which the directory will not be cleaned:
18283 # after its creation but before its name has been assigned to `$tmp'.
18287 trap 'exit_status=$?
18288 : "${ac_tmp:=$tmp}"
18289 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18291 trap 'as_fn_exit 1' 1 2 13 15
18293 # Create a (secure) tmp directory for tmp files.
18296 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18300 tmp
=.
/conf$$
-$RANDOM
18301 (umask 077 && mkdir
"$tmp")
18302 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18305 # Set up the scripts for CONFIG_FILES section.
18306 # No need to generate them if there are no CONFIG_FILES.
18307 # This happens for instance with `./config.status config.h'.
18308 if test -n "$CONFIG_FILES"; then
18311 ac_cr
=`echo X | tr X '\015'`
18312 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18313 # But we know of no other shell where ac_cr would be empty at this
18314 # point, so we can use a bashism as a fallback.
18315 if test "x$ac_cr" = x
; then
18316 eval ac_cr
=\$
\'\\r
\'
18318 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18319 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18322 ac_cs_awk_cr
=$ac_cr
18325 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18330 echo "cat >conf$$subs.awk <<_ACEOF" &&
18331 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18333 } >conf$$subs.sh ||
18334 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18335 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18337 for ac_last_try in false false false false false :; do
18338 . ./conf$$subs.sh ||
18339 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18341 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18342 if test $ac_delim_n = $ac_delim_num; then
18344 elif $ac_last_try; then
18345 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18347 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18350 rm -f conf$$subs.sh
18352 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18353 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18357 s/^/S["/; s
/!.
*/"]=/
18367 s/\(.\{148\}\)..*/\1/
18369 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18374 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18381 s/\(.\{148\}\)..*/\1/
18383 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18387 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18392 ' <conf$$subs.awk | sed '
18397 ' >>$CONFIG_STATUS || ac_write_fail=1
18398 rm -f conf$$subs.awk
18399 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18401 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18402 for (key in S) S_is_set[key] = 1
18408 nfields = split(line, field, "@
")
18410 len = length(field[1])
18411 for (i = 2; i < nfields; i++) {
18413 keylen = length(key)
18414 if (S_is_set[key]) {
18416 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18417 len += length(value) + length(field[++i])
18428 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18429 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18430 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18433 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18434 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18437 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18438 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18439 # trailing colons and then remove the whole line if VPATH becomes empty
18440 # (actually we leave an empty line to preserve line numbers).
18441 if test "x
$srcdir" = x.; then
18442 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18460 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18461 fi # test -n "$CONFIG_FILES"
18463 # Set up the scripts for CONFIG_HEADERS section.
18464 # No need to generate them if there are no CONFIG_HEADERS.
18465 # This happens for instance with `./config.status Makefile'.
18466 if test -n "$CONFIG_HEADERS"; then
18467 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18471 # Transform confdefs.h into an awk script `defines.awk', embedded as
18472 # here-document in config.status, that substitutes the proper values into
18473 # config.h.in to produce config.h.
18475 # Create a delimiter string that does not exist in confdefs.h, to ease
18476 # handling of long lines.
18478 for ac_last_try in false false :; do
18479 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18480 if test -z "$ac_tt"; then
18482 elif $ac_last_try; then
18483 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18485 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18489 # For the awk script, D is an array of macro values keyed by name,
18490 # likewise P contains macro parameters if any. Preserve backslash
18491 # newline sequences.
18493 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18495 s/.\{148\}/&'"$ac_delim"'/g
18498 s/^[ ]*#[ ]*define[ ][ ]*/ /
18505 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18507 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18511 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18512 D["\
1"]=" \
3\\\\\\n
"\\/p
18514 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18519 s/.\{148\}/&'"$ac_delim"'/g
18524 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18527 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18529 ' <confdefs.h | sed '
18530 s/'"$ac_delim"'/"\\\
18531 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18533 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18534 for (key in D) D_is_set[key] = 1
18537 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18539 split(line, arg, " ")
18540 if (arg[1] == "#") {
18544 defundef
= substr
(arg
[1], 2)
18547 split(mac1
, mac2
, "(") #)
18549 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18550 if (D_is_set
[macro
]) {
18551 # Preserve the white space surrounding the "#".
18552 print prefix
"define", macro P
[macro
] D
[macro
]
18555 # Replace #undef with comments. This is necessary, for example,
18556 # in the case of _POSIX_SOURCE, which is predefined and required
18557 # on some systems where configure will not decide to define it.
18558 if (defundef
== "undef") {
18559 print
"/*", prefix defundef
, macro
, "*/"
18567 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18568 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18569 fi # test -n "$CONFIG_HEADERS"
18572 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18577 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18579 case $ac_mode$ac_tag in
18581 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18582 :[FH
]-) ac_tag
=-:-;;
18583 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18600 -) ac_f
="$ac_tmp/stdin";;
18601 *) # Look for the file first in the build tree, then in the source tree
18602 # (if the path is not absolute). The absolute path cannot be DOS-style,
18603 # because $ac_f cannot contain `:'.
18607 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18609 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18611 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18612 as_fn_append ac_file_inputs
" '$ac_f'"
18615 # Let's still pretend it is `configure' which instantiates (i.e., don't
18616 # use $as_me), people would be surprised to read:
18617 # /* config.h. Generated by config.status. */
18618 configure_input
='Generated from '`
18619 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18621 if test x
"$ac_file" != x-
; then
18622 configure_input
="$ac_file. $configure_input"
18623 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18624 $as_echo "$as_me: creating $ac_file" >&6;}
18626 # Neutralize special characters interpreted by sed in replacement strings.
18627 case $configure_input in #(
18628 *\
&* |
*\|
* |
*\\* )
18629 ac_sed_conf_input
=`$as_echo "$configure_input" |
18630 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18631 *) ac_sed_conf_input
=$configure_input;;
18635 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
18636 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
18641 ac_dir
=`$as_dirname -- "$ac_file" ||
18642 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18643 X"$ac_file" : 'X\(//\)[^/]' \| \
18644 X"$ac_file" : 'X\(//\)$' \| \
18645 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18646 $as_echo X"$ac_file" |
18647 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18651 /^X\(\/\/\)[^/].*/{
18664 as_dir
="$ac_dir"; as_fn_mkdir_p
18668 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18670 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18671 # A ".." for each directory in $ac_dir_suffix.
18672 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18673 case $ac_top_builddir_sub in
18674 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18675 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18678 ac_abs_top_builddir
=$ac_pwd
18679 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18680 # for backward compatibility:
18681 ac_top_builddir
=$ac_top_build_prefix
18684 .
) # We are building in place.
18686 ac_top_srcdir
=$ac_top_builddir_sub
18687 ac_abs_top_srcdir
=$ac_pwd ;;
18688 [\\/]* | ?
:[\\/]* ) # Absolute name.
18689 ac_srcdir
=$srcdir$ac_dir_suffix;
18690 ac_top_srcdir
=$srcdir
18691 ac_abs_top_srcdir
=$srcdir ;;
18692 *) # Relative name.
18693 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18694 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18695 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18697 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18708 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18709 # If the template does not know about datarootdir, expand it.
18710 # FIXME: This hack should be removed a few years after 2.60.
18711 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18722 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18723 *datarootdir
*) ac_datarootdir_seen
=yes;;
18724 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18726 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18728 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18729 ac_datarootdir_hack='
18730 s&@datadir@&$datadir&g
18731 s&@docdir@&$docdir&g
18732 s&@infodir@&$infodir&g
18733 s&@localedir@&$localedir&g
18734 s&@mandir@&$mandir&g
18735 s&\\\${datarootdir}&$datarootdir&g' ;;
18739 # Neutralize VPATH when `$srcdir' = `.'.
18740 # Shell code in configure.ac might set extrasub.
18741 # FIXME: do we really want to maintain this feature?
18742 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18743 ac_sed_extra="$ac_vpsub
18746 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18748 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18749 s|@configure_input@|
$ac_sed_conf_input|
;t t
18750 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18751 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18752 s
&@srcdir@
&$ac_srcdir&;t t
18753 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18754 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18755 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18756 s
&@builddir@
&$ac_builddir&;t t
18757 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18758 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18759 $ac_datarootdir_hack
18761 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
18762 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18764 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18765 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
18766 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18767 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
18768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18769 which seems to be undefined. Please make sure it is defined" >&5
18770 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18771 which seems to be undefined. Please make sure it is defined" >&2;}
18773 rm -f "$ac_tmp/stdin"
18775 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18776 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18778 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18784 if test x"$ac_file" != x-; then
18786 $as_echo "/* $configure_input */" \
18787 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18788 } >"$ac_tmp/config.h" \
18789 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18790 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18791 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18792 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18795 mv "$ac_tmp/config.h" "$ac_file" \
18796 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18799 $as_echo "/* $configure_input */" \
18800 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18801 || as_fn_error $? "could not create -" "$LINENO" 5
18809 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
18812 # Prefer the file from the source tree if names are identical.
18813 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18814 ac_source=$srcdir/$ac_source
18817 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18818 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18820 if test ! -r "$ac_source"; then
18821 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18825 # Try a relative symlink, then a hard link, then a copy.
18827 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18828 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18830 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18831 ln "$ac_source" "$ac_file" 2>/dev/null ||
18832 cp -p "$ac_source" "$ac_file" ||
18833 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18836 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18837 $as_echo "$as_me: executing $ac_file commands" >&6;}
18842 case $ac_file$ac_mode in
18843 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18844 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
18845 "Makefile":C) wine_fn_output_makefile Makefile ;;
18846 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
18854 ac_clean_files=$ac_clean_files_save
18856 test $ac_write_fail = 0 ||
18857 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18860 # configure is writing to config.log, and then calls config.status.
18861 # config.status does its own redirection, appending to config.log.
18862 # Unfortunately, on DOS this fails, as config.log is still kept open
18863 # by configure, so config.status won't be able to
write to it
; its
18864 # output is simply discarded. So we exec the FD to /dev/null,
18865 # effectively closing config.log, so it can be properly (re)opened and
18866 # appended to by config.status. When coming back to configure, we
18867 # need to make the FD available again.
18868 if test "$no_create" != yes; then
18870 ac_config_status_args
=
18871 test "$silent" = yes &&
18872 ac_config_status_args
="$ac_config_status_args --quiet"
18874 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18876 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18877 # would make configure fail if this is the last instruction.
18878 $ac_cs_success || as_fn_exit
1
18880 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18882 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18886 if test "$no_create" = "yes"
18892 if test "x$wine_notices != "x
; then
18895 for msg
in $wine_notices; do
18897 if ${msg+:} false
; then :
18898 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
18899 $as_echo "$as_me: $msg" >&6;}
18904 for msg
in $wine_warnings; do
18906 if ${msg+:} false
; then :
18908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
18909 $as_echo "$as_me: WARNING: $msg" >&2;}
18915 $as_me: Finished. Do '${ac_make}' to compile Wine.