2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.14.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev
/null
; then :
207 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
212 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir
=.
219 for as_base
in sh bash ksh sh5
; do
220 # Try only shells that exist, to save several forks.
221 as_shell
=$as_dir/$as_base
222 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
224 CONFIG_SHELL
=$as_shell as_have_required
=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
235 CONFIG_SHELL
=$SHELL as_have_required
=yes
240 if test "x$CONFIG_SHELL" != x
; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x
${ZSH_VERSION+set} = xset
; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
279 SHELL
=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE
= GREP_OPTIONS
=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir
=.
/$as_dir;;
324 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
328 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs
="'$as_qdir' $as_dirs"
332 as_dir
=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
358 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p
()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
401 as_val
=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status
=$1; test $as_status -eq 0 && as_status
=1
415 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit
$as_status
422 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
429 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
441 as_me
=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits
='0123456789'
465 as_cr_alnum
=$as_cr_Letters$as_cr_digits
468 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
469 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x
"$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec
=no
; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C
= ECHO_N
= ECHO_T
=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
516 rm -f conf$$ conf$$.exe conf$$.
file
517 if test -d conf$$.dir
; then
518 rm -f conf$$.dir
/conf$$.
file
521 mkdir conf$$.dir
2>/dev
/null
523 if (echo >conf$$.
file) 2>/dev
/null
; then
524 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
532 elif ln conf$$.
file conf$$
2>/dev
/null
; then
540 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
541 rmdir conf$$.dir
2>/dev
/null
543 if mkdir
-p .
2>/dev
/null
; then
544 as_mkdir_p
='mkdir -p "$as_dir"'
546 test -d .
/-p && rmdir .
/-p
551 as_executable_p
=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix
=/usr
/local
573 ac_config_libobj_dir
=.
580 # Identity of this package.
582 PACKAGE_TARNAME
='wine'
583 PACKAGE_VERSION
='1.7.14'
584 PACKAGE_STRING
='Wine 1.7.14'
585 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
586 PACKAGE_URL
='http://www.winehq.org'
588 ac_unique_file
="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default
="\
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
602 # ifdef HAVE_STDLIB_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
625 ac_subst_vars
='LTLIBOBJS
697 APPLICATIONSERVICES_LIBS
781 program_transform_name
794 enable_option_checking
798 enable_maintainer_mode
854 enable_api_ms_win_core_com_l1_1_0
855 enable_api_ms_win_core_console_l1_1_0
856 enable_api_ms_win_core_debug_l1_1_1
857 enable_api_ms_win_core_errorhandling_l1_1_1
858 enable_api_ms_win_core_file_l1_2_0
859 enable_api_ms_win_core_handle_l1_1_0
860 enable_api_ms_win_core_heap_l1_2_0
861 enable_api_ms_win_core_heap_obsolete_l1_1_0
862 enable_api_ms_win_core_interlocked_l1_2_0
863 enable_api_ms_win_core_io_l1_1_1
864 enable_api_ms_win_core_kernel32_legacy_l1_1_0
865 enable_api_ms_win_core_libraryloader_l1_1_1
866 enable_api_ms_win_core_localization_l1_2_0
867 enable_api_ms_win_core_localization_obsolete_l1_1_0
868 enable_api_ms_win_core_localregistry_l1_1_0
869 enable_api_ms_win_core_memory_l1_1_1
870 enable_api_ms_win_core_namedpipe_l1_2_0
871 enable_api_ms_win_core_processenvironment_l1_2_0
872 enable_api_ms_win_core_processthreads_l1_1_0
873 enable_api_ms_win_core_processthreads_l1_1_1
874 enable_api_ms_win_core_profile_l1_1_0
875 enable_api_ms_win_core_psapi_l1_1_0
876 enable_api_ms_win_core_registry_l1_1_0
877 enable_api_ms_win_core_rtlsupport_l1_2_0
878 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
879 enable_api_ms_win_core_string_l1_1_0
880 enable_api_ms_win_core_synch_l1_2_0
881 enable_api_ms_win_core_sysinfo_l1_2_0
882 enable_api_ms_win_core_threadpool_legacy_l1_1_0
883 enable_api_ms_win_core_timezone_l1_1_0
884 enable_api_ms_win_core_url_l1_1_0
885 enable_api_ms_win_core_util_l1_1_0
886 enable_api_ms_win_core_winrt_error_l1_1_0
887 enable_api_ms_win_core_winrt_string_l1_1_0
888 enable_api_ms_win_downlevel_advapi32_l1_1_0
889 enable_api_ms_win_downlevel_advapi32_l2_1_0
890 enable_api_ms_win_downlevel_normaliz_l1_1_0
891 enable_api_ms_win_downlevel_ole32_l1_1_0
892 enable_api_ms_win_downlevel_shell32_l1_1_0
893 enable_api_ms_win_downlevel_shlwapi_l1_1_0
894 enable_api_ms_win_downlevel_shlwapi_l2_1_0
895 enable_api_ms_win_downlevel_user32_l1_1_0
896 enable_api_ms_win_downlevel_version_l1_1_0
897 enable_api_ms_win_eventing_provider_l1_1_0
898 enable_api_ms_win_ntuser_dc_access_l1_1_0
899 enable_api_ms_win_security_base_l1_1_0
900 enable_api_ms_win_security_base_l1_2_0
901 enable_api_ms_win_security_sddl_l1_1_0
902 enable_api_ms_win_service_core_l1_1_1
903 enable_api_ms_win_service_management_l1_1_0
904 enable_api_ms_win_service_winsvc_l1_2_0
944 enable_d3dcompiler_33
945 enable_d3dcompiler_34
946 enable_d3dcompiler_35
947 enable_d3dcompiler_36
948 enable_d3dcompiler_37
949 enable_d3dcompiler_38
950 enable_d3dcompiler_39
951 enable_d3dcompiler_40
952 enable_d3dcompiler_41
953 enable_d3dcompiler_42
954 enable_d3dcompiler_43
1027 enable_explorerframe
1028 enable_ext_ms_win_gdi_devcaps_l1_1_0
1169 enable_photometadatahandler
1249 enable_windowscodecs
1250 enable_windowscodecsext
1252 enable_winecoreaudio_drv
1254 enable_winegstreamer
1255 enable_winejoystick_drv
1261 enable_wineqtdecoder
1297 enable_documentation
1305 enable_aspnet_regiis
1338 enable_presentationfontcache
1350 enable_servicemodelreg
1370 enable_winemenubuilder
1372 enable_winemsibuilder
1386 ac_precious_vars
='build_alias
1435 # Initialize some variables set by options.
1437 ac_init_version
=false
1438 ac_unrecognized_opts
=
1439 ac_unrecognized_sep
=
1440 # The variables have the same names as the options, with
1441 # dashes changed to underlines.
1442 cache_file
=/dev
/null
1449 program_transform_name
=s
,x
,x
,
1457 # Installation directory options.
1458 # These are left unexpanded so users can "make install exec_prefix=/foo"
1459 # and all the variables that are supposed to be based on exec_prefix
1460 # by default will actually change.
1461 # Use braces instead of parens because sh, perl, etc. also accept them.
1462 # (The list follows the same order as the GNU Coding Standards.)
1463 bindir
='${exec_prefix}/bin'
1464 sbindir
='${exec_prefix}/sbin'
1465 libexecdir
='${exec_prefix}/libexec'
1466 datarootdir
='${prefix}/share'
1467 datadir
='${datarootdir}'
1468 sysconfdir
='${prefix}/etc'
1469 sharedstatedir
='${prefix}/com'
1470 localstatedir
='${prefix}/var'
1471 includedir
='${prefix}/include'
1472 oldincludedir
='/usr/include'
1473 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1474 infodir
='${datarootdir}/info'
1479 libdir
='${exec_prefix}/lib'
1480 localedir
='${datarootdir}/locale'
1481 mandir
='${datarootdir}/man'
1487 # If the previous option needs an argument, assign it.
1488 if test -n "$ac_prev"; then
1489 eval $ac_prev=\
$ac_option
1495 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1500 # Accept the important Cygnus configure options, so we can diagnose typos.
1502 case $ac_dashdash$ac_option in
1506 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1508 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1509 bindir
=$ac_optarg ;;
1511 -build |
--build |
--buil |
--bui |
--bu)
1512 ac_prev
=build_alias
;;
1513 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1514 build_alias
=$ac_optarg ;;
1516 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1517 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1518 ac_prev
=cache_file
;;
1519 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1520 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1521 cache_file
=$ac_optarg ;;
1523 --config-cache |
-C)
1524 cache_file
=config.cache
;;
1526 -datadir |
--datadir |
--datadi |
--datad)
1528 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1529 datadir
=$ac_optarg ;;
1531 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1532 |
--dataroo |
--dataro |
--datar)
1533 ac_prev
=datarootdir
;;
1534 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1535 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1536 datarootdir
=$ac_optarg ;;
1538 -disable-* |
--disable-*)
1539 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1540 # Reject names that are not valid shell variable names.
1541 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1542 as_fn_error $?
"invalid feature name: $ac_useropt"
1543 ac_useropt_orig
=$ac_useropt
1544 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1545 case $ac_user_opts in
1547 "enable_
$ac_useropt"
1549 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1550 ac_unrecognized_sep
=', ';;
1552 eval enable_
$ac_useropt=no
;;
1554 -docdir |
--docdir |
--docdi |
--doc |
--do)
1556 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1557 docdir
=$ac_optarg ;;
1559 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1561 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1562 dvidir
=$ac_optarg ;;
1564 -enable-* |
--enable-*)
1565 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1566 # Reject names that are not valid shell variable names.
1567 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1568 as_fn_error $?
"invalid feature name: $ac_useropt"
1569 ac_useropt_orig
=$ac_useropt
1570 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1571 case $ac_user_opts in
1573 "enable_
$ac_useropt"
1575 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1576 ac_unrecognized_sep
=', ';;
1578 eval enable_
$ac_useropt=\
$ac_optarg ;;
1580 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1581 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1582 |
--exec |
--exe |
--ex)
1583 ac_prev
=exec_prefix
;;
1584 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1585 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1586 |
--exec=* |
--exe=* |
--ex=*)
1587 exec_prefix
=$ac_optarg ;;
1589 -gas |
--gas |
--ga |
--g)
1590 # Obsolete; use --with-gas.
1593 -help |
--help |
--hel |
--he |
-h)
1594 ac_init_help
=long
;;
1595 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1596 ac_init_help
=recursive
;;
1597 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1598 ac_init_help
=short
;;
1600 -host |
--host |
--hos |
--ho)
1601 ac_prev
=host_alias
;;
1602 -host=* |
--host=* |
--hos=* |
--ho=*)
1603 host_alias
=$ac_optarg ;;
1605 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1607 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1609 htmldir
=$ac_optarg ;;
1611 -includedir |
--includedir |
--includedi |
--included |
--include \
1612 |
--includ |
--inclu |
--incl |
--inc)
1613 ac_prev
=includedir
;;
1614 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1615 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1616 includedir
=$ac_optarg ;;
1618 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1620 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1621 infodir
=$ac_optarg ;;
1623 -libdir |
--libdir |
--libdi |
--libd)
1625 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1626 libdir
=$ac_optarg ;;
1628 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1629 |
--libexe |
--libex |
--libe)
1630 ac_prev
=libexecdir
;;
1631 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1632 |
--libexe=* |
--libex=* |
--libe=*)
1633 libexecdir
=$ac_optarg ;;
1635 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1636 ac_prev
=localedir
;;
1637 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1638 localedir
=$ac_optarg ;;
1640 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1641 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1642 ac_prev
=localstatedir
;;
1643 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1644 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1645 localstatedir
=$ac_optarg ;;
1647 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1649 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1650 mandir
=$ac_optarg ;;
1652 -nfp |
--nfp |
--nf)
1653 # Obsolete; use --without-fp.
1656 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1657 |
--no-cr |
--no-c |
-n)
1660 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1661 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1664 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1665 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1666 |
--oldin |
--oldi |
--old |
--ol |
--o)
1667 ac_prev
=oldincludedir
;;
1668 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1669 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1670 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1671 oldincludedir
=$ac_optarg ;;
1673 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1675 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1676 prefix
=$ac_optarg ;;
1678 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1679 |
--program-pre |
--program-pr |
--program-p)
1680 ac_prev
=program_prefix
;;
1681 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1682 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1683 program_prefix
=$ac_optarg ;;
1685 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1686 |
--program-suf |
--program-su |
--program-s)
1687 ac_prev
=program_suffix
;;
1688 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1689 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1690 program_suffix
=$ac_optarg ;;
1692 -program-transform-name |
--program-transform-name \
1693 |
--program-transform-nam |
--program-transform-na \
1694 |
--program-transform-n |
--program-transform- \
1695 |
--program-transform |
--program-transfor \
1696 |
--program-transfo |
--program-transf \
1697 |
--program-trans |
--program-tran \
1698 |
--progr-tra |
--program-tr |
--program-t)
1699 ac_prev
=program_transform_name
;;
1700 -program-transform-name=* |
--program-transform-name=* \
1701 |
--program-transform-nam=* |
--program-transform-na=* \
1702 |
--program-transform-n=* |
--program-transform-=* \
1703 |
--program-transform=* |
--program-transfor=* \
1704 |
--program-transfo=* |
--program-transf=* \
1705 |
--program-trans=* |
--program-tran=* \
1706 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1707 program_transform_name
=$ac_optarg ;;
1709 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1711 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1712 pdfdir
=$ac_optarg ;;
1714 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1716 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1719 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1720 |
-silent |
--silent |
--silen |
--sile |
--sil)
1723 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1725 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1727 sbindir
=$ac_optarg ;;
1729 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1730 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1731 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1733 ac_prev
=sharedstatedir
;;
1734 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1735 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1736 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1738 sharedstatedir
=$ac_optarg ;;
1740 -site |
--site |
--sit)
1742 -site=* |
--site=* |
--sit=*)
1745 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1747 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1748 srcdir
=$ac_optarg ;;
1750 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1751 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1752 ac_prev
=sysconfdir
;;
1753 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1754 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1755 sysconfdir
=$ac_optarg ;;
1757 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1758 ac_prev
=target_alias
;;
1759 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1760 target_alias
=$ac_optarg ;;
1762 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1765 -version |
--version |
--versio |
--versi |
--vers |
-V)
1766 ac_init_version
=: ;;
1769 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1770 # Reject names that are not valid shell variable names.
1771 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1772 as_fn_error $?
"invalid package name: $ac_useropt"
1773 ac_useropt_orig
=$ac_useropt
1774 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1775 case $ac_user_opts in
1779 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1780 ac_unrecognized_sep
=', ';;
1782 eval with_
$ac_useropt=\
$ac_optarg ;;
1784 -without-* |
--without-*)
1785 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1786 # Reject names that are not valid shell variable names.
1787 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1788 as_fn_error $?
"invalid package name: $ac_useropt"
1789 ac_useropt_orig
=$ac_useropt
1790 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1791 case $ac_user_opts in
1795 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1796 ac_unrecognized_sep
=', ';;
1798 eval with_
$ac_useropt=no
;;
1801 # Obsolete; use --with-x.
1804 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1805 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1806 ac_prev
=x_includes
;;
1807 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1808 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1809 x_includes
=$ac_optarg ;;
1811 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1812 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1813 ac_prev
=x_libraries
;;
1814 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1815 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1816 x_libraries
=$ac_optarg ;;
1818 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1819 Try \`$0 --help' for more information"
1823 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1824 # Reject names that are not valid shell variable names.
1825 case $ac_envvar in #(
1826 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1827 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1829 eval $ac_envvar=\
$ac_optarg
1830 export $ac_envvar ;;
1833 # FIXME: should be removed in autoconf 3.0.
1834 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1835 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1836 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1837 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1843 if test -n "$ac_prev"; then
1844 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1845 as_fn_error $?
"missing argument to $ac_option"
1848 if test -n "$ac_unrecognized_opts"; then
1849 case $enable_option_checking in
1851 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1852 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1856 # Check all directory arguments for consistency.
1857 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1858 datadir sysconfdir sharedstatedir localstatedir includedir \
1859 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1860 libdir localedir mandir
1862 eval ac_val
=\$
$ac_var
1863 # Remove trailing slashes.
1866 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1867 eval $ac_var=\
$ac_val;;
1869 # Be sure to have absolute directory names.
1871 [\\/$
]* | ?
:[\\/]* ) continue;;
1872 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1874 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1877 # There might be people who depend on the old broken behavior: `$host'
1878 # used to hold the argument of --host etc.
1879 # FIXME: To remove some day.
1882 target
=$target_alias
1884 # FIXME: To remove some day.
1885 if test "x$host_alias" != x
; then
1886 if test "x$build_alias" = x
; then
1887 cross_compiling
=maybe
1888 elif test "x$build_alias" != "x$host_alias"; then
1894 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1896 test "$silent" = yes && exec 6>/dev
/null
1899 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1900 ac_ls_di
=`ls -di .` &&
1901 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1902 as_fn_error $?
"working directory cannot be determined"
1903 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1904 as_fn_error $?
"pwd does not report name of working directory"
1907 # Find the source files, if location was not specified.
1908 if test -z "$srcdir"; then
1909 ac_srcdir_defaulted
=yes
1910 # Try the directory containing this script, then the parent directory.
1911 ac_confdir
=`$as_dirname -- "$as_myself" ||
1912 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1913 X"$as_myself" : 'X\(//\)[^/]' \| \
1914 X"$as_myself" : 'X\(//\)$' \| \
1915 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1916 $as_echo X"$as_myself" |
1917 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1935 if test ! -r "$srcdir/$ac_unique_file"; then
1939 ac_srcdir_defaulted
=no
1941 if test ! -r "$srcdir/$ac_unique_file"; then
1942 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1943 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1945 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1947 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1949 # When building in place, set srcdir=.
1950 if test "$ac_abs_confdir" = "$ac_pwd"; then
1953 # Remove unnecessary trailing slashes from srcdir.
1954 # Double slashes in file names in object file debugging info
1955 # mess up M-x gdb in Emacs.
1957 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1959 for ac_var
in $ac_precious_vars; do
1960 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1961 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1962 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1963 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1967 # Report the --help message.
1969 if test "$ac_init_help" = "long"; then
1970 # Omit some internal or obsolete options to make the list less imposing.
1971 # This message is too long to be a string in the A/UX 3.1 sh.
1973 \`configure' configures Wine 1.7.14 to adapt to many kinds of systems.
1975 Usage: $0 [OPTION]... [VAR=VALUE]...
1977 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1978 VAR=VALUE. See below for descriptions of some of the useful variables.
1980 Defaults for the options are specified in brackets.
1983 -h, --help display this help and exit
1984 --help=short display options specific to this package
1985 --help=recursive display the short help of all the included packages
1986 -V, --version display version information and exit
1987 -q, --quiet, --silent do not print \`checking ...' messages
1988 --cache-file=FILE cache test results in FILE [disabled]
1989 -C, --config-cache alias for \`--cache-file=config.cache'
1990 -n, --no-create do not create output files
1991 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1993 Installation directories:
1994 --prefix=PREFIX install architecture-independent files in PREFIX
1995 [$ac_default_prefix]
1996 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1999 By default, \`make install' will install all the files in
2000 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2001 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2002 for instance \`--prefix=\$HOME'.
2004 For better control, use the options below.
2006 Fine tuning of the installation directories:
2007 --bindir=DIR user executables [EPREFIX/bin]
2008 --sbindir=DIR system admin executables [EPREFIX/sbin]
2009 --libexecdir=DIR program executables [EPREFIX/libexec]
2010 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2011 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2012 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2013 --libdir=DIR object code libraries [EPREFIX/lib]
2014 --includedir=DIR C header files [PREFIX/include]
2015 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2016 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2017 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2018 --infodir=DIR info documentation [DATAROOTDIR/info]
2019 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2020 --mandir=DIR man documentation [DATAROOTDIR/man]
2021 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2022 --htmldir=DIR html documentation [DOCDIR]
2023 --dvidir=DIR dvi documentation [DOCDIR]
2024 --pdfdir=DIR pdf documentation [DOCDIR]
2025 --psdir=DIR ps documentation [DOCDIR]
2031 --x-includes=DIR X include files are
in DIR
2032 --x-libraries=DIR X library files are
in DIR
2035 --build=BUILD configure
for building on BUILD
[guessed
]
2036 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2040 if test -n "$ac_init_help"; then
2041 case $ac_init_help in
2042 short | recursive
) echo "Configuration of Wine 1.7.14:";;
2047 --disable-option-checking ignore unrecognized
--enable/--with options
2048 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2049 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2050 --disable-win16 do not include Win16 support
2051 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2053 --disable-tests do not build the regression tests
2054 --enable-maintainer-mode
2055 enable maintainer-specific build rules
2056 --disable-largefile omit support for large files
2059 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2060 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2061 --without-alsa do not use the Alsa sound support
2062 --without-capi do not use CAPI (ISDN support)
2063 --without-cms do not use CMS (color management support)
2064 --without-coreaudio do not use the CoreAudio sound support
2065 --without-cups do not use CUPS
2066 --without-curses do not use (n)curses
2067 --without-dbus do not use DBus (dynamic device support)
2068 --without-fontconfig do not use fontconfig
2069 --without-freetype do not use the FreeType library
2070 --without-gettext do not use gettext
2071 --with-gettextpo use the GetTextPO library to rebuild po files
2072 --without-gphoto do not use gphoto (Digital Camera support)
2073 --without-glu do not use the GLU library
2074 --without-gnutls do not use GnuTLS (schannel support)
2075 --without-gsm do not use libgsm (GSM 06.10 codec support)
2076 --without-gstreamer do not use GStreamer (codecs support)
2077 --without-hal do not use HAL (dynamic device support)
2078 --without-jpeg do not use JPEG
2079 --without-ldap do not use LDAP
2080 --without-mpg123 do not use the mpg123 library
2081 --without-netapi do not use the Samba NetAPI library
2082 --without-openal do not use OpenAL
2083 --without-opencl do not use OpenCL
2084 --without-opengl do not use OpenGL
2085 --without-osmesa do not use the OSMesa library
2086 --without-oss do not use the OSS sound support
2087 --without-png do not use PNG
2088 --without-pthread do not use the pthread library
2089 --without-sane do not use SANE (scanner support)
2090 --without-tiff do not use TIFF
2091 --without-v4l do not use v4l1 (v4l support)
2092 --without-xcomposite do not use the Xcomposite extension
2093 --without-xcursor do not use the Xcursor extension
2094 --without-xinerama do not use Xinerama (multi-monitor support)
2095 --without-xinput do not use the Xinput extension
2096 --without-xinput2 do not use the Xinput 2 extension
2097 --without-xml do not use XML
2098 --without-xrandr do not use Xrandr (resolution changes)
2099 --without-xrender do not use the Xrender extension
2100 --without-xshape do not use the Xshape extension
2101 --without-xshm do not use XShm (shared memory extension)
2102 --without-xslt do not use XSLT
2103 --without-xxf86vm do not use XFree video mode extension
2104 --without-zlib do not use Zlib (data compression)
2105 --with-wine-tools=DIR use Wine tools from directory DIR
2106 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2107 --with-x use the X Window System
2109 Some influential environment variables:
2110 CC C compiler command
2111 CFLAGS C compiler flags
2112 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2113 nonstandard directory <lib dir>
2114 LIBS libraries to pass to the linker, e.g. -l<library>
2115 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2116 you have headers in a nonstandard directory <include dir>
2117 CXX C++ compiler command
2118 CXXFLAGS C++ compiler flags
2120 XMKMF Path to xmkmf, Makefile generator for X Window System
2121 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2122 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2123 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2124 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2125 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2126 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2127 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2128 HAL_LIBS Linker flags for hal, overriding pkg-config
2130 C compiler flags for gnutls, overriding pkg-config
2131 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2132 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2133 SANE_LIBS Linker flags for libsane, overriding pkg-config
2135 C compiler flags for libgphoto2, overriding pkg-config
2137 Linker flags for libgphoto2, overriding pkg-config
2139 C compiler flags for libgphoto2_port, overriding pkg-config
2141 Linker flags for libgphoto2_port, overriding pkg-config
2143 C compiler flags for lcms2, overriding pkg-config
2144 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2146 C compiler flags for freetype2, overriding pkg-config
2148 Linker flags for freetype2, overriding pkg-config
2150 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2152 Linker flags for gstreamer-app-0.10, overriding pkg-config
2154 C compiler flags for capi20, overriding pkg-config
2155 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2157 C compiler flags for fontconfig, overriding pkg-config
2159 Linker flags for fontconfig, overriding pkg-config
2160 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2161 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2162 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2163 PNG_LIBS Linker flags for libpng, overriding pkg-config
2164 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2165 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2167 C compiler flags for libmpg123, overriding pkg-config
2168 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2170 Use these variables to override the choices made by `configure' or to
help
2171 it to
find libraries and programs with nonstandard names
/locations.
2173 Report bugs to
<wine-devel@winehq.org
>.
2174 Wine home page
: <http
://www.winehq.org
>.
2179 if test "$ac_init_help" = "recursive"; then
2180 # If there are subdirs, report their specific --help.
2181 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2182 test -d "$ac_dir" ||
2183 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2188 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2190 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2191 # A ".." for each directory in $ac_dir_suffix.
2192 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2193 case $ac_top_builddir_sub in
2194 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2195 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2198 ac_abs_top_builddir
=$ac_pwd
2199 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2200 # for backward compatibility:
2201 ac_top_builddir
=$ac_top_build_prefix
2204 .
) # We are building in place.
2206 ac_top_srcdir
=$ac_top_builddir_sub
2207 ac_abs_top_srcdir
=$ac_pwd ;;
2208 [\\/]* | ?
:[\\/]* ) # Absolute name.
2209 ac_srcdir
=$srcdir$ac_dir_suffix;
2210 ac_top_srcdir
=$srcdir
2211 ac_abs_top_srcdir
=$srcdir ;;
2213 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2214 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2215 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2217 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2219 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2220 # Check for guested configure.
2221 if test -f "$ac_srcdir/configure.gnu"; then
2223 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2224 elif test -f "$ac_srcdir/configure"; then
2226 $SHELL "$ac_srcdir/configure" --help=recursive
2228 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2230 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2234 test -n "$ac_init_help" && exit $ac_status
2235 if $ac_init_version; then
2237 Wine configure
1.7.14
2238 generated by GNU Autoconf
2.69
2240 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2241 This configure
script is free software
; the Free Software Foundation
2242 gives unlimited permission to copy
, distribute and modify it.
2247 ## ------------------------ ##
2248 ## Autoconf initialization. ##
2249 ## ------------------------ ##
2251 # ac_fn_c_try_compile LINENO
2252 # --------------------------
2253 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2254 ac_fn_c_try_compile
()
2256 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2257 rm -f conftest.
$ac_objext
2258 if { { ac_try
="$ac_compile"
2260 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2261 *) ac_try_echo=$ac_try;;
2263 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2264 $as_echo "$ac_try_echo"; } >&5
2265 (eval "$ac_compile") 2>conftest.err
2267 if test -s conftest.err; then
2268 grep -v '^ *+' conftest.err >conftest.er1
2269 cat conftest.er1 >&5
2270 mv -f conftest.er1 conftest.err
2272 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2273 test $ac_status = 0; } && {
2274 test -z "$ac_c_werror_flag" ||
2275 test ! -s conftest.err
2276 } && test -s conftest.$ac_objext; then :
2279 $as_echo "$as_me: failed program was:" >&5
2280 sed 's/^/| /' conftest.$ac_ext >&5
2284 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2285 as_fn_set_status $ac_retval
2287 } # ac_fn_c_try_compile
2289 # ac_fn_cxx_try_compile LINENO
2290 # ----------------------------
2291 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2292 ac_fn_cxx_try_compile ()
2294 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2295 rm -f conftest.$ac_objext
2296 if { { ac_try="$ac_compile"
2298 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2299 *) ac_try_echo
=$ac_try;;
2301 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2302 $as_echo "$ac_try_echo"; } >&5
2303 (eval "$ac_compile") 2>conftest.err
2305 if test -s conftest.err
; then
2306 grep -v '^ *+' conftest.err
>conftest.er1
2307 cat conftest.er1
>&5
2308 mv -f conftest.er1 conftest.err
2310 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2311 test $ac_status = 0; } && {
2312 test -z "$ac_cxx_werror_flag" ||
2313 test ! -s conftest.err
2314 } && test -s conftest.
$ac_objext; then :
2317 $as_echo "$as_me: failed program was:" >&5
2318 sed 's/^/| /' conftest.
$ac_ext >&5
2322 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2323 as_fn_set_status
$ac_retval
2325 } # ac_fn_cxx_try_compile
2327 # ac_fn_c_try_link LINENO
2328 # -----------------------
2329 # Try to link conftest.$ac_ext, and return whether this succeeded.
2332 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2333 rm -f conftest.
$ac_objext conftest
$ac_exeext
2334 if { { ac_try
="$ac_link"
2336 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2337 *) ac_try_echo=$ac_try;;
2339 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2340 $as_echo "$ac_try_echo"; } >&5
2341 (eval "$ac_link") 2>conftest.err
2343 if test -s conftest.err; then
2344 grep -v '^ *+' conftest.err >conftest.er1
2345 cat conftest.er1 >&5
2346 mv -f conftest.er1 conftest.err
2348 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2349 test $ac_status = 0; } && {
2350 test -z "$ac_c_werror_flag" ||
2351 test ! -s conftest.err
2352 } && test -s conftest$ac_exeext && {
2353 test "$cross_compiling" = yes ||
2354 test -x conftest$ac_exeext
2358 $as_echo "$as_me: failed program was:" >&5
2359 sed 's/^/| /' conftest.$ac_ext >&5
2363 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2364 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2365 # interfere with the next link command; also delete a directory that is
2366 # left behind by Apple's compiler. We do this before executing the actions.
2367 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2368 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2369 as_fn_set_status $ac_retval
2371 } # ac_fn_c_try_link
2373 # ac_fn_c_try_cpp LINENO
2374 # ----------------------
2375 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2378 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2379 if { { ac_try="$ac_cpp conftest.$ac_ext"
2381 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2382 *) ac_try_echo
=$ac_try;;
2384 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2385 $as_echo "$ac_try_echo"; } >&5
2386 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2388 if test -s conftest.err
; then
2389 grep -v '^ *+' conftest.err
>conftest.er1
2390 cat conftest.er1
>&5
2391 mv -f conftest.er1 conftest.err
2393 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2394 test $ac_status = 0; } > conftest.i
&& {
2395 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2396 test ! -s conftest.err
2400 $as_echo "$as_me: failed program was:" >&5
2401 sed 's/^/| /' conftest.
$ac_ext >&5
2405 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2406 as_fn_set_status
$ac_retval
2410 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2411 # -------------------------------------------------------
2412 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2413 # the include files in INCLUDES and setting the cache variable VAR
2415 ac_fn_c_check_header_mongrel
()
2417 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2418 if eval \
${$3+:} false
; then :
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2420 $as_echo_n "checking for $2... " >&6; }
2421 if eval \
${$3+:} false
; then :
2422 $as_echo_n "(cached) " >&6
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2426 $as_echo "$ac_res" >&6; }
2428 # Is the header compilable?
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2430 $as_echo_n "checking $2 usability... " >&6; }
2431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2432 /* end confdefs.h. */
2436 if ac_fn_c_try_compile
"$LINENO"; then :
2437 ac_header_compiler
=yes
2439 ac_header_compiler
=no
2441 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2443 $as_echo "$ac_header_compiler" >&6; }
2445 # Is the header present?
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2447 $as_echo_n "checking $2 presence... " >&6; }
2448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2449 /* end confdefs.h. */
2452 if ac_fn_c_try_cpp
"$LINENO"; then :
2453 ac_header_preproc
=yes
2455 ac_header_preproc
=no
2457 rm -f conftest.err conftest.i conftest.
$ac_ext
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2459 $as_echo "$ac_header_preproc" >&6; }
2461 # So? What about this header?
2462 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2465 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2467 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2471 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2473 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2475 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2477 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2479 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2480 ( $as_echo "## ------------------------------------ ##
2481 ## Report this to wine-devel@winehq.org ##
2482 ## ------------------------------------ ##"
2483 ) |
sed "s/^/$as_me: WARNING: /" >&2
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2487 $as_echo_n "checking for $2... " >&6; }
2488 if eval \
${$3+:} false
; then :
2489 $as_echo_n "(cached) " >&6
2491 eval "$3=\$ac_header_compiler"
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2495 $as_echo "$ac_res" >&6; }
2497 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2499 } # ac_fn_c_check_header_mongrel
2501 # ac_fn_c_try_run LINENO
2502 # ----------------------
2503 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2504 # that executables *can* be run.
2507 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2508 if { { ac_try
="$ac_link"
2510 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2511 *) ac_try_echo=$ac_try;;
2513 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2514 $as_echo "$ac_try_echo"; } >&5
2515 (eval "$ac_link") 2>&5
2517 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2518 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2519 { { case "(($ac_try" in
2520 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2521 *) ac_try_echo
=$ac_try;;
2523 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2524 $as_echo "$ac_try_echo"; } >&5
2525 (eval "$ac_try") 2>&5
2527 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2528 test $ac_status = 0; }; }; then :
2531 $as_echo "$as_me: program exited with status $ac_status" >&5
2532 $as_echo "$as_me: failed program was:" >&5
2533 sed 's/^/| /' conftest.
$ac_ext >&5
2535 ac_retval
=$ac_status
2537 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2538 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2539 as_fn_set_status
$ac_retval
2543 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2544 # -------------------------------------------------------
2545 # Tests whether HEADER exists and can be compiled using the include files in
2546 # INCLUDES, setting the cache variable VAR accordingly.
2547 ac_fn_c_check_header_compile
()
2549 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2551 $as_echo_n "checking for $2... " >&6; }
2552 if eval \
${$3+:} false
; then :
2553 $as_echo_n "(cached) " >&6
2555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2556 /* end confdefs.h. */
2560 if ac_fn_c_try_compile
"$LINENO"; then :
2565 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2569 $as_echo "$ac_res" >&6; }
2570 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2572 } # ac_fn_c_check_header_compile
2574 # ac_fn_c_check_func LINENO FUNC VAR
2575 # ----------------------------------
2576 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2577 ac_fn_c_check_func
()
2579 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2581 $as_echo_n "checking for $2... " >&6; }
2582 if eval \
${$3+:} false
; then :
2583 $as_echo_n "(cached) " >&6
2585 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2586 /* end confdefs.h. */
2587 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2588 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2589 #define $2 innocuous_$2
2591 /* System header to define __stub macros and hopefully few prototypes,
2592 which can conflict with char $2 (); below.
2593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2594 <limits.h> exists even on freestanding compilers. */
2597 # include <limits.h>
2599 # include <assert.h>
2604 /* Override any GCC internal prototype to avoid an error.
2605 Use char because int might match the return type of a GCC
2606 builtin and then its argument prototype would still apply. */
2611 /* The GNU C library defines this for functions which it implements
2612 to always fail with ENOSYS. Some functions are actually named
2613 something starting with __ and the normal name is an alias. */
2614 #if defined __stub_$2 || defined __stub___$2
2626 if ac_fn_c_try_link
"$LINENO"; then :
2631 rm -f core conftest.err conftest.
$ac_objext \
2632 conftest
$ac_exeext conftest.
$ac_ext
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2636 $as_echo "$ac_res" >&6; }
2637 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2639 } # ac_fn_c_check_func
2641 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2642 # ----------------------------------------------------
2643 # Tries to find if the field MEMBER exists in type AGGR, after including
2644 # INCLUDES, setting cache variable VAR accordingly.
2645 ac_fn_c_check_member
()
2647 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2649 $as_echo_n "checking for $2.$3... " >&6; }
2650 if eval \
${$4+:} false
; then :
2651 $as_echo_n "(cached) " >&6
2653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2654 /* end confdefs.h. */
2666 if ac_fn_c_try_compile
"$LINENO"; then :
2669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2670 /* end confdefs.h. */
2676 if (sizeof ac_aggr.$3)
2682 if ac_fn_c_try_compile
"$LINENO"; then :
2687 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2689 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2693 $as_echo "$ac_res" >&6; }
2694 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2696 } # ac_fn_c_check_member
2698 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2699 # -------------------------------------------
2700 # Tests whether TYPE exists after having included INCLUDES, setting cache
2701 # variable VAR accordingly.
2702 ac_fn_c_check_type
()
2704 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2706 $as_echo_n "checking for $2... " >&6; }
2707 if eval \
${$3+:} false
; then :
2708 $as_echo_n "(cached) " >&6
2711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2712 /* end confdefs.h. */
2723 if ac_fn_c_try_compile
"$LINENO"; then :
2724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2725 /* end confdefs.h. */
2736 if ac_fn_c_try_compile
"$LINENO"; then :
2741 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2743 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2747 $as_echo "$ac_res" >&6; }
2748 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2750 } # ac_fn_c_check_type
2751 cat >config.log
<<_ACEOF
2752 This file contains any messages produced by compilers while
2753 running configure, to aid debugging if configure makes a mistake.
2755 It was created by Wine $as_me 1.7.14, which was
2756 generated by GNU Autoconf 2.69. Invocation command line was
2768 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2769 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2770 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2771 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2772 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2774 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2775 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2777 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2778 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2779 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2780 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2781 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2782 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2783 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2787 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2791 test -z "$as_dir" && as_dir
=.
2792 $as_echo "PATH: $as_dir"
2808 # Keep a trace of the command line.
2809 # Strip out --no-create and --no-recursion so they do not pile up.
2810 # Strip out --silent because we don't want to record it for future runs.
2811 # Also quote any args containing shell meta-characters.
2812 # Make two passes to allow for proper duplicate-argument suppression.
2816 ac_must_keep_next
=false
2822 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2823 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2824 |
-silent |
--silent |
--silen |
--sile |
--sil)
2827 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2830 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2832 as_fn_append ac_configure_args1
" '$ac_arg'"
2833 if test $ac_must_keep_next = true
; then
2834 ac_must_keep_next
=false
# Got value, back to normal.
2837 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2838 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2839 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2840 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2841 case "$ac_configure_args0 " in
2842 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2845 -* ) ac_must_keep_next
=true
;;
2848 as_fn_append ac_configure_args
" '$ac_arg'"
2853 { ac_configure_args0
=; unset ac_configure_args0
;}
2854 { ac_configure_args1
=; unset ac_configure_args1
;}
2856 # When interrupted or exit'd, cleanup temporary files, and complete
2857 # config.log. We remove comments because anyway the quotes in there
2858 # would cause problems or look ugly.
2859 # WARNING: Use '\'' to represent an apostrophe within the trap.
2860 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2861 trap 'exit_status=$?
2862 # Save into config.log some information that might help in debugging.
2866 $as_echo "## ---------------- ##
2867 ## Cache variables. ##
2868 ## ---------------- ##"
2870 # The following way of writing the cache mishandles newlines in values,
2872 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2873 eval ac_val=\$$ac_var
2877 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2878 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2881 _ | IFS | as_nl) ;; #(
2882 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2883 *) { eval $ac_var=; unset $ac_var;} ;;
2888 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2889 *${as_nl}ac_space=\ *)
2891 "s/'\''/'\''\\\\'\'''\''/g;
2892 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2895 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2902 $as_echo "## ----------------- ##
2903 ## Output variables. ##
2904 ## ----------------- ##"
2906 for ac_var in $ac_subst_vars
2908 eval ac_val=\$$ac_var
2910 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2912 $as_echo "$ac_var='\''$ac_val'\''"
2916 if test -n "$ac_subst_files"; then
2917 $as_echo "## ------------------- ##
2918 ## File substitutions. ##
2919 ## ------------------- ##"
2921 for ac_var
in $ac_subst_files
2923 eval ac_val
=\$
$ac_var
2925 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2927 $as_echo "$ac_var='\''$ac_val'\''"
2932 if test -s confdefs.h; then
2933 $as_echo "## ----------- ##
2940 test "$ac_signal" != 0 &&
2941 $as_echo "$as_me: caught signal $ac_signal"
2942 $as_echo "$as_me: exit $exit_status"
2944 rm -f core *.core core.conftest.* &&
2945 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2948 for ac_signal
in 1 2 13 15; do
2949 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2953 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2954 rm -f -r conftest
* confdefs.h
2956 $as_echo "/* confdefs.h */" > confdefs.h
2958 # Predefined preprocessor variables.
2960 cat >>confdefs.h
<<_ACEOF
2961 #define PACKAGE_NAME "$PACKAGE_NAME"
2964 cat >>confdefs.h
<<_ACEOF
2965 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2968 cat >>confdefs.h
<<_ACEOF
2969 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2972 cat >>confdefs.h
<<_ACEOF
2973 #define PACKAGE_STRING "$PACKAGE_STRING"
2976 cat >>confdefs.h
<<_ACEOF
2977 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2980 cat >>confdefs.h
<<_ACEOF
2981 #define PACKAGE_URL "$PACKAGE_URL"
2985 # Let the site file select an alternate cache file if it wants to.
2986 # Prefer an explicitly selected file to automatically selected ones.
2989 if test -n "$CONFIG_SITE"; then
2990 # We do not want a PATH search for config.site.
2991 case $CONFIG_SITE in #((
2992 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2993 */*) ac_site_file1
=$CONFIG_SITE;;
2994 *) ac_site_file1
=.
/$CONFIG_SITE;;
2996 elif test "x$prefix" != xNONE
; then
2997 ac_site_file1
=$prefix/share
/config.site
2998 ac_site_file2
=$prefix/etc
/config.site
3000 ac_site_file1
=$ac_default_prefix/share
/config.site
3001 ac_site_file2
=$ac_default_prefix/etc
/config.site
3003 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3005 test "x$ac_site_file" = xNONE
&& continue
3006 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3008 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3009 sed 's/^/| /' "$ac_site_file" >&5
3011 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3012 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3013 as_fn_error $?
"failed to load site script $ac_site_file
3014 See \`config.log' for more details" "$LINENO" 5; }
3018 if test -r "$cache_file"; then
3019 # Some versions of bash will fail to source /dev/null (special files
3020 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3021 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3023 $as_echo "$as_me: loading cache $cache_file" >&6;}
3025 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3026 *) .
"./$cache_file";;
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3031 $as_echo "$as_me: creating cache $cache_file" >&6;}
3035 # Check that the precious variables saved in the cache have kept the same
3037 ac_cache_corrupted
=false
3038 for ac_var
in $ac_precious_vars; do
3039 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3040 eval ac_new_set
=\
$ac_env_${ac_var}_set
3041 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3042 eval ac_new_val
=\
$ac_env_${ac_var}_value
3043 case $ac_old_set,$ac_new_set in
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3046 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3047 ac_cache_corrupted
=: ;;
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3050 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3051 ac_cache_corrupted
=: ;;
3054 if test "x$ac_old_val" != "x$ac_new_val"; then
3055 # differences in whitespace do not lead to failure.
3056 ac_old_val_w
=`echo x $ac_old_val`
3057 ac_new_val_w
=`echo x $ac_new_val`
3058 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3060 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3061 ac_cache_corrupted
=:
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3064 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3065 eval $ac_var=\
$ac_old_val
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3068 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3070 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3073 # Pass precious variables to config.status.
3074 if test "$ac_new_set" = set; then
3076 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3077 *) ac_arg
=$ac_var=$ac_new_val ;;
3079 case " $ac_configure_args " in
3080 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3081 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3085 if $ac_cache_corrupted; then
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3087 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3089 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3090 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3092 ## -------------------- ##
3093 ## Main body of script. ##
3094 ## -------------------- ##
3097 ac_cpp
='$CPP $CPPFLAGS'
3098 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3099 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3100 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3104 ac_config_headers
="$ac_config_headers include/config.h"
3107 for ac_dir
in tools
"$srcdir"/tools
; do
3108 if test -f "$ac_dir/install-sh"; then
3110 ac_install_sh
="$ac_aux_dir/install-sh -c"
3112 elif test -f "$ac_dir/install.sh"; then
3114 ac_install_sh
="$ac_aux_dir/install.sh -c"
3116 elif test -f "$ac_dir/shtool"; then
3118 ac_install_sh
="$ac_aux_dir/shtool install -c"
3122 if test -z "$ac_aux_dir"; then
3123 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3126 # These three variables are undocumented and unsupported,
3127 # and are intended to be withdrawn in a future Autoconf release.
3128 # They can cause serious problems if a builder's source tree is in a directory
3129 # whose full name contains unusual characters.
3130 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3131 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3132 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3136 libwine_version
="1.0"
3140 # Check whether --enable-win16 was given.
3141 if test "${enable_win16+set}" = set; then :
3142 enableval
=$enable_win16;
3145 # Check whether --enable-win64 was given.
3146 if test "${enable_win64+set}" = set; then :
3147 enableval
=$enable_win64;
3150 # Check whether --enable-tests was given.
3151 if test "${enable_tests+set}" = set; then :
3152 enableval
=$enable_tests;
3155 # Check whether --enable-maintainer-mode was given.
3156 if test "${enable_maintainer_mode+set}" = set; then :
3157 enableval
=$enable_maintainer_mode;
3162 # Check whether --with-alsa was given.
3163 if test "${with_alsa+set}" = set; then :
3164 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3168 # Check whether --with-capi was given.
3169 if test "${with_capi+set}" = set; then :
3174 # Check whether --with-cms was given.
3175 if test "${with_cms+set}" = set; then :
3180 # Check whether --with-coreaudio was given.
3181 if test "${with_coreaudio+set}" = set; then :
3182 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3186 # Check whether --with-cups was given.
3187 if test "${with_cups+set}" = set; then :
3192 # Check whether --with-curses was given.
3193 if test "${with_curses+set}" = set; then :
3194 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3198 # Check whether --with-dbus was given.
3199 if test "${with_dbus+set}" = set; then :
3204 # Check whether --with-fontconfig was given.
3205 if test "${with_fontconfig+set}" = set; then :
3206 withval
=$with_fontconfig;
3210 # Check whether --with-freetype was given.
3211 if test "${with_freetype+set}" = set; then :
3212 withval
=$with_freetype;
3216 # Check whether --with-gettext was given.
3217 if test "${with_gettext+set}" = set; then :
3218 withval
=$with_gettext;
3222 # Check whether --with-gettextpo was given.
3223 if test "${with_gettextpo+set}" = set; then :
3224 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3228 # Check whether --with-gphoto was given.
3229 if test "${with_gphoto+set}" = set; then :
3230 withval
=$with_gphoto;
3234 # Check whether --with-glu was given.
3235 if test "${with_glu+set}" = set; then :
3240 # Check whether --with-gnutls was given.
3241 if test "${with_gnutls+set}" = set; then :
3242 withval
=$with_gnutls;
3246 # Check whether --with-gsm was given.
3247 if test "${with_gsm+set}" = set; then :
3248 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3252 # Check whether --with-gstreamer was given.
3253 if test "${with_gstreamer+set}" = set; then :
3254 withval
=$with_gstreamer;
3258 # Check whether --with-hal was given.
3259 if test "${with_hal+set}" = set; then :
3264 # Check whether --with-jpeg was given.
3265 if test "${with_jpeg+set}" = set; then :
3270 # Check whether --with-ldap was given.
3271 if test "${with_ldap+set}" = set; then :
3272 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3276 # Check whether --with-mpg123 was given.
3277 if test "${with_mpg123+set}" = set; then :
3278 withval
=$with_mpg123;
3282 # Check whether --with-netapi was given.
3283 if test "${with_netapi+set}" = set; then :
3284 withval
=$with_netapi;
3288 # Check whether --with-openal was given.
3289 if test "${with_openal+set}" = set; then :
3290 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3294 # Check whether --with-opencl was given.
3295 if test "${with_opencl+set}" = set; then :
3296 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3300 # Check whether --with-opengl was given.
3301 if test "${with_opengl+set}" = set; then :
3302 withval
=$with_opengl;
3306 # Check whether --with-osmesa was given.
3307 if test "${with_osmesa+set}" = set; then :
3308 withval
=$with_osmesa;
3312 # Check whether --with-oss was given.
3313 if test "${with_oss+set}" = set; then :
3318 # Check whether --with-png was given.
3319 if test "${with_png+set}" = set; then :
3324 # Check whether --with-pthread was given.
3325 if test "${with_pthread+set}" = set; then :
3326 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3330 # Check whether --with-sane was given.
3331 if test "${with_sane+set}" = set; then :
3336 # Check whether --with-tiff was given.
3337 if test "${with_tiff+set}" = set; then :
3342 # Check whether --with-v4l was given.
3343 if test "${with_v4l+set}" = set; then :
3348 # Check whether --with-xcomposite was given.
3349 if test "${with_xcomposite+set}" = set; then :
3350 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3354 # Check whether --with-xcursor was given.
3355 if test "${with_xcursor+set}" = set; then :
3356 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3360 # Check whether --with-xinerama was given.
3361 if test "${with_xinerama+set}" = set; then :
3362 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3366 # Check whether --with-xinput was given.
3367 if test "${with_xinput+set}" = set; then :
3368 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3372 # Check whether --with-xinput2 was given.
3373 if test "${with_xinput2+set}" = set; then :
3374 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3378 # Check whether --with-xml was given.
3379 if test "${with_xml+set}" = set; then :
3384 # Check whether --with-xrandr was given.
3385 if test "${with_xrandr+set}" = set; then :
3386 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3390 # Check whether --with-xrender was given.
3391 if test "${with_xrender+set}" = set; then :
3392 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3396 # Check whether --with-xshape was given.
3397 if test "${with_xshape+set}" = set; then :
3398 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3402 # Check whether --with-xshm was given.
3403 if test "${with_xshm+set}" = set; then :
3404 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3408 # Check whether --with-xslt was given.
3409 if test "${with_xslt+set}" = set; then :
3414 # Check whether --with-xxf86vm was given.
3415 if test "${with_xxf86vm+set}" = set; then :
3416 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
3420 # Check whether --with-zlib was given.
3421 if test "${with_zlib+set}" = set; then :
3422 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3427 # Check whether --with-wine-tools was given.
3428 if test "${with_wine_tools+set}" = set; then :
3429 withval
=$with_wine_tools;
3433 # Check whether --with-wine64 was given.
3434 if test "${with_wine64+set}" = set; then :
3435 withval
=$with_wine64;
3439 # Make sure we can run config.sub.
3440 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3441 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3444 $as_echo_n "checking build system type... " >&6; }
3445 if ${ac_cv_build+:} false
; then :
3446 $as_echo_n "(cached) " >&6
3448 ac_build_alias
=$build_alias
3449 test "x$ac_build_alias" = x
&&
3450 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3451 test "x$ac_build_alias" = x
&&
3452 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3453 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3454 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3458 $as_echo "$ac_cv_build" >&6; }
3459 case $ac_cv_build in
3461 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3464 ac_save_IFS
=$IFS; IFS
='-'
3470 # Remember, the first character of IFS is used to create $*,
3471 # except with old shells:
3474 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3478 $as_echo_n "checking host system type... " >&6; }
3479 if ${ac_cv_host+:} false
; then :
3480 $as_echo_n "(cached) " >&6
3482 if test "x$host_alias" = x
; then
3483 ac_cv_host
=$ac_cv_build
3485 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3486 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3491 $as_echo "$ac_cv_host" >&6; }
3494 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3497 ac_save_IFS
=$IFS; IFS
='-'
3503 # Remember, the first character of IFS is used to create $*,
3504 # except with old shells:
3507 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3513 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3514 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3515 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3521 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3523 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3524 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3525 $as_echo_n "(cached) " >&6
3527 cat >conftest.
make <<\_ACEOF
3530 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3532 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3533 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3535 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3537 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3541 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3543 $as_echo "yes" >&6; }
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3547 $as_echo "no" >&6; }
3548 SET_MAKE
="MAKE=${MAKE-make}"
3552 ac_cpp
='$CPP $CPPFLAGS'
3553 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3554 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3555 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3556 if test -n "$ac_tool_prefix"; then
3557 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3558 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3560 $as_echo_n "checking for $ac_word... " >&6; }
3561 if ${ac_cv_prog_CC+:} false
; then :
3562 $as_echo_n "(cached) " >&6
3564 if test -n "$CC"; then
3565 ac_cv_prog_CC
="$CC" # Let the user override the test.
3567 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3571 test -z "$as_dir" && as_dir
=.
3572 for ac_exec_ext
in '' $ac_executable_extensions; do
3573 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3574 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3585 if test -n "$CC"; then
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3587 $as_echo "$CC" >&6; }
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3590 $as_echo "no" >&6; }
3595 if test -z "$ac_cv_prog_CC"; then
3597 # Extract the first word of "gcc", so it can be a program name with args.
3598 set dummy gcc
; ac_word
=$2
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3600 $as_echo_n "checking for $ac_word... " >&6; }
3601 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3602 $as_echo_n "(cached) " >&6
3604 if test -n "$ac_ct_CC"; then
3605 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3607 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3611 test -z "$as_dir" && as_dir
=.
3612 for ac_exec_ext
in '' $ac_executable_extensions; do
3613 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3614 ac_cv_prog_ac_ct_CC
="gcc"
3615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3624 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3625 if test -n "$ac_ct_CC"; then
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3627 $as_echo "$ac_ct_CC" >&6; }
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3630 $as_echo "no" >&6; }
3633 if test "x$ac_ct_CC" = x
; then
3636 case $cross_compiling:$ac_tool_warned in
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3639 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3640 ac_tool_warned
=yes ;;
3648 if test -z "$CC"; then
3649 if test -n "$ac_tool_prefix"; then
3650 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3651 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3653 $as_echo_n "checking for $ac_word... " >&6; }
3654 if ${ac_cv_prog_CC+:} false
; then :
3655 $as_echo_n "(cached) " >&6
3657 if test -n "$CC"; then
3658 ac_cv_prog_CC
="$CC" # Let the user override the test.
3660 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3664 test -z "$as_dir" && as_dir
=.
3665 for ac_exec_ext
in '' $ac_executable_extensions; do
3666 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3667 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3678 if test -n "$CC"; then
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3680 $as_echo "$CC" >&6; }
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3683 $as_echo "no" >&6; }
3689 if test -z "$CC"; then
3690 # Extract the first word of "cc", so it can be a program name with args.
3691 set dummy cc
; ac_word
=$2
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3693 $as_echo_n "checking for $ac_word... " >&6; }
3694 if ${ac_cv_prog_CC+:} false
; then :
3695 $as_echo_n "(cached) " >&6
3697 if test -n "$CC"; then
3698 ac_cv_prog_CC
="$CC" # Let the user override the test.
3701 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3705 test -z "$as_dir" && as_dir
=.
3706 for ac_exec_ext
in '' $ac_executable_extensions; do
3707 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3708 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3709 ac_prog_rejected
=yes
3713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3720 if test $ac_prog_rejected = yes; then
3721 # We found a bogon in the path, so make sure we never use it.
3722 set dummy
$ac_cv_prog_CC
3724 if test $# != 0; then
3725 # We chose a different compiler from the bogus one.
3726 # However, it has the same basename, so the bogon will be chosen
3727 # first if we set CC to just the basename; use the full file name.
3729 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3735 if test -n "$CC"; then
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3737 $as_echo "$CC" >&6; }
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3740 $as_echo "no" >&6; }
3745 if test -z "$CC"; then
3746 if test -n "$ac_tool_prefix"; then
3747 for ac_prog
in cl.exe
3749 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3750 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3752 $as_echo_n "checking for $ac_word... " >&6; }
3753 if ${ac_cv_prog_CC+:} false
; then :
3754 $as_echo_n "(cached) " >&6
3756 if test -n "$CC"; then
3757 ac_cv_prog_CC
="$CC" # Let the user override the test.
3759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3763 test -z "$as_dir" && as_dir
=.
3764 for ac_exec_ext
in '' $ac_executable_extensions; do
3765 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3766 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3777 if test -n "$CC"; then
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3779 $as_echo "$CC" >&6; }
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3782 $as_echo "no" >&6; }
3786 test -n "$CC" && break
3789 if test -z "$CC"; then
3791 for ac_prog
in cl.exe
3793 # Extract the first word of "$ac_prog", so it can be a program name with args.
3794 set dummy
$ac_prog; ac_word
=$2
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3796 $as_echo_n "checking for $ac_word... " >&6; }
3797 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3798 $as_echo_n "(cached) " >&6
3800 if test -n "$ac_ct_CC"; then
3801 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3807 test -z "$as_dir" && as_dir
=.
3808 for ac_exec_ext
in '' $ac_executable_extensions; do
3809 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3810 ac_cv_prog_ac_ct_CC
="$ac_prog"
3811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3820 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3821 if test -n "$ac_ct_CC"; then
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3823 $as_echo "$ac_ct_CC" >&6; }
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3826 $as_echo "no" >&6; }
3830 test -n "$ac_ct_CC" && break
3833 if test "x$ac_ct_CC" = x
; then
3836 case $cross_compiling:$ac_tool_warned in
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3839 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3840 ac_tool_warned
=yes ;;
3849 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3850 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3851 as_fn_error $?
"no acceptable C compiler found in \$PATH
3852 See \`config.log' for more details" "$LINENO" 5; }
3854 # Provide some information about the compiler.
3855 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3858 for ac_option
in --version -v -V -qversion; do
3859 { { ac_try
="$ac_compiler $ac_option >&5"
3861 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3862 *) ac_try_echo=$ac_try;;
3864 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3865 $as_echo "$ac_try_echo"; } >&5
3866 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3868 if test -s conftest.err; then
3870 ... rest of stderr output deleted ...
3871 10q' conftest.err >conftest.er1
3872 cat conftest.er1 >&5
3874 rm -f conftest.er1 conftest.err
3875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3876 test $ac_status = 0; }
3879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3880 /* end confdefs.h. */
3890 ac_clean_files_save=$ac_clean_files
3891 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3892 # Try to create an executable without -o first, disregard a.out.
3893 # It will help us diagnose broken compilers, and finding out an intuition
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3896 $as_echo_n "checking whether the C compiler works... " >&6; }
3897 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3899 # The possible output files:
3900 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3903 for ac_file in $ac_files
3906 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3907 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3912 if { { ac_try="$ac_link_default"
3914 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3915 *) ac_try_echo
=$ac_try;;
3917 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3918 $as_echo "$ac_try_echo"; } >&5
3919 (eval "$ac_link_default") 2>&5
3921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3922 test $ac_status = 0; }; then :
3923 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3924 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3925 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3926 # so that the user can short-circuit this test for compilers unknown to
3928 for ac_file
in $ac_files ''
3930 test -f "$ac_file" ||
continue
3932 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3935 # We found the default executable, but exeext='' is most
3939 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3941 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3943 # We set ac_cv_exeext here because the later test for it is not
3944 # safe: cross compilers may not add the suffix if given an `-o'
3945 # argument, so we may need to know it at that point already.
3946 # Even if this section looks crufty: it has the advantage of
3953 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3958 if test -z "$ac_file"; then :
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3960 $as_echo "no" >&6; }
3961 $as_echo "$as_me: failed program was:" >&5
3962 sed 's/^/| /' conftest.
$ac_ext >&5
3964 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3965 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3966 as_fn_error
77 "C compiler cannot create executables
3967 See \`config.log' for more details" "$LINENO" 5; }
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3970 $as_echo "yes" >&6; }
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3973 $as_echo_n "checking for C compiler default output file name... " >&6; }
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3975 $as_echo "$ac_file" >&6; }
3976 ac_exeext
=$ac_cv_exeext
3978 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3979 ac_clean_files
=$ac_clean_files_save
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3981 $as_echo_n "checking for suffix of executables... " >&6; }
3982 if { { ac_try
="$ac_link"
3984 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3985 *) ac_try_echo=$ac_try;;
3987 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3988 $as_echo "$ac_try_echo"; } >&5
3989 (eval "$ac_link") 2>&5
3991 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3992 test $ac_status = 0; }; then :
3993 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3994 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3995 # work properly (i.e., refer to `conftest.exe'), while it won't with
3997 for ac_file
in conftest.exe conftest conftest.
*; do
3998 test -f "$ac_file" ||
continue
4000 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4001 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4007 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4008 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4009 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4010 See \`config.log' for more details" "$LINENO" 5; }
4012 rm -f conftest conftest
$ac_cv_exeext
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4014 $as_echo "$ac_cv_exeext" >&6; }
4016 rm -f conftest.
$ac_ext
4017 EXEEXT
=$ac_cv_exeext
4019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4020 /* end confdefs.h. */
4025 FILE *f = fopen ("conftest.out", "w");
4026 return ferror (f) || fclose (f) != 0;
4032 ac_clean_files
="$ac_clean_files conftest.out"
4033 # Check that the compiler produces executables we can run. If not, either
4034 # the compiler is broken, or we cross compile.
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4036 $as_echo_n "checking whether we are cross compiling... " >&6; }
4037 if test "$cross_compiling" != yes; then
4038 { { ac_try
="$ac_link"
4040 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4041 *) ac_try_echo=$ac_try;;
4043 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4044 $as_echo "$ac_try_echo"; } >&5
4045 (eval "$ac_link") 2>&5
4047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4048 test $ac_status = 0; }
4049 if { ac_try='./conftest$ac_cv_exeext'
4050 { { case "(($ac_try" in
4051 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4052 *) ac_try_echo
=$ac_try;;
4054 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4055 $as_echo "$ac_try_echo"; } >&5
4056 (eval "$ac_try") 2>&5
4058 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4059 test $ac_status = 0; }; }; then
4062 if test "$cross_compiling" = maybe
; then
4065 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4066 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4067 as_fn_error $?
"cannot run C compiled programs.
4068 If you meant to cross compile, use \`--host'.
4069 See \`config.log' for more details" "$LINENO" 5; }
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4074 $as_echo "$cross_compiling" >&6; }
4076 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4077 ac_clean_files
=$ac_clean_files_save
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4079 $as_echo_n "checking for suffix of object files... " >&6; }
4080 if ${ac_cv_objext+:} false
; then :
4081 $as_echo_n "(cached) " >&6
4083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4084 /* end confdefs.h. */
4094 rm -f conftest.o conftest.obj
4095 if { { ac_try
="$ac_compile"
4097 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4098 *) ac_try_echo=$ac_try;;
4100 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4101 $as_echo "$ac_try_echo"; } >&5
4102 (eval "$ac_compile") 2>&5
4104 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4105 test $ac_status = 0; }; then :
4106 for ac_file in conftest.o conftest.obj conftest.*; do
4107 test -f "$ac_file" || continue;
4109 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4110 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4115 $as_echo "$as_me: failed program was:" >&5
4116 sed 's/^/| /' conftest.$ac_ext >&5
4118 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4119 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4120 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4121 See \
`config.log' for more details" "$LINENO" 5; }
4123 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4126 $as_echo "$ac_cv_objext" >&6; }
4127 OBJEXT=$ac_cv_objext
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4130 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4131 if ${ac_cv_c_compiler_gnu+:} false; then :
4132 $as_echo_n "(cached) " >&6
4134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4135 /* end confdefs.h. */
4148 if ac_fn_c_try_compile "$LINENO"; then :
4153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4154 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4158 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4159 if test $ac_compiler_gnu = yes; then
4164 ac_test_CFLAGS=${CFLAGS+set}
4165 ac_save_CFLAGS=$CFLAGS
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4167 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4168 if ${ac_cv_prog_cc_g+:} false; then :
4169 $as_echo_n "(cached) " >&6
4171 ac_save_c_werror_flag=$ac_c_werror_flag
4172 ac_c_werror_flag=yes
4175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4176 /* end confdefs.h. */
4186 if ac_fn_c_try_compile "$LINENO"; then :
4190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4191 /* end confdefs.h. */
4201 if ac_fn_c_try_compile "$LINENO"; then :
4204 ac_c_werror_flag=$ac_save_c_werror_flag
4206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4207 /* end confdefs.h. */
4217 if ac_fn_c_try_compile "$LINENO"; then :
4220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4225 ac_c_werror_flag=$ac_save_c_werror_flag
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4228 $as_echo "$ac_cv_prog_cc_g" >&6; }
4229 if test "$ac_test_CFLAGS" = set; then
4230 CFLAGS=$ac_save_CFLAGS
4231 elif test $ac_cv_prog_cc_g = yes; then
4232 if test "$GCC" = yes; then
4238 if test "$GCC" = yes; then
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4245 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4246 if ${ac_cv_prog_cc_c89+:} false; then :
4247 $as_echo_n "(cached) " >&6
4249 ac_cv_prog_cc_c89=no
4251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4252 /* end confdefs.h. */
4256 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4257 struct buf { int x; };
4258 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4259 static char *e (p, i)
4265 static char *f (char * (*g) (char **, int), char **p, ...)
4270 s = g (p, va_arg (v,int));
4275 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4276 function prototypes and stuff, but not '\xHH' hex character constants.
4277 These don't provoke an error unfortunately, instead are silently treated
4278 as 'x'. The following induces an error, until -std is added to get
4279 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4280 array size at least. It's necessary to write '\x00'==0 to get something
4281 that's true only with -std. */
4282 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4284 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4285 inside strings and character constants. */
4287 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4289 int test (int i, double x);
4290 struct s1 {int (*f) (int a);};
4291 struct s2 {int (*f) (double a);};
4292 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4298 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4303 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4304 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4306 CC="$ac_save_CC $ac_arg"
4307 if ac_fn_c_try_compile "$LINENO"; then :
4308 ac_cv_prog_cc_c89=$ac_arg
4310 rm -f core conftest.err conftest.$ac_objext
4311 test "x$ac_cv_prog_cc_c89" != "xno" && break
4313 rm -f conftest.$ac_ext
4318 case "x$ac_cv_prog_cc_c89" in
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4321 $as_echo "none needed" >&6; } ;;
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4324 $as_echo "unsupported" >&6; } ;;
4326 CC="$CC $ac_cv_prog_cc_c89"
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4328 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4330 if test "x$ac_cv_prog_cc_c89" != xno; then :
4335 ac_cpp='$CPP $CPPFLAGS'
4336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4341 ac_cpp='$CXXCPP $CPPFLAGS'
4342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4345 if test -z "$CXX"; then
4346 if test -n "$CCC"; then
4349 if test -n "$ac_tool_prefix"; then
4350 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4352 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4353 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4355 $as_echo_n "checking for $ac_word... " >&6; }
4356 if ${ac_cv_prog_CXX+:} false; then :
4357 $as_echo_n "(cached) " >&6
4359 if test -n "$CXX"; then
4360 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4366 test -z "$as_dir" && as_dir=.
4367 for ac_exec_ext in '' $ac_executable_extensions; do
4368 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4369 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4380 if test -n "$CXX"; then
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4382 $as_echo "$CXX" >&6; }
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4385 $as_echo "no" >&6; }
4389 test -n "$CXX" && break
4392 if test -z "$CXX"; then
4394 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4396 # Extract the first word of "$ac_prog", so it can be a program name with args.
4397 set dummy $ac_prog; ac_word=$2
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4399 $as_echo_n "checking for $ac_word... " >&6; }
4400 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4401 $as_echo_n "(cached) " >&6
4403 if test -n "$ac_ct_CXX"; then
4404 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4410 test -z "$as_dir" && as_dir=.
4411 for ac_exec_ext in '' $ac_executable_extensions; do
4412 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4413 ac_cv_prog_ac_ct_CXX="$ac_prog"
4414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4423 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4424 if test -n "$ac_ct_CXX"; then
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4426 $as_echo "$ac_ct_CXX" >&6; }
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4429 $as_echo "no" >&6; }
4433 test -n "$ac_ct_CXX" && break
4436 if test "x$ac_ct_CXX" = x; then
4439 case $cross_compiling:$ac_tool_warned in
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4442 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4443 ac_tool_warned=yes ;;
4451 # Provide some information about the compiler.
4452 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4455 for ac_option in --version -v -V -qversion; do
4456 { { ac_try="$ac_compiler $ac_option >&5"
4458 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4459 *) ac_try_echo
=$ac_try;;
4461 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4462 $as_echo "$ac_try_echo"; } >&5
4463 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4465 if test -s conftest.err
; then
4467 ... rest of stderr output deleted ...
4468 10q' conftest.err
>conftest.er1
4469 cat conftest.er1
>&5
4471 rm -f conftest.er1 conftest.err
4472 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4473 test $ac_status = 0; }
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4477 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4478 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4479 $as_echo_n "(cached) " >&6
4481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4482 /* end confdefs.h. */
4495 if ac_fn_cxx_try_compile
"$LINENO"; then :
4500 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4501 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4505 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4506 if test $ac_compiler_gnu = yes; then
4511 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4512 ac_save_CXXFLAGS
=$CXXFLAGS
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4514 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4515 if ${ac_cv_prog_cxx_g+:} false
; then :
4516 $as_echo_n "(cached) " >&6
4518 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4519 ac_cxx_werror_flag
=yes
4522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4523 /* end confdefs.h. */
4533 if ac_fn_cxx_try_compile
"$LINENO"; then :
4534 ac_cv_prog_cxx_g
=yes
4537 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4538 /* end confdefs.h. */
4548 if ac_fn_cxx_try_compile
"$LINENO"; then :
4551 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4554 /* end confdefs.h. */
4564 if ac_fn_cxx_try_compile
"$LINENO"; then :
4565 ac_cv_prog_cxx_g
=yes
4567 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4569 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4571 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4572 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4575 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4576 if test "$ac_test_CXXFLAGS" = set; then
4577 CXXFLAGS
=$ac_save_CXXFLAGS
4578 elif test $ac_cv_prog_cxx_g = yes; then
4579 if test "$GXX" = yes; then
4585 if test "$GXX" = yes; then
4592 ac_cpp
='$CPP $CPPFLAGS'
4593 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4594 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4595 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4597 if test -n "$ac_tool_prefix"; then
4598 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4599 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4601 $as_echo_n "checking for $ac_word... " >&6; }
4602 if ${ac_cv_prog_CPPBIN+:} false
; then :
4603 $as_echo_n "(cached) " >&6
4605 if test -n "$CPPBIN"; then
4606 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4612 test -z "$as_dir" && as_dir
=.
4613 for ac_exec_ext
in '' $ac_executable_extensions; do
4614 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4615 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4625 CPPBIN
=$ac_cv_prog_CPPBIN
4626 if test -n "$CPPBIN"; then
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4628 $as_echo "$CPPBIN" >&6; }
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4631 $as_echo "no" >&6; }
4636 if test -z "$ac_cv_prog_CPPBIN"; then
4637 ac_ct_CPPBIN
=$CPPBIN
4638 # Extract the first word of "cpp", so it can be a program name with args.
4639 set dummy cpp
; ac_word
=$2
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4641 $as_echo_n "checking for $ac_word... " >&6; }
4642 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4643 $as_echo_n "(cached) " >&6
4645 if test -n "$ac_ct_CPPBIN"; then
4646 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4652 test -z "$as_dir" && as_dir
=.
4653 for ac_exec_ext
in '' $ac_executable_extensions; do
4654 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4655 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4665 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4666 if test -n "$ac_ct_CPPBIN"; then
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4668 $as_echo "$ac_ct_CPPBIN" >&6; }
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4671 $as_echo "no" >&6; }
4674 if test "x$ac_ct_CPPBIN" = x
; then
4677 case $cross_compiling:$ac_tool_warned in
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4680 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4681 ac_tool_warned
=yes ;;
4683 CPPBIN
=$ac_ct_CPPBIN
4686 CPPBIN
="$ac_cv_prog_CPPBIN"
4690 cat >>confdefs.h
<<_ACEOF
4691 #define EXEEXT "$ac_exeext"
4697 if test "x$enable_win64" = "xyes"
4702 notice_platform
="64-bit "
4709 notice_platform
="32-bit "
4712 enable_win16
=${enable_win16:-yes}
4714 with_fontconfig
=${with_fontconfig:-no}
4717 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4722 $as_echo_n "checking whether $CC works... " >&6; }
4724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4725 /* end confdefs.h. */
4735 if ac_fn_c_try_link
"$LINENO"; then :
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4737 $as_echo "yes" >&6; }
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4740 $as_echo "no" >&6; }
4741 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4743 rm -f core conftest.err conftest.
$ac_objext \
4744 conftest
$ac_exeext conftest.
$ac_ext
4746 notice_platform
="32-bit "
4749 enable_win16
=${enable_win16:-yes}
4751 if test "x${GCC}" = "xyes"
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4754 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4756 /* end confdefs.h. */
4761 void func(__builtin_ms_va_list *args);
4766 if ac_fn_c_try_compile
"$LINENO"; then :
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4768 $as_echo "yes" >&6; }
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4771 $as_echo "no" >&6; }
4772 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4774 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4782 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4784 /* end confdefs.h. */
4785 int ac_test(int i) { return i; }
4789 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4794 if ac_fn_c_try_link
"$LINENO"; then :
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4796 $as_echo "yes" >&6; }
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4799 $as_echo "no" >&6; }
4800 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4802 rm -f core conftest.err conftest.
$ac_objext \
4803 conftest
$ac_exeext conftest.
$ac_ext
4804 CFLAGS
="$CFLAGS -marm"
4808 *-mingw32*|
*-cygwin*)
4809 enable_win16
=${enable_win16:-no}
4810 CFLAGS
="$CFLAGS -D_WIN32"
4813 enable_win16
=${enable_win16:-yes}
4817 enable_win16
=${enable_win16:-no}
4818 enable_win64
=${enable_win64:-no}
4820 enable_winetest
=${enable_winetest:-$enable_tests}
4822 if test -n "$with_wine64"
4824 if test "x$enable_win64" = "xyes"
4826 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4827 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4829 enable_fonts
=${enable_fonts:-no}
4830 enable_server
=${enable_server:-no}
4831 elif test "x$enable_win64" = "xyes"
4833 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4837 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4838 if ${wine_cv_toolsdir+:} false
; then :
4839 $as_echo_n "(cached) " >&6
4841 wine_cv_toolsdir
="$with_wine_tools"
4842 if test -z "$with_wine_tools"; then
4843 if test "$cross_compiling" = "yes"; then
4844 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4845 elif test -n "$with_wine64"; then
4846 wine_cv_toolsdir
="$with_wine64"
4849 if test -z "$wine_cv_toolsdir"; then
4850 wine_makedep
=tools
/makedep
4851 wine_cv_toolsdir
="\$(top_builddir)"
4852 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4853 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
4854 case "$wine_cv_toolsdir" in
4856 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4858 enable_tools
=${enable_tools:-no}
4859 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4861 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4865 $as_echo "$wine_cv_toolsdir" >&6; }
4866 TOOLSDIR
=$wine_cv_toolsdir
4868 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4870 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4876 # Extract the first word of "$ac_prog", so it can be a program name with args.
4877 set dummy
$ac_prog; ac_word
=$2
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4879 $as_echo_n "checking for $ac_word... " >&6; }
4880 if ${ac_cv_prog_FLEX+:} false
; then :
4881 $as_echo_n "(cached) " >&6
4883 if test -n "$FLEX"; then
4884 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4886 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4890 test -z "$as_dir" && as_dir
=.
4891 for ac_exec_ext
in '' $ac_executable_extensions; do
4892 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4893 ac_cv_prog_FLEX
="$ac_prog"
4894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4903 FLEX
=$ac_cv_prog_FLEX
4904 if test -n "$FLEX"; then
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4906 $as_echo "$FLEX" >&6; }
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4909 $as_echo "no" >&6; }
4913 test -n "$FLEX" && break
4915 test -n "$FLEX" || FLEX
="none"
4917 if test "$FLEX" = "none"
4919 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4922 $as_echo_n "checking whether flex is recent enough... " >&6; }
4923 cat >conftest.l
<<EOF
4925 #include "prediluvian.h"
4929 if $FLEX -t conftest.l
>/dev
/null
2>&5
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4932 $as_echo "yes" >&6; }
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4935 $as_echo "no" >&6; }
4936 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4939 for ac_prog
in bison
4941 # Extract the first word of "$ac_prog", so it can be a program name with args.
4942 set dummy
$ac_prog; ac_word
=$2
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4944 $as_echo_n "checking for $ac_word... " >&6; }
4945 if ${ac_cv_prog_BISON+:} false
; then :
4946 $as_echo_n "(cached) " >&6
4948 if test -n "$BISON"; then
4949 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4951 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4955 test -z "$as_dir" && as_dir
=.
4956 for ac_exec_ext
in '' $ac_executable_extensions; do
4957 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4958 ac_cv_prog_BISON
="$ac_prog"
4959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4968 BISON
=$ac_cv_prog_BISON
4969 if test -n "$BISON"; then
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4971 $as_echo "$BISON" >&6; }
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4974 $as_echo "no" >&6; }
4978 test -n "$BISON" && break
4980 test -n "$BISON" || BISON
="none"
4982 if test "$BISON" = "none"
4984 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4987 if test -n "$ac_tool_prefix"; then
4988 for ac_prog
in ar gar
4990 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4991 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4993 $as_echo_n "checking for $ac_word... " >&6; }
4994 if ${ac_cv_prog_AR+:} false
; then :
4995 $as_echo_n "(cached) " >&6
4997 if test -n "$AR"; then
4998 ac_cv_prog_AR
="$AR" # Let the user override the test.
5000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5004 test -z "$as_dir" && as_dir
=.
5005 for ac_exec_ext
in '' $ac_executable_extensions; do
5006 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5007 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5018 if test -n "$AR"; then
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5020 $as_echo "$AR" >&6; }
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5023 $as_echo "no" >&6; }
5027 test -n "$AR" && break
5030 if test -z "$AR"; then
5032 for ac_prog
in ar gar
5034 # Extract the first word of "$ac_prog", so it can be a program name with args.
5035 set dummy
$ac_prog; ac_word
=$2
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5037 $as_echo_n "checking for $ac_word... " >&6; }
5038 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5039 $as_echo_n "(cached) " >&6
5041 if test -n "$ac_ct_AR"; then
5042 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5044 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5048 test -z "$as_dir" && as_dir
=.
5049 for ac_exec_ext
in '' $ac_executable_extensions; do
5050 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5051 ac_cv_prog_ac_ct_AR
="$ac_prog"
5052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5061 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5062 if test -n "$ac_ct_AR"; then
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5064 $as_echo "$ac_ct_AR" >&6; }
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5067 $as_echo "no" >&6; }
5071 test -n "$ac_ct_AR" && break
5074 if test "x$ac_ct_AR" = x
; then
5077 case $cross_compiling:$ac_tool_warned in
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5080 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5081 ac_tool_warned
=yes ;;
5087 if test -n "$ac_tool_prefix"; then
5088 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5089 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5091 $as_echo_n "checking for $ac_word... " >&6; }
5092 if ${ac_cv_prog_STRIP+:} false
; then :
5093 $as_echo_n "(cached) " >&6
5095 if test -n "$STRIP"; then
5096 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5098 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5102 test -z "$as_dir" && as_dir
=.
5103 for ac_exec_ext
in '' $ac_executable_extensions; do
5104 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5105 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5115 STRIP
=$ac_cv_prog_STRIP
5116 if test -n "$STRIP"; then
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5118 $as_echo "$STRIP" >&6; }
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5121 $as_echo "no" >&6; }
5126 if test -z "$ac_cv_prog_STRIP"; then
5128 # Extract the first word of "strip", so it can be a program name with args.
5129 set dummy strip
; ac_word
=$2
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5131 $as_echo_n "checking for $ac_word... " >&6; }
5132 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5133 $as_echo_n "(cached) " >&6
5135 if test -n "$ac_ct_STRIP"; then
5136 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5138 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5142 test -z "$as_dir" && as_dir
=.
5143 for ac_exec_ext
in '' $ac_executable_extensions; do
5144 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5145 ac_cv_prog_ac_ct_STRIP
="strip"
5146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5155 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5156 if test -n "$ac_ct_STRIP"; then
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5158 $as_echo "$ac_ct_STRIP" >&6; }
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5161 $as_echo "no" >&6; }
5164 if test "x$ac_ct_STRIP" = x
; then
5167 case $cross_compiling:$ac_tool_warned in
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5170 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5171 ac_tool_warned
=yes ;;
5176 STRIP
="$ac_cv_prog_STRIP"
5181 if test -n "$ac_tool_prefix"; then
5182 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5183 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5185 $as_echo_n "checking for $ac_word... " >&6; }
5186 if ${ac_cv_prog_RANLIB+:} false
; then :
5187 $as_echo_n "(cached) " >&6
5189 if test -n "$RANLIB"; then
5190 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5196 test -z "$as_dir" && as_dir
=.
5197 for ac_exec_ext
in '' $ac_executable_extensions; do
5198 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5199 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5209 RANLIB
=$ac_cv_prog_RANLIB
5210 if test -n "$RANLIB"; then
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5212 $as_echo "$RANLIB" >&6; }
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5215 $as_echo "no" >&6; }
5220 if test -z "$ac_cv_prog_RANLIB"; then
5221 ac_ct_RANLIB
=$RANLIB
5222 # Extract the first word of "ranlib", so it can be a program name with args.
5223 set dummy ranlib
; ac_word
=$2
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5225 $as_echo_n "checking for $ac_word... " >&6; }
5226 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5227 $as_echo_n "(cached) " >&6
5229 if test -n "$ac_ct_RANLIB"; then
5230 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5236 test -z "$as_dir" && as_dir
=.
5237 for ac_exec_ext
in '' $ac_executable_extensions; do
5238 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5239 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5249 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5250 if test -n "$ac_ct_RANLIB"; then
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5252 $as_echo "$ac_ct_RANLIB" >&6; }
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5255 $as_echo "no" >&6; }
5258 if test "x$ac_ct_RANLIB" = x
; then
5261 case $cross_compiling:$ac_tool_warned in
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5264 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5265 ac_tool_warned
=yes ;;
5267 RANLIB
=$ac_ct_RANLIB
5270 RANLIB
="$ac_cv_prog_RANLIB"
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5274 $as_echo_n "checking whether ln -s works... " >&6; }
5276 if test "$LN_S" = "ln -s"; then
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5278 $as_echo "yes" >&6; }
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5281 $as_echo "no, using $LN_S" >&6; }
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5285 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5286 if ${ac_cv_path_GREP+:} false
; then :
5287 $as_echo_n "(cached) " >&6
5289 if test -z "$GREP"; then
5290 ac_path_GREP_found
=false
5291 # Loop through the user's path and test for each of PROGNAME-LIST
5292 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5293 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5296 test -z "$as_dir" && as_dir
=.
5297 for ac_prog
in grep ggrep
; do
5298 for ac_exec_ext
in '' $ac_executable_extensions; do
5299 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5300 as_fn_executable_p
"$ac_path_GREP" ||
continue
5301 # Check for GNU ac_path_GREP and select it if it is found.
5302 # Check for GNU $ac_path_GREP
5303 case `"$ac_path_GREP" --version 2>&1` in
5305 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5308 $as_echo_n 0123456789 >"conftest.in"
5311 cat "conftest.in" "conftest.in" >"conftest.tmp"
5312 mv "conftest.tmp" "conftest.in"
5313 cp "conftest.in" "conftest.nl"
5314 $as_echo 'GREP' >> "conftest.nl"
5315 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5316 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5317 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5318 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5319 # Best one so far, save it but keep looking for a better one
5320 ac_cv_path_GREP
="$ac_path_GREP"
5321 ac_path_GREP_max
=$ac_count
5323 # 10*(2^10) chars as input seems more than enough
5324 test $ac_count -gt 10 && break
5326 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5329 $ac_path_GREP_found && break 3
5334 if test -z "$ac_cv_path_GREP"; then
5335 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5338 ac_cv_path_GREP
=$GREP
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5343 $as_echo "$ac_cv_path_GREP" >&6; }
5344 GREP
="$ac_cv_path_GREP"
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5348 $as_echo_n "checking for egrep... " >&6; }
5349 if ${ac_cv_path_EGREP+:} false
; then :
5350 $as_echo_n "(cached) " >&6
5352 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5353 then ac_cv_path_EGREP
="$GREP -E"
5355 if test -z "$EGREP"; then
5356 ac_path_EGREP_found
=false
5357 # Loop through the user's path and test for each of PROGNAME-LIST
5358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5359 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5362 test -z "$as_dir" && as_dir
=.
5363 for ac_prog
in egrep; do
5364 for ac_exec_ext
in '' $ac_executable_extensions; do
5365 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5366 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5367 # Check for GNU ac_path_EGREP and select it if it is found.
5368 # Check for GNU $ac_path_EGREP
5369 case `"$ac_path_EGREP" --version 2>&1` in
5371 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5374 $as_echo_n 0123456789 >"conftest.in"
5377 cat "conftest.in" "conftest.in" >"conftest.tmp"
5378 mv "conftest.tmp" "conftest.in"
5379 cp "conftest.in" "conftest.nl"
5380 $as_echo 'EGREP' >> "conftest.nl"
5381 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5382 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5383 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5384 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5385 # Best one so far, save it but keep looking for a better one
5386 ac_cv_path_EGREP
="$ac_path_EGREP"
5387 ac_path_EGREP_max
=$ac_count
5389 # 10*(2^10) chars as input seems more than enough
5390 test $ac_count -gt 10 && break
5392 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5395 $ac_path_EGREP_found && break 3
5400 if test -z "$ac_cv_path_EGREP"; then
5401 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5404 ac_cv_path_EGREP
=$EGREP
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5410 $as_echo "$ac_cv_path_EGREP" >&6; }
5411 EGREP
="$ac_cv_path_EGREP"
5414 # Extract the first word of "ldconfig", so it can be a program name with args.
5415 set dummy ldconfig
; ac_word
=$2
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5417 $as_echo_n "checking for $ac_word... " >&6; }
5418 if ${ac_cv_path_LDCONFIG+:} false
; then :
5419 $as_echo_n "(cached) " >&6
5423 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5427 for as_dir
in /sbin
/usr
/sbin
$PATH
5430 test -z "$as_dir" && as_dir
=.
5431 for ac_exec_ext
in '' $ac_executable_extensions; do
5432 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5433 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5441 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5445 LDCONFIG
=$ac_cv_path_LDCONFIG
5446 if test -n "$LDCONFIG"; then
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5448 $as_echo "$LDCONFIG" >&6; }
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5451 $as_echo "no" >&6; }
5455 for ac_prog
in msgfmt
5457 # Extract the first word of "$ac_prog", so it can be a program name with args.
5458 set dummy
$ac_prog; ac_word
=$2
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5460 $as_echo_n "checking for $ac_word... " >&6; }
5461 if ${ac_cv_prog_MSGFMT+:} false
; then :
5462 $as_echo_n "(cached) " >&6
5464 if test -n "$MSGFMT"; then
5465 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5467 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5471 test -z "$as_dir" && as_dir
=.
5472 for ac_exec_ext
in '' $ac_executable_extensions; do
5473 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5474 ac_cv_prog_MSGFMT
="$ac_prog"
5475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5484 MSGFMT
=$ac_cv_prog_MSGFMT
5485 if test -n "$MSGFMT"; then
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5487 $as_echo "$MSGFMT" >&6; }
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5490 $as_echo "no" >&6; }
5494 test -n "$MSGFMT" && break
5496 test -n "$MSGFMT" || MSGFMT
="false"
5498 if ${ac_tool_prefix+:} false
; then :
5499 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5500 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5502 $as_echo_n "checking for $ac_word... " >&6; }
5503 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5504 $as_echo_n "(cached) " >&6
5506 if test -n "$PKG_CONFIG"; then
5507 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5509 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5513 test -z "$as_dir" && as_dir
=.
5514 for ac_exec_ext
in '' $ac_executable_extensions; do
5515 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5516 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5526 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5527 if test -n "$PKG_CONFIG"; then
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5529 $as_echo "$PKG_CONFIG" >&6; }
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5532 $as_echo "no" >&6; }
5537 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5538 if test "x$cross_compiling" = xyes
; then :
5541 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5542 # Extract the first word of "pkg-config", so it can be a program name with args.
5543 set dummy pkg-config
; ac_word
=$2
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5545 $as_echo_n "checking for $ac_word... " >&6; }
5546 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5547 $as_echo_n "(cached) " >&6
5549 if test -n "$PKG_CONFIG"; then
5550 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5556 test -z "$as_dir" && as_dir
=.
5557 for ac_exec_ext
in '' $ac_executable_extensions; do
5558 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5559 ac_cv_prog_PKG_CONFIG
="pkg-config"
5560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5569 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5570 if test -n "$PKG_CONFIG"; then
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5572 $as_echo "$PKG_CONFIG" >&6; }
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5575 $as_echo "no" >&6; }
5581 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5584 if test "x$enable_maintainer_mode" != "xyes"
5591 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5592 for ac_prog
in fontforge
5594 # Extract the first word of "$ac_prog", so it can be a program name with args.
5595 set dummy
$ac_prog; ac_word
=$2
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5597 $as_echo_n "checking for $ac_word... " >&6; }
5598 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5599 $as_echo_n "(cached) " >&6
5601 if test -n "$FONTFORGE"; then
5602 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5604 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5608 test -z "$as_dir" && as_dir
=.
5609 for ac_exec_ext
in '' $ac_executable_extensions; do
5610 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5611 ac_cv_prog_FONTFORGE
="$ac_prog"
5612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5621 FONTFORGE
=$ac_cv_prog_FONTFORGE
5622 if test -n "$FONTFORGE"; then
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5624 $as_echo "$FONTFORGE" >&6; }
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5627 $as_echo "no" >&6; }
5631 test -n "$FONTFORGE" && break
5633 test -n "$FONTFORGE" || FONTFORGE
="false"
5637 # Extract the first word of "$ac_prog", so it can be a program name with args.
5638 set dummy
$ac_prog; ac_word
=$2
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5640 $as_echo_n "checking for $ac_word... " >&6; }
5641 if ${ac_cv_prog_RSVG+:} false
; then :
5642 $as_echo_n "(cached) " >&6
5644 if test -n "$RSVG"; then
5645 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5651 test -z "$as_dir" && as_dir
=.
5652 for ac_exec_ext
in '' $ac_executable_extensions; do
5653 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5654 ac_cv_prog_RSVG
="$ac_prog"
5655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5664 RSVG
=$ac_cv_prog_RSVG
5665 if test -n "$RSVG"; then
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5667 $as_echo "$RSVG" >&6; }
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5670 $as_echo "no" >&6; }
5674 test -n "$RSVG" && break
5676 test -n "$RSVG" || RSVG
="false"
5678 for ac_prog
in convert
5680 # Extract the first word of "$ac_prog", so it can be a program name with args.
5681 set dummy
$ac_prog; ac_word
=$2
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5683 $as_echo_n "checking for $ac_word... " >&6; }
5684 if ${ac_cv_prog_CONVERT+:} false
; then :
5685 $as_echo_n "(cached) " >&6
5687 if test -n "$CONVERT"; then
5688 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5690 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5694 test -z "$as_dir" && as_dir
=.
5695 for ac_exec_ext
in '' $ac_executable_extensions; do
5696 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5697 ac_cv_prog_CONVERT
="$ac_prog"
5698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5707 CONVERT
=$ac_cv_prog_CONVERT
5708 if test -n "$CONVERT"; then
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5710 $as_echo "$CONVERT" >&6; }
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5713 $as_echo "no" >&6; }
5717 test -n "$CONVERT" && break
5719 test -n "$CONVERT" || CONVERT
="false"
5721 for ac_prog
in icotool
5723 # Extract the first word of "$ac_prog", so it can be a program name with args.
5724 set dummy
$ac_prog; ac_word
=$2
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5726 $as_echo_n "checking for $ac_word... " >&6; }
5727 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5728 $as_echo_n "(cached) " >&6
5730 if test -n "$ICOTOOL"; then
5731 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5737 test -z "$as_dir" && as_dir
=.
5738 for ac_exec_ext
in '' $ac_executable_extensions; do
5739 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5740 ac_cv_prog_ICOTOOL
="$ac_prog"
5741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5750 ICOTOOL
=$ac_cv_prog_ICOTOOL
5751 if test -n "$ICOTOOL"; then
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5753 $as_echo "$ICOTOOL" >&6; }
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5756 $as_echo "no" >&6; }
5760 test -n "$ICOTOOL" && break
5762 test -n "$ICOTOOL" || ICOTOOL
="false"
5764 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5765 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5767 if test "$CONVERT" = false
5769 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5772 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5773 convert_version
=`convert --version | head -n1`
5774 if test "x$convert_version" != "x"
5776 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5777 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5778 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5783 if test "$CONVERT" = false
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5786 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5787 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5790 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5794 if test "$ICOTOOL" = false
5796 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5799 $as_echo_n "checking for recent enough icotool... " >&6; }
5800 icotool_version
=`icotool --version | head -n1`
5801 if test "x$icotool_version" != "x"
5803 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5804 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5805 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5808 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5811 if test "$ICOTOOL" = false
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5814 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5815 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5818 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5824 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5827 test "x$with_gettext" != xno || MSGFMT
=false
5828 if test "$MSGFMT" != "false"
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5831 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5832 cat >conftest.po
<<EOF
5838 if $MSGFMT -o /dev
/null conftest.po
2>&5
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5841 $as_echo "yes" >&6; }
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5844 $as_echo "no" >&6; }
5848 if test "$MSGFMT" = false
; then :
5849 case "x$with_gettext" in
5850 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5852 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5853 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5859 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5860 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5861 $as_echo_n "(cached) " >&6
5863 ac_check_lib_save_LIBS
=$LIBS
5865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5866 /* end confdefs.h. */
5868 /* Override any GCC internal prototype to avoid an error.
5869 Use char because int might match the return type of a GCC
5870 builtin and then its argument prototype would still apply. */
5874 char i386_set_ldt ();
5878 return i386_set_ldt ();
5883 if ac_fn_c_try_link
"$LINENO"; then :
5884 ac_cv_lib_i386_i386_set_ldt
=yes
5886 ac_cv_lib_i386_i386_set_ldt
=no
5888 rm -f core conftest.err conftest.
$ac_objext \
5889 conftest
$ac_exeext conftest.
$ac_ext
5890 LIBS
=$ac_check_lib_save_LIBS
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5893 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5894 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5895 cat >>confdefs.h
<<_ACEOF
5896 #define HAVE_LIBI386 1
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5904 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5905 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5906 $as_echo_n "(cached) " >&6
5908 ac_check_lib_save_LIBS
=$LIBS
5909 LIBS
="-lossaudio $LIBS"
5910 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5911 /* end confdefs.h. */
5913 /* Override any GCC internal prototype to avoid an error.
5914 Use char because int might match the return type of a GCC
5915 builtin and then its argument prototype would still apply. */
5923 return _oss_ioctl ();
5928 if ac_fn_c_try_link
"$LINENO"; then :
5929 ac_cv_lib_ossaudio__oss_ioctl
=yes
5931 ac_cv_lib_ossaudio__oss_ioctl
=no
5933 rm -f core conftest.err conftest.
$ac_objext \
5934 conftest
$ac_exeext conftest.
$ac_ext
5935 LIBS
=$ac_check_lib_save_LIBS
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5938 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5939 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
5940 cat >>confdefs.h
<<_ACEOF
5941 #define HAVE_LIBOSSAUDIO 1
5944 LIBS
="-lossaudio $LIBS"
5953 # Check whether --enable-largefile was given.
5954 if test "${enable_largefile+set}" = set; then :
5955 enableval
=$enable_largefile;
5958 if test "$enable_largefile" != no
; then
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5961 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5962 if ${ac_cv_sys_largefile_CC+:} false
; then :
5963 $as_echo_n "(cached) " >&6
5965 ac_cv_sys_largefile_CC
=no
5966 if test "$GCC" != yes; then
5969 # IRIX 6.2 and later do not support large files by default,
5970 # so use the C compiler's -n32 option if that helps.
5971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5972 /* end confdefs.h. */
5973 #include <sys/types.h>
5974 /* Check that off_t can represent 2**63 - 1 correctly.
5975 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5976 since some C++ compilers masquerading as C compilers
5977 incorrectly reject 9223372036854775807. */
5978 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5979 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5980 && LARGE_OFF_T % 2147483647 == 1)
5990 if ac_fn_c_try_compile
"$LINENO"; then :
5993 rm -f core conftest.err conftest.
$ac_objext
5995 if ac_fn_c_try_compile
"$LINENO"; then :
5996 ac_cv_sys_largefile_CC
=' -n32'; break
5998 rm -f core conftest.err conftest.
$ac_objext
6002 rm -f conftest.
$ac_ext
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6006 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6007 if test "$ac_cv_sys_largefile_CC" != no
; then
6008 CC
=$CC$ac_cv_sys_largefile_CC
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6012 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6013 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6014 $as_echo_n "(cached) " >&6
6017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6018 /* end confdefs.h. */
6019 #include <sys/types.h>
6020 /* Check that off_t can represent 2**63 - 1 correctly.
6021 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6022 since some C++ compilers masquerading as C compilers
6023 incorrectly reject 9223372036854775807. */
6024 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6025 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6026 && LARGE_OFF_T % 2147483647 == 1)
6036 if ac_fn_c_try_compile
"$LINENO"; then :
6037 ac_cv_sys_file_offset_bits
=no
; break
6039 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6041 /* end confdefs.h. */
6042 #define _FILE_OFFSET_BITS 64
6043 #include <sys/types.h>
6044 /* Check that off_t can represent 2**63 - 1 correctly.
6045 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6046 since some C++ compilers masquerading as C compilers
6047 incorrectly reject 9223372036854775807. */
6048 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6049 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6050 && LARGE_OFF_T % 2147483647 == 1)
6060 if ac_fn_c_try_compile
"$LINENO"; then :
6061 ac_cv_sys_file_offset_bits
=64; break
6063 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6064 ac_cv_sys_file_offset_bits
=unknown
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6069 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6070 case $ac_cv_sys_file_offset_bits in #(
6073 cat >>confdefs.h
<<_ACEOF
6074 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6079 if test $ac_cv_sys_file_offset_bits = unknown
; then
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6081 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6082 if ${ac_cv_sys_large_files+:} false
; then :
6083 $as_echo_n "(cached) " >&6
6086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6087 /* end confdefs.h. */
6088 #include <sys/types.h>
6089 /* Check that off_t can represent 2**63 - 1 correctly.
6090 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6091 since some C++ compilers masquerading as C compilers
6092 incorrectly reject 9223372036854775807. */
6093 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6094 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6095 && LARGE_OFF_T % 2147483647 == 1)
6105 if ac_fn_c_try_compile
"$LINENO"; then :
6106 ac_cv_sys_large_files
=no
; break
6108 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6110 /* end confdefs.h. */
6111 #define _LARGE_FILES 1
6112 #include <sys/types.h>
6113 /* Check that off_t can represent 2**63 - 1 correctly.
6114 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6115 since some C++ compilers masquerading as C compilers
6116 incorrectly reject 9223372036854775807. */
6117 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6118 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6119 && LARGE_OFF_T % 2147483647 == 1)
6129 if ac_fn_c_try_compile
"$LINENO"; then :
6130 ac_cv_sys_large_files
=1; break
6132 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6133 ac_cv_sys_large_files
=unknown
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6138 $as_echo "$ac_cv_sys_large_files" >&6; }
6139 case $ac_cv_sys_large_files in #(
6142 cat >>confdefs.h
<<_ACEOF
6143 #define _LARGE_FILES $ac_cv_sys_large_files
6155 ac_cpp
='$CPP $CPPFLAGS'
6156 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6157 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6158 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6160 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6161 # On Suns, sometimes $CPP names a directory.
6162 if test -n "$CPP" && test -d "$CPP"; then
6165 if test -z "$CPP"; then
6166 if ${ac_cv_prog_CPP+:} false
; then :
6167 $as_echo_n "(cached) " >&6
6169 # Double quotes because CPP needs to be expanded
6170 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6173 for ac_c_preproc_warn_flag
in '' yes
6175 # Use a header file that comes with gcc, so configuring glibc
6176 # with a fresh cross-compiler works.
6177 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6178 # <limits.h> exists even on freestanding compilers.
6179 # On the NeXT, cc -E runs the code through the compiler's parser,
6180 # not just through cpp. "Syntax error" is here to catch this case.
6181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6182 /* end confdefs.h. */
6184 # include <limits.h>
6186 # include <assert.h>
6190 if ac_fn_c_try_cpp
"$LINENO"; then :
6193 # Broken: fails on valid input.
6196 rm -f conftest.err conftest.i conftest.
$ac_ext
6198 # OK, works on sane cases. Now check whether nonexistent headers
6199 # can be detected and how.
6200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6201 /* end confdefs.h. */
6202 #include <ac_nonexistent.h>
6204 if ac_fn_c_try_cpp
"$LINENO"; then :
6205 # Broken: success on invalid input.
6208 # Passes both tests.
6212 rm -f conftest.err conftest.i conftest.
$ac_ext
6215 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6216 rm -f conftest.i conftest.err conftest.
$ac_ext
6217 if $ac_preproc_ok; then :
6229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6230 $as_echo "$CPP" >&6; }
6232 for ac_c_preproc_warn_flag
in '' yes
6234 # Use a header file that comes with gcc, so configuring glibc
6235 # with a fresh cross-compiler works.
6236 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6237 # <limits.h> exists even on freestanding compilers.
6238 # On the NeXT, cc -E runs the code through the compiler's parser,
6239 # not just through cpp. "Syntax error" is here to catch this case.
6240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6241 /* end confdefs.h. */
6243 # include <limits.h>
6245 # include <assert.h>
6249 if ac_fn_c_try_cpp
"$LINENO"; then :
6252 # Broken: fails on valid input.
6255 rm -f conftest.err conftest.i conftest.
$ac_ext
6257 # OK, works on sane cases. Now check whether nonexistent headers
6258 # can be detected and how.
6259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6260 /* end confdefs.h. */
6261 #include <ac_nonexistent.h>
6263 if ac_fn_c_try_cpp
"$LINENO"; then :
6264 # Broken: success on invalid input.
6267 # Passes both tests.
6271 rm -f conftest.err conftest.i conftest.
$ac_ext
6274 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6275 rm -f conftest.i conftest.err conftest.
$ac_ext
6276 if $ac_preproc_ok; then :
6279 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6280 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6281 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6282 See \`config.log' for more details" "$LINENO" 5; }
6286 ac_cpp
='$CPP $CPPFLAGS'
6287 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6288 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6289 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6293 $as_echo_n "checking for ANSI C header files... " >&6; }
6294 if ${ac_cv_header_stdc+:} false
; then :
6295 $as_echo_n "(cached) " >&6
6297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6298 /* end confdefs.h. */
6312 if ac_fn_c_try_compile
"$LINENO"; then :
6313 ac_cv_header_stdc
=yes
6315 ac_cv_header_stdc
=no
6317 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6319 if test $ac_cv_header_stdc = yes; then
6320 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6322 /* end confdefs.h. */
6326 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6327 $EGREP "memchr" >/dev
/null
2>&1; then :
6330 ac_cv_header_stdc
=no
6336 if test $ac_cv_header_stdc = yes; then
6337 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6339 /* end confdefs.h. */
6343 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6344 $EGREP "free" >/dev
/null
2>&1; then :
6347 ac_cv_header_stdc
=no
6353 if test $ac_cv_header_stdc = yes; then
6354 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6355 if test "$cross_compiling" = yes; then :
6358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6359 /* end confdefs.h. */
6362 #if ((' ' & 0x0FF) == 0x020)
6363 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6364 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6366 # define ISLOWER(c) \
6367 (('a' <= (c) && (c) <= 'i') \
6368 || ('j' <= (c) && (c) <= 'r') \
6369 || ('s' <= (c) && (c) <= 'z'))
6370 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6373 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6378 for (i = 0; i < 256; i++)
6379 if (XOR (islower (i), ISLOWER (i))
6380 || toupper (i) != TOUPPER (i))
6385 if ac_fn_c_try_run
"$LINENO"; then :
6388 ac_cv_header_stdc
=no
6390 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6391 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6397 $as_echo "$ac_cv_header_stdc" >&6; }
6398 if test $ac_cv_header_stdc = yes; then
6400 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6404 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6405 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6406 inttypes.h stdint.h unistd.h
6408 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6409 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6411 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6412 cat >>confdefs.h
<<_ACEOF
6413 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6423 ApplicationServices
/ApplicationServices.h \
6424 AudioToolbox
/AudioConverter.h \
6425 AudioUnit
/AudioUnit.h \
6426 AudioUnit
/AudioComponent.h \
6429 CoreAudio
/CoreAudio.h \
6430 CoreServices
/CoreServices.h \
6431 DiskArbitration
/DiskArbitration.h \
6433 IOKit
/hid
/IOHIDLib.h \
6436 QuickTime
/ImageCompression.h \
6437 Security
/Security.h \
6488 netinet
/in_systm.h \
6549 valgrind
/memcheck.h \
6550 valgrind
/valgrind.h \
6554 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6555 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6556 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6557 cat >>confdefs.h
<<_ACEOF
6558 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6566 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6567 if ${ac_cv_header_stat_broken+:} false
; then :
6568 $as_echo_n "(cached) " >&6
6570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6571 /* end confdefs.h. */
6572 #include <sys/types.h>
6573 #include <sys/stat.h>
6575 #if defined S_ISBLK && defined S_IFDIR
6576 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6579 #if defined S_ISBLK && defined S_IFCHR
6580 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6583 #if defined S_ISLNK && defined S_IFREG
6584 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6587 #if defined S_ISSOCK && defined S_IFREG
6588 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6592 if ac_fn_c_try_compile
"$LINENO"; then :
6593 ac_cv_header_stat_broken
=no
6595 ac_cv_header_stat_broken
=yes
6597 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6600 $as_echo "$ac_cv_header_stat_broken" >&6; }
6601 if test $ac_cv_header_stat_broken = yes; then
6603 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6609 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6611 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6612 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6613 #ifdef HAVE_SYS_PARAM_H
6614 # include <sys/param.h>
6617 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6618 cat >>confdefs.h
<<_ACEOF
6619 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6634 netinet
/if_ether.h \
6635 netinet
/if_inarp.h \
6644 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6645 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6646 #ifdef HAVE_SYS_SOCKET_H
6647 # include <sys/socket.h>
6649 #ifdef HAVE_SYS_SOCKETVAR_H
6650 # include <sys/socketvar.h>
6652 #ifdef HAVE_NET_ROUTE_H
6653 # include <net/route.h>
6655 #ifdef HAVE_NETINET_IN_H
6656 # include <netinet/in.h>
6658 #ifdef HAVE_NETINET_IN_SYSTM_H
6659 # include <netinet/in_systm.h>
6661 #ifdef HAVE_NET_IF_H
6662 # include <net/if.h>
6664 #ifdef HAVE_NETINET_IP_H
6665 # include <netinet/ip.h>
6668 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6669 cat >>confdefs.h
<<_ACEOF
6670 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6678 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6680 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6681 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6685 #ifdef HAVE_SYS_SOCKET_H
6686 # include <sys/socket.h>
6688 #ifdef HAVE_SYS_SOCKETVAR_H
6689 # include <sys/socketvar.h>
6691 #ifdef HAVE_SYS_TIMEOUT_H
6692 # include <sys/timeout.h>
6694 #ifdef HAVE_NETINET_IN_H
6695 # include <netinet/in.h>
6697 #ifdef HAVE_NETINET_IN_SYSTM_H
6698 # include <netinet/in_systm.h>
6700 #ifdef HAVE_NETINET_IP_H
6701 # include <netinet/ip.h>
6703 #ifdef HAVE_NETINET_IP_VAR_H
6704 # include <netinet/ip_var.h>
6706 #ifdef HAVE_NETINET_IP_ICMP_H
6707 # include <netinet/ip_icmp.h>
6709 #ifdef HAVE_NETINET_UDP_H
6710 # include <netinet/udp.h>
6712 #ifdef HAVE_NETINET_TCP_H
6713 # include <netinet/tcp.h>
6715 #ifdef HAVE_NETINET_TCP_TIMER_H
6716 #include <netinet/tcp_timer.h>
6719 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6720 cat >>confdefs.h
<<_ACEOF
6721 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6729 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6731 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6732 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6733 #ifdef HAVE_ASM_TYPES_H
6734 # include <asm/types.h>
6736 #ifdef HAVE_SYS_SOCKET_H
6737 # include <sys/socket.h>
6739 #ifdef HAVE_LINUX_TYPES_H
6740 # include <linux/types.h>
6743 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6744 cat >>confdefs.h
<<_ACEOF
6745 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6753 for ac_header
in mach-o
/dyld_images.h
6755 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6756 # include <stdbool.h>
6758 #ifdef HAVE_STDINT_H
6759 # include <stdint.h>
6762 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6763 cat >>confdefs.h
<<_ACEOF
6764 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6772 for ac_header
in resolv.h
6774 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6775 #ifdef HAVE_SYS_SOCKET_H
6776 # include <sys/socket.h>
6778 #ifdef HAVE_NETINET_IN_H
6779 # include <netinet/in.h>
6781 #ifdef HAVE_ARPA_NAMESER_H
6782 # include <arpa/nameser.h>
6785 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6786 cat >>confdefs.h
<<_ACEOF
6787 #define HAVE_RESOLV_H 1
6795 for ac_header
in ifaddrs.h
6797 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6799 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6800 cat >>confdefs.h
<<_ACEOF
6801 #define HAVE_IFADDRS_H 1
6809 for ac_header
in ucontext.h
6811 ac_fn_c_check_header_compile
"$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6813 if test "x$ac_cv_header_ucontext_h" = xyes
; then :
6814 cat >>confdefs.h
<<_ACEOF
6815 #define HAVE_UCONTEXT_H 1
6823 for ac_header
in sys
/thr.h
6825 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6826 #ifdef HAVE_UCONTEXT_H
6827 #include <ucontext.h>
6830 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6831 cat >>confdefs.h
<<_ACEOF
6832 #define HAVE_SYS_THR_H 1
6840 for ac_header
in pthread_np.h
6842 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6843 #include <pthread.h>
6846 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6847 cat >>confdefs.h
<<_ACEOF
6848 #define HAVE_PTHREAD_NP_H 1
6856 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
6858 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6859 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6860 #include <sys/time.h>
6862 #include <sys/types.h>
6863 #ifdef HAVE_ASM_TYPES_H
6864 #include <asm/types.h>
6867 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6868 cat >>confdefs.h
<<_ACEOF
6869 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6877 for ac_header
in libprocstat.h
6879 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6880 #include <sys/param.h>
6882 #ifdef HAVE_SYS_QUEUE_H
6883 #include <sys/queue.h>
6885 #ifdef HAVE_SYS_SOCKET_H
6886 #include <sys/socket.h>
6889 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
6890 cat >>confdefs.h
<<_ACEOF
6891 #define HAVE_LIBPROCSTAT_H 1
6900 dlldir
="\${libdir}/wine"
6904 DLLFLAGS
="-D_REENTRANT"
6913 STATIC_IMPLIBEXT
="def.a"
6914 # Extract the first word of "ldd", so it can be a program name with args.
6915 set dummy ldd
; ac_word
=$2
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6917 $as_echo_n "checking for $ac_word... " >&6; }
6918 if ${ac_cv_path_LDD+:} false
; then :
6919 $as_echo_n "(cached) " >&6
6923 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6926 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6927 as_dummy
="/sbin:/usr/sbin:$PATH"
6928 for as_dir
in $as_dummy
6931 test -z "$as_dir" && as_dir
=.
6932 for ac_exec_ext
in '' $ac_executable_extensions; do
6933 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6934 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6942 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6947 if test -n "$LDD"; then
6948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6949 $as_echo "$LDD" >&6; }
6951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6952 $as_echo "no" >&6; }
6956 if test -n "$ac_tool_prefix"; then
6957 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6958 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6960 $as_echo_n "checking for $ac_word... " >&6; }
6961 if ${ac_cv_prog_READELF+:} false
; then :
6962 $as_echo_n "(cached) " >&6
6964 if test -n "$READELF"; then
6965 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
6967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6971 test -z "$as_dir" && as_dir
=.
6972 for ac_exec_ext
in '' $ac_executable_extensions; do
6973 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6974 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
6975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6984 READELF
=$ac_cv_prog_READELF
6985 if test -n "$READELF"; then
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
6987 $as_echo "$READELF" >&6; }
6989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6990 $as_echo "no" >&6; }
6995 if test -z "$ac_cv_prog_READELF"; then
6996 ac_ct_READELF
=$READELF
6997 # Extract the first word of "readelf", so it can be a program name with args.
6998 set dummy readelf
; ac_word
=$2
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7000 $as_echo_n "checking for $ac_word... " >&6; }
7001 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7002 $as_echo_n "(cached) " >&6
7004 if test -n "$ac_ct_READELF"; then
7005 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7011 test -z "$as_dir" && as_dir
=.
7012 for ac_exec_ext
in '' $ac_executable_extensions; do
7013 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7014 ac_cv_prog_ac_ct_READELF
="readelf"
7015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7024 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7025 if test -n "$ac_ct_READELF"; then
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7027 $as_echo "$ac_ct_READELF" >&6; }
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7030 $as_echo "no" >&6; }
7033 if test "x$ac_ct_READELF" = x
; then
7036 case $cross_compiling:$ac_tool_warned in
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7039 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7040 ac_tool_warned
=yes ;;
7042 READELF
=$ac_ct_READELF
7045 READELF
="$ac_cv_prog_READELF"
7048 wine_rules_file
=conf$
$rules.
make
7049 rm -f $wine_rules_file
7051 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7052 ALL_TEST_RESOURCES
=""
7055 wine_fn_append_file
()
7057 as_fn_append
$1 " \\$as_nl $2"
7060 wine_fn_ignore_file
()
7063 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7064 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7065 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7069 wine_fn_append_rule
()
7071 $as_echo "$1" >>$wine_rules_file
7076 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7079 wine_fn_depend_rules
()
7081 wine_fn_append_rule \
7082 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7083 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7084 depend: $ac_dir/depend
7085 .PHONY: $ac_dir/depend
7086 $ac_dir/depend: \$(MAKEDEP) dummy
7087 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7090 wine_fn_pot_rules
()
7092 test "x$with_gettextpo" = xyes ||
return
7094 if wine_fn_has_flag mc
7096 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7097 wine_fn_append_rule \
7098 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7099 @cd $ac_dir && \$(MAKE) msg.pot
7100 $ac_dir/msg.pot: tools/wmc include"
7102 if wine_fn_has_flag po
7104 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7105 wine_fn_append_rule \
7106 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7107 @cd $ac_dir && \$(MAKE) rsrc.pot
7108 $ac_dir/rsrc.pot: tools/wrc include"
7112 wine_fn_all_rules
()
7114 wine_fn_depend_rules
7115 wine_fn_append_rule \
7118 $ac_dir: $ac_dir/Makefile dummy
7119 @cd $ac_dir && \$(MAKE)"
7122 wine_fn_install_rules
()
7124 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7126 wine_fn_append_rule \
7127 ".PHONY: $ac_dir/install $ac_dir/uninstall
7128 $ac_dir/install:: $ac_dir
7129 @cd $ac_dir && \$(MAKE) install
7130 $ac_dir/uninstall:: $ac_dir/Makefile
7131 @cd $ac_dir && \$(MAKE) uninstall
7132 install:: $ac_dir/install
7133 __uninstall__: $ac_dir/uninstall"
7135 if wine_fn_has_flag install-lib
7137 wine_fn_append_rule \
7138 ".PHONY: $ac_dir/install-lib
7139 $ac_dir/install-lib:: $ac_dir
7140 @cd $ac_dir && \$(MAKE) install-lib
7141 install-lib:: $ac_dir/install-lib"
7144 if wine_fn_has_flag install-dev
7146 wine_fn_append_rule \
7147 ".PHONY: $ac_dir/install-dev
7148 $ac_dir/install-dev:: $ac_dir
7149 @cd $ac_dir && \$(MAKE) install-dev
7150 install-dev:: $ac_dir/install-dev"
7154 wine_fn_clean_rules
()
7157 ac_extraclean
="$ac_dir/Makefile"
7158 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7160 */tests
) ac_extraclean
="$ac_extraclean $ac_dir/testlist.c" ;;
7163 if wine_fn_has_flag clean
7165 wine_fn_append_rule \
7166 "__clean__: $ac_dir/clean
7167 .PHONY: $ac_dir/clean
7168 $ac_dir/clean: $ac_dir/Makefile
7169 @cd $ac_dir && \$(MAKE) clean
7170 \$(RM) $ac_extraclean"
7172 wine_fn_append_rule \
7173 "__clean__: $ac_dir/clean
7174 .PHONY: $ac_dir/clean
7175 $ac_dir/clean: dummy
7176 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7180 wine_fn_disabled_rules
()
7183 ac_extraclean
="$ac_dir/Makefile"
7184 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7186 wine_fn_append_rule \
7187 "__clean__: $ac_dir/clean
7188 .PHONY: $ac_dir/clean
7189 $ac_dir/clean: dummy
7190 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7193 wine_fn_config_makefile
()
7199 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7200 wine_fn_disabled_rules
; return
7203 wine_fn_install_rules
7207 wine_fn_config_lib
()
7211 ac_dir
=dlls
/$ac_name
7214 if test "x$enable_tools" = xno
; then :
7217 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7222 wine_fn_append_rule \
7223 ".PHONY: $ac_dir/install $ac_dir/uninstall
7224 $ac_dir/install:: $ac_dir
7225 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7227 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7228 install install-dev:: $ac_dir/install
7229 __uninstall__: $ac_dir/uninstall
7230 __builddeps__: $ac_dir
7234 wine_fn_config_dll
()
7237 ac_dir
=dlls
/$ac_name
7240 ac_implib
=${4:-$ac_name}
7241 ac_file
=$ac_dir/lib
$ac_implib
7246 if test "x$enable_tools" = xno
; then :
7249 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7252 *16) ac_implibflags
=" -m16" ;;
7254 *) ac_dll
=$ac_dll.dll
;;
7258 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7259 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7260 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7261 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7263 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7264 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
7266 wine_fn_depend_rules
7267 wine_fn_clean_rules
$ac_clean
7269 wine_fn_disabled_rules
$ac_clean
7274 wine_fn_clean_rules
$ac_clean
7275 wine_fn_append_rule \
7276 "$ac_dir: __builddeps__
7277 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7278 @cd $ac_dir && \$(MAKE) \$@
7279 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7280 install install-lib:: $ac_dir/install-lib
7281 __uninstall__: $ac_dir/uninstall"
7282 if test -n "$DLLEXT"
7284 wine_fn_append_rule \
7285 "$ac_dir/install-lib:: $ac_dir
7286 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7287 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7289 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7291 wine_fn_append_rule \
7292 "$ac_dir/install-lib:: $ac_dir
7293 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7295 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7301 if wine_fn_has_flag staticimplib
7303 wine_fn_append_rule \
7304 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7305 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7306 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7307 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7308 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7309 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7310 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7311 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7312 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7314 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7315 install install-dev:: $ac_dir/install-dev
7316 __uninstall__: $ac_dir/uninstall"
7318 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7320 wine_fn_append_rule \
7321 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7322 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7324 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7327 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7329 wine_fn_append_rule \
7330 "__builddeps__: $ac_file.cross.a
7331 $ac_file.cross.a: $ac_dir/Makefile dummy
7332 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7335 elif wine_fn_has_flag implib
7337 wine_fn_append_rule \
7338 "__builddeps__: $ac_file.$IMPLIBEXT
7339 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7340 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7341 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7342 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7343 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7344 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7345 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7347 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7348 install install-dev:: $ac_dir/install-dev
7349 __uninstall__: $ac_dir/uninstall"
7350 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7352 wine_fn_append_rule \
7353 "__builddeps__: $ac_file.cross.a
7354 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7355 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7358 if test "$ac_name" != "$ac_implib"
7360 wine_fn_append_rule \
7361 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7362 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7363 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7365 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7366 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7367 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7369 wine_fn_append_rule \
7370 "__builddeps__: dlls/lib$ac_implib.cross.a
7371 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7372 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7374 \$(RM) dlls/lib$ac_implib.cross.a"
7375 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7381 wine_fn_config_program
()
7384 ac_dir
=programs
/$ac_name
7391 *) ac_program
=$ac_program.exe
;;
7395 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7396 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7397 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7398 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7400 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7401 wine_fn_disabled_rules
$ac_clean; return
7405 wine_fn_clean_rules
$ac_clean
7406 wine_fn_append_rule
"$ac_dir: __builddeps__"
7409 wine_fn_has_flag
install ||
return
7410 wine_fn_append_rule \
7411 ".PHONY: $ac_dir/install $ac_dir/uninstall
7412 install install-lib:: $ac_dir/install
7413 __uninstall__: $ac_dir/uninstall"
7415 if test -n "$DLLEXT"
7417 wine_fn_append_rule \
7418 "$ac_dir/install:: $ac_dir
7419 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7420 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7422 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7424 if test -z "$with_wine64" && wine_fn_has_flag installbin
7426 wine_fn_append_rule \
7427 "$ac_dir/install:: __tooldeps__
7428 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7430 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7433 wine_fn_append_rule \
7434 "$ac_dir/install:: $ac_dir
7435 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7437 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7440 if test -z "$with_wine64" && wine_fn_has_flag manpage
7442 wine_fn_append_rule \
7443 "$ac_dir/install:: $ac_dir
7444 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7446 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7450 wine_fn_config_test
()
7457 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7458 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7460 if test "x$enable_tests" = xno
; then :
7461 wine_fn_disabled_rules
$ac_clean; return
7464 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7466 wine_fn_clean_rules
$ac_clean
7468 wine_fn_append_rule \
7469 "$ac_dir: programs/winetest/Makefile __builddeps__
7470 programs/winetest: $ac_dir
7471 check test: $ac_dir/test
7472 .PHONY: $ac_dir/test
7474 @cd $ac_dir && \$(MAKE) test
7476 \$(RM) $ac_dir/*.ok"
7478 if test -n "$CROSSTARGET"
7480 wine_fn_append_rule \
7481 "crosstest: $ac_dir/crosstest
7482 .PHONY: $ac_dir/crosstest
7483 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7484 @cd $ac_dir && \$(MAKE) crosstest"
7488 wine_fn_config_tool
()
7492 if test "x$enable_tools" = xno
; then :
7497 wine_fn_install_rules
7500 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7501 wine_fn_append_rule
"$ac_dir: libs/port"
7503 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7507 wine_fn_config_symlink
()
7510 if test "x$1" = "x-d"
7516 wine_fn_append_rule \
7518 @./config.status \$@
7521 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7522 test -n "$ac_linkdir" ||
return
7523 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7527 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7528 loader_programs
="$wine_binary wine-installed"
7529 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7532 install install-lib:: wine-installed
7533 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7536 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7542 if test -n "$ac_tool_prefix"; then
7543 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7544 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7546 $as_echo_n "checking for $ac_word... " >&6; }
7547 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7548 $as_echo_n "(cached) " >&6
7550 if test -n "$DLLTOOL"; then
7551 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7557 test -z "$as_dir" && as_dir
=.
7558 for ac_exec_ext
in '' $ac_executable_extensions; do
7559 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7560 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7570 DLLTOOL
=$ac_cv_prog_DLLTOOL
7571 if test -n "$DLLTOOL"; then
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7573 $as_echo "$DLLTOOL" >&6; }
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7576 $as_echo "no" >&6; }
7581 if test -z "$ac_cv_prog_DLLTOOL"; then
7582 ac_ct_DLLTOOL
=$DLLTOOL
7583 # Extract the first word of "dlltool", so it can be a program name with args.
7584 set dummy dlltool
; ac_word
=$2
7585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7586 $as_echo_n "checking for $ac_word... " >&6; }
7587 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7588 $as_echo_n "(cached) " >&6
7590 if test -n "$ac_ct_DLLTOOL"; then
7591 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7597 test -z "$as_dir" && as_dir
=.
7598 for ac_exec_ext
in '' $ac_executable_extensions; do
7599 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7600 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7610 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7611 if test -n "$ac_ct_DLLTOOL"; then
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7613 $as_echo "$ac_ct_DLLTOOL" >&6; }
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7616 $as_echo "no" >&6; }
7619 if test "x$ac_ct_DLLTOOL" = x
; then
7622 case $cross_compiling:$ac_tool_warned in
7624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7625 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7626 ac_tool_warned
=yes ;;
7628 DLLTOOL
=$ac_ct_DLLTOOL
7631 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7637 STATIC_IMPLIBEXT
="a"
7638 enable_iphlpapi
=${enable_iphlpapi:-no}
7639 enable_kernel32
=${enable_kernel32:-no}
7640 enable_msvcrt
=${enable_msvcrt:-no}
7641 enable_ntdll
=${enable_ntdll:-no}
7642 enable_ws2_32
=${enable_ws2_32:-no}
7643 enable_loader
=${enable_loader:-no}
7644 enable_server
=${enable_server:-no}
7645 with_x
=${with_x:-no}
7646 with_pthread
=${with_pthread:-no}
7652 SOCKET_LIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7656 libwine_targets
="libwine.dll libwine.a"
7658 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7660 all: libwine.dll libwine.a
7662 libwine.a: \$(srcdir)/wine.def
7663 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7665 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7666 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7668 install install-lib:: libwine.dll
7669 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7671 install install-dev:: libwine.a
7672 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7675 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7682 DLLFLAGS
="$DLLFLAGS -fPIC"
7683 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7684 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7685 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7686 COREFOUNDATION_LIBS
="-framework CoreFoundation"
7688 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
7690 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
7692 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
7694 CORESERVICES_LIBS
="-framework CoreServices"
7696 APPKIT_LIBS
="-framework AppKit"
7698 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7700 darwin11
*) LDEXECFLAGS
="-Wl,-macosx_version_min,10.6 $LDEXECFLAGS" ;;
7702 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7704 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
7707 if test "$ac_cv_header_Security_Security_h" = "yes"
7709 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
7711 ac_save_LIBS
="$LIBS"
7712 LIBS
="$LIBS $SECURITY_LIBS"
7713 for ac_func
in SSLCopyPeerCertificates
7715 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7716 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7717 cat >>confdefs.h
<<_ACEOF
7718 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7724 LIBS
="$ac_save_LIBS"
7725 with_gnutls
=${with_gnutls:-no}
7727 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7729 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7731 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7734 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7737 ac_save_LIBS
="$LIBS"
7738 LIBS
="$LIBS $COREAUDIO_LIBS"
7739 for ac_func
in AUGraphAddNode
7741 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7742 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7743 cat >>confdefs.h
<<_ACEOF
7744 #define HAVE_AUGRAPHADDNODE 1
7750 LIBS
="$ac_save_LIBS"
7752 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7754 OPENAL_LIBS
="-framework OpenAL"
7757 cat >>confdefs.h
<<_ACEOF
7758 #define HAVE_OPENAL 1
7761 ac_cv_lib_openal
=yes
7763 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7765 OPENCL_LIBS
="-framework OpenCL"
7767 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7769 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7771 ac_save_LIBS
="$LIBS"
7772 LIBS
="$LIBS $IOKIT_LIBS"
7773 for ac_func
in IOHIDManagerCreate
7775 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7776 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7777 cat >>confdefs.h
<<_ACEOF
7778 #define HAVE_IOHIDMANAGERCREATE 1
7784 LIBS
="$ac_save_LIBS"
7786 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7788 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7790 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
7792 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7794 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7796 CARBON_LIBS
="-framework Carbon"
7800 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7802 ac_save_LIBS
="$LIBS"
7803 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
7804 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7805 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
7806 enable_winemac_drv
=${enable_winemac_drv:-yes}
7809 LIBS
="$ac_save_LIBS"
7812 if test "x$enable_win16" = "xyes"
7814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7815 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7816 if test "$cross_compiling" = yes; then :
7817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7818 $as_echo "cross-compiling, assuming yes" >&6; }
7820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7821 /* end confdefs.h. */
7824 "good:\tnop;nop\n\t"
7825 ".globl _testfunc\n"
7826 "_testfunc:\tcallw good");
7827 extern void testfunc();
7831 unsigned short *p = (unsigned short *)testfunc;
7832 return p[0] != 0xe866 || p[1] != 0xfffa
7837 if ac_fn_c_try_run
"$LINENO"; then :
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7839 $as_echo "yes" >&6; }
7841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7842 $as_echo "no" >&6; }
7843 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
7845 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7846 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7851 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7853 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7857 libwine.$libwine_version.dylib: \$(OBJS)
7858 \$(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 \$@
7860 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7861 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7863 libwine.dylib: libwine.$libwine_soversion.dylib
7864 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7866 install install-lib:: libwine.$libwine_version.dylib
7867 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7868 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7870 install install-dev::
7871 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7874 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7878 as_fn_append LOADER_RULES
"
7879 $wine_binary: main.o wine_info.plist
7880 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7882 wine-installed: main.o wine_info.plist
7883 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7888 DLLFLAGS
="$DLLFLAGS -fPIC"
7892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7893 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7894 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7895 $as_echo_n "(cached) " >&6
7897 ac_wine_try_cflags_saved
=$CFLAGS
7898 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7900 /* end confdefs.h. */
7901 int main(int argc, char **argv) { return 0; }
7903 if ac_fn_c_try_link
"$LINENO"; then :
7904 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7906 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7908 rm -f core conftest.err conftest.
$ac_objext \
7909 conftest
$ac_exeext conftest.
$ac_ext
7910 CFLAGS
=$ac_wine_try_cflags_saved
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7913 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7914 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
7915 LDEXECFLAGS
="-Wl,--export-dynamic"
7917 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7919 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7920 if eval \
${$as_ac_var+:} false
; then :
7921 $as_echo_n "(cached) " >&6
7923 ac_wine_try_cflags_saved
=$CFLAGS
7924 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7926 /* end confdefs.h. */
7927 int main(int argc, char **argv) { return 0; }
7929 if ac_fn_c_try_link
"$LINENO"; then :
7930 eval "$as_ac_var=yes"
7932 eval "$as_ac_var=no"
7934 rm -f core conftest.err conftest.
$ac_objext \
7935 conftest
$ac_exeext conftest.
$ac_ext
7936 CFLAGS
=$ac_wine_try_cflags_saved
7938 eval ac_res
=\$
$as_ac_var
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7940 $as_echo "$ac_res" >&6; }
7941 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7942 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7943 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7945 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7947 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7948 if eval \
${$as_ac_var+:} false
; then :
7949 $as_echo_n "(cached) " >&6
7951 ac_wine_try_cflags_saved
=$CFLAGS
7952 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7954 /* end confdefs.h. */
7955 int main(int argc, char **argv) { return 0; }
7957 if ac_fn_c_try_link
"$LINENO"; then :
7958 eval "$as_ac_var=yes"
7960 eval "$as_ac_var=no"
7962 rm -f core conftest.err conftest.
$ac_objext \
7963 conftest
$ac_exeext conftest.
$ac_ext
7964 CFLAGS
=$ac_wine_try_cflags_saved
7966 eval ac_res
=\$
$as_ac_var
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7968 $as_echo "$ac_res" >&6; }
7969 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7970 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7971 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7976 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7977 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
7978 $as_echo_n "(cached) " >&6
7980 ac_wine_try_cflags_saved
=$CFLAGS
7981 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
7982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7983 /* end confdefs.h. */
7984 int main(int argc, char **argv) { return 0; }
7986 if ac_fn_c_try_link
"$LINENO"; then :
7987 ac_cv_cflags__Wl___enable_new_dtags
=yes
7989 ac_cv_cflags__Wl___enable_new_dtags
=no
7991 rm -f core conftest.err conftest.
$ac_objext \
7992 conftest
$ac_exeext conftest.
$ac_ext
7993 CFLAGS
=$ac_wine_try_cflags_saved
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7996 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7997 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
7998 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8002 *i
[3456789]86* | x86_64
)
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8004 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8005 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8006 $as_echo_n "(cached) " >&6
8008 ac_wine_try_cflags_saved
=$CFLAGS
8009 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8011 /* end confdefs.h. */
8012 int main(int argc, char **argv) { return 0; }
8014 if ac_fn_c_try_link
"$LINENO"; then :
8015 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8017 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8019 rm -f core conftest.err conftest.
$ac_objext \
8020 conftest
$ac_exeext conftest.
$ac_ext
8021 CFLAGS
=$ac_wine_try_cflags_saved
8023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8024 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8025 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8026 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8031 libwine_targets
="libwine.so"
8033 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8037 libwine.so: \$(OBJS)
8038 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8040 install install-lib:: libwine.so
8041 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8044 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8048 as_fn_append LOADER_RULES
"
8049 $wine_binary: main.o
8050 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8052 wine-installed: main.o
8053 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8058 DLLFLAGS
="$DLLFLAGS -fPIC"
8060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8061 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8062 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8063 $as_echo_n "(cached) " >&6
8065 ac_wine_try_cflags_saved
=$CFLAGS
8066 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8068 /* end confdefs.h. */
8071 if ac_fn_c_try_link
"$LINENO"; then :
8072 ac_cv_c_dll_gnuelf
="yes"
8074 ac_cv_c_dll_gnuelf
="no"
8076 rm -f core conftest.err conftest.
$ac_objext \
8077 conftest
$ac_exeext conftest.
$ac_ext
8078 CFLAGS
=$ac_wine_try_cflags_saved
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8081 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8082 if test "$ac_cv_c_dll_gnuelf" = "yes"
8084 LDSHARED
="\$(CC) -shared"
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8086 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8087 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8088 $as_echo_n "(cached) " >&6
8090 ac_wine_try_cflags_saved
=$CFLAGS
8091 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8093 /* end confdefs.h. */
8094 int main(int argc, char **argv) { return 0; }
8096 if ac_fn_c_try_link
"$LINENO"; then :
8097 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8099 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8101 rm -f core conftest.err conftest.
$ac_objext \
8102 conftest
$ac_exeext conftest.
$ac_ext
8103 CFLAGS
=$ac_wine_try_cflags_saved
8105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8106 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8107 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8108 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8111 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8112 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8113 $as_echo_n "(cached) " >&6
8115 ac_wine_try_cflags_saved
=$CFLAGS
8116 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8118 /* end confdefs.h. */
8119 int main(int argc, char **argv) { return 0; }
8121 if ac_fn_c_try_link
"$LINENO"; then :
8122 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8124 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8126 rm -f core conftest.err conftest.
$ac_objext \
8127 conftest
$ac_exeext conftest.
$ac_ext
8128 CFLAGS
=$ac_wine_try_cflags_saved
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8131 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8132 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8133 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8137 echo '{ global: *; };' >conftest.map
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8139 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8140 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8141 $as_echo_n "(cached) " >&6
8143 ac_wine_try_cflags_saved
=$CFLAGS
8144 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8146 /* end confdefs.h. */
8147 int main(int argc, char **argv) { return 0; }
8149 if ac_fn_c_try_link
"$LINENO"; then :
8150 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8152 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8154 rm -f core conftest.err conftest.
$ac_objext \
8155 conftest
$ac_exeext conftest.
$ac_ext
8156 CFLAGS
=$ac_wine_try_cflags_saved
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8159 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8160 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8161 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8166 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8167 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8168 $as_echo_n "(cached) " >&6
8170 ac_wine_try_cflags_saved
=$CFLAGS
8171 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8173 /* end confdefs.h. */
8174 int main(int argc, char **argv) { return 0; }
8176 if ac_fn_c_try_link
"$LINENO"; then :
8177 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8179 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8181 rm -f core conftest.err conftest.
$ac_objext \
8182 conftest
$ac_exeext conftest.
$ac_ext
8183 CFLAGS
=$ac_wine_try_cflags_saved
8185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8186 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8187 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8188 LDEXECFLAGS
="-Wl,--export-dynamic"
8191 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8193 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8194 if eval \
${$as_ac_var+:} false
; then :
8195 $as_echo_n "(cached) " >&6
8197 ac_wine_try_cflags_saved
=$CFLAGS
8198 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8200 /* end confdefs.h. */
8201 int main(int argc, char **argv) { return 0; }
8203 if ac_fn_c_try_link
"$LINENO"; then :
8204 eval "$as_ac_var=yes"
8206 eval "$as_ac_var=no"
8208 rm -f core conftest.err conftest.
$ac_objext \
8209 conftest
$ac_exeext conftest.
$ac_ext
8210 CFLAGS
=$ac_wine_try_cflags_saved
8212 eval ac_res
=\$
$as_ac_var
8213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8214 $as_echo "$ac_res" >&6; }
8215 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8216 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8217 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8219 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8221 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8222 if eval \
${$as_ac_var+:} false
; then :
8223 $as_echo_n "(cached) " >&6
8225 ac_wine_try_cflags_saved
=$CFLAGS
8226 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8228 /* end confdefs.h. */
8229 int main(int argc, char **argv) { return 0; }
8231 if ac_fn_c_try_link
"$LINENO"; then :
8232 eval "$as_ac_var=yes"
8234 eval "$as_ac_var=no"
8236 rm -f core conftest.err conftest.
$ac_objext \
8237 conftest
$ac_exeext conftest.
$ac_ext
8238 CFLAGS
=$ac_wine_try_cflags_saved
8240 eval ac_res
=\$
$as_ac_var
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8242 $as_echo "$ac_res" >&6; }
8243 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8244 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8245 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8250 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8251 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8252 $as_echo_n "(cached) " >&6
8254 ac_wine_try_cflags_saved
=$CFLAGS
8255 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8257 /* end confdefs.h. */
8258 int main(int argc, char **argv) { return 0; }
8260 if ac_fn_c_try_link
"$LINENO"; then :
8261 ac_cv_cflags__Wl___enable_new_dtags
=yes
8263 ac_cv_cflags__Wl___enable_new_dtags
=no
8265 rm -f core conftest.err conftest.
$ac_objext \
8266 conftest
$ac_exeext conftest.
$ac_ext
8267 CFLAGS
=$ac_wine_try_cflags_saved
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8270 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8271 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8272 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8276 *i
[3456789]86* | x86_64
)
8277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8278 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8279 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8280 $as_echo_n "(cached) " >&6
8282 ac_wine_try_cflags_saved
=$CFLAGS
8283 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8285 /* end confdefs.h. */
8286 int main(int argc, char **argv) { return 0; }
8288 if ac_fn_c_try_link
"$LINENO"; then :
8289 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8291 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8293 rm -f core conftest.err conftest.
$ac_objext \
8294 conftest
$ac_exeext conftest.
$ac_ext
8295 CFLAGS
=$ac_wine_try_cflags_saved
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8298 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8299 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8301 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8302 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8306 # Extract the first word of "prelink", so it can be a program name with args.
8307 set dummy prelink
; ac_word
=$2
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8309 $as_echo_n "checking for $ac_word... " >&6; }
8310 if ${ac_cv_path_PRELINK+:} false
; then :
8311 $as_echo_n "(cached) " >&6
8315 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8318 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8319 for as_dir
in /sbin
/usr
/sbin
$PATH
8322 test -z "$as_dir" && as_dir
=.
8323 for ac_exec_ext
in '' $ac_executable_extensions; do
8324 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8325 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8333 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8337 PRELINK
=$ac_cv_path_PRELINK
8338 if test -n "$PRELINK"; then
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8340 $as_echo "$PRELINK" >&6; }
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8343 $as_echo "no" >&6; }
8347 if test "x$PRELINK" = xfalse
8349 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8356 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8357 if ${ac_cv_c_dll_unixware+:} false
; then :
8358 $as_echo_n "(cached) " >&6
8360 ac_wine_try_cflags_saved
=$CFLAGS
8361 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8363 /* end confdefs.h. */
8366 if ac_fn_c_try_link
"$LINENO"; then :
8367 ac_cv_c_dll_unixware
="yes"
8369 ac_cv_c_dll_unixware
="no"
8371 rm -f core conftest.err conftest.
$ac_objext \
8372 conftest
$ac_exeext conftest.
$ac_ext
8373 CFLAGS
=$ac_wine_try_cflags_saved
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8376 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8377 if test "$ac_cv_c_dll_unixware" = "yes"
8379 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8382 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8384 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8388 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8389 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8391 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8392 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8394 libwine.so: libwine.so.$libwine_soversion
8395 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8397 install install-lib:: libwine.so.$libwine_version
8398 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8399 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8401 install install-dev::
8402 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8405 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8409 as_fn_append LOADER_RULES
"
8410 $wine_binary: main.o
8411 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8413 wine-installed: main.o
8414 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8419 as_fn_append LIBWINE_RULES
"
8420 EXTRA_TARGETS = $libwine_targets
8423 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8424 enable_winemac_drv
=${enable_winemac_drv:-no}
8428 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8432 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
8435 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 " ;;
8437 ac_prefix_list
="" ;;
8439 for ac_prog
in $ac_prefix_list
8441 # Extract the first word of "$ac_prog", so it can be a program name with args.
8442 set dummy
$ac_prog; ac_word
=$2
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8444 $as_echo_n "checking for $ac_word... " >&6; }
8445 if ${ac_cv_prog_CROSSCC+:} false
; then :
8446 $as_echo_n "(cached) " >&6
8448 if test -n "$CROSSCC"; then
8449 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8451 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8455 test -z "$as_dir" && as_dir
=.
8456 for ac_exec_ext
in '' $ac_executable_extensions; do
8457 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8458 ac_cv_prog_CROSSCC
="$ac_prog"
8459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8468 CROSSCC
=$ac_cv_prog_CROSSCC
8469 if test -n "$CROSSCC"; then
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8471 $as_echo "$CROSSCC" >&6; }
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8474 $as_echo "no" >&6; }
8478 test -n "$CROSSCC" && break
8480 test -n "$CROSSCC" || CROSSCC
="false"
8482 if test "$CROSSCC" != "false"
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8487 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8489 /* end confdefs.h. */
8499 if ac_fn_c_try_compile
"$LINENO"; then :
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8501 $as_echo "yes" >&6; }
8507 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8513 $as_echo "no" >&6; }
8515 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8521 if test "$ac_cv_header_pthread_h" = "yes"
8523 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8524 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8528 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8529 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8530 $as_echo_n "(cached) " >&6
8532 ac_check_lib_save_LIBS
=$LIBS
8533 LIBS
="-lpthread $LIBS"
8534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8535 /* end confdefs.h. */
8537 /* Override any GCC internal prototype to avoid an error.
8538 Use char because int might match the return type of a GCC
8539 builtin and then its argument prototype would still apply. */
8543 char pthread_create ();
8547 return pthread_create ();
8552 if ac_fn_c_try_link
"$LINENO"; then :
8553 ac_cv_lib_pthread_pthread_create
=yes
8555 ac_cv_lib_pthread_pthread_create
=no
8557 rm -f core conftest.err conftest.
$ac_objext \
8558 conftest
$ac_exeext conftest.
$ac_ext
8559 LIBS
=$ac_check_lib_save_LIBS
8561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8562 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8563 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8564 PTHREAD_LIBS
="-lpthread"
8571 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8572 case "x$with_pthread" in
8574 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8575 Wine cannot support threads without libpthread.
8576 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8582 $as_echo_n "checking for X... " >&6; }
8585 # Check whether --with-x was given.
8586 if test "${with_x+set}" = set; then :
8590 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8591 if test "x$with_x" = xno
; then
8592 # The user explicitly disabled X.
8595 case $x_includes,$x_libraries in #(
8596 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8597 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8598 $as_echo_n "(cached) " >&6
8600 # One or both of the vars are not set, and there is no cached value.
8601 ac_x_includes
=no ac_x_libraries
=no
8602 rm -f -r conftest.dir
8603 if mkdir conftest.dir
; then
8605 cat >Imakefile
<<'_ACEOF'
8607 @echo incroot='${INCROOT}'
8609 @echo usrlibdir='${USRLIBDIR}'
8611 @echo libdir='${LIBDIR}'
8613 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8614 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8615 for ac_var
in incroot usrlibdir libdir
; do
8616 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8618 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8619 for ac_extension
in a so sl dylib la dll
; do
8620 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8621 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8622 ac_im_usrlibdir
=$ac_im_libdir; break
8625 # Screen out bogus values from the imake configuration. They are
8626 # bogus both because they are the default anyway, and because
8627 # using them would break gcc on systems where it needs fixed includes.
8628 case $ac_im_incroot in
8629 /usr
/include
) ac_x_includes
= ;;
8630 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8632 case $ac_im_usrlibdir in
8633 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8634 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8638 rm -f -r conftest.dir
8641 # Standard set of common directories for X headers.
8642 # Check X11 before X11Rn because it is often a symlink to the current release.
8656 /usr/local/X11/include
8657 /usr/local/X11R7/include
8658 /usr/local/X11R6/include
8659 /usr/local/X11R5/include
8660 /usr/local/X11R4/include
8662 /usr/local/include/X11
8663 /usr/local/include/X11R7
8664 /usr/local/include/X11R6
8665 /usr/local/include/X11R5
8666 /usr/local/include/X11R4
8670 /usr/XFree86/include/X11
8674 /usr/unsupported/include
8676 /usr/local/x11r5/include
8677 /usr/lpp/Xamples/include
8679 /usr/openwin/include
8680 /usr/openwin/share/include'
8682 if test "$ac_x_includes" = no
; then
8683 # Guess where to find include files, by looking for Xlib.h.
8684 # First, try using that file with no special directory specified.
8685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8686 /* end confdefs.h. */
8687 #include <X11/Xlib.h>
8689 if ac_fn_c_try_cpp
"$LINENO"; then :
8690 # We can compile using X headers with no special include directory.
8693 for ac_dir
in $ac_x_header_dirs; do
8694 if test -r "$ac_dir/X11/Xlib.h"; then
8695 ac_x_includes
=$ac_dir
8700 rm -f conftest.err conftest.i conftest.
$ac_ext
8701 fi # $ac_x_includes = no
8703 if test "$ac_x_libraries" = no
; then
8704 # Check for the libraries.
8705 # See if we find them without any special options.
8706 # Don't add to $LIBS permanently.
8709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8710 /* end confdefs.h. */
8711 #include <X11/Xlib.h>
8720 if ac_fn_c_try_link
"$LINENO"; then :
8722 # We can link X programs with no special library path.
8726 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8728 # Don't even attempt the hair of trying to link an X program!
8729 for ac_extension
in a so sl dylib la dll
; do
8730 if test -r "$ac_dir/libX11.$ac_extension"; then
8731 ac_x_libraries
=$ac_dir
8737 rm -f core conftest.err conftest.
$ac_objext \
8738 conftest
$ac_exeext conftest.
$ac_ext
8739 fi # $ac_x_libraries = no
8741 case $ac_x_includes,$ac_x_libraries in #(
8743 # Didn't find X, or a directory has "'" in its name.
8744 ac_cv_have_x
="have_x=no";; #(
8746 # Record where we found X for the cache.
8747 ac_cv_have_x
="have_x=yes\
8748 ac_x_includes='$ac_x_includes'\
8749 ac_x_libraries='$ac_x_libraries'"
8755 eval "$ac_cv_have_x"
8758 if test "$have_x" != yes; then
8759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8760 $as_echo "$have_x" >&6; }
8763 # If each of the values was on the command line, it overrides each guess.
8764 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8765 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8766 # Update the cache value to reflect the command line values.
8767 ac_cv_have_x
="have_x=yes\
8768 ac_x_includes='$x_includes'\
8769 ac_x_libraries='$x_libraries'"
8770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8771 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8774 if test "$no_x" = yes; then
8775 # Not all programs may use this symbol, but it does not hurt to define it.
8777 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8779 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8781 if test -n "$x_includes"; then
8782 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8785 # It would also be nice to do this for all -L options, not just this one.
8786 if test -n "$x_libraries"; then
8787 X_LIBS
="$X_LIBS -L$x_libraries"
8788 # For Solaris; some versions of Sun CC require a space after -R and
8789 # others require no space. Words are not sufficient . . . .
8790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8791 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8792 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
8793 ac_xsave_c_werror_flag
=$ac_c_werror_flag
8794 ac_c_werror_flag
=yes
8795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8796 /* end confdefs.h. */
8806 if ac_fn_c_try_link
"$LINENO"; then :
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8808 $as_echo "no" >&6; }
8809 X_LIBS
="$X_LIBS -R$x_libraries"
8811 LIBS
="$ac_xsave_LIBS -R $x_libraries"
8812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8813 /* end confdefs.h. */
8823 if ac_fn_c_try_link
"$LINENO"; then :
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8825 $as_echo "yes" >&6; }
8826 X_LIBS
="$X_LIBS -R $x_libraries"
8828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8829 $as_echo "neither works" >&6; }
8831 rm -f core conftest.err conftest.
$ac_objext \
8832 conftest
$ac_exeext conftest.
$ac_ext
8834 rm -f core conftest.err conftest.
$ac_objext \
8835 conftest
$ac_exeext conftest.
$ac_ext
8836 ac_c_werror_flag
=$ac_xsave_c_werror_flag
8840 # Check for system-dependent libraries X programs must link with.
8841 # Do this before checking for the system-independent R6 libraries
8842 # (-lICE), since we may need -lsocket or whatever for X linking.
8844 if test "$ISC" = yes; then
8845 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
8847 # Martyn Johnson says this is needed for Ultrix, if the X
8848 # libraries were built with DECnet support. And Karl Berry says
8849 # the Alpha needs dnet_stub (dnet does not exist).
8850 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
8851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8852 /* end confdefs.h. */
8854 /* Override any GCC internal prototype to avoid an error.
8855 Use char because int might match the return type of a GCC
8856 builtin and then its argument prototype would still apply. */
8860 char XOpenDisplay ();
8864 return XOpenDisplay ();
8869 if ac_fn_c_try_link
"$LINENO"; then :
8872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8873 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8874 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
8875 $as_echo_n "(cached) " >&6
8877 ac_check_lib_save_LIBS
=$LIBS
8879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8880 /* end confdefs.h. */
8882 /* Override any GCC internal prototype to avoid an error.
8883 Use char because int might match the return type of a GCC
8884 builtin and then its argument prototype would still apply. */
8892 return dnet_ntoa ();
8897 if ac_fn_c_try_link
"$LINENO"; then :
8898 ac_cv_lib_dnet_dnet_ntoa
=yes
8900 ac_cv_lib_dnet_dnet_ntoa
=no
8902 rm -f core conftest.err conftest.
$ac_objext \
8903 conftest
$ac_exeext conftest.
$ac_ext
8904 LIBS
=$ac_check_lib_save_LIBS
8906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8907 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8908 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
8909 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8912 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8914 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8915 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
8916 $as_echo_n "(cached) " >&6
8918 ac_check_lib_save_LIBS
=$LIBS
8919 LIBS
="-ldnet_stub $LIBS"
8920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8921 /* end confdefs.h. */
8923 /* Override any GCC internal prototype to avoid an error.
8924 Use char because int might match the return type of a GCC
8925 builtin and then its argument prototype would still apply. */
8933 return dnet_ntoa ();
8938 if ac_fn_c_try_link
"$LINENO"; then :
8939 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
8941 ac_cv_lib_dnet_stub_dnet_ntoa
=no
8943 rm -f core conftest.err conftest.
$ac_objext \
8944 conftest
$ac_exeext conftest.
$ac_ext
8945 LIBS
=$ac_check_lib_save_LIBS
8947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8948 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8949 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
8950 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
8955 rm -f core conftest.err conftest.
$ac_objext \
8956 conftest
$ac_exeext conftest.
$ac_ext
8957 LIBS
="$ac_xsave_LIBS"
8959 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8960 # to get the SysV transport functions.
8961 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8963 # The nsl library prevents programs from opening the X display
8964 # on Irix 5.2, according to T.E. Dickey.
8965 # The functions gethostbyname, getservbyname, and inet_addr are
8966 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8967 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8968 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
8972 if test $ac_cv_func_gethostbyname = no
; then
8973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8974 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8975 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
8976 $as_echo_n "(cached) " >&6
8978 ac_check_lib_save_LIBS
=$LIBS
8980 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8981 /* end confdefs.h. */
8983 /* Override any GCC internal prototype to avoid an error.
8984 Use char because int might match the return type of a GCC
8985 builtin and then its argument prototype would still apply. */
8989 char gethostbyname ();
8993 return gethostbyname ();
8998 if ac_fn_c_try_link
"$LINENO"; then :
8999 ac_cv_lib_nsl_gethostbyname
=yes
9001 ac_cv_lib_nsl_gethostbyname
=no
9003 rm -f core conftest.err conftest.
$ac_objext \
9004 conftest
$ac_exeext conftest.
$ac_ext
9005 LIBS
=$ac_check_lib_save_LIBS
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9008 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9009 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9010 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9013 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9015 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9016 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9017 $as_echo_n "(cached) " >&6
9019 ac_check_lib_save_LIBS
=$LIBS
9021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9022 /* end confdefs.h. */
9024 /* Override any GCC internal prototype to avoid an error.
9025 Use char because int might match the return type of a GCC
9026 builtin and then its argument prototype would still apply. */
9030 char gethostbyname ();
9034 return gethostbyname ();
9039 if ac_fn_c_try_link
"$LINENO"; then :
9040 ac_cv_lib_bsd_gethostbyname
=yes
9042 ac_cv_lib_bsd_gethostbyname
=no
9044 rm -f core conftest.err conftest.
$ac_objext \
9045 conftest
$ac_exeext conftest.
$ac_ext
9046 LIBS
=$ac_check_lib_save_LIBS
9048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9049 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9050 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9051 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9057 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9058 # socket/setsockopt and other routines are undefined under SCO ODT
9059 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9060 # on later versions), says Simon Leinen: it contains gethostby*
9061 # variants that don't use the name server (or something). -lsocket
9062 # must be given before -lnsl if both are needed. We assume that
9063 # if connect needs -lnsl, so does gethostbyname.
9064 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9065 if test "x$ac_cv_func_connect" = xyes
; then :
9069 if test $ac_cv_func_connect = no
; then
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9071 $as_echo_n "checking for connect in -lsocket... " >&6; }
9072 if ${ac_cv_lib_socket_connect+:} false
; then :
9073 $as_echo_n "(cached) " >&6
9075 ac_check_lib_save_LIBS
=$LIBS
9076 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9078 /* end confdefs.h. */
9080 /* Override any GCC internal prototype to avoid an error.
9081 Use char because int might match the return type of a GCC
9082 builtin and then its argument prototype would still apply. */
9095 if ac_fn_c_try_link
"$LINENO"; then :
9096 ac_cv_lib_socket_connect
=yes
9098 ac_cv_lib_socket_connect
=no
9100 rm -f core conftest.err conftest.
$ac_objext \
9101 conftest
$ac_exeext conftest.
$ac_ext
9102 LIBS
=$ac_check_lib_save_LIBS
9104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9105 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9106 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9107 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9112 # Guillermo Gomez says -lposix is necessary on A/UX.
9113 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9114 if test "x$ac_cv_func_remove" = xyes
; then :
9118 if test $ac_cv_func_remove = no
; then
9119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9120 $as_echo_n "checking for remove in -lposix... " >&6; }
9121 if ${ac_cv_lib_posix_remove+:} false
; then :
9122 $as_echo_n "(cached) " >&6
9124 ac_check_lib_save_LIBS
=$LIBS
9125 LIBS
="-lposix $LIBS"
9126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9127 /* end confdefs.h. */
9129 /* Override any GCC internal prototype to avoid an error.
9130 Use char because int might match the return type of a GCC
9131 builtin and then its argument prototype would still apply. */
9144 if ac_fn_c_try_link
"$LINENO"; then :
9145 ac_cv_lib_posix_remove
=yes
9147 ac_cv_lib_posix_remove
=no
9149 rm -f core conftest.err conftest.
$ac_objext \
9150 conftest
$ac_exeext conftest.
$ac_ext
9151 LIBS
=$ac_check_lib_save_LIBS
9153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9154 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9155 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9156 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9161 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9162 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9163 if test "x$ac_cv_func_shmat" = xyes
; then :
9167 if test $ac_cv_func_shmat = no
; then
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9169 $as_echo_n "checking for shmat in -lipc... " >&6; }
9170 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9171 $as_echo_n "(cached) " >&6
9173 ac_check_lib_save_LIBS
=$LIBS
9175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9176 /* end confdefs.h. */
9178 /* Override any GCC internal prototype to avoid an error.
9179 Use char because int might match the return type of a GCC
9180 builtin and then its argument prototype would still apply. */
9193 if ac_fn_c_try_link
"$LINENO"; then :
9194 ac_cv_lib_ipc_shmat
=yes
9196 ac_cv_lib_ipc_shmat
=no
9198 rm -f core conftest.err conftest.
$ac_objext \
9199 conftest
$ac_exeext conftest.
$ac_ext
9200 LIBS
=$ac_check_lib_save_LIBS
9202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9203 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9204 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9205 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9211 # Check for libraries that X11R6 Xt/Xaw programs need.
9212 ac_save_LDFLAGS
=$LDFLAGS
9213 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9214 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9215 # check for ICE first), but we must link in the order -lSM -lICE or
9216 # we get undefined symbols. So assume we have SM if we have ICE.
9217 # These have to be linked with before -lX11, unlike the other
9218 # libraries we check for below, so use a different variable.
9219 # John Interrante, Karl Berry
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9221 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9222 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9223 $as_echo_n "(cached) " >&6
9225 ac_check_lib_save_LIBS
=$LIBS
9226 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9228 /* end confdefs.h. */
9230 /* Override any GCC internal prototype to avoid an error.
9231 Use char because int might match the return type of a GCC
9232 builtin and then its argument prototype would still apply. */
9236 char IceConnectionNumber ();
9240 return IceConnectionNumber ();
9245 if ac_fn_c_try_link
"$LINENO"; then :
9246 ac_cv_lib_ICE_IceConnectionNumber
=yes
9248 ac_cv_lib_ICE_IceConnectionNumber
=no
9250 rm -f core conftest.err conftest.
$ac_objext \
9251 conftest
$ac_exeext conftest.
$ac_ext
9252 LIBS
=$ac_check_lib_save_LIBS
9254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9255 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9256 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9257 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9260 LDFLAGS
=$ac_save_LDFLAGS
9265 if test "$have_x" = "yes"
9267 ac_save_CPPFLAGS
="$CPPFLAGS"
9268 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9271 $as_echo_n "checking for -lX11... " >&6; }
9272 if ${ac_cv_lib_soname_X11+:} false
; then :
9273 $as_echo_n "(cached) " >&6
9275 ac_check_soname_save_LIBS
=$LIBS
9276 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9278 /* end confdefs.h. */
9280 /* Override any GCC internal prototype to avoid an error.
9281 Use char because int might match the return type of a GCC
9282 builtin and then its argument prototype would still apply. */
9286 char XCreateWindow ();
9290 return XCreateWindow ();
9295 if ac_fn_c_try_link
"$LINENO"; then :
9297 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9298 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'` ;;
9299 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9300 if ${ac_cv_lib_soname_X11:+false} :; then :
9301 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9305 rm -f core conftest.err conftest.
$ac_objext \
9306 conftest
$ac_exeext conftest.
$ac_ext
9307 LIBS
=$ac_check_soname_save_LIBS
9309 if ${ac_cv_lib_soname_X11:+false} :; then :
9310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9311 $as_echo "not found" >&6; }
9314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9315 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9317 cat >>confdefs.h
<<_ACEOF
9318 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9324 $as_echo_n "checking for -lXext... " >&6; }
9325 if ${ac_cv_lib_soname_Xext+:} false
; then :
9326 $as_echo_n "(cached) " >&6
9328 ac_check_soname_save_LIBS
=$LIBS
9329 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9331 /* end confdefs.h. */
9333 /* Override any GCC internal prototype to avoid an error.
9334 Use char because int might match the return type of a GCC
9335 builtin and then its argument prototype would still apply. */
9339 char XextCreateExtension ();
9343 return XextCreateExtension ();
9348 if ac_fn_c_try_link
"$LINENO"; then :
9350 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9351 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'` ;;
9352 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9353 if ${ac_cv_lib_soname_Xext:+false} :; then :
9354 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9358 rm -f core conftest.err conftest.
$ac_objext \
9359 conftest
$ac_exeext conftest.
$ac_ext
9360 LIBS
=$ac_check_soname_save_LIBS
9362 if ${ac_cv_lib_soname_Xext:+false} :; then :
9363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9364 $as_echo "not found" >&6; }
9367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9368 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9370 cat >>confdefs.h
<<_ACEOF
9371 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9374 X_LIBS
="$X_LIBS -lXext"
9376 X_LIBS
="$X_LIBS -lX11"
9378 for ac_header
in X11
/Xlib.h \
9381 X11
/Xcursor
/Xcursor.h \
9382 X11
/extensions
/shape.h \
9383 X11
/extensions
/XInput.h \
9384 X11
/extensions
/XInput2.h \
9385 X11
/extensions
/XShm.h \
9386 X11
/extensions
/Xcomposite.h \
9387 X11
/extensions
/Xinerama.h \
9388 X11
/extensions
/Xrandr.h \
9389 X11
/extensions
/Xrender.h \
9390 X11
/extensions
/xf86vmode.h \
9391 X11
/extensions
/xf86vmproto.h
9393 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9394 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9395 # include <X11/Xlib.h>
9397 #ifdef HAVE_X11_XUTIL_H
9398 # include <X11/Xutil.h>
9401 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9402 cat >>confdefs.h
<<_ACEOF
9403 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9411 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9414 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9415 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9416 $as_echo_n "(cached) " >&6
9418 ac_check_lib_save_LIBS
=$LIBS
9419 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9420 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9421 /* end confdefs.h. */
9423 /* Override any GCC internal prototype to avoid an error.
9424 Use char because int might match the return type of a GCC
9425 builtin and then its argument prototype would still apply. */
9429 char XkbQueryExtension ();
9433 return XkbQueryExtension ();
9438 if ac_fn_c_try_link
"$LINENO"; then :
9439 ac_cv_lib_X11_XkbQueryExtension
=yes
9441 ac_cv_lib_X11_XkbQueryExtension
=no
9443 rm -f core conftest.err conftest.
$ac_objext \
9444 conftest
$ac_exeext conftest.
$ac_ext
9445 LIBS
=$ac_check_lib_save_LIBS
9447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9448 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9449 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9451 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9457 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9460 $as_echo_n "checking for -lXcursor... " >&6; }
9461 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9462 $as_echo_n "(cached) " >&6
9464 ac_check_soname_save_LIBS
=$LIBS
9465 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9466 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9467 /* end confdefs.h. */
9469 /* Override any GCC internal prototype to avoid an error.
9470 Use char because int might match the return type of a GCC
9471 builtin and then its argument prototype would still apply. */
9475 char XcursorImageLoadCursor ();
9479 return XcursorImageLoadCursor ();
9484 if ac_fn_c_try_link
"$LINENO"; then :
9486 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9487 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'` ;;
9488 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9489 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9490 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9494 rm -f core conftest.err conftest.
$ac_objext \
9495 conftest
$ac_exeext conftest.
$ac_ext
9496 LIBS
=$ac_check_soname_save_LIBS
9498 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9500 $as_echo "not found" >&6; }
9503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9504 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9506 cat >>confdefs.h
<<_ACEOF
9507 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9513 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9514 case "x$with_xcursor" in
9515 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9517 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9518 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9522 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9525 $as_echo_n "checking for -lXi... " >&6; }
9526 if ${ac_cv_lib_soname_Xi+:} false
; then :
9527 $as_echo_n "(cached) " >&6
9529 ac_check_soname_save_LIBS
=$LIBS
9530 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9531 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9532 /* end confdefs.h. */
9534 /* Override any GCC internal prototype to avoid an error.
9535 Use char because int might match the return type of a GCC
9536 builtin and then its argument prototype would still apply. */
9540 char XOpenDevice ();
9544 return XOpenDevice ();
9549 if ac_fn_c_try_link
"$LINENO"; then :
9551 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9552 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'` ;;
9553 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9554 if ${ac_cv_lib_soname_Xi:+false} :; then :
9555 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9559 rm -f core conftest.err conftest.
$ac_objext \
9560 conftest
$ac_exeext conftest.
$ac_ext
9561 LIBS
=$ac_check_soname_save_LIBS
9563 if ${ac_cv_lib_soname_Xi:+false} :; then :
9564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9565 $as_echo "not found" >&6; }
9568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9569 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9571 cat >>confdefs.h
<<_ACEOF
9572 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9578 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9579 case "x$with_xinput" in
9580 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9582 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9583 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9587 if test "x$ac_cv_lib_soname_Xi" != x
9589 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9590 case "x$with_xinput2" in
9591 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9593 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9594 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9599 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9602 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9603 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9604 $as_echo_n "(cached) " >&6
9606 ac_check_lib_save_LIBS
=$LIBS
9607 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9609 /* end confdefs.h. */
9611 /* Override any GCC internal prototype to avoid an error.
9612 Use char because int might match the return type of a GCC
9613 builtin and then its argument prototype would still apply. */
9617 char XShmQueryExtension ();
9621 return XShmQueryExtension ();
9626 if ac_fn_c_try_link
"$LINENO"; then :
9627 ac_cv_lib_Xext_XShmQueryExtension
=yes
9629 ac_cv_lib_Xext_XShmQueryExtension
=no
9631 rm -f core conftest.err conftest.
$ac_objext \
9632 conftest
$ac_exeext conftest.
$ac_ext
9633 LIBS
=$ac_check_lib_save_LIBS
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9636 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9637 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9639 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9644 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9645 case "x$with_xshm" in
9646 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9648 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9649 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9653 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9656 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9657 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9658 $as_echo_n "(cached) " >&6
9660 ac_check_lib_save_LIBS
=$LIBS
9661 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9663 /* end confdefs.h. */
9665 /* Override any GCC internal prototype to avoid an error.
9666 Use char because int might match the return type of a GCC
9667 builtin and then its argument prototype would still apply. */
9671 char XShapeQueryExtension ();
9675 return XShapeQueryExtension ();
9680 if ac_fn_c_try_link
"$LINENO"; then :
9681 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9683 ac_cv_lib_Xext_XShapeQueryExtension
=no
9685 rm -f core conftest.err conftest.
$ac_objext \
9686 conftest
$ac_exeext conftest.
$ac_ext
9687 LIBS
=$ac_check_lib_save_LIBS
9689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9690 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9691 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9693 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9698 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9699 case "x$with_xshape" in
9700 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9702 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9703 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9707 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9710 $as_echo_n "checking for -lXxf86vm... " >&6; }
9711 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9712 $as_echo_n "(cached) " >&6
9714 ac_check_soname_save_LIBS
=$LIBS
9715 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9717 /* end confdefs.h. */
9719 /* Override any GCC internal prototype to avoid an error.
9720 Use char because int might match the return type of a GCC
9721 builtin and then its argument prototype would still apply. */
9725 char XF86VidModeQueryExtension ();
9729 return XF86VidModeQueryExtension ();
9734 if ac_fn_c_try_link
"$LINENO"; then :
9736 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9737 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'` ;;
9738 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9739 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9740 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9744 rm -f core conftest.err conftest.
$ac_objext \
9745 conftest
$ac_exeext conftest.
$ac_ext
9746 LIBS
=$ac_check_soname_save_LIBS
9748 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9750 $as_echo "not found" >&6; }
9753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9754 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9756 cat >>confdefs.h
<<_ACEOF
9757 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9763 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9764 case "x$with_xxf86vm" in
9765 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9767 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9768 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9772 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"
9774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9775 $as_echo_n "checking for -lXrender... " >&6; }
9776 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9777 $as_echo_n "(cached) " >&6
9779 ac_check_soname_save_LIBS
=$LIBS
9780 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9782 /* end confdefs.h. */
9784 /* Override any GCC internal prototype to avoid an error.
9785 Use char because int might match the return type of a GCC
9786 builtin and then its argument prototype would still apply. */
9790 char XRenderQueryExtension ();
9794 return XRenderQueryExtension ();
9799 if ac_fn_c_try_link
"$LINENO"; then :
9801 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9802 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'` ;;
9803 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9804 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9805 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9809 rm -f core conftest.err conftest.
$ac_objext \
9810 conftest
$ac_exeext conftest.
$ac_ext
9811 LIBS
=$ac_check_soname_save_LIBS
9813 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9815 $as_echo "not found" >&6; }
9818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9819 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9821 cat >>confdefs.h
<<_ACEOF
9822 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9826 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9827 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
9828 $as_echo_n "(cached) " >&6
9830 ac_check_lib_save_LIBS
=$LIBS
9831 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9833 /* end confdefs.h. */
9835 /* Override any GCC internal prototype to avoid an error.
9836 Use char because int might match the return type of a GCC
9837 builtin and then its argument prototype would still apply. */
9841 char XRenderSetPictureTransform ();
9845 return XRenderSetPictureTransform ();
9850 if ac_fn_c_try_link
"$LINENO"; then :
9851 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9853 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9855 rm -f core conftest.err conftest.
$ac_objext \
9856 conftest
$ac_exeext conftest.
$ac_ext
9857 LIBS
=$ac_check_lib_save_LIBS
9859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9860 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9861 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
9863 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9868 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9869 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
9870 $as_echo_n "(cached) " >&6
9872 ac_check_lib_save_LIBS
=$LIBS
9873 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9875 /* end confdefs.h. */
9877 /* Override any GCC internal prototype to avoid an error.
9878 Use char because int might match the return type of a GCC
9879 builtin and then its argument prototype would still apply. */
9883 char XRenderCreateLinearGradient ();
9887 return XRenderCreateLinearGradient ();
9892 if ac_fn_c_try_link
"$LINENO"; then :
9893 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
9895 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
9897 rm -f core conftest.err conftest.
$ac_objext \
9898 conftest
$ac_exeext conftest.
$ac_ext
9899 LIBS
=$ac_check_lib_save_LIBS
9901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9902 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9903 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
9905 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9912 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9913 case "x$with_xrender" in
9914 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9916 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
9917 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9921 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9923 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9924 /* end confdefs.h. */
9925 #include <X11/Xlib.h>
9926 #include <X11/extensions/Xrandr.h>
9930 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9935 if ac_fn_c_try_compile
"$LINENO"; then :
9936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9937 $as_echo_n "checking for -lXrandr... " >&6; }
9938 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
9939 $as_echo_n "(cached) " >&6
9941 ac_check_soname_save_LIBS
=$LIBS
9942 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
9943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9944 /* end confdefs.h. */
9946 /* Override any GCC internal prototype to avoid an error.
9947 Use char because int might match the return type of a GCC
9948 builtin and then its argument prototype would still apply. */
9952 char XRRQueryExtension ();
9956 return XRRQueryExtension ();
9961 if ac_fn_c_try_link
"$LINENO"; then :
9963 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9964 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'` ;;
9965 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9966 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9967 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9971 rm -f core conftest.err conftest.
$ac_objext \
9972 conftest
$ac_exeext conftest.
$ac_ext
9973 LIBS
=$ac_check_soname_save_LIBS
9975 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9977 $as_echo "not found" >&6; }
9980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
9981 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
9983 cat >>confdefs.h
<<_ACEOF
9984 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
9987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9988 /* end confdefs.h. */
9989 #include <X11/Xlib.h>
9990 #include <X11/extensions/Xrandr.h>
9994 static typeof(XRRGetScreenResources) *f; if (f) return 0;
9999 if ac_fn_c_try_compile
"$LINENO"; then :
10001 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10004 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10007 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10009 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10010 case "x$with_xrandr" in
10011 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10013 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10014 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10018 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10021 /* end confdefs.h. */
10022 #include <X11/Xlib.h>
10023 #include <X11/extensions/Xinerama.h>
10027 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10032 if ac_fn_c_try_compile
"$LINENO"; then :
10033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10034 $as_echo_n "checking for -lXinerama... " >&6; }
10035 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10036 $as_echo_n "(cached) " >&6
10038 ac_check_soname_save_LIBS
=$LIBS
10039 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10041 /* end confdefs.h. */
10043 /* Override any GCC internal prototype to avoid an error.
10044 Use char because int might match the return type of a GCC
10045 builtin and then its argument prototype would still apply. */
10049 char XineramaQueryScreens ();
10053 return XineramaQueryScreens ();
10058 if ac_fn_c_try_link
"$LINENO"; then :
10060 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10061 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'` ;;
10062 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10063 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10064 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10068 rm -f core conftest.err conftest.
$ac_objext \
10069 conftest
$ac_exeext conftest.
$ac_ext
10070 LIBS
=$ac_check_soname_save_LIBS
10072 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10074 $as_echo "not found" >&6; }
10077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10078 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10080 cat >>confdefs.h
<<_ACEOF
10081 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10087 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10089 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10090 case "x$with_xinerama" in
10091 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10093 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10094 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10098 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10101 $as_echo_n "checking for -lXcomposite... " >&6; }
10102 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10103 $as_echo_n "(cached) " >&6
10105 ac_check_soname_save_LIBS
=$LIBS
10106 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10108 /* end confdefs.h. */
10110 /* Override any GCC internal prototype to avoid an error.
10111 Use char because int might match the return type of a GCC
10112 builtin and then its argument prototype would still apply. */
10116 char XCompositeRedirectWindow ();
10120 return XCompositeRedirectWindow ();
10125 if ac_fn_c_try_link
"$LINENO"; then :
10127 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10128 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'` ;;
10129 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10130 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10131 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10135 rm -f core conftest.err conftest.
$ac_objext \
10136 conftest
$ac_exeext conftest.
$ac_ext
10137 LIBS
=$ac_check_soname_save_LIBS
10139 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10141 $as_echo "not found" >&6; }
10144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10145 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10147 cat >>confdefs.h
<<_ACEOF
10148 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10154 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10155 case "x$with_xcomposite" in
10156 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10158 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10159 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10163 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10164 #include <X11/Xlib.h>
10167 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10169 cat >>confdefs.h
<<_ACEOF
10170 #define HAVE_XICCALLBACK_CALLBACK 1
10175 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10176 #include <X11/Xlib.h>
10179 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10181 cat >>confdefs.h
<<_ACEOF
10182 #define HAVE_XEVENT_XCOOKIE 1
10191 if test "x$with_opengl" != "xno"
10193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10194 $as_echo_n "checking for -lGL... " >&6; }
10195 if ${ac_cv_lib_soname_GL+:} false
; then :
10196 $as_echo_n "(cached) " >&6
10198 ac_check_soname_save_LIBS
=$LIBS
10199 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10201 /* end confdefs.h. */
10203 /* Override any GCC internal prototype to avoid an error.
10204 Use char because int might match the return type of a GCC
10205 builtin and then its argument prototype would still apply. */
10209 char glXCreateContext ();
10213 return glXCreateContext ();
10218 if ac_fn_c_try_link
"$LINENO"; then :
10220 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10221 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'` ;;
10222 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10223 if ${ac_cv_lib_soname_GL:+false} :; then :
10224 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10228 rm -f core conftest.err conftest.
$ac_objext \
10229 conftest
$ac_exeext conftest.
$ac_ext
10230 LIBS
=$ac_check_soname_save_LIBS
10232 if ${ac_cv_lib_soname_GL:+false} :; then :
10233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10234 $as_echo "not found" >&6; }
10235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10236 $as_echo_n "checking for -lGL... " >&6; }
10237 if ${ac_cv_lib_soname_GL+:} false
; then :
10238 $as_echo_n "(cached) " >&6
10240 ac_check_soname_save_LIBS
=$LIBS
10241 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"
10242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10243 /* end confdefs.h. */
10245 /* Override any GCC internal prototype to avoid an error.
10246 Use char because int might match the return type of a GCC
10247 builtin and then its argument prototype would still apply. */
10251 char glXCreateContext ();
10255 return glXCreateContext ();
10260 if ac_fn_c_try_link
"$LINENO"; then :
10262 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10263 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'` ;;
10264 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10265 if ${ac_cv_lib_soname_GL:+false} :; then :
10266 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10270 rm -f core conftest.err conftest.
$ac_objext \
10271 conftest
$ac_exeext conftest.
$ac_ext
10272 LIBS
=$ac_check_soname_save_LIBS
10274 if ${ac_cv_lib_soname_GL:+false} :; then :
10275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10276 $as_echo "not found" >&6; }
10277 if test -f /usr
/X11R
6/lib
/libGL.a
10279 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10280 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10282 opengl_msg
="No OpenGL library found on this system."
10285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10286 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10288 cat >>confdefs.h
<<_ACEOF
10289 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10292 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"
10295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10296 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10298 cat >>confdefs.h
<<_ACEOF
10299 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10304 if test "x$with_glu" != "xno"
10306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10307 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10308 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10309 $as_echo_n "(cached) " >&6
10311 ac_check_lib_save_LIBS
=$LIBS
10312 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10314 /* end confdefs.h. */
10316 /* Override any GCC internal prototype to avoid an error.
10317 Use char because int might match the return type of a GCC
10318 builtin and then its argument prototype would still apply. */
10326 return gluLookAt ();
10331 if ac_fn_c_try_link
"$LINENO"; then :
10332 ac_cv_lib_GLU_gluLookAt
=yes
10334 ac_cv_lib_GLU_gluLookAt
=no
10336 rm -f core conftest.err conftest.
$ac_objext \
10337 conftest
$ac_exeext conftest.
$ac_ext
10338 LIBS
=$ac_check_lib_save_LIBS
10340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10341 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10342 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10346 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10347 case "x$with_glu" in
10348 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10350 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10351 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10356 if test "x$with_osmesa" != "xno"
10358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10359 $as_echo_n "checking for -lOSMesa... " >&6; }
10360 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10361 $as_echo_n "(cached) " >&6
10363 ac_check_soname_save_LIBS
=$LIBS
10364 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10366 /* end confdefs.h. */
10368 /* Override any GCC internal prototype to avoid an error.
10369 Use char because int might match the return type of a GCC
10370 builtin and then its argument prototype would still apply. */
10383 if ac_fn_c_try_link
"$LINENO"; then :
10385 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10386 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'` ;;
10387 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10388 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10389 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10393 rm -f core conftest.err conftest.
$ac_objext \
10394 conftest
$ac_exeext conftest.
$ac_ext
10395 LIBS
=$ac_check_soname_save_LIBS
10397 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10399 $as_echo "not found" >&6; }
10402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10403 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10405 cat >>confdefs.h
<<_ACEOF
10406 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10411 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10412 case "x$with_osmesa" in
10413 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10415 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10416 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10421 if test -n "$opengl_msg"; then :
10422 case "x$with_opengl" in
10423 x
) as_fn_append wine_warnings
"|$opengl_msg
10424 OpenGL and Direct3D won't be supported." ;;
10426 *) as_fn_error $?
"$opengl_msg
10427 OpenGL and Direct3D won't be supported.
10428 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10432 CPPFLAGS
="$ac_save_CPPFLAGS"
10436 enable_winex11_drv
=${enable_winex11_drv:-no}
10438 if test "x$X_LIBS" = "x"; then :
10441 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10442 without X support, which probably isn't what you want. You will need
10443 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10444 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10448 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10450 if test "$ac_cv_header_CL_cl_h" = "yes"
10452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10453 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10454 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10455 $as_echo_n "(cached) " >&6
10457 ac_check_lib_save_LIBS
=$LIBS
10458 LIBS
="-lOpenCL $LIBS"
10459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10460 /* end confdefs.h. */
10462 /* Override any GCC internal prototype to avoid an error.
10463 Use char because int might match the return type of a GCC
10464 builtin and then its argument prototype would still apply. */
10468 char clGetPlatformInfo ();
10472 return clGetPlatformInfo ();
10477 if ac_fn_c_try_link
"$LINENO"; then :
10478 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10480 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10482 rm -f core conftest.err conftest.
$ac_objext \
10483 conftest
$ac_exeext conftest.
$ac_ext
10484 LIBS
=$ac_check_lib_save_LIBS
10486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10487 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10488 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10489 OPENCL_LIBS
="-lOpenCL"
10494 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10495 case "x$with_opencl" in
10496 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10498 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10499 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10502 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10505 if test "x$with_xml" != "xno"
10507 if ${XML2_CFLAGS:+false} :; then :
10508 if ${PKG_CONFIG+:} false
; then :
10509 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10512 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10513 if ${XML2_LIBS:+false} :; then :
10514 if ${PKG_CONFIG+:} false
; then :
10515 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10518 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10519 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10520 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10521 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10522 ac_save_CPPFLAGS
=$CPPFLAGS
10523 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10524 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10526 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10527 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10528 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10529 cat >>confdefs.h
<<_ACEOF
10530 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10537 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"
10539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10540 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10541 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10542 $as_echo_n "(cached) " >&6
10544 ac_check_lib_save_LIBS
=$LIBS
10545 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10547 /* end confdefs.h. */
10549 /* Override any GCC internal prototype to avoid an error.
10550 Use char because int might match the return type of a GCC
10551 builtin and then its argument prototype would still apply. */
10555 char xmlParseMemory ();
10559 return xmlParseMemory ();
10564 if ac_fn_c_try_link
"$LINENO"; then :
10565 ac_cv_lib_xml2_xmlParseMemory
=yes
10567 ac_cv_lib_xml2_xmlParseMemory
=no
10569 rm -f core conftest.err conftest.
$ac_objext \
10570 conftest
$ac_exeext conftest.
$ac_ext
10571 LIBS
=$ac_check_lib_save_LIBS
10573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10574 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10575 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10577 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10584 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10585 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10586 $as_echo_n "(cached) " >&6
10588 ac_check_lib_save_LIBS
=$LIBS
10589 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10591 /* end confdefs.h. */
10593 /* Override any GCC internal prototype to avoid an error.
10594 Use char because int might match the return type of a GCC
10595 builtin and then its argument prototype would still apply. */
10599 char xmlReadMemory ();
10603 return xmlReadMemory ();
10608 if ac_fn_c_try_link
"$LINENO"; then :
10609 ac_cv_lib_xml2_xmlReadMemory
=yes
10611 ac_cv_lib_xml2_xmlReadMemory
=no
10613 rm -f core conftest.err conftest.
$ac_objext \
10614 conftest
$ac_exeext conftest.
$ac_ext
10615 LIBS
=$ac_check_lib_save_LIBS
10617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10618 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10619 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10621 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10626 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10627 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10628 $as_echo_n "(cached) " >&6
10630 ac_check_lib_save_LIBS
=$LIBS
10631 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10633 /* end confdefs.h. */
10635 /* Override any GCC internal prototype to avoid an error.
10636 Use char because int might match the return type of a GCC
10637 builtin and then its argument prototype would still apply. */
10641 char xmlNewDocPI ();
10645 return xmlNewDocPI ();
10650 if ac_fn_c_try_link
"$LINENO"; then :
10651 ac_cv_lib_xml2_xmlNewDocPI
=yes
10653 ac_cv_lib_xml2_xmlNewDocPI
=no
10655 rm -f core conftest.err conftest.
$ac_objext \
10656 conftest
$ac_exeext conftest.
$ac_ext
10657 LIBS
=$ac_check_lib_save_LIBS
10659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10660 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10661 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10663 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10668 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10669 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10670 $as_echo_n "(cached) " >&6
10672 ac_check_lib_save_LIBS
=$LIBS
10673 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10675 /* end confdefs.h. */
10677 /* Override any GCC internal prototype to avoid an error.
10678 Use char because int might match the return type of a GCC
10679 builtin and then its argument prototype would still apply. */
10683 char xmlSchemaSetParserStructuredErrors ();
10687 return xmlSchemaSetParserStructuredErrors ();
10692 if ac_fn_c_try_link
"$LINENO"; then :
10693 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10695 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10697 rm -f core conftest.err conftest.
$ac_objext \
10698 conftest
$ac_exeext conftest.
$ac_ext
10699 LIBS
=$ac_check_lib_save_LIBS
10701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10702 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10703 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10705 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10710 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10711 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10712 $as_echo_n "(cached) " >&6
10714 ac_check_lib_save_LIBS
=$LIBS
10715 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10717 /* end confdefs.h. */
10719 /* Override any GCC internal prototype to avoid an error.
10720 Use char because int might match the return type of a GCC
10721 builtin and then its argument prototype would still apply. */
10725 char xmlSchemaSetValidStructuredErrors ();
10729 return xmlSchemaSetValidStructuredErrors ();
10734 if ac_fn_c_try_link
"$LINENO"; then :
10735 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
10737 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
10739 rm -f core conftest.err conftest.
$ac_objext \
10740 conftest
$ac_exeext conftest.
$ac_ext
10741 LIBS
=$ac_check_lib_save_LIBS
10743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10744 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10745 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
10747 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10752 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10753 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
10754 $as_echo_n "(cached) " >&6
10756 ac_check_lib_save_LIBS
=$LIBS
10757 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10759 /* end confdefs.h. */
10761 /* Override any GCC internal prototype to avoid an error.
10762 Use char because int might match the return type of a GCC
10763 builtin and then its argument prototype would still apply. */
10767 char xmlFirstElementChild ();
10771 return xmlFirstElementChild ();
10776 if ac_fn_c_try_link
"$LINENO"; then :
10777 ac_cv_lib_xml2_xmlFirstElementChild
=yes
10779 ac_cv_lib_xml2_xmlFirstElementChild
=no
10781 rm -f core conftest.err conftest.
$ac_objext \
10782 conftest
$ac_exeext conftest.
$ac_ext
10783 LIBS
=$ac_check_lib_save_LIBS
10785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10786 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10787 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
10789 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10793 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10795 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
10797 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10805 CPPFLAGS
=$ac_save_CPPFLAGS
10806 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10807 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10810 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10811 case "x$with_xml" in
10812 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10814 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10815 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10819 if test "x$with_xslt" != "xno"
10821 if ${XSLT_CFLAGS:+false} :; then :
10822 if ${PKG_CONFIG+:} false
; then :
10823 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10826 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10827 if ${XSLT_LIBS:+false} :; then :
10828 if ${PKG_CONFIG+:} false
; then :
10829 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10832 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10833 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
10834 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10835 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10836 ac_save_CPPFLAGS
=$CPPFLAGS
10837 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
10838 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
10840 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10841 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10842 # include <libxslt/pattern.h>
10845 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10846 cat >>confdefs.h
<<_ACEOF
10847 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10854 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10857 $as_echo_n "checking for -lxslt... " >&6; }
10858 if ${ac_cv_lib_soname_xslt+:} false
; then :
10859 $as_echo_n "(cached) " >&6
10861 ac_check_soname_save_LIBS
=$LIBS
10862 LIBS
="-lxslt $XSLT_LIBS $LIBS"
10863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10864 /* end confdefs.h. */
10866 /* Override any GCC internal prototype to avoid an error.
10867 Use char because int might match the return type of a GCC
10868 builtin and then its argument prototype would still apply. */
10872 char xsltCompilePattern ();
10876 return xsltCompilePattern ();
10881 if ac_fn_c_try_link
"$LINENO"; then :
10883 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10884 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'` ;;
10885 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10886 if ${ac_cv_lib_soname_xslt:+false} :; then :
10887 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10891 rm -f core conftest.err conftest.
$ac_objext \
10892 conftest
$ac_exeext conftest.
$ac_ext
10893 LIBS
=$ac_check_soname_save_LIBS
10895 if ${ac_cv_lib_soname_xslt:+false} :; then :
10896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10897 $as_echo "not found" >&6; }
10900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10901 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10903 cat >>confdefs.h
<<_ACEOF
10904 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10912 CPPFLAGS
=$ac_save_CPPFLAGS
10913 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10914 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10917 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10918 case "x$with_xslt" in
10919 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10921 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
10922 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10926 if test "x$with_dbus" != "xno"
10928 if ${DBUS_CFLAGS:+false} :; then :
10929 if ${PKG_CONFIG+:} false
; then :
10930 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10934 if ${DBUS_LIBS:+false} :; then :
10935 if ${PKG_CONFIG+:} false
; then :
10936 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10941 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
10942 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
10943 ac_save_CPPFLAGS
=$CPPFLAGS
10944 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
10945 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10946 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
10947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10948 $as_echo_n "checking for -ldbus-1... " >&6; }
10949 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
10950 $as_echo_n "(cached) " >&6
10952 ac_check_soname_save_LIBS
=$LIBS
10953 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
10954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10955 /* end confdefs.h. */
10957 /* Override any GCC internal prototype to avoid an error.
10958 Use char because int might match the return type of a GCC
10959 builtin and then its argument prototype would still apply. */
10963 char dbus_connection_close ();
10967 return dbus_connection_close ();
10972 if ac_fn_c_try_link
"$LINENO"; then :
10974 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10975 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'` ;;
10976 *) 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'`
10977 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
10978 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10982 rm -f core conftest.err conftest.
$ac_objext \
10983 conftest
$ac_exeext conftest.
$ac_ext
10984 LIBS
=$ac_check_soname_save_LIBS
10986 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
10987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10988 $as_echo "not found" >&6; }
10991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
10992 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
10994 cat >>confdefs.h
<<_ACEOF
10995 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11005 CPPFLAGS
=$ac_save_CPPFLAGS
11006 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11007 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11010 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11011 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11012 case "x$with_dbus" in
11013 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11015 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11016 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11020 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11022 if ${HAL_CFLAGS:+false} :; then :
11023 if ${PKG_CONFIG+:} false
; then :
11024 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11028 if ${HAL_LIBS:+false} :; then :
11029 if ${PKG_CONFIG+:} false
; then :
11030 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11034 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11035 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11036 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11037 ac_save_CPPFLAGS
=$CPPFLAGS
11038 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11039 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11040 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11042 $as_echo_n "checking for -lhal... " >&6; }
11043 if ${ac_cv_lib_soname_hal+:} false
; then :
11044 $as_echo_n "(cached) " >&6
11046 ac_check_soname_save_LIBS
=$LIBS
11047 LIBS
="-lhal $HAL_LIBS $LIBS"
11048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11049 /* end confdefs.h. */
11051 /* Override any GCC internal prototype to avoid an error.
11052 Use char because int might match the return type of a GCC
11053 builtin and then its argument prototype would still apply. */
11057 char libhal_ctx_new ();
11061 return libhal_ctx_new ();
11066 if ac_fn_c_try_link
"$LINENO"; then :
11068 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11069 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'` ;;
11070 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11071 if ${ac_cv_lib_soname_hal:+false} :; then :
11072 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11076 rm -f core conftest.err conftest.
$ac_objext \
11077 conftest
$ac_exeext conftest.
$ac_ext
11078 LIBS
=$ac_check_soname_save_LIBS
11080 if ${ac_cv_lib_soname_hal:+false} :; then :
11081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11082 $as_echo "not found" >&6; }
11085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11086 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11088 cat >>confdefs.h
<<_ACEOF
11089 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11099 CPPFLAGS
=$ac_save_CPPFLAGS
11100 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11101 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11103 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11104 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11105 case "x$with_hal" in
11106 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11108 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11109 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11114 if test "x$with_gnutls" != "xno"
11116 if ${GNUTLS_CFLAGS:+false} :; then :
11117 if ${PKG_CONFIG+:} false
; then :
11118 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11122 if ${GNUTLS_LIBS:+false} :; then :
11123 if ${PKG_CONFIG+:} false
; then :
11124 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11129 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11130 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11131 ac_save_CPPFLAGS
=$CPPFLAGS
11132 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11133 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11134 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11136 /* end confdefs.h. */
11137 #include <gnutls/gnutls.h>
11138 #include <gnutls/crypto.h>
11142 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11147 if ac_fn_c_try_compile
"$LINENO"; then :
11148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11149 $as_echo_n "checking for -lgnutls... " >&6; }
11150 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11151 $as_echo_n "(cached) " >&6
11153 ac_check_soname_save_LIBS
=$LIBS
11154 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11156 /* end confdefs.h. */
11158 /* Override any GCC internal prototype to avoid an error.
11159 Use char because int might match the return type of a GCC
11160 builtin and then its argument prototype would still apply. */
11164 char gnutls_global_init ();
11168 return gnutls_global_init ();
11173 if ac_fn_c_try_link
"$LINENO"; then :
11175 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11176 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'` ;;
11177 *) ac_cv_lib_soname_gnutls
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11178 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11179 ac_cv_lib_soname_gnutls
=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11183 rm -f core conftest.err conftest.
$ac_objext \
11184 conftest
$ac_exeext conftest.
$ac_ext
11185 LIBS
=$ac_check_soname_save_LIBS
11187 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11189 $as_echo "not found" >&6; }
11192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11193 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11195 cat >>confdefs.h
<<_ACEOF
11196 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11202 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11208 CPPFLAGS
=$ac_save_CPPFLAGS
11209 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11210 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11213 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11214 case "x$with_gnutls" in
11215 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11217 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11218 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11223 if test "$ac_cv_header_ncurses_h" = "yes"
11225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11226 $as_echo_n "checking for -lncurses... " >&6; }
11227 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11228 $as_echo_n "(cached) " >&6
11230 ac_check_soname_save_LIBS
=$LIBS
11231 LIBS
="-lncurses $LIBS"
11232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11233 /* end confdefs.h. */
11235 /* Override any GCC internal prototype to avoid an error.
11236 Use char because int might match the return type of a GCC
11237 builtin and then its argument prototype would still apply. */
11250 if ac_fn_c_try_link
"$LINENO"; then :
11252 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11253 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'` ;;
11254 *) ac_cv_lib_soname_ncurses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11255 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11256 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11260 rm -f core conftest.err conftest.
$ac_objext \
11261 conftest
$ac_exeext conftest.
$ac_ext
11262 LIBS
=$ac_check_soname_save_LIBS
11264 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11266 $as_echo "not found" >&6; }
11269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11270 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11272 cat >>confdefs.h
<<_ACEOF
11273 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11276 CURSES_LIBS
="-lncurses"
11278 elif test "$ac_cv_header_curses_h" = "yes"
11280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11281 $as_echo_n "checking for -lcurses... " >&6; }
11282 if ${ac_cv_lib_soname_curses+:} false
; then :
11283 $as_echo_n "(cached) " >&6
11285 ac_check_soname_save_LIBS
=$LIBS
11286 LIBS
="-lcurses $LIBS"
11287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11288 /* end confdefs.h. */
11290 /* Override any GCC internal prototype to avoid an error.
11291 Use char because int might match the return type of a GCC
11292 builtin and then its argument prototype would still apply. */
11305 if ac_fn_c_try_link
"$LINENO"; then :
11307 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11308 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'` ;;
11309 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11310 if ${ac_cv_lib_soname_curses:+false} :; then :
11311 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11315 rm -f core conftest.err conftest.
$ac_objext \
11316 conftest
$ac_exeext conftest.
$ac_ext
11317 LIBS
=$ac_check_soname_save_LIBS
11319 if ${ac_cv_lib_soname_curses:+false} :; then :
11320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11321 $as_echo "not found" >&6; }
11324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11325 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11327 cat >>confdefs.h
<<_ACEOF
11328 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11331 CURSES_LIBS
="-lcurses"
11334 ac_save_LIBS
="$LIBS"
11335 LIBS
="$LIBS $CURSES_LIBS"
11336 for ac_func
in mousemask
11338 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11339 if test "x$ac_cv_func_mousemask" = xyes
; then :
11340 cat >>confdefs.h
<<_ACEOF
11341 #define HAVE_MOUSEMASK 1
11347 LIBS
="$ac_save_LIBS"
11348 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11349 case "x$with_curses" in
11350 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11352 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11353 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11357 if test "x$with_sane" != "xno"
11359 if ${SANE_CFLAGS:+false} :; then :
11360 if ${PKG_CONFIG+:} false
; then :
11361 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11364 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11365 if ${SANE_LIBS:+false} :; then :
11366 if ${PKG_CONFIG+:} false
; then :
11367 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11370 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11372 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11373 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11374 ac_save_CPPFLAGS
=$CPPFLAGS
11375 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11376 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11377 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11379 $as_echo_n "checking for -lsane... " >&6; }
11380 if ${ac_cv_lib_soname_sane+:} false
; then :
11381 $as_echo_n "(cached) " >&6
11383 ac_check_soname_save_LIBS
=$LIBS
11384 LIBS
="-lsane $SANE_LIBS $LIBS"
11385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11386 /* end confdefs.h. */
11388 /* Override any GCC internal prototype to avoid an error.
11389 Use char because int might match the return type of a GCC
11390 builtin and then its argument prototype would still apply. */
11398 return sane_init ();
11403 if ac_fn_c_try_link
"$LINENO"; then :
11405 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11406 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'` ;;
11407 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11408 if ${ac_cv_lib_soname_sane:+false} :; then :
11409 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11413 rm -f core conftest.err conftest.
$ac_objext \
11414 conftest
$ac_exeext conftest.
$ac_ext
11415 LIBS
=$ac_check_soname_save_LIBS
11417 if ${ac_cv_lib_soname_sane:+false} :; then :
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11419 $as_echo "not found" >&6; }
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11423 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11425 cat >>confdefs.h
<<_ACEOF
11426 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11436 CPPFLAGS
=$ac_save_CPPFLAGS
11437 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11438 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11441 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11442 case "x$with_sane" in
11443 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11445 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11446 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11450 if test "x$with_v4l" != "xno"
11452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11453 $as_echo_n "checking for -lv4l1... " >&6; }
11454 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11455 $as_echo_n "(cached) " >&6
11457 ac_check_soname_save_LIBS
=$LIBS
11458 LIBS
="-lv4l1 $LIBS"
11459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11460 /* end confdefs.h. */
11462 /* Override any GCC internal prototype to avoid an error.
11463 Use char because int might match the return type of a GCC
11464 builtin and then its argument prototype would still apply. */
11472 return v4l1_open ();
11477 if ac_fn_c_try_link
"$LINENO"; then :
11479 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11480 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'` ;;
11481 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11482 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11483 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11487 rm -f core conftest.err conftest.
$ac_objext \
11488 conftest
$ac_exeext conftest.
$ac_ext
11489 LIBS
=$ac_check_soname_save_LIBS
11491 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11493 $as_echo "not found" >&6; }
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11497 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11499 cat >>confdefs.h
<<_ACEOF
11500 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11506 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11507 case "x$with_v4l" in
11508 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11510 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11511 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11515 if test "x$with_gphoto" != "xno"
11517 if ${GPHOTO2_CFLAGS:+false} :; then :
11518 if ${PKG_CONFIG+:} false
; then :
11519 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11522 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11523 if ${GPHOTO2_LIBS:+false} :; then :
11524 if ${PKG_CONFIG+:} false
; then :
11525 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11528 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11529 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11530 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11531 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11532 ac_save_CPPFLAGS
=$CPPFLAGS
11533 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11534 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11535 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11537 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11538 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11539 $as_echo_n "(cached) " >&6
11541 ac_check_lib_save_LIBS
=$LIBS
11542 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11544 /* end confdefs.h. */
11546 /* Override any GCC internal prototype to avoid an error.
11547 Use char because int might match the return type of a GCC
11548 builtin and then its argument prototype would still apply. */
11552 char gp_camera_new ();
11556 return gp_camera_new ();
11561 if ac_fn_c_try_link
"$LINENO"; then :
11562 ac_cv_lib_gphoto2_gp_camera_new
=yes
11564 ac_cv_lib_gphoto2_gp_camera_new
=no
11566 rm -f core conftest.err conftest.
$ac_objext \
11567 conftest
$ac_exeext conftest.
$ac_ext
11568 LIBS
=$ac_check_lib_save_LIBS
11570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11571 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11572 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11574 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11577 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11581 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11585 CPPFLAGS
=$ac_save_CPPFLAGS
11586 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11587 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11589 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11590 if ${PKG_CONFIG+:} false
; then :
11591 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11594 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11595 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11596 if ${PKG_CONFIG+:} false
; then :
11597 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11600 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11601 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11602 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11603 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11604 ac_save_CPPFLAGS
=$CPPFLAGS
11605 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11606 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11607 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11609 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11610 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11611 $as_echo_n "(cached) " >&6
11613 ac_check_lib_save_LIBS
=$LIBS
11614 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11616 /* end confdefs.h. */
11618 /* Override any GCC internal prototype to avoid an error.
11619 Use char because int might match the return type of a GCC
11620 builtin and then its argument prototype would still apply. */
11624 char gp_port_info_list_new ();
11628 return gp_port_info_list_new ();
11633 if ac_fn_c_try_link
"$LINENO"; then :
11634 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11636 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11638 rm -f core conftest.err conftest.
$ac_objext \
11639 conftest
$ac_exeext conftest.
$ac_ext
11640 LIBS
=$ac_check_lib_save_LIBS
11642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11643 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11644 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11646 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11649 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11653 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11657 CPPFLAGS
=$ac_save_CPPFLAGS
11658 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11659 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11662 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11663 case "x$with_gphoto" in
11664 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11666 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11667 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11670 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11671 case "x$with_gphoto" in
11672 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11674 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11675 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11680 if test "$ac_cv_header_resolv_h" = "yes"
11682 ac_save_LIBS
="$LIBS"
11683 for lib
in '' -lresolv
11685 LIBS
="$lib $ac_save_LIBS"
11686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11687 /* end confdefs.h. */
11688 #ifdef HAVE_NETINET_IN_H
11689 #include <netinet/in.h>
11691 #include <resolv.h>
11695 res_query("foo",ns_c_in,0,0,0);
11700 if ac_fn_c_try_link
"$LINENO"; then :
11702 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11707 rm -f core conftest.err conftest.
$ac_objext \
11708 conftest
$ac_exeext conftest.
$ac_ext
11709 if test "${RESOLV_LIBS+set}" = set; then
11713 LIBS
="$ac_save_LIBS"
11716 if test "x$with_lcms2" != "xno"
11718 if ${LCMS2_CFLAGS:+false} :; then :
11719 if ${PKG_CONFIG+:} false
; then :
11720 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11724 if ${LCMS2_LIBS:+false} :; then :
11725 if ${PKG_CONFIG+:} false
; then :
11726 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11730 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
11731 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11732 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11733 ac_save_CPPFLAGS
=$CPPFLAGS
11734 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
11735 for ac_header
in lcms2.h
11737 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11738 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
11739 cat >>confdefs.h
<<_ACEOF
11740 #define HAVE_LCMS2_H 1
11747 if test "$ac_cv_header_lcms2_h" = "yes"
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11750 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11751 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
11752 $as_echo_n "(cached) " >&6
11754 ac_check_lib_save_LIBS
=$LIBS
11755 LIBS
="-llcms2 $LIBS"
11756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11757 /* end confdefs.h. */
11759 /* Override any GCC internal prototype to avoid an error.
11760 Use char because int might match the return type of a GCC
11761 builtin and then its argument prototype would still apply. */
11765 char cmsOpenProfileFromFile ();
11769 return cmsOpenProfileFromFile ();
11774 if ac_fn_c_try_link
"$LINENO"; then :
11775 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
11777 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
11779 rm -f core conftest.err conftest.
$ac_objext \
11780 conftest
$ac_exeext conftest.
$ac_ext
11781 LIBS
=$ac_check_lib_save_LIBS
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11784 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11785 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
11787 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11797 CPPFLAGS
=$ac_save_CPPFLAGS
11798 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11799 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11802 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11803 case "x$with_cms" in
11804 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11806 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11807 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11811 if test "x$with_freetype" != "xno"
11813 if ${FREETYPE_CFLAGS:+false} :; then :
11814 if ${PKG_CONFIG+:} false
; then :
11815 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11818 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11819 if ${FREETYPE_LIBS:+false} :; then :
11820 if ${PKG_CONFIG+:} false
; then :
11821 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11824 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11825 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
11826 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11827 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11828 ac_save_CPPFLAGS
=$CPPFLAGS
11829 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
11830 for ac_header
in ft2build.h
11832 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11833 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
11834 cat >>confdefs.h
<<_ACEOF
11835 #define HAVE_FT2BUILD_H 1
11842 if test "$ac_cv_header_ft2build_h" = "yes"
11844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11845 $as_echo_n "checking for -lfreetype... " >&6; }
11846 if ${ac_cv_lib_soname_freetype+:} false
; then :
11847 $as_echo_n "(cached) " >&6
11849 ac_check_soname_save_LIBS
=$LIBS
11850 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
11851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11852 /* end confdefs.h. */
11854 /* Override any GCC internal prototype to avoid an error.
11855 Use char because int might match the return type of a GCC
11856 builtin and then its argument prototype would still apply. */
11860 char FT_Init_FreeType ();
11864 return FT_Init_FreeType ();
11869 if ac_fn_c_try_link
"$LINENO"; then :
11871 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11872 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'` ;;
11873 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11874 if ${ac_cv_lib_soname_freetype:+false} :; then :
11875 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11879 rm -f core conftest.err conftest.
$ac_objext \
11880 conftest
$ac_exeext conftest.
$ac_ext
11881 LIBS
=$ac_check_soname_save_LIBS
11883 if ${ac_cv_lib_soname_freetype:+false} :; then :
11884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11885 $as_echo "not found" >&6; }
11888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11889 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11891 cat >>confdefs.h
<<_ACEOF
11892 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11896 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11898 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
11899 #include FT_MODULE_H
11901 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
11903 cat >>confdefs.h
<<_ACEOF
11904 #define HAVE_FT_TRUETYPEENGINETYPE 1
11915 CPPFLAGS
=$ac_save_CPPFLAGS
11916 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11917 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11920 if test "x$ac_cv_lib_soname_freetype" = x
; then :
11921 case "x$with_freetype" in
11923 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
11924 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
11927 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
11929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
11930 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
11931 if ${ac_cv_c_ppdev+:} false
; then :
11932 $as_echo_n "(cached) " >&6
11934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11935 /* end confdefs.h. */
11936 #ifdef HAVE_SYS_IOCTL_H
11937 # include <sys/ioctl.h>
11939 #include <linux/ppdev.h>
11943 ioctl (1,PPCLAIM,0)
11948 if ac_fn_c_try_compile
"$LINENO"; then :
11949 ac_cv_c_ppdev
="yes"
11953 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11956 $as_echo "$ac_cv_c_ppdev" >&6; }
11957 if test "$ac_cv_c_ppdev" = "yes"
11960 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11964 ac_wine_check_funcs_save_LIBS
="$LIBS"
11965 LIBS
="$LIBS $PTHREAD_LIBS"
11967 pthread_attr_get_np \
11968 pthread_getattr_np \
11969 pthread_getthreadid_np \
11970 pthread_get_stackaddr_np \
11971 pthread_get_stacksize_np
11973 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11974 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11975 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11976 cat >>confdefs.h
<<_ACEOF
11977 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11983 LIBS
="$ac_wine_check_funcs_save_LIBS"
11985 if test "$ac_cv_header_zlib_h" = "yes"
11987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11988 $as_echo_n "checking for inflate in -lz... " >&6; }
11989 if ${ac_cv_lib_z_inflate+:} false
; then :
11990 $as_echo_n "(cached) " >&6
11992 ac_check_lib_save_LIBS
=$LIBS
11994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11995 /* end confdefs.h. */
11997 /* Override any GCC internal prototype to avoid an error.
11998 Use char because int might match the return type of a GCC
11999 builtin and then its argument prototype would still apply. */
12012 if ac_fn_c_try_link
"$LINENO"; then :
12013 ac_cv_lib_z_inflate
=yes
12015 ac_cv_lib_z_inflate
=no
12017 rm -f core conftest.err conftest.
$ac_objext \
12018 conftest
$ac_exeext conftest.
$ac_ext
12019 LIBS
=$ac_check_lib_save_LIBS
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12022 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12023 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12025 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12032 if test "x$Z_LIBS" = "x"; then :
12033 case "x$with_zlib" in
12034 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12036 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12037 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12041 if test "x$enable_tools" != xno
12043 if test "$ac_cv_header_gettext_po_h" = "yes"
12045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12046 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12047 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12048 $as_echo_n "(cached) " >&6
12050 ac_check_lib_save_LIBS
=$LIBS
12051 LIBS
="-lgettextpo $LIBS"
12052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12053 /* end confdefs.h. */
12055 /* Override any GCC internal prototype to avoid an error.
12056 Use char because int might match the return type of a GCC
12057 builtin and then its argument prototype would still apply. */
12061 char po_message_msgctxt ();
12065 return po_message_msgctxt ();
12070 if ac_fn_c_try_link
"$LINENO"; then :
12071 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12073 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12075 rm -f core conftest.err conftest.
$ac_objext \
12076 conftest
$ac_exeext conftest.
$ac_ext
12077 LIBS
=$ac_check_lib_save_LIBS
12079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12080 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12081 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12083 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12085 GETTEXTPO_LIBS
="-lgettextpo"
12090 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12091 case "x$with_gettextpo" in
12092 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12094 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12095 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12100 if test "x$with_gstreamer" != "xno"
12102 if ${GSTREAMER_CFLAGS:+false} :; then :
12103 if ${PKG_CONFIG+:} false
; then :
12104 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12108 if ${GSTREAMER_LIBS:+false} :; then :
12109 if ${PKG_CONFIG+:} false
; then :
12110 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12115 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12116 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12117 ac_save_CPPFLAGS
=$CPPFLAGS
12118 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12120 for i
in $GSTREAMER_CFLAGS
12123 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12126 GSTREAMER_CFLAGS
=$ac_gst_incl
12127 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12128 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12129 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12130 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12131 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12133 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12135 /* end confdefs.h. */
12136 #include <gst/app/gstappsink.h>
12140 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12145 if ac_fn_c_try_compile
"$LINENO"; then :
12146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12147 $as_echo "yes" >&6; }
12148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12149 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12150 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12151 $as_echo_n "(cached) " >&6
12153 ac_check_lib_save_LIBS
=$LIBS
12154 LIBS
="-lgstreamer-0.10 $LIBS"
12155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12156 /* end confdefs.h. */
12158 /* Override any GCC internal prototype to avoid an error.
12159 Use char because int might match the return type of a GCC
12160 builtin and then its argument prototype would still apply. */
12164 char gst_pad_get_caps_reffed ();
12168 return gst_pad_get_caps_reffed ();
12173 if ac_fn_c_try_link
"$LINENO"; then :
12174 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12176 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12178 rm -f core conftest.err conftest.
$ac_objext \
12179 conftest
$ac_exeext conftest.
$ac_ext
12180 LIBS
=$ac_check_lib_save_LIBS
12182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12183 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12184 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12186 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12187 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12188 $as_echo_n "(cached) " >&6
12190 ac_check_lib_save_LIBS
=$LIBS
12191 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12193 /* end confdefs.h. */
12195 /* Override any GCC internal prototype to avoid an error.
12196 Use char because int might match the return type of a GCC
12197 builtin and then its argument prototype would still apply. */
12201 char gst_app_buffer_new ();
12205 return gst_app_buffer_new ();
12210 if ac_fn_c_try_link
"$LINENO"; then :
12211 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12213 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12215 rm -f core conftest.err conftest.
$ac_objext \
12216 conftest
$ac_exeext conftest.
$ac_ext
12217 LIBS
=$ac_check_lib_save_LIBS
12219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12220 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12221 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12229 $as_echo "no" >&6; }
12231 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12236 GSTREAMER_CFLAGS
=""
12240 CPPFLAGS
=$ac_save_CPPFLAGS
12241 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12242 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12245 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12246 case "x$with_gstreamer" in
12247 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12249 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12250 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12253 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12257 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12260 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12261 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12262 $as_echo_n "(cached) " >&6
12264 ac_check_lib_save_LIBS
=$LIBS
12265 LIBS
="-lasound $LIBS"
12266 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12267 /* end confdefs.h. */
12269 /* Override any GCC internal prototype to avoid an error.
12270 Use char because int might match the return type of a GCC
12271 builtin and then its argument prototype would still apply. */
12275 char snd_pcm_hw_params_get_access_mask ();
12279 return snd_pcm_hw_params_get_access_mask ();
12284 if ac_fn_c_try_link
"$LINENO"; then :
12285 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12287 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12289 rm -f core conftest.err conftest.
$ac_objext \
12290 conftest
$ac_exeext conftest.
$ac_ext
12291 LIBS
=$ac_check_lib_save_LIBS
12293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12294 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12295 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12296 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12297 /* end confdefs.h. */
12298 #ifdef HAVE_ALSA_ASOUNDLIB_H
12299 #include <alsa/asoundlib.h>
12300 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12301 #include <sys/asoundlib.h>
12306 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12311 if ac_fn_c_try_compile
"$LINENO"; then :
12312 ALSA_LIBS
="-lasound"
12314 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12319 if test "x$with_oss" != xno
12321 ac_save_CPPFLAGS
="$CPPFLAGS"
12322 if test -f /etc
/oss.conf
12326 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12327 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12328 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12329 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12330 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12332 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12334 cat >>confdefs.h
<<_ACEOF
12335 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12338 OSS4_CFLAGS
="$ac_oss_incl"
12345 CPPFLAGS
="$ac_save_CPPFLAGS"
12346 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12348 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12352 if test "x$with_capi" != "xno"
12354 if ${CAPI20_CFLAGS:+false} :; then :
12355 if ${PKG_CONFIG+:} false
; then :
12356 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12360 if ${CAPI20_LIBS:+false} :; then :
12361 if ${PKG_CONFIG+:} false
; then :
12362 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12367 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12368 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12369 ac_save_CPPFLAGS
=$CPPFLAGS
12370 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12371 for ac_header
in capi20.h linux
/capi.h
12373 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12374 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12376 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12377 cat >>confdefs.h
<<_ACEOF
12378 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12385 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12388 $as_echo_n "checking for -lcapi20... " >&6; }
12389 if ${ac_cv_lib_soname_capi20+:} false
; then :
12390 $as_echo_n "(cached) " >&6
12392 ac_check_soname_save_LIBS
=$LIBS
12393 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12395 /* end confdefs.h. */
12397 /* Override any GCC internal prototype to avoid an error.
12398 Use char because int might match the return type of a GCC
12399 builtin and then its argument prototype would still apply. */
12403 char capi20_register ();
12407 return capi20_register ();
12412 if ac_fn_c_try_link
"$LINENO"; then :
12414 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12415 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'` ;;
12416 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12417 if ${ac_cv_lib_soname_capi20:+false} :; then :
12418 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12422 rm -f core conftest.err conftest.
$ac_objext \
12423 conftest
$ac_exeext conftest.
$ac_ext
12424 LIBS
=$ac_check_soname_save_LIBS
12426 if ${ac_cv_lib_soname_capi20:+false} :; then :
12427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12428 $as_echo "not found" >&6; }
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12432 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12434 cat >>confdefs.h
<<_ACEOF
12435 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12441 CPPFLAGS
=$ac_save_CPPFLAGS
12442 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12443 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12446 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12447 case "x$with_capi" in
12448 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12450 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12451 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12457 if test "x$with_cups" != "xno"
12459 ac_save_CPPFLAGS
="$CPPFLAGS"
12460 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12461 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12462 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12463 for ac_header
in cups
/cups.h
12465 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12466 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12467 cat >>confdefs.h
<<_ACEOF
12468 #define HAVE_CUPS_CUPS_H 1
12470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12471 $as_echo_n "checking for -lcups... " >&6; }
12472 if ${ac_cv_lib_soname_cups+:} false
; then :
12473 $as_echo_n "(cached) " >&6
12475 ac_check_soname_save_LIBS
=$LIBS
12476 LIBS
="-lcups $ac_cups_libs $LIBS"
12477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12478 /* end confdefs.h. */
12480 /* Override any GCC internal prototype to avoid an error.
12481 Use char because int might match the return type of a GCC
12482 builtin and then its argument prototype would still apply. */
12486 char cupsGetDefault ();
12490 return cupsGetDefault ();
12495 if ac_fn_c_try_link
"$LINENO"; then :
12497 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12498 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'` ;;
12499 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12500 if ${ac_cv_lib_soname_cups:+false} :; then :
12501 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12505 rm -f core conftest.err conftest.
$ac_objext \
12506 conftest
$ac_exeext conftest.
$ac_ext
12507 LIBS
=$ac_check_soname_save_LIBS
12509 if ${ac_cv_lib_soname_cups:+false} :; then :
12510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12511 $as_echo "not found" >&6; }
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12515 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12517 cat >>confdefs.h
<<_ACEOF
12518 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12521 CUPS_CFLAGS
="$ac_cups_cflags"
12527 CPPFLAGS
="$ac_save_CPPFLAGS"
12529 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12530 case "x$with_cups" in
12531 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12533 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12534 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12538 if test "x$with_fontconfig" != "xno"
12540 if ${FONTCONFIG_CFLAGS:+false} :; then :
12541 if ${PKG_CONFIG+:} false
; then :
12542 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12545 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12546 if ${FONTCONFIG_LIBS:+false} :; then :
12547 if ${PKG_CONFIG+:} false
; then :
12548 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12551 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
12553 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12554 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12555 ac_save_CPPFLAGS
=$CPPFLAGS
12556 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
12557 for ac_header
in fontconfig
/fontconfig.h
12559 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12560 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12561 cat >>confdefs.h
<<_ACEOF
12562 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12569 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12572 $as_echo_n "checking for -lfontconfig... " >&6; }
12573 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12574 $as_echo_n "(cached) " >&6
12576 ac_check_soname_save_LIBS
=$LIBS
12577 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12579 /* end confdefs.h. */
12581 /* Override any GCC internal prototype to avoid an error.
12582 Use char because int might match the return type of a GCC
12583 builtin and then its argument prototype would still apply. */
12596 if ac_fn_c_try_link
"$LINENO"; then :
12598 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12599 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'` ;;
12600 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12601 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12602 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12606 rm -f core conftest.err conftest.
$ac_objext \
12607 conftest
$ac_exeext conftest.
$ac_ext
12608 LIBS
=$ac_check_soname_save_LIBS
12610 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12612 $as_echo "not found" >&6; }
12613 FONTCONFIG_CFLAGS
=""
12615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12616 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12618 cat >>confdefs.h
<<_ACEOF
12619 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12625 FONTCONFIG_CFLAGS
=""
12627 CPPFLAGS
=$ac_save_CPPFLAGS
12628 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12629 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12632 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12633 case "x$with_fontconfig" in
12634 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12636 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12637 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12641 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12644 $as_echo_n "checking for -lgsm... " >&6; }
12645 if ${ac_cv_lib_soname_gsm+:} false
; then :
12646 $as_echo_n "(cached) " >&6
12648 ac_check_soname_save_LIBS
=$LIBS
12650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12651 /* end confdefs.h. */
12653 /* Override any GCC internal prototype to avoid an error.
12654 Use char because int might match the return type of a GCC
12655 builtin and then its argument prototype would still apply. */
12659 char gsm_create ();
12663 return gsm_create ();
12668 if ac_fn_c_try_link
"$LINENO"; then :
12670 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12671 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'` ;;
12672 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12673 if ${ac_cv_lib_soname_gsm:+false} :; then :
12674 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12678 rm -f core conftest.err conftest.
$ac_objext \
12679 conftest
$ac_exeext conftest.
$ac_ext
12680 LIBS
=$ac_check_soname_save_LIBS
12682 if ${ac_cv_lib_soname_gsm:+false} :; then :
12683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12684 $as_echo "not found" >&6; }
12687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12688 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12690 cat >>confdefs.h
<<_ACEOF
12691 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12697 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12698 case "x$with_gsm" in
12699 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12701 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12702 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12706 if test "x$with_jpeg" != "xno"
12708 if ${JPEG_CFLAGS:+false} :; then :
12709 if ${PKG_CONFIG+:} false
; then :
12710 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12714 if ${JPEG_LIBS:+false} :; then :
12715 if ${PKG_CONFIG+:} false
; then :
12716 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12721 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12722 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12723 ac_save_CPPFLAGS
=$CPPFLAGS
12724 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
12725 for ac_header
in jpeglib.h
12727 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12728 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
12729 cat >>confdefs.h
<<_ACEOF
12730 #define HAVE_JPEGLIB_H 1
12737 if test "$ac_cv_header_jpeglib_h" = "yes"
12739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12740 $as_echo_n "checking for -ljpeg... " >&6; }
12741 if ${ac_cv_lib_soname_jpeg+:} false
; then :
12742 $as_echo_n "(cached) " >&6
12744 ac_check_soname_save_LIBS
=$LIBS
12745 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
12746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12747 /* end confdefs.h. */
12749 /* Override any GCC internal prototype to avoid an error.
12750 Use char because int might match the return type of a GCC
12751 builtin and then its argument prototype would still apply. */
12755 char jpeg_start_decompress ();
12759 return jpeg_start_decompress ();
12764 if ac_fn_c_try_link
"$LINENO"; then :
12766 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12767 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'` ;;
12768 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12769 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12770 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12774 rm -f core conftest.err conftest.
$ac_objext \
12775 conftest
$ac_exeext conftest.
$ac_ext
12776 LIBS
=$ac_check_soname_save_LIBS
12778 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12780 $as_echo "not found" >&6; }
12783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12784 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12786 cat >>confdefs.h
<<_ACEOF
12787 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12795 CPPFLAGS
=$ac_save_CPPFLAGS
12796 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12797 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12800 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12801 case "x$with_jpeg" in
12802 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12804 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12805 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12809 if test "x$with_png" != "xno"
12811 if ${PNG_CFLAGS:+false} :; then :
12812 if ${PKG_CONFIG+:} false
; then :
12813 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12816 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
12817 if ${PNG_LIBS:+false} :; then :
12818 if ${PKG_CONFIG+:} false
; then :
12819 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
12822 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
12824 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12825 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12826 ac_save_CPPFLAGS
=$CPPFLAGS
12827 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
12828 for ac_header
in png.h
12830 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12831 if test "x$ac_cv_header_png_h" = xyes
; then :
12832 cat >>confdefs.h
<<_ACEOF
12833 #define HAVE_PNG_H 1
12840 if test "$ac_cv_header_png_h" = "yes"
12842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12843 $as_echo_n "checking for -lpng... " >&6; }
12844 if ${ac_cv_lib_soname_png+:} false
; then :
12845 $as_echo_n "(cached) " >&6
12847 ac_check_soname_save_LIBS
=$LIBS
12848 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
12849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12850 /* end confdefs.h. */
12852 /* Override any GCC internal prototype to avoid an error.
12853 Use char because int might match the return type of a GCC
12854 builtin and then its argument prototype would still apply. */
12858 char png_create_read_struct ();
12862 return png_create_read_struct ();
12867 if ac_fn_c_try_link
"$LINENO"; then :
12869 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12870 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'` ;;
12871 *) 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'`
12872 if ${ac_cv_lib_soname_png:+false} :; then :
12873 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12877 rm -f core conftest.err conftest.
$ac_objext \
12878 conftest
$ac_exeext conftest.
$ac_ext
12879 LIBS
=$ac_check_soname_save_LIBS
12881 if ${ac_cv_lib_soname_png:+false} :; then :
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12883 $as_echo "not found" >&6; }
12886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12887 $as_echo "$ac_cv_lib_soname_png" >&6; }
12889 cat >>confdefs.h
<<_ACEOF
12890 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12894 /* end confdefs.h. */
12899 typeof(png_set_expand_gray_1_2_4_to_8) *p
12904 if ac_fn_c_try_compile
"$LINENO"; then :
12906 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12909 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12914 CPPFLAGS
=$ac_save_CPPFLAGS
12915 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12916 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12919 if test "x$ac_cv_lib_soname_png" = "x"; then :
12920 case "x$with_png" in
12921 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
12923 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
12924 This is an error since --with-png was requested." "$LINENO" 5 ;;
12928 if test "x$with_tiff" != "xno"
12930 if ${TIFF_CFLAGS:+false} :; then :
12931 if ${PKG_CONFIG+:} false
; then :
12932 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
12936 if ${TIFF_LIBS:+false} :; then :
12937 if ${PKG_CONFIG+:} false
; then :
12938 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
12943 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
12944 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
12945 ac_save_CPPFLAGS
=$CPPFLAGS
12946 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
12947 for ac_header
in tiffio.h
12949 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
12950 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
12951 cat >>confdefs.h
<<_ACEOF
12952 #define HAVE_TIFFIO_H 1
12959 if test "$ac_cv_header_tiffio_h" = "yes"
12961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
12962 $as_echo_n "checking for -ltiff... " >&6; }
12963 if ${ac_cv_lib_soname_tiff+:} false
; then :
12964 $as_echo_n "(cached) " >&6
12966 ac_check_soname_save_LIBS
=$LIBS
12967 LIBS
="-ltiff $TIFF_LIBS $LIBS"
12968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12969 /* end confdefs.h. */
12971 /* Override any GCC internal prototype to avoid an error.
12972 Use char because int might match the return type of a GCC
12973 builtin and then its argument prototype would still apply. */
12977 char TIFFClientOpen ();
12981 return TIFFClientOpen ();
12986 if ac_fn_c_try_link
"$LINENO"; then :
12988 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12989 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'` ;;
12990 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12991 if ${ac_cv_lib_soname_tiff:+false} :; then :
12992 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12996 rm -f core conftest.err conftest.
$ac_objext \
12997 conftest
$ac_exeext conftest.
$ac_ext
12998 LIBS
=$ac_check_soname_save_LIBS
13000 if ${ac_cv_lib_soname_tiff:+false} :; then :
13001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13002 $as_echo "not found" >&6; }
13005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13006 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13008 cat >>confdefs.h
<<_ACEOF
13009 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13015 CPPFLAGS
=$ac_save_CPPFLAGS
13016 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13017 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13020 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13021 case "x$with_tiff" in
13022 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13024 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13025 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13029 if test "x$with_mpg123" != "xno"
13031 if ${MPG123_CFLAGS:+false} :; then :
13032 if ${PKG_CONFIG+:} false
; then :
13033 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13037 if ${MPG123_LIBS:+false} :; then :
13038 if ${PKG_CONFIG+:} false
; then :
13039 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13043 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13044 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13045 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13046 ac_save_CPPFLAGS
=$CPPFLAGS
13047 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13048 for ac_header
in mpg123.h
13050 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13051 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13052 cat >>confdefs.h
<<_ACEOF
13053 #define HAVE_MPG123_H 1
13060 if test "$ac_cv_header_mpg123_h" = "yes"
13062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13063 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13064 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13065 $as_echo_n "(cached) " >&6
13067 ac_check_lib_save_LIBS
=$LIBS
13068 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13070 /* end confdefs.h. */
13072 /* Override any GCC internal prototype to avoid an error.
13073 Use char because int might match the return type of a GCC
13074 builtin and then its argument prototype would still apply. */
13078 char mpg123_feed ();
13082 return mpg123_feed ();
13087 if ac_fn_c_try_link
"$LINENO"; then :
13088 ac_cv_lib_mpg123_mpg123_feed
=yes
13090 ac_cv_lib_mpg123_mpg123_feed
=no
13092 rm -f core conftest.err conftest.
$ac_objext \
13093 conftest
$ac_exeext conftest.
$ac_ext
13094 LIBS
=$ac_check_lib_save_LIBS
13096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13097 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13098 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13108 CPPFLAGS
=$ac_save_CPPFLAGS
13109 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13110 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13113 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13114 case "x$with_mpg123" in
13115 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13117 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13118 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13121 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}
13123 if test "$ac_cv_header_AL_al_h" = "yes"
13125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13126 $as_echo_n "checking for -lopenal... " >&6; }
13127 if ${ac_cv_lib_soname_openal+:} false
; then :
13128 $as_echo_n "(cached) " >&6
13130 ac_check_soname_save_LIBS
=$LIBS
13131 LIBS
="-lopenal $LIBS"
13132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13133 /* end confdefs.h. */
13135 /* Override any GCC internal prototype to avoid an error.
13136 Use char because int might match the return type of a GCC
13137 builtin and then its argument prototype would still apply. */
13141 char alGetSource3i ();
13145 return alGetSource3i ();
13150 if ac_fn_c_try_link
"$LINENO"; then :
13152 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13153 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'` ;;
13154 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13155 if ${ac_cv_lib_soname_openal:+false} :; then :
13156 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13160 rm -f core conftest.err conftest.
$ac_objext \
13161 conftest
$ac_exeext conftest.
$ac_ext
13162 LIBS
=$ac_check_soname_save_LIBS
13164 if ${ac_cv_lib_soname_openal:+false} :; then :
13165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13166 $as_echo "not found" >&6; }
13169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13170 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13172 cat >>confdefs.h
<<_ACEOF
13173 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13176 OPENAL_LIBS
="-lopenal"
13178 ac_cv_lib_openal
=yes
13180 cat >>confdefs.h
<<_ACEOF
13181 #define HAVE_OPENAL 1
13186 if test "x$ac_cv_lib_openal" != xyes
; then :
13187 case "x$with_openal" in
13188 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13190 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13191 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13194 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13196 if test "$ac_cv_header_kstat_h" = "yes"
13198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13199 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13200 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13201 $as_echo_n "(cached) " >&6
13203 ac_check_lib_save_LIBS
=$LIBS
13204 LIBS
="-lkstat $LIBS"
13205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13206 /* end confdefs.h. */
13208 /* Override any GCC internal prototype to avoid an error.
13209 Use char because int might match the return type of a GCC
13210 builtin and then its argument prototype would still apply. */
13214 char kstat_open ();
13218 return kstat_open ();
13223 if ac_fn_c_try_link
"$LINENO"; then :
13224 ac_cv_lib_kstat_kstat_open
=yes
13226 ac_cv_lib_kstat_kstat_open
=no
13228 rm -f core conftest.err conftest.
$ac_objext \
13229 conftest
$ac_exeext conftest.
$ac_ext
13230 LIBS
=$ac_check_lib_save_LIBS
13232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13233 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13234 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13236 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13238 KSTAT_LIBS
="-lkstat"
13244 if test "$ac_cv_header_libprocstat_h" = "yes"
13246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13247 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13248 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13249 $as_echo_n "(cached) " >&6
13251 ac_check_lib_save_LIBS
=$LIBS
13252 LIBS
="-lprocstat $LIBS"
13253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13254 /* end confdefs.h. */
13256 /* Override any GCC internal prototype to avoid an error.
13257 Use char because int might match the return type of a GCC
13258 builtin and then its argument prototype would still apply. */
13262 char procstat_open_sysctl ();
13266 return procstat_open_sysctl ();
13271 if ac_fn_c_try_link
"$LINENO"; then :
13272 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13274 ac_cv_lib_procstat_procstat_open_sysctl
=no
13276 rm -f core conftest.err conftest.
$ac_objext \
13277 conftest
$ac_exeext conftest.
$ac_ext
13278 LIBS
=$ac_check_lib_save_LIBS
13280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13281 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13282 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13284 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13286 PROCSTAT_LIBS
="-lprocstat"
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13293 $as_echo_n "checking for -lodbc... " >&6; }
13294 if ${ac_cv_lib_soname_odbc+:} false
; then :
13295 $as_echo_n "(cached) " >&6
13297 ac_check_soname_save_LIBS
=$LIBS
13298 LIBS
="-lodbc $LIBS"
13299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13300 /* end confdefs.h. */
13302 /* Override any GCC internal prototype to avoid an error.
13303 Use char because int might match the return type of a GCC
13304 builtin and then its argument prototype would still apply. */
13308 char SQLConnect ();
13312 return SQLConnect ();
13317 if ac_fn_c_try_link
"$LINENO"; then :
13319 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13320 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'` ;;
13321 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13322 if ${ac_cv_lib_soname_odbc:+false} :; then :
13323 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13327 rm -f core conftest.err conftest.
$ac_objext \
13328 conftest
$ac_exeext conftest.
$ac_ext
13329 LIBS
=$ac_check_soname_save_LIBS
13331 if ${ac_cv_lib_soname_odbc:+false} :; then :
13332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13333 $as_echo "not found" >&6; }
13334 cat >>confdefs.h
<<_ACEOF
13335 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13340 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13342 cat >>confdefs.h
<<_ACEOF
13343 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13349 if test "x$with_netapi" != "xno"
13351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13352 $as_echo_n "checking for -lnetapi... " >&6; }
13353 if ${ac_cv_lib_soname_netapi+:} false
; then :
13354 $as_echo_n "(cached) " >&6
13356 ac_check_soname_save_LIBS
=$LIBS
13357 LIBS
="-lnetapi $LIBS"
13358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13359 /* end confdefs.h. */
13361 /* Override any GCC internal prototype to avoid an error.
13362 Use char because int might match the return type of a GCC
13363 builtin and then its argument prototype would still apply. */
13367 char libnetapi_init ();
13371 return libnetapi_init ();
13376 if ac_fn_c_try_link
"$LINENO"; then :
13378 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13379 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'` ;;
13380 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13381 if ${ac_cv_lib_soname_netapi:+false} :; then :
13382 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13386 rm -f core conftest.err conftest.
$ac_objext \
13387 conftest
$ac_exeext conftest.
$ac_ext
13388 LIBS
=$ac_check_soname_save_LIBS
13390 if ${ac_cv_lib_soname_netapi:+false} :; then :
13391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13392 $as_echo "not found" >&6; }
13393 cat >>confdefs.h
<<_ACEOF
13394 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13399 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13401 cat >>confdefs.h
<<_ACEOF
13402 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13409 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13410 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13411 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13412 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13414 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13415 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13416 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13418 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13424 if test "x${GCC}" = "xyes"
13426 EXTRACFLAGS
="-Wall -pipe"
13428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13429 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13430 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13431 $as_echo_n "(cached) " >&6
13433 if test "$cross_compiling" = yes; then :
13434 ac_cv_c_gcc_strength_bug
="yes"
13436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13437 /* end confdefs.h. */
13438 int L[4] = {0,1,2,3};
13442 static int Array[3];
13443 unsigned int B = 3;
13445 for(i=0; i<B; i++) Array[i] = i - 3;
13446 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13448 return (Array[1] != -2 || L[2] != 3)
13453 if ac_fn_c_try_run
"$LINENO"; then :
13454 ac_cv_c_gcc_strength_bug
="no"
13456 ac_cv_c_gcc_strength_bug
="yes"
13458 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13459 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13464 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13465 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13467 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13471 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13472 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13473 $as_echo_n "(cached) " >&6
13475 ac_wine_try_cflags_saved
=$CFLAGS
13476 CFLAGS
="$CFLAGS -fno-builtin"
13477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13478 /* end confdefs.h. */
13479 int main(int argc, char **argv) { return 0; }
13481 if ac_fn_c_try_link
"$LINENO"; then :
13482 ac_cv_cflags__fno_builtin
=yes
13484 ac_cv_cflags__fno_builtin
=no
13486 rm -f core conftest.err conftest.
$ac_objext \
13487 conftest
$ac_exeext conftest.
$ac_ext
13488 CFLAGS
=$ac_wine_try_cflags_saved
13490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13491 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13492 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
13493 BUILTINFLAG
="-fno-builtin"
13496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13497 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13498 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13499 $as_echo_n "(cached) " >&6
13501 ac_wine_try_cflags_saved
=$CFLAGS
13502 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13504 /* end confdefs.h. */
13505 int main(int argc, char **argv) { return 0; }
13507 if ac_fn_c_try_link
"$LINENO"; then :
13508 ac_cv_cflags__fno_strict_aliasing
=yes
13510 ac_cv_cflags__fno_strict_aliasing
=no
13512 rm -f core conftest.err conftest.
$ac_objext \
13513 conftest
$ac_exeext conftest.
$ac_ext
13514 CFLAGS
=$ac_wine_try_cflags_saved
13516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13517 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13518 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
13519 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13521 saved_CFLAGS
=$CFLAGS
13522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13523 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13524 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13525 $as_echo_n "(cached) " >&6
13527 ac_wine_try_cflags_saved
=$CFLAGS
13528 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13530 /* end confdefs.h. */
13531 int main(int argc, char **argv) { return 0; }
13533 if ac_fn_c_try_link
"$LINENO"; then :
13534 ac_cv_cflags__Werror_unknown_warning_option
=yes
13536 ac_cv_cflags__Werror_unknown_warning_option
=no
13538 rm -f core conftest.err conftest.
$ac_objext \
13539 conftest
$ac_exeext conftest.
$ac_ext
13540 CFLAGS
=$ac_wine_try_cflags_saved
13542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13543 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13544 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
13545 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13548 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13549 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13550 $as_echo_n "(cached) " >&6
13552 ac_wine_try_cflags_saved
=$CFLAGS
13553 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13555 /* end confdefs.h. */
13556 int main(int argc, char **argv) { return 0; }
13558 if ac_fn_c_try_link
"$LINENO"; then :
13559 ac_cv_cflags__Wdeclaration_after_statement
=yes
13561 ac_cv_cflags__Wdeclaration_after_statement
=no
13563 rm -f core conftest.err conftest.
$ac_objext \
13564 conftest
$ac_exeext conftest.
$ac_ext
13565 CFLAGS
=$ac_wine_try_cflags_saved
13567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13568 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13569 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
13570 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13573 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13574 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13575 $as_echo_n "(cached) " >&6
13577 ac_wine_try_cflags_saved
=$CFLAGS
13578 CFLAGS
="$CFLAGS -Wempty-body"
13579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13580 /* end confdefs.h. */
13581 int main(int argc, char **argv) { return 0; }
13583 if ac_fn_c_try_link
"$LINENO"; then :
13584 ac_cv_cflags__Wempty_body
=yes
13586 ac_cv_cflags__Wempty_body
=no
13588 rm -f core conftest.err conftest.
$ac_objext \
13589 conftest
$ac_exeext conftest.
$ac_ext
13590 CFLAGS
=$ac_wine_try_cflags_saved
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13593 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13594 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
13595 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13598 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13599 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13600 $as_echo_n "(cached) " >&6
13602 ac_wine_try_cflags_saved
=$CFLAGS
13603 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13604 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13605 /* end confdefs.h. */
13606 int main(int argc, char **argv) { return 0; }
13608 if ac_fn_c_try_link
"$LINENO"; then :
13609 ac_cv_cflags__Wignored_qualifiers
=yes
13611 ac_cv_cflags__Wignored_qualifiers
=no
13613 rm -f core conftest.err conftest.
$ac_objext \
13614 conftest
$ac_exeext conftest.
$ac_ext
13615 CFLAGS
=$ac_wine_try_cflags_saved
13617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13618 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13619 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
13620 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13623 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13624 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13625 $as_echo_n "(cached) " >&6
13627 ac_wine_try_cflags_saved
=$CFLAGS
13628 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13630 /* end confdefs.h. */
13631 int main(int argc, char **argv) { return 0; }
13633 if ac_fn_c_try_link
"$LINENO"; then :
13634 ac_cv_cflags__Wstrict_prototypes
=yes
13636 ac_cv_cflags__Wstrict_prototypes
=no
13638 rm -f core conftest.err conftest.
$ac_objext \
13639 conftest
$ac_exeext conftest.
$ac_ext
13640 CFLAGS
=$ac_wine_try_cflags_saved
13642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13643 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13644 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
13645 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13648 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13649 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13650 $as_echo_n "(cached) " >&6
13652 ac_wine_try_cflags_saved
=$CFLAGS
13653 CFLAGS
="$CFLAGS -Wtype-limits"
13654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13655 /* end confdefs.h. */
13656 int main(int argc, char **argv) { return 0; }
13658 if ac_fn_c_try_link
"$LINENO"; then :
13659 ac_cv_cflags__Wtype_limits
=yes
13661 ac_cv_cflags__Wtype_limits
=no
13663 rm -f core conftest.err conftest.
$ac_objext \
13664 conftest
$ac_exeext conftest.
$ac_ext
13665 CFLAGS
=$ac_wine_try_cflags_saved
13667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13668 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13669 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
13670 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13673 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13674 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13675 $as_echo_n "(cached) " >&6
13677 ac_wine_try_cflags_saved
=$CFLAGS
13678 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13680 /* end confdefs.h. */
13681 int main(int argc, char **argv) { return 0; }
13683 if ac_fn_c_try_link
"$LINENO"; then :
13684 ac_cv_cflags__Wunused_but_set_parameter
=yes
13686 ac_cv_cflags__Wunused_but_set_parameter
=no
13688 rm -f core conftest.err conftest.
$ac_objext \
13689 conftest
$ac_exeext conftest.
$ac_ext
13690 CFLAGS
=$ac_wine_try_cflags_saved
13692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13693 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13694 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
13695 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13698 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13699 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
13700 $as_echo_n "(cached) " >&6
13702 ac_wine_try_cflags_saved
=$CFLAGS
13703 CFLAGS
="$CFLAGS -Wwrite-strings"
13704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13705 /* end confdefs.h. */
13706 int main(int argc, char **argv) { return 0; }
13708 if ac_fn_c_try_link
"$LINENO"; then :
13709 ac_cv_cflags__Wwrite_strings
=yes
13711 ac_cv_cflags__Wwrite_strings
=no
13713 rm -f core conftest.err conftest.
$ac_objext \
13714 conftest
$ac_exeext conftest.
$ac_ext
13715 CFLAGS
=$ac_wine_try_cflags_saved
13717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13718 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13719 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
13720 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
13723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13724 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13725 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
13726 $as_echo_n "(cached) " >&6
13728 ac_wine_try_cflags_saved
=$CFLAGS
13729 CFLAGS
="$CFLAGS -Wpointer-arith"
13730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13731 /* end confdefs.h. */
13732 int main(int argc, char **argv) { return 0; }
13734 if ac_fn_c_try_link
"$LINENO"; then :
13735 ac_cv_cflags__Wpointer_arith
=yes
13737 ac_cv_cflags__Wpointer_arith
=no
13739 rm -f core conftest.err conftest.
$ac_objext \
13740 conftest
$ac_exeext conftest.
$ac_ext
13741 CFLAGS
=$ac_wine_try_cflags_saved
13743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13744 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13745 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
13746 saved_string_h_CFLAGS
=$CFLAGS
13747 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
13748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13749 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13750 if ${ac_cv_c_string_h_warnings+:} false
; then :
13751 $as_echo_n "(cached) " >&6
13753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13754 /* end confdefs.h. */
13755 #include <string.h>
13764 if ac_fn_c_try_compile
"$LINENO"; then :
13765 ac_cv_c_string_h_warnings
=no
13767 ac_cv_c_string_h_warnings
=yes
13769 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13772 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13773 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
13774 CFLAGS
=$saved_string_h_CFLAGS
13777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13778 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13779 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
13780 $as_echo_n "(cached) " >&6
13782 ac_wine_try_cflags_saved
=$CFLAGS
13783 CFLAGS
="$CFLAGS -Wlogical-op"
13784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13785 /* end confdefs.h. */
13786 int main(int argc, char **argv) { return 0; }
13788 if ac_fn_c_try_link
"$LINENO"; then :
13789 ac_cv_cflags__Wlogical_op
=yes
13791 ac_cv_cflags__Wlogical_op
=no
13793 rm -f core conftest.err conftest.
$ac_objext \
13794 conftest
$ac_exeext conftest.
$ac_ext
13795 CFLAGS
=$ac_wine_try_cflags_saved
13797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13798 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13799 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
13800 saved_string_h_CFLAGS
=$CFLAGS
13801 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
13802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13803 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13804 if ${ac_cv_c_logicalop_noisy+:} false
; then :
13805 $as_echo_n "(cached) " >&6
13807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13808 /* end confdefs.h. */
13809 #include <string.h>
13810 char*f(const char *h,char n) {return strchr(h,n);}
13819 if ac_fn_c_try_compile
"$LINENO"; then :
13820 ac_cv_c_logicalop_noisy
=no
13822 ac_cv_c_logicalop_noisy
=yes
13824 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13827 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13828 CFLAGS
=$saved_string_h_CFLAGS
13829 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
13832 CFLAGS
=$saved_CFLAGS
13834 for ac_flag
in $CFLAGS; do
13836 -g) case $host_os in
13837 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13838 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13839 if ${ac_cv_cflags__gstabsp+:} false
; then :
13840 $as_echo_n "(cached) " >&6
13842 ac_wine_try_cflags_saved
=$CFLAGS
13843 CFLAGS
="$CFLAGS -gstabs+"
13844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13845 /* end confdefs.h. */
13846 int main(int argc, char **argv) { return 0; }
13848 if ac_fn_c_try_link
"$LINENO"; then :
13849 ac_cv_cflags__gstabsp
=yes
13851 ac_cv_cflags__gstabsp
=no
13853 rm -f core conftest.err conftest.
$ac_objext \
13854 conftest
$ac_exeext conftest.
$ac_ext
13855 CFLAGS
=$ac_wine_try_cflags_saved
13857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13858 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
13859 if test "x$ac_cv_cflags__gstabsp" = xyes
; then :
13860 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
13862 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
13863 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
13864 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
13865 $as_echo_n "(cached) " >&6
13867 ac_wine_try_cflags_saved
=$CFLAGS
13868 CFLAGS
="$CFLAGS -gdwarf-2"
13869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13870 /* end confdefs.h. */
13871 int main(int argc, char **argv) { return 0; }
13873 if ac_fn_c_try_link
"$LINENO"; then :
13874 ac_cv_cflags__gdwarf_2
=yes
13876 ac_cv_cflags__gdwarf_2
=no
13878 rm -f core conftest.err conftest.
$ac_objext \
13879 conftest
$ac_exeext conftest.
$ac_ext
13880 CFLAGS
=$ac_wine_try_cflags_saved
13882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
13883 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
13884 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
13885 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
13887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
13888 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
13889 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
13890 $as_echo_n "(cached) " >&6
13892 ac_wine_try_cflags_saved
=$CFLAGS
13893 CFLAGS
="$CFLAGS -gstrict-dwarf"
13894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13895 /* end confdefs.h. */
13896 int main(int argc, char **argv) { return 0; }
13898 if ac_fn_c_try_link
"$LINENO"; then :
13899 ac_cv_cflags__gstrict_dwarf
=yes
13901 ac_cv_cflags__gstrict_dwarf
=no
13903 rm -f core conftest.err conftest.
$ac_objext \
13904 conftest
$ac_exeext conftest.
$ac_ext
13905 CFLAGS
=$ac_wine_try_cflags_saved
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
13908 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
13909 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
13910 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
13917 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
13918 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
13919 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
13920 $as_echo_n "(cached) " >&6
13922 ac_wine_try_cflags_saved
=$CFLAGS
13923 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
13924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13925 /* end confdefs.h. */
13926 int main(int argc, char **argv) { return 0; }
13928 if ac_fn_c_try_link
"$LINENO"; then :
13929 ac_cv_cflags__fno_omit_frame_pointer
=yes
13931 ac_cv_cflags__fno_omit_frame_pointer
=no
13933 rm -f core conftest.err conftest.
$ac_objext \
13934 conftest
$ac_exeext conftest.
$ac_ext
13935 CFLAGS
=$ac_wine_try_cflags_saved
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
13938 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
13939 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
13940 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
13945 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
13946 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
13947 if ${ac_cv_cflags__Wno_format+:} false
; then :
13948 $as_echo_n "(cached) " >&6
13950 ac_wine_try_cflags_saved
=$CFLAGS
13951 CFLAGS
="$CFLAGS -Wno-format"
13952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13953 /* end confdefs.h. */
13954 int main(int argc, char **argv) { return 0; }
13956 if ac_fn_c_try_link
"$LINENO"; then :
13957 ac_cv_cflags__Wno_format
=yes
13959 ac_cv_cflags__Wno_format
=no
13961 rm -f core conftest.err conftest.
$ac_objext \
13962 conftest
$ac_exeext conftest.
$ac_ext
13963 CFLAGS
=$ac_wine_try_cflags_saved
13965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
13966 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
13967 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
13968 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
13972 if test "x$enable_maintainer_mode" = "xyes"
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
13975 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
13976 if ${ac_cv_cflags__Werror+:} false
; then :
13977 $as_echo_n "(cached) " >&6
13979 ac_wine_try_cflags_saved
=$CFLAGS
13980 CFLAGS
="$CFLAGS -Werror"
13981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13982 /* end confdefs.h. */
13983 int main(int argc, char **argv) { return 0; }
13985 if ac_fn_c_try_link
"$LINENO"; then :
13986 ac_cv_cflags__Werror
=yes
13988 ac_cv_cflags__Werror
=no
13990 rm -f core conftest.err conftest.
$ac_objext \
13991 conftest
$ac_exeext conftest.
$ac_ext
13992 CFLAGS
=$ac_wine_try_cflags_saved
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
13995 $as_echo "$ac_cv_cflags__Werror" >&6; }
13996 if test "x$ac_cv_cflags__Werror" = xyes
; then :
13997 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14001 saved_CFLAGS
="$CFLAGS"
14002 CFLAGS
="$CFLAGS -Werror"
14003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14004 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14005 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14006 $as_echo_n "(cached) " >&6
14008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14009 /* end confdefs.h. */
14010 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14019 if ac_fn_c_try_compile
"$LINENO"; then :
14020 ac_cv_have_ms_hook_prologue
="yes"
14022 ac_cv_have_ms_hook_prologue
="no"
14024 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14027 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14028 CFLAGS
="$saved_CFLAGS"
14029 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14032 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14035 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14042 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14043 if ${ac_cv_c_fortify_enabled+:} false
; then :
14044 $as_echo_n "(cached) " >&6
14046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14047 /* end confdefs.h. */
14048 #include <string.h>
14052 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14053 #error Fortify enabled
14059 if ac_fn_c_try_compile
"$LINENO"; then :
14060 ac_cv_c_fortify_enabled
=no
14062 ac_cv_c_fortify_enabled
=yes
14064 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14067 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14068 if test "$ac_cv_c_fortify_enabled" = yes
14070 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14075 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14076 if ${ac_cv_c_extern_prefix+:} false
; then :
14077 $as_echo_n "(cached) " >&6
14079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14080 /* end confdefs.h. */
14081 extern int ac_test;
14085 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14090 if ac_fn_c_try_link
"$LINENO"; then :
14091 ac_cv_c_extern_prefix
="yes"
14093 ac_cv_c_extern_prefix
="no"
14095 rm -f core conftest.err conftest.
$ac_objext \
14096 conftest
$ac_exeext conftest.
$ac_ext
14098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14099 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14104 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14105 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14106 $as_echo_n "(cached) " >&6
14108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14109 /* end confdefs.h. */
14111 #define __stdcall __attribute__((__stdcall__))
14113 int __stdcall ac_test(int i) { return i; }
14117 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14122 if ac_fn_c_try_link
"$LINENO"; then :
14123 ac_cv_c_stdcall_suffix
="yes"
14125 ac_cv_c_stdcall_suffix
="no"
14127 rm -f core conftest.err conftest.
$ac_objext \
14128 conftest
$ac_exeext conftest.
$ac_ext
14130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14131 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14132 *) ac_cv_c_stdcall_suffix
="no" ;;
14136 if test "$ac_cv_c_extern_prefix" = "yes"
14138 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14140 asm_name_prefix
="_"
14142 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14148 if test "$ac_cv_c_stdcall_suffix" = "yes"
14150 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14153 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14159 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14160 if ${ac_cv_asm_func_def+:} false
; then :
14161 $as_echo_n "(cached) " >&6
14163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14164 /* end confdefs.h. */
14169 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14174 if ac_fn_c_try_link
"$LINENO"; then :
14175 ac_cv_asm_func_def
=".def"
14177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14178 /* end confdefs.h. */
14183 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14188 if ac_fn_c_try_link
"$LINENO"; then :
14189 ac_cv_asm_func_def
=".type @function"
14191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14192 /* end confdefs.h. */
14197 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14202 if ac_fn_c_try_link
"$LINENO"; then :
14203 ac_cv_asm_func_def
=".type 2"
14205 ac_cv_asm_func_def
="unknown"
14207 rm -f core conftest.err conftest.
$ac_objext \
14208 conftest
$ac_exeext conftest.
$ac_ext
14210 rm -f core conftest.err conftest.
$ac_objext \
14211 conftest
$ac_exeext conftest.
$ac_ext
14213 rm -f core conftest.err conftest.
$ac_objext \
14214 conftest
$ac_exeext conftest.
$ac_ext
14216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14217 $as_echo "$ac_cv_asm_func_def" >&6; }
14220 case "$ac_cv_asm_func_def" in
14222 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14224 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14226 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14228 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14230 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14232 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14234 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14236 asm_func_header
="" ;;
14239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14240 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14241 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14242 $as_echo_n "(cached) " >&6
14244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14245 /* end confdefs.h. */
14246 asm(".text\n\t.long 0");
14255 if ac_fn_c_try_compile
"$LINENO"; then :
14256 ac_cv_c_asm_outside_funcs
="yes"
14258 ac_cv_c_asm_outside_funcs
="no"
14260 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14263 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14266 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14267 if ${ac_cv_c_dot_previous+:} false
; then :
14268 $as_echo_n "(cached) " >&6
14270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14271 /* end confdefs.h. */
14276 asm(".text\nac_test:\t.long 0\n\t.previous");
14281 if ac_fn_c_try_link
"$LINENO"; then :
14282 ac_cv_c_dot_previous
="yes"
14284 ac_cv_c_dot_previous
="no"
14286 rm -f core conftest.err conftest.
$ac_objext \
14287 conftest
$ac_exeext conftest.
$ac_ext
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14290 $as_echo "$ac_cv_c_dot_previous" >&6; }
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14293 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14294 if ${ac_cv_c_cfi_support+:} false
; then :
14295 $as_echo_n "(cached) " >&6
14297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14298 /* end confdefs.h. */
14299 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14308 if ac_fn_c_try_compile
"$LINENO"; then :
14309 ac_cv_c_cfi_support
="yes"
14311 ac_cv_c_cfi_support
="no"
14313 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14316 $as_echo "$ac_cv_c_cfi_support" >&6; }
14318 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14319 asm_func_trailer
=""
14320 if test "$ac_cv_c_dot_previous" = "yes"
14322 asm_func_trailer
="\\n\\t.previous"
14324 if test "$ac_cv_c_cfi_support" = "yes"
14326 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14327 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14329 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14331 UNWINDFLAGS
=-fasynchronous-unwind-tables
14334 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14338 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14341 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14343 cat >>confdefs.h
<<_ACEOF
14344 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14348 cat >>confdefs.h
<<_ACEOF
14349 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14354 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14357 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14362 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14369 *i
[3456789]86*|x86_64
*)
14370 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14371 loader_programs
="$loader_programs $wine_binary-preloader"
14372 as_fn_append LOADER_RULES
"
14373 $wine_binary-preloader: preloader.o
14374 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14376 install install-lib:: $wine_binary-preloader
14377 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14380 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14382 preloader_EXTRADEFS = $BUILTINFLAG
14387 as_fn_append LOADER_RULES
"
14388 PROGRAMS = $loader_programs
14392 ac_save_CFLAGS
="$CFLAGS"
14393 CFLAGS
="$CFLAGS $BUILTINFLAG"
14470 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14471 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14472 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14473 cat >>confdefs.h
<<_ACEOF
14474 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14480 CFLAGS
="$ac_save_CFLAGS"
14482 if test "$ac_cv_func_dlopen" = no
14484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14485 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14486 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14487 $as_echo_n "(cached) " >&6
14489 ac_check_lib_save_LIBS
=$LIBS
14491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14492 /* end confdefs.h. */
14494 /* Override any GCC internal prototype to avoid an error.
14495 Use char because int might match the return type of a GCC
14496 builtin and then its argument prototype would still apply. */
14509 if ac_fn_c_try_link
"$LINENO"; then :
14510 ac_cv_lib_dl_dlopen
=yes
14512 ac_cv_lib_dl_dlopen
=no
14514 rm -f core conftest.err conftest.
$ac_objext \
14515 conftest
$ac_exeext conftest.
$ac_ext
14516 LIBS
=$ac_check_lib_save_LIBS
14518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14519 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14520 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14521 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14527 ac_wine_check_funcs_save_LIBS
="$LIBS"
14528 LIBS
="$LIBS $DL_LIBS"
14529 for ac_func
in dladdr
14531 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14532 if test "x$ac_cv_func_dladdr" = xyes
; then :
14533 cat >>confdefs.h
<<_ACEOF
14534 #define HAVE_DLADDR 1
14540 LIBS
="$ac_wine_check_funcs_save_LIBS"
14542 if test "$ac_cv_func_poll" = no
14544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14545 $as_echo_n "checking for poll in -lpoll... " >&6; }
14546 if ${ac_cv_lib_poll_poll+:} false
; then :
14547 $as_echo_n "(cached) " >&6
14549 ac_check_lib_save_LIBS
=$LIBS
14550 LIBS
="-lpoll $LIBS"
14551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14552 /* end confdefs.h. */
14554 /* Override any GCC internal prototype to avoid an error.
14555 Use char because int might match the return type of a GCC
14556 builtin and then its argument prototype would still apply. */
14569 if ac_fn_c_try_link
"$LINENO"; then :
14570 ac_cv_lib_poll_poll
=yes
14572 ac_cv_lib_poll_poll
=no
14574 rm -f core conftest.err conftest.
$ac_objext \
14575 conftest
$ac_exeext conftest.
$ac_ext
14576 LIBS
=$ac_check_lib_save_LIBS
14578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14579 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14580 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14581 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14589 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14590 if ${ac_cv_search_gethostbyname+:} false
; then :
14591 $as_echo_n "(cached) " >&6
14593 ac_func_search_save_LIBS
=$LIBS
14594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14595 /* end confdefs.h. */
14597 /* Override any GCC internal prototype to avoid an error.
14598 Use char because int might match the return type of a GCC
14599 builtin and then its argument prototype would still apply. */
14603 char gethostbyname ();
14607 return gethostbyname ();
14612 for ac_lib
in '' nsl
; do
14613 if test -z "$ac_lib"; then
14614 ac_res
="none required"
14617 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14619 if ac_fn_c_try_link
"$LINENO"; then :
14620 ac_cv_search_gethostbyname
=$ac_res
14622 rm -f core conftest.err conftest.
$ac_objext \
14624 if ${ac_cv_search_gethostbyname+:} false
; then :
14628 if ${ac_cv_search_gethostbyname+:} false
; then :
14631 ac_cv_search_gethostbyname
=no
14633 rm conftest.
$ac_ext
14634 LIBS
=$ac_func_search_save_LIBS
14636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14637 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14638 ac_res
=$ac_cv_search_gethostbyname
14639 if test "$ac_res" != no
; then :
14640 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14646 $as_echo_n "checking for library containing connect... " >&6; }
14647 if ${ac_cv_search_connect+:} false
; then :
14648 $as_echo_n "(cached) " >&6
14650 ac_func_search_save_LIBS
=$LIBS
14651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14652 /* end confdefs.h. */
14654 /* Override any GCC internal prototype to avoid an error.
14655 Use char because int might match the return type of a GCC
14656 builtin and then its argument prototype would still apply. */
14669 for ac_lib
in '' socket
; do
14670 if test -z "$ac_lib"; then
14671 ac_res
="none required"
14674 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14676 if ac_fn_c_try_link
"$LINENO"; then :
14677 ac_cv_search_connect
=$ac_res
14679 rm -f core conftest.err conftest.
$ac_objext \
14681 if ${ac_cv_search_connect+:} false
; then :
14685 if ${ac_cv_search_connect+:} false
; then :
14688 ac_cv_search_connect
=no
14690 rm conftest.
$ac_ext
14691 LIBS
=$ac_func_search_save_LIBS
14693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14694 $as_echo "$ac_cv_search_connect" >&6; }
14695 ac_res
=$ac_cv_search_connect
14696 if test "$ac_res" != no
; then :
14697 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14703 $as_echo_n "checking for library containing inet_aton... " >&6; }
14704 if ${ac_cv_search_inet_aton+:} false
; then :
14705 $as_echo_n "(cached) " >&6
14707 ac_func_search_save_LIBS
=$LIBS
14708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14709 /* end confdefs.h. */
14711 /* Override any GCC internal prototype to avoid an error.
14712 Use char because int might match the return type of a GCC
14713 builtin and then its argument prototype would still apply. */
14721 return inet_aton ();
14726 for ac_lib
in '' resolv
; do
14727 if test -z "$ac_lib"; then
14728 ac_res
="none required"
14731 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14733 if ac_fn_c_try_link
"$LINENO"; then :
14734 ac_cv_search_inet_aton
=$ac_res
14736 rm -f core conftest.err conftest.
$ac_objext \
14738 if ${ac_cv_search_inet_aton+:} false
; then :
14742 if ${ac_cv_search_inet_aton+:} false
; then :
14745 ac_cv_search_inet_aton
=no
14747 rm conftest.
$ac_ext
14748 LIBS
=$ac_func_search_save_LIBS
14750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14751 $as_echo "$ac_cv_search_inet_aton" >&6; }
14752 ac_res
=$ac_cv_search_inet_aton
14753 if test "$ac_res" != no
; then :
14754 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14774 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14775 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14776 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14777 cat >>confdefs.h
<<_ACEOF
14778 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14787 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14788 if ${ac_cv_search_clock_gettime+:} false
; then :
14789 $as_echo_n "(cached) " >&6
14791 ac_func_search_save_LIBS
=$LIBS
14792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14793 /* end confdefs.h. */
14795 /* Override any GCC internal prototype to avoid an error.
14796 Use char because int might match the return type of a GCC
14797 builtin and then its argument prototype would still apply. */
14801 char clock_gettime ();
14805 return clock_gettime ();
14810 for ac_lib
in '' rt
; do
14811 if test -z "$ac_lib"; then
14812 ac_res
="none required"
14815 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14817 if ac_fn_c_try_link
"$LINENO"; then :
14818 ac_cv_search_clock_gettime
=$ac_res
14820 rm -f core conftest.err conftest.
$ac_objext \
14822 if ${ac_cv_search_clock_gettime+:} false
; then :
14826 if ${ac_cv_search_clock_gettime+:} false
; then :
14829 ac_cv_search_clock_gettime
=no
14831 rm conftest.
$ac_ext
14832 LIBS
=$ac_func_search_save_LIBS
14834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14835 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14836 ac_res
=$ac_cv_search_clock_gettime
14837 if test "$ac_res" != no
; then :
14838 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14840 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14842 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
14850 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14852 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14854 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
14855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14856 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14857 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
14858 $as_echo_n "(cached) " >&6
14860 ac_check_lib_save_LIBS
=$LIBS
14861 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
14862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14863 /* end confdefs.h. */
14865 /* Override any GCC internal prototype to avoid an error.
14866 Use char because int might match the return type of a GCC
14867 builtin and then its argument prototype would still apply. */
14871 char ldap_initialize ();
14875 return ldap_initialize ();
14880 if ac_fn_c_try_link
"$LINENO"; then :
14881 ac_cv_lib_ldap_r_ldap_initialize
=yes
14883 ac_cv_lib_ldap_r_ldap_initialize
=no
14885 rm -f core conftest.err conftest.
$ac_objext \
14886 conftest
$ac_exeext conftest.
$ac_ext
14887 LIBS
=$ac_check_lib_save_LIBS
14889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
14890 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
14891 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
14892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
14893 $as_echo_n "checking for ber_init in -llber... " >&6; }
14894 if ${ac_cv_lib_lber_ber_init+:} false
; then :
14895 $as_echo_n "(cached) " >&6
14897 ac_check_lib_save_LIBS
=$LIBS
14898 LIBS
="-llber $PTHREAD_LIBS $LIBS"
14899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14900 /* end confdefs.h. */
14902 /* Override any GCC internal prototype to avoid an error.
14903 Use char because int might match the return type of a GCC
14904 builtin and then its argument prototype would still apply. */
14912 return ber_init ();
14917 if ac_fn_c_try_link
"$LINENO"; then :
14918 ac_cv_lib_lber_ber_init
=yes
14920 ac_cv_lib_lber_ber_init
=no
14922 rm -f core conftest.err conftest.
$ac_objext \
14923 conftest
$ac_exeext conftest.
$ac_ext
14924 LIBS
=$ac_check_lib_save_LIBS
14926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
14927 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
14928 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
14930 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
14932 LDAP_LIBS
="-lldap_r -llber"
14939 ac_wine_check_funcs_save_LIBS
="$LIBS"
14940 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
14942 ldap_count_references \
14943 ldap_first_reference \
14944 ldap_next_reference \
14945 ldap_parse_reference \
14946 ldap_parse_sort_control \
14947 ldap_parse_sortresponse_control \
14948 ldap_parse_vlv_control \
14949 ldap_parse_vlvresponse_control
14951 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14952 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14953 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14954 cat >>confdefs.h
<<_ACEOF
14955 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14961 LIBS
="$ac_wine_check_funcs_save_LIBS"
14963 if test "x$LDAP_LIBS" = "x"; then :
14964 case "x$with_ldap" in
14965 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
14967 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
14968 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
14972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
14973 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
14974 if ${wine_cv_one_arg_mkdir+:} false
; then :
14975 $as_echo_n "(cached) " >&6
14977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14978 /* end confdefs.h. */
14979 #include <sys/stat.h>
14988 if ac_fn_c_try_compile
"$LINENO"; then :
14989 wine_cv_one_arg_mkdir
=yes
14991 wine_cv_one_arg_mkdir
=no
14993 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
14996 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
14997 if test "$wine_cv_one_arg_mkdir" = "yes"
15000 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15005 $as_echo_n "checking for sched_setaffinity... " >&6; }
15006 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15007 $as_echo_n "(cached) " >&6
15009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15010 /* end confdefs.h. */
15011 #define _GNU_SOURCE
15016 sched_setaffinity(0, 0, 0);
15021 if ac_fn_c_try_link
"$LINENO"; then :
15022 wine_cv_have_sched_setaffinity
=yes
15024 wine_cv_have_sched_setaffinity
=no
15026 rm -f core conftest.err conftest.
$ac_objext \
15027 conftest
$ac_exeext conftest.
$ac_ext
15029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15030 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15031 if test "$wine_cv_have_sched_setaffinity" = "yes"
15034 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15039 $as_echo_n "checking for fallocate... " >&6; }
15040 if ${wine_cv_have_fallocate+:} false
; then :
15041 $as_echo_n "(cached) " >&6
15043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15044 /* end confdefs.h. */
15045 #define _GNU_SOURCE
15050 fallocate(-1, 0, 0, 0);
15055 if ac_fn_c_try_link
"$LINENO"; then :
15056 wine_cv_have_fallocate
=yes
15058 wine_cv_have_fallocate
=no
15060 rm -f core conftest.err conftest.
$ac_objext \
15061 conftest
$ac_exeext conftest.
$ac_ext
15063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15064 $as_echo "$wine_cv_have_fallocate" >&6; }
15065 if test "$wine_cv_have_fallocate" = "yes"
15068 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15074 $as_echo_n "checking for inline... " >&6; }
15075 if ${ac_cv_c_inline+:} false
; then :
15076 $as_echo_n "(cached) " >&6
15079 for ac_kw
in inline __inline__ __inline
; do
15080 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15081 /* end confdefs.h. */
15082 #ifndef __cplusplus
15084 static $ac_kw foo_t static_foo () {return 0; }
15085 $ac_kw foo_t foo () {return 0; }
15089 if ac_fn_c_try_compile
"$LINENO"; then :
15090 ac_cv_c_inline
=$ac_kw
15092 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15093 test "$ac_cv_c_inline" != no
&& break
15097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15098 $as_echo "$ac_cv_c_inline" >&6; }
15100 case $ac_cv_c_inline in
15103 case $ac_cv_c_inline in
15105 *) ac_val
=$ac_cv_c_inline;;
15107 cat >>confdefs.h
<<_ACEOF
15108 #ifndef __cplusplus
15109 #define inline $ac_val
15115 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15116 if test "x$ac_cv_type_mode_t" = xyes
; then :
15118 cat >>confdefs.h
<<_ACEOF
15119 #define HAVE_MODE_T 1
15124 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15125 if test "x$ac_cv_type_off_t" = xyes
; then :
15127 cat >>confdefs.h
<<_ACEOF
15128 #define HAVE_OFF_T 1
15133 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15134 if test "x$ac_cv_type_pid_t" = xyes
; then :
15136 cat >>confdefs.h
<<_ACEOF
15137 #define HAVE_PID_T 1
15142 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15143 if test "x$ac_cv_type_size_t" = xyes
; then :
15145 cat >>confdefs.h
<<_ACEOF
15146 #define HAVE_SIZE_T 1
15151 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15152 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15154 cat >>confdefs.h
<<_ACEOF
15155 #define HAVE_SSIZE_T 1
15160 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15161 if test "x$ac_cv_type_long_long" = xyes
; then :
15163 cat >>confdefs.h
<<_ACEOF
15164 #define HAVE_LONG_LONG 1
15169 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15170 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15172 cat >>confdefs.h
<<_ACEOF
15173 #define HAVE_FSBLKCNT_T 1
15178 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15179 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15181 cat >>confdefs.h
<<_ACEOF
15182 #define HAVE_FSFILCNT_T 1
15188 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15189 #include <signal.h>
15191 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15193 cat >>confdefs.h
<<_ACEOF
15194 #define HAVE_SIGSET_T 1
15200 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15202 if test "x$ac_cv_type_request_sense" = xyes
; then :
15204 cat >>confdefs.h
<<_ACEOF
15205 #define HAVE_REQUEST_SENSE 1
15212 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15213 #ifdef HAVE_SYS_SOCKET_H
15214 #include <sys/socket.h>
15216 #ifdef HAVE_SYS_SOCKETVAR_H
15217 #include <sys/socketvar.h>
15219 #ifdef HAVE_NET_ROUTE_H
15220 #include <net/route.h>
15222 #ifdef HAVE_NETINET_IN_H
15223 #include <netinet/in.h>
15225 #ifdef HAVE_NETINET_IN_SYSTM_H
15226 #include <netinet/in_systm.h>
15228 #ifdef HAVE_NETINET_IP_H
15229 #include <netinet/ip.h>
15231 #ifdef HAVE_NETINET_IN_PCB_H
15232 #include <netinet/in_pcb.h>
15235 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15237 cat >>confdefs.h
<<_ACEOF
15238 #define HAVE_STRUCT_XINPGEN 1
15245 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15248 #ifdef HAVE_SYS_LINK_H
15249 #include <sys/link.h>
15252 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15254 cat >>confdefs.h
<<_ACEOF
15255 #define HAVE_STRUCT_R_DEBUG 1
15260 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15263 #ifdef HAVE_SYS_LINK_H
15264 #include <sys/link.h>
15267 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15269 cat >>confdefs.h
<<_ACEOF
15270 #define HAVE_STRUCT_LINK_MAP 1
15277 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15278 #include <linux/input.h>
15281 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15283 cat >>confdefs.h
<<_ACEOF
15284 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15292 $as_echo_n "checking for sigaddset... " >&6; }
15293 if ${wine_cv_have_sigaddset+:} false
; then :
15294 $as_echo_n "(cached) " >&6
15296 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15297 /* end confdefs.h. */
15298 #include <signal.h>
15302 sigset_t set; sigaddset(&set,SIGTERM);
15307 if ac_fn_c_try_link
"$LINENO"; then :
15308 wine_cv_have_sigaddset
=yes
15310 wine_cv_have_sigaddset
=no
15312 rm -f core conftest.err conftest.
$ac_objext \
15313 conftest
$ac_exeext conftest.
$ac_ext
15315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15316 $as_echo "$wine_cv_have_sigaddset" >&6; }
15317 if test "$wine_cv_have_sigaddset" = "yes"
15320 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15326 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15327 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15328 $as_echo_n "(cached) " >&6
15330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15331 /* end confdefs.h. */
15339 struct hostent *result;
15346 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15347 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15353 if ac_fn_c_try_link
"$LINENO"; then :
15354 wine_cv_linux_gethostbyname_r_6
=yes
15356 wine_cv_linux_gethostbyname_r_6
=no
15359 rm -f core conftest.err conftest.
$ac_objext \
15360 conftest
$ac_exeext conftest.
$ac_ext
15363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15364 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15365 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15368 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15372 if test "$ac_cv_header_linux_joystick_h" = "yes"
15374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15375 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15376 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15377 $as_echo_n "(cached) " >&6
15379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15380 /* end confdefs.h. */
15382 #include <sys/ioctl.h>
15383 #include <sys/types.h>
15384 #include <linux/joystick.h>
15386 struct js_event blub;
15387 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15388 #error "no 2.2 header"
15399 if ac_fn_c_try_compile
"$LINENO"; then :
15400 wine_cv_linux_joystick_22_api
=yes
15402 wine_cv_linux_joystick_22_api
=no
15404 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15408 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15409 if test "$wine_cv_linux_joystick_22_api" = "yes"
15412 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15418 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15419 #ifdef HAVE_SYS_PARAM_H
15420 # include <sys/param.h>
15422 #ifdef HAVE_SYS_MOUNT_H
15423 # include <sys/mount.h>
15425 #ifdef HAVE_SYS_VFS_H
15426 # include <sys/vfs.h>
15428 #ifdef HAVE_SYS_STATFS_H
15429 # include <sys/statfs.h>
15432 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15434 cat >>confdefs.h
<<_ACEOF
15435 #define HAVE_STRUCT_STATFS_F_BFREE 1
15440 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15441 #ifdef HAVE_SYS_PARAM_H
15442 # include <sys/param.h>
15444 #ifdef HAVE_SYS_MOUNT_H
15445 # include <sys/mount.h>
15447 #ifdef HAVE_SYS_VFS_H
15448 # include <sys/vfs.h>
15450 #ifdef HAVE_SYS_STATFS_H
15451 # include <sys/statfs.h>
15454 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15456 cat >>confdefs.h
<<_ACEOF
15457 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15462 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15463 #ifdef HAVE_SYS_PARAM_H
15464 # include <sys/param.h>
15466 #ifdef HAVE_SYS_MOUNT_H
15467 # include <sys/mount.h>
15469 #ifdef HAVE_SYS_VFS_H
15470 # include <sys/vfs.h>
15472 #ifdef HAVE_SYS_STATFS_H
15473 # include <sys/statfs.h>
15476 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15478 cat >>confdefs.h
<<_ACEOF
15479 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15484 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15485 #ifdef HAVE_SYS_PARAM_H
15486 # include <sys/param.h>
15488 #ifdef HAVE_SYS_MOUNT_H
15489 # include <sys/mount.h>
15491 #ifdef HAVE_SYS_VFS_H
15492 # include <sys/vfs.h>
15494 #ifdef HAVE_SYS_STATFS_H
15495 # include <sys/statfs.h>
15498 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15500 cat >>confdefs.h
<<_ACEOF
15501 #define HAVE_STRUCT_STATFS_F_FFREE 1
15506 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15507 #ifdef HAVE_SYS_PARAM_H
15508 # include <sys/param.h>
15510 #ifdef HAVE_SYS_MOUNT_H
15511 # include <sys/mount.h>
15513 #ifdef HAVE_SYS_VFS_H
15514 # include <sys/vfs.h>
15516 #ifdef HAVE_SYS_STATFS_H
15517 # include <sys/statfs.h>
15520 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15522 cat >>confdefs.h
<<_ACEOF
15523 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15528 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15529 #ifdef HAVE_SYS_PARAM_H
15530 # include <sys/param.h>
15532 #ifdef HAVE_SYS_MOUNT_H
15533 # include <sys/mount.h>
15535 #ifdef HAVE_SYS_VFS_H
15536 # include <sys/vfs.h>
15538 #ifdef HAVE_SYS_STATFS_H
15539 # include <sys/statfs.h>
15542 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15544 cat >>confdefs.h
<<_ACEOF
15545 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15552 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15553 #include <sys/statvfs.h>
15556 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15558 cat >>confdefs.h
<<_ACEOF
15559 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15566 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15567 #include <dirent.h>
15570 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15572 cat >>confdefs.h
<<_ACEOF
15573 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15580 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15581 #ifdef HAVE_SYS_SOCKET_H
15582 # include <sys/socket.h>
15584 #ifdef HAVE_SYS_UN_H
15585 # include <sys/un.h>
15588 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15590 cat >>confdefs.h
<<_ACEOF
15591 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15596 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15597 #ifdef HAVE_SYS_SOCKET_H
15598 # include <sys/socket.h>
15600 #ifdef HAVE_SYS_UN_H
15601 # include <sys/un.h>
15604 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15606 cat >>confdefs.h
<<_ACEOF
15607 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15612 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15613 #ifdef HAVE_SYS_SOCKET_H
15614 # include <sys/socket.h>
15616 #ifdef HAVE_SYS_UN_H
15617 # include <sys/un.h>
15620 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15622 cat >>confdefs.h
<<_ACEOF
15623 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15630 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15631 #ifdef HAVE_SCSI_SG_H
15632 #include <scsi/sg.h>
15635 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15637 cat >>confdefs.h
<<_ACEOF
15638 #define HAVE_SCSIREQ_T_CMD 1
15643 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>
15644 #ifdef HAVE_SCSI_SG_H
15645 #include <scsi/sg.h>
15648 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15650 cat >>confdefs.h
<<_ACEOF
15651 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15658 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15660 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15662 cat >>confdefs.h
<<_ACEOF
15663 #define HAVE_SIGINFO_T_SI_FD 1
15670 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15671 #ifdef HAVE_SYS_MTIO_H
15672 #include <sys/mtio.h>
15675 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15677 cat >>confdefs.h
<<_ACEOF
15678 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15683 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15684 #ifdef HAVE_SYS_MTIO_H
15685 #include <sys/mtio.h>
15688 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
15690 cat >>confdefs.h
<<_ACEOF
15691 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15696 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15697 #ifdef HAVE_SYS_MTIO_H
15698 #include <sys/mtio.h>
15701 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
15703 cat >>confdefs.h
<<_ACEOF
15704 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15711 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15712 #include <getopt.h>
15715 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
15717 cat >>confdefs.h
<<_ACEOF
15718 #define HAVE_STRUCT_OPTION_NAME 1
15725 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15726 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
15728 cat >>confdefs.h
<<_ACEOF
15729 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15734 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15735 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
15737 cat >>confdefs.h
<<_ACEOF
15738 #define HAVE_STRUCT_STAT_ST_MTIM 1
15743 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15744 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
15746 cat >>confdefs.h
<<_ACEOF
15747 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15752 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15753 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
15755 cat >>confdefs.h
<<_ACEOF
15756 #define HAVE_STRUCT_STAT_ST_CTIM 1
15761 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15762 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
15764 cat >>confdefs.h
<<_ACEOF
15765 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15770 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15771 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
15773 cat >>confdefs.h
<<_ACEOF
15774 #define HAVE_STRUCT_STAT_ST_ATIM 1
15779 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15780 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
15782 cat >>confdefs.h
<<_ACEOF
15783 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15788 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15789 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
15791 cat >>confdefs.h
<<_ACEOF
15792 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15797 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15798 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
15800 cat >>confdefs.h
<<_ACEOF
15801 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15806 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15807 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
15809 cat >>confdefs.h
<<_ACEOF
15810 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15815 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15816 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
15818 cat >>confdefs.h
<<_ACEOF
15819 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15824 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15825 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
15827 cat >>confdefs.h
<<_ACEOF
15828 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15835 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
15836 #include <sys/types.h>
15838 #ifdef HAVE_NETINET_IN_H
15839 #include <netinet/in.h>
15842 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
15844 cat >>confdefs.h
<<_ACEOF
15845 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15852 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15853 #include <resolv.h>
15856 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
15858 cat >>confdefs.h
<<_ACEOF
15859 #define HAVE_STRUCT___RES_STATE 1
15866 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
15867 #include <resolv.h>
15870 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
15872 cat >>confdefs.h
<<_ACEOF
15873 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
15880 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
15881 #include <sys/types.h>
15883 #ifdef HAVE_NETINET_IN_H
15884 # include <netinet/in.h>
15886 #ifdef HAVE_ARPA_NAMESER_H
15887 # include <arpa/nameser.h>
15890 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
15892 cat >>confdefs.h
<<_ACEOF
15893 #define HAVE_NS_MSG__MSG_PTR 1
15900 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
15901 #include <sys/types.h>
15903 #ifdef HAVE_NETINET_IP_H
15904 #include <netinet/ip.h>
15906 #ifdef HAVE_NETINET_IP_ICMP_H
15907 #include <netinet/ip_icmp.h>
15909 #ifdef HAVE_NETINET_ICMP_VAR_H
15910 #include <netinet/icmp_var.h>
15913 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
15915 cat >>confdefs.h
<<_ACEOF
15916 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
15923 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
15924 #include <sys/types.h>
15926 #ifdef HAVE_ALIAS_H
15929 #ifdef HAVE_SYS_SOCKET_H
15930 #include <sys/socket.h>
15932 #ifdef HAVE_SYS_SOCKETVAR_H
15933 #include <sys/socketvar.h>
15935 #ifdef HAVE_SYS_TIMEOUT_H
15936 #include <sys/timeout.h>
15938 #ifdef HAVE_NETINET_IN_H
15939 #include <netinet/in.h>
15941 #ifdef HAVE_NETINET_IN_SYSTM_H
15942 #include <netinet/in_systm.h>
15944 #ifdef HAVE_NETINET_IP_H
15945 #include <netinet/ip.h>
15947 #ifdef HAVE_NETINET_IP_VAR_H
15948 #include <netinet/ip_var.h>
15950 #ifdef HAVE_NETINET_IP_ICMP_H
15951 #include <netinet/ip_icmp.h>
15953 #ifdef HAVE_NETINET_ICMP_VAR_H
15954 #include <netinet/icmp_var.h>
15957 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
15959 cat >>confdefs.h
<<_ACEOF
15960 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
15967 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
15968 #include <sys/types.h>
15970 #ifdef HAVE_SYS_SOCKETVAR_H
15971 #include <sys/socketvar.h>
15973 #ifdef HAVE_NETINET_IN_H
15974 #include <netinet/in.h>
15976 #ifdef HAVE_NETINET_IP_VAR_H
15977 #include <netinet/ip_var.h>
15980 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
15982 cat >>confdefs.h
<<_ACEOF
15983 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
15990 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
15991 #include <netinet/ip_var.h>
15994 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
15996 cat >>confdefs.h
<<_ACEOF
15997 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16004 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16005 #include <sys/types.h>
16007 #ifdef HAVE_SYS_SOCKETVAR_H
16008 #include <sys/socketvar.h>
16010 #ifdef HAVE_NETINET_IN_H
16011 #include <netinet/in.h>
16013 #ifdef HAVE_NETINET_TCP_H
16014 #include <netinet/tcp.h>
16016 #ifdef HAVE_NETINET_TCP_VAR_H
16017 #include <netinet/tcp_var.h>
16020 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16022 cat >>confdefs.h
<<_ACEOF
16023 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16030 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
16031 #include <netinet/tcp_var.h>
16034 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16036 cat >>confdefs.h
<<_ACEOF
16037 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16044 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16045 #include <sys/types.h>
16047 #ifdef HAVE_NETINET_IN_H
16048 #include <netinet/in.h>
16050 #ifdef HAVE_NETINET_IP_VAR_H
16051 #include <netinet/ip_var.h>
16053 #ifdef HAVE_NETINET_UDP_H
16054 #include <netinet/udp.h>
16056 #ifdef HAVE_NETINET_UDP_VAR_H
16057 #include <netinet/udp_var.h>
16060 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16062 cat >>confdefs.h
<<_ACEOF
16063 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16070 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16071 #include <sys/types.h>
16073 #ifdef HAVE_NET_IF_H
16074 # include <net/if.h>
16077 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16079 cat >>confdefs.h
<<_ACEOF
16080 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16088 $as_echo_n "checking for timezone variable... " >&6; }
16089 if ${ac_cv_have_timezone+:} false
; then :
16090 $as_echo_n "(cached) " >&6
16092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16093 /* end confdefs.h. */
16103 if ac_fn_c_try_link
"$LINENO"; then :
16104 ac_cv_have_timezone
="yes"
16106 ac_cv_have_timezone
="no"
16108 rm -f core conftest.err conftest.
$ac_objext \
16109 conftest
$ac_exeext conftest.
$ac_ext
16111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16112 $as_echo "$ac_cv_have_timezone" >&6; }
16113 if test "$ac_cv_have_timezone" = "yes"
16116 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16120 $as_echo_n "checking for daylight variable... " >&6; }
16121 if ${ac_cv_have_daylight+:} false
; then :
16122 $as_echo_n "(cached) " >&6
16124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16125 /* end confdefs.h. */
16135 if ac_fn_c_try_link
"$LINENO"; then :
16136 ac_cv_have_daylight
="yes"
16138 ac_cv_have_daylight
="no"
16140 rm -f core conftest.err conftest.
$ac_objext \
16141 conftest
$ac_exeext conftest.
$ac_ext
16143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16144 $as_echo "$ac_cv_have_daylight" >&6; }
16145 if test "$ac_cv_have_daylight" = "yes"
16148 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16152 ac_save_LIBS
="$LIBS"
16154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16155 $as_echo_n "checking for isfinite... " >&6; }
16156 if ${ac_cv_have_isfinite+:} false
; then :
16157 $as_echo_n "(cached) " >&6
16159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16160 /* end confdefs.h. */
16161 #define _GNU_SOURCE
16166 float f = 0.0; return isfinite(f)
16171 if ac_fn_c_try_link
"$LINENO"; then :
16172 ac_cv_have_isfinite
="yes"
16174 ac_cv_have_isfinite
="no"
16176 rm -f core conftest.err conftest.
$ac_objext \
16177 conftest
$ac_exeext conftest.
$ac_ext
16179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16180 $as_echo "$ac_cv_have_isfinite" >&6; }
16181 if test "$ac_cv_have_isfinite" = "yes"
16184 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16188 ac_save_LIBS
="$LIBS"
16190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16191 $as_echo_n "checking for isinf... " >&6; }
16192 if ${ac_cv_have_isinf+:} false
; then :
16193 $as_echo_n "(cached) " >&6
16195 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16196 /* end confdefs.h. */
16201 float f = 0.0; return isinf(f)
16206 if ac_fn_c_try_link
"$LINENO"; then :
16207 ac_cv_have_isinf
="yes"
16209 ac_cv_have_isinf
="no"
16211 rm -f core conftest.err conftest.
$ac_objext \
16212 conftest
$ac_exeext conftest.
$ac_ext
16214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16215 $as_echo "$ac_cv_have_isinf" >&6; }
16216 if test "$ac_cv_have_isinf" = "yes"
16219 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16224 $as_echo_n "checking for isnan... " >&6; }
16225 if ${ac_cv_have_isnan+:} false
; then :
16226 $as_echo_n "(cached) " >&6
16228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16229 /* end confdefs.h. */
16234 float f = 0.0; return isnan(f)
16239 if ac_fn_c_try_link
"$LINENO"; then :
16240 ac_cv_have_isnan
="yes"
16242 ac_cv_have_isnan
="no"
16244 rm -f core conftest.err conftest.
$ac_objext \
16245 conftest
$ac_exeext conftest.
$ac_ext
16247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16248 $as_echo "$ac_cv_have_isnan" >&6; }
16249 if test "$ac_cv_have_isnan" = "yes"
16252 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16255 LIBS
="$ac_save_LIBS"
16259 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16260 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16261 if ${ac_cv_cpp_def___i386__+:} false
; then :
16262 $as_echo_n "(cached) " >&6
16264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16265 /* end confdefs.h. */
16270 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16271 $EGREP "yes" >/dev
/null
2>&1; then :
16272 ac_cv_cpp_def___i386__
=yes
16274 ac_cv_cpp_def___i386__
=no
16279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16280 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16281 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16282 CFLAGS
="$CFLAGS -D__i386__"
16283 LINTFLAGS
="$LINTFLAGS -D__i386__"
16285 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16286 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16287 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16288 $as_echo_n "(cached) " >&6
16290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16291 /* end confdefs.h. */
16296 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16297 $EGREP "yes" >/dev
/null
2>&1; then :
16298 ac_cv_cpp_def___x86_64__
=yes
16300 ac_cv_cpp_def___x86_64__
=no
16305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16306 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16307 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16308 CFLAGS
="$CFLAGS -D__x86_64__"
16309 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16311 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16312 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16313 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16314 $as_echo_n "(cached) " >&6
16316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16317 /* end confdefs.h. */
16318 #ifndef __sparc64__
16322 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16323 $EGREP "yes" >/dev
/null
2>&1; then :
16324 ac_cv_cpp_def___sparc64__
=yes
16326 ac_cv_cpp_def___sparc64__
=no
16331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16332 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16333 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16334 CFLAGS
="$CFLAGS -D__sparc64__"
16335 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16337 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16338 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16339 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16340 $as_echo_n "(cached) " >&6
16342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16343 /* end confdefs.h. */
16348 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16349 $EGREP "yes" >/dev
/null
2>&1; then :
16350 ac_cv_cpp_def___sparc__
=yes
16352 ac_cv_cpp_def___sparc__
=no
16357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16358 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16359 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16360 CFLAGS
="$CFLAGS -D__sparc__"
16361 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16363 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16364 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16365 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16366 $as_echo_n "(cached) " >&6
16368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16369 /* end confdefs.h. */
16370 #ifndef __powerpc64__
16374 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16375 $EGREP "yes" >/dev
/null
2>&1; then :
16376 ac_cv_cpp_def___powerpc64__
=yes
16378 ac_cv_cpp_def___powerpc64__
=no
16383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16384 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16385 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
16386 CFLAGS
="$CFLAGS -D__powerpc64__"
16387 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16389 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16390 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16391 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16392 $as_echo_n "(cached) " >&6
16394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16395 /* end confdefs.h. */
16396 #ifndef __powerpc__
16400 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16401 $EGREP "yes" >/dev
/null
2>&1; then :
16402 ac_cv_cpp_def___powerpc__
=yes
16404 ac_cv_cpp_def___powerpc__
=no
16409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16410 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16411 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
16412 CFLAGS
="$CFLAGS -D__powerpc__"
16413 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16415 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16416 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16417 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16418 $as_echo_n "(cached) " >&6
16420 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16421 /* end confdefs.h. */
16422 #ifndef __aarch64__
16426 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16427 $EGREP "yes" >/dev
/null
2>&1; then :
16428 ac_cv_cpp_def___aarch64__
=yes
16430 ac_cv_cpp_def___aarch64__
=no
16435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16436 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16437 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
16438 CFLAGS
="$CFLAGS -D__aarch64__"
16439 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16441 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16442 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16443 if ${ac_cv_cpp_def___arm__+:} false
; then :
16444 $as_echo_n "(cached) " >&6
16446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16447 /* end confdefs.h. */
16452 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16453 $EGREP "yes" >/dev
/null
2>&1; then :
16454 ac_cv_cpp_def___arm__
=yes
16456 ac_cv_cpp_def___arm__
=no
16461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16462 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16463 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
16464 CFLAGS
="$CFLAGS -D__arm__"
16465 LINTFLAGS
="$LINTFLAGS -D__arm__"
16469 case $host_vendor in
16470 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16471 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16472 if ${ac_cv_cpp_def___sun__+:} false
; then :
16473 $as_echo_n "(cached) " >&6
16475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16476 /* end confdefs.h. */
16481 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16482 $EGREP "yes" >/dev
/null
2>&1; then :
16483 ac_cv_cpp_def___sun__
=yes
16485 ac_cv_cpp_def___sun__
=no
16490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16491 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16492 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
16493 CFLAGS
="$CFLAGS -D__sun__"
16494 LINTFLAGS
="$LINTFLAGS -D__sun__"
16502 ac_config_commands
="$ac_config_commands include/stamp-h"
16504 $as_echo_n "creating Makefile rules..." >&6
16506 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
16507 SOCKET_LIBS = $SOCKET_LIBS
16508 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16509 IOKIT_LIBS = $IOKIT_LIBS
16510 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16511 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16512 CORESERVICES_LIBS = $CORESERVICES_LIBS
16513 APPKIT_LIBS = $APPKIT_LIBS
16514 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16515 SECURITY_LIBS = $SECURITY_LIBS
16516 COREAUDIO_LIBS = $COREAUDIO_LIBS
16517 OPENAL_LIBS = $OPENAL_LIBS
16518 OPENCL_LIBS = $OPENCL_LIBS
16519 QUICKTIME_LIBS = $QUICKTIME_LIBS
16520 CARBON_LIBS = $CARBON_LIBS
16521 PTHREAD_LIBS = $PTHREAD_LIBS
16522 X_CFLAGS = $X_CFLAGS
16523 X_PRE_LIBS = $X_PRE_LIBS
16525 X_EXTRA_LIBS = $X_EXTRA_LIBS
16526 XML2_CFLAGS = $XML2_CFLAGS
16527 XML2_LIBS = $XML2_LIBS
16528 XSLT_CFLAGS = $XSLT_CFLAGS
16529 XSLT_LIBS = $XSLT_LIBS
16530 DBUS_CFLAGS = $DBUS_CFLAGS
16531 DBUS_LIBS = $DBUS_LIBS
16532 HAL_CFLAGS = $HAL_CFLAGS
16533 HAL_LIBS = $HAL_LIBS
16534 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16535 GNUTLS_LIBS = $GNUTLS_LIBS
16536 SANE_CFLAGS = $SANE_CFLAGS
16537 SANE_LIBS = $SANE_LIBS
16538 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16539 GPHOTO2_LIBS = $GPHOTO2_LIBS
16540 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16541 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16542 RESOLV_LIBS = $RESOLV_LIBS
16543 LCMS2_CFLAGS = $LCMS2_CFLAGS
16544 LCMS2_LIBS = $LCMS2_LIBS
16545 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16546 FREETYPE_LIBS = $FREETYPE_LIBS
16548 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16549 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16550 GSTREAMER_LIBS = $GSTREAMER_LIBS
16551 ALSA_LIBS = $ALSA_LIBS
16552 OSS4_CFLAGS = $OSS4_CFLAGS
16553 CAPI20_CFLAGS = $CAPI20_CFLAGS
16554 CAPI20_LIBS = $CAPI20_LIBS
16555 CUPS_CFLAGS = $CUPS_CFLAGS
16556 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16557 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16558 JPEG_CFLAGS = $JPEG_CFLAGS
16559 JPEG_LIBS = $JPEG_LIBS
16560 PNG_CFLAGS = $PNG_CFLAGS
16561 PNG_LIBS = $PNG_LIBS
16562 TIFF_CFLAGS = $TIFF_CFLAGS
16563 TIFF_LIBS = $TIFF_LIBS
16564 MPG123_CFLAGS = $MPG123_CFLAGS
16565 MPG123_LIBS = $MPG123_LIBS
16566 KSTAT_LIBS = $KSTAT_LIBS
16567 PROCSTAT_LIBS = $PROCSTAT_LIBS
16569 POLL_LIBS = $POLL_LIBS
16571 LDAP_LIBS = $LDAP_LIBS
16576 wine_fn_append_rule
"
16577 # Rules automatically generated by configure
16579 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16584 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16585 @./config.status Make.tmp Makefile"
16587 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
16588 .gitignore: config.status
16589 @./config.status .gitignore"
16591 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
16592 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16594 if test "x$enable_fonts" != xno
; then
16595 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16596 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16597 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16598 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16599 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16601 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16602 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
16603 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16604 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16605 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16606 wine_fn_config_symlink wine
16607 if test "x$enable_win64" != xno
; then
16608 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16609 wine_fn_config_symlink wine64
16612 wine_fn_config_dll acledit enable_acledit
16613 wine_fn_config_dll aclui enable_aclui implib
16614 wine_fn_config_dll activeds enable_activeds implib
16615 wine_fn_config_dll actxprxy enable_actxprxy clean
16616 wine_fn_config_lib adsiid
16617 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
16618 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
16619 wine_fn_config_dll advpack enable_advpack implib
16620 wine_fn_config_test dlls
/advpack
/tests advpack_test
16621 wine_fn_config_dll amstream enable_amstream clean
16622 wine_fn_config_test dlls
/amstream
/tests amstream_test
16623 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16624 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16625 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16626 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16627 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16628 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16629 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16630 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16631 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16632 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16633 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16634 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16635 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16636 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16637 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16638 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16639 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16640 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16641 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16642 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16643 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16644 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16645 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16646 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16647 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16648 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16649 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16650 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16651 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16652 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16653 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16654 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16655 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16656 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16657 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16658 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16659 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16660 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16661 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16662 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16663 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16664 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16665 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16666 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16667 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16668 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16669 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16670 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16671 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16672 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16673 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16674 wine_fn_config_dll apphelp enable_apphelp
16675 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
16676 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16677 wine_fn_config_dll atl enable_atl clean
,implib
16678 wine_fn_config_test dlls
/atl
/tests atl_test
16679 wine_fn_config_dll atl100 enable_atl100 implib
16680 wine_fn_config_test dlls
/atl100
/tests atl100_test
16681 wine_fn_config_dll atl110 enable_atl110
16682 wine_fn_config_dll atl80 enable_atl80 implib
16683 wine_fn_config_test dlls
/atl80
/tests atl80_test
16684 wine_fn_config_dll atl90 enable_atl90
16685 wine_fn_config_dll authz enable_authz
16686 wine_fn_config_dll avicap32 enable_avicap32 implib
16687 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
16688 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
16689 wine_fn_config_dll avifile.dll16 enable_win16
16690 wine_fn_config_dll avrt enable_avrt implib
16691 wine_fn_config_dll bcrypt enable_bcrypt
16692 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
16693 wine_fn_config_dll browseui enable_browseui clean
,po
16694 wine_fn_config_test dlls
/browseui
/tests browseui_test
16695 wine_fn_config_dll cabinet enable_cabinet implib
16696 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
16697 wine_fn_config_dll capi2032 enable_capi2032 implib
16698 wine_fn_config_dll cards enable_cards implib
16699 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16700 wine_fn_config_dll clusapi enable_clusapi implib
16701 wine_fn_config_dll comcat enable_comcat
16702 wine_fn_config_test dlls
/comcat
/tests comcat_test
16703 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
16704 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
16705 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
16706 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
16707 wine_fn_config_dll
comm.drv16 enable_win16
16708 wine_fn_config_dll commdlg.dll16 enable_win16
16709 wine_fn_config_dll compobj.dll16 enable_win16
16710 wine_fn_config_dll compstui enable_compstui implib
16711 wine_fn_config_dll comsvcs enable_comsvcs implib
16712 wine_fn_config_dll credui enable_credui implib
,po
16713 wine_fn_config_test dlls
/credui
/tests credui_test
16714 wine_fn_config_dll crtdll enable_crtdll implib
16715 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
16716 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
16717 wine_fn_config_dll cryptdlg enable_cryptdlg po
16718 wine_fn_config_dll cryptdll enable_cryptdll implib
16719 wine_fn_config_dll cryptnet enable_cryptnet implib
16720 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
16721 wine_fn_config_dll cryptui enable_cryptui implib
,po
16722 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
16723 wine_fn_config_dll ctapi32 enable_ctapi32
16724 wine_fn_config_dll ctl3d.dll16 enable_win16
16725 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16726 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16727 wine_fn_config_dll d2d1 enable_d2d1 implib
16728 wine_fn_config_dll d3d10 enable_d3d10 implib
16729 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
16730 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16731 wine_fn_config_dll d3d10core enable_d3d10core implib
16732 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
16733 wine_fn_config_dll d3d11 enable_d3d11
16734 wine_fn_config_dll d3d8 enable_d3d8 implib
16735 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
16736 wine_fn_config_dll d3d9 enable_d3d9 implib
16737 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
16738 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16739 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16740 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16741 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16742 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16743 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16744 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16745 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16746 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16747 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16748 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16749 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
16750 wine_fn_config_dll d3dim enable_d3dim implib
16751 wine_fn_config_dll d3drm enable_d3drm implib
16752 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
16753 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16754 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16755 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16756 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16757 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16758 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16759 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16760 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16761 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16762 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16763 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16764 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16765 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16766 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16767 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16768 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16769 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16770 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16771 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16772 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16773 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16774 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16775 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16776 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16777 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16778 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16779 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
16780 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16781 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16782 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16783 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16784 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16785 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16786 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16787 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
16788 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
16789 wine_fn_config_dll dbgeng enable_dbgeng implib
16790 wine_fn_config_dll dbghelp enable_dbghelp implib
16791 wine_fn_config_dll dciman32 enable_dciman32 implib
16792 wine_fn_config_dll ddeml.dll16 enable_win16
16793 wine_fn_config_dll ddraw enable_ddraw clean
,implib
16794 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
16795 wine_fn_config_dll ddrawex enable_ddrawex clean
16796 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
16797 wine_fn_config_dll devenum enable_devenum clean
,po
16798 wine_fn_config_test dlls
/devenum
/tests devenum_test
16799 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16800 wine_fn_config_dll difxapi enable_difxapi
16801 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
16802 wine_fn_config_test dlls
/dinput
/tests dinput_test
16803 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
16804 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
16805 wine_fn_config_dll dispdib.dll16 enable_win16
16806 wine_fn_config_dll dispex enable_dispex clean
16807 wine_fn_config_test dlls
/dispex
/tests dispex_test
16808 wine_fn_config_dll display.drv16 enable_win16
16809 wine_fn_config_dll dmband enable_dmband clean
16810 wine_fn_config_test dlls
/dmband
/tests dmband_test
16811 wine_fn_config_dll dmcompos enable_dmcompos clean
16812 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
16813 wine_fn_config_dll dmime enable_dmime clean
16814 wine_fn_config_test dlls
/dmime
/tests dmime_test
16815 wine_fn_config_dll dmloader enable_dmloader clean
16816 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
16817 wine_fn_config_dll dmscript enable_dmscript clean
16818 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
16819 wine_fn_config_dll dmstyle enable_dmstyle clean
16820 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
16821 wine_fn_config_dll dmsynth enable_dmsynth clean
16822 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
16823 wine_fn_config_dll dmusic enable_dmusic clean
16824 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
16825 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16826 wine_fn_config_dll dnsapi enable_dnsapi implib
16827 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
16828 wine_fn_config_dll dplay enable_dplay implib
16829 wine_fn_config_dll dplayx enable_dplayx clean
,implib
16830 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
16831 wine_fn_config_dll dpnaddr enable_dpnaddr
16832 wine_fn_config_dll dpnet enable_dpnet clean
,implib
16833 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
16834 wine_fn_config_dll dpnhpast enable_dpnhpast
16835 wine_fn_config_dll dpnlobby enable_dpnlobby
16836 wine_fn_config_dll dpwsockx enable_dpwsockx
16837 wine_fn_config_dll drmclien enable_drmclien
16838 wine_fn_config_dll dsound enable_dsound clean
,implib
16839 wine_fn_config_test dlls
/dsound
/tests dsound_test
16840 wine_fn_config_dll dssenh enable_dssenh
16841 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
16842 wine_fn_config_dll dswave enable_dswave clean
16843 wine_fn_config_test dlls
/dswave
/tests dswave_test
16844 wine_fn_config_dll dwmapi enable_dwmapi implib
16845 wine_fn_config_dll dwrite enable_dwrite implib
16846 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
16847 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
16848 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
16849 wine_fn_config_lib dxerr8
16850 wine_fn_config_lib dxerr9
16851 wine_fn_config_dll dxgi enable_dxgi implib
16852 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
16853 wine_fn_config_lib dxguid
16854 wine_fn_config_dll explorerframe enable_explorerframe clean
16855 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
16856 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
16857 wine_fn_config_dll faultrep enable_faultrep implib
16858 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
16859 wine_fn_config_dll fltlib enable_fltlib
16860 wine_fn_config_dll fntcache enable_fntcache
16861 wine_fn_config_dll fontsub enable_fontsub
16862 wine_fn_config_dll fusion enable_fusion
16863 wine_fn_config_test dlls
/fusion
/tests fusion_test
16864 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16865 wine_fn_config_dll gameux enable_gameux clean
16866 wine_fn_config_test dlls
/gameux
/tests gameux_test
16867 wine_fn_config_dll gdi.exe16 enable_win16
16868 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
16869 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
16870 wine_fn_config_dll gdiplus enable_gdiplus implib
16871 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
16872 wine_fn_config_dll glu32 enable_glu32 implib
16873 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16874 wine_fn_config_dll gpkcsp enable_gpkcsp
16875 wine_fn_config_dll hal enable_hal
16876 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
16877 wine_fn_config_dll hid enable_hid implib
16878 wine_fn_config_dll hlink enable_hlink clean
,implib
16879 wine_fn_config_test dlls
/hlink
/tests hlink_test
16880 wine_fn_config_dll hnetcfg enable_hnetcfg clean
16881 wine_fn_config_dll httpapi enable_httpapi
16882 wine_fn_config_dll iccvid enable_iccvid po
16883 wine_fn_config_dll icmp enable_icmp
16884 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
16885 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
16886 wine_fn_config_dll ifsmgr.vxd enable_win16
16887 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
16888 wine_fn_config_dll imagehlp enable_imagehlp implib
16889 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
16890 wine_fn_config_dll imm.dll16 enable_win16
16891 wine_fn_config_dll imm32 enable_imm32 implib
16892 wine_fn_config_test dlls
/imm32
/tests imm32_test
16893 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
16894 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
16895 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
16896 wine_fn_config_dll inetmib1 enable_inetmib1
16897 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
16898 wine_fn_config_dll infosoft enable_infosoft clean
16899 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
16900 wine_fn_config_dll initpki enable_initpki
16901 wine_fn_config_dll inkobj enable_inkobj
16902 wine_fn_config_dll inseng enable_inseng clean
16903 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16904 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
16905 wine_fn_config_dll itircl enable_itircl
16906 wine_fn_config_dll itss enable_itss clean
16907 wine_fn_config_test dlls
/itss
/tests itss_test
16908 wine_fn_config_dll joy.cpl enable_joy_cpl po
16909 wine_fn_config_dll jscript enable_jscript clean
,po
16910 wine_fn_config_test dlls
/jscript
/tests jscript_test
16911 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
16912 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
16913 wine_fn_config_dll keyboard.drv16 enable_win16
16914 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16915 wine_fn_config_dll ktmw32 enable_ktmw32
16916 wine_fn_config_dll loadperf enable_loadperf implib
16917 wine_fn_config_dll localspl enable_localspl po
16918 wine_fn_config_test dlls
/localspl
/tests localspl_test
16919 wine_fn_config_dll localui enable_localui po
16920 wine_fn_config_test dlls
/localui
/tests localui_test
16921 wine_fn_config_dll lz32 enable_lz32 implib
16922 wine_fn_config_test dlls
/lz32
/tests lz32_test
16923 wine_fn_config_dll lzexpand.dll16 enable_win16
16924 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
16925 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
16926 wine_fn_config_dll mapistub enable_mapistub
16927 wine_fn_config_dll mciavi32 enable_mciavi32
16928 wine_fn_config_dll mcicda enable_mcicda
16929 wine_fn_config_dll mciqtz32 enable_mciqtz32
16930 wine_fn_config_dll mciseq enable_mciseq
16931 wine_fn_config_dll mciwave enable_mciwave
16932 wine_fn_config_dll mgmtapi enable_mgmtapi
16933 wine_fn_config_dll midimap enable_midimap
16934 wine_fn_config_dll mlang enable_mlang clean
,implib
16935 wine_fn_config_test dlls
/mlang
/tests mlang_test
16936 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
16937 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
16938 wine_fn_config_dll mmdevapi enable_mmdevapi clean
16939 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
16940 wine_fn_config_dll mmdevldr.vxd enable_win16
16941 wine_fn_config_dll mmsystem.dll16 enable_win16
16942 wine_fn_config_dll monodebg.vxd enable_win16
16943 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16944 wine_fn_config_dll mouse.drv16 enable_win16
16945 wine_fn_config_dll mpr enable_mpr implib
,po
16946 wine_fn_config_test dlls
/mpr
/tests mpr_test
16947 wine_fn_config_dll mprapi enable_mprapi implib
16948 wine_fn_config_dll msacm.dll16 enable_win16
16949 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16950 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
16951 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
16952 wine_fn_config_dll msadp32.acm enable_msadp32_acm
16953 wine_fn_config_dll mscat32 enable_mscat32
16954 wine_fn_config_dll mscms enable_mscms implib
16955 wine_fn_config_test dlls
/mscms
/tests mscms_test
16956 wine_fn_config_dll mscoree enable_mscoree clean
16957 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
16958 wine_fn_config_dll msctf enable_msctf clean
16959 wine_fn_config_test dlls
/msctf
/tests msctf_test
16960 wine_fn_config_dll msdaps enable_msdaps clean
16961 wine_fn_config_dll msdmo enable_msdmo implib
16962 wine_fn_config_dll msftedit enable_msftedit
16963 wine_fn_config_dll msg711.acm enable_msg711_acm
16964 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
16965 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
16966 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
16967 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
16968 wine_fn_config_dll msi enable_msi clean
,implib
,po
16969 wine_fn_config_test dlls
/msi
/tests msi_test
16970 wine_fn_config_dll msident enable_msident clean
16971 wine_fn_config_dll msimg32 enable_msimg32 implib
16972 wine_fn_config_dll msimsg enable_msimsg
16973 wine_fn_config_dll msimtf enable_msimtf clean
16974 wine_fn_config_dll msisip enable_msisip
16975 wine_fn_config_dll msisys.ocx enable_msisys_ocx
16976 wine_fn_config_dll msls31 enable_msls31
16977 wine_fn_config_dll msnet32 enable_msnet32
16978 wine_fn_config_dll mspatcha enable_mspatcha
16979 wine_fn_config_dll msrle32 enable_msrle32 po
16980 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
16981 wine_fn_config_dll mssign32 enable_mssign32
16982 wine_fn_config_dll mssip32 enable_mssip32
16983 wine_fn_config_dll mstask enable_mstask clean
16984 wine_fn_config_test dlls
/mstask
/tests mstask_test
16985 wine_fn_config_dll msvcirt enable_msvcirt
16986 wine_fn_config_dll msvcm80 enable_msvcm80
16987 wine_fn_config_dll msvcm90 enable_msvcm90
16988 wine_fn_config_dll msvcp100 enable_msvcp100
16989 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
16990 wine_fn_config_dll msvcp110 enable_msvcp110
16991 wine_fn_config_dll msvcp60 enable_msvcp60
16992 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
16993 wine_fn_config_dll msvcp70 enable_msvcp70
16994 wine_fn_config_dll msvcp71 enable_msvcp71
16995 wine_fn_config_dll msvcp80 enable_msvcp80
16996 wine_fn_config_dll msvcp90 enable_msvcp90
16997 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
16998 wine_fn_config_dll msvcr100 enable_msvcr100 implib
16999 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
17000 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17001 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17002 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17003 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17004 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17005 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17006 wine_fn_config_dll msvcrt enable_msvcrt implib
17007 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17008 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17009 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17010 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17011 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17012 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17013 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17014 wine_fn_config_dll msvidc32 enable_msvidc32 po
17015 wine_fn_config_dll msvideo.dll16 enable_win16
17016 wine_fn_config_dll mswsock enable_mswsock implib
17017 wine_fn_config_dll msxml enable_msxml clean
17018 wine_fn_config_dll msxml2 enable_msxml2 clean
17019 wine_fn_config_dll msxml3 enable_msxml3 clean
17020 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17021 wine_fn_config_dll msxml4 enable_msxml4 clean
17022 wine_fn_config_dll msxml6 enable_msxml6 clean
17023 wine_fn_config_dll nddeapi enable_nddeapi implib
17024 wine_fn_config_dll netapi32 enable_netapi32 implib
17025 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17026 wine_fn_config_dll netcfgx enable_netcfgx
17027 wine_fn_config_dll newdev enable_newdev implib
17028 wine_fn_config_dll normaliz enable_normaliz implib
17029 wine_fn_config_dll npmshtml enable_npmshtml
17030 wine_fn_config_dll ntdll enable_ntdll implib
17031 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17032 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17033 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17034 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17035 wine_fn_config_dll ntprint enable_ntprint
17036 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17037 wine_fn_config_dll objsel enable_objsel clean
17038 wine_fn_config_dll odbc32 enable_odbc32 implib
17039 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17040 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17041 wine_fn_config_dll odbccu32 enable_odbccu32
17042 wine_fn_config_dll ole2.dll16 enable_win16
17043 wine_fn_config_dll ole2conv.dll16 enable_win16
17044 wine_fn_config_dll ole2disp.dll16 enable_win16
17045 wine_fn_config_dll ole2nls.dll16 enable_win16
17046 wine_fn_config_dll ole2prox.dll16 enable_win16
17047 wine_fn_config_dll ole2thk.dll16 enable_win16
17048 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17049 wine_fn_config_test dlls
/ole32
/tests ole32_test
17050 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17051 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17052 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17053 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17054 wine_fn_config_dll olecli.dll16 enable_win16
17055 wine_fn_config_dll olecli32 enable_olecli32 implib
17056 wine_fn_config_dll oledb32 enable_oledb32 clean
17057 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17058 wine_fn_config_dll oledlg enable_oledlg implib
,po
17059 wine_fn_config_dll olepro32 enable_olepro32 implib
17060 wine_fn_config_dll olesvr.dll16 enable_win16
17061 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17062 wine_fn_config_dll olethk32 enable_olethk32
17063 wine_fn_config_dll openal32 enable_openal32
17064 wine_fn_config_dll opencl enable_opencl
17065 wine_fn_config_dll opengl32 enable_opengl32 implib
17066 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17067 wine_fn_config_dll pdh enable_pdh implib
17068 wine_fn_config_test dlls
/pdh
/tests pdh_test
17069 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17070 wine_fn_config_dll pidgen enable_pidgen
17071 wine_fn_config_dll powrprof enable_powrprof implib
17072 wine_fn_config_dll printui enable_printui
17073 wine_fn_config_dll propsys enable_propsys clean
,implib
17074 wine_fn_config_test dlls
/propsys
/tests propsys_test
17075 wine_fn_config_dll psapi enable_psapi implib
17076 wine_fn_config_test dlls
/psapi
/tests psapi_test
17077 wine_fn_config_dll pstorec enable_pstorec clean
17078 wine_fn_config_dll qcap enable_qcap
17079 wine_fn_config_test dlls
/qcap
/tests qcap_test
17080 wine_fn_config_dll qedit enable_qedit clean
17081 wine_fn_config_test dlls
/qedit
/tests qedit_test
17082 wine_fn_config_dll qmgr enable_qmgr clean
17083 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17084 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17085 wine_fn_config_dll quartz enable_quartz clean
,implib
17086 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17087 wine_fn_config_dll query enable_query
17088 wine_fn_config_dll rasapi16.dll16 enable_win16
17089 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17090 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17091 wine_fn_config_dll rasdlg enable_rasdlg implib
17092 wine_fn_config_dll regapi enable_regapi
17093 wine_fn_config_dll resutils enable_resutils implib
17094 wine_fn_config_dll riched20 enable_riched20 implib
17095 wine_fn_config_test dlls
/riched20
/tests riched20_test
17096 wine_fn_config_dll riched32 enable_riched32
17097 wine_fn_config_test dlls
/riched32
/tests riched32_test
17098 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17099 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17100 wine_fn_config_dll rsabase enable_rsabase
17101 wine_fn_config_dll rsaenh enable_rsaenh implib
17102 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17103 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17104 wine_fn_config_dll rtutils enable_rtutils implib
17105 wine_fn_config_dll samlib enable_samlib
17106 wine_fn_config_dll sane.ds enable_sane_ds po
17107 wine_fn_config_dll scarddlg enable_scarddlg
17108 wine_fn_config_dll sccbase enable_sccbase
17109 wine_fn_config_dll schannel enable_schannel
17110 wine_fn_config_test dlls
/schannel
/tests schannel_test
17111 wine_fn_config_dll schedsvc enable_schedsvc clean
17112 wine_fn_config_dll scrrun enable_scrrun clean
17113 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17114 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17115 wine_fn_config_dll secur32 enable_secur32 implib
17116 wine_fn_config_test dlls
/secur32
/tests secur32_test
17117 wine_fn_config_dll security enable_security
17118 wine_fn_config_dll sensapi enable_sensapi implib
17119 wine_fn_config_dll serialui enable_serialui implib
,po
17120 wine_fn_config_test dlls
/serialui
/tests serialui_test
17121 wine_fn_config_dll setupapi enable_setupapi implib
,po
17122 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17123 wine_fn_config_dll setupx.dll16 enable_win16
17124 wine_fn_config_dll sfc enable_sfc implib
17125 wine_fn_config_dll sfc_os enable_sfc_os implib
17126 wine_fn_config_dll shdoclc enable_shdoclc po
17127 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17128 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17129 wine_fn_config_dll shell.dll16 enable_win16
17130 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17131 wine_fn_config_test dlls
/shell32
/tests shell32_test
17132 wine_fn_config_dll shfolder enable_shfolder implib
17133 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17134 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17135 wine_fn_config_dll slbcsp enable_slbcsp
17136 wine_fn_config_dll slc enable_slc implib
17137 wine_fn_config_dll snmpapi enable_snmpapi implib
17138 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17139 wine_fn_config_dll softpub enable_softpub
17140 wine_fn_config_dll sound.drv16 enable_win16
17141 wine_fn_config_dll spoolss enable_spoolss implib
17142 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17143 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17144 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17145 wine_fn_config_dll sti enable_sti clean
,implib
17146 wine_fn_config_test dlls
/sti
/tests sti_test
17147 wine_fn_config_dll storage.dll16 enable_win16
17148 wine_fn_config_dll stress.dll16 enable_win16
17149 wine_fn_config_lib strmbase
17150 wine_fn_config_lib strmiids
17151 wine_fn_config_dll svrapi enable_svrapi
17152 wine_fn_config_dll sxs enable_sxs implib
17153 wine_fn_config_test dlls
/sxs
/tests sxs_test
17154 wine_fn_config_dll system.drv16 enable_win16
17155 wine_fn_config_dll t2embed enable_t2embed
17156 wine_fn_config_dll tapi32 enable_tapi32 implib
17157 wine_fn_config_dll taskschd enable_taskschd clean
17158 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17159 wine_fn_config_dll toolhelp.dll16 enable_win16
17160 wine_fn_config_dll traffic enable_traffic
17161 wine_fn_config_dll twain.dll16 enable_win16
17162 wine_fn_config_dll twain_32 enable_twain_32
17163 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17164 wine_fn_config_dll typelib.dll16 enable_win16
17165 wine_fn_config_dll unicows enable_unicows implib
17166 wine_fn_config_dll updspapi enable_updspapi
17167 wine_fn_config_dll url enable_url implib
17168 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17169 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17170 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17171 wine_fn_config_dll user.exe16 enable_win16
17172 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17173 wine_fn_config_test dlls
/user32
/tests user32_test
17174 wine_fn_config_dll userenv enable_userenv implib
17175 wine_fn_config_test dlls
/userenv
/tests userenv_test
17176 wine_fn_config_dll usp10 enable_usp10 implib
17177 wine_fn_config_test dlls
/usp10
/tests usp10_test
17178 wine_fn_config_lib uuid
17179 wine_fn_config_dll uxtheme enable_uxtheme implib
17180 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17181 wine_fn_config_dll vbscript enable_vbscript clean
17182 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17183 wine_fn_config_dll vcomp enable_vcomp
17184 wine_fn_config_dll vcomp100 enable_vcomp100
17185 wine_fn_config_dll vcomp90 enable_vcomp90
17186 wine_fn_config_dll vdhcp.vxd enable_win16
17187 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17188 wine_fn_config_dll ver.dll16 enable_win16
17189 wine_fn_config_dll version enable_version implib
17190 wine_fn_config_test dlls
/version
/tests version_test
17191 wine_fn_config_dll vmm.vxd enable_win16
17192 wine_fn_config_dll vnbt.vxd enable_win16
17193 wine_fn_config_dll vnetbios.vxd enable_win16
17194 wine_fn_config_dll vtdapi.vxd enable_win16
17195 wine_fn_config_dll vwin32.vxd enable_win16
17196 wine_fn_config_dll w32skrnl enable_win16
17197 wine_fn_config_dll w32sys.dll16 enable_win16
17198 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17199 wine_fn_config_dll wbemprox enable_wbemprox clean
17200 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17201 wine_fn_config_dll webservices enable_webservices implib
17202 wine_fn_config_dll wer enable_wer implib
17203 wine_fn_config_test dlls
/wer
/tests wer_test
17204 wine_fn_config_dll wevtapi enable_wevtapi
17205 wine_fn_config_dll wiaservc enable_wiaservc clean
17206 wine_fn_config_dll win32s16.dll16 enable_win16
17207 wine_fn_config_dll win87em.dll16 enable_win16
17208 wine_fn_config_dll winaspi.dll16 enable_win16
17209 wine_fn_config_dll windebug.dll16 enable_win16
17210 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17211 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17212 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17213 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17214 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17215 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17216 wine_fn_config_lib winecrt0
17217 wine_fn_config_dll wined3d enable_wined3d implib
17218 wine_fn_config_dll winegstreamer enable_winegstreamer
17219 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17220 wine_fn_config_dll winemac.drv enable_winemac_drv
17221 wine_fn_config_dll winemapi enable_winemapi
17222 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17223 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17224 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17225 wine_fn_config_dll wineps16.drv16 enable_win16
17226 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17227 wine_fn_config_dll winex11.drv enable_winex11_drv
17228 wine_fn_config_dll wing.dll16 enable_win16
17229 wine_fn_config_dll wing32 enable_wing32
17230 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17231 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17232 wine_fn_config_dll wininet enable_wininet implib
,po
17233 wine_fn_config_test dlls
/wininet
/tests wininet_test
17234 wine_fn_config_dll winmm enable_winmm implib
,po
17235 wine_fn_config_test dlls
/winmm
/tests winmm_test
17236 wine_fn_config_dll winnls.dll16 enable_win16
17237 wine_fn_config_dll winnls32 enable_winnls32 implib
17238 wine_fn_config_dll winscard enable_winscard implib
17239 wine_fn_config_dll winsock.dll16 enable_win16
17240 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17241 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17242 wine_fn_config_dll winsta enable_winsta
17243 wine_fn_config_dll wintab.dll16 enable_win16
17244 wine_fn_config_dll wintab32 enable_wintab32 implib
17245 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17246 wine_fn_config_dll wintrust enable_wintrust implib
17247 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17248 wine_fn_config_dll wlanapi enable_wlanapi
17249 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17250 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17251 wine_fn_config_dll wmi enable_wmi
17252 wine_fn_config_dll wmiutils enable_wmiutils clean
17253 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17254 wine_fn_config_dll wmp enable_wmp clean
17255 wine_fn_config_test dlls
/wmp
/tests wmp_test
17256 wine_fn_config_dll wmvcore enable_wmvcore
17257 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17258 wine_fn_config_dll wow32 enable_win16 implib
17259 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17260 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17261 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17262 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17263 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17264 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17265 wine_fn_config_dll wsock32 enable_wsock32 implib
17266 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17267 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
17268 wine_fn_config_dll wuapi enable_wuapi clean
17269 wine_fn_config_dll wuaueng enable_wuaueng
17270 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17271 wine_fn_config_dll xinput1_1 enable_xinput1_1
17272 wine_fn_config_dll xinput1_2 enable_xinput1_2
17273 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17274 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17275 wine_fn_config_dll xinput1_4 enable_xinput1_4
17276 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17277 wine_fn_config_dll xmllite enable_xmllite implib
17278 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17279 wine_fn_config_dll xolehlp enable_xolehlp
17280 wine_fn_config_dll xpsprint enable_xpsprint
17281 wine_fn_config_dll xpssvcs enable_xpssvcs
17282 wine_fn_config_makefile documentation enable_documentation clean
17283 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17284 wine_fn_config_makefile include enable_include clean
,install-dev
17285 wine_fn_config_makefile libs
/port enable_libs_port
17286 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17287 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17288 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17289 wine_fn_config_program arp enable_arp
install
17290 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17291 wine_fn_config_program attrib enable_attrib
install,po
17292 wine_fn_config_program cabarc enable_cabarc
install
17293 wine_fn_config_program cacls enable_cacls
install
17294 wine_fn_config_program
clock enable_clock
install,po
17295 wine_fn_config_program cmd enable_cmd
install,po
17296 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17297 wine_fn_config_program conhost enable_conhost
install
17298 wine_fn_config_program control enable_control
install
17299 wine_fn_config_program cscript enable_cscript
install
17300 wine_fn_config_program dpnsvr enable_dpnsvr
install
17301 wine_fn_config_program dxdiag enable_dxdiag
install,po
17302 wine_fn_config_program eject enable_eject
install
17303 wine_fn_config_program
expand enable_expand
install
17304 wine_fn_config_program explorer enable_explorer
install,po
17305 wine_fn_config_program extrac32 enable_extrac32
install
17306 wine_fn_config_program findstr enable_findstr
install
17307 wine_fn_config_program hh enable_hh
install
17308 wine_fn_config_program hostname enable_hostname
install,po
17309 wine_fn_config_program icinfo enable_icinfo
install
17310 wine_fn_config_program iexplore enable_iexplore
install
17311 wine_fn_config_program ipconfig enable_ipconfig
install,po
17312 wine_fn_config_program lodctr enable_lodctr
install
17313 wine_fn_config_program mofcomp enable_mofcomp
install
17314 wine_fn_config_program mshta enable_mshta
install
17315 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17316 wine_fn_config_program net enable_net
install,po
17317 wine_fn_config_program netsh enable_netsh
install
17318 wine_fn_config_program netstat enable_netstat
install,po
17319 wine_fn_config_program ngen enable_ngen
install
17320 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17321 wine_fn_config_program oleview enable_oleview
install,po
17322 wine_fn_config_program
ping enable_ping
install
17323 wine_fn_config_program plugplay enable_plugplay
install
17324 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17325 wine_fn_config_program progman enable_progman
install,po
17326 wine_fn_config_program reg enable_reg
install,po
17327 wine_fn_config_program regasm enable_regasm
install
17328 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17329 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17330 wine_fn_config_program regsvcs enable_regsvcs
install
17331 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
17332 wine_fn_config_program rpcss enable_rpcss clean
,install
17333 wine_fn_config_program rundll.exe16 enable_win16
install
17334 wine_fn_config_program rundll32 enable_rundll32
install
17335 wine_fn_config_program sc enable_sc
install
17336 wine_fn_config_program schtasks enable_schtasks
install
17337 wine_fn_config_program secedit enable_secedit
install
17338 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17339 wine_fn_config_program services enable_services clean
,install
17340 wine_fn_config_test programs
/services
/tests services.exe_test
17341 wine_fn_config_program spoolsv enable_spoolsv
install
17342 wine_fn_config_program start enable_start
install,po
17343 wine_fn_config_program svchost enable_svchost
install
17344 wine_fn_config_program taskkill enable_taskkill
install,po
17345 wine_fn_config_program tasklist enable_tasklist
install
17346 wine_fn_config_program taskmgr enable_taskmgr
install,po
17347 wine_fn_config_program termsv enable_termsv
install
17348 wine_fn_config_program uninstaller enable_uninstaller
install,po
17349 wine_fn_config_program unlodctr enable_unlodctr
install
17350 wine_fn_config_program view enable_view
install,po
17351 wine_fn_config_program wevtutil enable_wevtutil
install
17352 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17353 wine_fn_config_program winebrowser enable_winebrowser
install
17354 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17355 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17356 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17357 wine_fn_config_program winedevice enable_winedevice
install
17358 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17359 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17360 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17361 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17362 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17363 wine_fn_config_program winetest enable_winetest clean
17364 wine_fn_config_program winevdm enable_win16
install
17365 wine_fn_config_program winhelp.exe16 enable_win16
install
17366 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17367 wine_fn_config_program winoldap.mod16 enable_win16
install
17368 wine_fn_config_program winver enable_winver
install
17369 wine_fn_config_program wmic enable_wmic
install,po
17370 wine_fn_config_program wordpad enable_wordpad
install,po
17371 wine_fn_config_program
write enable_write
install,po
17372 wine_fn_config_program wscript enable_wscript clean
,install
17373 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17374 wine_fn_config_program wusa enable_wusa
install
17375 wine_fn_config_program xcopy enable_xcopy
install,po
17376 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
17377 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17378 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17379 wine_fn_config_tool tools
/sfnt2fon clean
17380 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17381 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17382 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17383 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17384 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17385 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17437 wine_fn_ignore_file
".gitignore"
17438 wine_fn_ignore_file
"Makefile"
17439 wine_fn_ignore_file
"TAGS"
17440 wine_fn_ignore_file
"tags"
17441 wine_fn_ignore_file
"autom4te.cache"
17442 wine_fn_ignore_file
"config.cache"
17443 wine_fn_ignore_file
"config.log"
17444 wine_fn_ignore_file
"config.status"
17445 wine_fn_ignore_file
"configure.lineno"
17446 wine_fn_ignore_file
"include/config.h"
17447 wine_fn_ignore_file
"include/stamp-h"
17448 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
17450 if test "x$enable_tools" != xno
17452 wine_fn_ignore_file
"tools/makedep$ac_exeext"
17453 ac_config_commands
="$ac_config_commands tools/makedep"
17457 ac_config_commands
="$ac_config_commands Makefile"
17460 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17464 if test "x$enable_maintainer_mode" = xyes
17466 wine_fn_append_rule
"configure: configure.ac aclocal.m4
17467 autoconf --warnings=all
17468 include/config.h.in: include/stamp-h.in
17469 include/stamp-h.in: configure.ac aclocal.m4
17470 autoheader --warnings=all
17471 @echo timestamp > \$@"
17474 if test "x$with_gettextpo" = xyes
17476 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17477 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17478 \$(LINGUAS:%=po/%.po): po/wine.pot
17479 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17480 po/wine.pot: \$(ALL_POT_FILES)
17481 msgcat -o \$@ \$(ALL_POT_FILES)"
17484 if test "$MSGFMT" != false
17486 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
17488 \$(RM) \$(LINGUAS:%=po/%.mo)"
17491 test "$srcdir" = . || posrc
="$srcdir/po"
17494 wine_fn_ignore_file
"po/$i.mo"
17495 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
17496 \$(MSGFMT) -o \$@ $posrc/$i.po"
17502 if test "x$enable_tools" != xno
17504 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17505 @./config.status tools/makedep
17506 Makefile: tools/makedep$ac_exeext
17508 \$(RM) tools/makedep$ac_exeext"
17510 wine_fn_append_rule
"\$(MAKEDEP):
17511 @echo \"You need to run make in $TOOLSDIR first\" && false"
17514 if test -n "$with_wine64"
17516 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17517 fonts server tools:
17518 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17519 $with_wine64/loader/wine:
17520 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17521 $with_wine64/loader/wine-preloader:
17522 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17524 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17526 as_fn_append LOADER_RULES
"
17529 install install-lib:: wine.inf install-man-pages
17530 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17531 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17534 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17538 if test "$srcdir" = .
17540 ac_config_commands
="$ac_config_commands .gitignore"
17544 $as_echo " done" >&6
17545 cat >confcache
<<\_ACEOF
17546 # This file is a shell script that caches the results of configure
17547 # tests run on this system so they can be shared between configure
17548 # scripts and configure runs, see configure's option --config-cache.
17549 # It is not useful on other systems. If it contains results you don't
17550 # want to keep, you may remove or edit it.
17552 # config.status only pays attention to the cache file if you give it
17553 # the --recheck option to rerun configure.
17555 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17556 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17557 # following values.
17561 # The following way of writing the cache mishandles newlines in values,
17562 # but we know of no workaround that is simple, portable, and efficient.
17563 # So, we kill variables containing newlines.
17564 # Ultrix sh set writes to stderr and can't be redirected directly,
17565 # and sets the high bit in the cache file unless we assign to the vars.
17567 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17568 eval ac_val
=\$
$ac_var
17572 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17573 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17576 _ | IFS | as_nl
) ;; #(
17577 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17578 *) { eval $ac_var=; unset $ac_var;} ;;
17584 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17585 *${as_nl}ac_space
=\
*)
17586 # `set' does not quote correctly, so add quotes: double-quote
17587 # substitution turns \\\\ into \\, and sed turns \\ into \.
17590 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17593 # `set' quotes correctly as required by POSIX, so do not add quotes.
17594 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17603 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17605 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17607 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17608 if test -w "$cache_file"; then
17609 if test "x$cache_file" != "x/dev/null"; then
17610 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17611 $as_echo "$as_me: updating cache $cache_file" >&6;}
17612 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17613 cat confcache
>"$cache_file"
17615 case $cache_file in #(
17617 mv -f confcache
"$cache_file"$$
&&
17618 mv -f "$cache_file"$$
"$cache_file" ;; #(
17620 mv -f confcache
"$cache_file" ;;
17625 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17626 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17631 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17632 # Let make expand exec_prefix.
17633 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17635 DEFS
=-DHAVE_CONFIG_H
17640 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17641 # 1. Remove the extension, and $U if already installed.
17642 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17643 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17644 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17645 # will be set to the directory where LIBOBJS objects are built.
17646 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17647 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17649 LIBOBJS
=$ac_libobjs
17651 LTLIBOBJS
=$ac_ltlibobjs
17655 : "${CONFIG_STATUS=./config.status}"
17657 ac_clean_files_save
=$ac_clean_files
17658 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17659 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17660 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17662 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17664 # Generated by $as_me.
17665 # Run this file to recreate the current configuration.
17666 # Compiler output produced by configure, useful for debugging
17667 # configure, is in config.log if it exists.
17670 ac_cs_recheck=false
17673 SHELL=\${CONFIG_SHELL-$SHELL}
17676 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17677 ## -------------------- ##
17678 ## M4sh Initialization. ##
17679 ## -------------------- ##
17681 # Be more Bourne compatible
17682 DUALCASE
=1; export DUALCASE
# for MKS sh
17683 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17686 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17687 # is contrary to our usage. Disable this feature.
17688 alias -g '${1+"$@"}'='"$@"'
17689 setopt NO_GLOB_SUBST
17691 case `(set -o) 2>/dev/null` in #(
17703 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17704 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17705 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17706 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17707 # Prefer a ksh shell builtin over an external printf program on Solaris,
17708 # but without wasting forks for bash or zsh.
17709 if test -z "$BASH_VERSION$ZSH_VERSION" \
17710 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17711 as_echo='print
-r --'
17712 as_echo_n='print
-rn --'
17713 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17714 as_echo='printf %s
\n'
17715 as_echo_n='printf %s
'
17717 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17718 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17719 as_echo_n='/usr
/ucb
/echo -n'
17721 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17722 as_echo_n_body='eval
17726 expr "X$arg" : "X\\(.*\\)$as_nl";
17727 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17729 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17731 export as_echo_n_body
17732 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17734 export as_echo_body
17735 as_echo='sh
-c $as_echo_body as_echo
'
17738 # The user is always right.
17739 if test "${PATH_SEPARATOR+set}" != set; then
17741 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17742 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17749 # We need space, tab and new line, in precisely that order. Quoting is
17750 # there to prevent editors from complaining about space-tab.
17751 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17752 # splitting by setting IFS to empty value.)
17755 # Find who we are. Look in the path if we contain no directory separator.
17758 *[\\/]* ) as_myself=$0 ;;
17759 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17760 for as_dir in $PATH
17763 test -z "$as_dir" && as_dir=.
17764 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17770 # We did not find ourselves, most probably we were run as `sh COMMAND'
17771 # in which case we are not to be found in the path.
17772 if test "x$as_myself" = x
; then
17775 if test ! -f "$as_myself"; then
17776 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17780 # Unset variables that we do not need and which cause bugs (e.g. in
17781 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17782 # suppresses any "Segmentation fault" message there. '((' could
17783 # trigger a bug in pdksh 5.2.14.
17784 for as_var
in BASH_ENV ENV MAIL MAILPATH
17785 do eval test x\
${$as_var+set} = xset \
17786 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17799 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17802 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17803 # ----------------------------------------
17804 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17805 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17806 # script with STATUS, using 1 if that was 0.
17809 as_status
=$1; test $as_status -eq 0 && as_status
=1
17811 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17812 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17814 $as_echo "$as_me: error: $2" >&2
17815 as_fn_exit
$as_status
17819 # as_fn_set_status STATUS
17820 # -----------------------
17821 # Set $? to STATUS, without forking.
17822 as_fn_set_status
()
17825 } # as_fn_set_status
17827 # as_fn_exit STATUS
17828 # -----------------
17829 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17833 as_fn_set_status
$1
17839 # Portably unset VAR.
17842 { eval $1=; unset $1;}
17844 as_unset
=as_fn_unset
17845 # as_fn_append VAR VALUE
17846 # ----------------------
17847 # Append the text in VALUE to the end of the definition contained in VAR. Take
17848 # advantage of any shell optimizations that allow amortized linear growth over
17849 # repeated appends, instead of the typical quadratic growth present in naive
17851 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
17852 eval 'as_fn_append ()
17863 # as_fn_arith ARG...
17864 # ------------------
17865 # Perform arithmetic evaluation on the ARGs, and store the result in the
17866 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17867 # must be portable across $(()) and expr.
17868 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
17869 eval 'as_fn_arith ()
17876 as_val
=`expr "$@" || test $? -eq 1`
17881 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
17882 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17888 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17889 as_basename
=basename
17894 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
17900 as_me
=`$as_basename -- "$0" ||
17901 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17902 X"$0" : 'X\(//\)$' \| \
17903 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17905 sed '/^.*\/\([^/][^/]*\)\/*$/{
17919 # Avoid depending upon Character Ranges.
17920 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17921 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17922 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17923 as_cr_digits
='0123456789'
17924 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17926 ECHO_C
= ECHO_N
= ECHO_T
=
17927 case `echo -n x` in #(((((
17929 case `echo 'xy\c'` in
17930 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
17932 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
17939 rm -f conf$$ conf$$.exe conf$$.
file
17940 if test -d conf$$.dir
; then
17941 rm -f conf$$.dir
/conf$$.
file
17944 mkdir conf$$.dir
2>/dev
/null
17946 if (echo >conf$$.
file) 2>/dev
/null
; then
17947 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17949 # ... but there are two gotchas:
17950 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17951 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17952 # In both cases, we have to default to `cp -pR'.
17953 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
17955 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17963 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
17964 rmdir conf$$.dir
2>/dev
/null
17969 # Create "$as_dir" as a directory, including parents if necessary.
17974 -*) as_dir
=.
/$as_dir;;
17976 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
17980 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17981 *) as_qdir
=$as_dir;;
17983 as_dirs
="'$as_qdir' $as_dirs"
17984 as_dir
=`$as_dirname -- "$as_dir" ||
17985 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17986 X"$as_dir" : 'X\(//\)[^/]' \| \
17987 X"$as_dir" : 'X\(//\)$' \| \
17988 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17989 $as_echo X"$as_dir" |
17990 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17994 /^X\(\/\/\)[^/].*/{
18007 test -d "$as_dir" && break
18009 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18010 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18014 if mkdir
-p .
2>/dev
/null
; then
18015 as_mkdir_p
='mkdir -p "$as_dir"'
18017 test -d .
/-p && rmdir .
/-p
18022 # as_fn_executable_p FILE
18023 # -----------------------
18024 # Test if FILE is an executable regular file.
18025 as_fn_executable_p
()
18027 test -f "$1" && test -x "$1"
18028 } # as_fn_executable_p
18029 as_test_x
='test -x'
18030 as_executable_p
=as_fn_executable_p
18032 # Sed expression to map a string onto a valid CPP name.
18033 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18035 # Sed expression to map a string onto a valid variable name.
18036 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18040 ## ----------------------------------- ##
18041 ## Main body of $CONFIG_STATUS script. ##
18042 ## ----------------------------------- ##
18044 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18046 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18047 # Save the log message, to keep $0 and so on meaningful, and to
18048 # report actual input values of CONFIG_FILES etc. instead of their
18049 # values after options handling.
18051 This file was extended by Wine $as_me 1.7.14, which was
18052 generated by GNU Autoconf 2.69. Invocation command line was
18054 CONFIG_FILES = $CONFIG_FILES
18055 CONFIG_HEADERS = $CONFIG_HEADERS
18056 CONFIG_LINKS = $CONFIG_LINKS
18057 CONFIG_COMMANDS = $CONFIG_COMMANDS
18060 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18065 case $ac_config_files in *"
18066 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18069 case $ac_config_headers in *"
18070 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18074 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18075 # Files that config.status was made for.
18076 config_files="$ac_config_files"
18077 config_headers="$ac_config_headers"
18078 config_links="$ac_config_links"
18079 config_commands="$ac_config_commands"
18083 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18085 \`$as_me' instantiates files and other configuration actions
18086 from templates according to the current configuration. Unless the files
18087 and actions are specified as TAGs, all are instantiated by default.
18089 Usage: $0 [OPTION]... [TAG]...
18091 -h, --help print this help, then exit
18092 -V, --version print version number and configuration settings, then exit
18093 --config print configuration, then exit
18094 -q, --quiet, --silent
18095 do not print progress messages
18096 -d, --debug don't remove temporary files
18097 --recheck update $as_me by reconfiguring in the same conditions
18098 --file=FILE[:TEMPLATE]
18099 instantiate the configuration file FILE
18100 --header=FILE[:TEMPLATE]
18101 instantiate the configuration header FILE
18103 Configuration files:
18106 Configuration headers:
18109 Configuration links:
18112 Configuration commands:
18115 Report bugs to <wine-devel@winehq.org>.
18116 Wine home page: <http://www.winehq.org>."
18119 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18120 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18122 Wine config.status 1.7.14
18123 configured by $0, generated by GNU Autoconf 2.69,
18124 with options \\"\$ac_cs_config\\"
18126 Copyright (C) 2012 Free Software Foundation, Inc.
18127 This config.status script is free software; the Free Software Foundation
18128 gives unlimited permission to copy, distribute and modify it."
18132 test -n "\$AWK" || AWK=awk
18135 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18136 # The default lists apply if the user does not specify any file.
18142 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18143 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18147 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18159 # Handling of the options.
18160 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18162 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18163 $as_echo "$ac_cs_version"; exit ;;
18164 --config |
--confi |
--conf |
--con |
--co |
--c )
18165 $as_echo "$ac_cs_config"; exit ;;
18166 --debug |
--debu |
--deb |
--de |
--d |
-d )
18168 --file |
--fil |
--fi |
--f )
18171 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18172 '') as_fn_error $?
"missing file argument" ;;
18174 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18175 ac_need_defaults
=false
;;
18176 --header |
--heade |
--head |
--hea )
18179 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18181 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18182 ac_need_defaults
=false
;;
18184 # Conflict between --help and --header
18185 as_fn_error $?
"ambiguous option: \`$1'
18186 Try \`$0 --help' for more information.";;
18187 --help |
--hel |
-h )
18188 $as_echo "$ac_cs_usage"; exit ;;
18189 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18190 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18193 # This is an error.
18194 -*) as_fn_error $?
"unrecognized option: \`$1'
18195 Try \`$0 --help' for more information." ;;
18197 *) as_fn_append ac_config_targets
" $1"
18198 ac_need_defaults
=false
;;
18204 ac_configure_extra_args
=
18206 if $ac_cs_silent; then
18208 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18212 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18213 if \$ac_cs_recheck; then
18214 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18216 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18217 CONFIG_SHELL='$SHELL'
18218 export CONFIG_SHELL
18223 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18227 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18228 ## Running $as_me. ##
18234 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18238 wine_fn_output_makedep ()
18240 as_dir=tools; as_fn_mkdir_p
18241 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18243 wine_fn_output_makefile ()
18245 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18246 `cat $wine_rules_file`
18248 as_fn_error $? "could not create Makefile" "$LINENO" 5
18250 wine_fn_output_gitignore ()
18252 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18255 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18260 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18262 # Handling of arguments.
18263 for ac_config_target
in $ac_config_targets
18265 case $ac_config_target in
18266 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18267 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18268 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18269 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18270 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18271 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18272 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18273 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18274 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18275 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18276 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
18277 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18278 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18279 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18281 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18286 # If the user did not use the arguments to specify the items to instantiate,
18287 # then the envvar interface is used. Set only those that are not.
18288 # We use the long form for the default assignment because of an extremely
18289 # bizarre bug on SunOS 4.1.3.
18290 if $ac_need_defaults; then
18291 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18292 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18293 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18294 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18297 # Have a temporary directory for convenience. Make it in the build tree
18298 # simply because there is no reason against having it here, and in addition,
18299 # creating and moving files from /tmp can sometimes cause problems.
18300 # Hook for its removal unless debugging.
18301 # Note that there is a small window in which the directory will not be cleaned:
18302 # after its creation but before its name has been assigned to `$tmp'.
18306 trap 'exit_status=$?
18307 : "${ac_tmp:=$tmp}"
18308 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18310 trap 'as_fn_exit 1' 1 2 13 15
18312 # Create a (secure) tmp directory for tmp files.
18315 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18319 tmp
=.
/conf$$
-$RANDOM
18320 (umask 077 && mkdir
"$tmp")
18321 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18324 # Set up the scripts for CONFIG_FILES section.
18325 # No need to generate them if there are no CONFIG_FILES.
18326 # This happens for instance with `./config.status config.h'.
18327 if test -n "$CONFIG_FILES"; then
18330 ac_cr
=`echo X | tr X '\015'`
18331 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18332 # But we know of no other shell where ac_cr would be empty at this
18333 # point, so we can use a bashism as a fallback.
18334 if test "x$ac_cr" = x
; then
18335 eval ac_cr
=\$
\'\\r
\'
18337 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18338 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18341 ac_cs_awk_cr
=$ac_cr
18344 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18349 echo "cat >conf$$subs.awk <<_ACEOF" &&
18350 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18352 } >conf$$subs.sh ||
18353 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18354 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18356 for ac_last_try in false false false false false :; do
18357 . ./conf$$subs.sh ||
18358 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18360 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18361 if test $ac_delim_n = $ac_delim_num; then
18363 elif $ac_last_try; then
18364 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18366 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18369 rm -f conf$$subs.sh
18371 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18372 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18376 s/^/S["/; s
/!.
*/"]=/
18386 s/\(.\{148\}\)..*/\1/
18388 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18393 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18400 s/\(.\{148\}\)..*/\1/
18402 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18406 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18411 ' <conf$$subs.awk | sed '
18416 ' >>$CONFIG_STATUS || ac_write_fail=1
18417 rm -f conf$$subs.awk
18418 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18420 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18421 for (key in S) S_is_set[key] = 1
18427 nfields = split(line, field, "@
")
18429 len = length(field[1])
18430 for (i = 2; i < nfields; i++) {
18432 keylen = length(key)
18433 if (S_is_set[key]) {
18435 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18436 len += length(value) + length(field[++i])
18447 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18448 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18449 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18452 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18453 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18456 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18457 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18458 # trailing colons and then remove the whole line if VPATH becomes empty
18459 # (actually we leave an empty line to preserve line numbers).
18460 if test "x
$srcdir" = x.; then
18461 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18479 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18480 fi # test -n "$CONFIG_FILES"
18482 # Set up the scripts for CONFIG_HEADERS section.
18483 # No need to generate them if there are no CONFIG_HEADERS.
18484 # This happens for instance with `./config.status Makefile'.
18485 if test -n "$CONFIG_HEADERS"; then
18486 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18490 # Transform confdefs.h into an awk script `defines.awk', embedded as
18491 # here-document in config.status, that substitutes the proper values into
18492 # config.h.in to produce config.h.
18494 # Create a delimiter string that does not exist in confdefs.h, to ease
18495 # handling of long lines.
18497 for ac_last_try in false false :; do
18498 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18499 if test -z "$ac_tt"; then
18501 elif $ac_last_try; then
18502 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18504 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18508 # For the awk script, D is an array of macro values keyed by name,
18509 # likewise P contains macro parameters if any. Preserve backslash
18510 # newline sequences.
18512 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18514 s/.\{148\}/&'"$ac_delim"'/g
18517 s/^[ ]*#[ ]*define[ ][ ]*/ /
18524 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18526 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18530 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18531 D["\
1"]=" \
3\\\\\\n
"\\/p
18533 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18538 s/.\{148\}/&'"$ac_delim"'/g
18543 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18546 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18548 ' <confdefs.h | sed '
18549 s/'"$ac_delim"'/"\\\
18550 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18552 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18553 for (key in D) D_is_set[key] = 1
18556 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18558 split(line, arg, " ")
18559 if (arg[1] == "#") {
18563 defundef
= substr
(arg
[1], 2)
18566 split(mac1
, mac2
, "(") #)
18568 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18569 if (D_is_set
[macro
]) {
18570 # Preserve the white space surrounding the "#".
18571 print prefix
"define", macro P
[macro
] D
[macro
]
18574 # Replace #undef with comments. This is necessary, for example,
18575 # in the case of _POSIX_SOURCE, which is predefined and required
18576 # on some systems where configure will not decide to define it.
18577 if (defundef
== "undef") {
18578 print
"/*", prefix defundef
, macro
, "*/"
18586 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18587 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18588 fi # test -n "$CONFIG_HEADERS"
18591 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18596 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18598 case $ac_mode$ac_tag in
18600 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18601 :[FH
]-) ac_tag
=-:-;;
18602 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18619 -) ac_f
="$ac_tmp/stdin";;
18620 *) # Look for the file first in the build tree, then in the source tree
18621 # (if the path is not absolute). The absolute path cannot be DOS-style,
18622 # because $ac_f cannot contain `:'.
18626 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18628 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18630 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18631 as_fn_append ac_file_inputs
" '$ac_f'"
18634 # Let's still pretend it is `configure' which instantiates (i.e., don't
18635 # use $as_me), people would be surprised to read:
18636 # /* config.h. Generated by config.status. */
18637 configure_input
='Generated from '`
18638 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18640 if test x
"$ac_file" != x-
; then
18641 configure_input
="$ac_file. $configure_input"
18642 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18643 $as_echo "$as_me: creating $ac_file" >&6;}
18645 # Neutralize special characters interpreted by sed in replacement strings.
18646 case $configure_input in #(
18647 *\
&* |
*\|
* |
*\\* )
18648 ac_sed_conf_input
=`$as_echo "$configure_input" |
18649 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18650 *) ac_sed_conf_input
=$configure_input;;
18654 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
18655 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
18660 ac_dir
=`$as_dirname -- "$ac_file" ||
18661 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18662 X"$ac_file" : 'X\(//\)[^/]' \| \
18663 X"$ac_file" : 'X\(//\)$' \| \
18664 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18665 $as_echo X"$ac_file" |
18666 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18670 /^X\(\/\/\)[^/].*/{
18683 as_dir
="$ac_dir"; as_fn_mkdir_p
18687 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18689 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18690 # A ".." for each directory in $ac_dir_suffix.
18691 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18692 case $ac_top_builddir_sub in
18693 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18694 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18697 ac_abs_top_builddir
=$ac_pwd
18698 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18699 # for backward compatibility:
18700 ac_top_builddir
=$ac_top_build_prefix
18703 .
) # We are building in place.
18705 ac_top_srcdir
=$ac_top_builddir_sub
18706 ac_abs_top_srcdir
=$ac_pwd ;;
18707 [\\/]* | ?
:[\\/]* ) # Absolute name.
18708 ac_srcdir
=$srcdir$ac_dir_suffix;
18709 ac_top_srcdir
=$srcdir
18710 ac_abs_top_srcdir
=$srcdir ;;
18711 *) # Relative name.
18712 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18713 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18714 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18716 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18727 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18728 # If the template does not know about datarootdir, expand it.
18729 # FIXME: This hack should be removed a few years after 2.60.
18730 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18741 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18742 *datarootdir
*) ac_datarootdir_seen
=yes;;
18743 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18745 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18747 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18748 ac_datarootdir_hack='
18749 s&@datadir@&$datadir&g
18750 s&@docdir@&$docdir&g
18751 s&@infodir@&$infodir&g
18752 s&@localedir@&$localedir&g
18753 s&@mandir@&$mandir&g
18754 s&\\\${datarootdir}&$datarootdir&g' ;;
18758 # Neutralize VPATH when `$srcdir' = `.'.
18759 # Shell code in configure.ac might set extrasub.
18760 # FIXME: do we really want to maintain this feature?
18761 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18762 ac_sed_extra="$ac_vpsub
18765 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18767 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18768 s|@configure_input@|
$ac_sed_conf_input|
;t t
18769 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18770 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18771 s
&@srcdir@
&$ac_srcdir&;t t
18772 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18773 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18774 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18775 s
&@builddir@
&$ac_builddir&;t t
18776 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18777 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18778 $ac_datarootdir_hack
18780 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
18781 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18783 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18784 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
18785 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18786 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
18787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18788 which seems to be undefined. Please make sure it is defined" >&5
18789 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18790 which seems to be undefined. Please make sure it is defined" >&2;}
18792 rm -f "$ac_tmp/stdin"
18794 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18795 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18797 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18803 if test x"$ac_file" != x-; then
18805 $as_echo "/* $configure_input */" \
18806 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18807 } >"$ac_tmp/config.h" \
18808 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18809 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18810 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18811 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18814 mv "$ac_tmp/config.h" "$ac_file" \
18815 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18818 $as_echo "/* $configure_input */" \
18819 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18820 || as_fn_error $? "could not create -" "$LINENO" 5
18828 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
18831 # Prefer the file from the source tree if names are identical.
18832 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18833 ac_source=$srcdir/$ac_source
18836 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18837 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18839 if test ! -r "$ac_source"; then
18840 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18844 # Try a relative symlink, then a hard link, then a copy.
18846 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18847 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18849 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18850 ln "$ac_source" "$ac_file" 2>/dev/null ||
18851 cp -p "$ac_source" "$ac_file" ||
18852 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18855 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18856 $as_echo "$as_me: executing $ac_file commands" >&6;}
18861 case $ac_file$ac_mode in
18862 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18863 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
18864 "Makefile":C) wine_fn_output_makefile Makefile ;;
18865 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
18873 ac_clean_files=$ac_clean_files_save
18875 test $ac_write_fail = 0 ||
18876 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18879 # configure is writing to config.log, and then calls config.status.
18880 # config.status does its own redirection, appending to config.log.
18881 # Unfortunately, on DOS this fails, as config.log is still kept open
18882 # by configure, so config.status won't be able to
write to it
; its
18883 # output is simply discarded. So we exec the FD to /dev/null,
18884 # effectively closing config.log, so it can be properly (re)opened and
18885 # appended to by config.status. When coming back to configure, we
18886 # need to make the FD available again.
18887 if test "$no_create" != yes; then
18889 ac_config_status_args
=
18890 test "$silent" = yes &&
18891 ac_config_status_args
="$ac_config_status_args --quiet"
18893 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18895 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18896 # would make configure fail if this is the last instruction.
18897 $ac_cs_success || as_fn_exit
1
18899 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18901 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18905 if test "$no_create" = "yes"
18911 if test "x$wine_notices != "x
; then
18914 for msg
in $wine_notices; do
18916 if ${msg:+false} :; then :
18919 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
18920 $as_echo "$as_me: $msg" >&6;}
18925 for msg
in $wine_warnings; do
18927 if ${msg:+false} :; then :
18931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
18932 $as_echo "$as_me: WARNING: $msg" >&2;}
18938 $as_me: Finished. Do '${ac_make}' to compile Wine.