2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.12.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev
/null
; then :
207 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
212 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir
=.
219 for as_base
in sh bash ksh sh5
; do
220 # Try only shells that exist, to save several forks.
221 as_shell
=$as_dir/$as_base
222 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
224 CONFIG_SHELL
=$as_shell as_have_required
=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
235 CONFIG_SHELL
=$SHELL as_have_required
=yes
240 if test "x$CONFIG_SHELL" != x
; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x
${ZSH_VERSION+set} = xset
; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
279 SHELL
=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE
= GREP_OPTIONS
=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir
=.
/$as_dir;;
324 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
328 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs
="'$as_qdir' $as_dirs"
332 as_dir
=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
358 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p
()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
401 as_val
=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status
=$1; test $as_status -eq 0 && as_status
=1
415 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit
$as_status
422 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
429 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
441 as_me
=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits
='0123456789'
465 as_cr_alnum
=$as_cr_Letters$as_cr_digits
468 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
469 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x
"$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec
=no
; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C
= ECHO_N
= ECHO_T
=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
516 rm -f conf$$ conf$$.exe conf$$.
file
517 if test -d conf$$.dir
; then
518 rm -f conf$$.dir
/conf$$.
file
521 mkdir conf$$.dir
2>/dev
/null
523 if (echo >conf$$.
file) 2>/dev
/null
; then
524 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
532 elif ln conf$$.
file conf$$
2>/dev
/null
; then
540 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
541 rmdir conf$$.dir
2>/dev
/null
543 if mkdir
-p .
2>/dev
/null
; then
544 as_mkdir_p
='mkdir -p "$as_dir"'
546 test -d .
/-p && rmdir .
/-p
551 as_executable_p
=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix
=/usr
/local
573 ac_config_libobj_dir
=.
580 # Identity of this package.
582 PACKAGE_TARNAME
='wine'
583 PACKAGE_VERSION
='1.7.12'
584 PACKAGE_STRING
='Wine 1.7.12'
585 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
586 PACKAGE_URL
='http://www.winehq.org'
588 ac_unique_file
="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default
="\
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
602 # ifdef HAVE_STDLIB_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
625 ac_subst_vars
='LTLIBOBJS
697 APPLICATIONSERVICES_LIBS
781 program_transform_name
794 enable_option_checking
798 enable_maintainer_mode
854 enable_api_ms_win_core_com_l1_1_0
855 enable_api_ms_win_core_console_l1_1_0
856 enable_api_ms_win_core_debug_l1_1_1
857 enable_api_ms_win_core_errorhandling_l1_1_1
858 enable_api_ms_win_core_file_l1_2_0
859 enable_api_ms_win_core_handle_l1_1_0
860 enable_api_ms_win_core_heap_l1_2_0
861 enable_api_ms_win_core_heap_obsolete_l1_1_0
862 enable_api_ms_win_core_interlocked_l1_2_0
863 enable_api_ms_win_core_io_l1_1_1
864 enable_api_ms_win_core_kernel32_legacy_l1_1_0
865 enable_api_ms_win_core_libraryloader_l1_1_1
866 enable_api_ms_win_core_localization_l1_2_0
867 enable_api_ms_win_core_localization_obsolete_l1_1_0
868 enable_api_ms_win_core_localregistry_l1_1_0
869 enable_api_ms_win_core_memory_l1_1_1
870 enable_api_ms_win_core_namedpipe_l1_2_0
871 enable_api_ms_win_core_processenvironment_l1_2_0
872 enable_api_ms_win_core_processthreads_l1_1_0
873 enable_api_ms_win_core_processthreads_l1_1_1
874 enable_api_ms_win_core_profile_l1_1_0
875 enable_api_ms_win_core_psapi_l1_1_0
876 enable_api_ms_win_core_registry_l1_1_0
877 enable_api_ms_win_core_rtlsupport_l1_2_0
878 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
879 enable_api_ms_win_core_string_l1_1_0
880 enable_api_ms_win_core_synch_l1_2_0
881 enable_api_ms_win_core_sysinfo_l1_2_0
882 enable_api_ms_win_core_threadpool_legacy_l1_1_0
883 enable_api_ms_win_core_timezone_l1_1_0
884 enable_api_ms_win_core_url_l1_1_0
885 enable_api_ms_win_core_util_l1_1_0
886 enable_api_ms_win_core_winrt_error_l1_1_0
887 enable_api_ms_win_core_winrt_string_l1_1_0
888 enable_api_ms_win_downlevel_advapi32_l1_1_0
889 enable_api_ms_win_downlevel_advapi32_l2_1_0
890 enable_api_ms_win_downlevel_normaliz_l1_1_0
891 enable_api_ms_win_downlevel_ole32_l1_1_0
892 enable_api_ms_win_downlevel_shell32_l1_1_0
893 enable_api_ms_win_downlevel_shlwapi_l1_1_0
894 enable_api_ms_win_downlevel_shlwapi_l2_1_0
895 enable_api_ms_win_downlevel_user32_l1_1_0
896 enable_api_ms_win_downlevel_version_l1_1_0
897 enable_api_ms_win_eventing_provider_l1_1_0
898 enable_api_ms_win_ntuser_dc_access_l1_1_0
899 enable_api_ms_win_security_base_l1_1_0
900 enable_api_ms_win_security_base_l1_2_0
901 enable_api_ms_win_security_sddl_l1_1_0
902 enable_api_ms_win_service_core_l1_1_1
903 enable_api_ms_win_service_management_l1_1_0
904 enable_api_ms_win_service_winsvc_l1_2_0
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
1167 enable_photometadatahandler
1246 enable_windowscodecs
1247 enable_windowscodecsext
1249 enable_winecoreaudio_drv
1251 enable_winegstreamer
1252 enable_winejoystick_drv
1258 enable_wineqtdecoder
1294 enable_documentation
1302 enable_aspnet_regiis
1334 enable_presentationfontcache
1346 enable_servicemodelreg
1365 enable_winemenubuilder
1367 enable_winemsibuilder
1381 ac_precious_vars
='build_alias
1430 # Initialize some variables set by options.
1432 ac_init_version
=false
1433 ac_unrecognized_opts
=
1434 ac_unrecognized_sep
=
1435 # The variables have the same names as the options, with
1436 # dashes changed to underlines.
1437 cache_file
=/dev
/null
1444 program_transform_name
=s
,x
,x
,
1452 # Installation directory options.
1453 # These are left unexpanded so users can "make install exec_prefix=/foo"
1454 # and all the variables that are supposed to be based on exec_prefix
1455 # by default will actually change.
1456 # Use braces instead of parens because sh, perl, etc. also accept them.
1457 # (The list follows the same order as the GNU Coding Standards.)
1458 bindir
='${exec_prefix}/bin'
1459 sbindir
='${exec_prefix}/sbin'
1460 libexecdir
='${exec_prefix}/libexec'
1461 datarootdir
='${prefix}/share'
1462 datadir
='${datarootdir}'
1463 sysconfdir
='${prefix}/etc'
1464 sharedstatedir
='${prefix}/com'
1465 localstatedir
='${prefix}/var'
1466 includedir
='${prefix}/include'
1467 oldincludedir
='/usr/include'
1468 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1469 infodir
='${datarootdir}/info'
1474 libdir
='${exec_prefix}/lib'
1475 localedir
='${datarootdir}/locale'
1476 mandir
='${datarootdir}/man'
1482 # If the previous option needs an argument, assign it.
1483 if test -n "$ac_prev"; then
1484 eval $ac_prev=\
$ac_option
1490 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1495 # Accept the important Cygnus configure options, so we can diagnose typos.
1497 case $ac_dashdash$ac_option in
1501 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1503 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1504 bindir
=$ac_optarg ;;
1506 -build |
--build |
--buil |
--bui |
--bu)
1507 ac_prev
=build_alias
;;
1508 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1509 build_alias
=$ac_optarg ;;
1511 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1512 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1513 ac_prev
=cache_file
;;
1514 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1515 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1516 cache_file
=$ac_optarg ;;
1518 --config-cache |
-C)
1519 cache_file
=config.cache
;;
1521 -datadir |
--datadir |
--datadi |
--datad)
1523 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1524 datadir
=$ac_optarg ;;
1526 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1527 |
--dataroo |
--dataro |
--datar)
1528 ac_prev
=datarootdir
;;
1529 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1530 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1531 datarootdir
=$ac_optarg ;;
1533 -disable-* |
--disable-*)
1534 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1535 # Reject names that are not valid shell variable names.
1536 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1537 as_fn_error $?
"invalid feature name: $ac_useropt"
1538 ac_useropt_orig
=$ac_useropt
1539 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1540 case $ac_user_opts in
1542 "enable_
$ac_useropt"
1544 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1545 ac_unrecognized_sep
=', ';;
1547 eval enable_
$ac_useropt=no
;;
1549 -docdir |
--docdir |
--docdi |
--doc |
--do)
1551 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1552 docdir
=$ac_optarg ;;
1554 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1556 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1557 dvidir
=$ac_optarg ;;
1559 -enable-* |
--enable-*)
1560 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1561 # Reject names that are not valid shell variable names.
1562 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1563 as_fn_error $?
"invalid feature name: $ac_useropt"
1564 ac_useropt_orig
=$ac_useropt
1565 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1566 case $ac_user_opts in
1568 "enable_
$ac_useropt"
1570 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1571 ac_unrecognized_sep
=', ';;
1573 eval enable_
$ac_useropt=\
$ac_optarg ;;
1575 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1576 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1577 |
--exec |
--exe |
--ex)
1578 ac_prev
=exec_prefix
;;
1579 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1580 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1581 |
--exec=* |
--exe=* |
--ex=*)
1582 exec_prefix
=$ac_optarg ;;
1584 -gas |
--gas |
--ga |
--g)
1585 # Obsolete; use --with-gas.
1588 -help |
--help |
--hel |
--he |
-h)
1589 ac_init_help
=long
;;
1590 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1591 ac_init_help
=recursive
;;
1592 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1593 ac_init_help
=short
;;
1595 -host |
--host |
--hos |
--ho)
1596 ac_prev
=host_alias
;;
1597 -host=* |
--host=* |
--hos=* |
--ho=*)
1598 host_alias
=$ac_optarg ;;
1600 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1602 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1604 htmldir
=$ac_optarg ;;
1606 -includedir |
--includedir |
--includedi |
--included |
--include \
1607 |
--includ |
--inclu |
--incl |
--inc)
1608 ac_prev
=includedir
;;
1609 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1610 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1611 includedir
=$ac_optarg ;;
1613 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1615 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1616 infodir
=$ac_optarg ;;
1618 -libdir |
--libdir |
--libdi |
--libd)
1620 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1621 libdir
=$ac_optarg ;;
1623 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1624 |
--libexe |
--libex |
--libe)
1625 ac_prev
=libexecdir
;;
1626 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1627 |
--libexe=* |
--libex=* |
--libe=*)
1628 libexecdir
=$ac_optarg ;;
1630 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1631 ac_prev
=localedir
;;
1632 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1633 localedir
=$ac_optarg ;;
1635 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1636 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1637 ac_prev
=localstatedir
;;
1638 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1639 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1640 localstatedir
=$ac_optarg ;;
1642 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1644 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1645 mandir
=$ac_optarg ;;
1647 -nfp |
--nfp |
--nf)
1648 # Obsolete; use --without-fp.
1651 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1652 |
--no-cr |
--no-c |
-n)
1655 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1656 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1659 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1660 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1661 |
--oldin |
--oldi |
--old |
--ol |
--o)
1662 ac_prev
=oldincludedir
;;
1663 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1664 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1665 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1666 oldincludedir
=$ac_optarg ;;
1668 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1670 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1671 prefix
=$ac_optarg ;;
1673 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1674 |
--program-pre |
--program-pr |
--program-p)
1675 ac_prev
=program_prefix
;;
1676 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1677 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1678 program_prefix
=$ac_optarg ;;
1680 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1681 |
--program-suf |
--program-su |
--program-s)
1682 ac_prev
=program_suffix
;;
1683 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1684 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1685 program_suffix
=$ac_optarg ;;
1687 -program-transform-name |
--program-transform-name \
1688 |
--program-transform-nam |
--program-transform-na \
1689 |
--program-transform-n |
--program-transform- \
1690 |
--program-transform |
--program-transfor \
1691 |
--program-transfo |
--program-transf \
1692 |
--program-trans |
--program-tran \
1693 |
--progr-tra |
--program-tr |
--program-t)
1694 ac_prev
=program_transform_name
;;
1695 -program-transform-name=* |
--program-transform-name=* \
1696 |
--program-transform-nam=* |
--program-transform-na=* \
1697 |
--program-transform-n=* |
--program-transform-=* \
1698 |
--program-transform=* |
--program-transfor=* \
1699 |
--program-transfo=* |
--program-transf=* \
1700 |
--program-trans=* |
--program-tran=* \
1701 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1702 program_transform_name
=$ac_optarg ;;
1704 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1706 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1707 pdfdir
=$ac_optarg ;;
1709 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1711 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1714 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1715 |
-silent |
--silent |
--silen |
--sile |
--sil)
1718 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1720 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1722 sbindir
=$ac_optarg ;;
1724 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1725 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1726 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1728 ac_prev
=sharedstatedir
;;
1729 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1730 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1731 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1733 sharedstatedir
=$ac_optarg ;;
1735 -site |
--site |
--sit)
1737 -site=* |
--site=* |
--sit=*)
1740 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1742 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1743 srcdir
=$ac_optarg ;;
1745 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1746 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1747 ac_prev
=sysconfdir
;;
1748 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1749 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1750 sysconfdir
=$ac_optarg ;;
1752 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1753 ac_prev
=target_alias
;;
1754 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1755 target_alias
=$ac_optarg ;;
1757 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1760 -version |
--version |
--versio |
--versi |
--vers |
-V)
1761 ac_init_version
=: ;;
1764 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1765 # Reject names that are not valid shell variable names.
1766 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1767 as_fn_error $?
"invalid package name: $ac_useropt"
1768 ac_useropt_orig
=$ac_useropt
1769 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1770 case $ac_user_opts in
1774 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1775 ac_unrecognized_sep
=', ';;
1777 eval with_
$ac_useropt=\
$ac_optarg ;;
1779 -without-* |
--without-*)
1780 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1781 # Reject names that are not valid shell variable names.
1782 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1783 as_fn_error $?
"invalid package name: $ac_useropt"
1784 ac_useropt_orig
=$ac_useropt
1785 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1786 case $ac_user_opts in
1790 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1791 ac_unrecognized_sep
=', ';;
1793 eval with_
$ac_useropt=no
;;
1796 # Obsolete; use --with-x.
1799 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1800 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1801 ac_prev
=x_includes
;;
1802 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1803 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1804 x_includes
=$ac_optarg ;;
1806 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1807 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1808 ac_prev
=x_libraries
;;
1809 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1810 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1811 x_libraries
=$ac_optarg ;;
1813 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1814 Try \`$0 --help' for more information"
1818 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1819 # Reject names that are not valid shell variable names.
1820 case $ac_envvar in #(
1821 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1822 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1824 eval $ac_envvar=\
$ac_optarg
1825 export $ac_envvar ;;
1828 # FIXME: should be removed in autoconf 3.0.
1829 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1830 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1831 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1832 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1838 if test -n "$ac_prev"; then
1839 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1840 as_fn_error $?
"missing argument to $ac_option"
1843 if test -n "$ac_unrecognized_opts"; then
1844 case $enable_option_checking in
1846 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1847 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1851 # Check all directory arguments for consistency.
1852 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1853 datadir sysconfdir sharedstatedir localstatedir includedir \
1854 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1855 libdir localedir mandir
1857 eval ac_val
=\$
$ac_var
1858 # Remove trailing slashes.
1861 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1862 eval $ac_var=\
$ac_val;;
1864 # Be sure to have absolute directory names.
1866 [\\/$
]* | ?
:[\\/]* ) continue;;
1867 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1869 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1872 # There might be people who depend on the old broken behavior: `$host'
1873 # used to hold the argument of --host etc.
1874 # FIXME: To remove some day.
1877 target
=$target_alias
1879 # FIXME: To remove some day.
1880 if test "x$host_alias" != x
; then
1881 if test "x$build_alias" = x
; then
1882 cross_compiling
=maybe
1883 elif test "x$build_alias" != "x$host_alias"; then
1889 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1891 test "$silent" = yes && exec 6>/dev
/null
1894 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1895 ac_ls_di
=`ls -di .` &&
1896 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1897 as_fn_error $?
"working directory cannot be determined"
1898 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1899 as_fn_error $?
"pwd does not report name of working directory"
1902 # Find the source files, if location was not specified.
1903 if test -z "$srcdir"; then
1904 ac_srcdir_defaulted
=yes
1905 # Try the directory containing this script, then the parent directory.
1906 ac_confdir
=`$as_dirname -- "$as_myself" ||
1907 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1908 X"$as_myself" : 'X\(//\)[^/]' \| \
1909 X"$as_myself" : 'X\(//\)$' \| \
1910 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1911 $as_echo X"$as_myself" |
1912 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1930 if test ! -r "$srcdir/$ac_unique_file"; then
1934 ac_srcdir_defaulted
=no
1936 if test ! -r "$srcdir/$ac_unique_file"; then
1937 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1938 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1940 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1942 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1944 # When building in place, set srcdir=.
1945 if test "$ac_abs_confdir" = "$ac_pwd"; then
1948 # Remove unnecessary trailing slashes from srcdir.
1949 # Double slashes in file names in object file debugging info
1950 # mess up M-x gdb in Emacs.
1952 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1954 for ac_var
in $ac_precious_vars; do
1955 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1956 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1957 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1958 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1962 # Report the --help message.
1964 if test "$ac_init_help" = "long"; then
1965 # Omit some internal or obsolete options to make the list less imposing.
1966 # This message is too long to be a string in the A/UX 3.1 sh.
1968 \`configure' configures Wine 1.7.12 to adapt to many kinds of systems.
1970 Usage: $0 [OPTION]... [VAR=VALUE]...
1972 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1973 VAR=VALUE. See below for descriptions of some of the useful variables.
1975 Defaults for the options are specified in brackets.
1978 -h, --help display this help and exit
1979 --help=short display options specific to this package
1980 --help=recursive display the short help of all the included packages
1981 -V, --version display version information and exit
1982 -q, --quiet, --silent do not print \`checking ...' messages
1983 --cache-file=FILE cache test results in FILE [disabled]
1984 -C, --config-cache alias for \`--cache-file=config.cache'
1985 -n, --no-create do not create output files
1986 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1988 Installation directories:
1989 --prefix=PREFIX install architecture-independent files in PREFIX
1990 [$ac_default_prefix]
1991 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1994 By default, \`make install' will install all the files in
1995 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1996 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1997 for instance \`--prefix=\$HOME'.
1999 For better control, use the options below.
2001 Fine tuning of the installation directories:
2002 --bindir=DIR user executables [EPREFIX/bin]
2003 --sbindir=DIR system admin executables [EPREFIX/sbin]
2004 --libexecdir=DIR program executables [EPREFIX/libexec]
2005 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2006 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2007 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2008 --libdir=DIR object code libraries [EPREFIX/lib]
2009 --includedir=DIR C header files [PREFIX/include]
2010 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2011 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2012 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2013 --infodir=DIR info documentation [DATAROOTDIR/info]
2014 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2015 --mandir=DIR man documentation [DATAROOTDIR/man]
2016 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2017 --htmldir=DIR html documentation [DOCDIR]
2018 --dvidir=DIR dvi documentation [DOCDIR]
2019 --pdfdir=DIR pdf documentation [DOCDIR]
2020 --psdir=DIR ps documentation [DOCDIR]
2026 --x-includes=DIR X include files are
in DIR
2027 --x-libraries=DIR X library files are
in DIR
2030 --build=BUILD configure
for building on BUILD
[guessed
]
2031 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2035 if test -n "$ac_init_help"; then
2036 case $ac_init_help in
2037 short | recursive
) echo "Configuration of Wine 1.7.12:";;
2042 --disable-option-checking ignore unrecognized
--enable/--with options
2043 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2044 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2045 --disable-win16 do not include Win16 support
2046 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2048 --disable-tests do not build the regression tests
2049 --enable-maintainer-mode
2050 enable maintainer-specific build rules
2051 --disable-largefile omit support for large files
2054 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2055 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2056 --without-alsa do not use the Alsa sound support
2057 --without-capi do not use CAPI (ISDN support)
2058 --without-cms do not use CMS (color management support)
2059 --without-coreaudio do not use the CoreAudio sound support
2060 --without-cups do not use CUPS
2061 --without-curses do not use (n)curses
2062 --without-dbus do not use DBus (dynamic device support)
2063 --without-fontconfig do not use fontconfig
2064 --without-freetype do not use the FreeType library
2065 --without-gettext do not use gettext
2066 --with-gettextpo use the GetTextPO library to rebuild po files
2067 --without-gphoto do not use gphoto (Digital Camera support)
2068 --without-glu do not use the GLU library
2069 --without-gnutls do not use GnuTLS (schannel support)
2070 --without-gsm do not use libgsm (GSM 06.10 codec support)
2071 --without-gstreamer do not use GStreamer (codecs support)
2072 --without-hal do not use HAL (dynamic device support)
2073 --without-jpeg do not use JPEG
2074 --without-ldap do not use LDAP
2075 --without-mpg123 do not use the mpg123 library
2076 --without-netapi do not use the Samba NetAPI library
2077 --without-openal do not use OpenAL
2078 --without-opencl do not use OpenCL
2079 --without-opengl do not use OpenGL
2080 --without-osmesa do not use the OSMesa library
2081 --without-oss do not use the OSS sound support
2082 --without-png do not use PNG
2083 --without-pthread do not use the pthread library
2084 --without-sane do not use SANE (scanner support)
2085 --without-tiff do not use TIFF
2086 --without-v4l do not use v4l1 (v4l support)
2087 --without-xcomposite do not use the Xcomposite extension
2088 --without-xcursor do not use the Xcursor extension
2089 --without-xinerama do not use Xinerama (multi-monitor support)
2090 --without-xinput do not use the Xinput extension
2091 --without-xinput2 do not use the Xinput 2 extension
2092 --without-xml do not use XML
2093 --without-xrandr do not use Xrandr (resolution changes)
2094 --without-xrender do not use the Xrender extension
2095 --without-xshape do not use the Xshape extension
2096 --without-xshm do not use XShm (shared memory extension)
2097 --without-xslt do not use XSLT
2098 --without-xxf86vm do not use XFree video mode extension
2099 --without-zlib do not use Zlib (data compression)
2100 --with-wine-tools=DIR use Wine tools from directory DIR
2101 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2102 --with-x use the X Window System
2104 Some influential environment variables:
2105 CC C compiler command
2106 CFLAGS C compiler flags
2107 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2108 nonstandard directory <lib dir>
2109 LIBS libraries to pass to the linker, e.g. -l<library>
2110 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2111 you have headers in a nonstandard directory <include dir>
2112 CXX C++ compiler command
2113 CXXFLAGS C++ compiler flags
2115 XMKMF Path to xmkmf, Makefile generator for X Window System
2116 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2117 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2118 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2119 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2120 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2121 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2122 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2123 HAL_LIBS Linker flags for hal, overriding pkg-config
2125 C compiler flags for gnutls, overriding pkg-config
2126 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2127 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2128 SANE_LIBS Linker flags for libsane, overriding pkg-config
2130 C compiler flags for libgphoto2, overriding pkg-config
2132 Linker flags for libgphoto2, overriding pkg-config
2134 C compiler flags for libgphoto2_port, overriding pkg-config
2136 Linker flags for libgphoto2_port, overriding pkg-config
2138 C compiler flags for lcms2, overriding pkg-config
2139 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2141 C compiler flags for freetype2, overriding pkg-config
2143 Linker flags for freetype2, overriding pkg-config
2145 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2147 Linker flags for gstreamer-app-0.10, overriding pkg-config
2149 C compiler flags for capi20, overriding pkg-config
2150 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2152 C compiler flags for fontconfig, overriding pkg-config
2154 Linker flags for fontconfig, overriding pkg-config
2155 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2156 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2157 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2158 PNG_LIBS Linker flags for libpng, overriding pkg-config
2159 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2160 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2162 C compiler flags for libmpg123, overriding pkg-config
2163 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2165 Use these variables to override the choices made by `configure' or to
help
2166 it to
find libraries and programs with nonstandard names
/locations.
2168 Report bugs to
<wine-devel@winehq.org
>.
2169 Wine home page
: <http
://www.winehq.org
>.
2174 if test "$ac_init_help" = "recursive"; then
2175 # If there are subdirs, report their specific --help.
2176 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2177 test -d "$ac_dir" ||
2178 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2183 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2185 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2186 # A ".." for each directory in $ac_dir_suffix.
2187 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2188 case $ac_top_builddir_sub in
2189 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2190 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2193 ac_abs_top_builddir
=$ac_pwd
2194 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2195 # for backward compatibility:
2196 ac_top_builddir
=$ac_top_build_prefix
2199 .
) # We are building in place.
2201 ac_top_srcdir
=$ac_top_builddir_sub
2202 ac_abs_top_srcdir
=$ac_pwd ;;
2203 [\\/]* | ?
:[\\/]* ) # Absolute name.
2204 ac_srcdir
=$srcdir$ac_dir_suffix;
2205 ac_top_srcdir
=$srcdir
2206 ac_abs_top_srcdir
=$srcdir ;;
2208 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2209 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2210 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2212 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2214 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2215 # Check for guested configure.
2216 if test -f "$ac_srcdir/configure.gnu"; then
2218 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2219 elif test -f "$ac_srcdir/configure"; then
2221 $SHELL "$ac_srcdir/configure" --help=recursive
2223 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2225 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2229 test -n "$ac_init_help" && exit $ac_status
2230 if $ac_init_version; then
2232 Wine configure
1.7.12
2233 generated by GNU Autoconf
2.69
2235 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2236 This configure
script is free software
; the Free Software Foundation
2237 gives unlimited permission to copy
, distribute and modify it.
2242 ## ------------------------ ##
2243 ## Autoconf initialization. ##
2244 ## ------------------------ ##
2246 # ac_fn_c_try_compile LINENO
2247 # --------------------------
2248 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2249 ac_fn_c_try_compile
()
2251 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2252 rm -f conftest.
$ac_objext
2253 if { { ac_try
="$ac_compile"
2255 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2256 *) ac_try_echo=$ac_try;;
2258 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2259 $as_echo "$ac_try_echo"; } >&5
2260 (eval "$ac_compile") 2>conftest.err
2262 if test -s conftest.err; then
2263 grep -v '^ *+' conftest.err >conftest.er1
2264 cat conftest.er1 >&5
2265 mv -f conftest.er1 conftest.err
2267 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2268 test $ac_status = 0; } && {
2269 test -z "$ac_c_werror_flag" ||
2270 test ! -s conftest.err
2271 } && test -s conftest.$ac_objext; then :
2274 $as_echo "$as_me: failed program was:" >&5
2275 sed 's/^/| /' conftest.$ac_ext >&5
2279 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2280 as_fn_set_status $ac_retval
2282 } # ac_fn_c_try_compile
2284 # ac_fn_cxx_try_compile LINENO
2285 # ----------------------------
2286 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2287 ac_fn_cxx_try_compile ()
2289 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2290 rm -f conftest.$ac_objext
2291 if { { ac_try="$ac_compile"
2293 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2294 *) ac_try_echo
=$ac_try;;
2296 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2297 $as_echo "$ac_try_echo"; } >&5
2298 (eval "$ac_compile") 2>conftest.err
2300 if test -s conftest.err
; then
2301 grep -v '^ *+' conftest.err
>conftest.er1
2302 cat conftest.er1
>&5
2303 mv -f conftest.er1 conftest.err
2305 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2306 test $ac_status = 0; } && {
2307 test -z "$ac_cxx_werror_flag" ||
2308 test ! -s conftest.err
2309 } && test -s conftest.
$ac_objext; then :
2312 $as_echo "$as_me: failed program was:" >&5
2313 sed 's/^/| /' conftest.
$ac_ext >&5
2317 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2318 as_fn_set_status
$ac_retval
2320 } # ac_fn_cxx_try_compile
2322 # ac_fn_c_try_link LINENO
2323 # -----------------------
2324 # Try to link conftest.$ac_ext, and return whether this succeeded.
2327 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2328 rm -f conftest.
$ac_objext conftest
$ac_exeext
2329 if { { ac_try
="$ac_link"
2331 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2332 *) ac_try_echo=$ac_try;;
2334 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2335 $as_echo "$ac_try_echo"; } >&5
2336 (eval "$ac_link") 2>conftest.err
2338 if test -s conftest.err; then
2339 grep -v '^ *+' conftest.err >conftest.er1
2340 cat conftest.er1 >&5
2341 mv -f conftest.er1 conftest.err
2343 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2344 test $ac_status = 0; } && {
2345 test -z "$ac_c_werror_flag" ||
2346 test ! -s conftest.err
2347 } && test -s conftest$ac_exeext && {
2348 test "$cross_compiling" = yes ||
2349 test -x conftest$ac_exeext
2353 $as_echo "$as_me: failed program was:" >&5
2354 sed 's/^/| /' conftest.$ac_ext >&5
2358 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2359 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2360 # interfere with the next link command; also delete a directory that is
2361 # left behind by Apple's compiler. We do this before executing the actions.
2362 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2363 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2364 as_fn_set_status $ac_retval
2366 } # ac_fn_c_try_link
2368 # ac_fn_c_try_cpp LINENO
2369 # ----------------------
2370 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2373 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2374 if { { ac_try="$ac_cpp conftest.$ac_ext"
2376 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2377 *) ac_try_echo
=$ac_try;;
2379 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2380 $as_echo "$ac_try_echo"; } >&5
2381 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2383 if test -s conftest.err
; then
2384 grep -v '^ *+' conftest.err
>conftest.er1
2385 cat conftest.er1
>&5
2386 mv -f conftest.er1 conftest.err
2388 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2389 test $ac_status = 0; } > conftest.i
&& {
2390 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2391 test ! -s conftest.err
2395 $as_echo "$as_me: failed program was:" >&5
2396 sed 's/^/| /' conftest.
$ac_ext >&5
2400 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2401 as_fn_set_status
$ac_retval
2405 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2406 # -------------------------------------------------------
2407 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2408 # the include files in INCLUDES and setting the cache variable VAR
2410 ac_fn_c_check_header_mongrel
()
2412 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2413 if eval \
${$3+:} false
; then :
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2415 $as_echo_n "checking for $2... " >&6; }
2416 if eval \
${$3+:} false
; then :
2417 $as_echo_n "(cached) " >&6
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2421 $as_echo "$ac_res" >&6; }
2423 # Is the header compilable?
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2425 $as_echo_n "checking $2 usability... " >&6; }
2426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2427 /* end confdefs.h. */
2431 if ac_fn_c_try_compile
"$LINENO"; then :
2432 ac_header_compiler
=yes
2434 ac_header_compiler
=no
2436 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2438 $as_echo "$ac_header_compiler" >&6; }
2440 # Is the header present?
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2442 $as_echo_n "checking $2 presence... " >&6; }
2443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2444 /* end confdefs.h. */
2447 if ac_fn_c_try_cpp
"$LINENO"; then :
2448 ac_header_preproc
=yes
2450 ac_header_preproc
=no
2452 rm -f conftest.err conftest.i conftest.
$ac_ext
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2454 $as_echo "$ac_header_preproc" >&6; }
2456 # So? What about this header?
2457 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2460 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2462 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2466 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2468 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2470 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2472 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2474 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2475 ( $as_echo "## ------------------------------------ ##
2476 ## Report this to wine-devel@winehq.org ##
2477 ## ------------------------------------ ##"
2478 ) |
sed "s/^/$as_me: WARNING: /" >&2
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2482 $as_echo_n "checking for $2... " >&6; }
2483 if eval \
${$3+:} false
; then :
2484 $as_echo_n "(cached) " >&6
2486 eval "$3=\$ac_header_compiler"
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2490 $as_echo "$ac_res" >&6; }
2492 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2494 } # ac_fn_c_check_header_mongrel
2496 # ac_fn_c_try_run LINENO
2497 # ----------------------
2498 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2499 # that executables *can* be run.
2502 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2503 if { { ac_try
="$ac_link"
2505 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2506 *) ac_try_echo=$ac_try;;
2508 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2509 $as_echo "$ac_try_echo"; } >&5
2510 (eval "$ac_link") 2>&5
2512 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2513 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2514 { { case "(($ac_try" in
2515 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2516 *) ac_try_echo
=$ac_try;;
2518 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2519 $as_echo "$ac_try_echo"; } >&5
2520 (eval "$ac_try") 2>&5
2522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2523 test $ac_status = 0; }; }; then :
2526 $as_echo "$as_me: program exited with status $ac_status" >&5
2527 $as_echo "$as_me: failed program was:" >&5
2528 sed 's/^/| /' conftest.
$ac_ext >&5
2530 ac_retval
=$ac_status
2532 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2533 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2534 as_fn_set_status
$ac_retval
2538 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2539 # -------------------------------------------------------
2540 # Tests whether HEADER exists and can be compiled using the include files in
2541 # INCLUDES, setting the cache variable VAR accordingly.
2542 ac_fn_c_check_header_compile
()
2544 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2546 $as_echo_n "checking for $2... " >&6; }
2547 if eval \
${$3+:} false
; then :
2548 $as_echo_n "(cached) " >&6
2550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2551 /* end confdefs.h. */
2555 if ac_fn_c_try_compile
"$LINENO"; then :
2560 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2564 $as_echo "$ac_res" >&6; }
2565 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2567 } # ac_fn_c_check_header_compile
2569 # ac_fn_c_check_func LINENO FUNC VAR
2570 # ----------------------------------
2571 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2572 ac_fn_c_check_func
()
2574 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2576 $as_echo_n "checking for $2... " >&6; }
2577 if eval \
${$3+:} false
; then :
2578 $as_echo_n "(cached) " >&6
2580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2581 /* end confdefs.h. */
2582 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2583 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2584 #define $2 innocuous_$2
2586 /* System header to define __stub macros and hopefully few prototypes,
2587 which can conflict with char $2 (); below.
2588 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2589 <limits.h> exists even on freestanding compilers. */
2592 # include <limits.h>
2594 # include <assert.h>
2599 /* Override any GCC internal prototype to avoid an error.
2600 Use char because int might match the return type of a GCC
2601 builtin and then its argument prototype would still apply. */
2606 /* The GNU C library defines this for functions which it implements
2607 to always fail with ENOSYS. Some functions are actually named
2608 something starting with __ and the normal name is an alias. */
2609 #if defined __stub_$2 || defined __stub___$2
2621 if ac_fn_c_try_link
"$LINENO"; then :
2626 rm -f core conftest.err conftest.
$ac_objext \
2627 conftest
$ac_exeext conftest.
$ac_ext
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2631 $as_echo "$ac_res" >&6; }
2632 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2634 } # ac_fn_c_check_func
2636 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2637 # ----------------------------------------------------
2638 # Tries to find if the field MEMBER exists in type AGGR, after including
2639 # INCLUDES, setting cache variable VAR accordingly.
2640 ac_fn_c_check_member
()
2642 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2644 $as_echo_n "checking for $2.$3... " >&6; }
2645 if eval \
${$4+:} false
; then :
2646 $as_echo_n "(cached) " >&6
2648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2649 /* end confdefs.h. */
2661 if ac_fn_c_try_compile
"$LINENO"; then :
2664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2665 /* end confdefs.h. */
2671 if (sizeof ac_aggr.$3)
2677 if ac_fn_c_try_compile
"$LINENO"; then :
2682 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2684 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2688 $as_echo "$ac_res" >&6; }
2689 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2691 } # ac_fn_c_check_member
2693 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2694 # -------------------------------------------
2695 # Tests whether TYPE exists after having included INCLUDES, setting cache
2696 # variable VAR accordingly.
2697 ac_fn_c_check_type
()
2699 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2701 $as_echo_n "checking for $2... " >&6; }
2702 if eval \
${$3+:} false
; then :
2703 $as_echo_n "(cached) " >&6
2706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2707 /* end confdefs.h. */
2718 if ac_fn_c_try_compile
"$LINENO"; then :
2719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2720 /* end confdefs.h. */
2731 if ac_fn_c_try_compile
"$LINENO"; then :
2736 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2738 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2742 $as_echo "$ac_res" >&6; }
2743 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2745 } # ac_fn_c_check_type
2746 cat >config.log
<<_ACEOF
2747 This file contains any messages produced by compilers while
2748 running configure, to aid debugging if configure makes a mistake.
2750 It was created by Wine $as_me 1.7.12, which was
2751 generated by GNU Autoconf 2.69. Invocation command line was
2763 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2764 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2765 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2766 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2767 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2769 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2770 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2772 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2773 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2774 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2775 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2776 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2777 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2778 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2782 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2786 test -z "$as_dir" && as_dir
=.
2787 $as_echo "PATH: $as_dir"
2803 # Keep a trace of the command line.
2804 # Strip out --no-create and --no-recursion so they do not pile up.
2805 # Strip out --silent because we don't want to record it for future runs.
2806 # Also quote any args containing shell meta-characters.
2807 # Make two passes to allow for proper duplicate-argument suppression.
2811 ac_must_keep_next
=false
2817 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2818 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2819 |
-silent |
--silent |
--silen |
--sile |
--sil)
2822 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2825 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2827 as_fn_append ac_configure_args1
" '$ac_arg'"
2828 if test $ac_must_keep_next = true
; then
2829 ac_must_keep_next
=false
# Got value, back to normal.
2832 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2833 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2834 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2835 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2836 case "$ac_configure_args0 " in
2837 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2840 -* ) ac_must_keep_next
=true
;;
2843 as_fn_append ac_configure_args
" '$ac_arg'"
2848 { ac_configure_args0
=; unset ac_configure_args0
;}
2849 { ac_configure_args1
=; unset ac_configure_args1
;}
2851 # When interrupted or exit'd, cleanup temporary files, and complete
2852 # config.log. We remove comments because anyway the quotes in there
2853 # would cause problems or look ugly.
2854 # WARNING: Use '\'' to represent an apostrophe within the trap.
2855 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2856 trap 'exit_status=$?
2857 # Save into config.log some information that might help in debugging.
2861 $as_echo "## ---------------- ##
2862 ## Cache variables. ##
2863 ## ---------------- ##"
2865 # The following way of writing the cache mishandles newlines in values,
2867 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2868 eval ac_val=\$$ac_var
2872 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2873 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2876 _ | IFS | as_nl) ;; #(
2877 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2878 *) { eval $ac_var=; unset $ac_var;} ;;
2883 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2884 *${as_nl}ac_space=\ *)
2886 "s/'\''/'\''\\\\'\'''\''/g;
2887 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2890 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2897 $as_echo "## ----------------- ##
2898 ## Output variables. ##
2899 ## ----------------- ##"
2901 for ac_var in $ac_subst_vars
2903 eval ac_val=\$$ac_var
2905 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2907 $as_echo "$ac_var='\''$ac_val'\''"
2911 if test -n "$ac_subst_files"; then
2912 $as_echo "## ------------------- ##
2913 ## File substitutions. ##
2914 ## ------------------- ##"
2916 for ac_var
in $ac_subst_files
2918 eval ac_val
=\$
$ac_var
2920 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2922 $as_echo "$ac_var='\''$ac_val'\''"
2927 if test -s confdefs.h; then
2928 $as_echo "## ----------- ##
2935 test "$ac_signal" != 0 &&
2936 $as_echo "$as_me: caught signal $ac_signal"
2937 $as_echo "$as_me: exit $exit_status"
2939 rm -f core *.core core.conftest.* &&
2940 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2943 for ac_signal
in 1 2 13 15; do
2944 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2948 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2949 rm -f -r conftest
* confdefs.h
2951 $as_echo "/* confdefs.h */" > confdefs.h
2953 # Predefined preprocessor variables.
2955 cat >>confdefs.h
<<_ACEOF
2956 #define PACKAGE_NAME "$PACKAGE_NAME"
2959 cat >>confdefs.h
<<_ACEOF
2960 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2963 cat >>confdefs.h
<<_ACEOF
2964 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2967 cat >>confdefs.h
<<_ACEOF
2968 #define PACKAGE_STRING "$PACKAGE_STRING"
2971 cat >>confdefs.h
<<_ACEOF
2972 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2975 cat >>confdefs.h
<<_ACEOF
2976 #define PACKAGE_URL "$PACKAGE_URL"
2980 # Let the site file select an alternate cache file if it wants to.
2981 # Prefer an explicitly selected file to automatically selected ones.
2984 if test -n "$CONFIG_SITE"; then
2985 # We do not want a PATH search for config.site.
2986 case $CONFIG_SITE in #((
2987 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2988 */*) ac_site_file1
=$CONFIG_SITE;;
2989 *) ac_site_file1
=.
/$CONFIG_SITE;;
2991 elif test "x$prefix" != xNONE
; then
2992 ac_site_file1
=$prefix/share
/config.site
2993 ac_site_file2
=$prefix/etc
/config.site
2995 ac_site_file1
=$ac_default_prefix/share
/config.site
2996 ac_site_file2
=$ac_default_prefix/etc
/config.site
2998 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3000 test "x$ac_site_file" = xNONE
&& continue
3001 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3003 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3004 sed 's/^/| /' "$ac_site_file" >&5
3006 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3007 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3008 as_fn_error $?
"failed to load site script $ac_site_file
3009 See \`config.log' for more details" "$LINENO" 5; }
3013 if test -r "$cache_file"; then
3014 # Some versions of bash will fail to source /dev/null (special files
3015 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3016 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3018 $as_echo "$as_me: loading cache $cache_file" >&6;}
3020 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3021 *) .
"./$cache_file";;
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3026 $as_echo "$as_me: creating cache $cache_file" >&6;}
3030 # Check that the precious variables saved in the cache have kept the same
3032 ac_cache_corrupted
=false
3033 for ac_var
in $ac_precious_vars; do
3034 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3035 eval ac_new_set
=\
$ac_env_${ac_var}_set
3036 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3037 eval ac_new_val
=\
$ac_env_${ac_var}_value
3038 case $ac_old_set,$ac_new_set in
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3041 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3042 ac_cache_corrupted
=: ;;
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3045 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3046 ac_cache_corrupted
=: ;;
3049 if test "x$ac_old_val" != "x$ac_new_val"; then
3050 # differences in whitespace do not lead to failure.
3051 ac_old_val_w
=`echo x $ac_old_val`
3052 ac_new_val_w
=`echo x $ac_new_val`
3053 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3055 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3056 ac_cache_corrupted
=:
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3059 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3060 eval $ac_var=\
$ac_old_val
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3063 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3065 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3068 # Pass precious variables to config.status.
3069 if test "$ac_new_set" = set; then
3071 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3072 *) ac_arg
=$ac_var=$ac_new_val ;;
3074 case " $ac_configure_args " in
3075 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3076 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3080 if $ac_cache_corrupted; then
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3082 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3084 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3085 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3087 ## -------------------- ##
3088 ## Main body of script. ##
3089 ## -------------------- ##
3092 ac_cpp
='$CPP $CPPFLAGS'
3093 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3094 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3095 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3099 ac_config_headers
="$ac_config_headers include/config.h"
3102 for ac_dir
in tools
"$srcdir"/tools
; do
3103 if test -f "$ac_dir/install-sh"; then
3105 ac_install_sh
="$ac_aux_dir/install-sh -c"
3107 elif test -f "$ac_dir/install.sh"; then
3109 ac_install_sh
="$ac_aux_dir/install.sh -c"
3111 elif test -f "$ac_dir/shtool"; then
3113 ac_install_sh
="$ac_aux_dir/shtool install -c"
3117 if test -z "$ac_aux_dir"; then
3118 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3121 # These three variables are undocumented and unsupported,
3122 # and are intended to be withdrawn in a future Autoconf release.
3123 # They can cause serious problems if a builder's source tree is in a directory
3124 # whose full name contains unusual characters.
3125 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3126 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3127 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3131 libwine_version
="1.0"
3135 # Check whether --enable-win16 was given.
3136 if test "${enable_win16+set}" = set; then :
3137 enableval
=$enable_win16;
3140 # Check whether --enable-win64 was given.
3141 if test "${enable_win64+set}" = set; then :
3142 enableval
=$enable_win64;
3145 # Check whether --enable-tests was given.
3146 if test "${enable_tests+set}" = set; then :
3147 enableval
=$enable_tests;
3150 # Check whether --enable-maintainer-mode was given.
3151 if test "${enable_maintainer_mode+set}" = set; then :
3152 enableval
=$enable_maintainer_mode;
3157 # Check whether --with-alsa was given.
3158 if test "${with_alsa+set}" = set; then :
3159 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3163 # Check whether --with-capi was given.
3164 if test "${with_capi+set}" = set; then :
3169 # Check whether --with-cms was given.
3170 if test "${with_cms+set}" = set; then :
3175 # Check whether --with-coreaudio was given.
3176 if test "${with_coreaudio+set}" = set; then :
3177 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3181 # Check whether --with-cups was given.
3182 if test "${with_cups+set}" = set; then :
3187 # Check whether --with-curses was given.
3188 if test "${with_curses+set}" = set; then :
3189 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3193 # Check whether --with-dbus was given.
3194 if test "${with_dbus+set}" = set; then :
3199 # Check whether --with-fontconfig was given.
3200 if test "${with_fontconfig+set}" = set; then :
3201 withval
=$with_fontconfig;
3205 # Check whether --with-freetype was given.
3206 if test "${with_freetype+set}" = set; then :
3207 withval
=$with_freetype;
3211 # Check whether --with-gettext was given.
3212 if test "${with_gettext+set}" = set; then :
3213 withval
=$with_gettext;
3217 # Check whether --with-gettextpo was given.
3218 if test "${with_gettextpo+set}" = set; then :
3219 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3223 # Check whether --with-gphoto was given.
3224 if test "${with_gphoto+set}" = set; then :
3225 withval
=$with_gphoto;
3229 # Check whether --with-glu was given.
3230 if test "${with_glu+set}" = set; then :
3235 # Check whether --with-gnutls was given.
3236 if test "${with_gnutls+set}" = set; then :
3237 withval
=$with_gnutls;
3241 # Check whether --with-gsm was given.
3242 if test "${with_gsm+set}" = set; then :
3243 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3247 # Check whether --with-gstreamer was given.
3248 if test "${with_gstreamer+set}" = set; then :
3249 withval
=$with_gstreamer;
3253 # Check whether --with-hal was given.
3254 if test "${with_hal+set}" = set; then :
3259 # Check whether --with-jpeg was given.
3260 if test "${with_jpeg+set}" = set; then :
3265 # Check whether --with-ldap was given.
3266 if test "${with_ldap+set}" = set; then :
3267 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3271 # Check whether --with-mpg123 was given.
3272 if test "${with_mpg123+set}" = set; then :
3273 withval
=$with_mpg123;
3277 # Check whether --with-netapi was given.
3278 if test "${with_netapi+set}" = set; then :
3279 withval
=$with_netapi;
3283 # Check whether --with-openal was given.
3284 if test "${with_openal+set}" = set; then :
3285 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3289 # Check whether --with-opencl was given.
3290 if test "${with_opencl+set}" = set; then :
3291 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3295 # Check whether --with-opengl was given.
3296 if test "${with_opengl+set}" = set; then :
3297 withval
=$with_opengl;
3301 # Check whether --with-osmesa was given.
3302 if test "${with_osmesa+set}" = set; then :
3303 withval
=$with_osmesa;
3307 # Check whether --with-oss was given.
3308 if test "${with_oss+set}" = set; then :
3313 # Check whether --with-png was given.
3314 if test "${with_png+set}" = set; then :
3319 # Check whether --with-pthread was given.
3320 if test "${with_pthread+set}" = set; then :
3321 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3325 # Check whether --with-sane was given.
3326 if test "${with_sane+set}" = set; then :
3331 # Check whether --with-tiff was given.
3332 if test "${with_tiff+set}" = set; then :
3337 # Check whether --with-v4l was given.
3338 if test "${with_v4l+set}" = set; then :
3343 # Check whether --with-xcomposite was given.
3344 if test "${with_xcomposite+set}" = set; then :
3345 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3349 # Check whether --with-xcursor was given.
3350 if test "${with_xcursor+set}" = set; then :
3351 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3355 # Check whether --with-xinerama was given.
3356 if test "${with_xinerama+set}" = set; then :
3357 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3361 # Check whether --with-xinput was given.
3362 if test "${with_xinput+set}" = set; then :
3363 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3367 # Check whether --with-xinput2 was given.
3368 if test "${with_xinput2+set}" = set; then :
3369 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3373 # Check whether --with-xml was given.
3374 if test "${with_xml+set}" = set; then :
3379 # Check whether --with-xrandr was given.
3380 if test "${with_xrandr+set}" = set; then :
3381 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3385 # Check whether --with-xrender was given.
3386 if test "${with_xrender+set}" = set; then :
3387 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3391 # Check whether --with-xshape was given.
3392 if test "${with_xshape+set}" = set; then :
3393 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3397 # Check whether --with-xshm was given.
3398 if test "${with_xshm+set}" = set; then :
3399 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3403 # Check whether --with-xslt was given.
3404 if test "${with_xslt+set}" = set; then :
3409 # Check whether --with-xxf86vm was given.
3410 if test "${with_xxf86vm+set}" = set; then :
3411 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
3415 # Check whether --with-zlib was given.
3416 if test "${with_zlib+set}" = set; then :
3417 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3422 # Check whether --with-wine-tools was given.
3423 if test "${with_wine_tools+set}" = set; then :
3424 withval
=$with_wine_tools;
3428 # Check whether --with-wine64 was given.
3429 if test "${with_wine64+set}" = set; then :
3430 withval
=$with_wine64;
3434 # Make sure we can run config.sub.
3435 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3436 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3439 $as_echo_n "checking build system type... " >&6; }
3440 if ${ac_cv_build+:} false
; then :
3441 $as_echo_n "(cached) " >&6
3443 ac_build_alias
=$build_alias
3444 test "x$ac_build_alias" = x
&&
3445 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3446 test "x$ac_build_alias" = x
&&
3447 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3448 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3449 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3453 $as_echo "$ac_cv_build" >&6; }
3454 case $ac_cv_build in
3456 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3459 ac_save_IFS
=$IFS; IFS
='-'
3465 # Remember, the first character of IFS is used to create $*,
3466 # except with old shells:
3469 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3473 $as_echo_n "checking host system type... " >&6; }
3474 if ${ac_cv_host+:} false
; then :
3475 $as_echo_n "(cached) " >&6
3477 if test "x$host_alias" = x
; then
3478 ac_cv_host
=$ac_cv_build
3480 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3481 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3486 $as_echo "$ac_cv_host" >&6; }
3489 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3492 ac_save_IFS
=$IFS; IFS
='-'
3498 # Remember, the first character of IFS is used to create $*,
3499 # except with old shells:
3502 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3508 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3509 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3510 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3516 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3518 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3519 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3520 $as_echo_n "(cached) " >&6
3522 cat >conftest.
make <<\_ACEOF
3525 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3527 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3528 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3530 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3532 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3536 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3538 $as_echo "yes" >&6; }
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3542 $as_echo "no" >&6; }
3543 SET_MAKE
="MAKE=${MAKE-make}"
3547 ac_cpp
='$CPP $CPPFLAGS'
3548 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3549 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3550 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3551 if test -n "$ac_tool_prefix"; then
3552 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3553 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3555 $as_echo_n "checking for $ac_word... " >&6; }
3556 if ${ac_cv_prog_CC+:} false
; then :
3557 $as_echo_n "(cached) " >&6
3559 if test -n "$CC"; then
3560 ac_cv_prog_CC
="$CC" # Let the user override the test.
3562 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3566 test -z "$as_dir" && as_dir
=.
3567 for ac_exec_ext
in '' $ac_executable_extensions; do
3568 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3569 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3580 if test -n "$CC"; then
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3582 $as_echo "$CC" >&6; }
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3585 $as_echo "no" >&6; }
3590 if test -z "$ac_cv_prog_CC"; then
3592 # Extract the first word of "gcc", so it can be a program name with args.
3593 set dummy gcc
; ac_word
=$2
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3595 $as_echo_n "checking for $ac_word... " >&6; }
3596 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3597 $as_echo_n "(cached) " >&6
3599 if test -n "$ac_ct_CC"; then
3600 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3602 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3606 test -z "$as_dir" && as_dir
=.
3607 for ac_exec_ext
in '' $ac_executable_extensions; do
3608 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3609 ac_cv_prog_ac_ct_CC
="gcc"
3610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3619 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3620 if test -n "$ac_ct_CC"; then
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3622 $as_echo "$ac_ct_CC" >&6; }
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3625 $as_echo "no" >&6; }
3628 if test "x$ac_ct_CC" = x
; then
3631 case $cross_compiling:$ac_tool_warned in
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3634 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3635 ac_tool_warned
=yes ;;
3643 if test -z "$CC"; then
3644 if test -n "$ac_tool_prefix"; then
3645 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3646 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3648 $as_echo_n "checking for $ac_word... " >&6; }
3649 if ${ac_cv_prog_CC+:} false
; then :
3650 $as_echo_n "(cached) " >&6
3652 if test -n "$CC"; then
3653 ac_cv_prog_CC
="$CC" # Let the user override the test.
3655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3659 test -z "$as_dir" && as_dir
=.
3660 for ac_exec_ext
in '' $ac_executable_extensions; do
3661 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3662 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3673 if test -n "$CC"; then
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3675 $as_echo "$CC" >&6; }
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3678 $as_echo "no" >&6; }
3684 if test -z "$CC"; then
3685 # Extract the first word of "cc", so it can be a program name with args.
3686 set dummy cc
; ac_word
=$2
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3688 $as_echo_n "checking for $ac_word... " >&6; }
3689 if ${ac_cv_prog_CC+:} false
; then :
3690 $as_echo_n "(cached) " >&6
3692 if test -n "$CC"; then
3693 ac_cv_prog_CC
="$CC" # Let the user override the test.
3696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3700 test -z "$as_dir" && as_dir
=.
3701 for ac_exec_ext
in '' $ac_executable_extensions; do
3702 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3703 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3704 ac_prog_rejected
=yes
3708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3715 if test $ac_prog_rejected = yes; then
3716 # We found a bogon in the path, so make sure we never use it.
3717 set dummy
$ac_cv_prog_CC
3719 if test $# != 0; then
3720 # We chose a different compiler from the bogus one.
3721 # However, it has the same basename, so the bogon will be chosen
3722 # first if we set CC to just the basename; use the full file name.
3724 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3730 if test -n "$CC"; then
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3732 $as_echo "$CC" >&6; }
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3735 $as_echo "no" >&6; }
3740 if test -z "$CC"; then
3741 if test -n "$ac_tool_prefix"; then
3742 for ac_prog
in cl.exe
3744 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3745 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3747 $as_echo_n "checking for $ac_word... " >&6; }
3748 if ${ac_cv_prog_CC+:} false
; then :
3749 $as_echo_n "(cached) " >&6
3751 if test -n "$CC"; then
3752 ac_cv_prog_CC
="$CC" # Let the user override the test.
3754 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3758 test -z "$as_dir" && as_dir
=.
3759 for ac_exec_ext
in '' $ac_executable_extensions; do
3760 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3761 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3772 if test -n "$CC"; then
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3774 $as_echo "$CC" >&6; }
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3777 $as_echo "no" >&6; }
3781 test -n "$CC" && break
3784 if test -z "$CC"; then
3786 for ac_prog
in cl.exe
3788 # Extract the first word of "$ac_prog", so it can be a program name with args.
3789 set dummy
$ac_prog; ac_word
=$2
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3791 $as_echo_n "checking for $ac_word... " >&6; }
3792 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3793 $as_echo_n "(cached) " >&6
3795 if test -n "$ac_ct_CC"; then
3796 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3802 test -z "$as_dir" && as_dir
=.
3803 for ac_exec_ext
in '' $ac_executable_extensions; do
3804 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3805 ac_cv_prog_ac_ct_CC
="$ac_prog"
3806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3815 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3816 if test -n "$ac_ct_CC"; then
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3818 $as_echo "$ac_ct_CC" >&6; }
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3821 $as_echo "no" >&6; }
3825 test -n "$ac_ct_CC" && break
3828 if test "x$ac_ct_CC" = x
; then
3831 case $cross_compiling:$ac_tool_warned in
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3834 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3835 ac_tool_warned
=yes ;;
3844 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3845 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3846 as_fn_error $?
"no acceptable C compiler found in \$PATH
3847 See \`config.log' for more details" "$LINENO" 5; }
3849 # Provide some information about the compiler.
3850 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3853 for ac_option
in --version -v -V -qversion; do
3854 { { ac_try
="$ac_compiler $ac_option >&5"
3856 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3857 *) ac_try_echo=$ac_try;;
3859 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3860 $as_echo "$ac_try_echo"; } >&5
3861 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3863 if test -s conftest.err; then
3865 ... rest of stderr output deleted ...
3866 10q' conftest.err >conftest.er1
3867 cat conftest.er1 >&5
3869 rm -f conftest.er1 conftest.err
3870 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3871 test $ac_status = 0; }
3874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3875 /* end confdefs.h. */
3885 ac_clean_files_save=$ac_clean_files
3886 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3887 # Try to create an executable without -o first, disregard a.out.
3888 # It will help us diagnose broken compilers, and finding out an intuition
3890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3891 $as_echo_n "checking whether the C compiler works... " >&6; }
3892 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3894 # The possible output files:
3895 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3898 for ac_file in $ac_files
3901 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3902 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3907 if { { ac_try="$ac_link_default"
3909 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3910 *) ac_try_echo
=$ac_try;;
3912 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3913 $as_echo "$ac_try_echo"; } >&5
3914 (eval "$ac_link_default") 2>&5
3916 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3917 test $ac_status = 0; }; then :
3918 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3919 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3920 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3921 # so that the user can short-circuit this test for compilers unknown to
3923 for ac_file
in $ac_files ''
3925 test -f "$ac_file" ||
continue
3927 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3930 # We found the default executable, but exeext='' is most
3934 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3936 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3938 # We set ac_cv_exeext here because the later test for it is not
3939 # safe: cross compilers may not add the suffix if given an `-o'
3940 # argument, so we may need to know it at that point already.
3941 # Even if this section looks crufty: it has the advantage of
3948 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3953 if test -z "$ac_file"; then :
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3955 $as_echo "no" >&6; }
3956 $as_echo "$as_me: failed program was:" >&5
3957 sed 's/^/| /' conftest.
$ac_ext >&5
3959 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3960 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3961 as_fn_error
77 "C compiler cannot create executables
3962 See \`config.log' for more details" "$LINENO" 5; }
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3965 $as_echo "yes" >&6; }
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3968 $as_echo_n "checking for C compiler default output file name... " >&6; }
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3970 $as_echo "$ac_file" >&6; }
3971 ac_exeext
=$ac_cv_exeext
3973 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3974 ac_clean_files
=$ac_clean_files_save
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3976 $as_echo_n "checking for suffix of executables... " >&6; }
3977 if { { ac_try
="$ac_link"
3979 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3980 *) ac_try_echo=$ac_try;;
3982 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3983 $as_echo "$ac_try_echo"; } >&5
3984 (eval "$ac_link") 2>&5
3986 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3987 test $ac_status = 0; }; then :
3988 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3989 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3990 # work properly (i.e., refer to `conftest.exe'), while it won't with
3992 for ac_file
in conftest.exe conftest conftest.
*; do
3993 test -f "$ac_file" ||
continue
3995 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3996 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4002 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4003 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4004 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4005 See \`config.log' for more details" "$LINENO" 5; }
4007 rm -f conftest conftest
$ac_cv_exeext
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4009 $as_echo "$ac_cv_exeext" >&6; }
4011 rm -f conftest.
$ac_ext
4012 EXEEXT
=$ac_cv_exeext
4014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4015 /* end confdefs.h. */
4020 FILE *f = fopen ("conftest.out", "w");
4021 return ferror (f) || fclose (f) != 0;
4027 ac_clean_files
="$ac_clean_files conftest.out"
4028 # Check that the compiler produces executables we can run. If not, either
4029 # the compiler is broken, or we cross compile.
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4031 $as_echo_n "checking whether we are cross compiling... " >&6; }
4032 if test "$cross_compiling" != yes; then
4033 { { ac_try
="$ac_link"
4035 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4036 *) ac_try_echo=$ac_try;;
4038 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4039 $as_echo "$ac_try_echo"; } >&5
4040 (eval "$ac_link") 2>&5
4042 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4043 test $ac_status = 0; }
4044 if { ac_try='./conftest$ac_cv_exeext'
4045 { { case "(($ac_try" in
4046 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4047 *) ac_try_echo
=$ac_try;;
4049 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4050 $as_echo "$ac_try_echo"; } >&5
4051 (eval "$ac_try") 2>&5
4053 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4054 test $ac_status = 0; }; }; then
4057 if test "$cross_compiling" = maybe
; then
4060 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4061 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4062 as_fn_error $?
"cannot run C compiled programs.
4063 If you meant to cross compile, use \`--host'.
4064 See \`config.log' for more details" "$LINENO" 5; }
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4069 $as_echo "$cross_compiling" >&6; }
4071 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4072 ac_clean_files
=$ac_clean_files_save
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4074 $as_echo_n "checking for suffix of object files... " >&6; }
4075 if ${ac_cv_objext+:} false
; then :
4076 $as_echo_n "(cached) " >&6
4078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4079 /* end confdefs.h. */
4089 rm -f conftest.o conftest.obj
4090 if { { ac_try
="$ac_compile"
4092 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4093 *) ac_try_echo=$ac_try;;
4095 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4096 $as_echo "$ac_try_echo"; } >&5
4097 (eval "$ac_compile") 2>&5
4099 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4100 test $ac_status = 0; }; then :
4101 for ac_file in conftest.o conftest.obj conftest.*; do
4102 test -f "$ac_file" || continue;
4104 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4105 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4110 $as_echo "$as_me: failed program was:" >&5
4111 sed 's/^/| /' conftest.$ac_ext >&5
4113 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4114 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4115 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4116 See \
`config.log' for more details" "$LINENO" 5; }
4118 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4121 $as_echo "$ac_cv_objext" >&6; }
4122 OBJEXT=$ac_cv_objext
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4125 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4126 if ${ac_cv_c_compiler_gnu+:} false; then :
4127 $as_echo_n "(cached) " >&6
4129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4130 /* end confdefs.h. */
4143 if ac_fn_c_try_compile "$LINENO"; then :
4148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4149 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4153 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4154 if test $ac_compiler_gnu = yes; then
4159 ac_test_CFLAGS=${CFLAGS+set}
4160 ac_save_CFLAGS=$CFLAGS
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4162 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4163 if ${ac_cv_prog_cc_g+:} false; then :
4164 $as_echo_n "(cached) " >&6
4166 ac_save_c_werror_flag=$ac_c_werror_flag
4167 ac_c_werror_flag=yes
4170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4171 /* end confdefs.h. */
4181 if ac_fn_c_try_compile "$LINENO"; then :
4185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4186 /* end confdefs.h. */
4196 if ac_fn_c_try_compile "$LINENO"; then :
4199 ac_c_werror_flag=$ac_save_c_werror_flag
4201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4202 /* end confdefs.h. */
4212 if ac_fn_c_try_compile "$LINENO"; then :
4215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4220 ac_c_werror_flag=$ac_save_c_werror_flag
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4223 $as_echo "$ac_cv_prog_cc_g" >&6; }
4224 if test "$ac_test_CFLAGS" = set; then
4225 CFLAGS=$ac_save_CFLAGS
4226 elif test $ac_cv_prog_cc_g = yes; then
4227 if test "$GCC" = yes; then
4233 if test "$GCC" = yes; then
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4240 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4241 if ${ac_cv_prog_cc_c89+:} false; then :
4242 $as_echo_n "(cached) " >&6
4244 ac_cv_prog_cc_c89=no
4246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4247 /* end confdefs.h. */
4251 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4252 struct buf { int x; };
4253 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4254 static char *e (p, i)
4260 static char *f (char * (*g) (char **, int), char **p, ...)
4265 s = g (p, va_arg (v,int));
4270 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4271 function prototypes and stuff, but not '\xHH' hex character constants.
4272 These don't provoke an error unfortunately, instead are silently treated
4273 as 'x'. The following induces an error, until -std is added to get
4274 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4275 array size at least. It's necessary to write '\x00'==0 to get something
4276 that's true only with -std. */
4277 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4279 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4280 inside strings and character constants. */
4282 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4284 int test (int i, double x);
4285 struct s1 {int (*f) (int a);};
4286 struct s2 {int (*f) (double a);};
4287 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4293 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4298 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4299 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4301 CC="$ac_save_CC $ac_arg"
4302 if ac_fn_c_try_compile "$LINENO"; then :
4303 ac_cv_prog_cc_c89=$ac_arg
4305 rm -f core conftest.err conftest.$ac_objext
4306 test "x$ac_cv_prog_cc_c89" != "xno" && break
4308 rm -f conftest.$ac_ext
4313 case "x$ac_cv_prog_cc_c89" in
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4316 $as_echo "none needed" >&6; } ;;
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4319 $as_echo "unsupported" >&6; } ;;
4321 CC="$CC $ac_cv_prog_cc_c89"
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4323 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4325 if test "x$ac_cv_prog_cc_c89" != xno; then :
4330 ac_cpp='$CPP $CPPFLAGS'
4331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4336 ac_cpp='$CXXCPP $CPPFLAGS'
4337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4340 if test -z "$CXX"; then
4341 if test -n "$CCC"; then
4344 if test -n "$ac_tool_prefix"; then
4345 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4347 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4348 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4350 $as_echo_n "checking for $ac_word... " >&6; }
4351 if ${ac_cv_prog_CXX+:} false; then :
4352 $as_echo_n "(cached) " >&6
4354 if test -n "$CXX"; then
4355 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4361 test -z "$as_dir" && as_dir=.
4362 for ac_exec_ext in '' $ac_executable_extensions; do
4363 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4364 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4375 if test -n "$CXX"; then
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4377 $as_echo "$CXX" >&6; }
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4380 $as_echo "no" >&6; }
4384 test -n "$CXX" && break
4387 if test -z "$CXX"; then
4389 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4391 # Extract the first word of "$ac_prog", so it can be a program name with args.
4392 set dummy $ac_prog; ac_word=$2
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4394 $as_echo_n "checking for $ac_word... " >&6; }
4395 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4396 $as_echo_n "(cached) " >&6
4398 if test -n "$ac_ct_CXX"; then
4399 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4405 test -z "$as_dir" && as_dir=.
4406 for ac_exec_ext in '' $ac_executable_extensions; do
4407 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4408 ac_cv_prog_ac_ct_CXX="$ac_prog"
4409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4418 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4419 if test -n "$ac_ct_CXX"; then
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4421 $as_echo "$ac_ct_CXX" >&6; }
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4424 $as_echo "no" >&6; }
4428 test -n "$ac_ct_CXX" && break
4431 if test "x$ac_ct_CXX" = x; then
4434 case $cross_compiling:$ac_tool_warned in
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4437 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4438 ac_tool_warned=yes ;;
4446 # Provide some information about the compiler.
4447 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4450 for ac_option in --version -v -V -qversion; do
4451 { { ac_try="$ac_compiler $ac_option >&5"
4453 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4454 *) ac_try_echo
=$ac_try;;
4456 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4457 $as_echo "$ac_try_echo"; } >&5
4458 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4460 if test -s conftest.err
; then
4462 ... rest of stderr output deleted ...
4463 10q' conftest.err
>conftest.er1
4464 cat conftest.er1
>&5
4466 rm -f conftest.er1 conftest.err
4467 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4468 test $ac_status = 0; }
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4472 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4473 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4474 $as_echo_n "(cached) " >&6
4476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4477 /* end confdefs.h. */
4490 if ac_fn_cxx_try_compile
"$LINENO"; then :
4495 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4496 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4500 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4501 if test $ac_compiler_gnu = yes; then
4506 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4507 ac_save_CXXFLAGS
=$CXXFLAGS
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4509 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4510 if ${ac_cv_prog_cxx_g+:} false
; then :
4511 $as_echo_n "(cached) " >&6
4513 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4514 ac_cxx_werror_flag
=yes
4517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4518 /* end confdefs.h. */
4528 if ac_fn_cxx_try_compile
"$LINENO"; then :
4529 ac_cv_prog_cxx_g
=yes
4532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4533 /* end confdefs.h. */
4543 if ac_fn_cxx_try_compile
"$LINENO"; then :
4546 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4549 /* end confdefs.h. */
4559 if ac_fn_cxx_try_compile
"$LINENO"; then :
4560 ac_cv_prog_cxx_g
=yes
4562 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4564 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4566 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4567 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4570 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4571 if test "$ac_test_CXXFLAGS" = set; then
4572 CXXFLAGS
=$ac_save_CXXFLAGS
4573 elif test $ac_cv_prog_cxx_g = yes; then
4574 if test "$GXX" = yes; then
4580 if test "$GXX" = yes; then
4587 ac_cpp
='$CPP $CPPFLAGS'
4588 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4589 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4590 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4592 if test -n "$ac_tool_prefix"; then
4593 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4594 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4596 $as_echo_n "checking for $ac_word... " >&6; }
4597 if ${ac_cv_prog_CPPBIN+:} false
; then :
4598 $as_echo_n "(cached) " >&6
4600 if test -n "$CPPBIN"; then
4601 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4603 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4607 test -z "$as_dir" && as_dir
=.
4608 for ac_exec_ext
in '' $ac_executable_extensions; do
4609 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4610 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4620 CPPBIN
=$ac_cv_prog_CPPBIN
4621 if test -n "$CPPBIN"; then
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4623 $as_echo "$CPPBIN" >&6; }
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4626 $as_echo "no" >&6; }
4631 if test -z "$ac_cv_prog_CPPBIN"; then
4632 ac_ct_CPPBIN
=$CPPBIN
4633 # Extract the first word of "cpp", so it can be a program name with args.
4634 set dummy cpp
; ac_word
=$2
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4636 $as_echo_n "checking for $ac_word... " >&6; }
4637 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4638 $as_echo_n "(cached) " >&6
4640 if test -n "$ac_ct_CPPBIN"; then
4641 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4647 test -z "$as_dir" && as_dir
=.
4648 for ac_exec_ext
in '' $ac_executable_extensions; do
4649 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4650 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4660 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4661 if test -n "$ac_ct_CPPBIN"; then
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4663 $as_echo "$ac_ct_CPPBIN" >&6; }
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4666 $as_echo "no" >&6; }
4669 if test "x$ac_ct_CPPBIN" = x
; then
4672 case $cross_compiling:$ac_tool_warned in
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4675 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4676 ac_tool_warned
=yes ;;
4678 CPPBIN
=$ac_ct_CPPBIN
4681 CPPBIN
="$ac_cv_prog_CPPBIN"
4685 cat >>confdefs.h
<<_ACEOF
4686 #define EXEEXT "$ac_exeext"
4692 if test "x$enable_win64" = "xyes"
4697 notice_platform
="64-bit "
4704 notice_platform
="32-bit "
4707 enable_win16
=${enable_win16:-yes}
4709 with_fontconfig
=${with_fontconfig:-no}
4712 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4717 $as_echo_n "checking whether $CC works... " >&6; }
4719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4720 /* end confdefs.h. */
4730 if ac_fn_c_try_link
"$LINENO"; then :
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4732 $as_echo "yes" >&6; }
4734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4735 $as_echo "no" >&6; }
4736 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4738 rm -f core conftest.err conftest.
$ac_objext \
4739 conftest
$ac_exeext conftest.
$ac_ext
4741 notice_platform
="32-bit "
4744 enable_win16
=${enable_win16:-yes}
4746 if test "x${GCC}" = "xyes"
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4749 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4751 /* end confdefs.h. */
4756 void func(__builtin_ms_va_list *args);
4761 if ac_fn_c_try_compile
"$LINENO"; then :
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4763 $as_echo "yes" >&6; }
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4766 $as_echo "no" >&6; }
4767 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4769 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4777 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4779 /* end confdefs.h. */
4780 int ac_test(int i) { return i; }
4784 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4789 if ac_fn_c_try_link
"$LINENO"; then :
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4791 $as_echo "yes" >&6; }
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4794 $as_echo "no" >&6; }
4795 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4797 rm -f core conftest.err conftest.
$ac_objext \
4798 conftest
$ac_exeext conftest.
$ac_ext
4799 CFLAGS
="$CFLAGS -marm"
4803 *-mingw32*|
*-cygwin*)
4804 enable_win16
=${enable_win16:-no}
4805 CFLAGS
="$CFLAGS -D_WIN32"
4808 enable_win16
=${enable_win16:-yes}
4812 enable_win16
=${enable_win16:-no}
4813 enable_win64
=${enable_win64:-no}
4815 enable_winetest
=${enable_winetest:-$enable_tests}
4817 if test -n "$with_wine64"
4819 if test "x$enable_win64" = "xyes"
4821 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4822 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4824 enable_fonts
=${enable_fonts:-no}
4825 enable_server
=${enable_server:-no}
4826 elif test "x$enable_win64" = "xyes"
4828 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4832 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4833 if ${wine_cv_toolsdir+:} false
; then :
4834 $as_echo_n "(cached) " >&6
4836 wine_cv_toolsdir
="$with_wine_tools"
4837 if test -z "$with_wine_tools"; then
4838 if test "$cross_compiling" = "yes"; then
4839 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4840 elif test -n "$with_wine64"; then
4841 wine_cv_toolsdir
="$with_wine64"
4844 if test -z "$wine_cv_toolsdir"; then
4845 wine_cv_toolsdir
="\$(top_builddir)"
4846 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4847 case "$wine_cv_toolsdir" in
4849 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4851 enable_tools
=${enable_tools:-no}
4853 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4857 $as_echo "$wine_cv_toolsdir" >&6; }
4858 TOOLSDIR
=$wine_cv_toolsdir
4860 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4862 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4868 # Extract the first word of "$ac_prog", so it can be a program name with args.
4869 set dummy
$ac_prog; ac_word
=$2
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4871 $as_echo_n "checking for $ac_word... " >&6; }
4872 if ${ac_cv_prog_FLEX+:} false
; then :
4873 $as_echo_n "(cached) " >&6
4875 if test -n "$FLEX"; then
4876 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4882 test -z "$as_dir" && as_dir
=.
4883 for ac_exec_ext
in '' $ac_executable_extensions; do
4884 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4885 ac_cv_prog_FLEX
="$ac_prog"
4886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4895 FLEX
=$ac_cv_prog_FLEX
4896 if test -n "$FLEX"; then
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4898 $as_echo "$FLEX" >&6; }
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4901 $as_echo "no" >&6; }
4905 test -n "$FLEX" && break
4907 test -n "$FLEX" || FLEX
="none"
4909 if test "$FLEX" = "none"
4911 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4914 $as_echo_n "checking whether flex is recent enough... " >&6; }
4915 cat >conftest.l
<<EOF
4917 #include "prediluvian.h"
4921 if $FLEX -t conftest.l
>/dev
/null
2>&5
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4924 $as_echo "yes" >&6; }
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4927 $as_echo "no" >&6; }
4928 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4931 for ac_prog
in bison
4933 # Extract the first word of "$ac_prog", so it can be a program name with args.
4934 set dummy
$ac_prog; ac_word
=$2
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4936 $as_echo_n "checking for $ac_word... " >&6; }
4937 if ${ac_cv_prog_BISON+:} false
; then :
4938 $as_echo_n "(cached) " >&6
4940 if test -n "$BISON"; then
4941 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4943 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4947 test -z "$as_dir" && as_dir
=.
4948 for ac_exec_ext
in '' $ac_executable_extensions; do
4949 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4950 ac_cv_prog_BISON
="$ac_prog"
4951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4960 BISON
=$ac_cv_prog_BISON
4961 if test -n "$BISON"; then
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4963 $as_echo "$BISON" >&6; }
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4966 $as_echo "no" >&6; }
4970 test -n "$BISON" && break
4972 test -n "$BISON" || BISON
="none"
4974 if test "$BISON" = "none"
4976 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4979 if test -n "$ac_tool_prefix"; then
4980 for ac_prog
in ar gar
4982 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4983 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4985 $as_echo_n "checking for $ac_word... " >&6; }
4986 if ${ac_cv_prog_AR+:} false
; then :
4987 $as_echo_n "(cached) " >&6
4989 if test -n "$AR"; then
4990 ac_cv_prog_AR
="$AR" # Let the user override the test.
4992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4996 test -z "$as_dir" && as_dir
=.
4997 for ac_exec_ext
in '' $ac_executable_extensions; do
4998 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4999 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5010 if test -n "$AR"; then
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5012 $as_echo "$AR" >&6; }
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5015 $as_echo "no" >&6; }
5019 test -n "$AR" && break
5022 if test -z "$AR"; then
5024 for ac_prog
in ar gar
5026 # Extract the first word of "$ac_prog", so it can be a program name with args.
5027 set dummy
$ac_prog; ac_word
=$2
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5029 $as_echo_n "checking for $ac_word... " >&6; }
5030 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5031 $as_echo_n "(cached) " >&6
5033 if test -n "$ac_ct_AR"; then
5034 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5040 test -z "$as_dir" && as_dir
=.
5041 for ac_exec_ext
in '' $ac_executable_extensions; do
5042 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5043 ac_cv_prog_ac_ct_AR
="$ac_prog"
5044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5053 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5054 if test -n "$ac_ct_AR"; then
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5056 $as_echo "$ac_ct_AR" >&6; }
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5059 $as_echo "no" >&6; }
5063 test -n "$ac_ct_AR" && break
5066 if test "x$ac_ct_AR" = x
; then
5069 case $cross_compiling:$ac_tool_warned in
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5072 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5073 ac_tool_warned
=yes ;;
5079 if test -n "$ac_tool_prefix"; then
5080 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5081 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5083 $as_echo_n "checking for $ac_word... " >&6; }
5084 if ${ac_cv_prog_STRIP+:} false
; then :
5085 $as_echo_n "(cached) " >&6
5087 if test -n "$STRIP"; then
5088 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5090 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5094 test -z "$as_dir" && as_dir
=.
5095 for ac_exec_ext
in '' $ac_executable_extensions; do
5096 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5097 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5107 STRIP
=$ac_cv_prog_STRIP
5108 if test -n "$STRIP"; then
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5110 $as_echo "$STRIP" >&6; }
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5113 $as_echo "no" >&6; }
5118 if test -z "$ac_cv_prog_STRIP"; then
5120 # Extract the first word of "strip", so it can be a program name with args.
5121 set dummy strip
; ac_word
=$2
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5123 $as_echo_n "checking for $ac_word... " >&6; }
5124 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5125 $as_echo_n "(cached) " >&6
5127 if test -n "$ac_ct_STRIP"; then
5128 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5134 test -z "$as_dir" && as_dir
=.
5135 for ac_exec_ext
in '' $ac_executable_extensions; do
5136 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5137 ac_cv_prog_ac_ct_STRIP
="strip"
5138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5147 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5148 if test -n "$ac_ct_STRIP"; then
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5150 $as_echo "$ac_ct_STRIP" >&6; }
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5153 $as_echo "no" >&6; }
5156 if test "x$ac_ct_STRIP" = x
; then
5159 case $cross_compiling:$ac_tool_warned in
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5162 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5163 ac_tool_warned
=yes ;;
5168 STRIP
="$ac_cv_prog_STRIP"
5173 if test -n "$ac_tool_prefix"; then
5174 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5175 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5177 $as_echo_n "checking for $ac_word... " >&6; }
5178 if ${ac_cv_prog_RANLIB+:} false
; then :
5179 $as_echo_n "(cached) " >&6
5181 if test -n "$RANLIB"; then
5182 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5188 test -z "$as_dir" && as_dir
=.
5189 for ac_exec_ext
in '' $ac_executable_extensions; do
5190 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5191 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5201 RANLIB
=$ac_cv_prog_RANLIB
5202 if test -n "$RANLIB"; then
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5204 $as_echo "$RANLIB" >&6; }
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5207 $as_echo "no" >&6; }
5212 if test -z "$ac_cv_prog_RANLIB"; then
5213 ac_ct_RANLIB
=$RANLIB
5214 # Extract the first word of "ranlib", so it can be a program name with args.
5215 set dummy ranlib
; ac_word
=$2
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5217 $as_echo_n "checking for $ac_word... " >&6; }
5218 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5219 $as_echo_n "(cached) " >&6
5221 if test -n "$ac_ct_RANLIB"; then
5222 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5228 test -z "$as_dir" && as_dir
=.
5229 for ac_exec_ext
in '' $ac_executable_extensions; do
5230 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5231 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5241 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5242 if test -n "$ac_ct_RANLIB"; then
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5244 $as_echo "$ac_ct_RANLIB" >&6; }
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5247 $as_echo "no" >&6; }
5250 if test "x$ac_ct_RANLIB" = x
; then
5253 case $cross_compiling:$ac_tool_warned in
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5256 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5257 ac_tool_warned
=yes ;;
5259 RANLIB
=$ac_ct_RANLIB
5262 RANLIB
="$ac_cv_prog_RANLIB"
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5266 $as_echo_n "checking whether ln -s works... " >&6; }
5268 if test "$LN_S" = "ln -s"; then
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5270 $as_echo "yes" >&6; }
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5273 $as_echo "no, using $LN_S" >&6; }
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5277 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5278 if ${ac_cv_path_GREP+:} false
; then :
5279 $as_echo_n "(cached) " >&6
5281 if test -z "$GREP"; then
5282 ac_path_GREP_found
=false
5283 # Loop through the user's path and test for each of PROGNAME-LIST
5284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5285 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5288 test -z "$as_dir" && as_dir
=.
5289 for ac_prog
in grep ggrep
; do
5290 for ac_exec_ext
in '' $ac_executable_extensions; do
5291 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5292 as_fn_executable_p
"$ac_path_GREP" ||
continue
5293 # Check for GNU ac_path_GREP and select it if it is found.
5294 # Check for GNU $ac_path_GREP
5295 case `"$ac_path_GREP" --version 2>&1` in
5297 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5300 $as_echo_n 0123456789 >"conftest.in"
5303 cat "conftest.in" "conftest.in" >"conftest.tmp"
5304 mv "conftest.tmp" "conftest.in"
5305 cp "conftest.in" "conftest.nl"
5306 $as_echo 'GREP' >> "conftest.nl"
5307 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5308 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5309 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5310 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5311 # Best one so far, save it but keep looking for a better one
5312 ac_cv_path_GREP
="$ac_path_GREP"
5313 ac_path_GREP_max
=$ac_count
5315 # 10*(2^10) chars as input seems more than enough
5316 test $ac_count -gt 10 && break
5318 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5321 $ac_path_GREP_found && break 3
5326 if test -z "$ac_cv_path_GREP"; then
5327 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5330 ac_cv_path_GREP
=$GREP
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5335 $as_echo "$ac_cv_path_GREP" >&6; }
5336 GREP
="$ac_cv_path_GREP"
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5340 $as_echo_n "checking for egrep... " >&6; }
5341 if ${ac_cv_path_EGREP+:} false
; then :
5342 $as_echo_n "(cached) " >&6
5344 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5345 then ac_cv_path_EGREP
="$GREP -E"
5347 if test -z "$EGREP"; then
5348 ac_path_EGREP_found
=false
5349 # Loop through the user's path and test for each of PROGNAME-LIST
5350 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5351 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5354 test -z "$as_dir" && as_dir
=.
5355 for ac_prog
in egrep; do
5356 for ac_exec_ext
in '' $ac_executable_extensions; do
5357 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5358 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5359 # Check for GNU ac_path_EGREP and select it if it is found.
5360 # Check for GNU $ac_path_EGREP
5361 case `"$ac_path_EGREP" --version 2>&1` in
5363 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5366 $as_echo_n 0123456789 >"conftest.in"
5369 cat "conftest.in" "conftest.in" >"conftest.tmp"
5370 mv "conftest.tmp" "conftest.in"
5371 cp "conftest.in" "conftest.nl"
5372 $as_echo 'EGREP' >> "conftest.nl"
5373 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5374 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5375 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5376 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5377 # Best one so far, save it but keep looking for a better one
5378 ac_cv_path_EGREP
="$ac_path_EGREP"
5379 ac_path_EGREP_max
=$ac_count
5381 # 10*(2^10) chars as input seems more than enough
5382 test $ac_count -gt 10 && break
5384 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5387 $ac_path_EGREP_found && break 3
5392 if test -z "$ac_cv_path_EGREP"; then
5393 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5396 ac_cv_path_EGREP
=$EGREP
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5402 $as_echo "$ac_cv_path_EGREP" >&6; }
5403 EGREP
="$ac_cv_path_EGREP"
5406 # Extract the first word of "ldconfig", so it can be a program name with args.
5407 set dummy ldconfig
; ac_word
=$2
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5409 $as_echo_n "checking for $ac_word... " >&6; }
5410 if ${ac_cv_path_LDCONFIG+:} false
; then :
5411 $as_echo_n "(cached) " >&6
5415 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5419 for as_dir
in /sbin
/usr
/sbin
$PATH
5422 test -z "$as_dir" && as_dir
=.
5423 for ac_exec_ext
in '' $ac_executable_extensions; do
5424 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5425 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5433 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5437 LDCONFIG
=$ac_cv_path_LDCONFIG
5438 if test -n "$LDCONFIG"; then
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5440 $as_echo "$LDCONFIG" >&6; }
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5443 $as_echo "no" >&6; }
5447 for ac_prog
in msgfmt
5449 # Extract the first word of "$ac_prog", so it can be a program name with args.
5450 set dummy
$ac_prog; ac_word
=$2
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5452 $as_echo_n "checking for $ac_word... " >&6; }
5453 if ${ac_cv_prog_MSGFMT+:} false
; then :
5454 $as_echo_n "(cached) " >&6
5456 if test -n "$MSGFMT"; then
5457 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5459 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5463 test -z "$as_dir" && as_dir
=.
5464 for ac_exec_ext
in '' $ac_executable_extensions; do
5465 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5466 ac_cv_prog_MSGFMT
="$ac_prog"
5467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5476 MSGFMT
=$ac_cv_prog_MSGFMT
5477 if test -n "$MSGFMT"; then
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5479 $as_echo "$MSGFMT" >&6; }
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5482 $as_echo "no" >&6; }
5486 test -n "$MSGFMT" && break
5488 test -n "$MSGFMT" || MSGFMT
="false"
5490 if ${ac_tool_prefix+:} false
; then :
5491 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5492 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5494 $as_echo_n "checking for $ac_word... " >&6; }
5495 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5496 $as_echo_n "(cached) " >&6
5498 if test -n "$PKG_CONFIG"; then
5499 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5505 test -z "$as_dir" && as_dir
=.
5506 for ac_exec_ext
in '' $ac_executable_extensions; do
5507 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5508 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5518 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5519 if test -n "$PKG_CONFIG"; then
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5521 $as_echo "$PKG_CONFIG" >&6; }
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5524 $as_echo "no" >&6; }
5529 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5530 if test "x$cross_compiling" = xyes
; then :
5533 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5534 # Extract the first word of "pkg-config", so it can be a program name with args.
5535 set dummy pkg-config
; ac_word
=$2
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5537 $as_echo_n "checking for $ac_word... " >&6; }
5538 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5539 $as_echo_n "(cached) " >&6
5541 if test -n "$PKG_CONFIG"; then
5542 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5544 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5548 test -z "$as_dir" && as_dir
=.
5549 for ac_exec_ext
in '' $ac_executable_extensions; do
5550 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5551 ac_cv_prog_PKG_CONFIG
="pkg-config"
5552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5561 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5562 if test -n "$PKG_CONFIG"; then
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5564 $as_echo "$PKG_CONFIG" >&6; }
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5567 $as_echo "no" >&6; }
5573 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5576 if test "x$enable_maintainer_mode" != "xyes"
5583 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5584 for ac_prog
in fontforge
5586 # Extract the first word of "$ac_prog", so it can be a program name with args.
5587 set dummy
$ac_prog; ac_word
=$2
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5589 $as_echo_n "checking for $ac_word... " >&6; }
5590 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5591 $as_echo_n "(cached) " >&6
5593 if test -n "$FONTFORGE"; then
5594 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5600 test -z "$as_dir" && as_dir
=.
5601 for ac_exec_ext
in '' $ac_executable_extensions; do
5602 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5603 ac_cv_prog_FONTFORGE
="$ac_prog"
5604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5613 FONTFORGE
=$ac_cv_prog_FONTFORGE
5614 if test -n "$FONTFORGE"; then
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5616 $as_echo "$FONTFORGE" >&6; }
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5619 $as_echo "no" >&6; }
5623 test -n "$FONTFORGE" && break
5625 test -n "$FONTFORGE" || FONTFORGE
="false"
5629 # Extract the first word of "$ac_prog", so it can be a program name with args.
5630 set dummy
$ac_prog; ac_word
=$2
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5632 $as_echo_n "checking for $ac_word... " >&6; }
5633 if ${ac_cv_prog_RSVG+:} false
; then :
5634 $as_echo_n "(cached) " >&6
5636 if test -n "$RSVG"; then
5637 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5639 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5643 test -z "$as_dir" && as_dir
=.
5644 for ac_exec_ext
in '' $ac_executable_extensions; do
5645 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5646 ac_cv_prog_RSVG
="$ac_prog"
5647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5656 RSVG
=$ac_cv_prog_RSVG
5657 if test -n "$RSVG"; then
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5659 $as_echo "$RSVG" >&6; }
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5662 $as_echo "no" >&6; }
5666 test -n "$RSVG" && break
5668 test -n "$RSVG" || RSVG
="false"
5670 for ac_prog
in convert
5672 # Extract the first word of "$ac_prog", so it can be a program name with args.
5673 set dummy
$ac_prog; ac_word
=$2
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5675 $as_echo_n "checking for $ac_word... " >&6; }
5676 if ${ac_cv_prog_CONVERT+:} false
; then :
5677 $as_echo_n "(cached) " >&6
5679 if test -n "$CONVERT"; then
5680 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5682 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5686 test -z "$as_dir" && as_dir
=.
5687 for ac_exec_ext
in '' $ac_executable_extensions; do
5688 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5689 ac_cv_prog_CONVERT
="$ac_prog"
5690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5699 CONVERT
=$ac_cv_prog_CONVERT
5700 if test -n "$CONVERT"; then
5701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5702 $as_echo "$CONVERT" >&6; }
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5705 $as_echo "no" >&6; }
5709 test -n "$CONVERT" && break
5711 test -n "$CONVERT" || CONVERT
="false"
5713 for ac_prog
in icotool
5715 # Extract the first word of "$ac_prog", so it can be a program name with args.
5716 set dummy
$ac_prog; ac_word
=$2
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5718 $as_echo_n "checking for $ac_word... " >&6; }
5719 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5720 $as_echo_n "(cached) " >&6
5722 if test -n "$ICOTOOL"; then
5723 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5729 test -z "$as_dir" && as_dir
=.
5730 for ac_exec_ext
in '' $ac_executable_extensions; do
5731 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5732 ac_cv_prog_ICOTOOL
="$ac_prog"
5733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5742 ICOTOOL
=$ac_cv_prog_ICOTOOL
5743 if test -n "$ICOTOOL"; then
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5745 $as_echo "$ICOTOOL" >&6; }
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5748 $as_echo "no" >&6; }
5752 test -n "$ICOTOOL" && break
5754 test -n "$ICOTOOL" || ICOTOOL
="false"
5756 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5757 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5759 if test "$CONVERT" = false
5761 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5764 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5765 convert_version
=`convert --version | head -n1`
5766 if test "x$convert_version" != "x"
5768 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5769 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5770 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5775 if test "$CONVERT" = false
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5778 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5779 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5782 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5786 if test "$ICOTOOL" = false
5788 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5791 $as_echo_n "checking for recent enough icotool... " >&6; }
5792 icotool_version
=`icotool --version | head -n1`
5793 if test "x$icotool_version" != "x"
5795 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5796 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5797 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5800 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5803 if test "$ICOTOOL" = false
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5806 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5807 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5810 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5816 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5819 test "x$with_gettext" != xno || MSGFMT
=false
5820 if test "$MSGFMT" != "false"
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5823 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5824 cat >conftest.po
<<EOF
5830 if $MSGFMT -o /dev
/null conftest.po
2>&5
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5833 $as_echo "yes" >&6; }
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5836 $as_echo "no" >&6; }
5840 if test "$MSGFMT" = false
; then :
5841 case "x$with_gettext" in
5842 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5844 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5845 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5851 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5852 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5853 $as_echo_n "(cached) " >&6
5855 ac_check_lib_save_LIBS
=$LIBS
5857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5858 /* end confdefs.h. */
5860 /* Override any GCC internal prototype to avoid an error.
5861 Use char because int might match the return type of a GCC
5862 builtin and then its argument prototype would still apply. */
5866 char i386_set_ldt ();
5870 return i386_set_ldt ();
5875 if ac_fn_c_try_link
"$LINENO"; then :
5876 ac_cv_lib_i386_i386_set_ldt
=yes
5878 ac_cv_lib_i386_i386_set_ldt
=no
5880 rm -f core conftest.err conftest.
$ac_objext \
5881 conftest
$ac_exeext conftest.
$ac_ext
5882 LIBS
=$ac_check_lib_save_LIBS
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5885 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5886 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5887 cat >>confdefs.h
<<_ACEOF
5888 #define HAVE_LIBI386 1
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5896 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5897 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5898 $as_echo_n "(cached) " >&6
5900 ac_check_lib_save_LIBS
=$LIBS
5901 LIBS
="-lossaudio $LIBS"
5902 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5903 /* end confdefs.h. */
5905 /* Override any GCC internal prototype to avoid an error.
5906 Use char because int might match the return type of a GCC
5907 builtin and then its argument prototype would still apply. */
5915 return _oss_ioctl ();
5920 if ac_fn_c_try_link
"$LINENO"; then :
5921 ac_cv_lib_ossaudio__oss_ioctl
=yes
5923 ac_cv_lib_ossaudio__oss_ioctl
=no
5925 rm -f core conftest.err conftest.
$ac_objext \
5926 conftest
$ac_exeext conftest.
$ac_ext
5927 LIBS
=$ac_check_lib_save_LIBS
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5930 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5931 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
5932 cat >>confdefs.h
<<_ACEOF
5933 #define HAVE_LIBOSSAUDIO 1
5936 LIBS
="-lossaudio $LIBS"
5945 # Check whether --enable-largefile was given.
5946 if test "${enable_largefile+set}" = set; then :
5947 enableval
=$enable_largefile;
5950 if test "$enable_largefile" != no
; then
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5953 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5954 if ${ac_cv_sys_largefile_CC+:} false
; then :
5955 $as_echo_n "(cached) " >&6
5957 ac_cv_sys_largefile_CC
=no
5958 if test "$GCC" != yes; then
5961 # IRIX 6.2 and later do not support large files by default,
5962 # so use the C compiler's -n32 option if that helps.
5963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5964 /* end confdefs.h. */
5965 #include <sys/types.h>
5966 /* Check that off_t can represent 2**63 - 1 correctly.
5967 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5968 since some C++ compilers masquerading as C compilers
5969 incorrectly reject 9223372036854775807. */
5970 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5971 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5972 && LARGE_OFF_T % 2147483647 == 1)
5982 if ac_fn_c_try_compile
"$LINENO"; then :
5985 rm -f core conftest.err conftest.
$ac_objext
5987 if ac_fn_c_try_compile
"$LINENO"; then :
5988 ac_cv_sys_largefile_CC
=' -n32'; break
5990 rm -f core conftest.err conftest.
$ac_objext
5994 rm -f conftest.
$ac_ext
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5998 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5999 if test "$ac_cv_sys_largefile_CC" != no
; then
6000 CC
=$CC$ac_cv_sys_largefile_CC
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6004 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6005 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6006 $as_echo_n "(cached) " >&6
6009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6010 /* end confdefs.h. */
6011 #include <sys/types.h>
6012 /* Check that off_t can represent 2**63 - 1 correctly.
6013 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6014 since some C++ compilers masquerading as C compilers
6015 incorrectly reject 9223372036854775807. */
6016 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6017 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6018 && LARGE_OFF_T % 2147483647 == 1)
6028 if ac_fn_c_try_compile
"$LINENO"; then :
6029 ac_cv_sys_file_offset_bits
=no
; break
6031 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6033 /* end confdefs.h. */
6034 #define _FILE_OFFSET_BITS 64
6035 #include <sys/types.h>
6036 /* Check that off_t can represent 2**63 - 1 correctly.
6037 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6038 since some C++ compilers masquerading as C compilers
6039 incorrectly reject 9223372036854775807. */
6040 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6041 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6042 && LARGE_OFF_T % 2147483647 == 1)
6052 if ac_fn_c_try_compile
"$LINENO"; then :
6053 ac_cv_sys_file_offset_bits
=64; break
6055 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6056 ac_cv_sys_file_offset_bits
=unknown
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6061 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6062 case $ac_cv_sys_file_offset_bits in #(
6065 cat >>confdefs.h
<<_ACEOF
6066 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6071 if test $ac_cv_sys_file_offset_bits = unknown
; then
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6073 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6074 if ${ac_cv_sys_large_files+:} false
; then :
6075 $as_echo_n "(cached) " >&6
6078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6079 /* end confdefs.h. */
6080 #include <sys/types.h>
6081 /* Check that off_t can represent 2**63 - 1 correctly.
6082 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6083 since some C++ compilers masquerading as C compilers
6084 incorrectly reject 9223372036854775807. */
6085 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6086 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6087 && LARGE_OFF_T % 2147483647 == 1)
6097 if ac_fn_c_try_compile
"$LINENO"; then :
6098 ac_cv_sys_large_files
=no
; break
6100 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6102 /* end confdefs.h. */
6103 #define _LARGE_FILES 1
6104 #include <sys/types.h>
6105 /* Check that off_t can represent 2**63 - 1 correctly.
6106 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6107 since some C++ compilers masquerading as C compilers
6108 incorrectly reject 9223372036854775807. */
6109 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6110 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6111 && LARGE_OFF_T % 2147483647 == 1)
6121 if ac_fn_c_try_compile
"$LINENO"; then :
6122 ac_cv_sys_large_files
=1; break
6124 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6125 ac_cv_sys_large_files
=unknown
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6130 $as_echo "$ac_cv_sys_large_files" >&6; }
6131 case $ac_cv_sys_large_files in #(
6134 cat >>confdefs.h
<<_ACEOF
6135 #define _LARGE_FILES $ac_cv_sys_large_files
6147 ac_cpp
='$CPP $CPPFLAGS'
6148 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6149 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6150 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6152 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6153 # On Suns, sometimes $CPP names a directory.
6154 if test -n "$CPP" && test -d "$CPP"; then
6157 if test -z "$CPP"; then
6158 if ${ac_cv_prog_CPP+:} false
; then :
6159 $as_echo_n "(cached) " >&6
6161 # Double quotes because CPP needs to be expanded
6162 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6165 for ac_c_preproc_warn_flag
in '' yes
6167 # Use a header file that comes with gcc, so configuring glibc
6168 # with a fresh cross-compiler works.
6169 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6170 # <limits.h> exists even on freestanding compilers.
6171 # On the NeXT, cc -E runs the code through the compiler's parser,
6172 # not just through cpp. "Syntax error" is here to catch this case.
6173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6174 /* end confdefs.h. */
6176 # include <limits.h>
6178 # include <assert.h>
6182 if ac_fn_c_try_cpp
"$LINENO"; then :
6185 # Broken: fails on valid input.
6188 rm -f conftest.err conftest.i conftest.
$ac_ext
6190 # OK, works on sane cases. Now check whether nonexistent headers
6191 # can be detected and how.
6192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6193 /* end confdefs.h. */
6194 #include <ac_nonexistent.h>
6196 if ac_fn_c_try_cpp
"$LINENO"; then :
6197 # Broken: success on invalid input.
6200 # Passes both tests.
6204 rm -f conftest.err conftest.i conftest.
$ac_ext
6207 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6208 rm -f conftest.i conftest.err conftest.
$ac_ext
6209 if $ac_preproc_ok; then :
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6222 $as_echo "$CPP" >&6; }
6224 for ac_c_preproc_warn_flag
in '' yes
6226 # Use a header file that comes with gcc, so configuring glibc
6227 # with a fresh cross-compiler works.
6228 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6229 # <limits.h> exists even on freestanding compilers.
6230 # On the NeXT, cc -E runs the code through the compiler's parser,
6231 # not just through cpp. "Syntax error" is here to catch this case.
6232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6233 /* end confdefs.h. */
6235 # include <limits.h>
6237 # include <assert.h>
6241 if ac_fn_c_try_cpp
"$LINENO"; then :
6244 # Broken: fails on valid input.
6247 rm -f conftest.err conftest.i conftest.
$ac_ext
6249 # OK, works on sane cases. Now check whether nonexistent headers
6250 # can be detected and how.
6251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6252 /* end confdefs.h. */
6253 #include <ac_nonexistent.h>
6255 if ac_fn_c_try_cpp
"$LINENO"; then :
6256 # Broken: success on invalid input.
6259 # Passes both tests.
6263 rm -f conftest.err conftest.i conftest.
$ac_ext
6266 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6267 rm -f conftest.i conftest.err conftest.
$ac_ext
6268 if $ac_preproc_ok; then :
6271 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6272 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6273 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6274 See \`config.log' for more details" "$LINENO" 5; }
6278 ac_cpp
='$CPP $CPPFLAGS'
6279 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6280 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6281 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6285 $as_echo_n "checking for ANSI C header files... " >&6; }
6286 if ${ac_cv_header_stdc+:} false
; then :
6287 $as_echo_n "(cached) " >&6
6289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6290 /* end confdefs.h. */
6304 if ac_fn_c_try_compile
"$LINENO"; then :
6305 ac_cv_header_stdc
=yes
6307 ac_cv_header_stdc
=no
6309 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6311 if test $ac_cv_header_stdc = yes; then
6312 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6314 /* end confdefs.h. */
6318 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6319 $EGREP "memchr" >/dev
/null
2>&1; then :
6322 ac_cv_header_stdc
=no
6328 if test $ac_cv_header_stdc = yes; then
6329 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6331 /* end confdefs.h. */
6335 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6336 $EGREP "free" >/dev
/null
2>&1; then :
6339 ac_cv_header_stdc
=no
6345 if test $ac_cv_header_stdc = yes; then
6346 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6347 if test "$cross_compiling" = yes; then :
6350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6351 /* end confdefs.h. */
6354 #if ((' ' & 0x0FF) == 0x020)
6355 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6356 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6358 # define ISLOWER(c) \
6359 (('a' <= (c) && (c) <= 'i') \
6360 || ('j' <= (c) && (c) <= 'r') \
6361 || ('s' <= (c) && (c) <= 'z'))
6362 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6365 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6370 for (i = 0; i < 256; i++)
6371 if (XOR (islower (i), ISLOWER (i))
6372 || toupper (i) != TOUPPER (i))
6377 if ac_fn_c_try_run
"$LINENO"; then :
6380 ac_cv_header_stdc
=no
6382 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6383 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6389 $as_echo "$ac_cv_header_stdc" >&6; }
6390 if test $ac_cv_header_stdc = yes; then
6392 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6396 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6397 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6398 inttypes.h stdint.h unistd.h
6400 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6401 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6403 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6404 cat >>confdefs.h
<<_ACEOF
6405 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6415 ApplicationServices
/ApplicationServices.h \
6416 AudioToolbox
/AudioConverter.h \
6417 AudioUnit
/AudioUnit.h \
6418 AudioUnit
/AudioComponent.h \
6421 CoreAudio
/CoreAudio.h \
6422 CoreServices
/CoreServices.h \
6423 DiskArbitration
/DiskArbitration.h \
6425 IOKit
/hid
/IOHIDLib.h \
6428 QuickTime
/ImageCompression.h \
6429 Security
/Security.h \
6480 netinet
/in_systm.h \
6541 valgrind
/memcheck.h \
6542 valgrind
/valgrind.h \
6546 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6547 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6548 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6549 cat >>confdefs.h
<<_ACEOF
6550 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6558 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6559 if ${ac_cv_header_stat_broken+:} false
; then :
6560 $as_echo_n "(cached) " >&6
6562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6563 /* end confdefs.h. */
6564 #include <sys/types.h>
6565 #include <sys/stat.h>
6567 #if defined S_ISBLK && defined S_IFDIR
6568 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6571 #if defined S_ISBLK && defined S_IFCHR
6572 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6575 #if defined S_ISLNK && defined S_IFREG
6576 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6579 #if defined S_ISSOCK && defined S_IFREG
6580 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6584 if ac_fn_c_try_compile
"$LINENO"; then :
6585 ac_cv_header_stat_broken
=no
6587 ac_cv_header_stat_broken
=yes
6589 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6592 $as_echo "$ac_cv_header_stat_broken" >&6; }
6593 if test $ac_cv_header_stat_broken = yes; then
6595 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6601 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6603 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6604 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6605 #ifdef HAVE_SYS_PARAM_H
6606 # include <sys/param.h>
6609 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6610 cat >>confdefs.h
<<_ACEOF
6611 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6626 netinet
/if_ether.h \
6627 netinet
/if_inarp.h \
6636 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6637 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6638 #ifdef HAVE_SYS_SOCKET_H
6639 # include <sys/socket.h>
6641 #ifdef HAVE_SYS_SOCKETVAR_H
6642 # include <sys/socketvar.h>
6644 #ifdef HAVE_NET_ROUTE_H
6645 # include <net/route.h>
6647 #ifdef HAVE_NETINET_IN_H
6648 # include <netinet/in.h>
6650 #ifdef HAVE_NETINET_IN_SYSTM_H
6651 # include <netinet/in_systm.h>
6653 #ifdef HAVE_NET_IF_H
6654 # include <net/if.h>
6656 #ifdef HAVE_NETINET_IP_H
6657 # include <netinet/ip.h>
6660 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6661 cat >>confdefs.h
<<_ACEOF
6662 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6670 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6672 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6673 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6677 #ifdef HAVE_SYS_SOCKET_H
6678 # include <sys/socket.h>
6680 #ifdef HAVE_SYS_SOCKETVAR_H
6681 # include <sys/socketvar.h>
6683 #ifdef HAVE_SYS_TIMEOUT_H
6684 # include <sys/timeout.h>
6686 #ifdef HAVE_NETINET_IN_H
6687 # include <netinet/in.h>
6689 #ifdef HAVE_NETINET_IN_SYSTM_H
6690 # include <netinet/in_systm.h>
6692 #ifdef HAVE_NETINET_IP_H
6693 # include <netinet/ip.h>
6695 #ifdef HAVE_NETINET_IP_VAR_H
6696 # include <netinet/ip_var.h>
6698 #ifdef HAVE_NETINET_IP_ICMP_H
6699 # include <netinet/ip_icmp.h>
6701 #ifdef HAVE_NETINET_UDP_H
6702 # include <netinet/udp.h>
6704 #ifdef HAVE_NETINET_TCP_H
6705 # include <netinet/tcp.h>
6707 #ifdef HAVE_NETINET_TCP_TIMER_H
6708 #include <netinet/tcp_timer.h>
6711 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6712 cat >>confdefs.h
<<_ACEOF
6713 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6721 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6723 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6724 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6725 #ifdef HAVE_ASM_TYPES_H
6726 # include <asm/types.h>
6728 #ifdef HAVE_SYS_SOCKET_H
6729 # include <sys/socket.h>
6731 #ifdef HAVE_LINUX_TYPES_H
6732 # include <linux/types.h>
6735 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6736 cat >>confdefs.h
<<_ACEOF
6737 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6745 for ac_header
in mach-o
/dyld_images.h
6747 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6748 # include <stdbool.h>
6750 #ifdef HAVE_STDINT_H
6751 # include <stdint.h>
6754 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6755 cat >>confdefs.h
<<_ACEOF
6756 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6764 for ac_header
in resolv.h
6766 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6767 #ifdef HAVE_SYS_SOCKET_H
6768 # include <sys/socket.h>
6770 #ifdef HAVE_NETINET_IN_H
6771 # include <netinet/in.h>
6773 #ifdef HAVE_ARPA_NAMESER_H
6774 # include <arpa/nameser.h>
6777 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6778 cat >>confdefs.h
<<_ACEOF
6779 #define HAVE_RESOLV_H 1
6787 for ac_header
in ifaddrs.h
6789 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6791 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6792 cat >>confdefs.h
<<_ACEOF
6793 #define HAVE_IFADDRS_H 1
6801 for ac_header
in ucontext.h
6803 ac_fn_c_check_header_compile
"$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6805 if test "x$ac_cv_header_ucontext_h" = xyes
; then :
6806 cat >>confdefs.h
<<_ACEOF
6807 #define HAVE_UCONTEXT_H 1
6815 for ac_header
in sys
/thr.h
6817 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6818 #ifdef HAVE_UCONTEXT_H
6819 #include <ucontext.h>
6822 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6823 cat >>confdefs.h
<<_ACEOF
6824 #define HAVE_SYS_THR_H 1
6832 for ac_header
in pthread_np.h
6834 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6835 #include <pthread.h>
6838 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6839 cat >>confdefs.h
<<_ACEOF
6840 #define HAVE_PTHREAD_NP_H 1
6848 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
6850 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6851 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6852 #include <sys/time.h>
6854 #include <sys/types.h>
6855 #ifdef HAVE_ASM_TYPES_H
6856 #include <asm/types.h>
6859 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6860 cat >>confdefs.h
<<_ACEOF
6861 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6869 for ac_header
in libprocstat.h
6871 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6872 #include <sys/param.h>
6874 #ifdef HAVE_SYS_QUEUE_H
6875 #include <sys/queue.h>
6877 #ifdef HAVE_SYS_SOCKET_H
6878 #include <sys/socket.h>
6881 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
6882 cat >>confdefs.h
<<_ACEOF
6883 #define HAVE_LIBPROCSTAT_H 1
6892 dlldir
="\${libdir}/wine"
6896 DLLFLAGS
="-D_REENTRANT"
6905 STATIC_IMPLIBEXT
="def.a"
6906 # Extract the first word of "ldd", so it can be a program name with args.
6907 set dummy ldd
; ac_word
=$2
6908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6909 $as_echo_n "checking for $ac_word... " >&6; }
6910 if ${ac_cv_path_LDD+:} false
; then :
6911 $as_echo_n "(cached) " >&6
6915 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6919 as_dummy
="/sbin:/usr/sbin:$PATH"
6920 for as_dir
in $as_dummy
6923 test -z "$as_dir" && as_dir
=.
6924 for ac_exec_ext
in '' $ac_executable_extensions; do
6925 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6926 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6934 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6939 if test -n "$LDD"; then
6940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6941 $as_echo "$LDD" >&6; }
6943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6944 $as_echo "no" >&6; }
6948 if test -n "$ac_tool_prefix"; then
6949 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6950 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
6951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6952 $as_echo_n "checking for $ac_word... " >&6; }
6953 if ${ac_cv_prog_READELF+:} false
; then :
6954 $as_echo_n "(cached) " >&6
6956 if test -n "$READELF"; then
6957 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
6959 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6963 test -z "$as_dir" && as_dir
=.
6964 for ac_exec_ext
in '' $ac_executable_extensions; do
6965 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6966 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
6967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6976 READELF
=$ac_cv_prog_READELF
6977 if test -n "$READELF"; then
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
6979 $as_echo "$READELF" >&6; }
6981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6982 $as_echo "no" >&6; }
6987 if test -z "$ac_cv_prog_READELF"; then
6988 ac_ct_READELF
=$READELF
6989 # Extract the first word of "readelf", so it can be a program name with args.
6990 set dummy readelf
; ac_word
=$2
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6992 $as_echo_n "checking for $ac_word... " >&6; }
6993 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
6994 $as_echo_n "(cached) " >&6
6996 if test -n "$ac_ct_READELF"; then
6997 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
6999 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7003 test -z "$as_dir" && as_dir
=.
7004 for ac_exec_ext
in '' $ac_executable_extensions; do
7005 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7006 ac_cv_prog_ac_ct_READELF
="readelf"
7007 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7016 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7017 if test -n "$ac_ct_READELF"; then
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7019 $as_echo "$ac_ct_READELF" >&6; }
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7022 $as_echo "no" >&6; }
7025 if test "x$ac_ct_READELF" = x
; then
7028 case $cross_compiling:$ac_tool_warned in
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7031 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7032 ac_tool_warned
=yes ;;
7034 READELF
=$ac_ct_READELF
7037 READELF
="$ac_cv_prog_READELF"
7040 wine_rules_file
=conf$
$rules.
make
7041 rm -f $wine_rules_file
7043 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7044 ALL_TEST_RESOURCES
=""
7047 wine_fn_append_file
()
7049 as_fn_append
$1 " \\$as_nl $2"
7052 wine_fn_ignore_file
()
7055 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7056 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7057 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7061 wine_fn_append_rule
()
7063 $as_echo "$1" >>$wine_rules_file
7068 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7071 wine_fn_depend_rules
()
7073 wine_fn_append_rule \
7074 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7075 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7076 depend: $ac_dir/depend
7077 .PHONY: $ac_dir/depend
7078 $ac_dir/depend: \$(MAKEDEP) dummy
7079 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7082 wine_fn_pot_rules
()
7084 test "x$with_gettextpo" = xyes ||
return
7086 if wine_fn_has_flag mc
7088 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7089 wine_fn_append_rule \
7090 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7091 @cd $ac_dir && \$(MAKE) msg.pot
7092 $ac_dir/msg.pot: tools/wmc include"
7094 if wine_fn_has_flag po
7096 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7097 wine_fn_append_rule \
7098 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7099 @cd $ac_dir && \$(MAKE) rsrc.pot
7100 $ac_dir/rsrc.pot: tools/wrc include"
7104 wine_fn_all_rules
()
7106 wine_fn_depend_rules
7107 wine_fn_append_rule \
7110 $ac_dir: $ac_dir/Makefile dummy
7111 @cd $ac_dir && \$(MAKE)"
7114 wine_fn_install_rules
()
7116 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7118 wine_fn_append_rule \
7119 ".PHONY: $ac_dir/install $ac_dir/uninstall
7120 $ac_dir/install:: $ac_dir
7121 @cd $ac_dir && \$(MAKE) install
7122 $ac_dir/uninstall:: $ac_dir/Makefile
7123 @cd $ac_dir && \$(MAKE) uninstall
7124 install:: $ac_dir/install
7125 __uninstall__: $ac_dir/uninstall"
7127 if wine_fn_has_flag install-lib
7129 wine_fn_append_rule \
7130 ".PHONY: $ac_dir/install-lib
7131 $ac_dir/install-lib:: $ac_dir
7132 @cd $ac_dir && \$(MAKE) install-lib
7133 install-lib:: $ac_dir/install-lib"
7136 if wine_fn_has_flag install-dev
7138 wine_fn_append_rule \
7139 ".PHONY: $ac_dir/install-dev
7140 $ac_dir/install-dev:: $ac_dir
7141 @cd $ac_dir && \$(MAKE) install-dev
7142 install-dev:: $ac_dir/install-dev"
7146 wine_fn_clean_rules
()
7149 ac_extraclean
="$ac_dir/Makefile"
7150 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7152 */tests
) ac_extraclean
="$ac_extraclean $ac_dir/testlist.c" ;;
7155 if wine_fn_has_flag clean
7157 wine_fn_append_rule \
7158 "__clean__: $ac_dir/clean
7159 .PHONY: $ac_dir/clean
7160 $ac_dir/clean: $ac_dir/Makefile
7161 @cd $ac_dir && \$(MAKE) clean
7162 \$(RM) $ac_extraclean"
7164 wine_fn_append_rule \
7165 "__clean__: $ac_dir/clean
7166 .PHONY: $ac_dir/clean
7167 $ac_dir/clean: dummy
7168 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7172 wine_fn_disabled_rules
()
7175 ac_extraclean
="$ac_dir/Makefile"
7176 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7178 wine_fn_append_rule \
7179 "__clean__: $ac_dir/clean
7180 .PHONY: $ac_dir/clean
7181 $ac_dir/clean: dummy
7182 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7185 wine_fn_config_makefile
()
7191 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7192 wine_fn_disabled_rules
; return
7195 wine_fn_install_rules
7199 wine_fn_config_lib
()
7203 ac_dir
=dlls
/$ac_name
7206 if test "x$enable_tools" = xno
; then :
7209 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7214 wine_fn_append_rule \
7215 ".PHONY: $ac_dir/install $ac_dir/uninstall
7216 $ac_dir/install:: $ac_dir
7217 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7219 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7220 install install-dev:: $ac_dir/install
7221 __uninstall__: $ac_dir/uninstall
7222 __builddeps__: $ac_dir
7226 wine_fn_config_dll
()
7229 ac_dir
=dlls
/$ac_name
7232 ac_implib
=${4:-$ac_name}
7233 ac_file
=$ac_dir/lib
$ac_implib
7238 if test "x$enable_tools" = xno
; then :
7241 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7244 *16) ac_implibflags
=" -m16" ;;
7246 *) ac_dll
=$ac_dll.dll
;;
7250 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7251 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7252 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7253 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7255 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7256 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
7258 wine_fn_depend_rules
7259 wine_fn_clean_rules
$ac_clean
7261 wine_fn_disabled_rules
$ac_clean
7266 wine_fn_clean_rules
$ac_clean
7267 wine_fn_append_rule \
7268 "$ac_dir: __builddeps__
7269 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7270 @cd $ac_dir && \$(MAKE) \$@
7271 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7272 install install-lib:: $ac_dir/install-lib
7273 __uninstall__: $ac_dir/uninstall"
7274 if test -n "$DLLEXT"
7276 wine_fn_append_rule \
7277 "$ac_dir/install-lib:: $ac_dir
7278 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7279 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7281 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7283 wine_fn_append_rule \
7284 "$ac_dir/install-lib:: $ac_dir
7285 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7287 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7293 if wine_fn_has_flag staticimplib
7295 wine_fn_append_rule \
7296 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7297 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7298 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7299 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7300 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7301 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7302 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7303 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7304 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7306 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7307 install install-dev:: $ac_dir/install-dev
7308 __uninstall__: $ac_dir/uninstall"
7310 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7312 wine_fn_append_rule \
7313 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7314 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7316 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7319 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7321 wine_fn_append_rule \
7322 "__builddeps__: $ac_file.cross.a
7323 $ac_file.cross.a: $ac_dir/Makefile dummy
7324 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7327 elif wine_fn_has_flag implib
7329 wine_fn_append_rule \
7330 "__builddeps__: $ac_file.$IMPLIBEXT
7331 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7332 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7333 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7334 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7335 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7336 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7337 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7339 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7340 install install-dev:: $ac_dir/install-dev
7341 __uninstall__: $ac_dir/uninstall"
7342 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7344 wine_fn_append_rule \
7345 "__builddeps__: $ac_file.cross.a
7346 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7347 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7350 if test "$ac_name" != "$ac_implib"
7352 wine_fn_append_rule \
7353 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7354 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7355 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7357 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7358 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7359 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7361 wine_fn_append_rule \
7362 "__builddeps__: dlls/lib$ac_implib.cross.a
7363 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7364 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7366 \$(RM) dlls/lib$ac_implib.cross.a"
7367 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7373 wine_fn_config_program
()
7376 ac_dir
=programs
/$ac_name
7383 *) ac_program
=$ac_program.exe
;;
7387 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7388 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7389 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7390 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7392 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7393 wine_fn_disabled_rules
$ac_clean; return
7397 wine_fn_clean_rules
$ac_clean
7398 wine_fn_append_rule
"$ac_dir: __builddeps__"
7401 wine_fn_has_flag
install ||
return
7402 wine_fn_append_rule \
7403 ".PHONY: $ac_dir/install $ac_dir/uninstall
7404 install install-lib:: $ac_dir/install
7405 __uninstall__: $ac_dir/uninstall"
7407 if test -n "$DLLEXT"
7409 wine_fn_append_rule \
7410 "$ac_dir/install:: $ac_dir
7411 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7412 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7414 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7416 if test -z "$with_wine64" && wine_fn_has_flag installbin
7418 wine_fn_append_rule \
7419 "$ac_dir/install:: __tooldeps__
7420 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7422 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7425 wine_fn_append_rule \
7426 "$ac_dir/install:: $ac_dir
7427 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7429 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7432 if test -z "$with_wine64" && wine_fn_has_flag manpage
7434 wine_fn_append_rule \
7435 "$ac_dir/install:: $ac_dir
7436 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7438 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7442 wine_fn_config_test
()
7449 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7450 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7452 if test "x$enable_tests" = xno
; then :
7453 wine_fn_disabled_rules
$ac_clean; return
7456 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7458 wine_fn_clean_rules
$ac_clean
7460 wine_fn_append_rule \
7461 "$ac_dir: programs/winetest/Makefile __builddeps__
7462 programs/winetest: $ac_dir
7463 check test: $ac_dir/test
7464 .PHONY: $ac_dir/test
7466 @cd $ac_dir && \$(MAKE) test
7468 \$(RM) $ac_dir/*.ok"
7470 if test -n "$CROSSTARGET"
7472 wine_fn_append_rule \
7473 "crosstest: $ac_dir/crosstest
7474 .PHONY: $ac_dir/crosstest
7475 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7476 @cd $ac_dir && \$(MAKE) crosstest"
7480 wine_fn_config_tool
()
7484 if test "x$enable_tools" = xno
; then :
7489 wine_fn_install_rules
7492 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7493 wine_fn_append_rule
"$ac_dir: libs/port"
7495 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7499 wine_fn_config_symlink
()
7502 if test "x$1" = "x-d"
7508 wine_fn_append_rule \
7510 @./config.status \$@
7513 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7514 test -n "$ac_linkdir" ||
return
7515 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7519 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7520 loader_programs
="$wine_binary wine-installed"
7521 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7524 install install-lib:: wine-installed
7525 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7528 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7534 if test -n "$ac_tool_prefix"; then
7535 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7536 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7538 $as_echo_n "checking for $ac_word... " >&6; }
7539 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7540 $as_echo_n "(cached) " >&6
7542 if test -n "$DLLTOOL"; then
7543 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7549 test -z "$as_dir" && as_dir
=.
7550 for ac_exec_ext
in '' $ac_executable_extensions; do
7551 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7552 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7562 DLLTOOL
=$ac_cv_prog_DLLTOOL
7563 if test -n "$DLLTOOL"; then
7564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7565 $as_echo "$DLLTOOL" >&6; }
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7568 $as_echo "no" >&6; }
7573 if test -z "$ac_cv_prog_DLLTOOL"; then
7574 ac_ct_DLLTOOL
=$DLLTOOL
7575 # Extract the first word of "dlltool", so it can be a program name with args.
7576 set dummy dlltool
; ac_word
=$2
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7578 $as_echo_n "checking for $ac_word... " >&6; }
7579 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7580 $as_echo_n "(cached) " >&6
7582 if test -n "$ac_ct_DLLTOOL"; then
7583 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7585 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7589 test -z "$as_dir" && as_dir
=.
7590 for ac_exec_ext
in '' $ac_executable_extensions; do
7591 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7592 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7602 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7603 if test -n "$ac_ct_DLLTOOL"; then
7604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7605 $as_echo "$ac_ct_DLLTOOL" >&6; }
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7608 $as_echo "no" >&6; }
7611 if test "x$ac_ct_DLLTOOL" = x
; then
7614 case $cross_compiling:$ac_tool_warned in
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7617 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7618 ac_tool_warned
=yes ;;
7620 DLLTOOL
=$ac_ct_DLLTOOL
7623 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7629 STATIC_IMPLIBEXT
="a"
7630 enable_iphlpapi
=${enable_iphlpapi:-no}
7631 enable_kernel32
=${enable_kernel32:-no}
7632 enable_msvcrt
=${enable_msvcrt:-no}
7633 enable_ntdll
=${enable_ntdll:-no}
7634 enable_ws2_32
=${enable_ws2_32:-no}
7635 enable_loader
=${enable_loader:-no}
7636 enable_server
=${enable_server:-no}
7637 with_x
=${with_x:-no}
7638 with_pthread
=${with_pthread:-no}
7644 SOCKET_LIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7648 libwine_targets
="libwine.dll libwine.a"
7650 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7652 all: libwine.dll libwine.a
7654 libwine.a: \$(srcdir)/wine.def
7655 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7657 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7658 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7660 install install-lib:: libwine.dll
7661 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7663 install install-dev:: libwine.a
7664 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7667 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7674 DLLFLAGS
="$DLLFLAGS -fPIC"
7675 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7676 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7677 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7678 COREFOUNDATION_LIBS
="-framework CoreFoundation"
7680 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
7682 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
7684 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
7686 CORESERVICES_LIBS
="-framework CoreServices"
7688 APPKIT_LIBS
="-framework AppKit"
7690 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7692 darwin11
*) LDEXECFLAGS
="-Wl,-macosx_version_min,10.6 $LDEXECFLAGS" ;;
7694 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7696 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
7699 if test "$ac_cv_header_Security_Security_h" = "yes"
7701 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
7703 ac_save_LIBS
="$LIBS"
7704 LIBS
="$LIBS $SECURITY_LIBS"
7705 for ac_func
in SSLCopyPeerCertificates
7707 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7708 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7709 cat >>confdefs.h
<<_ACEOF
7710 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7716 LIBS
="$ac_save_LIBS"
7717 with_gnutls
=${with_gnutls:-no}
7719 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7721 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7723 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7726 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7729 ac_save_LIBS
="$LIBS"
7730 LIBS
="$LIBS $COREAUDIO_LIBS"
7731 for ac_func
in AUGraphAddNode
7733 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7734 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7735 cat >>confdefs.h
<<_ACEOF
7736 #define HAVE_AUGRAPHADDNODE 1
7742 LIBS
="$ac_save_LIBS"
7744 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7746 OPENAL_LIBS
="-framework OpenAL"
7749 cat >>confdefs.h
<<_ACEOF
7750 #define HAVE_OPENAL 1
7753 ac_cv_lib_openal
=yes
7755 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7757 OPENCL_LIBS
="-framework OpenCL"
7759 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7761 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7763 ac_save_LIBS
="$LIBS"
7764 LIBS
="$LIBS $IOKIT_LIBS"
7765 for ac_func
in IOHIDManagerCreate
7767 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7768 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7769 cat >>confdefs.h
<<_ACEOF
7770 #define HAVE_IOHIDMANAGERCREATE 1
7776 LIBS
="$ac_save_LIBS"
7778 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7780 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7782 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
7784 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7786 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7788 CARBON_LIBS
="-framework Carbon"
7792 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7794 ac_save_LIBS
="$LIBS"
7795 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
7796 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7797 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
7798 enable_winemac_drv
=${enable_winemac_drv:-yes}
7801 LIBS
="$ac_save_LIBS"
7804 if test "x$enable_win16" = "xyes"
7806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7807 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7808 if test "$cross_compiling" = yes; then :
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7810 $as_echo "cross-compiling, assuming yes" >&6; }
7812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7813 /* end confdefs.h. */
7816 "good:\tnop;nop\n\t"
7817 ".globl _testfunc\n"
7818 "_testfunc:\tcallw good");
7819 extern void testfunc();
7823 unsigned short *p = (unsigned short *)testfunc;
7824 return p[0] != 0xe866 || p[1] != 0xfffa
7829 if ac_fn_c_try_run
"$LINENO"; then :
7830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7831 $as_echo "yes" >&6; }
7833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7834 $as_echo "no" >&6; }
7835 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
7837 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7838 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7843 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7845 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7849 libwine.$libwine_version.dylib: \$(OBJS)
7850 \$(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 \$@
7852 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7853 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7855 libwine.dylib: libwine.$libwine_soversion.dylib
7856 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7858 install install-lib:: libwine.$libwine_version.dylib
7859 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7860 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7862 install install-dev::
7863 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7866 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7870 as_fn_append LOADER_RULES
"
7871 $wine_binary: main.o wine_info.plist
7872 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7874 wine-installed: main.o wine_info.plist
7875 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7880 DLLFLAGS
="$DLLFLAGS -fPIC"
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7885 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7886 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7887 $as_echo_n "(cached) " >&6
7889 ac_wine_try_cflags_saved
=$CFLAGS
7890 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7892 /* end confdefs.h. */
7893 int main(int argc, char **argv) { return 0; }
7895 if ac_fn_c_try_link
"$LINENO"; then :
7896 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7898 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7900 rm -f core conftest.err conftest.
$ac_objext \
7901 conftest
$ac_exeext conftest.
$ac_ext
7902 CFLAGS
=$ac_wine_try_cflags_saved
7904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7905 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7906 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
7907 LDEXECFLAGS
="-Wl,--export-dynamic"
7909 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7911 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7912 if eval \
${$as_ac_var+:} false
; then :
7913 $as_echo_n "(cached) " >&6
7915 ac_wine_try_cflags_saved
=$CFLAGS
7916 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7918 /* end confdefs.h. */
7919 int main(int argc, char **argv) { return 0; }
7921 if ac_fn_c_try_link
"$LINENO"; then :
7922 eval "$as_ac_var=yes"
7924 eval "$as_ac_var=no"
7926 rm -f core conftest.err conftest.
$ac_objext \
7927 conftest
$ac_exeext conftest.
$ac_ext
7928 CFLAGS
=$ac_wine_try_cflags_saved
7930 eval ac_res
=\$
$as_ac_var
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7932 $as_echo "$ac_res" >&6; }
7933 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7934 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7935 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7937 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7939 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7940 if eval \
${$as_ac_var+:} false
; then :
7941 $as_echo_n "(cached) " >&6
7943 ac_wine_try_cflags_saved
=$CFLAGS
7944 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7946 /* end confdefs.h. */
7947 int main(int argc, char **argv) { return 0; }
7949 if ac_fn_c_try_link
"$LINENO"; then :
7950 eval "$as_ac_var=yes"
7952 eval "$as_ac_var=no"
7954 rm -f core conftest.err conftest.
$ac_objext \
7955 conftest
$ac_exeext conftest.
$ac_ext
7956 CFLAGS
=$ac_wine_try_cflags_saved
7958 eval ac_res
=\$
$as_ac_var
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7960 $as_echo "$ac_res" >&6; }
7961 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7962 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7963 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7968 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7969 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
7970 $as_echo_n "(cached) " >&6
7972 ac_wine_try_cflags_saved
=$CFLAGS
7973 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
7974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7975 /* end confdefs.h. */
7976 int main(int argc, char **argv) { return 0; }
7978 if ac_fn_c_try_link
"$LINENO"; then :
7979 ac_cv_cflags__Wl___enable_new_dtags
=yes
7981 ac_cv_cflags__Wl___enable_new_dtags
=no
7983 rm -f core conftest.err conftest.
$ac_objext \
7984 conftest
$ac_exeext conftest.
$ac_ext
7985 CFLAGS
=$ac_wine_try_cflags_saved
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7988 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7989 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
7990 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7994 *i
[3456789]86* | x86_64
)
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7996 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7997 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
7998 $as_echo_n "(cached) " >&6
8000 ac_wine_try_cflags_saved
=$CFLAGS
8001 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8003 /* end confdefs.h. */
8004 int main(int argc, char **argv) { return 0; }
8006 if ac_fn_c_try_link
"$LINENO"; then :
8007 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8009 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8011 rm -f core conftest.err conftest.
$ac_objext \
8012 conftest
$ac_exeext conftest.
$ac_ext
8013 CFLAGS
=$ac_wine_try_cflags_saved
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8016 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8017 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8018 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8023 libwine_targets
="libwine.so"
8025 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8029 libwine.so: \$(OBJS)
8030 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8032 install install-lib:: libwine.so
8033 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8036 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8040 as_fn_append LOADER_RULES
"
8041 $wine_binary: main.o
8042 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8044 wine-installed: main.o
8045 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8050 DLLFLAGS
="$DLLFLAGS -fPIC"
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8053 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8054 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8055 $as_echo_n "(cached) " >&6
8057 ac_wine_try_cflags_saved
=$CFLAGS
8058 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8060 /* end confdefs.h. */
8063 if ac_fn_c_try_link
"$LINENO"; then :
8064 ac_cv_c_dll_gnuelf
="yes"
8066 ac_cv_c_dll_gnuelf
="no"
8068 rm -f core conftest.err conftest.
$ac_objext \
8069 conftest
$ac_exeext conftest.
$ac_ext
8070 CFLAGS
=$ac_wine_try_cflags_saved
8072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8073 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8074 if test "$ac_cv_c_dll_gnuelf" = "yes"
8076 LDSHARED
="\$(CC) -shared"
8077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8078 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8079 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8080 $as_echo_n "(cached) " >&6
8082 ac_wine_try_cflags_saved
=$CFLAGS
8083 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8085 /* end confdefs.h. */
8086 int main(int argc, char **argv) { return 0; }
8088 if ac_fn_c_try_link
"$LINENO"; then :
8089 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8091 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8093 rm -f core conftest.err conftest.
$ac_objext \
8094 conftest
$ac_exeext conftest.
$ac_ext
8095 CFLAGS
=$ac_wine_try_cflags_saved
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8098 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8099 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8100 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8103 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8104 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8105 $as_echo_n "(cached) " >&6
8107 ac_wine_try_cflags_saved
=$CFLAGS
8108 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8110 /* end confdefs.h. */
8111 int main(int argc, char **argv) { return 0; }
8113 if ac_fn_c_try_link
"$LINENO"; then :
8114 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8116 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8118 rm -f core conftest.err conftest.
$ac_objext \
8119 conftest
$ac_exeext conftest.
$ac_ext
8120 CFLAGS
=$ac_wine_try_cflags_saved
8122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8123 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8124 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8125 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8129 echo '{ global: *; };' >conftest.map
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8131 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8132 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8133 $as_echo_n "(cached) " >&6
8135 ac_wine_try_cflags_saved
=$CFLAGS
8136 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8138 /* end confdefs.h. */
8139 int main(int argc, char **argv) { return 0; }
8141 if ac_fn_c_try_link
"$LINENO"; then :
8142 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8144 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8146 rm -f core conftest.err conftest.
$ac_objext \
8147 conftest
$ac_exeext conftest.
$ac_ext
8148 CFLAGS
=$ac_wine_try_cflags_saved
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8151 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8152 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8153 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8158 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8159 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8160 $as_echo_n "(cached) " >&6
8162 ac_wine_try_cflags_saved
=$CFLAGS
8163 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8165 /* end confdefs.h. */
8166 int main(int argc, char **argv) { return 0; }
8168 if ac_fn_c_try_link
"$LINENO"; then :
8169 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8171 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8173 rm -f core conftest.err conftest.
$ac_objext \
8174 conftest
$ac_exeext conftest.
$ac_ext
8175 CFLAGS
=$ac_wine_try_cflags_saved
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8178 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8179 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8180 LDEXECFLAGS
="-Wl,--export-dynamic"
8183 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8185 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8186 if eval \
${$as_ac_var+:} false
; then :
8187 $as_echo_n "(cached) " >&6
8189 ac_wine_try_cflags_saved
=$CFLAGS
8190 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8192 /* end confdefs.h. */
8193 int main(int argc, char **argv) { return 0; }
8195 if ac_fn_c_try_link
"$LINENO"; then :
8196 eval "$as_ac_var=yes"
8198 eval "$as_ac_var=no"
8200 rm -f core conftest.err conftest.
$ac_objext \
8201 conftest
$ac_exeext conftest.
$ac_ext
8202 CFLAGS
=$ac_wine_try_cflags_saved
8204 eval ac_res
=\$
$as_ac_var
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8206 $as_echo "$ac_res" >&6; }
8207 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8208 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8209 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8211 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8213 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8214 if eval \
${$as_ac_var+:} false
; then :
8215 $as_echo_n "(cached) " >&6
8217 ac_wine_try_cflags_saved
=$CFLAGS
8218 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8220 /* end confdefs.h. */
8221 int main(int argc, char **argv) { return 0; }
8223 if ac_fn_c_try_link
"$LINENO"; then :
8224 eval "$as_ac_var=yes"
8226 eval "$as_ac_var=no"
8228 rm -f core conftest.err conftest.
$ac_objext \
8229 conftest
$ac_exeext conftest.
$ac_ext
8230 CFLAGS
=$ac_wine_try_cflags_saved
8232 eval ac_res
=\$
$as_ac_var
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8234 $as_echo "$ac_res" >&6; }
8235 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8236 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8237 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8242 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8243 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8244 $as_echo_n "(cached) " >&6
8246 ac_wine_try_cflags_saved
=$CFLAGS
8247 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8249 /* end confdefs.h. */
8250 int main(int argc, char **argv) { return 0; }
8252 if ac_fn_c_try_link
"$LINENO"; then :
8253 ac_cv_cflags__Wl___enable_new_dtags
=yes
8255 ac_cv_cflags__Wl___enable_new_dtags
=no
8257 rm -f core conftest.err conftest.
$ac_objext \
8258 conftest
$ac_exeext conftest.
$ac_ext
8259 CFLAGS
=$ac_wine_try_cflags_saved
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8262 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8263 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8264 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8268 *i
[3456789]86* | x86_64
)
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8270 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8271 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8272 $as_echo_n "(cached) " >&6
8274 ac_wine_try_cflags_saved
=$CFLAGS
8275 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8277 /* end confdefs.h. */
8278 int main(int argc, char **argv) { return 0; }
8280 if ac_fn_c_try_link
"$LINENO"; then :
8281 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8283 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8285 rm -f core conftest.err conftest.
$ac_objext \
8286 conftest
$ac_exeext conftest.
$ac_ext
8287 CFLAGS
=$ac_wine_try_cflags_saved
8289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8290 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8291 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8293 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8294 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8298 # Extract the first word of "prelink", so it can be a program name with args.
8299 set dummy prelink
; ac_word
=$2
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8301 $as_echo_n "checking for $ac_word... " >&6; }
8302 if ${ac_cv_path_PRELINK+:} false
; then :
8303 $as_echo_n "(cached) " >&6
8307 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8310 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8311 for as_dir
in /sbin
/usr
/sbin
$PATH
8314 test -z "$as_dir" && as_dir
=.
8315 for ac_exec_ext
in '' $ac_executable_extensions; do
8316 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8317 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8325 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8329 PRELINK
=$ac_cv_path_PRELINK
8330 if test -n "$PRELINK"; then
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8332 $as_echo "$PRELINK" >&6; }
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8335 $as_echo "no" >&6; }
8339 if test "x$PRELINK" = xfalse
8341 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8348 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8349 if ${ac_cv_c_dll_unixware+:} false
; then :
8350 $as_echo_n "(cached) " >&6
8352 ac_wine_try_cflags_saved
=$CFLAGS
8353 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8355 /* end confdefs.h. */
8358 if ac_fn_c_try_link
"$LINENO"; then :
8359 ac_cv_c_dll_unixware
="yes"
8361 ac_cv_c_dll_unixware
="no"
8363 rm -f core conftest.err conftest.
$ac_objext \
8364 conftest
$ac_exeext conftest.
$ac_ext
8365 CFLAGS
=$ac_wine_try_cflags_saved
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8368 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8369 if test "$ac_cv_c_dll_unixware" = "yes"
8371 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8374 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8376 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8380 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8381 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8383 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8384 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8386 libwine.so: libwine.so.$libwine_soversion
8387 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8389 install install-lib:: libwine.so.$libwine_version
8390 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8391 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8393 install install-dev::
8394 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8397 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8401 as_fn_append LOADER_RULES
"
8402 $wine_binary: main.o
8403 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8405 wine-installed: main.o
8406 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8411 as_fn_append LIBWINE_RULES
"
8412 EXTRA_TARGETS = $libwine_targets
8415 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8416 enable_winemac_drv
=${enable_winemac_drv:-no}
8420 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8424 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
8427 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 " ;;
8429 ac_prefix_list
="" ;;
8431 for ac_prog
in $ac_prefix_list
8433 # Extract the first word of "$ac_prog", so it can be a program name with args.
8434 set dummy
$ac_prog; ac_word
=$2
8435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8436 $as_echo_n "checking for $ac_word... " >&6; }
8437 if ${ac_cv_prog_CROSSCC+:} false
; then :
8438 $as_echo_n "(cached) " >&6
8440 if test -n "$CROSSCC"; then
8441 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8447 test -z "$as_dir" && as_dir
=.
8448 for ac_exec_ext
in '' $ac_executable_extensions; do
8449 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8450 ac_cv_prog_CROSSCC
="$ac_prog"
8451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8460 CROSSCC
=$ac_cv_prog_CROSSCC
8461 if test -n "$CROSSCC"; then
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8463 $as_echo "$CROSSCC" >&6; }
8465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8466 $as_echo "no" >&6; }
8470 test -n "$CROSSCC" && break
8472 test -n "$CROSSCC" || CROSSCC
="false"
8474 if test "$CROSSCC" != "false"
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8479 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8480 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8481 /* end confdefs.h. */
8491 if ac_fn_c_try_compile
"$LINENO"; then :
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8493 $as_echo "yes" >&6; }
8499 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8505 $as_echo "no" >&6; }
8507 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8513 if test "$ac_cv_header_pthread_h" = "yes"
8515 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8516 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8520 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8521 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8522 $as_echo_n "(cached) " >&6
8524 ac_check_lib_save_LIBS
=$LIBS
8525 LIBS
="-lpthread $LIBS"
8526 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8527 /* end confdefs.h. */
8529 /* Override any GCC internal prototype to avoid an error.
8530 Use char because int might match the return type of a GCC
8531 builtin and then its argument prototype would still apply. */
8535 char pthread_create ();
8539 return pthread_create ();
8544 if ac_fn_c_try_link
"$LINENO"; then :
8545 ac_cv_lib_pthread_pthread_create
=yes
8547 ac_cv_lib_pthread_pthread_create
=no
8549 rm -f core conftest.err conftest.
$ac_objext \
8550 conftest
$ac_exeext conftest.
$ac_ext
8551 LIBS
=$ac_check_lib_save_LIBS
8553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8554 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8555 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8556 PTHREAD_LIBS
="-lpthread"
8563 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8564 case "x$with_pthread" in
8566 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8567 Wine cannot support threads without libpthread.
8568 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8574 $as_echo_n "checking for X... " >&6; }
8577 # Check whether --with-x was given.
8578 if test "${with_x+set}" = set; then :
8582 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8583 if test "x$with_x" = xno
; then
8584 # The user explicitly disabled X.
8587 case $x_includes,$x_libraries in #(
8588 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8589 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8590 $as_echo_n "(cached) " >&6
8592 # One or both of the vars are not set, and there is no cached value.
8593 ac_x_includes
=no ac_x_libraries
=no
8594 rm -f -r conftest.dir
8595 if mkdir conftest.dir
; then
8597 cat >Imakefile
<<'_ACEOF'
8599 @echo incroot='${INCROOT}'
8601 @echo usrlibdir='${USRLIBDIR}'
8603 @echo libdir='${LIBDIR}'
8605 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8606 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8607 for ac_var
in incroot usrlibdir libdir
; do
8608 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8610 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8611 for ac_extension
in a so sl dylib la dll
; do
8612 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8613 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8614 ac_im_usrlibdir
=$ac_im_libdir; break
8617 # Screen out bogus values from the imake configuration. They are
8618 # bogus both because they are the default anyway, and because
8619 # using them would break gcc on systems where it needs fixed includes.
8620 case $ac_im_incroot in
8621 /usr
/include
) ac_x_includes
= ;;
8622 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8624 case $ac_im_usrlibdir in
8625 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8626 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8630 rm -f -r conftest.dir
8633 # Standard set of common directories for X headers.
8634 # Check X11 before X11Rn because it is often a symlink to the current release.
8648 /usr/local/X11/include
8649 /usr/local/X11R7/include
8650 /usr/local/X11R6/include
8651 /usr/local/X11R5/include
8652 /usr/local/X11R4/include
8654 /usr/local/include/X11
8655 /usr/local/include/X11R7
8656 /usr/local/include/X11R6
8657 /usr/local/include/X11R5
8658 /usr/local/include/X11R4
8662 /usr/XFree86/include/X11
8666 /usr/unsupported/include
8668 /usr/local/x11r5/include
8669 /usr/lpp/Xamples/include
8671 /usr/openwin/include
8672 /usr/openwin/share/include'
8674 if test "$ac_x_includes" = no
; then
8675 # Guess where to find include files, by looking for Xlib.h.
8676 # First, try using that file with no special directory specified.
8677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8678 /* end confdefs.h. */
8679 #include <X11/Xlib.h>
8681 if ac_fn_c_try_cpp
"$LINENO"; then :
8682 # We can compile using X headers with no special include directory.
8685 for ac_dir
in $ac_x_header_dirs; do
8686 if test -r "$ac_dir/X11/Xlib.h"; then
8687 ac_x_includes
=$ac_dir
8692 rm -f conftest.err conftest.i conftest.
$ac_ext
8693 fi # $ac_x_includes = no
8695 if test "$ac_x_libraries" = no
; then
8696 # Check for the libraries.
8697 # See if we find them without any special options.
8698 # Don't add to $LIBS permanently.
8701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8702 /* end confdefs.h. */
8703 #include <X11/Xlib.h>
8712 if ac_fn_c_try_link
"$LINENO"; then :
8714 # We can link X programs with no special library path.
8718 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8720 # Don't even attempt the hair of trying to link an X program!
8721 for ac_extension
in a so sl dylib la dll
; do
8722 if test -r "$ac_dir/libX11.$ac_extension"; then
8723 ac_x_libraries
=$ac_dir
8729 rm -f core conftest.err conftest.
$ac_objext \
8730 conftest
$ac_exeext conftest.
$ac_ext
8731 fi # $ac_x_libraries = no
8733 case $ac_x_includes,$ac_x_libraries in #(
8735 # Didn't find X, or a directory has "'" in its name.
8736 ac_cv_have_x
="have_x=no";; #(
8738 # Record where we found X for the cache.
8739 ac_cv_have_x
="have_x=yes\
8740 ac_x_includes='$ac_x_includes'\
8741 ac_x_libraries='$ac_x_libraries'"
8747 eval "$ac_cv_have_x"
8750 if test "$have_x" != yes; then
8751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8752 $as_echo "$have_x" >&6; }
8755 # If each of the values was on the command line, it overrides each guess.
8756 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8757 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8758 # Update the cache value to reflect the command line values.
8759 ac_cv_have_x
="have_x=yes\
8760 ac_x_includes='$x_includes'\
8761 ac_x_libraries='$x_libraries'"
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8763 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8766 if test "$no_x" = yes; then
8767 # Not all programs may use this symbol, but it does not hurt to define it.
8769 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8771 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8773 if test -n "$x_includes"; then
8774 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8777 # It would also be nice to do this for all -L options, not just this one.
8778 if test -n "$x_libraries"; then
8779 X_LIBS
="$X_LIBS -L$x_libraries"
8780 # For Solaris; some versions of Sun CC require a space after -R and
8781 # others require no space. Words are not sufficient . . . .
8782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8783 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8784 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
8785 ac_xsave_c_werror_flag
=$ac_c_werror_flag
8786 ac_c_werror_flag
=yes
8787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8788 /* end confdefs.h. */
8798 if ac_fn_c_try_link
"$LINENO"; then :
8799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8800 $as_echo "no" >&6; }
8801 X_LIBS
="$X_LIBS -R$x_libraries"
8803 LIBS
="$ac_xsave_LIBS -R $x_libraries"
8804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8805 /* end confdefs.h. */
8815 if ac_fn_c_try_link
"$LINENO"; then :
8816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8817 $as_echo "yes" >&6; }
8818 X_LIBS
="$X_LIBS -R $x_libraries"
8820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8821 $as_echo "neither works" >&6; }
8823 rm -f core conftest.err conftest.
$ac_objext \
8824 conftest
$ac_exeext conftest.
$ac_ext
8826 rm -f core conftest.err conftest.
$ac_objext \
8827 conftest
$ac_exeext conftest.
$ac_ext
8828 ac_c_werror_flag
=$ac_xsave_c_werror_flag
8832 # Check for system-dependent libraries X programs must link with.
8833 # Do this before checking for the system-independent R6 libraries
8834 # (-lICE), since we may need -lsocket or whatever for X linking.
8836 if test "$ISC" = yes; then
8837 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
8839 # Martyn Johnson says this is needed for Ultrix, if the X
8840 # libraries were built with DECnet support. And Karl Berry says
8841 # the Alpha needs dnet_stub (dnet does not exist).
8842 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
8843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8844 /* end confdefs.h. */
8846 /* Override any GCC internal prototype to avoid an error.
8847 Use char because int might match the return type of a GCC
8848 builtin and then its argument prototype would still apply. */
8852 char XOpenDisplay ();
8856 return XOpenDisplay ();
8861 if ac_fn_c_try_link
"$LINENO"; then :
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8865 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8866 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
8867 $as_echo_n "(cached) " >&6
8869 ac_check_lib_save_LIBS
=$LIBS
8871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8872 /* end confdefs.h. */
8874 /* Override any GCC internal prototype to avoid an error.
8875 Use char because int might match the return type of a GCC
8876 builtin and then its argument prototype would still apply. */
8884 return dnet_ntoa ();
8889 if ac_fn_c_try_link
"$LINENO"; then :
8890 ac_cv_lib_dnet_dnet_ntoa
=yes
8892 ac_cv_lib_dnet_dnet_ntoa
=no
8894 rm -f core conftest.err conftest.
$ac_objext \
8895 conftest
$ac_exeext conftest.
$ac_ext
8896 LIBS
=$ac_check_lib_save_LIBS
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8899 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8900 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
8901 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8904 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8906 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8907 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
8908 $as_echo_n "(cached) " >&6
8910 ac_check_lib_save_LIBS
=$LIBS
8911 LIBS
="-ldnet_stub $LIBS"
8912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8913 /* end confdefs.h. */
8915 /* Override any GCC internal prototype to avoid an error.
8916 Use char because int might match the return type of a GCC
8917 builtin and then its argument prototype would still apply. */
8925 return dnet_ntoa ();
8930 if ac_fn_c_try_link
"$LINENO"; then :
8931 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
8933 ac_cv_lib_dnet_stub_dnet_ntoa
=no
8935 rm -f core conftest.err conftest.
$ac_objext \
8936 conftest
$ac_exeext conftest.
$ac_ext
8937 LIBS
=$ac_check_lib_save_LIBS
8939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8940 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8941 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
8942 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
8947 rm -f core conftest.err conftest.
$ac_objext \
8948 conftest
$ac_exeext conftest.
$ac_ext
8949 LIBS
="$ac_xsave_LIBS"
8951 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8952 # to get the SysV transport functions.
8953 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8955 # The nsl library prevents programs from opening the X display
8956 # on Irix 5.2, according to T.E. Dickey.
8957 # The functions gethostbyname, getservbyname, and inet_addr are
8958 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8959 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8960 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
8964 if test $ac_cv_func_gethostbyname = no
; then
8965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8966 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8967 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
8968 $as_echo_n "(cached) " >&6
8970 ac_check_lib_save_LIBS
=$LIBS
8972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8973 /* end confdefs.h. */
8975 /* Override any GCC internal prototype to avoid an error.
8976 Use char because int might match the return type of a GCC
8977 builtin and then its argument prototype would still apply. */
8981 char gethostbyname ();
8985 return gethostbyname ();
8990 if ac_fn_c_try_link
"$LINENO"; then :
8991 ac_cv_lib_nsl_gethostbyname
=yes
8993 ac_cv_lib_nsl_gethostbyname
=no
8995 rm -f core conftest.err conftest.
$ac_objext \
8996 conftest
$ac_exeext conftest.
$ac_ext
8997 LIBS
=$ac_check_lib_save_LIBS
8999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9000 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9001 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9002 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9005 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9007 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9008 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9009 $as_echo_n "(cached) " >&6
9011 ac_check_lib_save_LIBS
=$LIBS
9013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9014 /* end confdefs.h. */
9016 /* Override any GCC internal prototype to avoid an error.
9017 Use char because int might match the return type of a GCC
9018 builtin and then its argument prototype would still apply. */
9022 char gethostbyname ();
9026 return gethostbyname ();
9031 if ac_fn_c_try_link
"$LINENO"; then :
9032 ac_cv_lib_bsd_gethostbyname
=yes
9034 ac_cv_lib_bsd_gethostbyname
=no
9036 rm -f core conftest.err conftest.
$ac_objext \
9037 conftest
$ac_exeext conftest.
$ac_ext
9038 LIBS
=$ac_check_lib_save_LIBS
9040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9041 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9042 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9043 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9049 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9050 # socket/setsockopt and other routines are undefined under SCO ODT
9051 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9052 # on later versions), says Simon Leinen: it contains gethostby*
9053 # variants that don't use the name server (or something). -lsocket
9054 # must be given before -lnsl if both are needed. We assume that
9055 # if connect needs -lnsl, so does gethostbyname.
9056 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9057 if test "x$ac_cv_func_connect" = xyes
; then :
9061 if test $ac_cv_func_connect = no
; then
9062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9063 $as_echo_n "checking for connect in -lsocket... " >&6; }
9064 if ${ac_cv_lib_socket_connect+:} false
; then :
9065 $as_echo_n "(cached) " >&6
9067 ac_check_lib_save_LIBS
=$LIBS
9068 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9070 /* end confdefs.h. */
9072 /* Override any GCC internal prototype to avoid an error.
9073 Use char because int might match the return type of a GCC
9074 builtin and then its argument prototype would still apply. */
9087 if ac_fn_c_try_link
"$LINENO"; then :
9088 ac_cv_lib_socket_connect
=yes
9090 ac_cv_lib_socket_connect
=no
9092 rm -f core conftest.err conftest.
$ac_objext \
9093 conftest
$ac_exeext conftest.
$ac_ext
9094 LIBS
=$ac_check_lib_save_LIBS
9096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9097 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9098 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9099 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9104 # Guillermo Gomez says -lposix is necessary on A/UX.
9105 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9106 if test "x$ac_cv_func_remove" = xyes
; then :
9110 if test $ac_cv_func_remove = no
; then
9111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9112 $as_echo_n "checking for remove in -lposix... " >&6; }
9113 if ${ac_cv_lib_posix_remove+:} false
; then :
9114 $as_echo_n "(cached) " >&6
9116 ac_check_lib_save_LIBS
=$LIBS
9117 LIBS
="-lposix $LIBS"
9118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9119 /* end confdefs.h. */
9121 /* Override any GCC internal prototype to avoid an error.
9122 Use char because int might match the return type of a GCC
9123 builtin and then its argument prototype would still apply. */
9136 if ac_fn_c_try_link
"$LINENO"; then :
9137 ac_cv_lib_posix_remove
=yes
9139 ac_cv_lib_posix_remove
=no
9141 rm -f core conftest.err conftest.
$ac_objext \
9142 conftest
$ac_exeext conftest.
$ac_ext
9143 LIBS
=$ac_check_lib_save_LIBS
9145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9146 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9147 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9148 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9153 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9154 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9155 if test "x$ac_cv_func_shmat" = xyes
; then :
9159 if test $ac_cv_func_shmat = no
; then
9160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9161 $as_echo_n "checking for shmat in -lipc... " >&6; }
9162 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9163 $as_echo_n "(cached) " >&6
9165 ac_check_lib_save_LIBS
=$LIBS
9167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9168 /* end confdefs.h. */
9170 /* Override any GCC internal prototype to avoid an error.
9171 Use char because int might match the return type of a GCC
9172 builtin and then its argument prototype would still apply. */
9185 if ac_fn_c_try_link
"$LINENO"; then :
9186 ac_cv_lib_ipc_shmat
=yes
9188 ac_cv_lib_ipc_shmat
=no
9190 rm -f core conftest.err conftest.
$ac_objext \
9191 conftest
$ac_exeext conftest.
$ac_ext
9192 LIBS
=$ac_check_lib_save_LIBS
9194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9195 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9196 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9197 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9203 # Check for libraries that X11R6 Xt/Xaw programs need.
9204 ac_save_LDFLAGS
=$LDFLAGS
9205 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9206 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9207 # check for ICE first), but we must link in the order -lSM -lICE or
9208 # we get undefined symbols. So assume we have SM if we have ICE.
9209 # These have to be linked with before -lX11, unlike the other
9210 # libraries we check for below, so use a different variable.
9211 # John Interrante, Karl Berry
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9213 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9214 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9215 $as_echo_n "(cached) " >&6
9217 ac_check_lib_save_LIBS
=$LIBS
9218 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9220 /* end confdefs.h. */
9222 /* Override any GCC internal prototype to avoid an error.
9223 Use char because int might match the return type of a GCC
9224 builtin and then its argument prototype would still apply. */
9228 char IceConnectionNumber ();
9232 return IceConnectionNumber ();
9237 if ac_fn_c_try_link
"$LINENO"; then :
9238 ac_cv_lib_ICE_IceConnectionNumber
=yes
9240 ac_cv_lib_ICE_IceConnectionNumber
=no
9242 rm -f core conftest.err conftest.
$ac_objext \
9243 conftest
$ac_exeext conftest.
$ac_ext
9244 LIBS
=$ac_check_lib_save_LIBS
9246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9247 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9248 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9249 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9252 LDFLAGS
=$ac_save_LDFLAGS
9257 if test "$have_x" = "yes"
9259 ac_save_CPPFLAGS
="$CPPFLAGS"
9260 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9263 $as_echo_n "checking for -lX11... " >&6; }
9264 if ${ac_cv_lib_soname_X11+:} false
; then :
9265 $as_echo_n "(cached) " >&6
9267 ac_check_soname_save_LIBS
=$LIBS
9268 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9270 /* end confdefs.h. */
9272 /* Override any GCC internal prototype to avoid an error.
9273 Use char because int might match the return type of a GCC
9274 builtin and then its argument prototype would still apply. */
9278 char XCreateWindow ();
9282 return XCreateWindow ();
9287 if ac_fn_c_try_link
"$LINENO"; then :
9289 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9290 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'` ;;
9291 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9292 if ${ac_cv_lib_soname_X11:+false} :; then :
9293 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9297 rm -f core conftest.err conftest.
$ac_objext \
9298 conftest
$ac_exeext conftest.
$ac_ext
9299 LIBS
=$ac_check_soname_save_LIBS
9301 if ${ac_cv_lib_soname_X11:+false} :; then :
9302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9303 $as_echo "not found" >&6; }
9306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9307 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9309 cat >>confdefs.h
<<_ACEOF
9310 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9316 $as_echo_n "checking for -lXext... " >&6; }
9317 if ${ac_cv_lib_soname_Xext+:} false
; then :
9318 $as_echo_n "(cached) " >&6
9320 ac_check_soname_save_LIBS
=$LIBS
9321 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9323 /* end confdefs.h. */
9325 /* Override any GCC internal prototype to avoid an error.
9326 Use char because int might match the return type of a GCC
9327 builtin and then its argument prototype would still apply. */
9331 char XextCreateExtension ();
9335 return XextCreateExtension ();
9340 if ac_fn_c_try_link
"$LINENO"; then :
9342 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9343 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'` ;;
9344 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9345 if ${ac_cv_lib_soname_Xext:+false} :; then :
9346 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9350 rm -f core conftest.err conftest.
$ac_objext \
9351 conftest
$ac_exeext conftest.
$ac_ext
9352 LIBS
=$ac_check_soname_save_LIBS
9354 if ${ac_cv_lib_soname_Xext:+false} :; then :
9355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9356 $as_echo "not found" >&6; }
9359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9360 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9362 cat >>confdefs.h
<<_ACEOF
9363 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9366 X_LIBS
="$X_LIBS -lXext"
9368 X_LIBS
="$X_LIBS -lX11"
9370 for ac_header
in X11
/Xlib.h \
9373 X11
/Xcursor
/Xcursor.h \
9374 X11
/extensions
/shape.h \
9375 X11
/extensions
/XInput.h \
9376 X11
/extensions
/XInput2.h \
9377 X11
/extensions
/XShm.h \
9378 X11
/extensions
/Xcomposite.h \
9379 X11
/extensions
/Xinerama.h \
9380 X11
/extensions
/Xrandr.h \
9381 X11
/extensions
/Xrender.h \
9382 X11
/extensions
/xf86vmode.h \
9383 X11
/extensions
/xf86vmproto.h
9385 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9386 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9387 # include <X11/Xlib.h>
9389 #ifdef HAVE_X11_XUTIL_H
9390 # include <X11/Xutil.h>
9393 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9394 cat >>confdefs.h
<<_ACEOF
9395 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9403 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9406 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9407 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9408 $as_echo_n "(cached) " >&6
9410 ac_check_lib_save_LIBS
=$LIBS
9411 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9413 /* end confdefs.h. */
9415 /* Override any GCC internal prototype to avoid an error.
9416 Use char because int might match the return type of a GCC
9417 builtin and then its argument prototype would still apply. */
9421 char XkbQueryExtension ();
9425 return XkbQueryExtension ();
9430 if ac_fn_c_try_link
"$LINENO"; then :
9431 ac_cv_lib_X11_XkbQueryExtension
=yes
9433 ac_cv_lib_X11_XkbQueryExtension
=no
9435 rm -f core conftest.err conftest.
$ac_objext \
9436 conftest
$ac_exeext conftest.
$ac_ext
9437 LIBS
=$ac_check_lib_save_LIBS
9439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9440 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9441 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9443 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9449 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9452 $as_echo_n "checking for -lXcursor... " >&6; }
9453 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9454 $as_echo_n "(cached) " >&6
9456 ac_check_soname_save_LIBS
=$LIBS
9457 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9459 /* end confdefs.h. */
9461 /* Override any GCC internal prototype to avoid an error.
9462 Use char because int might match the return type of a GCC
9463 builtin and then its argument prototype would still apply. */
9467 char XcursorImageLoadCursor ();
9471 return XcursorImageLoadCursor ();
9476 if ac_fn_c_try_link
"$LINENO"; then :
9478 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9479 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'` ;;
9480 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9481 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9482 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9486 rm -f core conftest.err conftest.
$ac_objext \
9487 conftest
$ac_exeext conftest.
$ac_ext
9488 LIBS
=$ac_check_soname_save_LIBS
9490 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9492 $as_echo "not found" >&6; }
9495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9496 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9498 cat >>confdefs.h
<<_ACEOF
9499 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9505 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9506 case "x$with_xcursor" in
9507 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9509 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9510 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9514 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9517 $as_echo_n "checking for -lXi... " >&6; }
9518 if ${ac_cv_lib_soname_Xi+:} false
; then :
9519 $as_echo_n "(cached) " >&6
9521 ac_check_soname_save_LIBS
=$LIBS
9522 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9524 /* end confdefs.h. */
9526 /* Override any GCC internal prototype to avoid an error.
9527 Use char because int might match the return type of a GCC
9528 builtin and then its argument prototype would still apply. */
9532 char XOpenDevice ();
9536 return XOpenDevice ();
9541 if ac_fn_c_try_link
"$LINENO"; then :
9543 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9544 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'` ;;
9545 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9546 if ${ac_cv_lib_soname_Xi:+false} :; then :
9547 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9551 rm -f core conftest.err conftest.
$ac_objext \
9552 conftest
$ac_exeext conftest.
$ac_ext
9553 LIBS
=$ac_check_soname_save_LIBS
9555 if ${ac_cv_lib_soname_Xi:+false} :; then :
9556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9557 $as_echo "not found" >&6; }
9560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9561 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9563 cat >>confdefs.h
<<_ACEOF
9564 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9570 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9571 case "x$with_xinput" in
9572 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9574 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9575 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9579 if test "x$ac_cv_lib_soname_Xi" != x
9581 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9582 case "x$with_xinput2" in
9583 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9585 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9586 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9591 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9594 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9595 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9596 $as_echo_n "(cached) " >&6
9598 ac_check_lib_save_LIBS
=$LIBS
9599 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9601 /* end confdefs.h. */
9603 /* Override any GCC internal prototype to avoid an error.
9604 Use char because int might match the return type of a GCC
9605 builtin and then its argument prototype would still apply. */
9609 char XShmQueryExtension ();
9613 return XShmQueryExtension ();
9618 if ac_fn_c_try_link
"$LINENO"; then :
9619 ac_cv_lib_Xext_XShmQueryExtension
=yes
9621 ac_cv_lib_Xext_XShmQueryExtension
=no
9623 rm -f core conftest.err conftest.
$ac_objext \
9624 conftest
$ac_exeext conftest.
$ac_ext
9625 LIBS
=$ac_check_lib_save_LIBS
9627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9628 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9629 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9631 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9636 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9637 case "x$with_xshm" in
9638 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9640 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9641 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9645 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9648 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9649 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9650 $as_echo_n "(cached) " >&6
9652 ac_check_lib_save_LIBS
=$LIBS
9653 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9655 /* end confdefs.h. */
9657 /* Override any GCC internal prototype to avoid an error.
9658 Use char because int might match the return type of a GCC
9659 builtin and then its argument prototype would still apply. */
9663 char XShapeQueryExtension ();
9667 return XShapeQueryExtension ();
9672 if ac_fn_c_try_link
"$LINENO"; then :
9673 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9675 ac_cv_lib_Xext_XShapeQueryExtension
=no
9677 rm -f core conftest.err conftest.
$ac_objext \
9678 conftest
$ac_exeext conftest.
$ac_ext
9679 LIBS
=$ac_check_lib_save_LIBS
9681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9682 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9683 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9685 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9690 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9691 case "x$with_xshape" in
9692 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9694 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9695 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9699 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9702 $as_echo_n "checking for -lXxf86vm... " >&6; }
9703 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9704 $as_echo_n "(cached) " >&6
9706 ac_check_soname_save_LIBS
=$LIBS
9707 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9709 /* end confdefs.h. */
9711 /* Override any GCC internal prototype to avoid an error.
9712 Use char because int might match the return type of a GCC
9713 builtin and then its argument prototype would still apply. */
9717 char XF86VidModeQueryExtension ();
9721 return XF86VidModeQueryExtension ();
9726 if ac_fn_c_try_link
"$LINENO"; then :
9728 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9729 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'` ;;
9730 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9731 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9732 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9736 rm -f core conftest.err conftest.
$ac_objext \
9737 conftest
$ac_exeext conftest.
$ac_ext
9738 LIBS
=$ac_check_soname_save_LIBS
9740 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9742 $as_echo "not found" >&6; }
9745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9746 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9748 cat >>confdefs.h
<<_ACEOF
9749 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9755 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9756 case "x$with_xxf86vm" in
9757 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9759 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9760 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9764 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"
9766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9767 $as_echo_n "checking for -lXrender... " >&6; }
9768 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9769 $as_echo_n "(cached) " >&6
9771 ac_check_soname_save_LIBS
=$LIBS
9772 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9774 /* end confdefs.h. */
9776 /* Override any GCC internal prototype to avoid an error.
9777 Use char because int might match the return type of a GCC
9778 builtin and then its argument prototype would still apply. */
9782 char XRenderQueryExtension ();
9786 return XRenderQueryExtension ();
9791 if ac_fn_c_try_link
"$LINENO"; then :
9793 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9794 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'` ;;
9795 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9796 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9797 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9801 rm -f core conftest.err conftest.
$ac_objext \
9802 conftest
$ac_exeext conftest.
$ac_ext
9803 LIBS
=$ac_check_soname_save_LIBS
9805 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9807 $as_echo "not found" >&6; }
9810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9811 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9813 cat >>confdefs.h
<<_ACEOF
9814 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9818 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9819 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
9820 $as_echo_n "(cached) " >&6
9822 ac_check_lib_save_LIBS
=$LIBS
9823 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9825 /* end confdefs.h. */
9827 /* Override any GCC internal prototype to avoid an error.
9828 Use char because int might match the return type of a GCC
9829 builtin and then its argument prototype would still apply. */
9833 char XRenderSetPictureTransform ();
9837 return XRenderSetPictureTransform ();
9842 if ac_fn_c_try_link
"$LINENO"; then :
9843 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9845 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9847 rm -f core conftest.err conftest.
$ac_objext \
9848 conftest
$ac_exeext conftest.
$ac_ext
9849 LIBS
=$ac_check_lib_save_LIBS
9851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9852 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9853 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
9855 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9860 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9861 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
9862 $as_echo_n "(cached) " >&6
9864 ac_check_lib_save_LIBS
=$LIBS
9865 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9867 /* end confdefs.h. */
9869 /* Override any GCC internal prototype to avoid an error.
9870 Use char because int might match the return type of a GCC
9871 builtin and then its argument prototype would still apply. */
9875 char XRenderCreateLinearGradient ();
9879 return XRenderCreateLinearGradient ();
9884 if ac_fn_c_try_link
"$LINENO"; then :
9885 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
9887 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
9889 rm -f core conftest.err conftest.
$ac_objext \
9890 conftest
$ac_exeext conftest.
$ac_ext
9891 LIBS
=$ac_check_lib_save_LIBS
9893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9894 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9895 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
9897 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9904 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9905 case "x$with_xrender" in
9906 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9908 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
9909 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9913 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9916 /* end confdefs.h. */
9917 #include <X11/Xlib.h>
9918 #include <X11/extensions/Xrandr.h>
9922 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9927 if ac_fn_c_try_compile
"$LINENO"; then :
9928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9929 $as_echo_n "checking for -lXrandr... " >&6; }
9930 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
9931 $as_echo_n "(cached) " >&6
9933 ac_check_soname_save_LIBS
=$LIBS
9934 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
9935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9936 /* end confdefs.h. */
9938 /* Override any GCC internal prototype to avoid an error.
9939 Use char because int might match the return type of a GCC
9940 builtin and then its argument prototype would still apply. */
9944 char XRRQueryExtension ();
9948 return XRRQueryExtension ();
9953 if ac_fn_c_try_link
"$LINENO"; then :
9955 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9956 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'` ;;
9957 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9958 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9959 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9963 rm -f core conftest.err conftest.
$ac_objext \
9964 conftest
$ac_exeext conftest.
$ac_ext
9965 LIBS
=$ac_check_soname_save_LIBS
9967 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9969 $as_echo "not found" >&6; }
9972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
9973 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
9975 cat >>confdefs.h
<<_ACEOF
9976 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
9979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9980 /* end confdefs.h. */
9981 #include <X11/Xlib.h>
9982 #include <X11/extensions/Xrandr.h>
9986 static typeof(XRRGetScreenResources) *f; if (f) return 0;
9991 if ac_fn_c_try_compile
"$LINENO"; then :
9993 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
9996 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9999 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10001 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10002 case "x$with_xrandr" in
10003 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10005 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10006 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10010 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10013 /* end confdefs.h. */
10014 #include <X11/Xlib.h>
10015 #include <X11/extensions/Xinerama.h>
10019 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10024 if ac_fn_c_try_compile
"$LINENO"; then :
10025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10026 $as_echo_n "checking for -lXinerama... " >&6; }
10027 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10028 $as_echo_n "(cached) " >&6
10030 ac_check_soname_save_LIBS
=$LIBS
10031 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10033 /* end confdefs.h. */
10035 /* Override any GCC internal prototype to avoid an error.
10036 Use char because int might match the return type of a GCC
10037 builtin and then its argument prototype would still apply. */
10041 char XineramaQueryScreens ();
10045 return XineramaQueryScreens ();
10050 if ac_fn_c_try_link
"$LINENO"; then :
10052 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10053 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'` ;;
10054 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10055 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10056 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10060 rm -f core conftest.err conftest.
$ac_objext \
10061 conftest
$ac_exeext conftest.
$ac_ext
10062 LIBS
=$ac_check_soname_save_LIBS
10064 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10066 $as_echo "not found" >&6; }
10069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10070 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10072 cat >>confdefs.h
<<_ACEOF
10073 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10079 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10081 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10082 case "x$with_xinerama" in
10083 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10085 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10086 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10090 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10093 $as_echo_n "checking for -lXcomposite... " >&6; }
10094 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10095 $as_echo_n "(cached) " >&6
10097 ac_check_soname_save_LIBS
=$LIBS
10098 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10099 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10100 /* end confdefs.h. */
10102 /* Override any GCC internal prototype to avoid an error.
10103 Use char because int might match the return type of a GCC
10104 builtin and then its argument prototype would still apply. */
10108 char XCompositeRedirectWindow ();
10112 return XCompositeRedirectWindow ();
10117 if ac_fn_c_try_link
"$LINENO"; then :
10119 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10120 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'` ;;
10121 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10122 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10123 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10127 rm -f core conftest.err conftest.
$ac_objext \
10128 conftest
$ac_exeext conftest.
$ac_ext
10129 LIBS
=$ac_check_soname_save_LIBS
10131 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10133 $as_echo "not found" >&6; }
10136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10137 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10139 cat >>confdefs.h
<<_ACEOF
10140 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10146 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10147 case "x$with_xcomposite" in
10148 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10150 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10151 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10155 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10156 #include <X11/Xlib.h>
10159 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10161 cat >>confdefs.h
<<_ACEOF
10162 #define HAVE_XICCALLBACK_CALLBACK 1
10167 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10168 #include <X11/Xlib.h>
10171 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10173 cat >>confdefs.h
<<_ACEOF
10174 #define HAVE_XEVENT_XCOOKIE 1
10183 if test "x$with_opengl" != "xno"
10185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10186 $as_echo_n "checking for -lGL... " >&6; }
10187 if ${ac_cv_lib_soname_GL+:} false
; then :
10188 $as_echo_n "(cached) " >&6
10190 ac_check_soname_save_LIBS
=$LIBS
10191 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10193 /* end confdefs.h. */
10195 /* Override any GCC internal prototype to avoid an error.
10196 Use char because int might match the return type of a GCC
10197 builtin and then its argument prototype would still apply. */
10201 char glXCreateContext ();
10205 return glXCreateContext ();
10210 if ac_fn_c_try_link
"$LINENO"; then :
10212 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10213 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'` ;;
10214 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10215 if ${ac_cv_lib_soname_GL:+false} :; then :
10216 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10220 rm -f core conftest.err conftest.
$ac_objext \
10221 conftest
$ac_exeext conftest.
$ac_ext
10222 LIBS
=$ac_check_soname_save_LIBS
10224 if ${ac_cv_lib_soname_GL:+false} :; then :
10225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10226 $as_echo "not found" >&6; }
10227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10228 $as_echo_n "checking for -lGL... " >&6; }
10229 if ${ac_cv_lib_soname_GL+:} false
; then :
10230 $as_echo_n "(cached) " >&6
10232 ac_check_soname_save_LIBS
=$LIBS
10233 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"
10234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10235 /* end confdefs.h. */
10237 /* Override any GCC internal prototype to avoid an error.
10238 Use char because int might match the return type of a GCC
10239 builtin and then its argument prototype would still apply. */
10243 char glXCreateContext ();
10247 return glXCreateContext ();
10252 if ac_fn_c_try_link
"$LINENO"; then :
10254 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10255 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'` ;;
10256 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10257 if ${ac_cv_lib_soname_GL:+false} :; then :
10258 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10262 rm -f core conftest.err conftest.
$ac_objext \
10263 conftest
$ac_exeext conftest.
$ac_ext
10264 LIBS
=$ac_check_soname_save_LIBS
10266 if ${ac_cv_lib_soname_GL:+false} :; then :
10267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10268 $as_echo "not found" >&6; }
10269 if test -f /usr
/X11R
6/lib
/libGL.a
10271 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10272 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10274 opengl_msg
="No OpenGL library found on this system."
10277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10278 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10280 cat >>confdefs.h
<<_ACEOF
10281 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10284 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"
10287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10288 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10290 cat >>confdefs.h
<<_ACEOF
10291 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10296 if test "x$with_glu" != "xno"
10298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10299 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10300 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10301 $as_echo_n "(cached) " >&6
10303 ac_check_lib_save_LIBS
=$LIBS
10304 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10306 /* end confdefs.h. */
10308 /* Override any GCC internal prototype to avoid an error.
10309 Use char because int might match the return type of a GCC
10310 builtin and then its argument prototype would still apply. */
10318 return gluLookAt ();
10323 if ac_fn_c_try_link
"$LINENO"; then :
10324 ac_cv_lib_GLU_gluLookAt
=yes
10326 ac_cv_lib_GLU_gluLookAt
=no
10328 rm -f core conftest.err conftest.
$ac_objext \
10329 conftest
$ac_exeext conftest.
$ac_ext
10330 LIBS
=$ac_check_lib_save_LIBS
10332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10333 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10334 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10338 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10339 case "x$with_glu" in
10340 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10342 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10343 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10348 if test "x$with_osmesa" != "xno"
10350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10351 $as_echo_n "checking for -lOSMesa... " >&6; }
10352 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10353 $as_echo_n "(cached) " >&6
10355 ac_check_soname_save_LIBS
=$LIBS
10356 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10358 /* end confdefs.h. */
10360 /* Override any GCC internal prototype to avoid an error.
10361 Use char because int might match the return type of a GCC
10362 builtin and then its argument prototype would still apply. */
10375 if ac_fn_c_try_link
"$LINENO"; then :
10377 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10378 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'` ;;
10379 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10380 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10381 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10385 rm -f core conftest.err conftest.
$ac_objext \
10386 conftest
$ac_exeext conftest.
$ac_ext
10387 LIBS
=$ac_check_soname_save_LIBS
10389 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10391 $as_echo "not found" >&6; }
10394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10395 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10397 cat >>confdefs.h
<<_ACEOF
10398 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10403 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10404 case "x$with_osmesa" in
10405 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10407 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10408 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10413 if test -n "$opengl_msg"; then :
10414 case "x$with_opengl" in
10415 x
) as_fn_append wine_warnings
"|$opengl_msg
10416 OpenGL and Direct3D won't be supported." ;;
10418 *) as_fn_error $?
"$opengl_msg
10419 OpenGL and Direct3D won't be supported.
10420 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10424 CPPFLAGS
="$ac_save_CPPFLAGS"
10428 enable_winex11_drv
=${enable_winex11_drv:-no}
10430 if test "x$X_LIBS" = "x"; then :
10433 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10434 without X support, which probably isn't what you want. You will need
10435 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10436 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10440 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10442 if test "$ac_cv_header_CL_cl_h" = "yes"
10444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10445 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10446 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10447 $as_echo_n "(cached) " >&6
10449 ac_check_lib_save_LIBS
=$LIBS
10450 LIBS
="-lOpenCL $LIBS"
10451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10452 /* end confdefs.h. */
10454 /* Override any GCC internal prototype to avoid an error.
10455 Use char because int might match the return type of a GCC
10456 builtin and then its argument prototype would still apply. */
10460 char clGetPlatformInfo ();
10464 return clGetPlatformInfo ();
10469 if ac_fn_c_try_link
"$LINENO"; then :
10470 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10472 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10474 rm -f core conftest.err conftest.
$ac_objext \
10475 conftest
$ac_exeext conftest.
$ac_ext
10476 LIBS
=$ac_check_lib_save_LIBS
10478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10479 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10480 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10481 OPENCL_LIBS
="-lOpenCL"
10486 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10487 case "x$with_opencl" in
10488 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10490 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10491 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10494 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10497 if test "x$with_xml" != "xno"
10499 if ${XML2_CFLAGS:+false} :; then :
10500 if ${PKG_CONFIG+:} false
; then :
10501 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10504 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10505 if ${XML2_LIBS:+false} :; then :
10506 if ${PKG_CONFIG+:} false
; then :
10507 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10510 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10511 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10512 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10513 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10514 ac_save_CPPFLAGS
=$CPPFLAGS
10515 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10516 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10518 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10519 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10520 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10521 cat >>confdefs.h
<<_ACEOF
10522 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10529 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"
10531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10532 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10533 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10534 $as_echo_n "(cached) " >&6
10536 ac_check_lib_save_LIBS
=$LIBS
10537 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10539 /* end confdefs.h. */
10541 /* Override any GCC internal prototype to avoid an error.
10542 Use char because int might match the return type of a GCC
10543 builtin and then its argument prototype would still apply. */
10547 char xmlParseMemory ();
10551 return xmlParseMemory ();
10556 if ac_fn_c_try_link
"$LINENO"; then :
10557 ac_cv_lib_xml2_xmlParseMemory
=yes
10559 ac_cv_lib_xml2_xmlParseMemory
=no
10561 rm -f core conftest.err conftest.
$ac_objext \
10562 conftest
$ac_exeext conftest.
$ac_ext
10563 LIBS
=$ac_check_lib_save_LIBS
10565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10566 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10567 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10569 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10576 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10577 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10578 $as_echo_n "(cached) " >&6
10580 ac_check_lib_save_LIBS
=$LIBS
10581 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10582 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10583 /* end confdefs.h. */
10585 /* Override any GCC internal prototype to avoid an error.
10586 Use char because int might match the return type of a GCC
10587 builtin and then its argument prototype would still apply. */
10591 char xmlReadMemory ();
10595 return xmlReadMemory ();
10600 if ac_fn_c_try_link
"$LINENO"; then :
10601 ac_cv_lib_xml2_xmlReadMemory
=yes
10603 ac_cv_lib_xml2_xmlReadMemory
=no
10605 rm -f core conftest.err conftest.
$ac_objext \
10606 conftest
$ac_exeext conftest.
$ac_ext
10607 LIBS
=$ac_check_lib_save_LIBS
10609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10610 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10611 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10613 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10618 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10619 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10620 $as_echo_n "(cached) " >&6
10622 ac_check_lib_save_LIBS
=$LIBS
10623 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10625 /* end confdefs.h. */
10627 /* Override any GCC internal prototype to avoid an error.
10628 Use char because int might match the return type of a GCC
10629 builtin and then its argument prototype would still apply. */
10633 char xmlNewDocPI ();
10637 return xmlNewDocPI ();
10642 if ac_fn_c_try_link
"$LINENO"; then :
10643 ac_cv_lib_xml2_xmlNewDocPI
=yes
10645 ac_cv_lib_xml2_xmlNewDocPI
=no
10647 rm -f core conftest.err conftest.
$ac_objext \
10648 conftest
$ac_exeext conftest.
$ac_ext
10649 LIBS
=$ac_check_lib_save_LIBS
10651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10652 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10653 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10655 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10660 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10661 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10662 $as_echo_n "(cached) " >&6
10664 ac_check_lib_save_LIBS
=$LIBS
10665 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10667 /* end confdefs.h. */
10669 /* Override any GCC internal prototype to avoid an error.
10670 Use char because int might match the return type of a GCC
10671 builtin and then its argument prototype would still apply. */
10675 char xmlSchemaSetParserStructuredErrors ();
10679 return xmlSchemaSetParserStructuredErrors ();
10684 if ac_fn_c_try_link
"$LINENO"; then :
10685 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10687 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10689 rm -f core conftest.err conftest.
$ac_objext \
10690 conftest
$ac_exeext conftest.
$ac_ext
10691 LIBS
=$ac_check_lib_save_LIBS
10693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10694 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10695 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10697 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10702 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10703 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10704 $as_echo_n "(cached) " >&6
10706 ac_check_lib_save_LIBS
=$LIBS
10707 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10709 /* end confdefs.h. */
10711 /* Override any GCC internal prototype to avoid an error.
10712 Use char because int might match the return type of a GCC
10713 builtin and then its argument prototype would still apply. */
10717 char xmlSchemaSetValidStructuredErrors ();
10721 return xmlSchemaSetValidStructuredErrors ();
10726 if ac_fn_c_try_link
"$LINENO"; then :
10727 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
10729 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
10731 rm -f core conftest.err conftest.
$ac_objext \
10732 conftest
$ac_exeext conftest.
$ac_ext
10733 LIBS
=$ac_check_lib_save_LIBS
10735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10736 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10737 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
10739 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10744 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10745 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
10746 $as_echo_n "(cached) " >&6
10748 ac_check_lib_save_LIBS
=$LIBS
10749 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10751 /* end confdefs.h. */
10753 /* Override any GCC internal prototype to avoid an error.
10754 Use char because int might match the return type of a GCC
10755 builtin and then its argument prototype would still apply. */
10759 char xmlFirstElementChild ();
10763 return xmlFirstElementChild ();
10768 if ac_fn_c_try_link
"$LINENO"; then :
10769 ac_cv_lib_xml2_xmlFirstElementChild
=yes
10771 ac_cv_lib_xml2_xmlFirstElementChild
=no
10773 rm -f core conftest.err conftest.
$ac_objext \
10774 conftest
$ac_exeext conftest.
$ac_ext
10775 LIBS
=$ac_check_lib_save_LIBS
10777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10778 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10779 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
10781 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10785 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10787 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
10789 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10797 CPPFLAGS
=$ac_save_CPPFLAGS
10798 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10799 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10802 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10803 case "x$with_xml" in
10804 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10806 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10807 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10811 if test "x$with_xslt" != "xno"
10813 if ${XSLT_CFLAGS:+false} :; then :
10814 if ${PKG_CONFIG+:} false
; then :
10815 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10818 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10819 if ${XSLT_LIBS:+false} :; then :
10820 if ${PKG_CONFIG+:} false
; then :
10821 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10824 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10825 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
10826 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10827 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10828 ac_save_CPPFLAGS
=$CPPFLAGS
10829 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
10830 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
10832 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10833 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10834 # include <libxslt/pattern.h>
10837 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10838 cat >>confdefs.h
<<_ACEOF
10839 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10846 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10849 $as_echo_n "checking for -lxslt... " >&6; }
10850 if ${ac_cv_lib_soname_xslt+:} false
; then :
10851 $as_echo_n "(cached) " >&6
10853 ac_check_soname_save_LIBS
=$LIBS
10854 LIBS
="-lxslt $XSLT_LIBS $LIBS"
10855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10856 /* end confdefs.h. */
10858 /* Override any GCC internal prototype to avoid an error.
10859 Use char because int might match the return type of a GCC
10860 builtin and then its argument prototype would still apply. */
10864 char xsltCompilePattern ();
10868 return xsltCompilePattern ();
10873 if ac_fn_c_try_link
"$LINENO"; then :
10875 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10876 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'` ;;
10877 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10878 if ${ac_cv_lib_soname_xslt:+false} :; then :
10879 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10883 rm -f core conftest.err conftest.
$ac_objext \
10884 conftest
$ac_exeext conftest.
$ac_ext
10885 LIBS
=$ac_check_soname_save_LIBS
10887 if ${ac_cv_lib_soname_xslt:+false} :; then :
10888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10889 $as_echo "not found" >&6; }
10892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10893 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10895 cat >>confdefs.h
<<_ACEOF
10896 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10904 CPPFLAGS
=$ac_save_CPPFLAGS
10905 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10906 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10909 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10910 case "x$with_xslt" in
10911 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10913 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
10914 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10918 if test "x$with_dbus" != "xno"
10920 if ${DBUS_CFLAGS:+false} :; then :
10921 if ${PKG_CONFIG+:} false
; then :
10922 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10926 if ${DBUS_LIBS:+false} :; then :
10927 if ${PKG_CONFIG+:} false
; then :
10928 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10933 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
10934 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
10935 ac_save_CPPFLAGS
=$CPPFLAGS
10936 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
10937 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10938 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
10939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10940 $as_echo_n "checking for -ldbus-1... " >&6; }
10941 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
10942 $as_echo_n "(cached) " >&6
10944 ac_check_soname_save_LIBS
=$LIBS
10945 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
10946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10947 /* end confdefs.h. */
10949 /* Override any GCC internal prototype to avoid an error.
10950 Use char because int might match the return type of a GCC
10951 builtin and then its argument prototype would still apply. */
10955 char dbus_connection_close ();
10959 return dbus_connection_close ();
10964 if ac_fn_c_try_link
"$LINENO"; then :
10966 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10967 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'` ;;
10968 *) 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'`
10969 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
10970 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10974 rm -f core conftest.err conftest.
$ac_objext \
10975 conftest
$ac_exeext conftest.
$ac_ext
10976 LIBS
=$ac_check_soname_save_LIBS
10978 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
10979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10980 $as_echo "not found" >&6; }
10983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
10984 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
10986 cat >>confdefs.h
<<_ACEOF
10987 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
10997 CPPFLAGS
=$ac_save_CPPFLAGS
10998 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10999 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11002 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11003 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11004 case "x$with_dbus" in
11005 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11007 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11008 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11012 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11014 if ${HAL_CFLAGS:+false} :; then :
11015 if ${PKG_CONFIG+:} false
; then :
11016 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11020 if ${HAL_LIBS:+false} :; then :
11021 if ${PKG_CONFIG+:} false
; then :
11022 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11026 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11027 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11028 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11029 ac_save_CPPFLAGS
=$CPPFLAGS
11030 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11031 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11032 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11034 $as_echo_n "checking for -lhal... " >&6; }
11035 if ${ac_cv_lib_soname_hal+:} false
; then :
11036 $as_echo_n "(cached) " >&6
11038 ac_check_soname_save_LIBS
=$LIBS
11039 LIBS
="-lhal $HAL_LIBS $LIBS"
11040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11041 /* end confdefs.h. */
11043 /* Override any GCC internal prototype to avoid an error.
11044 Use char because int might match the return type of a GCC
11045 builtin and then its argument prototype would still apply. */
11049 char libhal_ctx_new ();
11053 return libhal_ctx_new ();
11058 if ac_fn_c_try_link
"$LINENO"; then :
11060 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11061 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'` ;;
11062 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11063 if ${ac_cv_lib_soname_hal:+false} :; then :
11064 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11068 rm -f core conftest.err conftest.
$ac_objext \
11069 conftest
$ac_exeext conftest.
$ac_ext
11070 LIBS
=$ac_check_soname_save_LIBS
11072 if ${ac_cv_lib_soname_hal:+false} :; then :
11073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11074 $as_echo "not found" >&6; }
11077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11078 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11080 cat >>confdefs.h
<<_ACEOF
11081 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11091 CPPFLAGS
=$ac_save_CPPFLAGS
11092 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11093 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11095 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11096 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11097 case "x$with_hal" in
11098 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11100 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11101 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11106 if test "x$with_gnutls" != "xno"
11108 if ${GNUTLS_CFLAGS:+false} :; then :
11109 if ${PKG_CONFIG+:} false
; then :
11110 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11114 if ${GNUTLS_LIBS:+false} :; then :
11115 if ${PKG_CONFIG+:} false
; then :
11116 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11121 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11122 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11123 ac_save_CPPFLAGS
=$CPPFLAGS
11124 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11125 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11126 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11128 /* end confdefs.h. */
11129 #include <gnutls/gnutls.h>
11130 #include <gnutls/crypto.h>
11134 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11139 if ac_fn_c_try_compile
"$LINENO"; then :
11140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11141 $as_echo_n "checking for -lgnutls... " >&6; }
11142 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11143 $as_echo_n "(cached) " >&6
11145 ac_check_soname_save_LIBS
=$LIBS
11146 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11148 /* end confdefs.h. */
11150 /* Override any GCC internal prototype to avoid an error.
11151 Use char because int might match the return type of a GCC
11152 builtin and then its argument prototype would still apply. */
11156 char gnutls_global_init ();
11160 return gnutls_global_init ();
11165 if ac_fn_c_try_link
"$LINENO"; then :
11167 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11168 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'` ;;
11169 *) ac_cv_lib_soname_gnutls
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11170 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11171 ac_cv_lib_soname_gnutls
=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11175 rm -f core conftest.err conftest.
$ac_objext \
11176 conftest
$ac_exeext conftest.
$ac_ext
11177 LIBS
=$ac_check_soname_save_LIBS
11179 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11181 $as_echo "not found" >&6; }
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11185 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11187 cat >>confdefs.h
<<_ACEOF
11188 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11194 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11200 CPPFLAGS
=$ac_save_CPPFLAGS
11201 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11202 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11205 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11206 case "x$with_gnutls" in
11207 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11209 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11210 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11215 if test "$ac_cv_header_ncurses_h" = "yes"
11217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11218 $as_echo_n "checking for -lncurses... " >&6; }
11219 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11220 $as_echo_n "(cached) " >&6
11222 ac_check_soname_save_LIBS
=$LIBS
11223 LIBS
="-lncurses $LIBS"
11224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11225 /* end confdefs.h. */
11227 /* Override any GCC internal prototype to avoid an error.
11228 Use char because int might match the return type of a GCC
11229 builtin and then its argument prototype would still apply. */
11242 if ac_fn_c_try_link
"$LINENO"; then :
11244 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11245 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'` ;;
11246 *) ac_cv_lib_soname_ncurses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11247 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11248 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11252 rm -f core conftest.err conftest.
$ac_objext \
11253 conftest
$ac_exeext conftest.
$ac_ext
11254 LIBS
=$ac_check_soname_save_LIBS
11256 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11258 $as_echo "not found" >&6; }
11261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11262 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11264 cat >>confdefs.h
<<_ACEOF
11265 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11268 CURSES_LIBS
="-lncurses"
11270 elif test "$ac_cv_header_curses_h" = "yes"
11272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11273 $as_echo_n "checking for -lcurses... " >&6; }
11274 if ${ac_cv_lib_soname_curses+:} false
; then :
11275 $as_echo_n "(cached) " >&6
11277 ac_check_soname_save_LIBS
=$LIBS
11278 LIBS
="-lcurses $LIBS"
11279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11280 /* end confdefs.h. */
11282 /* Override any GCC internal prototype to avoid an error.
11283 Use char because int might match the return type of a GCC
11284 builtin and then its argument prototype would still apply. */
11297 if ac_fn_c_try_link
"$LINENO"; then :
11299 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11300 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'` ;;
11301 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11302 if ${ac_cv_lib_soname_curses:+false} :; then :
11303 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11307 rm -f core conftest.err conftest.
$ac_objext \
11308 conftest
$ac_exeext conftest.
$ac_ext
11309 LIBS
=$ac_check_soname_save_LIBS
11311 if ${ac_cv_lib_soname_curses:+false} :; then :
11312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11313 $as_echo "not found" >&6; }
11316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11317 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11319 cat >>confdefs.h
<<_ACEOF
11320 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11323 CURSES_LIBS
="-lcurses"
11326 ac_save_LIBS
="$LIBS"
11327 LIBS
="$LIBS $CURSES_LIBS"
11328 for ac_func
in mousemask
11330 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11331 if test "x$ac_cv_func_mousemask" = xyes
; then :
11332 cat >>confdefs.h
<<_ACEOF
11333 #define HAVE_MOUSEMASK 1
11339 LIBS
="$ac_save_LIBS"
11340 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11341 case "x$with_curses" in
11342 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11344 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11345 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11349 if test "x$with_sane" != "xno"
11351 if ${SANE_CFLAGS:+false} :; then :
11352 if ${PKG_CONFIG+:} false
; then :
11353 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11356 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11357 if ${SANE_LIBS:+false} :; then :
11358 if ${PKG_CONFIG+:} false
; then :
11359 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11362 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11364 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11365 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11366 ac_save_CPPFLAGS
=$CPPFLAGS
11367 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11368 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11369 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11371 $as_echo_n "checking for -lsane... " >&6; }
11372 if ${ac_cv_lib_soname_sane+:} false
; then :
11373 $as_echo_n "(cached) " >&6
11375 ac_check_soname_save_LIBS
=$LIBS
11376 LIBS
="-lsane $SANE_LIBS $LIBS"
11377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11378 /* end confdefs.h. */
11380 /* Override any GCC internal prototype to avoid an error.
11381 Use char because int might match the return type of a GCC
11382 builtin and then its argument prototype would still apply. */
11390 return sane_init ();
11395 if ac_fn_c_try_link
"$LINENO"; then :
11397 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11398 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'` ;;
11399 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11400 if ${ac_cv_lib_soname_sane:+false} :; then :
11401 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11405 rm -f core conftest.err conftest.
$ac_objext \
11406 conftest
$ac_exeext conftest.
$ac_ext
11407 LIBS
=$ac_check_soname_save_LIBS
11409 if ${ac_cv_lib_soname_sane:+false} :; then :
11410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11411 $as_echo "not found" >&6; }
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11415 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11417 cat >>confdefs.h
<<_ACEOF
11418 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11428 CPPFLAGS
=$ac_save_CPPFLAGS
11429 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11430 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11433 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11434 case "x$with_sane" in
11435 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11437 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11438 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11442 if test "x$with_v4l" != "xno"
11444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11445 $as_echo_n "checking for -lv4l1... " >&6; }
11446 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11447 $as_echo_n "(cached) " >&6
11449 ac_check_soname_save_LIBS
=$LIBS
11450 LIBS
="-lv4l1 $LIBS"
11451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11452 /* end confdefs.h. */
11454 /* Override any GCC internal prototype to avoid an error.
11455 Use char because int might match the return type of a GCC
11456 builtin and then its argument prototype would still apply. */
11464 return v4l1_open ();
11469 if ac_fn_c_try_link
"$LINENO"; then :
11471 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11472 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'` ;;
11473 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11474 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11475 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11479 rm -f core conftest.err conftest.
$ac_objext \
11480 conftest
$ac_exeext conftest.
$ac_ext
11481 LIBS
=$ac_check_soname_save_LIBS
11483 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11485 $as_echo "not found" >&6; }
11488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11489 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11491 cat >>confdefs.h
<<_ACEOF
11492 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11498 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11499 case "x$with_v4l" in
11500 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11502 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11503 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11507 if test "x$with_gphoto" != "xno"
11509 if ${GPHOTO2_CFLAGS:+false} :; then :
11510 if ${PKG_CONFIG+:} false
; then :
11511 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11514 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11515 if ${GPHOTO2_LIBS:+false} :; then :
11516 if ${PKG_CONFIG+:} false
; then :
11517 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11520 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11521 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11522 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11523 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11524 ac_save_CPPFLAGS
=$CPPFLAGS
11525 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11526 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11527 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11529 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11530 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11531 $as_echo_n "(cached) " >&6
11533 ac_check_lib_save_LIBS
=$LIBS
11534 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11536 /* end confdefs.h. */
11538 /* Override any GCC internal prototype to avoid an error.
11539 Use char because int might match the return type of a GCC
11540 builtin and then its argument prototype would still apply. */
11544 char gp_camera_new ();
11548 return gp_camera_new ();
11553 if ac_fn_c_try_link
"$LINENO"; then :
11554 ac_cv_lib_gphoto2_gp_camera_new
=yes
11556 ac_cv_lib_gphoto2_gp_camera_new
=no
11558 rm -f core conftest.err conftest.
$ac_objext \
11559 conftest
$ac_exeext conftest.
$ac_ext
11560 LIBS
=$ac_check_lib_save_LIBS
11562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11563 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11564 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11566 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11569 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11573 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11577 CPPFLAGS
=$ac_save_CPPFLAGS
11578 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11579 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11581 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11582 if ${PKG_CONFIG+:} false
; then :
11583 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11586 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11587 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11588 if ${PKG_CONFIG+:} false
; then :
11589 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11592 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11593 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11594 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11595 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11596 ac_save_CPPFLAGS
=$CPPFLAGS
11597 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11598 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11599 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11601 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11602 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11603 $as_echo_n "(cached) " >&6
11605 ac_check_lib_save_LIBS
=$LIBS
11606 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11607 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11608 /* end confdefs.h. */
11610 /* Override any GCC internal prototype to avoid an error.
11611 Use char because int might match the return type of a GCC
11612 builtin and then its argument prototype would still apply. */
11616 char gp_port_info_list_new ();
11620 return gp_port_info_list_new ();
11625 if ac_fn_c_try_link
"$LINENO"; then :
11626 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11628 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11630 rm -f core conftest.err conftest.
$ac_objext \
11631 conftest
$ac_exeext conftest.
$ac_ext
11632 LIBS
=$ac_check_lib_save_LIBS
11634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11635 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11636 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11638 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11641 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11645 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11649 CPPFLAGS
=$ac_save_CPPFLAGS
11650 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11651 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11654 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11655 case "x$with_gphoto" in
11656 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11658 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11659 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11662 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11663 case "x$with_gphoto" in
11664 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11666 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11667 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11672 if test "$ac_cv_header_resolv_h" = "yes"
11674 ac_save_LIBS
="$LIBS"
11675 for lib
in '' -lresolv
11677 LIBS
="$lib $ac_save_LIBS"
11678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11679 /* end confdefs.h. */
11680 #ifdef HAVE_NETINET_IN_H
11681 #include <netinet/in.h>
11683 #include <resolv.h>
11687 res_query("foo",ns_c_in,0,0,0);
11692 if ac_fn_c_try_link
"$LINENO"; then :
11694 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11699 rm -f core conftest.err conftest.
$ac_objext \
11700 conftest
$ac_exeext conftest.
$ac_ext
11701 if test "${RESOLV_LIBS+set}" = set; then
11705 LIBS
="$ac_save_LIBS"
11708 if test "x$with_lcms2" != "xno"
11710 if ${LCMS2_CFLAGS:+false} :; then :
11711 if ${PKG_CONFIG+:} false
; then :
11712 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11716 if ${LCMS2_LIBS:+false} :; then :
11717 if ${PKG_CONFIG+:} false
; then :
11718 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11722 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
11723 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11724 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11725 ac_save_CPPFLAGS
=$CPPFLAGS
11726 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
11727 for ac_header
in lcms2.h
11729 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11730 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
11731 cat >>confdefs.h
<<_ACEOF
11732 #define HAVE_LCMS2_H 1
11739 if test "$ac_cv_header_lcms2_h" = "yes"
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11742 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11743 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
11744 $as_echo_n "(cached) " >&6
11746 ac_check_lib_save_LIBS
=$LIBS
11747 LIBS
="-llcms2 $LIBS"
11748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11749 /* end confdefs.h. */
11751 /* Override any GCC internal prototype to avoid an error.
11752 Use char because int might match the return type of a GCC
11753 builtin and then its argument prototype would still apply. */
11757 char cmsOpenProfileFromFile ();
11761 return cmsOpenProfileFromFile ();
11766 if ac_fn_c_try_link
"$LINENO"; then :
11767 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
11769 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
11771 rm -f core conftest.err conftest.
$ac_objext \
11772 conftest
$ac_exeext conftest.
$ac_ext
11773 LIBS
=$ac_check_lib_save_LIBS
11775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11776 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11777 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
11779 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11789 CPPFLAGS
=$ac_save_CPPFLAGS
11790 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11791 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11794 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11795 case "x$with_cms" in
11796 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11798 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11799 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11803 if test "x$with_freetype" != "xno"
11805 if ${FREETYPE_CFLAGS:+false} :; then :
11806 if ${PKG_CONFIG+:} false
; then :
11807 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11810 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11811 if ${FREETYPE_LIBS:+false} :; then :
11812 if ${PKG_CONFIG+:} false
; then :
11813 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11816 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11817 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
11818 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11819 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11820 ac_save_CPPFLAGS
=$CPPFLAGS
11821 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
11822 for ac_header
in ft2build.h
11824 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11825 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
11826 cat >>confdefs.h
<<_ACEOF
11827 #define HAVE_FT2BUILD_H 1
11834 if test "$ac_cv_header_ft2build_h" = "yes"
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11837 $as_echo_n "checking for -lfreetype... " >&6; }
11838 if ${ac_cv_lib_soname_freetype+:} false
; then :
11839 $as_echo_n "(cached) " >&6
11841 ac_check_soname_save_LIBS
=$LIBS
11842 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
11843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11844 /* end confdefs.h. */
11846 /* Override any GCC internal prototype to avoid an error.
11847 Use char because int might match the return type of a GCC
11848 builtin and then its argument prototype would still apply. */
11852 char FT_Init_FreeType ();
11856 return FT_Init_FreeType ();
11861 if ac_fn_c_try_link
"$LINENO"; then :
11863 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11864 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'` ;;
11865 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11866 if ${ac_cv_lib_soname_freetype:+false} :; then :
11867 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11871 rm -f core conftest.err conftest.
$ac_objext \
11872 conftest
$ac_exeext conftest.
$ac_ext
11873 LIBS
=$ac_check_soname_save_LIBS
11875 if ${ac_cv_lib_soname_freetype:+false} :; then :
11876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11877 $as_echo "not found" >&6; }
11880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11881 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11883 cat >>confdefs.h
<<_ACEOF
11884 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11888 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11890 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
11891 #include FT_MODULE_H
11893 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
11895 cat >>confdefs.h
<<_ACEOF
11896 #define HAVE_FT_TRUETYPEENGINETYPE 1
11907 CPPFLAGS
=$ac_save_CPPFLAGS
11908 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11909 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11912 if test "x$ac_cv_lib_soname_freetype" = x
; then :
11913 case "x$with_freetype" in
11915 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
11916 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
11919 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
11921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
11922 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
11923 if ${ac_cv_c_ppdev+:} false
; then :
11924 $as_echo_n "(cached) " >&6
11926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11927 /* end confdefs.h. */
11928 #ifdef HAVE_SYS_IOCTL_H
11929 # include <sys/ioctl.h>
11931 #include <linux/ppdev.h>
11935 ioctl (1,PPCLAIM,0)
11940 if ac_fn_c_try_compile
"$LINENO"; then :
11941 ac_cv_c_ppdev
="yes"
11945 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11948 $as_echo "$ac_cv_c_ppdev" >&6; }
11949 if test "$ac_cv_c_ppdev" = "yes"
11952 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11956 ac_wine_check_funcs_save_LIBS
="$LIBS"
11957 LIBS
="$LIBS $PTHREAD_LIBS"
11959 pthread_attr_get_np \
11960 pthread_getattr_np \
11961 pthread_getthreadid_np \
11962 pthread_get_stackaddr_np \
11963 pthread_get_stacksize_np
11965 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11966 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11967 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11968 cat >>confdefs.h
<<_ACEOF
11969 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11975 LIBS
="$ac_wine_check_funcs_save_LIBS"
11977 if test "$ac_cv_header_zlib_h" = "yes"
11979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11980 $as_echo_n "checking for inflate in -lz... " >&6; }
11981 if ${ac_cv_lib_z_inflate+:} false
; then :
11982 $as_echo_n "(cached) " >&6
11984 ac_check_lib_save_LIBS
=$LIBS
11986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11987 /* end confdefs.h. */
11989 /* Override any GCC internal prototype to avoid an error.
11990 Use char because int might match the return type of a GCC
11991 builtin and then its argument prototype would still apply. */
12004 if ac_fn_c_try_link
"$LINENO"; then :
12005 ac_cv_lib_z_inflate
=yes
12007 ac_cv_lib_z_inflate
=no
12009 rm -f core conftest.err conftest.
$ac_objext \
12010 conftest
$ac_exeext conftest.
$ac_ext
12011 LIBS
=$ac_check_lib_save_LIBS
12013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12014 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12015 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12017 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12024 if test "x$Z_LIBS" = "x"; then :
12025 case "x$with_zlib" in
12026 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12028 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12029 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12033 if test "x$enable_tools" != xno
12035 if test "$ac_cv_header_gettext_po_h" = "yes"
12037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12038 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12039 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12040 $as_echo_n "(cached) " >&6
12042 ac_check_lib_save_LIBS
=$LIBS
12043 LIBS
="-lgettextpo $LIBS"
12044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12045 /* end confdefs.h. */
12047 /* Override any GCC internal prototype to avoid an error.
12048 Use char because int might match the return type of a GCC
12049 builtin and then its argument prototype would still apply. */
12053 char po_message_msgctxt ();
12057 return po_message_msgctxt ();
12062 if ac_fn_c_try_link
"$LINENO"; then :
12063 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12065 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12067 rm -f core conftest.err conftest.
$ac_objext \
12068 conftest
$ac_exeext conftest.
$ac_ext
12069 LIBS
=$ac_check_lib_save_LIBS
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12072 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12073 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12075 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12077 GETTEXTPO_LIBS
="-lgettextpo"
12082 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12083 case "x$with_gettextpo" in
12084 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12086 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12087 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12092 if test "x$with_gstreamer" != "xno"
12094 if ${GSTREAMER_CFLAGS:+false} :; then :
12095 if ${PKG_CONFIG+:} false
; then :
12096 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12100 if ${GSTREAMER_LIBS:+false} :; then :
12101 if ${PKG_CONFIG+:} false
; then :
12102 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12107 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12108 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12109 ac_save_CPPFLAGS
=$CPPFLAGS
12110 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12112 for i
in $GSTREAMER_CFLAGS
12115 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12118 GSTREAMER_CFLAGS
=$ac_gst_incl
12119 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12120 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12121 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12122 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12123 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12125 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12127 /* end confdefs.h. */
12128 #include <gst/app/gstappsink.h>
12132 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12137 if ac_fn_c_try_compile
"$LINENO"; then :
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12139 $as_echo "yes" >&6; }
12140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12141 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12142 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12143 $as_echo_n "(cached) " >&6
12145 ac_check_lib_save_LIBS
=$LIBS
12146 LIBS
="-lgstreamer-0.10 $LIBS"
12147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12148 /* end confdefs.h. */
12150 /* Override any GCC internal prototype to avoid an error.
12151 Use char because int might match the return type of a GCC
12152 builtin and then its argument prototype would still apply. */
12156 char gst_pad_get_caps_reffed ();
12160 return gst_pad_get_caps_reffed ();
12165 if ac_fn_c_try_link
"$LINENO"; then :
12166 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12168 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12170 rm -f core conftest.err conftest.
$ac_objext \
12171 conftest
$ac_exeext conftest.
$ac_ext
12172 LIBS
=$ac_check_lib_save_LIBS
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12175 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12176 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12178 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12179 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12180 $as_echo_n "(cached) " >&6
12182 ac_check_lib_save_LIBS
=$LIBS
12183 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12185 /* end confdefs.h. */
12187 /* Override any GCC internal prototype to avoid an error.
12188 Use char because int might match the return type of a GCC
12189 builtin and then its argument prototype would still apply. */
12193 char gst_app_buffer_new ();
12197 return gst_app_buffer_new ();
12202 if ac_fn_c_try_link
"$LINENO"; then :
12203 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12205 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12207 rm -f core conftest.err conftest.
$ac_objext \
12208 conftest
$ac_exeext conftest.
$ac_ext
12209 LIBS
=$ac_check_lib_save_LIBS
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12212 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12213 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12221 $as_echo "no" >&6; }
12223 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12228 GSTREAMER_CFLAGS
=""
12232 CPPFLAGS
=$ac_save_CPPFLAGS
12233 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12234 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12237 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12238 case "x$with_gstreamer" in
12239 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12241 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12242 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12245 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12249 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12252 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12253 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12254 $as_echo_n "(cached) " >&6
12256 ac_check_lib_save_LIBS
=$LIBS
12257 LIBS
="-lasound $LIBS"
12258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12259 /* end confdefs.h. */
12261 /* Override any GCC internal prototype to avoid an error.
12262 Use char because int might match the return type of a GCC
12263 builtin and then its argument prototype would still apply. */
12267 char snd_pcm_hw_params_get_access_mask ();
12271 return snd_pcm_hw_params_get_access_mask ();
12276 if ac_fn_c_try_link
"$LINENO"; then :
12277 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12279 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12281 rm -f core conftest.err conftest.
$ac_objext \
12282 conftest
$ac_exeext conftest.
$ac_ext
12283 LIBS
=$ac_check_lib_save_LIBS
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12286 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12287 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12289 /* end confdefs.h. */
12290 #ifdef HAVE_ALSA_ASOUNDLIB_H
12291 #include <alsa/asoundlib.h>
12292 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12293 #include <sys/asoundlib.h>
12298 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12303 if ac_fn_c_try_compile
"$LINENO"; then :
12304 ALSA_LIBS
="-lasound"
12306 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12311 if test "x$with_oss" != xno
12313 ac_save_CPPFLAGS
="$CPPFLAGS"
12314 if test -f /etc
/oss.conf
12318 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12319 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12320 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12321 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12322 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12324 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12326 cat >>confdefs.h
<<_ACEOF
12327 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12330 OSS4_CFLAGS
="$ac_oss_incl"
12337 CPPFLAGS
="$ac_save_CPPFLAGS"
12338 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12340 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12344 if test "x$with_capi" != "xno"
12346 if ${CAPI20_CFLAGS:+false} :; then :
12347 if ${PKG_CONFIG+:} false
; then :
12348 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12352 if ${CAPI20_LIBS:+false} :; then :
12353 if ${PKG_CONFIG+:} false
; then :
12354 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12359 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12360 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12361 ac_save_CPPFLAGS
=$CPPFLAGS
12362 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12363 for ac_header
in capi20.h linux
/capi.h
12365 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12366 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12368 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12369 cat >>confdefs.h
<<_ACEOF
12370 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12377 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12380 $as_echo_n "checking for -lcapi20... " >&6; }
12381 if ${ac_cv_lib_soname_capi20+:} false
; then :
12382 $as_echo_n "(cached) " >&6
12384 ac_check_soname_save_LIBS
=$LIBS
12385 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12387 /* end confdefs.h. */
12389 /* Override any GCC internal prototype to avoid an error.
12390 Use char because int might match the return type of a GCC
12391 builtin and then its argument prototype would still apply. */
12395 char capi20_register ();
12399 return capi20_register ();
12404 if ac_fn_c_try_link
"$LINENO"; then :
12406 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12407 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'` ;;
12408 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12409 if ${ac_cv_lib_soname_capi20:+false} :; then :
12410 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12414 rm -f core conftest.err conftest.
$ac_objext \
12415 conftest
$ac_exeext conftest.
$ac_ext
12416 LIBS
=$ac_check_soname_save_LIBS
12418 if ${ac_cv_lib_soname_capi20:+false} :; then :
12419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12420 $as_echo "not found" >&6; }
12423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12424 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12426 cat >>confdefs.h
<<_ACEOF
12427 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12433 CPPFLAGS
=$ac_save_CPPFLAGS
12434 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12435 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12438 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12439 case "x$with_capi" in
12440 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12442 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12443 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12449 if test "x$with_cups" != "xno"
12451 ac_save_CPPFLAGS
="$CPPFLAGS"
12452 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12453 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12454 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12455 for ac_header
in cups
/cups.h
12457 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12458 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12459 cat >>confdefs.h
<<_ACEOF
12460 #define HAVE_CUPS_CUPS_H 1
12462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12463 $as_echo_n "checking for -lcups... " >&6; }
12464 if ${ac_cv_lib_soname_cups+:} false
; then :
12465 $as_echo_n "(cached) " >&6
12467 ac_check_soname_save_LIBS
=$LIBS
12468 LIBS
="-lcups $ac_cups_libs $LIBS"
12469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12470 /* end confdefs.h. */
12472 /* Override any GCC internal prototype to avoid an error.
12473 Use char because int might match the return type of a GCC
12474 builtin and then its argument prototype would still apply. */
12478 char cupsGetDefault ();
12482 return cupsGetDefault ();
12487 if ac_fn_c_try_link
"$LINENO"; then :
12489 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12490 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'` ;;
12491 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12492 if ${ac_cv_lib_soname_cups:+false} :; then :
12493 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12497 rm -f core conftest.err conftest.
$ac_objext \
12498 conftest
$ac_exeext conftest.
$ac_ext
12499 LIBS
=$ac_check_soname_save_LIBS
12501 if ${ac_cv_lib_soname_cups:+false} :; then :
12502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12503 $as_echo "not found" >&6; }
12506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12507 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12509 cat >>confdefs.h
<<_ACEOF
12510 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12513 CUPS_CFLAGS
="$ac_cups_cflags"
12519 CPPFLAGS
="$ac_save_CPPFLAGS"
12521 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12522 case "x$with_cups" in
12523 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12525 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12526 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12530 if test "x$with_fontconfig" != "xno"
12532 if ${FONTCONFIG_CFLAGS:+false} :; then :
12533 if ${PKG_CONFIG+:} false
; then :
12534 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12537 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12538 if ${FONTCONFIG_LIBS:+false} :; then :
12539 if ${PKG_CONFIG+:} false
; then :
12540 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12543 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
12545 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12546 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12547 ac_save_CPPFLAGS
=$CPPFLAGS
12548 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
12549 for ac_header
in fontconfig
/fontconfig.h
12551 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12552 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12553 cat >>confdefs.h
<<_ACEOF
12554 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12561 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12564 $as_echo_n "checking for -lfontconfig... " >&6; }
12565 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12566 $as_echo_n "(cached) " >&6
12568 ac_check_soname_save_LIBS
=$LIBS
12569 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12571 /* end confdefs.h. */
12573 /* Override any GCC internal prototype to avoid an error.
12574 Use char because int might match the return type of a GCC
12575 builtin and then its argument prototype would still apply. */
12588 if ac_fn_c_try_link
"$LINENO"; then :
12590 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12591 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'` ;;
12592 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12593 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12594 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12598 rm -f core conftest.err conftest.
$ac_objext \
12599 conftest
$ac_exeext conftest.
$ac_ext
12600 LIBS
=$ac_check_soname_save_LIBS
12602 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12604 $as_echo "not found" >&6; }
12605 FONTCONFIG_CFLAGS
=""
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12608 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12610 cat >>confdefs.h
<<_ACEOF
12611 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12617 FONTCONFIG_CFLAGS
=""
12619 CPPFLAGS
=$ac_save_CPPFLAGS
12620 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12621 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12624 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12625 case "x$with_fontconfig" in
12626 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12628 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12629 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12633 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12636 $as_echo_n "checking for -lgsm... " >&6; }
12637 if ${ac_cv_lib_soname_gsm+:} false
; then :
12638 $as_echo_n "(cached) " >&6
12640 ac_check_soname_save_LIBS
=$LIBS
12642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12643 /* end confdefs.h. */
12645 /* Override any GCC internal prototype to avoid an error.
12646 Use char because int might match the return type of a GCC
12647 builtin and then its argument prototype would still apply. */
12651 char gsm_create ();
12655 return gsm_create ();
12660 if ac_fn_c_try_link
"$LINENO"; then :
12662 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12663 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'` ;;
12664 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12665 if ${ac_cv_lib_soname_gsm:+false} :; then :
12666 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12670 rm -f core conftest.err conftest.
$ac_objext \
12671 conftest
$ac_exeext conftest.
$ac_ext
12672 LIBS
=$ac_check_soname_save_LIBS
12674 if ${ac_cv_lib_soname_gsm:+false} :; then :
12675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12676 $as_echo "not found" >&6; }
12679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12680 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12682 cat >>confdefs.h
<<_ACEOF
12683 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12689 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12690 case "x$with_gsm" in
12691 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12693 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12694 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12698 if test "x$with_jpeg" != "xno"
12700 if ${JPEG_CFLAGS:+false} :; then :
12701 if ${PKG_CONFIG+:} false
; then :
12702 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12706 if ${JPEG_LIBS:+false} :; then :
12707 if ${PKG_CONFIG+:} false
; then :
12708 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12713 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12714 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12715 ac_save_CPPFLAGS
=$CPPFLAGS
12716 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
12717 for ac_header
in jpeglib.h
12719 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12720 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
12721 cat >>confdefs.h
<<_ACEOF
12722 #define HAVE_JPEGLIB_H 1
12729 if test "$ac_cv_header_jpeglib_h" = "yes"
12731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12732 $as_echo_n "checking for -ljpeg... " >&6; }
12733 if ${ac_cv_lib_soname_jpeg+:} false
; then :
12734 $as_echo_n "(cached) " >&6
12736 ac_check_soname_save_LIBS
=$LIBS
12737 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
12738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12739 /* end confdefs.h. */
12741 /* Override any GCC internal prototype to avoid an error.
12742 Use char because int might match the return type of a GCC
12743 builtin and then its argument prototype would still apply. */
12747 char jpeg_start_decompress ();
12751 return jpeg_start_decompress ();
12756 if ac_fn_c_try_link
"$LINENO"; then :
12758 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12759 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'` ;;
12760 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12761 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12762 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12766 rm -f core conftest.err conftest.
$ac_objext \
12767 conftest
$ac_exeext conftest.
$ac_ext
12768 LIBS
=$ac_check_soname_save_LIBS
12770 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12772 $as_echo "not found" >&6; }
12775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12776 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12778 cat >>confdefs.h
<<_ACEOF
12779 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12787 CPPFLAGS
=$ac_save_CPPFLAGS
12788 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12789 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12792 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12793 case "x$with_jpeg" in
12794 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12796 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12797 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12801 if test "x$with_png" != "xno"
12803 if ${PNG_CFLAGS:+false} :; then :
12804 if ${PKG_CONFIG+:} false
; then :
12805 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12808 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
12809 if ${PNG_LIBS:+false} :; then :
12810 if ${PKG_CONFIG+:} false
; then :
12811 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
12814 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
12816 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12817 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12818 ac_save_CPPFLAGS
=$CPPFLAGS
12819 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
12820 for ac_header
in png.h
12822 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12823 if test "x$ac_cv_header_png_h" = xyes
; then :
12824 cat >>confdefs.h
<<_ACEOF
12825 #define HAVE_PNG_H 1
12832 if test "$ac_cv_header_png_h" = "yes"
12834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12835 $as_echo_n "checking for -lpng... " >&6; }
12836 if ${ac_cv_lib_soname_png+:} false
; then :
12837 $as_echo_n "(cached) " >&6
12839 ac_check_soname_save_LIBS
=$LIBS
12840 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
12841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12842 /* end confdefs.h. */
12844 /* Override any GCC internal prototype to avoid an error.
12845 Use char because int might match the return type of a GCC
12846 builtin and then its argument prototype would still apply. */
12850 char png_create_read_struct ();
12854 return png_create_read_struct ();
12859 if ac_fn_c_try_link
"$LINENO"; then :
12861 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12862 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'` ;;
12863 *) 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'`
12864 if ${ac_cv_lib_soname_png:+false} :; then :
12865 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12869 rm -f core conftest.err conftest.
$ac_objext \
12870 conftest
$ac_exeext conftest.
$ac_ext
12871 LIBS
=$ac_check_soname_save_LIBS
12873 if ${ac_cv_lib_soname_png:+false} :; then :
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12875 $as_echo "not found" >&6; }
12878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12879 $as_echo "$ac_cv_lib_soname_png" >&6; }
12881 cat >>confdefs.h
<<_ACEOF
12882 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12886 /* end confdefs.h. */
12891 typeof(png_set_expand_gray_1_2_4_to_8) *p
12896 if ac_fn_c_try_compile
"$LINENO"; then :
12898 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12901 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12906 CPPFLAGS
=$ac_save_CPPFLAGS
12907 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12908 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12911 if test "x$ac_cv_lib_soname_png" = "x"; then :
12912 case "x$with_png" in
12913 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
12915 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
12916 This is an error since --with-png was requested." "$LINENO" 5 ;;
12920 if test "x$with_tiff" != "xno"
12922 if ${TIFF_CFLAGS:+false} :; then :
12923 if ${PKG_CONFIG+:} false
; then :
12924 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
12928 if ${TIFF_LIBS:+false} :; then :
12929 if ${PKG_CONFIG+:} false
; then :
12930 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
12935 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
12936 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
12937 ac_save_CPPFLAGS
=$CPPFLAGS
12938 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
12939 for ac_header
in tiffio.h
12941 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
12942 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
12943 cat >>confdefs.h
<<_ACEOF
12944 #define HAVE_TIFFIO_H 1
12951 if test "$ac_cv_header_tiffio_h" = "yes"
12953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
12954 $as_echo_n "checking for -ltiff... " >&6; }
12955 if ${ac_cv_lib_soname_tiff+:} false
; then :
12956 $as_echo_n "(cached) " >&6
12958 ac_check_soname_save_LIBS
=$LIBS
12959 LIBS
="-ltiff $TIFF_LIBS $LIBS"
12960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12961 /* end confdefs.h. */
12963 /* Override any GCC internal prototype to avoid an error.
12964 Use char because int might match the return type of a GCC
12965 builtin and then its argument prototype would still apply. */
12969 char TIFFClientOpen ();
12973 return TIFFClientOpen ();
12978 if ac_fn_c_try_link
"$LINENO"; then :
12980 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12981 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'` ;;
12982 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12983 if ${ac_cv_lib_soname_tiff:+false} :; then :
12984 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12988 rm -f core conftest.err conftest.
$ac_objext \
12989 conftest
$ac_exeext conftest.
$ac_ext
12990 LIBS
=$ac_check_soname_save_LIBS
12992 if ${ac_cv_lib_soname_tiff:+false} :; then :
12993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12994 $as_echo "not found" >&6; }
12997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
12998 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13000 cat >>confdefs.h
<<_ACEOF
13001 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13007 CPPFLAGS
=$ac_save_CPPFLAGS
13008 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13009 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13012 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13013 case "x$with_tiff" in
13014 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13016 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13017 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13021 if test "x$with_mpg123" != "xno"
13023 if ${MPG123_CFLAGS:+false} :; then :
13024 if ${PKG_CONFIG+:} false
; then :
13025 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13029 if ${MPG123_LIBS:+false} :; then :
13030 if ${PKG_CONFIG+:} false
; then :
13031 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13035 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13036 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13037 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13038 ac_save_CPPFLAGS
=$CPPFLAGS
13039 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13040 for ac_header
in mpg123.h
13042 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13043 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13044 cat >>confdefs.h
<<_ACEOF
13045 #define HAVE_MPG123_H 1
13052 if test "$ac_cv_header_mpg123_h" = "yes"
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13055 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13056 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13057 $as_echo_n "(cached) " >&6
13059 ac_check_lib_save_LIBS
=$LIBS
13060 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13062 /* end confdefs.h. */
13064 /* Override any GCC internal prototype to avoid an error.
13065 Use char because int might match the return type of a GCC
13066 builtin and then its argument prototype would still apply. */
13070 char mpg123_feed ();
13074 return mpg123_feed ();
13079 if ac_fn_c_try_link
"$LINENO"; then :
13080 ac_cv_lib_mpg123_mpg123_feed
=yes
13082 ac_cv_lib_mpg123_mpg123_feed
=no
13084 rm -f core conftest.err conftest.
$ac_objext \
13085 conftest
$ac_exeext conftest.
$ac_ext
13086 LIBS
=$ac_check_lib_save_LIBS
13088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13089 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13090 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13100 CPPFLAGS
=$ac_save_CPPFLAGS
13101 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13102 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13105 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13106 case "x$with_mpg123" in
13107 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13109 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13110 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13113 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}
13115 if test "$ac_cv_header_AL_al_h" = "yes"
13117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13118 $as_echo_n "checking for -lopenal... " >&6; }
13119 if ${ac_cv_lib_soname_openal+:} false
; then :
13120 $as_echo_n "(cached) " >&6
13122 ac_check_soname_save_LIBS
=$LIBS
13123 LIBS
="-lopenal $LIBS"
13124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13125 /* end confdefs.h. */
13127 /* Override any GCC internal prototype to avoid an error.
13128 Use char because int might match the return type of a GCC
13129 builtin and then its argument prototype would still apply. */
13133 char alGetSource3i ();
13137 return alGetSource3i ();
13142 if ac_fn_c_try_link
"$LINENO"; then :
13144 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13145 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'` ;;
13146 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13147 if ${ac_cv_lib_soname_openal:+false} :; then :
13148 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13152 rm -f core conftest.err conftest.
$ac_objext \
13153 conftest
$ac_exeext conftest.
$ac_ext
13154 LIBS
=$ac_check_soname_save_LIBS
13156 if ${ac_cv_lib_soname_openal:+false} :; then :
13157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13158 $as_echo "not found" >&6; }
13161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13162 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13164 cat >>confdefs.h
<<_ACEOF
13165 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13168 OPENAL_LIBS
="-lopenal"
13170 ac_cv_lib_openal
=yes
13172 cat >>confdefs.h
<<_ACEOF
13173 #define HAVE_OPENAL 1
13178 if test "x$ac_cv_lib_openal" != xyes
; then :
13179 case "x$with_openal" in
13180 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13182 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13183 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13186 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13188 if test "$ac_cv_header_kstat_h" = "yes"
13190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13191 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13192 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13193 $as_echo_n "(cached) " >&6
13195 ac_check_lib_save_LIBS
=$LIBS
13196 LIBS
="-lkstat $LIBS"
13197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13198 /* end confdefs.h. */
13200 /* Override any GCC internal prototype to avoid an error.
13201 Use char because int might match the return type of a GCC
13202 builtin and then its argument prototype would still apply. */
13206 char kstat_open ();
13210 return kstat_open ();
13215 if ac_fn_c_try_link
"$LINENO"; then :
13216 ac_cv_lib_kstat_kstat_open
=yes
13218 ac_cv_lib_kstat_kstat_open
=no
13220 rm -f core conftest.err conftest.
$ac_objext \
13221 conftest
$ac_exeext conftest.
$ac_ext
13222 LIBS
=$ac_check_lib_save_LIBS
13224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13225 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13226 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13228 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13230 KSTAT_LIBS
="-lkstat"
13236 if test "$ac_cv_header_libprocstat_h" = "yes"
13238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13239 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13240 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13241 $as_echo_n "(cached) " >&6
13243 ac_check_lib_save_LIBS
=$LIBS
13244 LIBS
="-lprocstat $LIBS"
13245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13246 /* end confdefs.h. */
13248 /* Override any GCC internal prototype to avoid an error.
13249 Use char because int might match the return type of a GCC
13250 builtin and then its argument prototype would still apply. */
13254 char procstat_open_sysctl ();
13258 return procstat_open_sysctl ();
13263 if ac_fn_c_try_link
"$LINENO"; then :
13264 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13266 ac_cv_lib_procstat_procstat_open_sysctl
=no
13268 rm -f core conftest.err conftest.
$ac_objext \
13269 conftest
$ac_exeext conftest.
$ac_ext
13270 LIBS
=$ac_check_lib_save_LIBS
13272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13273 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13274 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13276 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13278 PROCSTAT_LIBS
="-lprocstat"
13284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13285 $as_echo_n "checking for -lodbc... " >&6; }
13286 if ${ac_cv_lib_soname_odbc+:} false
; then :
13287 $as_echo_n "(cached) " >&6
13289 ac_check_soname_save_LIBS
=$LIBS
13290 LIBS
="-lodbc $LIBS"
13291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13292 /* end confdefs.h. */
13294 /* Override any GCC internal prototype to avoid an error.
13295 Use char because int might match the return type of a GCC
13296 builtin and then its argument prototype would still apply. */
13300 char SQLConnect ();
13304 return SQLConnect ();
13309 if ac_fn_c_try_link
"$LINENO"; then :
13311 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13312 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'` ;;
13313 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13314 if ${ac_cv_lib_soname_odbc:+false} :; then :
13315 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13319 rm -f core conftest.err conftest.
$ac_objext \
13320 conftest
$ac_exeext conftest.
$ac_ext
13321 LIBS
=$ac_check_soname_save_LIBS
13323 if ${ac_cv_lib_soname_odbc:+false} :; then :
13324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13325 $as_echo "not found" >&6; }
13326 cat >>confdefs.h
<<_ACEOF
13327 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13332 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13334 cat >>confdefs.h
<<_ACEOF
13335 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13341 if test "x$with_netapi" != "xno"
13343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13344 $as_echo_n "checking for -lnetapi... " >&6; }
13345 if ${ac_cv_lib_soname_netapi+:} false
; then :
13346 $as_echo_n "(cached) " >&6
13348 ac_check_soname_save_LIBS
=$LIBS
13349 LIBS
="-lnetapi $LIBS"
13350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13351 /* end confdefs.h. */
13353 /* Override any GCC internal prototype to avoid an error.
13354 Use char because int might match the return type of a GCC
13355 builtin and then its argument prototype would still apply. */
13359 char libnetapi_init ();
13363 return libnetapi_init ();
13368 if ac_fn_c_try_link
"$LINENO"; then :
13370 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13371 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'` ;;
13372 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13373 if ${ac_cv_lib_soname_netapi:+false} :; then :
13374 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13378 rm -f core conftest.err conftest.
$ac_objext \
13379 conftest
$ac_exeext conftest.
$ac_ext
13380 LIBS
=$ac_check_soname_save_LIBS
13382 if ${ac_cv_lib_soname_netapi:+false} :; then :
13383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13384 $as_echo "not found" >&6; }
13385 cat >>confdefs.h
<<_ACEOF
13386 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13391 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13393 cat >>confdefs.h
<<_ACEOF
13394 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13401 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13402 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13403 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13404 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13406 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13407 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13408 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13410 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13416 if test "x${GCC}" = "xyes"
13418 EXTRACFLAGS
="-Wall -pipe"
13420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13421 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13422 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13423 $as_echo_n "(cached) " >&6
13425 if test "$cross_compiling" = yes; then :
13426 ac_cv_c_gcc_strength_bug
="yes"
13428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13429 /* end confdefs.h. */
13430 int L[4] = {0,1,2,3};
13434 static int Array[3];
13435 unsigned int B = 3;
13437 for(i=0; i<B; i++) Array[i] = i - 3;
13438 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13440 return (Array[1] != -2 || L[2] != 3)
13445 if ac_fn_c_try_run
"$LINENO"; then :
13446 ac_cv_c_gcc_strength_bug
="no"
13448 ac_cv_c_gcc_strength_bug
="yes"
13450 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13451 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13456 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13457 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13459 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13463 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13464 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13465 $as_echo_n "(cached) " >&6
13467 ac_wine_try_cflags_saved
=$CFLAGS
13468 CFLAGS
="$CFLAGS -fno-builtin"
13469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13470 /* end confdefs.h. */
13471 int main(int argc, char **argv) { return 0; }
13473 if ac_fn_c_try_link
"$LINENO"; then :
13474 ac_cv_cflags__fno_builtin
=yes
13476 ac_cv_cflags__fno_builtin
=no
13478 rm -f core conftest.err conftest.
$ac_objext \
13479 conftest
$ac_exeext conftest.
$ac_ext
13480 CFLAGS
=$ac_wine_try_cflags_saved
13482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13483 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13484 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
13485 BUILTINFLAG
="-fno-builtin"
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13489 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13490 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13491 $as_echo_n "(cached) " >&6
13493 ac_wine_try_cflags_saved
=$CFLAGS
13494 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13496 /* end confdefs.h. */
13497 int main(int argc, char **argv) { return 0; }
13499 if ac_fn_c_try_link
"$LINENO"; then :
13500 ac_cv_cflags__fno_strict_aliasing
=yes
13502 ac_cv_cflags__fno_strict_aliasing
=no
13504 rm -f core conftest.err conftest.
$ac_objext \
13505 conftest
$ac_exeext conftest.
$ac_ext
13506 CFLAGS
=$ac_wine_try_cflags_saved
13508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13509 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13510 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
13511 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13513 saved_CFLAGS
=$CFLAGS
13514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13515 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13516 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13517 $as_echo_n "(cached) " >&6
13519 ac_wine_try_cflags_saved
=$CFLAGS
13520 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13522 /* end confdefs.h. */
13523 int main(int argc, char **argv) { return 0; }
13525 if ac_fn_c_try_link
"$LINENO"; then :
13526 ac_cv_cflags__Werror_unknown_warning_option
=yes
13528 ac_cv_cflags__Werror_unknown_warning_option
=no
13530 rm -f core conftest.err conftest.
$ac_objext \
13531 conftest
$ac_exeext conftest.
$ac_ext
13532 CFLAGS
=$ac_wine_try_cflags_saved
13534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13535 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13536 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
13537 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13540 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13541 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13542 $as_echo_n "(cached) " >&6
13544 ac_wine_try_cflags_saved
=$CFLAGS
13545 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13547 /* end confdefs.h. */
13548 int main(int argc, char **argv) { return 0; }
13550 if ac_fn_c_try_link
"$LINENO"; then :
13551 ac_cv_cflags__Wdeclaration_after_statement
=yes
13553 ac_cv_cflags__Wdeclaration_after_statement
=no
13555 rm -f core conftest.err conftest.
$ac_objext \
13556 conftest
$ac_exeext conftest.
$ac_ext
13557 CFLAGS
=$ac_wine_try_cflags_saved
13559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13560 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13561 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
13562 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13565 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13566 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13567 $as_echo_n "(cached) " >&6
13569 ac_wine_try_cflags_saved
=$CFLAGS
13570 CFLAGS
="$CFLAGS -Wempty-body"
13571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13572 /* end confdefs.h. */
13573 int main(int argc, char **argv) { return 0; }
13575 if ac_fn_c_try_link
"$LINENO"; then :
13576 ac_cv_cflags__Wempty_body
=yes
13578 ac_cv_cflags__Wempty_body
=no
13580 rm -f core conftest.err conftest.
$ac_objext \
13581 conftest
$ac_exeext conftest.
$ac_ext
13582 CFLAGS
=$ac_wine_try_cflags_saved
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13585 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13586 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
13587 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13590 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13591 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13592 $as_echo_n "(cached) " >&6
13594 ac_wine_try_cflags_saved
=$CFLAGS
13595 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13597 /* end confdefs.h. */
13598 int main(int argc, char **argv) { return 0; }
13600 if ac_fn_c_try_link
"$LINENO"; then :
13601 ac_cv_cflags__Wignored_qualifiers
=yes
13603 ac_cv_cflags__Wignored_qualifiers
=no
13605 rm -f core conftest.err conftest.
$ac_objext \
13606 conftest
$ac_exeext conftest.
$ac_ext
13607 CFLAGS
=$ac_wine_try_cflags_saved
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13610 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13611 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
13612 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13615 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13616 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13617 $as_echo_n "(cached) " >&6
13619 ac_wine_try_cflags_saved
=$CFLAGS
13620 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13622 /* end confdefs.h. */
13623 int main(int argc, char **argv) { return 0; }
13625 if ac_fn_c_try_link
"$LINENO"; then :
13626 ac_cv_cflags__Wstrict_prototypes
=yes
13628 ac_cv_cflags__Wstrict_prototypes
=no
13630 rm -f core conftest.err conftest.
$ac_objext \
13631 conftest
$ac_exeext conftest.
$ac_ext
13632 CFLAGS
=$ac_wine_try_cflags_saved
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13635 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13636 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
13637 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13640 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13641 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13642 $as_echo_n "(cached) " >&6
13644 ac_wine_try_cflags_saved
=$CFLAGS
13645 CFLAGS
="$CFLAGS -Wtype-limits"
13646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13647 /* end confdefs.h. */
13648 int main(int argc, char **argv) { return 0; }
13650 if ac_fn_c_try_link
"$LINENO"; then :
13651 ac_cv_cflags__Wtype_limits
=yes
13653 ac_cv_cflags__Wtype_limits
=no
13655 rm -f core conftest.err conftest.
$ac_objext \
13656 conftest
$ac_exeext conftest.
$ac_ext
13657 CFLAGS
=$ac_wine_try_cflags_saved
13659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13660 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13661 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
13662 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13665 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13666 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13667 $as_echo_n "(cached) " >&6
13669 ac_wine_try_cflags_saved
=$CFLAGS
13670 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13672 /* end confdefs.h. */
13673 int main(int argc, char **argv) { return 0; }
13675 if ac_fn_c_try_link
"$LINENO"; then :
13676 ac_cv_cflags__Wunused_but_set_parameter
=yes
13678 ac_cv_cflags__Wunused_but_set_parameter
=no
13680 rm -f core conftest.err conftest.
$ac_objext \
13681 conftest
$ac_exeext conftest.
$ac_ext
13682 CFLAGS
=$ac_wine_try_cflags_saved
13684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13685 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13686 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
13687 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13690 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13691 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
13692 $as_echo_n "(cached) " >&6
13694 ac_wine_try_cflags_saved
=$CFLAGS
13695 CFLAGS
="$CFLAGS -Wwrite-strings"
13696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13697 /* end confdefs.h. */
13698 int main(int argc, char **argv) { return 0; }
13700 if ac_fn_c_try_link
"$LINENO"; then :
13701 ac_cv_cflags__Wwrite_strings
=yes
13703 ac_cv_cflags__Wwrite_strings
=no
13705 rm -f core conftest.err conftest.
$ac_objext \
13706 conftest
$ac_exeext conftest.
$ac_ext
13707 CFLAGS
=$ac_wine_try_cflags_saved
13709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13710 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13711 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
13712 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
13715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13716 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13717 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
13718 $as_echo_n "(cached) " >&6
13720 ac_wine_try_cflags_saved
=$CFLAGS
13721 CFLAGS
="$CFLAGS -Wpointer-arith"
13722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13723 /* end confdefs.h. */
13724 int main(int argc, char **argv) { return 0; }
13726 if ac_fn_c_try_link
"$LINENO"; then :
13727 ac_cv_cflags__Wpointer_arith
=yes
13729 ac_cv_cflags__Wpointer_arith
=no
13731 rm -f core conftest.err conftest.
$ac_objext \
13732 conftest
$ac_exeext conftest.
$ac_ext
13733 CFLAGS
=$ac_wine_try_cflags_saved
13735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13736 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13737 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
13738 saved_string_h_CFLAGS
=$CFLAGS
13739 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
13740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13741 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13742 if ${ac_cv_c_string_h_warnings+:} false
; then :
13743 $as_echo_n "(cached) " >&6
13745 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13746 /* end confdefs.h. */
13747 #include <string.h>
13756 if ac_fn_c_try_compile
"$LINENO"; then :
13757 ac_cv_c_string_h_warnings
=no
13759 ac_cv_c_string_h_warnings
=yes
13761 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13764 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13765 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
13766 CFLAGS
=$saved_string_h_CFLAGS
13769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13770 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13771 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
13772 $as_echo_n "(cached) " >&6
13774 ac_wine_try_cflags_saved
=$CFLAGS
13775 CFLAGS
="$CFLAGS -Wlogical-op"
13776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13777 /* end confdefs.h. */
13778 int main(int argc, char **argv) { return 0; }
13780 if ac_fn_c_try_link
"$LINENO"; then :
13781 ac_cv_cflags__Wlogical_op
=yes
13783 ac_cv_cflags__Wlogical_op
=no
13785 rm -f core conftest.err conftest.
$ac_objext \
13786 conftest
$ac_exeext conftest.
$ac_ext
13787 CFLAGS
=$ac_wine_try_cflags_saved
13789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13790 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13791 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
13792 saved_string_h_CFLAGS
=$CFLAGS
13793 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
13794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13795 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13796 if ${ac_cv_c_logicalop_noisy+:} false
; then :
13797 $as_echo_n "(cached) " >&6
13799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13800 /* end confdefs.h. */
13801 #include <string.h>
13802 char*f(const char *h,char n) {return strchr(h,n);}
13811 if ac_fn_c_try_compile
"$LINENO"; then :
13812 ac_cv_c_logicalop_noisy
=no
13814 ac_cv_c_logicalop_noisy
=yes
13816 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13819 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13820 CFLAGS
=$saved_string_h_CFLAGS
13821 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
13824 CFLAGS
=$saved_CFLAGS
13826 for ac_flag
in $CFLAGS; do
13828 -g) case $host_os in
13829 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13830 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13831 if ${ac_cv_cflags__gstabsp+:} false
; then :
13832 $as_echo_n "(cached) " >&6
13834 ac_wine_try_cflags_saved
=$CFLAGS
13835 CFLAGS
="$CFLAGS -gstabs+"
13836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13837 /* end confdefs.h. */
13838 int main(int argc, char **argv) { return 0; }
13840 if ac_fn_c_try_link
"$LINENO"; then :
13841 ac_cv_cflags__gstabsp
=yes
13843 ac_cv_cflags__gstabsp
=no
13845 rm -f core conftest.err conftest.
$ac_objext \
13846 conftest
$ac_exeext conftest.
$ac_ext
13847 CFLAGS
=$ac_wine_try_cflags_saved
13849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13850 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
13851 if test "x$ac_cv_cflags__gstabsp" = xyes
; then :
13852 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
13854 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
13855 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
13856 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
13857 $as_echo_n "(cached) " >&6
13859 ac_wine_try_cflags_saved
=$CFLAGS
13860 CFLAGS
="$CFLAGS -gdwarf-2"
13861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13862 /* end confdefs.h. */
13863 int main(int argc, char **argv) { return 0; }
13865 if ac_fn_c_try_link
"$LINENO"; then :
13866 ac_cv_cflags__gdwarf_2
=yes
13868 ac_cv_cflags__gdwarf_2
=no
13870 rm -f core conftest.err conftest.
$ac_objext \
13871 conftest
$ac_exeext conftest.
$ac_ext
13872 CFLAGS
=$ac_wine_try_cflags_saved
13874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
13875 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
13876 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
13877 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
13880 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
13881 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
13882 $as_echo_n "(cached) " >&6
13884 ac_wine_try_cflags_saved
=$CFLAGS
13885 CFLAGS
="$CFLAGS -gstrict-dwarf"
13886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13887 /* end confdefs.h. */
13888 int main(int argc, char **argv) { return 0; }
13890 if ac_fn_c_try_link
"$LINENO"; then :
13891 ac_cv_cflags__gstrict_dwarf
=yes
13893 ac_cv_cflags__gstrict_dwarf
=no
13895 rm -f core conftest.err conftest.
$ac_objext \
13896 conftest
$ac_exeext conftest.
$ac_ext
13897 CFLAGS
=$ac_wine_try_cflags_saved
13899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
13900 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
13901 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
13902 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
13909 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
13910 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
13911 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
13912 $as_echo_n "(cached) " >&6
13914 ac_wine_try_cflags_saved
=$CFLAGS
13915 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
13916 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13917 /* end confdefs.h. */
13918 int main(int argc, char **argv) { return 0; }
13920 if ac_fn_c_try_link
"$LINENO"; then :
13921 ac_cv_cflags__fno_omit_frame_pointer
=yes
13923 ac_cv_cflags__fno_omit_frame_pointer
=no
13925 rm -f core conftest.err conftest.
$ac_objext \
13926 conftest
$ac_exeext conftest.
$ac_ext
13927 CFLAGS
=$ac_wine_try_cflags_saved
13929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
13930 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
13931 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
13932 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
13937 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
13938 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
13939 if ${ac_cv_cflags__Wno_format+:} false
; then :
13940 $as_echo_n "(cached) " >&6
13942 ac_wine_try_cflags_saved
=$CFLAGS
13943 CFLAGS
="$CFLAGS -Wno-format"
13944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13945 /* end confdefs.h. */
13946 int main(int argc, char **argv) { return 0; }
13948 if ac_fn_c_try_link
"$LINENO"; then :
13949 ac_cv_cflags__Wno_format
=yes
13951 ac_cv_cflags__Wno_format
=no
13953 rm -f core conftest.err conftest.
$ac_objext \
13954 conftest
$ac_exeext conftest.
$ac_ext
13955 CFLAGS
=$ac_wine_try_cflags_saved
13957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
13958 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
13959 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
13960 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
13964 if test "x$enable_maintainer_mode" = "xyes"
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
13967 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
13968 if ${ac_cv_cflags__Werror+:} false
; then :
13969 $as_echo_n "(cached) " >&6
13971 ac_wine_try_cflags_saved
=$CFLAGS
13972 CFLAGS
="$CFLAGS -Werror"
13973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13974 /* end confdefs.h. */
13975 int main(int argc, char **argv) { return 0; }
13977 if ac_fn_c_try_link
"$LINENO"; then :
13978 ac_cv_cflags__Werror
=yes
13980 ac_cv_cflags__Werror
=no
13982 rm -f core conftest.err conftest.
$ac_objext \
13983 conftest
$ac_exeext conftest.
$ac_ext
13984 CFLAGS
=$ac_wine_try_cflags_saved
13986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
13987 $as_echo "$ac_cv_cflags__Werror" >&6; }
13988 if test "x$ac_cv_cflags__Werror" = xyes
; then :
13989 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
13993 saved_CFLAGS
="$CFLAGS"
13994 CFLAGS
="$CFLAGS -Werror"
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
13996 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
13997 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
13998 $as_echo_n "(cached) " >&6
14000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14001 /* end confdefs.h. */
14002 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14011 if ac_fn_c_try_compile
"$LINENO"; then :
14012 ac_cv_have_ms_hook_prologue
="yes"
14014 ac_cv_have_ms_hook_prologue
="no"
14016 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14019 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14020 CFLAGS
="$saved_CFLAGS"
14021 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14024 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14027 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14034 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14035 if ${ac_cv_c_fortify_enabled+:} false
; then :
14036 $as_echo_n "(cached) " >&6
14038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14039 /* end confdefs.h. */
14040 #include <string.h>
14044 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14045 #error Fortify enabled
14051 if ac_fn_c_try_compile
"$LINENO"; then :
14052 ac_cv_c_fortify_enabled
=no
14054 ac_cv_c_fortify_enabled
=yes
14056 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14059 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14060 if test "$ac_cv_c_fortify_enabled" = yes
14062 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14067 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14068 if ${ac_cv_c_extern_prefix+:} false
; then :
14069 $as_echo_n "(cached) " >&6
14071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14072 /* end confdefs.h. */
14073 extern int ac_test;
14077 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14082 if ac_fn_c_try_link
"$LINENO"; then :
14083 ac_cv_c_extern_prefix
="yes"
14085 ac_cv_c_extern_prefix
="no"
14087 rm -f core conftest.err conftest.
$ac_objext \
14088 conftest
$ac_exeext conftest.
$ac_ext
14090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14091 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14096 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14097 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14098 $as_echo_n "(cached) " >&6
14100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14101 /* end confdefs.h. */
14103 #define __stdcall __attribute__((__stdcall__))
14105 int __stdcall ac_test(int i) { return i; }
14109 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14114 if ac_fn_c_try_link
"$LINENO"; then :
14115 ac_cv_c_stdcall_suffix
="yes"
14117 ac_cv_c_stdcall_suffix
="no"
14119 rm -f core conftest.err conftest.
$ac_objext \
14120 conftest
$ac_exeext conftest.
$ac_ext
14122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14123 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14124 *) ac_cv_c_stdcall_suffix
="no" ;;
14128 if test "$ac_cv_c_extern_prefix" = "yes"
14130 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14132 asm_name_prefix
="_"
14134 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14140 if test "$ac_cv_c_stdcall_suffix" = "yes"
14142 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14145 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14151 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14152 if ${ac_cv_asm_func_def+:} false
; then :
14153 $as_echo_n "(cached) " >&6
14155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14156 /* end confdefs.h. */
14161 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14166 if ac_fn_c_try_link
"$LINENO"; then :
14167 ac_cv_asm_func_def
=".def"
14169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14170 /* end confdefs.h. */
14175 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14180 if ac_fn_c_try_link
"$LINENO"; then :
14181 ac_cv_asm_func_def
=".type @function"
14183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14184 /* end confdefs.h. */
14189 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14194 if ac_fn_c_try_link
"$LINENO"; then :
14195 ac_cv_asm_func_def
=".type 2"
14197 ac_cv_asm_func_def
="unknown"
14199 rm -f core conftest.err conftest.
$ac_objext \
14200 conftest
$ac_exeext conftest.
$ac_ext
14202 rm -f core conftest.err conftest.
$ac_objext \
14203 conftest
$ac_exeext conftest.
$ac_ext
14205 rm -f core conftest.err conftest.
$ac_objext \
14206 conftest
$ac_exeext conftest.
$ac_ext
14208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14209 $as_echo "$ac_cv_asm_func_def" >&6; }
14212 case "$ac_cv_asm_func_def" in
14214 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14216 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14218 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14220 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14222 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14224 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14226 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14228 asm_func_header
="" ;;
14231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14232 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14233 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14234 $as_echo_n "(cached) " >&6
14236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14237 /* end confdefs.h. */
14238 asm(".text\n\t.long 0");
14247 if ac_fn_c_try_compile
"$LINENO"; then :
14248 ac_cv_c_asm_outside_funcs
="yes"
14250 ac_cv_c_asm_outside_funcs
="no"
14252 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14255 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14258 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14259 if ${ac_cv_c_dot_previous+:} false
; then :
14260 $as_echo_n "(cached) " >&6
14262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14263 /* end confdefs.h. */
14268 asm(".text\nac_test:\t.long 0\n\t.previous");
14273 if ac_fn_c_try_link
"$LINENO"; then :
14274 ac_cv_c_dot_previous
="yes"
14276 ac_cv_c_dot_previous
="no"
14278 rm -f core conftest.err conftest.
$ac_objext \
14279 conftest
$ac_exeext conftest.
$ac_ext
14281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14282 $as_echo "$ac_cv_c_dot_previous" >&6; }
14284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14285 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14286 if ${ac_cv_c_cfi_support+:} false
; then :
14287 $as_echo_n "(cached) " >&6
14289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14290 /* end confdefs.h. */
14291 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14300 if ac_fn_c_try_compile
"$LINENO"; then :
14301 ac_cv_c_cfi_support
="yes"
14303 ac_cv_c_cfi_support
="no"
14305 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14308 $as_echo "$ac_cv_c_cfi_support" >&6; }
14310 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14311 asm_func_trailer
=""
14312 if test "$ac_cv_c_dot_previous" = "yes"
14314 asm_func_trailer
="\\n\\t.previous"
14316 if test "$ac_cv_c_cfi_support" = "yes"
14318 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14319 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14321 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14323 UNWINDFLAGS
=-fasynchronous-unwind-tables
14326 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14330 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14333 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14335 cat >>confdefs.h
<<_ACEOF
14336 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14340 cat >>confdefs.h
<<_ACEOF
14341 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14346 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14349 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14354 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14361 *i
[3456789]86*|x86_64
*)
14362 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14363 loader_programs
="$loader_programs $wine_binary-preloader"
14364 as_fn_append LOADER_RULES
"
14365 $wine_binary-preloader: preloader.o
14366 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14368 install install-lib:: $wine_binary-preloader
14369 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14372 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14374 preloader_EXTRADEFS = $BUILTINFLAG
14379 as_fn_append LOADER_RULES
"
14380 PROGRAMS = $loader_programs
14384 ac_save_CFLAGS
="$CFLAGS"
14385 CFLAGS
="$CFLAGS $BUILTINFLAG"
14462 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14463 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14464 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14465 cat >>confdefs.h
<<_ACEOF
14466 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14472 CFLAGS
="$ac_save_CFLAGS"
14474 if test "$ac_cv_func_dlopen" = no
14476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14477 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14478 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14479 $as_echo_n "(cached) " >&6
14481 ac_check_lib_save_LIBS
=$LIBS
14483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14484 /* end confdefs.h. */
14486 /* Override any GCC internal prototype to avoid an error.
14487 Use char because int might match the return type of a GCC
14488 builtin and then its argument prototype would still apply. */
14501 if ac_fn_c_try_link
"$LINENO"; then :
14502 ac_cv_lib_dl_dlopen
=yes
14504 ac_cv_lib_dl_dlopen
=no
14506 rm -f core conftest.err conftest.
$ac_objext \
14507 conftest
$ac_exeext conftest.
$ac_ext
14508 LIBS
=$ac_check_lib_save_LIBS
14510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14511 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14512 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14513 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14519 ac_wine_check_funcs_save_LIBS
="$LIBS"
14520 LIBS
="$LIBS $DL_LIBS"
14521 for ac_func
in dladdr
14523 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14524 if test "x$ac_cv_func_dladdr" = xyes
; then :
14525 cat >>confdefs.h
<<_ACEOF
14526 #define HAVE_DLADDR 1
14532 LIBS
="$ac_wine_check_funcs_save_LIBS"
14534 if test "$ac_cv_func_poll" = no
14536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14537 $as_echo_n "checking for poll in -lpoll... " >&6; }
14538 if ${ac_cv_lib_poll_poll+:} false
; then :
14539 $as_echo_n "(cached) " >&6
14541 ac_check_lib_save_LIBS
=$LIBS
14542 LIBS
="-lpoll $LIBS"
14543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14544 /* end confdefs.h. */
14546 /* Override any GCC internal prototype to avoid an error.
14547 Use char because int might match the return type of a GCC
14548 builtin and then its argument prototype would still apply. */
14561 if ac_fn_c_try_link
"$LINENO"; then :
14562 ac_cv_lib_poll_poll
=yes
14564 ac_cv_lib_poll_poll
=no
14566 rm -f core conftest.err conftest.
$ac_objext \
14567 conftest
$ac_exeext conftest.
$ac_ext
14568 LIBS
=$ac_check_lib_save_LIBS
14570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14571 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14572 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14573 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14581 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14582 if ${ac_cv_search_gethostbyname+:} false
; then :
14583 $as_echo_n "(cached) " >&6
14585 ac_func_search_save_LIBS
=$LIBS
14586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14587 /* end confdefs.h. */
14589 /* Override any GCC internal prototype to avoid an error.
14590 Use char because int might match the return type of a GCC
14591 builtin and then its argument prototype would still apply. */
14595 char gethostbyname ();
14599 return gethostbyname ();
14604 for ac_lib
in '' nsl
; do
14605 if test -z "$ac_lib"; then
14606 ac_res
="none required"
14609 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14611 if ac_fn_c_try_link
"$LINENO"; then :
14612 ac_cv_search_gethostbyname
=$ac_res
14614 rm -f core conftest.err conftest.
$ac_objext \
14616 if ${ac_cv_search_gethostbyname+:} false
; then :
14620 if ${ac_cv_search_gethostbyname+:} false
; then :
14623 ac_cv_search_gethostbyname
=no
14625 rm conftest.
$ac_ext
14626 LIBS
=$ac_func_search_save_LIBS
14628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14629 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14630 ac_res
=$ac_cv_search_gethostbyname
14631 if test "$ac_res" != no
; then :
14632 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14638 $as_echo_n "checking for library containing connect... " >&6; }
14639 if ${ac_cv_search_connect+:} false
; then :
14640 $as_echo_n "(cached) " >&6
14642 ac_func_search_save_LIBS
=$LIBS
14643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14644 /* end confdefs.h. */
14646 /* Override any GCC internal prototype to avoid an error.
14647 Use char because int might match the return type of a GCC
14648 builtin and then its argument prototype would still apply. */
14661 for ac_lib
in '' socket
; do
14662 if test -z "$ac_lib"; then
14663 ac_res
="none required"
14666 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14668 if ac_fn_c_try_link
"$LINENO"; then :
14669 ac_cv_search_connect
=$ac_res
14671 rm -f core conftest.err conftest.
$ac_objext \
14673 if ${ac_cv_search_connect+:} false
; then :
14677 if ${ac_cv_search_connect+:} false
; then :
14680 ac_cv_search_connect
=no
14682 rm conftest.
$ac_ext
14683 LIBS
=$ac_func_search_save_LIBS
14685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14686 $as_echo "$ac_cv_search_connect" >&6; }
14687 ac_res
=$ac_cv_search_connect
14688 if test "$ac_res" != no
; then :
14689 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14695 $as_echo_n "checking for library containing inet_aton... " >&6; }
14696 if ${ac_cv_search_inet_aton+:} false
; then :
14697 $as_echo_n "(cached) " >&6
14699 ac_func_search_save_LIBS
=$LIBS
14700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14701 /* end confdefs.h. */
14703 /* Override any GCC internal prototype to avoid an error.
14704 Use char because int might match the return type of a GCC
14705 builtin and then its argument prototype would still apply. */
14713 return inet_aton ();
14718 for ac_lib
in '' resolv
; do
14719 if test -z "$ac_lib"; then
14720 ac_res
="none required"
14723 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14725 if ac_fn_c_try_link
"$LINENO"; then :
14726 ac_cv_search_inet_aton
=$ac_res
14728 rm -f core conftest.err conftest.
$ac_objext \
14730 if ${ac_cv_search_inet_aton+:} false
; then :
14734 if ${ac_cv_search_inet_aton+:} false
; then :
14737 ac_cv_search_inet_aton
=no
14739 rm conftest.
$ac_ext
14740 LIBS
=$ac_func_search_save_LIBS
14742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14743 $as_echo "$ac_cv_search_inet_aton" >&6; }
14744 ac_res
=$ac_cv_search_inet_aton
14745 if test "$ac_res" != no
; then :
14746 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14766 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14767 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14768 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14769 cat >>confdefs.h
<<_ACEOF
14770 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14779 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14780 if ${ac_cv_search_clock_gettime+:} false
; then :
14781 $as_echo_n "(cached) " >&6
14783 ac_func_search_save_LIBS
=$LIBS
14784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14785 /* end confdefs.h. */
14787 /* Override any GCC internal prototype to avoid an error.
14788 Use char because int might match the return type of a GCC
14789 builtin and then its argument prototype would still apply. */
14793 char clock_gettime ();
14797 return clock_gettime ();
14802 for ac_lib
in '' rt
; do
14803 if test -z "$ac_lib"; then
14804 ac_res
="none required"
14807 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14809 if ac_fn_c_try_link
"$LINENO"; then :
14810 ac_cv_search_clock_gettime
=$ac_res
14812 rm -f core conftest.err conftest.
$ac_objext \
14814 if ${ac_cv_search_clock_gettime+:} false
; then :
14818 if ${ac_cv_search_clock_gettime+:} false
; then :
14821 ac_cv_search_clock_gettime
=no
14823 rm conftest.
$ac_ext
14824 LIBS
=$ac_func_search_save_LIBS
14826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14827 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14828 ac_res
=$ac_cv_search_clock_gettime
14829 if test "$ac_res" != no
; then :
14830 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14832 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14834 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
14842 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14844 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14846 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
14847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14848 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14849 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
14850 $as_echo_n "(cached) " >&6
14852 ac_check_lib_save_LIBS
=$LIBS
14853 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
14854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14855 /* end confdefs.h. */
14857 /* Override any GCC internal prototype to avoid an error.
14858 Use char because int might match the return type of a GCC
14859 builtin and then its argument prototype would still apply. */
14863 char ldap_initialize ();
14867 return ldap_initialize ();
14872 if ac_fn_c_try_link
"$LINENO"; then :
14873 ac_cv_lib_ldap_r_ldap_initialize
=yes
14875 ac_cv_lib_ldap_r_ldap_initialize
=no
14877 rm -f core conftest.err conftest.
$ac_objext \
14878 conftest
$ac_exeext conftest.
$ac_ext
14879 LIBS
=$ac_check_lib_save_LIBS
14881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
14882 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
14883 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
14884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
14885 $as_echo_n "checking for ber_init in -llber... " >&6; }
14886 if ${ac_cv_lib_lber_ber_init+:} false
; then :
14887 $as_echo_n "(cached) " >&6
14889 ac_check_lib_save_LIBS
=$LIBS
14890 LIBS
="-llber $PTHREAD_LIBS $LIBS"
14891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14892 /* end confdefs.h. */
14894 /* Override any GCC internal prototype to avoid an error.
14895 Use char because int might match the return type of a GCC
14896 builtin and then its argument prototype would still apply. */
14904 return ber_init ();
14909 if ac_fn_c_try_link
"$LINENO"; then :
14910 ac_cv_lib_lber_ber_init
=yes
14912 ac_cv_lib_lber_ber_init
=no
14914 rm -f core conftest.err conftest.
$ac_objext \
14915 conftest
$ac_exeext conftest.
$ac_ext
14916 LIBS
=$ac_check_lib_save_LIBS
14918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
14919 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
14920 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
14922 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
14924 LDAP_LIBS
="-lldap_r -llber"
14931 ac_wine_check_funcs_save_LIBS
="$LIBS"
14932 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
14934 ldap_count_references \
14935 ldap_first_reference \
14936 ldap_next_reference \
14937 ldap_parse_reference \
14938 ldap_parse_sort_control \
14939 ldap_parse_sortresponse_control \
14940 ldap_parse_vlv_control \
14941 ldap_parse_vlvresponse_control
14943 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14944 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14945 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14946 cat >>confdefs.h
<<_ACEOF
14947 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14953 LIBS
="$ac_wine_check_funcs_save_LIBS"
14955 if test "x$LDAP_LIBS" = "x"; then :
14956 case "x$with_ldap" in
14957 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
14959 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
14960 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
14964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
14965 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
14966 if ${wine_cv_one_arg_mkdir+:} false
; then :
14967 $as_echo_n "(cached) " >&6
14969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14970 /* end confdefs.h. */
14971 #include <sys/stat.h>
14980 if ac_fn_c_try_compile
"$LINENO"; then :
14981 wine_cv_one_arg_mkdir
=yes
14983 wine_cv_one_arg_mkdir
=no
14985 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
14988 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
14989 if test "$wine_cv_one_arg_mkdir" = "yes"
14992 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
14996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
14997 $as_echo_n "checking for sched_setaffinity... " >&6; }
14998 if ${wine_cv_have_sched_setaffinity+:} false
; then :
14999 $as_echo_n "(cached) " >&6
15001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15002 /* end confdefs.h. */
15003 #define _GNU_SOURCE
15008 sched_setaffinity(0, 0, 0);
15013 if ac_fn_c_try_link
"$LINENO"; then :
15014 wine_cv_have_sched_setaffinity
=yes
15016 wine_cv_have_sched_setaffinity
=no
15018 rm -f core conftest.err conftest.
$ac_objext \
15019 conftest
$ac_exeext conftest.
$ac_ext
15021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15022 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15023 if test "$wine_cv_have_sched_setaffinity" = "yes"
15026 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15031 $as_echo_n "checking for fallocate... " >&6; }
15032 if ${wine_cv_have_fallocate+:} false
; then :
15033 $as_echo_n "(cached) " >&6
15035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15036 /* end confdefs.h. */
15037 #define _GNU_SOURCE
15042 fallocate(-1, 0, 0, 0);
15047 if ac_fn_c_try_link
"$LINENO"; then :
15048 wine_cv_have_fallocate
=yes
15050 wine_cv_have_fallocate
=no
15052 rm -f core conftest.err conftest.
$ac_objext \
15053 conftest
$ac_exeext conftest.
$ac_ext
15055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15056 $as_echo "$wine_cv_have_fallocate" >&6; }
15057 if test "$wine_cv_have_fallocate" = "yes"
15060 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15066 $as_echo_n "checking for inline... " >&6; }
15067 if ${ac_cv_c_inline+:} false
; then :
15068 $as_echo_n "(cached) " >&6
15071 for ac_kw
in inline __inline__ __inline
; do
15072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15073 /* end confdefs.h. */
15074 #ifndef __cplusplus
15076 static $ac_kw foo_t static_foo () {return 0; }
15077 $ac_kw foo_t foo () {return 0; }
15081 if ac_fn_c_try_compile
"$LINENO"; then :
15082 ac_cv_c_inline
=$ac_kw
15084 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15085 test "$ac_cv_c_inline" != no
&& break
15089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15090 $as_echo "$ac_cv_c_inline" >&6; }
15092 case $ac_cv_c_inline in
15095 case $ac_cv_c_inline in
15097 *) ac_val
=$ac_cv_c_inline;;
15099 cat >>confdefs.h
<<_ACEOF
15100 #ifndef __cplusplus
15101 #define inline $ac_val
15107 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15108 if test "x$ac_cv_type_mode_t" = xyes
; then :
15110 cat >>confdefs.h
<<_ACEOF
15111 #define HAVE_MODE_T 1
15116 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15117 if test "x$ac_cv_type_off_t" = xyes
; then :
15119 cat >>confdefs.h
<<_ACEOF
15120 #define HAVE_OFF_T 1
15125 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15126 if test "x$ac_cv_type_pid_t" = xyes
; then :
15128 cat >>confdefs.h
<<_ACEOF
15129 #define HAVE_PID_T 1
15134 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15135 if test "x$ac_cv_type_size_t" = xyes
; then :
15137 cat >>confdefs.h
<<_ACEOF
15138 #define HAVE_SIZE_T 1
15143 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15144 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15146 cat >>confdefs.h
<<_ACEOF
15147 #define HAVE_SSIZE_T 1
15152 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15153 if test "x$ac_cv_type_long_long" = xyes
; then :
15155 cat >>confdefs.h
<<_ACEOF
15156 #define HAVE_LONG_LONG 1
15161 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15162 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15164 cat >>confdefs.h
<<_ACEOF
15165 #define HAVE_FSBLKCNT_T 1
15170 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15171 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15173 cat >>confdefs.h
<<_ACEOF
15174 #define HAVE_FSFILCNT_T 1
15180 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15181 #include <signal.h>
15183 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15185 cat >>confdefs.h
<<_ACEOF
15186 #define HAVE_SIGSET_T 1
15192 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15194 if test "x$ac_cv_type_request_sense" = xyes
; then :
15196 cat >>confdefs.h
<<_ACEOF
15197 #define HAVE_REQUEST_SENSE 1
15204 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15205 #ifdef HAVE_SYS_SOCKET_H
15206 #include <sys/socket.h>
15208 #ifdef HAVE_SYS_SOCKETVAR_H
15209 #include <sys/socketvar.h>
15211 #ifdef HAVE_NET_ROUTE_H
15212 #include <net/route.h>
15214 #ifdef HAVE_NETINET_IN_H
15215 #include <netinet/in.h>
15217 #ifdef HAVE_NETINET_IN_SYSTM_H
15218 #include <netinet/in_systm.h>
15220 #ifdef HAVE_NETINET_IP_H
15221 #include <netinet/ip.h>
15223 #ifdef HAVE_NETINET_IN_PCB_H
15224 #include <netinet/in_pcb.h>
15227 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15229 cat >>confdefs.h
<<_ACEOF
15230 #define HAVE_STRUCT_XINPGEN 1
15237 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15240 #ifdef HAVE_SYS_LINK_H
15241 #include <sys/link.h>
15244 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15246 cat >>confdefs.h
<<_ACEOF
15247 #define HAVE_STRUCT_R_DEBUG 1
15252 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15255 #ifdef HAVE_SYS_LINK_H
15256 #include <sys/link.h>
15259 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15261 cat >>confdefs.h
<<_ACEOF
15262 #define HAVE_STRUCT_LINK_MAP 1
15269 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15270 #include <linux/input.h>
15273 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15275 cat >>confdefs.h
<<_ACEOF
15276 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15284 $as_echo_n "checking for sigaddset... " >&6; }
15285 if ${wine_cv_have_sigaddset+:} false
; then :
15286 $as_echo_n "(cached) " >&6
15288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15289 /* end confdefs.h. */
15290 #include <signal.h>
15294 sigset_t set; sigaddset(&set,SIGTERM);
15299 if ac_fn_c_try_link
"$LINENO"; then :
15300 wine_cv_have_sigaddset
=yes
15302 wine_cv_have_sigaddset
=no
15304 rm -f core conftest.err conftest.
$ac_objext \
15305 conftest
$ac_exeext conftest.
$ac_ext
15307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15308 $as_echo "$wine_cv_have_sigaddset" >&6; }
15309 if test "$wine_cv_have_sigaddset" = "yes"
15312 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15318 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15319 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15320 $as_echo_n "(cached) " >&6
15322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15323 /* end confdefs.h. */
15331 struct hostent *result;
15338 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15339 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15345 if ac_fn_c_try_link
"$LINENO"; then :
15346 wine_cv_linux_gethostbyname_r_6
=yes
15348 wine_cv_linux_gethostbyname_r_6
=no
15351 rm -f core conftest.err conftest.
$ac_objext \
15352 conftest
$ac_exeext conftest.
$ac_ext
15355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15356 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15357 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15360 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15364 if test "$ac_cv_header_linux_joystick_h" = "yes"
15366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15367 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15368 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15369 $as_echo_n "(cached) " >&6
15371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15372 /* end confdefs.h. */
15374 #include <sys/ioctl.h>
15375 #include <sys/types.h>
15376 #include <linux/joystick.h>
15378 struct js_event blub;
15379 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15380 #error "no 2.2 header"
15391 if ac_fn_c_try_compile
"$LINENO"; then :
15392 wine_cv_linux_joystick_22_api
=yes
15394 wine_cv_linux_joystick_22_api
=no
15396 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15400 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15401 if test "$wine_cv_linux_joystick_22_api" = "yes"
15404 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15410 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15411 #ifdef HAVE_SYS_PARAM_H
15412 # include <sys/param.h>
15414 #ifdef HAVE_SYS_MOUNT_H
15415 # include <sys/mount.h>
15417 #ifdef HAVE_SYS_VFS_H
15418 # include <sys/vfs.h>
15420 #ifdef HAVE_SYS_STATFS_H
15421 # include <sys/statfs.h>
15424 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15426 cat >>confdefs.h
<<_ACEOF
15427 #define HAVE_STRUCT_STATFS_F_BFREE 1
15432 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15433 #ifdef HAVE_SYS_PARAM_H
15434 # include <sys/param.h>
15436 #ifdef HAVE_SYS_MOUNT_H
15437 # include <sys/mount.h>
15439 #ifdef HAVE_SYS_VFS_H
15440 # include <sys/vfs.h>
15442 #ifdef HAVE_SYS_STATFS_H
15443 # include <sys/statfs.h>
15446 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15448 cat >>confdefs.h
<<_ACEOF
15449 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15454 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15455 #ifdef HAVE_SYS_PARAM_H
15456 # include <sys/param.h>
15458 #ifdef HAVE_SYS_MOUNT_H
15459 # include <sys/mount.h>
15461 #ifdef HAVE_SYS_VFS_H
15462 # include <sys/vfs.h>
15464 #ifdef HAVE_SYS_STATFS_H
15465 # include <sys/statfs.h>
15468 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15470 cat >>confdefs.h
<<_ACEOF
15471 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15476 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15477 #ifdef HAVE_SYS_PARAM_H
15478 # include <sys/param.h>
15480 #ifdef HAVE_SYS_MOUNT_H
15481 # include <sys/mount.h>
15483 #ifdef HAVE_SYS_VFS_H
15484 # include <sys/vfs.h>
15486 #ifdef HAVE_SYS_STATFS_H
15487 # include <sys/statfs.h>
15490 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15492 cat >>confdefs.h
<<_ACEOF
15493 #define HAVE_STRUCT_STATFS_F_FFREE 1
15498 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15499 #ifdef HAVE_SYS_PARAM_H
15500 # include <sys/param.h>
15502 #ifdef HAVE_SYS_MOUNT_H
15503 # include <sys/mount.h>
15505 #ifdef HAVE_SYS_VFS_H
15506 # include <sys/vfs.h>
15508 #ifdef HAVE_SYS_STATFS_H
15509 # include <sys/statfs.h>
15512 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15514 cat >>confdefs.h
<<_ACEOF
15515 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15520 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15521 #ifdef HAVE_SYS_PARAM_H
15522 # include <sys/param.h>
15524 #ifdef HAVE_SYS_MOUNT_H
15525 # include <sys/mount.h>
15527 #ifdef HAVE_SYS_VFS_H
15528 # include <sys/vfs.h>
15530 #ifdef HAVE_SYS_STATFS_H
15531 # include <sys/statfs.h>
15534 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15536 cat >>confdefs.h
<<_ACEOF
15537 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15544 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15545 #include <sys/statvfs.h>
15548 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15550 cat >>confdefs.h
<<_ACEOF
15551 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15558 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15559 #include <dirent.h>
15562 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15564 cat >>confdefs.h
<<_ACEOF
15565 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15572 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15573 #ifdef HAVE_SYS_SOCKET_H
15574 # include <sys/socket.h>
15576 #ifdef HAVE_SYS_UN_H
15577 # include <sys/un.h>
15580 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15582 cat >>confdefs.h
<<_ACEOF
15583 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15588 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15589 #ifdef HAVE_SYS_SOCKET_H
15590 # include <sys/socket.h>
15592 #ifdef HAVE_SYS_UN_H
15593 # include <sys/un.h>
15596 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15598 cat >>confdefs.h
<<_ACEOF
15599 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15604 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15605 #ifdef HAVE_SYS_SOCKET_H
15606 # include <sys/socket.h>
15608 #ifdef HAVE_SYS_UN_H
15609 # include <sys/un.h>
15612 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15614 cat >>confdefs.h
<<_ACEOF
15615 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15622 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15623 #ifdef HAVE_SCSI_SG_H
15624 #include <scsi/sg.h>
15627 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15629 cat >>confdefs.h
<<_ACEOF
15630 #define HAVE_SCSIREQ_T_CMD 1
15635 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>
15636 #ifdef HAVE_SCSI_SG_H
15637 #include <scsi/sg.h>
15640 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15642 cat >>confdefs.h
<<_ACEOF
15643 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15650 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15652 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15654 cat >>confdefs.h
<<_ACEOF
15655 #define HAVE_SIGINFO_T_SI_FD 1
15662 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15663 #ifdef HAVE_SYS_MTIO_H
15664 #include <sys/mtio.h>
15667 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15669 cat >>confdefs.h
<<_ACEOF
15670 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15675 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15676 #ifdef HAVE_SYS_MTIO_H
15677 #include <sys/mtio.h>
15680 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
15682 cat >>confdefs.h
<<_ACEOF
15683 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15688 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15689 #ifdef HAVE_SYS_MTIO_H
15690 #include <sys/mtio.h>
15693 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
15695 cat >>confdefs.h
<<_ACEOF
15696 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15703 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15704 #include <getopt.h>
15707 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
15709 cat >>confdefs.h
<<_ACEOF
15710 #define HAVE_STRUCT_OPTION_NAME 1
15717 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15718 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
15720 cat >>confdefs.h
<<_ACEOF
15721 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15726 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15727 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
15729 cat >>confdefs.h
<<_ACEOF
15730 #define HAVE_STRUCT_STAT_ST_MTIM 1
15735 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15736 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
15738 cat >>confdefs.h
<<_ACEOF
15739 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15744 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15745 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
15747 cat >>confdefs.h
<<_ACEOF
15748 #define HAVE_STRUCT_STAT_ST_CTIM 1
15753 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15754 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
15756 cat >>confdefs.h
<<_ACEOF
15757 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15762 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15763 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
15765 cat >>confdefs.h
<<_ACEOF
15766 #define HAVE_STRUCT_STAT_ST_ATIM 1
15771 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15772 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
15774 cat >>confdefs.h
<<_ACEOF
15775 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15780 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15781 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
15783 cat >>confdefs.h
<<_ACEOF
15784 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15789 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15790 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
15792 cat >>confdefs.h
<<_ACEOF
15793 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15798 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15799 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
15801 cat >>confdefs.h
<<_ACEOF
15802 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15807 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15808 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
15810 cat >>confdefs.h
<<_ACEOF
15811 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15816 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15817 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
15819 cat >>confdefs.h
<<_ACEOF
15820 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15827 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
15828 #include <sys/types.h>
15830 #ifdef HAVE_NETINET_IN_H
15831 #include <netinet/in.h>
15834 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
15836 cat >>confdefs.h
<<_ACEOF
15837 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15844 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15845 #include <resolv.h>
15848 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
15850 cat >>confdefs.h
<<_ACEOF
15851 #define HAVE_STRUCT___RES_STATE 1
15858 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
15859 #include <resolv.h>
15862 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
15864 cat >>confdefs.h
<<_ACEOF
15865 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
15872 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
15873 #include <sys/types.h>
15875 #ifdef HAVE_NETINET_IN_H
15876 # include <netinet/in.h>
15878 #ifdef HAVE_ARPA_NAMESER_H
15879 # include <arpa/nameser.h>
15882 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
15884 cat >>confdefs.h
<<_ACEOF
15885 #define HAVE_NS_MSG__MSG_PTR 1
15892 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
15893 #include <sys/types.h>
15895 #ifdef HAVE_NETINET_IP_H
15896 #include <netinet/ip.h>
15898 #ifdef HAVE_NETINET_IP_ICMP_H
15899 #include <netinet/ip_icmp.h>
15901 #ifdef HAVE_NETINET_ICMP_VAR_H
15902 #include <netinet/icmp_var.h>
15905 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
15907 cat >>confdefs.h
<<_ACEOF
15908 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
15915 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
15916 #include <sys/types.h>
15918 #ifdef HAVE_ALIAS_H
15921 #ifdef HAVE_SYS_SOCKET_H
15922 #include <sys/socket.h>
15924 #ifdef HAVE_SYS_SOCKETVAR_H
15925 #include <sys/socketvar.h>
15927 #ifdef HAVE_SYS_TIMEOUT_H
15928 #include <sys/timeout.h>
15930 #ifdef HAVE_NETINET_IN_H
15931 #include <netinet/in.h>
15933 #ifdef HAVE_NETINET_IN_SYSTM_H
15934 #include <netinet/in_systm.h>
15936 #ifdef HAVE_NETINET_IP_H
15937 #include <netinet/ip.h>
15939 #ifdef HAVE_NETINET_IP_VAR_H
15940 #include <netinet/ip_var.h>
15942 #ifdef HAVE_NETINET_IP_ICMP_H
15943 #include <netinet/ip_icmp.h>
15945 #ifdef HAVE_NETINET_ICMP_VAR_H
15946 #include <netinet/icmp_var.h>
15949 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
15951 cat >>confdefs.h
<<_ACEOF
15952 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
15959 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
15960 #include <sys/types.h>
15962 #ifdef HAVE_SYS_SOCKETVAR_H
15963 #include <sys/socketvar.h>
15965 #ifdef HAVE_NETINET_IN_H
15966 #include <netinet/in.h>
15968 #ifdef HAVE_NETINET_IP_VAR_H
15969 #include <netinet/ip_var.h>
15972 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
15974 cat >>confdefs.h
<<_ACEOF
15975 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
15982 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
15983 #include <netinet/ip_var.h>
15986 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
15988 cat >>confdefs.h
<<_ACEOF
15989 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
15996 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
15997 #include <sys/types.h>
15999 #ifdef HAVE_SYS_SOCKETVAR_H
16000 #include <sys/socketvar.h>
16002 #ifdef HAVE_NETINET_IN_H
16003 #include <netinet/in.h>
16005 #ifdef HAVE_NETINET_TCP_H
16006 #include <netinet/tcp.h>
16008 #ifdef HAVE_NETINET_TCP_VAR_H
16009 #include <netinet/tcp_var.h>
16012 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16014 cat >>confdefs.h
<<_ACEOF
16015 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16022 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
16023 #include <netinet/tcp_var.h>
16026 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16028 cat >>confdefs.h
<<_ACEOF
16029 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16036 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16037 #include <sys/types.h>
16039 #ifdef HAVE_NETINET_IN_H
16040 #include <netinet/in.h>
16042 #ifdef HAVE_NETINET_IP_VAR_H
16043 #include <netinet/ip_var.h>
16045 #ifdef HAVE_NETINET_UDP_H
16046 #include <netinet/udp.h>
16048 #ifdef HAVE_NETINET_UDP_VAR_H
16049 #include <netinet/udp_var.h>
16052 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16054 cat >>confdefs.h
<<_ACEOF
16055 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16062 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16063 #include <sys/types.h>
16065 #ifdef HAVE_NET_IF_H
16066 # include <net/if.h>
16069 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16071 cat >>confdefs.h
<<_ACEOF
16072 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16080 $as_echo_n "checking for timezone variable... " >&6; }
16081 if ${ac_cv_have_timezone+:} false
; then :
16082 $as_echo_n "(cached) " >&6
16084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16085 /* end confdefs.h. */
16095 if ac_fn_c_try_link
"$LINENO"; then :
16096 ac_cv_have_timezone
="yes"
16098 ac_cv_have_timezone
="no"
16100 rm -f core conftest.err conftest.
$ac_objext \
16101 conftest
$ac_exeext conftest.
$ac_ext
16103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16104 $as_echo "$ac_cv_have_timezone" >&6; }
16105 if test "$ac_cv_have_timezone" = "yes"
16108 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16112 $as_echo_n "checking for daylight variable... " >&6; }
16113 if ${ac_cv_have_daylight+:} false
; then :
16114 $as_echo_n "(cached) " >&6
16116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16117 /* end confdefs.h. */
16127 if ac_fn_c_try_link
"$LINENO"; then :
16128 ac_cv_have_daylight
="yes"
16130 ac_cv_have_daylight
="no"
16132 rm -f core conftest.err conftest.
$ac_objext \
16133 conftest
$ac_exeext conftest.
$ac_ext
16135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16136 $as_echo "$ac_cv_have_daylight" >&6; }
16137 if test "$ac_cv_have_daylight" = "yes"
16140 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16144 ac_save_LIBS
="$LIBS"
16146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16147 $as_echo_n "checking for isfinite... " >&6; }
16148 if ${ac_cv_have_isfinite+:} false
; then :
16149 $as_echo_n "(cached) " >&6
16151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16152 /* end confdefs.h. */
16153 #define _GNU_SOURCE
16158 float f = 0.0; return isfinite(f)
16163 if ac_fn_c_try_link
"$LINENO"; then :
16164 ac_cv_have_isfinite
="yes"
16166 ac_cv_have_isfinite
="no"
16168 rm -f core conftest.err conftest.
$ac_objext \
16169 conftest
$ac_exeext conftest.
$ac_ext
16171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16172 $as_echo "$ac_cv_have_isfinite" >&6; }
16173 if test "$ac_cv_have_isfinite" = "yes"
16176 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16180 ac_save_LIBS
="$LIBS"
16182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16183 $as_echo_n "checking for isinf... " >&6; }
16184 if ${ac_cv_have_isinf+:} false
; then :
16185 $as_echo_n "(cached) " >&6
16187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16188 /* end confdefs.h. */
16193 float f = 0.0; return isinf(f)
16198 if ac_fn_c_try_link
"$LINENO"; then :
16199 ac_cv_have_isinf
="yes"
16201 ac_cv_have_isinf
="no"
16203 rm -f core conftest.err conftest.
$ac_objext \
16204 conftest
$ac_exeext conftest.
$ac_ext
16206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16207 $as_echo "$ac_cv_have_isinf" >&6; }
16208 if test "$ac_cv_have_isinf" = "yes"
16211 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16216 $as_echo_n "checking for isnan... " >&6; }
16217 if ${ac_cv_have_isnan+:} false
; then :
16218 $as_echo_n "(cached) " >&6
16220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16221 /* end confdefs.h. */
16226 float f = 0.0; return isnan(f)
16231 if ac_fn_c_try_link
"$LINENO"; then :
16232 ac_cv_have_isnan
="yes"
16234 ac_cv_have_isnan
="no"
16236 rm -f core conftest.err conftest.
$ac_objext \
16237 conftest
$ac_exeext conftest.
$ac_ext
16239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16240 $as_echo "$ac_cv_have_isnan" >&6; }
16241 if test "$ac_cv_have_isnan" = "yes"
16244 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16247 LIBS
="$ac_save_LIBS"
16251 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16252 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16253 if ${ac_cv_cpp_def___i386__+:} false
; then :
16254 $as_echo_n "(cached) " >&6
16256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16257 /* end confdefs.h. */
16262 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16263 $EGREP "yes" >/dev
/null
2>&1; then :
16264 ac_cv_cpp_def___i386__
=yes
16266 ac_cv_cpp_def___i386__
=no
16271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16272 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16273 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16274 CFLAGS
="$CFLAGS -D__i386__"
16275 LINTFLAGS
="$LINTFLAGS -D__i386__"
16277 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16278 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16279 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16280 $as_echo_n "(cached) " >&6
16282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16283 /* end confdefs.h. */
16288 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16289 $EGREP "yes" >/dev
/null
2>&1; then :
16290 ac_cv_cpp_def___x86_64__
=yes
16292 ac_cv_cpp_def___x86_64__
=no
16297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16298 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16299 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16300 CFLAGS
="$CFLAGS -D__x86_64__"
16301 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16303 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16304 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16305 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16306 $as_echo_n "(cached) " >&6
16308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16309 /* end confdefs.h. */
16310 #ifndef __sparc64__
16314 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16315 $EGREP "yes" >/dev
/null
2>&1; then :
16316 ac_cv_cpp_def___sparc64__
=yes
16318 ac_cv_cpp_def___sparc64__
=no
16323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16324 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16325 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16326 CFLAGS
="$CFLAGS -D__sparc64__"
16327 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16329 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16330 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16331 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16332 $as_echo_n "(cached) " >&6
16334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16335 /* end confdefs.h. */
16340 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16341 $EGREP "yes" >/dev
/null
2>&1; then :
16342 ac_cv_cpp_def___sparc__
=yes
16344 ac_cv_cpp_def___sparc__
=no
16349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16350 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16351 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16352 CFLAGS
="$CFLAGS -D__sparc__"
16353 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16355 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16356 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16357 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16358 $as_echo_n "(cached) " >&6
16360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16361 /* end confdefs.h. */
16362 #ifndef __powerpc64__
16366 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16367 $EGREP "yes" >/dev
/null
2>&1; then :
16368 ac_cv_cpp_def___powerpc64__
=yes
16370 ac_cv_cpp_def___powerpc64__
=no
16375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16376 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16377 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
16378 CFLAGS
="$CFLAGS -D__powerpc64__"
16379 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16381 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16382 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16383 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16384 $as_echo_n "(cached) " >&6
16386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16387 /* end confdefs.h. */
16388 #ifndef __powerpc__
16392 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16393 $EGREP "yes" >/dev
/null
2>&1; then :
16394 ac_cv_cpp_def___powerpc__
=yes
16396 ac_cv_cpp_def___powerpc__
=no
16401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16402 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16403 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
16404 CFLAGS
="$CFLAGS -D__powerpc__"
16405 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16407 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16408 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16409 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16410 $as_echo_n "(cached) " >&6
16412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16413 /* end confdefs.h. */
16414 #ifndef __aarch64__
16418 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16419 $EGREP "yes" >/dev
/null
2>&1; then :
16420 ac_cv_cpp_def___aarch64__
=yes
16422 ac_cv_cpp_def___aarch64__
=no
16427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16428 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16429 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
16430 CFLAGS
="$CFLAGS -D__aarch64__"
16431 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16433 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16434 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16435 if ${ac_cv_cpp_def___arm__+:} false
; then :
16436 $as_echo_n "(cached) " >&6
16438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16439 /* end confdefs.h. */
16444 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16445 $EGREP "yes" >/dev
/null
2>&1; then :
16446 ac_cv_cpp_def___arm__
=yes
16448 ac_cv_cpp_def___arm__
=no
16453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16454 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16455 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
16456 CFLAGS
="$CFLAGS -D__arm__"
16457 LINTFLAGS
="$LINTFLAGS -D__arm__"
16461 case $host_vendor in
16462 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16463 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16464 if ${ac_cv_cpp_def___sun__+:} false
; then :
16465 $as_echo_n "(cached) " >&6
16467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16468 /* end confdefs.h. */
16473 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16474 $EGREP "yes" >/dev
/null
2>&1; then :
16475 ac_cv_cpp_def___sun__
=yes
16477 ac_cv_cpp_def___sun__
=no
16482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16483 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16484 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
16485 CFLAGS
="$CFLAGS -D__sun__"
16486 LINTFLAGS
="$LINTFLAGS -D__sun__"
16494 ac_config_commands
="$ac_config_commands include/stamp-h"
16496 $as_echo_n "creating Makefile rules..." >&6
16498 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
16499 SOCKET_LIBS = $SOCKET_LIBS
16500 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16501 IOKIT_LIBS = $IOKIT_LIBS
16502 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16503 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16504 CORESERVICES_LIBS = $CORESERVICES_LIBS
16505 APPKIT_LIBS = $APPKIT_LIBS
16506 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16507 SECURITY_LIBS = $SECURITY_LIBS
16508 COREAUDIO_LIBS = $COREAUDIO_LIBS
16509 OPENAL_LIBS = $OPENAL_LIBS
16510 OPENCL_LIBS = $OPENCL_LIBS
16511 QUICKTIME_LIBS = $QUICKTIME_LIBS
16512 CARBON_LIBS = $CARBON_LIBS
16513 PTHREAD_LIBS = $PTHREAD_LIBS
16514 X_CFLAGS = $X_CFLAGS
16515 X_PRE_LIBS = $X_PRE_LIBS
16517 X_EXTRA_LIBS = $X_EXTRA_LIBS
16518 XML2_CFLAGS = $XML2_CFLAGS
16519 XML2_LIBS = $XML2_LIBS
16520 XSLT_CFLAGS = $XSLT_CFLAGS
16521 XSLT_LIBS = $XSLT_LIBS
16522 DBUS_CFLAGS = $DBUS_CFLAGS
16523 DBUS_LIBS = $DBUS_LIBS
16524 HAL_CFLAGS = $HAL_CFLAGS
16525 HAL_LIBS = $HAL_LIBS
16526 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16527 GNUTLS_LIBS = $GNUTLS_LIBS
16528 SANE_CFLAGS = $SANE_CFLAGS
16529 SANE_LIBS = $SANE_LIBS
16530 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16531 GPHOTO2_LIBS = $GPHOTO2_LIBS
16532 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16533 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16534 RESOLV_LIBS = $RESOLV_LIBS
16535 LCMS2_CFLAGS = $LCMS2_CFLAGS
16536 LCMS2_LIBS = $LCMS2_LIBS
16537 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16538 FREETYPE_LIBS = $FREETYPE_LIBS
16540 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16541 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16542 GSTREAMER_LIBS = $GSTREAMER_LIBS
16543 ALSA_LIBS = $ALSA_LIBS
16544 OSS4_CFLAGS = $OSS4_CFLAGS
16545 CAPI20_CFLAGS = $CAPI20_CFLAGS
16546 CAPI20_LIBS = $CAPI20_LIBS
16547 CUPS_CFLAGS = $CUPS_CFLAGS
16548 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16549 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16550 JPEG_CFLAGS = $JPEG_CFLAGS
16551 JPEG_LIBS = $JPEG_LIBS
16552 PNG_CFLAGS = $PNG_CFLAGS
16553 PNG_LIBS = $PNG_LIBS
16554 TIFF_CFLAGS = $TIFF_CFLAGS
16555 TIFF_LIBS = $TIFF_LIBS
16556 MPG123_CFLAGS = $MPG123_CFLAGS
16557 MPG123_LIBS = $MPG123_LIBS
16558 KSTAT_LIBS = $KSTAT_LIBS
16559 PROCSTAT_LIBS = $PROCSTAT_LIBS
16561 POLL_LIBS = $POLL_LIBS
16563 LDAP_LIBS = $LDAP_LIBS
16568 wine_fn_append_rule
"
16569 # Rules automatically generated by configure
16571 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16576 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16577 @./config.status Make.tmp Makefile && \$(MAKEDEP) ."
16579 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
16580 .gitignore: config.status
16581 @./config.status .gitignore"
16583 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
16584 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16586 if test "x$enable_fonts" != xno
; then
16587 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16588 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16589 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16590 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16591 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16593 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16594 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
16595 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16596 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16597 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16598 wine_fn_config_symlink wine
16599 if test "x$enable_win64" != xno
; then
16600 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16601 wine_fn_config_symlink wine64
16604 wine_fn_config_dll acledit enable_acledit
16605 wine_fn_config_dll aclui enable_aclui implib
16606 wine_fn_config_dll activeds enable_activeds implib
16607 wine_fn_config_dll actxprxy enable_actxprxy clean
16608 wine_fn_config_lib adsiid
16609 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
16610 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
16611 wine_fn_config_dll advpack enable_advpack implib
16612 wine_fn_config_test dlls
/advpack
/tests advpack_test
16613 wine_fn_config_dll amstream enable_amstream clean
16614 wine_fn_config_test dlls
/amstream
/tests amstream_test
16615 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16616 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16617 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16618 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16619 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16620 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16621 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16622 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16623 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16624 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16625 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16626 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16627 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16628 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16629 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16630 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16631 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16632 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16633 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16634 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16635 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16636 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16637 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16638 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16639 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16640 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16641 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16642 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16643 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16644 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16645 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16646 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16647 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16648 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16649 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16650 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16651 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16652 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16653 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16654 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16655 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16656 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16657 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16658 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16659 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16660 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16661 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16662 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16663 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16664 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16665 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16666 wine_fn_config_dll apphelp enable_apphelp
16667 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
16668 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16669 wine_fn_config_dll atl enable_atl clean
,implib
16670 wine_fn_config_test dlls
/atl
/tests atl_test
16671 wine_fn_config_dll atl100 enable_atl100 implib
16672 wine_fn_config_test dlls
/atl100
/tests atl100_test
16673 wine_fn_config_dll atl110 enable_atl110
16674 wine_fn_config_dll atl80 enable_atl80 implib
16675 wine_fn_config_test dlls
/atl80
/tests atl80_test
16676 wine_fn_config_dll atl90 enable_atl90
16677 wine_fn_config_dll authz enable_authz
16678 wine_fn_config_dll avicap32 enable_avicap32 implib
16679 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
16680 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
16681 wine_fn_config_dll avifile.dll16 enable_win16
16682 wine_fn_config_dll avrt enable_avrt implib
16683 wine_fn_config_dll bcrypt enable_bcrypt
16684 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
16685 wine_fn_config_dll browseui enable_browseui clean
,po
16686 wine_fn_config_test dlls
/browseui
/tests browseui_test
16687 wine_fn_config_dll cabinet enable_cabinet implib
16688 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
16689 wine_fn_config_dll capi2032 enable_capi2032 implib
16690 wine_fn_config_dll cards enable_cards implib
16691 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16692 wine_fn_config_dll clusapi enable_clusapi implib
16693 wine_fn_config_dll comcat enable_comcat
16694 wine_fn_config_test dlls
/comcat
/tests comcat_test
16695 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
16696 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
16697 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
16698 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
16699 wine_fn_config_dll
comm.drv16 enable_win16
16700 wine_fn_config_dll commdlg.dll16 enable_win16
16701 wine_fn_config_dll compobj.dll16 enable_win16
16702 wine_fn_config_dll compstui enable_compstui implib
16703 wine_fn_config_dll comsvcs enable_comsvcs implib
16704 wine_fn_config_dll credui enable_credui implib
,po
16705 wine_fn_config_test dlls
/credui
/tests credui_test
16706 wine_fn_config_dll crtdll enable_crtdll implib
16707 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
16708 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
16709 wine_fn_config_dll cryptdlg enable_cryptdlg po
16710 wine_fn_config_dll cryptdll enable_cryptdll implib
16711 wine_fn_config_dll cryptnet enable_cryptnet implib
16712 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
16713 wine_fn_config_dll cryptui enable_cryptui implib
,po
16714 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
16715 wine_fn_config_dll ctapi32 enable_ctapi32
16716 wine_fn_config_dll ctl3d.dll16 enable_win16
16717 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16718 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16719 wine_fn_config_dll d2d1 enable_d2d1 implib
16720 wine_fn_config_dll d3d10 enable_d3d10 implib
16721 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
16722 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16723 wine_fn_config_dll d3d10core enable_d3d10core implib
16724 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
16725 wine_fn_config_dll d3d11 enable_d3d11
16726 wine_fn_config_dll d3d8 enable_d3d8 implib
16727 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
16728 wine_fn_config_dll d3d9 enable_d3d9 implib
16729 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
16730 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16731 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16732 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16733 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16734 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16735 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16736 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16737 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16738 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16739 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16740 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16741 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
16742 wine_fn_config_dll d3dim enable_d3dim implib
16743 wine_fn_config_dll d3drm enable_d3drm implib
16744 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
16745 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16746 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16747 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16748 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16749 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16750 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16751 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16752 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16753 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16754 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16755 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16756 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16757 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16758 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16759 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16760 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16761 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16762 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16763 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16764 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16765 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16766 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16767 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16768 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16769 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16770 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16771 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
16772 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16773 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16774 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16775 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16776 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16777 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16778 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16779 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
16780 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
16781 wine_fn_config_dll dbgeng enable_dbgeng implib
16782 wine_fn_config_dll dbghelp enable_dbghelp implib
16783 wine_fn_config_dll dciman32 enable_dciman32 implib
16784 wine_fn_config_dll ddeml.dll16 enable_win16
16785 wine_fn_config_dll ddraw enable_ddraw clean
,implib
16786 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
16787 wine_fn_config_dll ddrawex enable_ddrawex clean
16788 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
16789 wine_fn_config_dll devenum enable_devenum clean
,po
16790 wine_fn_config_test dlls
/devenum
/tests devenum_test
16791 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16792 wine_fn_config_dll difxapi enable_difxapi
16793 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
16794 wine_fn_config_test dlls
/dinput
/tests dinput_test
16795 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
16796 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
16797 wine_fn_config_dll dispdib.dll16 enable_win16
16798 wine_fn_config_dll dispex enable_dispex clean
16799 wine_fn_config_test dlls
/dispex
/tests dispex_test
16800 wine_fn_config_dll display.drv16 enable_win16
16801 wine_fn_config_dll dmband enable_dmband clean
16802 wine_fn_config_test dlls
/dmband
/tests dmband_test
16803 wine_fn_config_dll dmcompos enable_dmcompos clean
16804 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
16805 wine_fn_config_dll dmime enable_dmime clean
16806 wine_fn_config_test dlls
/dmime
/tests dmime_test
16807 wine_fn_config_dll dmloader enable_dmloader clean
16808 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
16809 wine_fn_config_dll dmscript enable_dmscript clean
16810 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
16811 wine_fn_config_dll dmstyle enable_dmstyle clean
16812 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
16813 wine_fn_config_dll dmsynth enable_dmsynth clean
16814 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
16815 wine_fn_config_dll dmusic enable_dmusic clean
16816 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
16817 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16818 wine_fn_config_dll dnsapi enable_dnsapi implib
16819 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
16820 wine_fn_config_dll dplay enable_dplay implib
16821 wine_fn_config_dll dplayx enable_dplayx clean
,implib
16822 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
16823 wine_fn_config_dll dpnaddr enable_dpnaddr
16824 wine_fn_config_dll dpnet enable_dpnet clean
,implib
16825 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
16826 wine_fn_config_dll dpnhpast enable_dpnhpast
16827 wine_fn_config_dll dpnlobby enable_dpnlobby
16828 wine_fn_config_dll dpwsockx enable_dpwsockx
16829 wine_fn_config_dll drmclien enable_drmclien
16830 wine_fn_config_dll dsound enable_dsound clean
,implib
16831 wine_fn_config_test dlls
/dsound
/tests dsound_test
16832 wine_fn_config_dll dssenh enable_dssenh
16833 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
16834 wine_fn_config_dll dswave enable_dswave clean
16835 wine_fn_config_dll dwmapi enable_dwmapi implib
16836 wine_fn_config_dll dwrite enable_dwrite implib
16837 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
16838 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
16839 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
16840 wine_fn_config_lib dxerr8
16841 wine_fn_config_lib dxerr9
16842 wine_fn_config_dll dxgi enable_dxgi implib
16843 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
16844 wine_fn_config_lib dxguid
16845 wine_fn_config_dll explorerframe enable_explorerframe clean
16846 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
16847 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
16848 wine_fn_config_dll faultrep enable_faultrep implib
16849 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
16850 wine_fn_config_dll fltlib enable_fltlib
16851 wine_fn_config_dll fusion enable_fusion
16852 wine_fn_config_test dlls
/fusion
/tests fusion_test
16853 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16854 wine_fn_config_dll gameux enable_gameux clean
16855 wine_fn_config_test dlls
/gameux
/tests gameux_test
16856 wine_fn_config_dll gdi.exe16 enable_win16
16857 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
16858 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
16859 wine_fn_config_dll gdiplus enable_gdiplus implib
16860 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
16861 wine_fn_config_dll glu32 enable_glu32 implib
16862 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16863 wine_fn_config_dll gpkcsp enable_gpkcsp
16864 wine_fn_config_dll hal enable_hal
16865 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
16866 wine_fn_config_dll hid enable_hid implib
16867 wine_fn_config_dll hlink enable_hlink clean
,implib
16868 wine_fn_config_test dlls
/hlink
/tests hlink_test
16869 wine_fn_config_dll hnetcfg enable_hnetcfg clean
16870 wine_fn_config_dll httpapi enable_httpapi
16871 wine_fn_config_dll iccvid enable_iccvid po
16872 wine_fn_config_dll icmp enable_icmp
16873 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
16874 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
16875 wine_fn_config_dll ifsmgr.vxd enable_win16
16876 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
16877 wine_fn_config_dll imagehlp enable_imagehlp implib
16878 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
16879 wine_fn_config_dll imm.dll16 enable_win16
16880 wine_fn_config_dll imm32 enable_imm32 implib
16881 wine_fn_config_test dlls
/imm32
/tests imm32_test
16882 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
16883 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
16884 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
16885 wine_fn_config_dll inetmib1 enable_inetmib1
16886 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
16887 wine_fn_config_dll infosoft enable_infosoft clean
16888 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
16889 wine_fn_config_dll initpki enable_initpki
16890 wine_fn_config_dll inkobj enable_inkobj
16891 wine_fn_config_dll inseng enable_inseng clean
16892 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16893 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
16894 wine_fn_config_dll itircl enable_itircl
16895 wine_fn_config_dll itss enable_itss clean
16896 wine_fn_config_test dlls
/itss
/tests itss_test
16897 wine_fn_config_dll joy.cpl enable_joy_cpl po
16898 wine_fn_config_dll jscript enable_jscript clean
,po
16899 wine_fn_config_test dlls
/jscript
/tests jscript_test
16900 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
16901 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
16902 wine_fn_config_dll keyboard.drv16 enable_win16
16903 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16904 wine_fn_config_dll ktmw32 enable_ktmw32
16905 wine_fn_config_dll loadperf enable_loadperf implib
16906 wine_fn_config_dll localspl enable_localspl po
16907 wine_fn_config_test dlls
/localspl
/tests localspl_test
16908 wine_fn_config_dll localui enable_localui po
16909 wine_fn_config_test dlls
/localui
/tests localui_test
16910 wine_fn_config_dll lz32 enable_lz32 implib
16911 wine_fn_config_test dlls
/lz32
/tests lz32_test
16912 wine_fn_config_dll lzexpand.dll16 enable_win16
16913 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
16914 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
16915 wine_fn_config_dll mapistub enable_mapistub
16916 wine_fn_config_dll mciavi32 enable_mciavi32
16917 wine_fn_config_dll mcicda enable_mcicda
16918 wine_fn_config_dll mciqtz32 enable_mciqtz32
16919 wine_fn_config_dll mciseq enable_mciseq
16920 wine_fn_config_dll mciwave enable_mciwave
16921 wine_fn_config_dll mgmtapi enable_mgmtapi
16922 wine_fn_config_dll midimap enable_midimap
16923 wine_fn_config_dll mlang enable_mlang clean
,implib
16924 wine_fn_config_test dlls
/mlang
/tests mlang_test
16925 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
16926 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
16927 wine_fn_config_dll mmdevapi enable_mmdevapi clean
16928 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
16929 wine_fn_config_dll mmdevldr.vxd enable_win16
16930 wine_fn_config_dll mmsystem.dll16 enable_win16
16931 wine_fn_config_dll monodebg.vxd enable_win16
16932 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16933 wine_fn_config_dll mouse.drv16 enable_win16
16934 wine_fn_config_dll mpr enable_mpr implib
,po
16935 wine_fn_config_test dlls
/mpr
/tests mpr_test
16936 wine_fn_config_dll mprapi enable_mprapi implib
16937 wine_fn_config_dll msacm.dll16 enable_win16
16938 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16939 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
16940 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
16941 wine_fn_config_dll msadp32.acm enable_msadp32_acm
16942 wine_fn_config_dll mscat32 enable_mscat32
16943 wine_fn_config_dll mscms enable_mscms implib
16944 wine_fn_config_test dlls
/mscms
/tests mscms_test
16945 wine_fn_config_dll mscoree enable_mscoree clean
16946 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
16947 wine_fn_config_dll msctf enable_msctf clean
16948 wine_fn_config_test dlls
/msctf
/tests msctf_test
16949 wine_fn_config_dll msdaps enable_msdaps clean
16950 wine_fn_config_dll msdmo enable_msdmo implib
16951 wine_fn_config_dll msftedit enable_msftedit
16952 wine_fn_config_dll msg711.acm enable_msg711_acm
16953 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
16954 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
16955 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
16956 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
16957 wine_fn_config_dll msi enable_msi clean
,implib
,po
16958 wine_fn_config_test dlls
/msi
/tests msi_test
16959 wine_fn_config_dll msident enable_msident clean
16960 wine_fn_config_dll msimg32 enable_msimg32 implib
16961 wine_fn_config_dll msimsg enable_msimsg
16962 wine_fn_config_dll msimtf enable_msimtf clean
16963 wine_fn_config_dll msisip enable_msisip
16964 wine_fn_config_dll msisys.ocx enable_msisys_ocx
16965 wine_fn_config_dll msls31 enable_msls31
16966 wine_fn_config_dll msnet32 enable_msnet32
16967 wine_fn_config_dll mspatcha enable_mspatcha
16968 wine_fn_config_dll msrle32 enable_msrle32 po
16969 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
16970 wine_fn_config_dll mssign32 enable_mssign32
16971 wine_fn_config_dll mssip32 enable_mssip32
16972 wine_fn_config_dll mstask enable_mstask clean
16973 wine_fn_config_test dlls
/mstask
/tests mstask_test
16974 wine_fn_config_dll msvcirt enable_msvcirt
16975 wine_fn_config_dll msvcm80 enable_msvcm80
16976 wine_fn_config_dll msvcm90 enable_msvcm90
16977 wine_fn_config_dll msvcp100 enable_msvcp100
16978 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
16979 wine_fn_config_dll msvcp110 enable_msvcp110
16980 wine_fn_config_dll msvcp60 enable_msvcp60
16981 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
16982 wine_fn_config_dll msvcp70 enable_msvcp70
16983 wine_fn_config_dll msvcp71 enable_msvcp71
16984 wine_fn_config_dll msvcp80 enable_msvcp80
16985 wine_fn_config_dll msvcp90 enable_msvcp90
16986 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
16987 wine_fn_config_dll msvcr100 enable_msvcr100 implib
16988 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
16989 wine_fn_config_dll msvcr110 enable_msvcr110 implib
16990 wine_fn_config_dll msvcr70 enable_msvcr70 implib
16991 wine_fn_config_dll msvcr71 enable_msvcr71 implib
16992 wine_fn_config_dll msvcr80 enable_msvcr80 implib
16993 wine_fn_config_dll msvcr90 enable_msvcr90 implib
16994 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
16995 wine_fn_config_dll msvcrt enable_msvcrt implib
16996 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
16997 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
16998 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
16999 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17000 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17001 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17002 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17003 wine_fn_config_dll msvidc32 enable_msvidc32 po
17004 wine_fn_config_dll msvideo.dll16 enable_win16
17005 wine_fn_config_dll mswsock enable_mswsock implib
17006 wine_fn_config_dll msxml enable_msxml clean
17007 wine_fn_config_dll msxml2 enable_msxml2 clean
17008 wine_fn_config_dll msxml3 enable_msxml3 clean
17009 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17010 wine_fn_config_dll msxml4 enable_msxml4 clean
17011 wine_fn_config_dll msxml6 enable_msxml6 clean
17012 wine_fn_config_dll nddeapi enable_nddeapi implib
17013 wine_fn_config_dll netapi32 enable_netapi32 implib
17014 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17015 wine_fn_config_dll netcfgx enable_netcfgx
17016 wine_fn_config_dll newdev enable_newdev implib
17017 wine_fn_config_dll normaliz enable_normaliz implib
17018 wine_fn_config_dll npmshtml enable_npmshtml
17019 wine_fn_config_dll ntdll enable_ntdll implib
17020 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17021 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17022 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17023 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17024 wine_fn_config_dll ntprint enable_ntprint
17025 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17026 wine_fn_config_dll objsel enable_objsel clean
17027 wine_fn_config_dll odbc32 enable_odbc32 implib
17028 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17029 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17030 wine_fn_config_dll odbccu32 enable_odbccu32
17031 wine_fn_config_dll ole2.dll16 enable_win16
17032 wine_fn_config_dll ole2conv.dll16 enable_win16
17033 wine_fn_config_dll ole2disp.dll16 enable_win16
17034 wine_fn_config_dll ole2nls.dll16 enable_win16
17035 wine_fn_config_dll ole2prox.dll16 enable_win16
17036 wine_fn_config_dll ole2thk.dll16 enable_win16
17037 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17038 wine_fn_config_test dlls
/ole32
/tests ole32_test
17039 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17040 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17041 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17042 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17043 wine_fn_config_dll olecli.dll16 enable_win16
17044 wine_fn_config_dll olecli32 enable_olecli32 implib
17045 wine_fn_config_dll oledb32 enable_oledb32 clean
17046 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17047 wine_fn_config_dll oledlg enable_oledlg implib
,po
17048 wine_fn_config_dll olepro32 enable_olepro32 implib
17049 wine_fn_config_dll olesvr.dll16 enable_win16
17050 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17051 wine_fn_config_dll olethk32 enable_olethk32
17052 wine_fn_config_dll openal32 enable_openal32
17053 wine_fn_config_dll opencl enable_opencl
17054 wine_fn_config_dll opengl32 enable_opengl32 implib
17055 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17056 wine_fn_config_dll pdh enable_pdh implib
17057 wine_fn_config_test dlls
/pdh
/tests pdh_test
17058 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17059 wine_fn_config_dll pidgen enable_pidgen
17060 wine_fn_config_dll powrprof enable_powrprof implib
17061 wine_fn_config_dll printui enable_printui
17062 wine_fn_config_dll propsys enable_propsys clean
,implib
17063 wine_fn_config_test dlls
/propsys
/tests propsys_test
17064 wine_fn_config_dll psapi enable_psapi implib
17065 wine_fn_config_test dlls
/psapi
/tests psapi_test
17066 wine_fn_config_dll pstorec enable_pstorec clean
17067 wine_fn_config_dll qcap enable_qcap
17068 wine_fn_config_test dlls
/qcap
/tests qcap_test
17069 wine_fn_config_dll qedit enable_qedit clean
17070 wine_fn_config_test dlls
/qedit
/tests qedit_test
17071 wine_fn_config_dll qmgr enable_qmgr clean
17072 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17073 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17074 wine_fn_config_dll quartz enable_quartz clean
,implib
17075 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17076 wine_fn_config_dll query enable_query
17077 wine_fn_config_dll rasapi16.dll16 enable_win16
17078 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17079 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17080 wine_fn_config_dll rasdlg enable_rasdlg implib
17081 wine_fn_config_dll regapi enable_regapi
17082 wine_fn_config_dll resutils enable_resutils implib
17083 wine_fn_config_dll riched20 enable_riched20 implib
17084 wine_fn_config_test dlls
/riched20
/tests riched20_test
17085 wine_fn_config_dll riched32 enable_riched32
17086 wine_fn_config_test dlls
/riched32
/tests riched32_test
17087 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17088 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17089 wine_fn_config_dll rsabase enable_rsabase
17090 wine_fn_config_dll rsaenh enable_rsaenh implib
17091 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17092 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17093 wine_fn_config_dll rtutils enable_rtutils implib
17094 wine_fn_config_dll samlib enable_samlib
17095 wine_fn_config_dll sane.ds enable_sane_ds po
17096 wine_fn_config_dll scarddlg enable_scarddlg
17097 wine_fn_config_dll sccbase enable_sccbase
17098 wine_fn_config_dll schannel enable_schannel
17099 wine_fn_config_test dlls
/schannel
/tests schannel_test
17100 wine_fn_config_dll scrrun enable_scrrun clean
17101 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17102 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17103 wine_fn_config_dll secur32 enable_secur32 implib
17104 wine_fn_config_test dlls
/secur32
/tests secur32_test
17105 wine_fn_config_dll security enable_security
17106 wine_fn_config_dll sensapi enable_sensapi implib
17107 wine_fn_config_dll serialui enable_serialui implib
,po
17108 wine_fn_config_test dlls
/serialui
/tests serialui_test
17109 wine_fn_config_dll setupapi enable_setupapi implib
,po
17110 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17111 wine_fn_config_dll setupx.dll16 enable_win16
17112 wine_fn_config_dll sfc enable_sfc implib
17113 wine_fn_config_dll sfc_os enable_sfc_os implib
17114 wine_fn_config_dll shdoclc enable_shdoclc po
17115 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17116 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17117 wine_fn_config_dll shell.dll16 enable_win16
17118 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17119 wine_fn_config_test dlls
/shell32
/tests shell32_test
17120 wine_fn_config_dll shfolder enable_shfolder implib
17121 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17122 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17123 wine_fn_config_dll slbcsp enable_slbcsp
17124 wine_fn_config_dll slc enable_slc implib
17125 wine_fn_config_dll snmpapi enable_snmpapi implib
17126 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17127 wine_fn_config_dll softpub enable_softpub
17128 wine_fn_config_dll sound.drv16 enable_win16
17129 wine_fn_config_dll spoolss enable_spoolss implib
17130 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17131 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17132 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17133 wine_fn_config_dll sti enable_sti clean
,implib
17134 wine_fn_config_test dlls
/sti
/tests sti_test
17135 wine_fn_config_dll storage.dll16 enable_win16
17136 wine_fn_config_dll stress.dll16 enable_win16
17137 wine_fn_config_lib strmbase
17138 wine_fn_config_lib strmiids
17139 wine_fn_config_dll svrapi enable_svrapi
17140 wine_fn_config_dll sxs enable_sxs implib
17141 wine_fn_config_test dlls
/sxs
/tests sxs_test
17142 wine_fn_config_dll system.drv16 enable_win16
17143 wine_fn_config_dll t2embed enable_t2embed
17144 wine_fn_config_dll tapi32 enable_tapi32 implib
17145 wine_fn_config_dll taskschd enable_taskschd clean
17146 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17147 wine_fn_config_dll toolhelp.dll16 enable_win16
17148 wine_fn_config_dll traffic enable_traffic
17149 wine_fn_config_dll twain.dll16 enable_win16
17150 wine_fn_config_dll twain_32 enable_twain_32
17151 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17152 wine_fn_config_dll typelib.dll16 enable_win16
17153 wine_fn_config_dll unicows enable_unicows implib
17154 wine_fn_config_dll updspapi enable_updspapi
17155 wine_fn_config_dll url enable_url implib
17156 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17157 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17158 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17159 wine_fn_config_dll user.exe16 enable_win16
17160 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17161 wine_fn_config_test dlls
/user32
/tests user32_test
17162 wine_fn_config_dll userenv enable_userenv implib
17163 wine_fn_config_test dlls
/userenv
/tests userenv_test
17164 wine_fn_config_dll usp10 enable_usp10 implib
17165 wine_fn_config_test dlls
/usp10
/tests usp10_test
17166 wine_fn_config_lib uuid
17167 wine_fn_config_dll uxtheme enable_uxtheme implib
17168 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17169 wine_fn_config_dll vbscript enable_vbscript clean
17170 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17171 wine_fn_config_dll vcomp enable_vcomp
17172 wine_fn_config_dll vcomp100 enable_vcomp100
17173 wine_fn_config_dll vcomp90 enable_vcomp90
17174 wine_fn_config_dll vdhcp.vxd enable_win16
17175 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17176 wine_fn_config_dll ver.dll16 enable_win16
17177 wine_fn_config_dll version enable_version implib
17178 wine_fn_config_test dlls
/version
/tests version_test
17179 wine_fn_config_dll vmm.vxd enable_win16
17180 wine_fn_config_dll vnbt.vxd enable_win16
17181 wine_fn_config_dll vnetbios.vxd enable_win16
17182 wine_fn_config_dll vtdapi.vxd enable_win16
17183 wine_fn_config_dll vwin32.vxd enable_win16
17184 wine_fn_config_dll w32skrnl enable_win16
17185 wine_fn_config_dll w32sys.dll16 enable_win16
17186 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17187 wine_fn_config_dll wbemprox enable_wbemprox clean
17188 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17189 wine_fn_config_dll webservices enable_webservices implib
17190 wine_fn_config_dll wer enable_wer implib
17191 wine_fn_config_test dlls
/wer
/tests wer_test
17192 wine_fn_config_dll wevtapi enable_wevtapi
17193 wine_fn_config_dll wiaservc enable_wiaservc clean
17194 wine_fn_config_dll win32s16.dll16 enable_win16
17195 wine_fn_config_dll win87em.dll16 enable_win16
17196 wine_fn_config_dll winaspi.dll16 enable_win16
17197 wine_fn_config_dll windebug.dll16 enable_win16
17198 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17199 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17200 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17201 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17202 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17203 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17204 wine_fn_config_lib winecrt0
17205 wine_fn_config_dll wined3d enable_wined3d implib
17206 wine_fn_config_dll winegstreamer enable_winegstreamer
17207 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17208 wine_fn_config_dll winemac.drv enable_winemac_drv
17209 wine_fn_config_dll winemapi enable_winemapi
17210 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17211 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17212 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17213 wine_fn_config_dll wineps16.drv16 enable_win16
17214 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17215 wine_fn_config_dll winex11.drv enable_winex11_drv
17216 wine_fn_config_dll wing.dll16 enable_win16
17217 wine_fn_config_dll wing32 enable_wing32
17218 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17219 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17220 wine_fn_config_dll wininet enable_wininet implib
,po
17221 wine_fn_config_test dlls
/wininet
/tests wininet_test
17222 wine_fn_config_dll winmm enable_winmm implib
,po
17223 wine_fn_config_test dlls
/winmm
/tests winmm_test
17224 wine_fn_config_dll winnls.dll16 enable_win16
17225 wine_fn_config_dll winnls32 enable_winnls32 implib
17226 wine_fn_config_dll winscard enable_winscard implib
17227 wine_fn_config_dll winsock.dll16 enable_win16
17228 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17229 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17230 wine_fn_config_dll winsta enable_winsta
17231 wine_fn_config_dll wintab.dll16 enable_win16
17232 wine_fn_config_dll wintab32 enable_wintab32 implib
17233 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17234 wine_fn_config_dll wintrust enable_wintrust implib
17235 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17236 wine_fn_config_dll wlanapi enable_wlanapi
17237 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17238 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17239 wine_fn_config_dll wmi enable_wmi
17240 wine_fn_config_dll wmiutils enable_wmiutils clean
17241 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17242 wine_fn_config_dll wmp enable_wmp clean
17243 wine_fn_config_test dlls
/wmp
/tests wmp_test
17244 wine_fn_config_dll wmvcore enable_wmvcore
17245 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17246 wine_fn_config_dll wow32 enable_win16 implib
17247 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17248 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17249 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17250 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17251 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17252 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17253 wine_fn_config_dll wsock32 enable_wsock32 implib
17254 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17255 wine_fn_config_dll wuapi enable_wuapi clean
17256 wine_fn_config_dll wuaueng enable_wuaueng
17257 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17258 wine_fn_config_dll xinput1_1 enable_xinput1_1
17259 wine_fn_config_dll xinput1_2 enable_xinput1_2
17260 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17261 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17262 wine_fn_config_dll xinput1_4 enable_xinput1_4
17263 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17264 wine_fn_config_dll xmllite enable_xmllite implib
17265 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17266 wine_fn_config_dll xolehlp enable_xolehlp
17267 wine_fn_config_dll xpsprint enable_xpsprint
17268 wine_fn_config_dll xpssvcs enable_xpssvcs
17269 wine_fn_config_makefile documentation enable_documentation clean
17270 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17271 wine_fn_config_makefile include enable_include clean
,install-dev
17272 wine_fn_config_makefile libs
/port enable_libs_port
17273 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17274 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17275 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17276 wine_fn_config_program arp enable_arp
install
17277 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17278 wine_fn_config_program attrib enable_attrib
install,po
17279 wine_fn_config_program cabarc enable_cabarc
install
17280 wine_fn_config_program cacls enable_cacls
install
17281 wine_fn_config_program
clock enable_clock
install,po
17282 wine_fn_config_program cmd enable_cmd
install,po
17283 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17284 wine_fn_config_program conhost enable_conhost
install
17285 wine_fn_config_program control enable_control
install
17286 wine_fn_config_program cscript enable_cscript
install
17287 wine_fn_config_program dxdiag enable_dxdiag
install,po
17288 wine_fn_config_program eject enable_eject
install
17289 wine_fn_config_program
expand enable_expand
install
17290 wine_fn_config_program explorer enable_explorer
install,po
17291 wine_fn_config_program extrac32 enable_extrac32
install
17292 wine_fn_config_program findstr enable_findstr
install
17293 wine_fn_config_program hh enable_hh
install
17294 wine_fn_config_program hostname enable_hostname
install,po
17295 wine_fn_config_program icinfo enable_icinfo
install
17296 wine_fn_config_program iexplore enable_iexplore
install
17297 wine_fn_config_program ipconfig enable_ipconfig
install,po
17298 wine_fn_config_program lodctr enable_lodctr
install
17299 wine_fn_config_program mofcomp enable_mofcomp
install
17300 wine_fn_config_program mshta enable_mshta
install
17301 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17302 wine_fn_config_program net enable_net
install,po
17303 wine_fn_config_program netsh enable_netsh
install
17304 wine_fn_config_program netstat enable_netstat
install,po
17305 wine_fn_config_program ngen enable_ngen
install
17306 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17307 wine_fn_config_program oleview enable_oleview
install,po
17308 wine_fn_config_program
ping enable_ping
install
17309 wine_fn_config_program plugplay enable_plugplay
install
17310 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17311 wine_fn_config_program progman enable_progman
install,po
17312 wine_fn_config_program reg enable_reg
install,po
17313 wine_fn_config_program regasm enable_regasm
install
17314 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17315 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17316 wine_fn_config_program regsvcs enable_regsvcs
install
17317 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
17318 wine_fn_config_program rpcss enable_rpcss clean
,install
17319 wine_fn_config_program rundll.exe16 enable_win16
install
17320 wine_fn_config_program rundll32 enable_rundll32
install
17321 wine_fn_config_program sc enable_sc
install
17322 wine_fn_config_program schtasks enable_schtasks
install
17323 wine_fn_config_program secedit enable_secedit
install
17324 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17325 wine_fn_config_program services enable_services clean
,install
17326 wine_fn_config_test programs
/services
/tests services.exe_test
17327 wine_fn_config_program spoolsv enable_spoolsv
install
17328 wine_fn_config_program start enable_start
install,po
17329 wine_fn_config_program svchost enable_svchost
install
17330 wine_fn_config_program taskkill enable_taskkill
install,po
17331 wine_fn_config_program tasklist enable_tasklist
install
17332 wine_fn_config_program taskmgr enable_taskmgr
install,po
17333 wine_fn_config_program termsv enable_termsv
install
17334 wine_fn_config_program uninstaller enable_uninstaller
install,po
17335 wine_fn_config_program unlodctr enable_unlodctr
install
17336 wine_fn_config_program view enable_view
install,po
17337 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17338 wine_fn_config_program winebrowser enable_winebrowser
install
17339 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17340 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17341 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17342 wine_fn_config_program winedevice enable_winedevice
install
17343 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17344 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17345 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17346 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17347 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17348 wine_fn_config_program winetest enable_winetest clean
17349 wine_fn_config_program winevdm enable_win16
install
17350 wine_fn_config_program winhelp.exe16 enable_win16
install
17351 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17352 wine_fn_config_program winoldap.mod16 enable_win16
install
17353 wine_fn_config_program winver enable_winver
install
17354 wine_fn_config_program wmic enable_wmic
install,po
17355 wine_fn_config_program wordpad enable_wordpad
install,po
17356 wine_fn_config_program
write enable_write
install,po
17357 wine_fn_config_program wscript enable_wscript clean
,install
17358 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17359 wine_fn_config_program wusa enable_wusa
install
17360 wine_fn_config_program xcopy enable_xcopy
install,po
17361 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
17362 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17363 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17364 wine_fn_config_tool tools
/sfnt2fon clean
17365 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17366 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17367 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17368 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17369 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17370 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17422 wine_fn_ignore_file
".gitignore"
17423 wine_fn_ignore_file
"Makefile"
17424 wine_fn_ignore_file
"TAGS"
17425 wine_fn_ignore_file
"tags"
17426 wine_fn_ignore_file
"autom4te.cache"
17427 wine_fn_ignore_file
"config.cache"
17428 wine_fn_ignore_file
"config.log"
17429 wine_fn_ignore_file
"config.status"
17430 wine_fn_ignore_file
"configure.lineno"
17431 wine_fn_ignore_file
"include/config.h"
17432 wine_fn_ignore_file
"include/stamp-h"
17433 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
17435 if test "x$enable_tools" != xno
17437 wine_fn_ignore_file
"tools/makedep$ac_exeext"
17438 ac_config_commands
="$ac_config_commands tools/makedep"
17442 ac_config_commands
="$ac_config_commands Makefile"
17445 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17449 if test "x$enable_maintainer_mode" = xyes
17451 wine_fn_append_rule
"configure: configure.ac aclocal.m4
17452 autoconf --warnings=all
17453 include/config.h.in: include/stamp-h.in
17454 include/stamp-h.in: configure.ac aclocal.m4
17455 autoheader --warnings=all
17456 @echo timestamp > \$@"
17459 if test "x$with_gettextpo" = xyes
17461 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17462 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17463 \$(LINGUAS:%=po/%.po): po/wine.pot
17464 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17465 po/wine.pot: \$(ALL_POT_FILES)
17466 msgcat -o \$@ \$(ALL_POT_FILES)"
17469 if test "$MSGFMT" != false
17471 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
17473 \$(RM) \$(LINGUAS:%=po/%.mo)"
17476 test "$srcdir" = . || posrc
="$srcdir/po"
17479 wine_fn_ignore_file
"po/$i.mo"
17480 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
17481 \$(MSGFMT) -o \$@ $posrc/$i.po"
17487 if test "x$enable_tools" != xno
17489 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17490 @./config.status tools/makedep
17491 Makefile: tools/makedep$ac_exeext
17493 \$(RM) tools/makedep$ac_exeext"
17495 wine_fn_append_rule
"\$(MAKEDEP):
17496 @echo \"You need to run make in $TOOLSDIR first\" && false"
17499 if test -n "$with_wine64"
17501 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17502 fonts server tools:
17503 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17504 $with_wine64/loader/wine:
17505 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17506 $with_wine64/loader/wine-preloader:
17507 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17509 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17511 as_fn_append LOADER_RULES
"
17514 install install-lib:: wine.inf install-man-pages
17515 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17516 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17519 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17523 if test "$srcdir" = .
17525 ac_config_commands
="$ac_config_commands .gitignore"
17529 $as_echo " done" >&6
17530 cat >confcache
<<\_ACEOF
17531 # This file is a shell script that caches the results of configure
17532 # tests run on this system so they can be shared between configure
17533 # scripts and configure runs, see configure's option --config-cache.
17534 # It is not useful on other systems. If it contains results you don't
17535 # want to keep, you may remove or edit it.
17537 # config.status only pays attention to the cache file if you give it
17538 # the --recheck option to rerun configure.
17540 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17541 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17542 # following values.
17546 # The following way of writing the cache mishandles newlines in values,
17547 # but we know of no workaround that is simple, portable, and efficient.
17548 # So, we kill variables containing newlines.
17549 # Ultrix sh set writes to stderr and can't be redirected directly,
17550 # and sets the high bit in the cache file unless we assign to the vars.
17552 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17553 eval ac_val
=\$
$ac_var
17557 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17558 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17561 _ | IFS | as_nl
) ;; #(
17562 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17563 *) { eval $ac_var=; unset $ac_var;} ;;
17569 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17570 *${as_nl}ac_space
=\
*)
17571 # `set' does not quote correctly, so add quotes: double-quote
17572 # substitution turns \\\\ into \\, and sed turns \\ into \.
17575 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17578 # `set' quotes correctly as required by POSIX, so do not add quotes.
17579 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17588 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17590 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17592 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17593 if test -w "$cache_file"; then
17594 if test "x$cache_file" != "x/dev/null"; then
17595 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17596 $as_echo "$as_me: updating cache $cache_file" >&6;}
17597 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17598 cat confcache
>"$cache_file"
17600 case $cache_file in #(
17602 mv -f confcache
"$cache_file"$$
&&
17603 mv -f "$cache_file"$$
"$cache_file" ;; #(
17605 mv -f confcache
"$cache_file" ;;
17610 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17611 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17616 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17617 # Let make expand exec_prefix.
17618 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17620 DEFS
=-DHAVE_CONFIG_H
17625 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17626 # 1. Remove the extension, and $U if already installed.
17627 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17628 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17629 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17630 # will be set to the directory where LIBOBJS objects are built.
17631 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17632 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17634 LIBOBJS
=$ac_libobjs
17636 LTLIBOBJS
=$ac_ltlibobjs
17640 : "${CONFIG_STATUS=./config.status}"
17642 ac_clean_files_save
=$ac_clean_files
17643 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17644 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17645 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17647 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17649 # Generated by $as_me.
17650 # Run this file to recreate the current configuration.
17651 # Compiler output produced by configure, useful for debugging
17652 # configure, is in config.log if it exists.
17655 ac_cs_recheck=false
17658 SHELL=\${CONFIG_SHELL-$SHELL}
17661 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17662 ## -------------------- ##
17663 ## M4sh Initialization. ##
17664 ## -------------------- ##
17666 # Be more Bourne compatible
17667 DUALCASE
=1; export DUALCASE
# for MKS sh
17668 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17671 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17672 # is contrary to our usage. Disable this feature.
17673 alias -g '${1+"$@"}'='"$@"'
17674 setopt NO_GLOB_SUBST
17676 case `(set -o) 2>/dev/null` in #(
17688 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17689 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17690 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17691 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17692 # Prefer a ksh shell builtin over an external printf program on Solaris,
17693 # but without wasting forks for bash or zsh.
17694 if test -z "$BASH_VERSION$ZSH_VERSION" \
17695 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17696 as_echo='print
-r --'
17697 as_echo_n='print
-rn --'
17698 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17699 as_echo='printf %s
\n'
17700 as_echo_n='printf %s
'
17702 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17703 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17704 as_echo_n='/usr
/ucb
/echo -n'
17706 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17707 as_echo_n_body='eval
17711 expr "X$arg" : "X\\(.*\\)$as_nl";
17712 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17714 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17716 export as_echo_n_body
17717 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17719 export as_echo_body
17720 as_echo='sh
-c $as_echo_body as_echo
'
17723 # The user is always right.
17724 if test "${PATH_SEPARATOR+set}" != set; then
17726 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17727 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17734 # We need space, tab and new line, in precisely that order. Quoting is
17735 # there to prevent editors from complaining about space-tab.
17736 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17737 # splitting by setting IFS to empty value.)
17740 # Find who we are. Look in the path if we contain no directory separator.
17743 *[\\/]* ) as_myself=$0 ;;
17744 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17745 for as_dir in $PATH
17748 test -z "$as_dir" && as_dir=.
17749 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17755 # We did not find ourselves, most probably we were run as `sh COMMAND'
17756 # in which case we are not to be found in the path.
17757 if test "x$as_myself" = x
; then
17760 if test ! -f "$as_myself"; then
17761 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17765 # Unset variables that we do not need and which cause bugs (e.g. in
17766 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17767 # suppresses any "Segmentation fault" message there. '((' could
17768 # trigger a bug in pdksh 5.2.14.
17769 for as_var
in BASH_ENV ENV MAIL MAILPATH
17770 do eval test x\
${$as_var+set} = xset \
17771 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17784 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17787 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17788 # ----------------------------------------
17789 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17790 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17791 # script with STATUS, using 1 if that was 0.
17794 as_status
=$1; test $as_status -eq 0 && as_status
=1
17796 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17797 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17799 $as_echo "$as_me: error: $2" >&2
17800 as_fn_exit
$as_status
17804 # as_fn_set_status STATUS
17805 # -----------------------
17806 # Set $? to STATUS, without forking.
17807 as_fn_set_status
()
17810 } # as_fn_set_status
17812 # as_fn_exit STATUS
17813 # -----------------
17814 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17818 as_fn_set_status
$1
17824 # Portably unset VAR.
17827 { eval $1=; unset $1;}
17829 as_unset
=as_fn_unset
17830 # as_fn_append VAR VALUE
17831 # ----------------------
17832 # Append the text in VALUE to the end of the definition contained in VAR. Take
17833 # advantage of any shell optimizations that allow amortized linear growth over
17834 # repeated appends, instead of the typical quadratic growth present in naive
17836 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
17837 eval 'as_fn_append ()
17848 # as_fn_arith ARG...
17849 # ------------------
17850 # Perform arithmetic evaluation on the ARGs, and store the result in the
17851 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17852 # must be portable across $(()) and expr.
17853 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
17854 eval 'as_fn_arith ()
17861 as_val
=`expr "$@" || test $? -eq 1`
17866 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
17867 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17873 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17874 as_basename
=basename
17879 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
17885 as_me
=`$as_basename -- "$0" ||
17886 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17887 X"$0" : 'X\(//\)$' \| \
17888 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17890 sed '/^.*\/\([^/][^/]*\)\/*$/{
17904 # Avoid depending upon Character Ranges.
17905 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17906 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17907 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17908 as_cr_digits
='0123456789'
17909 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17911 ECHO_C
= ECHO_N
= ECHO_T
=
17912 case `echo -n x` in #(((((
17914 case `echo 'xy\c'` in
17915 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
17917 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
17924 rm -f conf$$ conf$$.exe conf$$.
file
17925 if test -d conf$$.dir
; then
17926 rm -f conf$$.dir
/conf$$.
file
17929 mkdir conf$$.dir
2>/dev
/null
17931 if (echo >conf$$.
file) 2>/dev
/null
; then
17932 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17934 # ... but there are two gotchas:
17935 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17936 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17937 # In both cases, we have to default to `cp -pR'.
17938 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
17940 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17948 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
17949 rmdir conf$$.dir
2>/dev
/null
17954 # Create "$as_dir" as a directory, including parents if necessary.
17959 -*) as_dir
=.
/$as_dir;;
17961 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
17965 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17966 *) as_qdir
=$as_dir;;
17968 as_dirs
="'$as_qdir' $as_dirs"
17969 as_dir
=`$as_dirname -- "$as_dir" ||
17970 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17971 X"$as_dir" : 'X\(//\)[^/]' \| \
17972 X"$as_dir" : 'X\(//\)$' \| \
17973 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17974 $as_echo X"$as_dir" |
17975 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17979 /^X\(\/\/\)[^/].*/{
17992 test -d "$as_dir" && break
17994 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
17995 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
17999 if mkdir
-p .
2>/dev
/null
; then
18000 as_mkdir_p
='mkdir -p "$as_dir"'
18002 test -d .
/-p && rmdir .
/-p
18007 # as_fn_executable_p FILE
18008 # -----------------------
18009 # Test if FILE is an executable regular file.
18010 as_fn_executable_p
()
18012 test -f "$1" && test -x "$1"
18013 } # as_fn_executable_p
18014 as_test_x
='test -x'
18015 as_executable_p
=as_fn_executable_p
18017 # Sed expression to map a string onto a valid CPP name.
18018 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18020 # Sed expression to map a string onto a valid variable name.
18021 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18025 ## ----------------------------------- ##
18026 ## Main body of $CONFIG_STATUS script. ##
18027 ## ----------------------------------- ##
18029 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18031 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18032 # Save the log message, to keep $0 and so on meaningful, and to
18033 # report actual input values of CONFIG_FILES etc. instead of their
18034 # values after options handling.
18036 This file was extended by Wine $as_me 1.7.12, which was
18037 generated by GNU Autoconf 2.69. Invocation command line was
18039 CONFIG_FILES = $CONFIG_FILES
18040 CONFIG_HEADERS = $CONFIG_HEADERS
18041 CONFIG_LINKS = $CONFIG_LINKS
18042 CONFIG_COMMANDS = $CONFIG_COMMANDS
18045 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18050 case $ac_config_files in *"
18051 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18054 case $ac_config_headers in *"
18055 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18059 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18060 # Files that config.status was made for.
18061 config_files="$ac_config_files"
18062 config_headers="$ac_config_headers"
18063 config_links="$ac_config_links"
18064 config_commands="$ac_config_commands"
18068 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18070 \`$as_me' instantiates files and other configuration actions
18071 from templates according to the current configuration. Unless the files
18072 and actions are specified as TAGs, all are instantiated by default.
18074 Usage: $0 [OPTION]... [TAG]...
18076 -h, --help print this help, then exit
18077 -V, --version print version number and configuration settings, then exit
18078 --config print configuration, then exit
18079 -q, --quiet, --silent
18080 do not print progress messages
18081 -d, --debug don't remove temporary files
18082 --recheck update $as_me by reconfiguring in the same conditions
18083 --file=FILE[:TEMPLATE]
18084 instantiate the configuration file FILE
18085 --header=FILE[:TEMPLATE]
18086 instantiate the configuration header FILE
18088 Configuration files:
18091 Configuration headers:
18094 Configuration links:
18097 Configuration commands:
18100 Report bugs to <wine-devel@winehq.org>.
18101 Wine home page: <http://www.winehq.org>."
18104 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18105 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18107 Wine config.status 1.7.12
18108 configured by $0, generated by GNU Autoconf 2.69,
18109 with options \\"\$ac_cs_config\\"
18111 Copyright (C) 2012 Free Software Foundation, Inc.
18112 This config.status script is free software; the Free Software Foundation
18113 gives unlimited permission to copy, distribute and modify it."
18117 test -n "\$AWK" || AWK=awk
18120 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18121 # The default lists apply if the user does not specify any file.
18127 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18128 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18132 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18144 # Handling of the options.
18145 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18147 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18148 $as_echo "$ac_cs_version"; exit ;;
18149 --config |
--confi |
--conf |
--con |
--co |
--c )
18150 $as_echo "$ac_cs_config"; exit ;;
18151 --debug |
--debu |
--deb |
--de |
--d |
-d )
18153 --file |
--fil |
--fi |
--f )
18156 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18157 '') as_fn_error $?
"missing file argument" ;;
18159 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18160 ac_need_defaults
=false
;;
18161 --header |
--heade |
--head |
--hea )
18164 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18166 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18167 ac_need_defaults
=false
;;
18169 # Conflict between --help and --header
18170 as_fn_error $?
"ambiguous option: \`$1'
18171 Try \`$0 --help' for more information.";;
18172 --help |
--hel |
-h )
18173 $as_echo "$ac_cs_usage"; exit ;;
18174 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18175 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18178 # This is an error.
18179 -*) as_fn_error $?
"unrecognized option: \`$1'
18180 Try \`$0 --help' for more information." ;;
18182 *) as_fn_append ac_config_targets
" $1"
18183 ac_need_defaults
=false
;;
18189 ac_configure_extra_args
=
18191 if $ac_cs_silent; then
18193 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18197 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18198 if \$ac_cs_recheck; then
18199 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18201 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18202 CONFIG_SHELL='$SHELL'
18203 export CONFIG_SHELL
18208 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18212 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18213 ## Running $as_me. ##
18219 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18223 wine_fn_output_makedep ()
18225 as_dir=tools; as_fn_mkdir_p
18226 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18228 wine_fn_output_makefile ()
18230 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
18231 `cat $wine_rules_file`
18233 as_fn_error $? "could not create Makefile" "$LINENO" 5
18235 wine_fn_output_gitignore ()
18237 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18240 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18245 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18247 # Handling of arguments.
18248 for ac_config_target
in $ac_config_targets
18250 case $ac_config_target in
18251 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18252 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18253 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18254 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18255 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18256 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18257 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18258 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18259 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18260 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18261 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
18262 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18263 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18264 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18266 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18271 # If the user did not use the arguments to specify the items to instantiate,
18272 # then the envvar interface is used. Set only those that are not.
18273 # We use the long form for the default assignment because of an extremely
18274 # bizarre bug on SunOS 4.1.3.
18275 if $ac_need_defaults; then
18276 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18277 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18278 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18279 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18282 # Have a temporary directory for convenience. Make it in the build tree
18283 # simply because there is no reason against having it here, and in addition,
18284 # creating and moving files from /tmp can sometimes cause problems.
18285 # Hook for its removal unless debugging.
18286 # Note that there is a small window in which the directory will not be cleaned:
18287 # after its creation but before its name has been assigned to `$tmp'.
18291 trap 'exit_status=$?
18292 : "${ac_tmp:=$tmp}"
18293 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18295 trap 'as_fn_exit 1' 1 2 13 15
18297 # Create a (secure) tmp directory for tmp files.
18300 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18304 tmp
=.
/conf$$
-$RANDOM
18305 (umask 077 && mkdir
"$tmp")
18306 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18309 # Set up the scripts for CONFIG_FILES section.
18310 # No need to generate them if there are no CONFIG_FILES.
18311 # This happens for instance with `./config.status config.h'.
18312 if test -n "$CONFIG_FILES"; then
18315 ac_cr
=`echo X | tr X '\015'`
18316 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18317 # But we know of no other shell where ac_cr would be empty at this
18318 # point, so we can use a bashism as a fallback.
18319 if test "x$ac_cr" = x
; then
18320 eval ac_cr
=\$
\'\\r
\'
18322 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18323 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18326 ac_cs_awk_cr
=$ac_cr
18329 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18334 echo "cat >conf$$subs.awk <<_ACEOF" &&
18335 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18337 } >conf$$subs.sh ||
18338 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18339 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18341 for ac_last_try in false false false false false :; do
18342 . ./conf$$subs.sh ||
18343 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18345 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18346 if test $ac_delim_n = $ac_delim_num; then
18348 elif $ac_last_try; then
18349 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18351 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18354 rm -f conf$$subs.sh
18356 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18357 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18361 s/^/S["/; s
/!.
*/"]=/
18371 s/\(.\{148\}\)..*/\1/
18373 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18378 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18385 s/\(.\{148\}\)..*/\1/
18387 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18391 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18396 ' <conf$$subs.awk | sed '
18401 ' >>$CONFIG_STATUS || ac_write_fail=1
18402 rm -f conf$$subs.awk
18403 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18405 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18406 for (key in S) S_is_set[key] = 1
18412 nfields = split(line, field, "@
")
18414 len = length(field[1])
18415 for (i = 2; i < nfields; i++) {
18417 keylen = length(key)
18418 if (S_is_set[key]) {
18420 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18421 len += length(value) + length(field[++i])
18432 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18433 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18434 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18437 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18438 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18441 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18442 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18443 # trailing colons and then remove the whole line if VPATH becomes empty
18444 # (actually we leave an empty line to preserve line numbers).
18445 if test "x
$srcdir" = x.; then
18446 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18464 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18465 fi # test -n "$CONFIG_FILES"
18467 # Set up the scripts for CONFIG_HEADERS section.
18468 # No need to generate them if there are no CONFIG_HEADERS.
18469 # This happens for instance with `./config.status Makefile'.
18470 if test -n "$CONFIG_HEADERS"; then
18471 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18475 # Transform confdefs.h into an awk script `defines.awk', embedded as
18476 # here-document in config.status, that substitutes the proper values into
18477 # config.h.in to produce config.h.
18479 # Create a delimiter string that does not exist in confdefs.h, to ease
18480 # handling of long lines.
18482 for ac_last_try in false false :; do
18483 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18484 if test -z "$ac_tt"; then
18486 elif $ac_last_try; then
18487 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18489 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18493 # For the awk script, D is an array of macro values keyed by name,
18494 # likewise P contains macro parameters if any. Preserve backslash
18495 # newline sequences.
18497 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18499 s/.\{148\}/&'"$ac_delim"'/g
18502 s/^[ ]*#[ ]*define[ ][ ]*/ /
18509 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18511 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18515 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18516 D["\
1"]=" \
3\\\\\\n
"\\/p
18518 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18523 s/.\{148\}/&'"$ac_delim"'/g
18528 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18531 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18533 ' <confdefs.h | sed '
18534 s/'"$ac_delim"'/"\\\
18535 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18537 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18538 for (key in D) D_is_set[key] = 1
18541 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18543 split(line, arg, " ")
18544 if (arg[1] == "#") {
18548 defundef
= substr
(arg
[1], 2)
18551 split(mac1
, mac2
, "(") #)
18553 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18554 if (D_is_set
[macro
]) {
18555 # Preserve the white space surrounding the "#".
18556 print prefix
"define", macro P
[macro
] D
[macro
]
18559 # Replace #undef with comments. This is necessary, for example,
18560 # in the case of _POSIX_SOURCE, which is predefined and required
18561 # on some systems where configure will not decide to define it.
18562 if (defundef
== "undef") {
18563 print
"/*", prefix defundef
, macro
, "*/"
18571 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18572 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18573 fi # test -n "$CONFIG_HEADERS"
18576 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18581 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18583 case $ac_mode$ac_tag in
18585 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18586 :[FH
]-) ac_tag
=-:-;;
18587 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18604 -) ac_f
="$ac_tmp/stdin";;
18605 *) # Look for the file first in the build tree, then in the source tree
18606 # (if the path is not absolute). The absolute path cannot be DOS-style,
18607 # because $ac_f cannot contain `:'.
18611 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18613 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18615 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18616 as_fn_append ac_file_inputs
" '$ac_f'"
18619 # Let's still pretend it is `configure' which instantiates (i.e., don't
18620 # use $as_me), people would be surprised to read:
18621 # /* config.h. Generated by config.status. */
18622 configure_input
='Generated from '`
18623 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18625 if test x
"$ac_file" != x-
; then
18626 configure_input
="$ac_file. $configure_input"
18627 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18628 $as_echo "$as_me: creating $ac_file" >&6;}
18630 # Neutralize special characters interpreted by sed in replacement strings.
18631 case $configure_input in #(
18632 *\
&* |
*\|
* |
*\\* )
18633 ac_sed_conf_input
=`$as_echo "$configure_input" |
18634 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18635 *) ac_sed_conf_input
=$configure_input;;
18639 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
18640 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
18645 ac_dir
=`$as_dirname -- "$ac_file" ||
18646 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18647 X"$ac_file" : 'X\(//\)[^/]' \| \
18648 X"$ac_file" : 'X\(//\)$' \| \
18649 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18650 $as_echo X"$ac_file" |
18651 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18655 /^X\(\/\/\)[^/].*/{
18668 as_dir
="$ac_dir"; as_fn_mkdir_p
18672 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18674 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18675 # A ".." for each directory in $ac_dir_suffix.
18676 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18677 case $ac_top_builddir_sub in
18678 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18679 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18682 ac_abs_top_builddir
=$ac_pwd
18683 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18684 # for backward compatibility:
18685 ac_top_builddir
=$ac_top_build_prefix
18688 .
) # We are building in place.
18690 ac_top_srcdir
=$ac_top_builddir_sub
18691 ac_abs_top_srcdir
=$ac_pwd ;;
18692 [\\/]* | ?
:[\\/]* ) # Absolute name.
18693 ac_srcdir
=$srcdir$ac_dir_suffix;
18694 ac_top_srcdir
=$srcdir
18695 ac_abs_top_srcdir
=$srcdir ;;
18696 *) # Relative name.
18697 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18698 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18699 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18701 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18712 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18713 # If the template does not know about datarootdir, expand it.
18714 # FIXME: This hack should be removed a few years after 2.60.
18715 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18726 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18727 *datarootdir
*) ac_datarootdir_seen
=yes;;
18728 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18730 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18732 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18733 ac_datarootdir_hack='
18734 s&@datadir@&$datadir&g
18735 s&@docdir@&$docdir&g
18736 s&@infodir@&$infodir&g
18737 s&@localedir@&$localedir&g
18738 s&@mandir@&$mandir&g
18739 s&\\\${datarootdir}&$datarootdir&g' ;;
18743 # Neutralize VPATH when `$srcdir' = `.'.
18744 # Shell code in configure.ac might set extrasub.
18745 # FIXME: do we really want to maintain this feature?
18746 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18747 ac_sed_extra="$ac_vpsub
18750 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18752 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18753 s|@configure_input@|
$ac_sed_conf_input|
;t t
18754 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18755 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18756 s
&@srcdir@
&$ac_srcdir&;t t
18757 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18758 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18759 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18760 s
&@builddir@
&$ac_builddir&;t t
18761 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18762 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18763 $ac_datarootdir_hack
18765 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
18766 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18768 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18769 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
18770 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18771 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
18772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18773 which seems to be undefined. Please make sure it is defined" >&5
18774 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18775 which seems to be undefined. Please make sure it is defined" >&2;}
18777 rm -f "$ac_tmp/stdin"
18779 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18780 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18782 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18788 if test x"$ac_file" != x-; then
18790 $as_echo "/* $configure_input */" \
18791 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18792 } >"$ac_tmp/config.h" \
18793 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18794 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18795 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18796 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18799 mv "$ac_tmp/config.h" "$ac_file" \
18800 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18803 $as_echo "/* $configure_input */" \
18804 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18805 || as_fn_error $? "could not create -" "$LINENO" 5
18813 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
18816 # Prefer the file from the source tree if names are identical.
18817 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18818 ac_source=$srcdir/$ac_source
18821 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18822 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18824 if test ! -r "$ac_source"; then
18825 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18829 # Try a relative symlink, then a hard link, then a copy.
18831 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18832 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18834 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18835 ln "$ac_source" "$ac_file" 2>/dev/null ||
18836 cp -p "$ac_source" "$ac_file" ||
18837 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18840 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18841 $as_echo "$as_me: executing $ac_file commands" >&6;}
18846 case $ac_file$ac_mode in
18847 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18848 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
18849 "Makefile":C) wine_fn_output_makefile Makefile ;;
18850 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
18858 ac_clean_files=$ac_clean_files_save
18860 test $ac_write_fail = 0 ||
18861 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18864 # configure is writing to config.log, and then calls config.status.
18865 # config.status does its own redirection, appending to config.log.
18866 # Unfortunately, on DOS this fails, as config.log is still kept open
18867 # by configure, so config.status won't be able to
write to it
; its
18868 # output is simply discarded. So we exec the FD to /dev/null,
18869 # effectively closing config.log, so it can be properly (re)opened and
18870 # appended to by config.status. When coming back to configure, we
18871 # need to make the FD available again.
18872 if test "$no_create" != yes; then
18874 ac_config_status_args
=
18875 test "$silent" = yes &&
18876 ac_config_status_args
="$ac_config_status_args --quiet"
18878 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18880 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18881 # would make configure fail if this is the last instruction.
18882 $ac_cs_success || as_fn_exit
1
18884 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18886 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18890 if test "$no_create" = "yes"
18896 if test "x$wine_notices != "x
; then
18899 for msg
in $wine_notices; do
18901 if ${msg+:} false
; then :
18902 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
18903 $as_echo "$as_me: $msg" >&6;}
18908 for msg
in $wine_warnings; do
18910 if ${msg+:} false
; then :
18912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
18913 $as_echo "$as_me: WARNING: $msg" >&2;}
18919 $as_me: Finished. Do '${ac_make}' to compile Wine.