2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.19.
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.19'
584 PACKAGE_STRING
='Wine 1.7.19'
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
1028 enable_explorerframe
1029 enable_ext_ms_win_gdi_devcaps_l1_1_0
1172 enable_photometadatahandler
1252 enable_windowscodecs
1253 enable_windowscodecsext
1255 enable_winecoreaudio_drv
1257 enable_winegstreamer
1258 enable_winejoystick_drv
1264 enable_wineqtdecoder
1300 enable_documentation
1308 enable_aspnet_regiis
1341 enable_presentationfontcache
1354 enable_servicemodelreg
1374 enable_winemenubuilder
1376 enable_winemsibuilder
1390 ac_precious_vars
='build_alias
1439 # Initialize some variables set by options.
1441 ac_init_version
=false
1442 ac_unrecognized_opts
=
1443 ac_unrecognized_sep
=
1444 # The variables have the same names as the options, with
1445 # dashes changed to underlines.
1446 cache_file
=/dev
/null
1453 program_transform_name
=s
,x
,x
,
1461 # Installation directory options.
1462 # These are left unexpanded so users can "make install exec_prefix=/foo"
1463 # and all the variables that are supposed to be based on exec_prefix
1464 # by default will actually change.
1465 # Use braces instead of parens because sh, perl, etc. also accept them.
1466 # (The list follows the same order as the GNU Coding Standards.)
1467 bindir
='${exec_prefix}/bin'
1468 sbindir
='${exec_prefix}/sbin'
1469 libexecdir
='${exec_prefix}/libexec'
1470 datarootdir
='${prefix}/share'
1471 datadir
='${datarootdir}'
1472 sysconfdir
='${prefix}/etc'
1473 sharedstatedir
='${prefix}/com'
1474 localstatedir
='${prefix}/var'
1475 includedir
='${prefix}/include'
1476 oldincludedir
='/usr/include'
1477 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1478 infodir
='${datarootdir}/info'
1483 libdir
='${exec_prefix}/lib'
1484 localedir
='${datarootdir}/locale'
1485 mandir
='${datarootdir}/man'
1491 # If the previous option needs an argument, assign it.
1492 if test -n "$ac_prev"; then
1493 eval $ac_prev=\
$ac_option
1499 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1504 # Accept the important Cygnus configure options, so we can diagnose typos.
1506 case $ac_dashdash$ac_option in
1510 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1512 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1513 bindir
=$ac_optarg ;;
1515 -build |
--build |
--buil |
--bui |
--bu)
1516 ac_prev
=build_alias
;;
1517 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1518 build_alias
=$ac_optarg ;;
1520 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1521 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1522 ac_prev
=cache_file
;;
1523 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1524 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1525 cache_file
=$ac_optarg ;;
1527 --config-cache |
-C)
1528 cache_file
=config.cache
;;
1530 -datadir |
--datadir |
--datadi |
--datad)
1532 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1533 datadir
=$ac_optarg ;;
1535 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1536 |
--dataroo |
--dataro |
--datar)
1537 ac_prev
=datarootdir
;;
1538 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1539 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1540 datarootdir
=$ac_optarg ;;
1542 -disable-* |
--disable-*)
1543 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1544 # Reject names that are not valid shell variable names.
1545 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1546 as_fn_error $?
"invalid feature name: $ac_useropt"
1547 ac_useropt_orig
=$ac_useropt
1548 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1549 case $ac_user_opts in
1551 "enable_
$ac_useropt"
1553 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1554 ac_unrecognized_sep
=', ';;
1556 eval enable_
$ac_useropt=no
;;
1558 -docdir |
--docdir |
--docdi |
--doc |
--do)
1560 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1561 docdir
=$ac_optarg ;;
1563 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1565 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1566 dvidir
=$ac_optarg ;;
1568 -enable-* |
--enable-*)
1569 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1570 # Reject names that are not valid shell variable names.
1571 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1572 as_fn_error $?
"invalid feature name: $ac_useropt"
1573 ac_useropt_orig
=$ac_useropt
1574 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1575 case $ac_user_opts in
1577 "enable_
$ac_useropt"
1579 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1580 ac_unrecognized_sep
=', ';;
1582 eval enable_
$ac_useropt=\
$ac_optarg ;;
1584 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1585 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1586 |
--exec |
--exe |
--ex)
1587 ac_prev
=exec_prefix
;;
1588 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1589 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1590 |
--exec=* |
--exe=* |
--ex=*)
1591 exec_prefix
=$ac_optarg ;;
1593 -gas |
--gas |
--ga |
--g)
1594 # Obsolete; use --with-gas.
1597 -help |
--help |
--hel |
--he |
-h)
1598 ac_init_help
=long
;;
1599 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1600 ac_init_help
=recursive
;;
1601 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1602 ac_init_help
=short
;;
1604 -host |
--host |
--hos |
--ho)
1605 ac_prev
=host_alias
;;
1606 -host=* |
--host=* |
--hos=* |
--ho=*)
1607 host_alias
=$ac_optarg ;;
1609 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1611 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1613 htmldir
=$ac_optarg ;;
1615 -includedir |
--includedir |
--includedi |
--included |
--include \
1616 |
--includ |
--inclu |
--incl |
--inc)
1617 ac_prev
=includedir
;;
1618 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1619 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1620 includedir
=$ac_optarg ;;
1622 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1624 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1625 infodir
=$ac_optarg ;;
1627 -libdir |
--libdir |
--libdi |
--libd)
1629 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1630 libdir
=$ac_optarg ;;
1632 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1633 |
--libexe |
--libex |
--libe)
1634 ac_prev
=libexecdir
;;
1635 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1636 |
--libexe=* |
--libex=* |
--libe=*)
1637 libexecdir
=$ac_optarg ;;
1639 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1640 ac_prev
=localedir
;;
1641 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1642 localedir
=$ac_optarg ;;
1644 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1645 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1646 ac_prev
=localstatedir
;;
1647 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1648 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1649 localstatedir
=$ac_optarg ;;
1651 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1653 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1654 mandir
=$ac_optarg ;;
1656 -nfp |
--nfp |
--nf)
1657 # Obsolete; use --without-fp.
1660 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1661 |
--no-cr |
--no-c |
-n)
1664 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1665 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1668 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1669 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1670 |
--oldin |
--oldi |
--old |
--ol |
--o)
1671 ac_prev
=oldincludedir
;;
1672 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1673 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1674 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1675 oldincludedir
=$ac_optarg ;;
1677 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1679 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1680 prefix
=$ac_optarg ;;
1682 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1683 |
--program-pre |
--program-pr |
--program-p)
1684 ac_prev
=program_prefix
;;
1685 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1686 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1687 program_prefix
=$ac_optarg ;;
1689 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1690 |
--program-suf |
--program-su |
--program-s)
1691 ac_prev
=program_suffix
;;
1692 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1693 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1694 program_suffix
=$ac_optarg ;;
1696 -program-transform-name |
--program-transform-name \
1697 |
--program-transform-nam |
--program-transform-na \
1698 |
--program-transform-n |
--program-transform- \
1699 |
--program-transform |
--program-transfor \
1700 |
--program-transfo |
--program-transf \
1701 |
--program-trans |
--program-tran \
1702 |
--progr-tra |
--program-tr |
--program-t)
1703 ac_prev
=program_transform_name
;;
1704 -program-transform-name=* |
--program-transform-name=* \
1705 |
--program-transform-nam=* |
--program-transform-na=* \
1706 |
--program-transform-n=* |
--program-transform-=* \
1707 |
--program-transform=* |
--program-transfor=* \
1708 |
--program-transfo=* |
--program-transf=* \
1709 |
--program-trans=* |
--program-tran=* \
1710 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1711 program_transform_name
=$ac_optarg ;;
1713 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1715 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1716 pdfdir
=$ac_optarg ;;
1718 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1720 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1723 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1724 |
-silent |
--silent |
--silen |
--sile |
--sil)
1727 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1729 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1731 sbindir
=$ac_optarg ;;
1733 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1734 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1735 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1737 ac_prev
=sharedstatedir
;;
1738 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1739 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1740 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1742 sharedstatedir
=$ac_optarg ;;
1744 -site |
--site |
--sit)
1746 -site=* |
--site=* |
--sit=*)
1749 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1751 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1752 srcdir
=$ac_optarg ;;
1754 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1755 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1756 ac_prev
=sysconfdir
;;
1757 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1758 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1759 sysconfdir
=$ac_optarg ;;
1761 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1762 ac_prev
=target_alias
;;
1763 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1764 target_alias
=$ac_optarg ;;
1766 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1769 -version |
--version |
--versio |
--versi |
--vers |
-V)
1770 ac_init_version
=: ;;
1773 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1774 # Reject names that are not valid shell variable names.
1775 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1776 as_fn_error $?
"invalid package name: $ac_useropt"
1777 ac_useropt_orig
=$ac_useropt
1778 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1779 case $ac_user_opts in
1783 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1784 ac_unrecognized_sep
=', ';;
1786 eval with_
$ac_useropt=\
$ac_optarg ;;
1788 -without-* |
--without-*)
1789 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1790 # Reject names that are not valid shell variable names.
1791 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1792 as_fn_error $?
"invalid package name: $ac_useropt"
1793 ac_useropt_orig
=$ac_useropt
1794 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1795 case $ac_user_opts in
1799 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1800 ac_unrecognized_sep
=', ';;
1802 eval with_
$ac_useropt=no
;;
1805 # Obsolete; use --with-x.
1808 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1809 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1810 ac_prev
=x_includes
;;
1811 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1812 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1813 x_includes
=$ac_optarg ;;
1815 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1816 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1817 ac_prev
=x_libraries
;;
1818 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1819 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1820 x_libraries
=$ac_optarg ;;
1822 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1823 Try \`$0 --help' for more information"
1827 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1828 # Reject names that are not valid shell variable names.
1829 case $ac_envvar in #(
1830 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1831 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1833 eval $ac_envvar=\
$ac_optarg
1834 export $ac_envvar ;;
1837 # FIXME: should be removed in autoconf 3.0.
1838 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1839 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1840 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1841 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1847 if test -n "$ac_prev"; then
1848 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1849 as_fn_error $?
"missing argument to $ac_option"
1852 if test -n "$ac_unrecognized_opts"; then
1853 case $enable_option_checking in
1855 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1856 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1860 # Check all directory arguments for consistency.
1861 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1862 datadir sysconfdir sharedstatedir localstatedir includedir \
1863 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1864 libdir localedir mandir
1866 eval ac_val
=\$
$ac_var
1867 # Remove trailing slashes.
1870 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1871 eval $ac_var=\
$ac_val;;
1873 # Be sure to have absolute directory names.
1875 [\\/$
]* | ?
:[\\/]* ) continue;;
1876 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1878 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1881 # There might be people who depend on the old broken behavior: `$host'
1882 # used to hold the argument of --host etc.
1883 # FIXME: To remove some day.
1886 target
=$target_alias
1888 # FIXME: To remove some day.
1889 if test "x$host_alias" != x
; then
1890 if test "x$build_alias" = x
; then
1891 cross_compiling
=maybe
1892 elif test "x$build_alias" != "x$host_alias"; then
1898 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1900 test "$silent" = yes && exec 6>/dev
/null
1903 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1904 ac_ls_di
=`ls -di .` &&
1905 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1906 as_fn_error $?
"working directory cannot be determined"
1907 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1908 as_fn_error $?
"pwd does not report name of working directory"
1911 # Find the source files, if location was not specified.
1912 if test -z "$srcdir"; then
1913 ac_srcdir_defaulted
=yes
1914 # Try the directory containing this script, then the parent directory.
1915 ac_confdir
=`$as_dirname -- "$as_myself" ||
1916 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1917 X"$as_myself" : 'X\(//\)[^/]' \| \
1918 X"$as_myself" : 'X\(//\)$' \| \
1919 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1920 $as_echo X"$as_myself" |
1921 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1939 if test ! -r "$srcdir/$ac_unique_file"; then
1943 ac_srcdir_defaulted
=no
1945 if test ! -r "$srcdir/$ac_unique_file"; then
1946 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1947 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1949 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1951 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1953 # When building in place, set srcdir=.
1954 if test "$ac_abs_confdir" = "$ac_pwd"; then
1957 # Remove unnecessary trailing slashes from srcdir.
1958 # Double slashes in file names in object file debugging info
1959 # mess up M-x gdb in Emacs.
1961 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1963 for ac_var
in $ac_precious_vars; do
1964 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1965 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1966 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1967 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1971 # Report the --help message.
1973 if test "$ac_init_help" = "long"; then
1974 # Omit some internal or obsolete options to make the list less imposing.
1975 # This message is too long to be a string in the A/UX 3.1 sh.
1977 \`configure' configures Wine 1.7.19 to adapt to many kinds of systems.
1979 Usage: $0 [OPTION]... [VAR=VALUE]...
1981 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1982 VAR=VALUE. See below for descriptions of some of the useful variables.
1984 Defaults for the options are specified in brackets.
1987 -h, --help display this help and exit
1988 --help=short display options specific to this package
1989 --help=recursive display the short help of all the included packages
1990 -V, --version display version information and exit
1991 -q, --quiet, --silent do not print \`checking ...' messages
1992 --cache-file=FILE cache test results in FILE [disabled]
1993 -C, --config-cache alias for \`--cache-file=config.cache'
1994 -n, --no-create do not create output files
1995 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1997 Installation directories:
1998 --prefix=PREFIX install architecture-independent files in PREFIX
1999 [$ac_default_prefix]
2000 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2003 By default, \`make install' will install all the files in
2004 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2005 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2006 for instance \`--prefix=\$HOME'.
2008 For better control, use the options below.
2010 Fine tuning of the installation directories:
2011 --bindir=DIR user executables [EPREFIX/bin]
2012 --sbindir=DIR system admin executables [EPREFIX/sbin]
2013 --libexecdir=DIR program executables [EPREFIX/libexec]
2014 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2015 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2016 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2017 --libdir=DIR object code libraries [EPREFIX/lib]
2018 --includedir=DIR C header files [PREFIX/include]
2019 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2020 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2021 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2022 --infodir=DIR info documentation [DATAROOTDIR/info]
2023 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2024 --mandir=DIR man documentation [DATAROOTDIR/man]
2025 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2026 --htmldir=DIR html documentation [DOCDIR]
2027 --dvidir=DIR dvi documentation [DOCDIR]
2028 --pdfdir=DIR pdf documentation [DOCDIR]
2029 --psdir=DIR ps documentation [DOCDIR]
2035 --x-includes=DIR X include files are
in DIR
2036 --x-libraries=DIR X library files are
in DIR
2039 --build=BUILD configure
for building on BUILD
[guessed
]
2040 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2044 if test -n "$ac_init_help"; then
2045 case $ac_init_help in
2046 short | recursive
) echo "Configuration of Wine 1.7.19:";;
2051 --disable-option-checking ignore unrecognized
--enable/--with options
2052 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2053 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2054 --disable-win16 do not include Win16 support
2055 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2057 --disable-tests do not build the regression tests
2058 --enable-maintainer-mode
2059 enable maintainer-specific build rules
2060 --disable-largefile omit support for large files
2063 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2064 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2065 --without-alsa do not use the Alsa sound support
2066 --without-capi do not use CAPI (ISDN support)
2067 --without-cms do not use CMS (color management support)
2068 --without-coreaudio do not use the CoreAudio sound support
2069 --without-cups do not use CUPS
2070 --without-curses do not use (n)curses
2071 --without-dbus do not use DBus (dynamic device support)
2072 --without-fontconfig do not use fontconfig
2073 --without-freetype do not use the FreeType library
2074 --without-gettext do not use gettext
2075 --with-gettextpo use the GetTextPO library to rebuild po files
2076 --without-gphoto do not use gphoto (Digital Camera support)
2077 --without-glu do not use the GLU library
2078 --without-gnutls do not use GnuTLS (schannel support)
2079 --without-gsm do not use libgsm (GSM 06.10 codec support)
2080 --without-gstreamer do not use GStreamer (codecs support)
2081 --without-hal do not use HAL (dynamic device support)
2082 --without-jpeg do not use JPEG
2083 --without-ldap do not use LDAP
2084 --without-mpg123 do not use the mpg123 library
2085 --without-netapi do not use the Samba NetAPI library
2086 --without-openal do not use OpenAL
2087 --without-opencl do not use OpenCL
2088 --without-opengl do not use OpenGL
2089 --without-osmesa do not use the OSMesa library
2090 --without-oss do not use the OSS sound support
2091 --without-png do not use PNG
2092 --without-pthread do not use the pthread library
2093 --without-sane do not use SANE (scanner support)
2094 --without-tiff do not use TIFF
2095 --without-v4l do not use v4l1 (v4l support)
2096 --without-xcomposite do not use the Xcomposite extension
2097 --without-xcursor do not use the Xcursor extension
2098 --without-xinerama do not use Xinerama (multi-monitor support)
2099 --without-xinput do not use the Xinput extension
2100 --without-xinput2 do not use the Xinput 2 extension
2101 --without-xml do not use XML
2102 --without-xrandr do not use Xrandr (resolution changes)
2103 --without-xrender do not use the Xrender extension
2104 --without-xshape do not use the Xshape extension
2105 --without-xshm do not use XShm (shared memory extension)
2106 --without-xslt do not use XSLT
2107 --without-xxf86vm do not use XFree video mode extension
2108 --without-zlib do not use Zlib (data compression)
2109 --with-wine-tools=DIR use Wine tools from directory DIR
2110 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2111 --with-x use the X Window System
2113 Some influential environment variables:
2114 CC C compiler command
2115 CFLAGS C compiler flags
2116 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2117 nonstandard directory <lib dir>
2118 LIBS libraries to pass to the linker, e.g. -l<library>
2119 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2120 you have headers in a nonstandard directory <include dir>
2121 CXX C++ compiler command
2122 CXXFLAGS C++ compiler flags
2124 XMKMF Path to xmkmf, Makefile generator for X Window System
2125 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2126 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2127 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2128 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2129 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2130 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2131 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2132 HAL_LIBS Linker flags for hal, overriding pkg-config
2134 C compiler flags for gnutls, overriding pkg-config
2135 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2136 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2137 SANE_LIBS Linker flags for libsane, overriding pkg-config
2139 C compiler flags for libgphoto2, overriding pkg-config
2141 Linker flags for libgphoto2, overriding pkg-config
2143 C compiler flags for libgphoto2_port, overriding pkg-config
2145 Linker flags for libgphoto2_port, overriding pkg-config
2147 C compiler flags for lcms2, overriding pkg-config
2148 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2150 C compiler flags for freetype2, overriding pkg-config
2152 Linker flags for freetype2, overriding pkg-config
2154 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2156 Linker flags for gstreamer-app-0.10, overriding pkg-config
2158 C compiler flags for capi20, overriding pkg-config
2159 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2161 C compiler flags for fontconfig, overriding pkg-config
2163 Linker flags for fontconfig, overriding pkg-config
2164 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2165 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2166 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2167 PNG_LIBS Linker flags for libpng, overriding pkg-config
2168 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2169 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2171 C compiler flags for libmpg123, overriding pkg-config
2172 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2174 Use these variables to override the choices made by `configure' or to
help
2175 it to
find libraries and programs with nonstandard names
/locations.
2177 Report bugs to
<wine-devel@winehq.org
>.
2178 Wine home page
: <http
://www.winehq.org
>.
2183 if test "$ac_init_help" = "recursive"; then
2184 # If there are subdirs, report their specific --help.
2185 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2186 test -d "$ac_dir" ||
2187 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2192 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2194 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2195 # A ".." for each directory in $ac_dir_suffix.
2196 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2197 case $ac_top_builddir_sub in
2198 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2199 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2202 ac_abs_top_builddir
=$ac_pwd
2203 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2204 # for backward compatibility:
2205 ac_top_builddir
=$ac_top_build_prefix
2208 .
) # We are building in place.
2210 ac_top_srcdir
=$ac_top_builddir_sub
2211 ac_abs_top_srcdir
=$ac_pwd ;;
2212 [\\/]* | ?
:[\\/]* ) # Absolute name.
2213 ac_srcdir
=$srcdir$ac_dir_suffix;
2214 ac_top_srcdir
=$srcdir
2215 ac_abs_top_srcdir
=$srcdir ;;
2217 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2218 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2219 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2221 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2223 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2224 # Check for guested configure.
2225 if test -f "$ac_srcdir/configure.gnu"; then
2227 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2228 elif test -f "$ac_srcdir/configure"; then
2230 $SHELL "$ac_srcdir/configure" --help=recursive
2232 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2234 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2238 test -n "$ac_init_help" && exit $ac_status
2239 if $ac_init_version; then
2241 Wine configure
1.7.19
2242 generated by GNU Autoconf
2.69
2244 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2245 This configure
script is free software
; the Free Software Foundation
2246 gives unlimited permission to copy
, distribute and modify it.
2251 ## ------------------------ ##
2252 ## Autoconf initialization. ##
2253 ## ------------------------ ##
2255 # ac_fn_c_try_compile LINENO
2256 # --------------------------
2257 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2258 ac_fn_c_try_compile
()
2260 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2261 rm -f conftest.
$ac_objext
2262 if { { ac_try
="$ac_compile"
2264 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2265 *) ac_try_echo=$ac_try;;
2267 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2268 $as_echo "$ac_try_echo"; } >&5
2269 (eval "$ac_compile") 2>conftest.err
2271 if test -s conftest.err; then
2272 grep -v '^ *+' conftest.err >conftest.er1
2273 cat conftest.er1 >&5
2274 mv -f conftest.er1 conftest.err
2276 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2277 test $ac_status = 0; } && {
2278 test -z "$ac_c_werror_flag" ||
2279 test ! -s conftest.err
2280 } && test -s conftest.$ac_objext; then :
2283 $as_echo "$as_me: failed program was:" >&5
2284 sed 's/^/| /' conftest.$ac_ext >&5
2288 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2289 as_fn_set_status $ac_retval
2291 } # ac_fn_c_try_compile
2293 # ac_fn_cxx_try_compile LINENO
2294 # ----------------------------
2295 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2296 ac_fn_cxx_try_compile ()
2298 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2299 rm -f conftest.$ac_objext
2300 if { { ac_try="$ac_compile"
2302 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2303 *) ac_try_echo
=$ac_try;;
2305 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2306 $as_echo "$ac_try_echo"; } >&5
2307 (eval "$ac_compile") 2>conftest.err
2309 if test -s conftest.err
; then
2310 grep -v '^ *+' conftest.err
>conftest.er1
2311 cat conftest.er1
>&5
2312 mv -f conftest.er1 conftest.err
2314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2315 test $ac_status = 0; } && {
2316 test -z "$ac_cxx_werror_flag" ||
2317 test ! -s conftest.err
2318 } && test -s conftest.
$ac_objext; then :
2321 $as_echo "$as_me: failed program was:" >&5
2322 sed 's/^/| /' conftest.
$ac_ext >&5
2326 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2327 as_fn_set_status
$ac_retval
2329 } # ac_fn_cxx_try_compile
2331 # ac_fn_c_try_link LINENO
2332 # -----------------------
2333 # Try to link conftest.$ac_ext, and return whether this succeeded.
2336 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2337 rm -f conftest.
$ac_objext conftest
$ac_exeext
2338 if { { ac_try
="$ac_link"
2340 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2341 *) ac_try_echo=$ac_try;;
2343 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2344 $as_echo "$ac_try_echo"; } >&5
2345 (eval "$ac_link") 2>conftest.err
2347 if test -s conftest.err; then
2348 grep -v '^ *+' conftest.err >conftest.er1
2349 cat conftest.er1 >&5
2350 mv -f conftest.er1 conftest.err
2352 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2353 test $ac_status = 0; } && {
2354 test -z "$ac_c_werror_flag" ||
2355 test ! -s conftest.err
2356 } && test -s conftest$ac_exeext && {
2357 test "$cross_compiling" = yes ||
2358 test -x conftest$ac_exeext
2362 $as_echo "$as_me: failed program was:" >&5
2363 sed 's/^/| /' conftest.$ac_ext >&5
2367 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2368 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2369 # interfere with the next link command; also delete a directory that is
2370 # left behind by Apple's compiler. We do this before executing the actions.
2371 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2372 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2373 as_fn_set_status $ac_retval
2375 } # ac_fn_c_try_link
2377 # ac_fn_c_try_cpp LINENO
2378 # ----------------------
2379 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2382 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2383 if { { ac_try="$ac_cpp conftest.$ac_ext"
2385 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2386 *) ac_try_echo
=$ac_try;;
2388 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2389 $as_echo "$ac_try_echo"; } >&5
2390 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2392 if test -s conftest.err
; then
2393 grep -v '^ *+' conftest.err
>conftest.er1
2394 cat conftest.er1
>&5
2395 mv -f conftest.er1 conftest.err
2397 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2398 test $ac_status = 0; } > conftest.i
&& {
2399 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2400 test ! -s conftest.err
2404 $as_echo "$as_me: failed program was:" >&5
2405 sed 's/^/| /' conftest.
$ac_ext >&5
2409 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2410 as_fn_set_status
$ac_retval
2414 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2415 # -------------------------------------------------------
2416 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2417 # the include files in INCLUDES and setting the cache variable VAR
2419 ac_fn_c_check_header_mongrel
()
2421 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2422 if eval \
${$3+:} false
; then :
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2424 $as_echo_n "checking for $2... " >&6; }
2425 if eval \
${$3+:} false
; then :
2426 $as_echo_n "(cached) " >&6
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2430 $as_echo "$ac_res" >&6; }
2432 # Is the header compilable?
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2434 $as_echo_n "checking $2 usability... " >&6; }
2435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2436 /* end confdefs.h. */
2440 if ac_fn_c_try_compile
"$LINENO"; then :
2441 ac_header_compiler
=yes
2443 ac_header_compiler
=no
2445 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2447 $as_echo "$ac_header_compiler" >&6; }
2449 # Is the header present?
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2451 $as_echo_n "checking $2 presence... " >&6; }
2452 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2453 /* end confdefs.h. */
2456 if ac_fn_c_try_cpp
"$LINENO"; then :
2457 ac_header_preproc
=yes
2459 ac_header_preproc
=no
2461 rm -f conftest.err conftest.i conftest.
$ac_ext
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2463 $as_echo "$ac_header_preproc" >&6; }
2465 # So? What about this header?
2466 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2469 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2471 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2475 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2477 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2479 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2481 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2483 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2484 ( $as_echo "## ------------------------------------ ##
2485 ## Report this to wine-devel@winehq.org ##
2486 ## ------------------------------------ ##"
2487 ) |
sed "s/^/$as_me: WARNING: /" >&2
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2491 $as_echo_n "checking for $2... " >&6; }
2492 if eval \
${$3+:} false
; then :
2493 $as_echo_n "(cached) " >&6
2495 eval "$3=\$ac_header_compiler"
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2499 $as_echo "$ac_res" >&6; }
2501 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2503 } # ac_fn_c_check_header_mongrel
2505 # ac_fn_c_try_run LINENO
2506 # ----------------------
2507 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2508 # that executables *can* be run.
2511 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2512 if { { ac_try
="$ac_link"
2514 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2515 *) ac_try_echo=$ac_try;;
2517 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2518 $as_echo "$ac_try_echo"; } >&5
2519 (eval "$ac_link") 2>&5
2521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2522 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2523 { { case "(($ac_try" in
2524 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2525 *) ac_try_echo
=$ac_try;;
2527 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2528 $as_echo "$ac_try_echo"; } >&5
2529 (eval "$ac_try") 2>&5
2531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2532 test $ac_status = 0; }; }; then :
2535 $as_echo "$as_me: program exited with status $ac_status" >&5
2536 $as_echo "$as_me: failed program was:" >&5
2537 sed 's/^/| /' conftest.
$ac_ext >&5
2539 ac_retval
=$ac_status
2541 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2542 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2543 as_fn_set_status
$ac_retval
2547 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2548 # -------------------------------------------------------
2549 # Tests whether HEADER exists and can be compiled using the include files in
2550 # INCLUDES, setting the cache variable VAR accordingly.
2551 ac_fn_c_check_header_compile
()
2553 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2555 $as_echo_n "checking for $2... " >&6; }
2556 if eval \
${$3+:} false
; then :
2557 $as_echo_n "(cached) " >&6
2559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2560 /* end confdefs.h. */
2564 if ac_fn_c_try_compile
"$LINENO"; then :
2569 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2573 $as_echo "$ac_res" >&6; }
2574 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2576 } # ac_fn_c_check_header_compile
2578 # ac_fn_c_check_func LINENO FUNC VAR
2579 # ----------------------------------
2580 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2581 ac_fn_c_check_func
()
2583 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2585 $as_echo_n "checking for $2... " >&6; }
2586 if eval \
${$3+:} false
; then :
2587 $as_echo_n "(cached) " >&6
2589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2590 /* end confdefs.h. */
2591 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2592 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2593 #define $2 innocuous_$2
2595 /* System header to define __stub macros and hopefully few prototypes,
2596 which can conflict with char $2 (); below.
2597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2598 <limits.h> exists even on freestanding compilers. */
2601 # include <limits.h>
2603 # include <assert.h>
2608 /* Override any GCC internal prototype to avoid an error.
2609 Use char because int might match the return type of a GCC
2610 builtin and then its argument prototype would still apply. */
2615 /* The GNU C library defines this for functions which it implements
2616 to always fail with ENOSYS. Some functions are actually named
2617 something starting with __ and the normal name is an alias. */
2618 #if defined __stub_$2 || defined __stub___$2
2630 if ac_fn_c_try_link
"$LINENO"; then :
2635 rm -f core conftest.err conftest.
$ac_objext \
2636 conftest
$ac_exeext conftest.
$ac_ext
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2640 $as_echo "$ac_res" >&6; }
2641 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2643 } # ac_fn_c_check_func
2645 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2646 # ----------------------------------------------------
2647 # Tries to find if the field MEMBER exists in type AGGR, after including
2648 # INCLUDES, setting cache variable VAR accordingly.
2649 ac_fn_c_check_member
()
2651 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2653 $as_echo_n "checking for $2.$3... " >&6; }
2654 if eval \
${$4+:} false
; then :
2655 $as_echo_n "(cached) " >&6
2657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2658 /* end confdefs.h. */
2670 if ac_fn_c_try_compile
"$LINENO"; then :
2673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2674 /* end confdefs.h. */
2680 if (sizeof ac_aggr.$3)
2686 if ac_fn_c_try_compile
"$LINENO"; then :
2691 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2693 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2697 $as_echo "$ac_res" >&6; }
2698 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2700 } # ac_fn_c_check_member
2702 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2703 # -------------------------------------------
2704 # Tests whether TYPE exists after having included INCLUDES, setting cache
2705 # variable VAR accordingly.
2706 ac_fn_c_check_type
()
2708 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2710 $as_echo_n "checking for $2... " >&6; }
2711 if eval \
${$3+:} false
; then :
2712 $as_echo_n "(cached) " >&6
2715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2716 /* end confdefs.h. */
2727 if ac_fn_c_try_compile
"$LINENO"; then :
2728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2729 /* end confdefs.h. */
2740 if ac_fn_c_try_compile
"$LINENO"; then :
2745 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2747 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2751 $as_echo "$ac_res" >&6; }
2752 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2754 } # ac_fn_c_check_type
2755 cat >config.log
<<_ACEOF
2756 This file contains any messages produced by compilers while
2757 running configure, to aid debugging if configure makes a mistake.
2759 It was created by Wine $as_me 1.7.19, which was
2760 generated by GNU Autoconf 2.69. Invocation command line was
2772 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2773 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2774 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2775 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2776 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2778 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2779 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2781 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2782 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2783 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2784 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2785 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2786 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2787 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2791 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2795 test -z "$as_dir" && as_dir
=.
2796 $as_echo "PATH: $as_dir"
2812 # Keep a trace of the command line.
2813 # Strip out --no-create and --no-recursion so they do not pile up.
2814 # Strip out --silent because we don't want to record it for future runs.
2815 # Also quote any args containing shell meta-characters.
2816 # Make two passes to allow for proper duplicate-argument suppression.
2820 ac_must_keep_next
=false
2826 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2827 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2828 |
-silent |
--silent |
--silen |
--sile |
--sil)
2831 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2834 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2836 as_fn_append ac_configure_args1
" '$ac_arg'"
2837 if test $ac_must_keep_next = true
; then
2838 ac_must_keep_next
=false
# Got value, back to normal.
2841 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2842 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2843 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2844 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2845 case "$ac_configure_args0 " in
2846 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2849 -* ) ac_must_keep_next
=true
;;
2852 as_fn_append ac_configure_args
" '$ac_arg'"
2857 { ac_configure_args0
=; unset ac_configure_args0
;}
2858 { ac_configure_args1
=; unset ac_configure_args1
;}
2860 # When interrupted or exit'd, cleanup temporary files, and complete
2861 # config.log. We remove comments because anyway the quotes in there
2862 # would cause problems or look ugly.
2863 # WARNING: Use '\'' to represent an apostrophe within the trap.
2864 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2865 trap 'exit_status=$?
2866 # Save into config.log some information that might help in debugging.
2870 $as_echo "## ---------------- ##
2871 ## Cache variables. ##
2872 ## ---------------- ##"
2874 # The following way of writing the cache mishandles newlines in values,
2876 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2877 eval ac_val=\$$ac_var
2881 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2882 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2885 _ | IFS | as_nl) ;; #(
2886 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2887 *) { eval $ac_var=; unset $ac_var;} ;;
2892 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2893 *${as_nl}ac_space=\ *)
2895 "s/'\''/'\''\\\\'\'''\''/g;
2896 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2899 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2906 $as_echo "## ----------------- ##
2907 ## Output variables. ##
2908 ## ----------------- ##"
2910 for ac_var in $ac_subst_vars
2912 eval ac_val=\$$ac_var
2914 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2916 $as_echo "$ac_var='\''$ac_val'\''"
2920 if test -n "$ac_subst_files"; then
2921 $as_echo "## ------------------- ##
2922 ## File substitutions. ##
2923 ## ------------------- ##"
2925 for ac_var
in $ac_subst_files
2927 eval ac_val
=\$
$ac_var
2929 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2931 $as_echo "$ac_var='\''$ac_val'\''"
2936 if test -s confdefs.h; then
2937 $as_echo "## ----------- ##
2944 test "$ac_signal" != 0 &&
2945 $as_echo "$as_me: caught signal $ac_signal"
2946 $as_echo "$as_me: exit $exit_status"
2948 rm -f core *.core core.conftest.* &&
2949 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2952 for ac_signal
in 1 2 13 15; do
2953 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2957 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2958 rm -f -r conftest
* confdefs.h
2960 $as_echo "/* confdefs.h */" > confdefs.h
2962 # Predefined preprocessor variables.
2964 cat >>confdefs.h
<<_ACEOF
2965 #define PACKAGE_NAME "$PACKAGE_NAME"
2968 cat >>confdefs.h
<<_ACEOF
2969 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2972 cat >>confdefs.h
<<_ACEOF
2973 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2976 cat >>confdefs.h
<<_ACEOF
2977 #define PACKAGE_STRING "$PACKAGE_STRING"
2980 cat >>confdefs.h
<<_ACEOF
2981 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2984 cat >>confdefs.h
<<_ACEOF
2985 #define PACKAGE_URL "$PACKAGE_URL"
2989 # Let the site file select an alternate cache file if it wants to.
2990 # Prefer an explicitly selected file to automatically selected ones.
2993 if test -n "$CONFIG_SITE"; then
2994 # We do not want a PATH search for config.site.
2995 case $CONFIG_SITE in #((
2996 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2997 */*) ac_site_file1
=$CONFIG_SITE;;
2998 *) ac_site_file1
=.
/$CONFIG_SITE;;
3000 elif test "x$prefix" != xNONE
; then
3001 ac_site_file1
=$prefix/share
/config.site
3002 ac_site_file2
=$prefix/etc
/config.site
3004 ac_site_file1
=$ac_default_prefix/share
/config.site
3005 ac_site_file2
=$ac_default_prefix/etc
/config.site
3007 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3009 test "x$ac_site_file" = xNONE
&& continue
3010 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3012 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3013 sed 's/^/| /' "$ac_site_file" >&5
3015 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3016 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3017 as_fn_error $?
"failed to load site script $ac_site_file
3018 See \`config.log' for more details" "$LINENO" 5; }
3022 if test -r "$cache_file"; then
3023 # Some versions of bash will fail to source /dev/null (special files
3024 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3025 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3027 $as_echo "$as_me: loading cache $cache_file" >&6;}
3029 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3030 *) .
"./$cache_file";;
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3035 $as_echo "$as_me: creating cache $cache_file" >&6;}
3039 # Check that the precious variables saved in the cache have kept the same
3041 ac_cache_corrupted
=false
3042 for ac_var
in $ac_precious_vars; do
3043 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3044 eval ac_new_set
=\
$ac_env_${ac_var}_set
3045 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3046 eval ac_new_val
=\
$ac_env_${ac_var}_value
3047 case $ac_old_set,$ac_new_set in
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3050 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3051 ac_cache_corrupted
=: ;;
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3054 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3055 ac_cache_corrupted
=: ;;
3058 if test "x$ac_old_val" != "x$ac_new_val"; then
3059 # differences in whitespace do not lead to failure.
3060 ac_old_val_w
=`echo x $ac_old_val`
3061 ac_new_val_w
=`echo x $ac_new_val`
3062 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3064 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3065 ac_cache_corrupted
=:
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3068 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3069 eval $ac_var=\
$ac_old_val
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3072 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3074 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3077 # Pass precious variables to config.status.
3078 if test "$ac_new_set" = set; then
3080 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3081 *) ac_arg
=$ac_var=$ac_new_val ;;
3083 case " $ac_configure_args " in
3084 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3085 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3089 if $ac_cache_corrupted; then
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3091 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3093 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3094 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3096 ## -------------------- ##
3097 ## Main body of script. ##
3098 ## -------------------- ##
3101 ac_cpp
='$CPP $CPPFLAGS'
3102 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3103 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3104 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3108 ac_config_headers
="$ac_config_headers include/config.h"
3111 for ac_dir
in tools
"$srcdir"/tools
; do
3112 if test -f "$ac_dir/install-sh"; then
3114 ac_install_sh
="$ac_aux_dir/install-sh -c"
3116 elif test -f "$ac_dir/install.sh"; then
3118 ac_install_sh
="$ac_aux_dir/install.sh -c"
3120 elif test -f "$ac_dir/shtool"; then
3122 ac_install_sh
="$ac_aux_dir/shtool install -c"
3126 if test -z "$ac_aux_dir"; then
3127 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3130 # These three variables are undocumented and unsupported,
3131 # and are intended to be withdrawn in a future Autoconf release.
3132 # They can cause serious problems if a builder's source tree is in a directory
3133 # whose full name contains unusual characters.
3134 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3135 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3136 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3140 libwine_version
="1.0"
3144 # Check whether --enable-win16 was given.
3145 if test "${enable_win16+set}" = set; then :
3146 enableval
=$enable_win16;
3149 # Check whether --enable-win64 was given.
3150 if test "${enable_win64+set}" = set; then :
3151 enableval
=$enable_win64;
3154 # Check whether --enable-tests was given.
3155 if test "${enable_tests+set}" = set; then :
3156 enableval
=$enable_tests;
3159 # Check whether --enable-maintainer-mode was given.
3160 if test "${enable_maintainer_mode+set}" = set; then :
3161 enableval
=$enable_maintainer_mode;
3166 # Check whether --with-alsa was given.
3167 if test "${with_alsa+set}" = set; then :
3168 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3172 # Check whether --with-capi was given.
3173 if test "${with_capi+set}" = set; then :
3178 # Check whether --with-cms was given.
3179 if test "${with_cms+set}" = set; then :
3184 # Check whether --with-coreaudio was given.
3185 if test "${with_coreaudio+set}" = set; then :
3186 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3190 # Check whether --with-cups was given.
3191 if test "${with_cups+set}" = set; then :
3196 # Check whether --with-curses was given.
3197 if test "${with_curses+set}" = set; then :
3198 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3202 # Check whether --with-dbus was given.
3203 if test "${with_dbus+set}" = set; then :
3208 # Check whether --with-fontconfig was given.
3209 if test "${with_fontconfig+set}" = set; then :
3210 withval
=$with_fontconfig;
3214 # Check whether --with-freetype was given.
3215 if test "${with_freetype+set}" = set; then :
3216 withval
=$with_freetype;
3220 # Check whether --with-gettext was given.
3221 if test "${with_gettext+set}" = set; then :
3222 withval
=$with_gettext;
3226 # Check whether --with-gettextpo was given.
3227 if test "${with_gettextpo+set}" = set; then :
3228 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3232 # Check whether --with-gphoto was given.
3233 if test "${with_gphoto+set}" = set; then :
3234 withval
=$with_gphoto;
3238 # Check whether --with-glu was given.
3239 if test "${with_glu+set}" = set; then :
3244 # Check whether --with-gnutls was given.
3245 if test "${with_gnutls+set}" = set; then :
3246 withval
=$with_gnutls;
3250 # Check whether --with-gsm was given.
3251 if test "${with_gsm+set}" = set; then :
3252 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3256 # Check whether --with-gstreamer was given.
3257 if test "${with_gstreamer+set}" = set; then :
3258 withval
=$with_gstreamer;
3262 # Check whether --with-hal was given.
3263 if test "${with_hal+set}" = set; then :
3268 # Check whether --with-jpeg was given.
3269 if test "${with_jpeg+set}" = set; then :
3274 # Check whether --with-ldap was given.
3275 if test "${with_ldap+set}" = set; then :
3276 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3280 # Check whether --with-mpg123 was given.
3281 if test "${with_mpg123+set}" = set; then :
3282 withval
=$with_mpg123;
3286 # Check whether --with-netapi was given.
3287 if test "${with_netapi+set}" = set; then :
3288 withval
=$with_netapi;
3292 # Check whether --with-openal was given.
3293 if test "${with_openal+set}" = set; then :
3294 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3298 # Check whether --with-opencl was given.
3299 if test "${with_opencl+set}" = set; then :
3300 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3304 # Check whether --with-opengl was given.
3305 if test "${with_opengl+set}" = set; then :
3306 withval
=$with_opengl;
3310 # Check whether --with-osmesa was given.
3311 if test "${with_osmesa+set}" = set; then :
3312 withval
=$with_osmesa;
3316 # Check whether --with-oss was given.
3317 if test "${with_oss+set}" = set; then :
3322 # Check whether --with-png was given.
3323 if test "${with_png+set}" = set; then :
3328 # Check whether --with-pthread was given.
3329 if test "${with_pthread+set}" = set; then :
3330 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3334 # Check whether --with-sane was given.
3335 if test "${with_sane+set}" = set; then :
3340 # Check whether --with-tiff was given.
3341 if test "${with_tiff+set}" = set; then :
3346 # Check whether --with-v4l was given.
3347 if test "${with_v4l+set}" = set; then :
3352 # Check whether --with-xcomposite was given.
3353 if test "${with_xcomposite+set}" = set; then :
3354 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3358 # Check whether --with-xcursor was given.
3359 if test "${with_xcursor+set}" = set; then :
3360 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3364 # Check whether --with-xinerama was given.
3365 if test "${with_xinerama+set}" = set; then :
3366 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3370 # Check whether --with-xinput was given.
3371 if test "${with_xinput+set}" = set; then :
3372 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3376 # Check whether --with-xinput2 was given.
3377 if test "${with_xinput2+set}" = set; then :
3378 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3382 # Check whether --with-xml was given.
3383 if test "${with_xml+set}" = set; then :
3388 # Check whether --with-xrandr was given.
3389 if test "${with_xrandr+set}" = set; then :
3390 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3394 # Check whether --with-xrender was given.
3395 if test "${with_xrender+set}" = set; then :
3396 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3400 # Check whether --with-xshape was given.
3401 if test "${with_xshape+set}" = set; then :
3402 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3406 # Check whether --with-xshm was given.
3407 if test "${with_xshm+set}" = set; then :
3408 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3412 # Check whether --with-xslt was given.
3413 if test "${with_xslt+set}" = set; then :
3418 # Check whether --with-xxf86vm was given.
3419 if test "${with_xxf86vm+set}" = set; then :
3420 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
3424 # Check whether --with-zlib was given.
3425 if test "${with_zlib+set}" = set; then :
3426 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3431 # Check whether --with-wine-tools was given.
3432 if test "${with_wine_tools+set}" = set; then :
3433 withval
=$with_wine_tools;
3437 # Check whether --with-wine64 was given.
3438 if test "${with_wine64+set}" = set; then :
3439 withval
=$with_wine64;
3443 # Make sure we can run config.sub.
3444 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3445 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3448 $as_echo_n "checking build system type... " >&6; }
3449 if ${ac_cv_build+:} false
; then :
3450 $as_echo_n "(cached) " >&6
3452 ac_build_alias
=$build_alias
3453 test "x$ac_build_alias" = x
&&
3454 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3455 test "x$ac_build_alias" = x
&&
3456 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3457 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3458 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3462 $as_echo "$ac_cv_build" >&6; }
3463 case $ac_cv_build in
3465 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3468 ac_save_IFS
=$IFS; IFS
='-'
3474 # Remember, the first character of IFS is used to create $*,
3475 # except with old shells:
3478 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3482 $as_echo_n "checking host system type... " >&6; }
3483 if ${ac_cv_host+:} false
; then :
3484 $as_echo_n "(cached) " >&6
3486 if test "x$host_alias" = x
; then
3487 ac_cv_host
=$ac_cv_build
3489 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3490 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3495 $as_echo "$ac_cv_host" >&6; }
3498 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3501 ac_save_IFS
=$IFS; IFS
='-'
3507 # Remember, the first character of IFS is used to create $*,
3508 # except with old shells:
3511 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3517 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3518 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3519 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3525 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3527 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3528 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3529 $as_echo_n "(cached) " >&6
3531 cat >conftest.
make <<\_ACEOF
3534 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3536 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3537 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3539 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3541 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3545 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3547 $as_echo "yes" >&6; }
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3551 $as_echo "no" >&6; }
3552 SET_MAKE
="MAKE=${MAKE-make}"
3556 ac_cpp
='$CPP $CPPFLAGS'
3557 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3558 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3559 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3560 if test -n "$ac_tool_prefix"; then
3561 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3562 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3564 $as_echo_n "checking for $ac_word... " >&6; }
3565 if ${ac_cv_prog_CC+:} false
; then :
3566 $as_echo_n "(cached) " >&6
3568 if test -n "$CC"; then
3569 ac_cv_prog_CC
="$CC" # Let the user override the test.
3571 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3575 test -z "$as_dir" && as_dir
=.
3576 for ac_exec_ext
in '' $ac_executable_extensions; do
3577 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3578 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3589 if test -n "$CC"; then
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3591 $as_echo "$CC" >&6; }
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3594 $as_echo "no" >&6; }
3599 if test -z "$ac_cv_prog_CC"; then
3601 # Extract the first word of "gcc", so it can be a program name with args.
3602 set dummy gcc
; ac_word
=$2
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3604 $as_echo_n "checking for $ac_word... " >&6; }
3605 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3606 $as_echo_n "(cached) " >&6
3608 if test -n "$ac_ct_CC"; then
3609 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3615 test -z "$as_dir" && as_dir
=.
3616 for ac_exec_ext
in '' $ac_executable_extensions; do
3617 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3618 ac_cv_prog_ac_ct_CC
="gcc"
3619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3628 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3629 if test -n "$ac_ct_CC"; then
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3631 $as_echo "$ac_ct_CC" >&6; }
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3634 $as_echo "no" >&6; }
3637 if test "x$ac_ct_CC" = x
; then
3640 case $cross_compiling:$ac_tool_warned in
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3643 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3644 ac_tool_warned
=yes ;;
3652 if test -z "$CC"; then
3653 if test -n "$ac_tool_prefix"; then
3654 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3655 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3657 $as_echo_n "checking for $ac_word... " >&6; }
3658 if ${ac_cv_prog_CC+:} false
; then :
3659 $as_echo_n "(cached) " >&6
3661 if test -n "$CC"; then
3662 ac_cv_prog_CC
="$CC" # Let the user override the test.
3664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3668 test -z "$as_dir" && as_dir
=.
3669 for ac_exec_ext
in '' $ac_executable_extensions; do
3670 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3671 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3682 if test -n "$CC"; then
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3684 $as_echo "$CC" >&6; }
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3687 $as_echo "no" >&6; }
3693 if test -z "$CC"; then
3694 # Extract the first word of "cc", so it can be a program name with args.
3695 set dummy cc
; ac_word
=$2
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3697 $as_echo_n "checking for $ac_word... " >&6; }
3698 if ${ac_cv_prog_CC+:} false
; then :
3699 $as_echo_n "(cached) " >&6
3701 if test -n "$CC"; then
3702 ac_cv_prog_CC
="$CC" # Let the user override the test.
3705 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3709 test -z "$as_dir" && as_dir
=.
3710 for ac_exec_ext
in '' $ac_executable_extensions; do
3711 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3712 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3713 ac_prog_rejected
=yes
3717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3724 if test $ac_prog_rejected = yes; then
3725 # We found a bogon in the path, so make sure we never use it.
3726 set dummy
$ac_cv_prog_CC
3728 if test $# != 0; then
3729 # We chose a different compiler from the bogus one.
3730 # However, it has the same basename, so the bogon will be chosen
3731 # first if we set CC to just the basename; use the full file name.
3733 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3739 if test -n "$CC"; then
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3741 $as_echo "$CC" >&6; }
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3744 $as_echo "no" >&6; }
3749 if test -z "$CC"; then
3750 if test -n "$ac_tool_prefix"; then
3751 for ac_prog
in cl.exe
3753 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3754 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3756 $as_echo_n "checking for $ac_word... " >&6; }
3757 if ${ac_cv_prog_CC+:} false
; then :
3758 $as_echo_n "(cached) " >&6
3760 if test -n "$CC"; then
3761 ac_cv_prog_CC
="$CC" # Let the user override the test.
3763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3767 test -z "$as_dir" && as_dir
=.
3768 for ac_exec_ext
in '' $ac_executable_extensions; do
3769 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3770 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3781 if test -n "$CC"; then
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3783 $as_echo "$CC" >&6; }
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3786 $as_echo "no" >&6; }
3790 test -n "$CC" && break
3793 if test -z "$CC"; then
3795 for ac_prog
in cl.exe
3797 # Extract the first word of "$ac_prog", so it can be a program name with args.
3798 set dummy
$ac_prog; ac_word
=$2
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3800 $as_echo_n "checking for $ac_word... " >&6; }
3801 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3802 $as_echo_n "(cached) " >&6
3804 if test -n "$ac_ct_CC"; then
3805 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3811 test -z "$as_dir" && as_dir
=.
3812 for ac_exec_ext
in '' $ac_executable_extensions; do
3813 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3814 ac_cv_prog_ac_ct_CC
="$ac_prog"
3815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3824 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3825 if test -n "$ac_ct_CC"; then
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3827 $as_echo "$ac_ct_CC" >&6; }
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3830 $as_echo "no" >&6; }
3834 test -n "$ac_ct_CC" && break
3837 if test "x$ac_ct_CC" = x
; then
3840 case $cross_compiling:$ac_tool_warned in
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3843 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3844 ac_tool_warned
=yes ;;
3853 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3854 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3855 as_fn_error $?
"no acceptable C compiler found in \$PATH
3856 See \`config.log' for more details" "$LINENO" 5; }
3858 # Provide some information about the compiler.
3859 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3862 for ac_option
in --version -v -V -qversion; do
3863 { { ac_try
="$ac_compiler $ac_option >&5"
3865 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3866 *) ac_try_echo=$ac_try;;
3868 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3869 $as_echo "$ac_try_echo"; } >&5
3870 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3872 if test -s conftest.err; then
3874 ... rest of stderr output deleted ...
3875 10q' conftest.err >conftest.er1
3876 cat conftest.er1 >&5
3878 rm -f conftest.er1 conftest.err
3879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3880 test $ac_status = 0; }
3883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3884 /* end confdefs.h. */
3894 ac_clean_files_save=$ac_clean_files
3895 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3896 # Try to create an executable without -o first, disregard a.out.
3897 # It will help us diagnose broken compilers, and finding out an intuition
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3900 $as_echo_n "checking whether the C compiler works... " >&6; }
3901 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3903 # The possible output files:
3904 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3907 for ac_file in $ac_files
3910 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3911 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3916 if { { ac_try="$ac_link_default"
3918 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3919 *) ac_try_echo
=$ac_try;;
3921 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3922 $as_echo "$ac_try_echo"; } >&5
3923 (eval "$ac_link_default") 2>&5
3925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3926 test $ac_status = 0; }; then :
3927 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3928 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3929 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3930 # so that the user can short-circuit this test for compilers unknown to
3932 for ac_file
in $ac_files ''
3934 test -f "$ac_file" ||
continue
3936 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3939 # We found the default executable, but exeext='' is most
3943 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3945 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3947 # We set ac_cv_exeext here because the later test for it is not
3948 # safe: cross compilers may not add the suffix if given an `-o'
3949 # argument, so we may need to know it at that point already.
3950 # Even if this section looks crufty: it has the advantage of
3957 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3962 if test -z "$ac_file"; then :
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3964 $as_echo "no" >&6; }
3965 $as_echo "$as_me: failed program was:" >&5
3966 sed 's/^/| /' conftest.
$ac_ext >&5
3968 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3969 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3970 as_fn_error
77 "C compiler cannot create executables
3971 See \`config.log' for more details" "$LINENO" 5; }
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3974 $as_echo "yes" >&6; }
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3977 $as_echo_n "checking for C compiler default output file name... " >&6; }
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3979 $as_echo "$ac_file" >&6; }
3980 ac_exeext
=$ac_cv_exeext
3982 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3983 ac_clean_files
=$ac_clean_files_save
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3985 $as_echo_n "checking for suffix of executables... " >&6; }
3986 if { { ac_try
="$ac_link"
3988 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3989 *) ac_try_echo=$ac_try;;
3991 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3992 $as_echo "$ac_try_echo"; } >&5
3993 (eval "$ac_link") 2>&5
3995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3996 test $ac_status = 0; }; then :
3997 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3998 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3999 # work properly (i.e., refer to `conftest.exe'), while it won't with
4001 for ac_file
in conftest.exe conftest conftest.
*; do
4002 test -f "$ac_file" ||
continue
4004 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4005 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4011 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4012 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4013 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4014 See \`config.log' for more details" "$LINENO" 5; }
4016 rm -f conftest conftest
$ac_cv_exeext
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4018 $as_echo "$ac_cv_exeext" >&6; }
4020 rm -f conftest.
$ac_ext
4021 EXEEXT
=$ac_cv_exeext
4023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4024 /* end confdefs.h. */
4029 FILE *f = fopen ("conftest.out", "w");
4030 return ferror (f) || fclose (f) != 0;
4036 ac_clean_files
="$ac_clean_files conftest.out"
4037 # Check that the compiler produces executables we can run. If not, either
4038 # the compiler is broken, or we cross compile.
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4040 $as_echo_n "checking whether we are cross compiling... " >&6; }
4041 if test "$cross_compiling" != yes; then
4042 { { ac_try
="$ac_link"
4044 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4045 *) ac_try_echo=$ac_try;;
4047 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4048 $as_echo "$ac_try_echo"; } >&5
4049 (eval "$ac_link") 2>&5
4051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4052 test $ac_status = 0; }
4053 if { ac_try='./conftest$ac_cv_exeext'
4054 { { case "(($ac_try" in
4055 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4056 *) ac_try_echo
=$ac_try;;
4058 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4059 $as_echo "$ac_try_echo"; } >&5
4060 (eval "$ac_try") 2>&5
4062 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4063 test $ac_status = 0; }; }; then
4066 if test "$cross_compiling" = maybe
; then
4069 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4070 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4071 as_fn_error $?
"cannot run C compiled programs.
4072 If you meant to cross compile, use \`--host'.
4073 See \`config.log' for more details" "$LINENO" 5; }
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4078 $as_echo "$cross_compiling" >&6; }
4080 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4081 ac_clean_files
=$ac_clean_files_save
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4083 $as_echo_n "checking for suffix of object files... " >&6; }
4084 if ${ac_cv_objext+:} false
; then :
4085 $as_echo_n "(cached) " >&6
4087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4088 /* end confdefs.h. */
4098 rm -f conftest.o conftest.obj
4099 if { { ac_try
="$ac_compile"
4101 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4102 *) ac_try_echo=$ac_try;;
4104 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4105 $as_echo "$ac_try_echo"; } >&5
4106 (eval "$ac_compile") 2>&5
4108 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4109 test $ac_status = 0; }; then :
4110 for ac_file in conftest.o conftest.obj conftest.*; do
4111 test -f "$ac_file" || continue;
4113 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4114 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4119 $as_echo "$as_me: failed program was:" >&5
4120 sed 's/^/| /' conftest.$ac_ext >&5
4122 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4123 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4124 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4125 See \
`config.log' for more details" "$LINENO" 5; }
4127 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4130 $as_echo "$ac_cv_objext" >&6; }
4131 OBJEXT=$ac_cv_objext
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4134 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4135 if ${ac_cv_c_compiler_gnu+:} false; then :
4136 $as_echo_n "(cached) " >&6
4138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4139 /* end confdefs.h. */
4152 if ac_fn_c_try_compile "$LINENO"; then :
4157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4158 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4162 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4163 if test $ac_compiler_gnu = yes; then
4168 ac_test_CFLAGS=${CFLAGS+set}
4169 ac_save_CFLAGS=$CFLAGS
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4171 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4172 if ${ac_cv_prog_cc_g+:} false; then :
4173 $as_echo_n "(cached) " >&6
4175 ac_save_c_werror_flag=$ac_c_werror_flag
4176 ac_c_werror_flag=yes
4179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4180 /* end confdefs.h. */
4190 if ac_fn_c_try_compile "$LINENO"; then :
4194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4195 /* end confdefs.h. */
4205 if ac_fn_c_try_compile "$LINENO"; then :
4208 ac_c_werror_flag=$ac_save_c_werror_flag
4210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4211 /* end confdefs.h. */
4221 if ac_fn_c_try_compile "$LINENO"; then :
4224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4229 ac_c_werror_flag=$ac_save_c_werror_flag
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4232 $as_echo "$ac_cv_prog_cc_g" >&6; }
4233 if test "$ac_test_CFLAGS" = set; then
4234 CFLAGS=$ac_save_CFLAGS
4235 elif test $ac_cv_prog_cc_g = yes; then
4236 if test "$GCC" = yes; then
4242 if test "$GCC" = yes; then
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4249 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4250 if ${ac_cv_prog_cc_c89+:} false; then :
4251 $as_echo_n "(cached) " >&6
4253 ac_cv_prog_cc_c89=no
4255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4256 /* end confdefs.h. */
4260 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4261 struct buf { int x; };
4262 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4263 static char *e (p, i)
4269 static char *f (char * (*g) (char **, int), char **p, ...)
4274 s = g (p, va_arg (v,int));
4279 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4280 function prototypes and stuff, but not '\xHH' hex character constants.
4281 These don't provoke an error unfortunately, instead are silently treated
4282 as 'x'. The following induces an error, until -std is added to get
4283 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4284 array size at least. It's necessary to write '\x00'==0 to get something
4285 that's true only with -std. */
4286 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4288 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4289 inside strings and character constants. */
4291 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4293 int test (int i, double x);
4294 struct s1 {int (*f) (int a);};
4295 struct s2 {int (*f) (double a);};
4296 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4302 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4307 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4308 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4310 CC="$ac_save_CC $ac_arg"
4311 if ac_fn_c_try_compile "$LINENO"; then :
4312 ac_cv_prog_cc_c89=$ac_arg
4314 rm -f core conftest.err conftest.$ac_objext
4315 test "x$ac_cv_prog_cc_c89" != "xno" && break
4317 rm -f conftest.$ac_ext
4322 case "x$ac_cv_prog_cc_c89" in
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4325 $as_echo "none needed" >&6; } ;;
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4328 $as_echo "unsupported" >&6; } ;;
4330 CC="$CC $ac_cv_prog_cc_c89"
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4332 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4334 if test "x$ac_cv_prog_cc_c89" != xno; then :
4339 ac_cpp='$CPP $CPPFLAGS'
4340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4345 ac_cpp='$CXXCPP $CPPFLAGS'
4346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4349 if test -z "$CXX"; then
4350 if test -n "$CCC"; then
4353 if test -n "$ac_tool_prefix"; then
4354 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4356 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4357 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4359 $as_echo_n "checking for $ac_word... " >&6; }
4360 if ${ac_cv_prog_CXX+:} false; then :
4361 $as_echo_n "(cached) " >&6
4363 if test -n "$CXX"; then
4364 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4370 test -z "$as_dir" && as_dir=.
4371 for ac_exec_ext in '' $ac_executable_extensions; do
4372 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4373 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4384 if test -n "$CXX"; then
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4386 $as_echo "$CXX" >&6; }
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4389 $as_echo "no" >&6; }
4393 test -n "$CXX" && break
4396 if test -z "$CXX"; then
4398 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4400 # Extract the first word of "$ac_prog", so it can be a program name with args.
4401 set dummy $ac_prog; ac_word=$2
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4403 $as_echo_n "checking for $ac_word... " >&6; }
4404 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4405 $as_echo_n "(cached) " >&6
4407 if test -n "$ac_ct_CXX"; then
4408 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4414 test -z "$as_dir" && as_dir=.
4415 for ac_exec_ext in '' $ac_executable_extensions; do
4416 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4417 ac_cv_prog_ac_ct_CXX="$ac_prog"
4418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4427 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4428 if test -n "$ac_ct_CXX"; then
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4430 $as_echo "$ac_ct_CXX" >&6; }
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4433 $as_echo "no" >&6; }
4437 test -n "$ac_ct_CXX" && break
4440 if test "x$ac_ct_CXX" = x; then
4443 case $cross_compiling:$ac_tool_warned in
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4446 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4447 ac_tool_warned=yes ;;
4455 # Provide some information about the compiler.
4456 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4459 for ac_option in --version -v -V -qversion; do
4460 { { ac_try="$ac_compiler $ac_option >&5"
4462 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4463 *) ac_try_echo
=$ac_try;;
4465 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4466 $as_echo "$ac_try_echo"; } >&5
4467 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4469 if test -s conftest.err
; then
4471 ... rest of stderr output deleted ...
4472 10q' conftest.err
>conftest.er1
4473 cat conftest.er1
>&5
4475 rm -f conftest.er1 conftest.err
4476 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4477 test $ac_status = 0; }
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4481 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4482 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4483 $as_echo_n "(cached) " >&6
4485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4486 /* end confdefs.h. */
4499 if ac_fn_cxx_try_compile
"$LINENO"; then :
4504 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4505 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4509 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4510 if test $ac_compiler_gnu = yes; then
4515 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4516 ac_save_CXXFLAGS
=$CXXFLAGS
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4518 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4519 if ${ac_cv_prog_cxx_g+:} false
; then :
4520 $as_echo_n "(cached) " >&6
4522 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4523 ac_cxx_werror_flag
=yes
4526 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4527 /* end confdefs.h. */
4537 if ac_fn_cxx_try_compile
"$LINENO"; then :
4538 ac_cv_prog_cxx_g
=yes
4541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4542 /* end confdefs.h. */
4552 if ac_fn_cxx_try_compile
"$LINENO"; then :
4555 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4558 /* end confdefs.h. */
4568 if ac_fn_cxx_try_compile
"$LINENO"; then :
4569 ac_cv_prog_cxx_g
=yes
4571 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4573 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4575 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4576 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4579 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4580 if test "$ac_test_CXXFLAGS" = set; then
4581 CXXFLAGS
=$ac_save_CXXFLAGS
4582 elif test $ac_cv_prog_cxx_g = yes; then
4583 if test "$GXX" = yes; then
4589 if test "$GXX" = yes; then
4596 ac_cpp
='$CPP $CPPFLAGS'
4597 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4598 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4599 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4601 if test -n "$ac_tool_prefix"; then
4602 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4603 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4605 $as_echo_n "checking for $ac_word... " >&6; }
4606 if ${ac_cv_prog_CPPBIN+:} false
; then :
4607 $as_echo_n "(cached) " >&6
4609 if test -n "$CPPBIN"; then
4610 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4616 test -z "$as_dir" && as_dir
=.
4617 for ac_exec_ext
in '' $ac_executable_extensions; do
4618 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4619 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4629 CPPBIN
=$ac_cv_prog_CPPBIN
4630 if test -n "$CPPBIN"; then
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4632 $as_echo "$CPPBIN" >&6; }
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4635 $as_echo "no" >&6; }
4640 if test -z "$ac_cv_prog_CPPBIN"; then
4641 ac_ct_CPPBIN
=$CPPBIN
4642 # Extract the first word of "cpp", so it can be a program name with args.
4643 set dummy cpp
; ac_word
=$2
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4645 $as_echo_n "checking for $ac_word... " >&6; }
4646 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4647 $as_echo_n "(cached) " >&6
4649 if test -n "$ac_ct_CPPBIN"; then
4650 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4652 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4656 test -z "$as_dir" && as_dir
=.
4657 for ac_exec_ext
in '' $ac_executable_extensions; do
4658 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4659 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4669 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4670 if test -n "$ac_ct_CPPBIN"; then
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4672 $as_echo "$ac_ct_CPPBIN" >&6; }
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4675 $as_echo "no" >&6; }
4678 if test "x$ac_ct_CPPBIN" = x
; then
4681 case $cross_compiling:$ac_tool_warned in
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4684 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4685 ac_tool_warned
=yes ;;
4687 CPPBIN
=$ac_ct_CPPBIN
4690 CPPBIN
="$ac_cv_prog_CPPBIN"
4694 cat >>confdefs.h
<<_ACEOF
4695 #define EXEEXT "$ac_exeext"
4701 if test "x$enable_win64" = "xyes"
4706 notice_platform
="64-bit "
4713 notice_platform
="32-bit "
4716 enable_win16
=${enable_win16:-yes}
4718 with_fontconfig
=${with_fontconfig:-no}
4721 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4726 $as_echo_n "checking whether $CC works... " >&6; }
4728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4729 /* end confdefs.h. */
4739 if ac_fn_c_try_link
"$LINENO"; then :
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4741 $as_echo "yes" >&6; }
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4744 $as_echo "no" >&6; }
4745 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4747 rm -f core conftest.err conftest.
$ac_objext \
4748 conftest
$ac_exeext conftest.
$ac_ext
4750 notice_platform
="32-bit "
4753 enable_win16
=${enable_win16:-yes}
4755 if test "x${GCC}" = "xyes"
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4758 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4760 /* end confdefs.h. */
4765 void func(__builtin_ms_va_list *args);
4770 if ac_fn_c_try_compile
"$LINENO"; then :
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4772 $as_echo "yes" >&6; }
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4775 $as_echo "no" >&6; }
4776 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4778 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4786 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4788 /* end confdefs.h. */
4789 int ac_test(int i) { return i; }
4793 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4798 if ac_fn_c_try_link
"$LINENO"; then :
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4800 $as_echo "yes" >&6; }
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4803 $as_echo "no" >&6; }
4804 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4806 rm -f core conftest.err conftest.
$ac_objext \
4807 conftest
$ac_exeext conftest.
$ac_ext
4808 CFLAGS
="$CFLAGS -marm"
4812 *-mingw32*|
*-cygwin*)
4813 enable_win16
=${enable_win16:-no}
4814 CFLAGS
="$CFLAGS -D_WIN32"
4817 enable_win16
=${enable_win16:-yes}
4821 enable_win16
=${enable_win16:-no}
4822 enable_win64
=${enable_win64:-no}
4824 enable_winetest
=${enable_winetest:-$enable_tests}
4826 if test -n "$with_wine64"
4828 if test "x$enable_win64" = "xyes"
4830 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4831 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4833 enable_fonts
=${enable_fonts:-no}
4834 enable_server
=${enable_server:-no}
4835 elif test "x$enable_win64" = "xyes"
4837 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4841 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4842 if ${wine_cv_toolsdir+:} false
; then :
4843 $as_echo_n "(cached) " >&6
4845 wine_cv_toolsdir
="$with_wine_tools"
4846 if test -z "$with_wine_tools"; then
4847 if test "$cross_compiling" = "yes"; then
4848 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4849 elif test -n "$with_wine64"; then
4850 wine_cv_toolsdir
="$with_wine64"
4853 if test -z "$wine_cv_toolsdir"; then
4854 wine_makedep
=tools
/makedep
4855 wine_cv_toolsdir
="\$(top_builddir)"
4856 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4857 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
4858 case "$wine_cv_toolsdir" in
4860 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4862 enable_tools
=${enable_tools:-no}
4863 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4865 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4869 $as_echo "$wine_cv_toolsdir" >&6; }
4870 TOOLSDIR
=$wine_cv_toolsdir
4872 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4874 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4880 # Extract the first word of "$ac_prog", so it can be a program name with args.
4881 set dummy
$ac_prog; ac_word
=$2
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4883 $as_echo_n "checking for $ac_word... " >&6; }
4884 if ${ac_cv_prog_FLEX+:} false
; then :
4885 $as_echo_n "(cached) " >&6
4887 if test -n "$FLEX"; then
4888 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4890 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4894 test -z "$as_dir" && as_dir
=.
4895 for ac_exec_ext
in '' $ac_executable_extensions; do
4896 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4897 ac_cv_prog_FLEX
="$ac_prog"
4898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4907 FLEX
=$ac_cv_prog_FLEX
4908 if test -n "$FLEX"; then
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4910 $as_echo "$FLEX" >&6; }
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4913 $as_echo "no" >&6; }
4917 test -n "$FLEX" && break
4919 test -n "$FLEX" || FLEX
="none"
4921 if test "$FLEX" = "none"
4923 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4926 $as_echo_n "checking whether flex is recent enough... " >&6; }
4927 cat >conftest.l
<<EOF
4929 #include "prediluvian.h"
4933 if $FLEX -t conftest.l
>/dev
/null
2>&5
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4936 $as_echo "yes" >&6; }
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4939 $as_echo "no" >&6; }
4940 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4943 for ac_prog
in bison
4945 # Extract the first word of "$ac_prog", so it can be a program name with args.
4946 set dummy
$ac_prog; ac_word
=$2
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4948 $as_echo_n "checking for $ac_word... " >&6; }
4949 if ${ac_cv_prog_BISON+:} false
; then :
4950 $as_echo_n "(cached) " >&6
4952 if test -n "$BISON"; then
4953 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4959 test -z "$as_dir" && as_dir
=.
4960 for ac_exec_ext
in '' $ac_executable_extensions; do
4961 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4962 ac_cv_prog_BISON
="$ac_prog"
4963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4972 BISON
=$ac_cv_prog_BISON
4973 if test -n "$BISON"; then
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4975 $as_echo "$BISON" >&6; }
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4978 $as_echo "no" >&6; }
4982 test -n "$BISON" && break
4984 test -n "$BISON" || BISON
="none"
4986 if test "$BISON" = "none"
4988 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4991 if test -n "$ac_tool_prefix"; then
4992 for ac_prog
in ar gar
4994 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4995 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4997 $as_echo_n "checking for $ac_word... " >&6; }
4998 if ${ac_cv_prog_AR+:} false
; then :
4999 $as_echo_n "(cached) " >&6
5001 if test -n "$AR"; then
5002 ac_cv_prog_AR
="$AR" # Let the user override the test.
5004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5008 test -z "$as_dir" && as_dir
=.
5009 for ac_exec_ext
in '' $ac_executable_extensions; do
5010 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5011 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5022 if test -n "$AR"; then
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5024 $as_echo "$AR" >&6; }
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5027 $as_echo "no" >&6; }
5031 test -n "$AR" && break
5034 if test -z "$AR"; then
5036 for ac_prog
in ar gar
5038 # Extract the first word of "$ac_prog", so it can be a program name with args.
5039 set dummy
$ac_prog; ac_word
=$2
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5041 $as_echo_n "checking for $ac_word... " >&6; }
5042 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5043 $as_echo_n "(cached) " >&6
5045 if test -n "$ac_ct_AR"; then
5046 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5052 test -z "$as_dir" && as_dir
=.
5053 for ac_exec_ext
in '' $ac_executable_extensions; do
5054 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5055 ac_cv_prog_ac_ct_AR
="$ac_prog"
5056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5065 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5066 if test -n "$ac_ct_AR"; then
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5068 $as_echo "$ac_ct_AR" >&6; }
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5071 $as_echo "no" >&6; }
5075 test -n "$ac_ct_AR" && break
5078 if test "x$ac_ct_AR" = x
; then
5081 case $cross_compiling:$ac_tool_warned in
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5084 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5085 ac_tool_warned
=yes ;;
5091 if test -n "$ac_tool_prefix"; then
5092 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5093 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5095 $as_echo_n "checking for $ac_word... " >&6; }
5096 if ${ac_cv_prog_STRIP+:} false
; then :
5097 $as_echo_n "(cached) " >&6
5099 if test -n "$STRIP"; then
5100 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5102 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5106 test -z "$as_dir" && as_dir
=.
5107 for ac_exec_ext
in '' $ac_executable_extensions; do
5108 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5109 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5119 STRIP
=$ac_cv_prog_STRIP
5120 if test -n "$STRIP"; then
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5122 $as_echo "$STRIP" >&6; }
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5125 $as_echo "no" >&6; }
5130 if test -z "$ac_cv_prog_STRIP"; then
5132 # Extract the first word of "strip", so it can be a program name with args.
5133 set dummy strip
; ac_word
=$2
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5135 $as_echo_n "checking for $ac_word... " >&6; }
5136 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5137 $as_echo_n "(cached) " >&6
5139 if test -n "$ac_ct_STRIP"; then
5140 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5142 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5146 test -z "$as_dir" && as_dir
=.
5147 for ac_exec_ext
in '' $ac_executable_extensions; do
5148 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5149 ac_cv_prog_ac_ct_STRIP
="strip"
5150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5159 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5160 if test -n "$ac_ct_STRIP"; then
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5162 $as_echo "$ac_ct_STRIP" >&6; }
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5165 $as_echo "no" >&6; }
5168 if test "x$ac_ct_STRIP" = x
; then
5171 case $cross_compiling:$ac_tool_warned in
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5174 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5175 ac_tool_warned
=yes ;;
5180 STRIP
="$ac_cv_prog_STRIP"
5185 if test -n "$ac_tool_prefix"; then
5186 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5187 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5189 $as_echo_n "checking for $ac_word... " >&6; }
5190 if ${ac_cv_prog_RANLIB+:} false
; then :
5191 $as_echo_n "(cached) " >&6
5193 if test -n "$RANLIB"; then
5194 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5200 test -z "$as_dir" && as_dir
=.
5201 for ac_exec_ext
in '' $ac_executable_extensions; do
5202 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5203 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5213 RANLIB
=$ac_cv_prog_RANLIB
5214 if test -n "$RANLIB"; then
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5216 $as_echo "$RANLIB" >&6; }
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5219 $as_echo "no" >&6; }
5224 if test -z "$ac_cv_prog_RANLIB"; then
5225 ac_ct_RANLIB
=$RANLIB
5226 # Extract the first word of "ranlib", so it can be a program name with args.
5227 set dummy ranlib
; ac_word
=$2
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5229 $as_echo_n "checking for $ac_word... " >&6; }
5230 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5231 $as_echo_n "(cached) " >&6
5233 if test -n "$ac_ct_RANLIB"; then
5234 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5240 test -z "$as_dir" && as_dir
=.
5241 for ac_exec_ext
in '' $ac_executable_extensions; do
5242 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5243 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5253 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5254 if test -n "$ac_ct_RANLIB"; then
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5256 $as_echo "$ac_ct_RANLIB" >&6; }
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5259 $as_echo "no" >&6; }
5262 if test "x$ac_ct_RANLIB" = x
; then
5265 case $cross_compiling:$ac_tool_warned in
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5268 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5269 ac_tool_warned
=yes ;;
5271 RANLIB
=$ac_ct_RANLIB
5274 RANLIB
="$ac_cv_prog_RANLIB"
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5278 $as_echo_n "checking whether ln -s works... " >&6; }
5280 if test "$LN_S" = "ln -s"; then
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5282 $as_echo "yes" >&6; }
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5285 $as_echo "no, using $LN_S" >&6; }
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5289 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5290 if ${ac_cv_path_GREP+:} false
; then :
5291 $as_echo_n "(cached) " >&6
5293 if test -z "$GREP"; then
5294 ac_path_GREP_found
=false
5295 # Loop through the user's path and test for each of PROGNAME-LIST
5296 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5297 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5300 test -z "$as_dir" && as_dir
=.
5301 for ac_prog
in grep ggrep
; do
5302 for ac_exec_ext
in '' $ac_executable_extensions; do
5303 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5304 as_fn_executable_p
"$ac_path_GREP" ||
continue
5305 # Check for GNU ac_path_GREP and select it if it is found.
5306 # Check for GNU $ac_path_GREP
5307 case `"$ac_path_GREP" --version 2>&1` in
5309 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5312 $as_echo_n 0123456789 >"conftest.in"
5315 cat "conftest.in" "conftest.in" >"conftest.tmp"
5316 mv "conftest.tmp" "conftest.in"
5317 cp "conftest.in" "conftest.nl"
5318 $as_echo 'GREP' >> "conftest.nl"
5319 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5320 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5321 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5322 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5323 # Best one so far, save it but keep looking for a better one
5324 ac_cv_path_GREP
="$ac_path_GREP"
5325 ac_path_GREP_max
=$ac_count
5327 # 10*(2^10) chars as input seems more than enough
5328 test $ac_count -gt 10 && break
5330 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5333 $ac_path_GREP_found && break 3
5338 if test -z "$ac_cv_path_GREP"; then
5339 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5342 ac_cv_path_GREP
=$GREP
5346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5347 $as_echo "$ac_cv_path_GREP" >&6; }
5348 GREP
="$ac_cv_path_GREP"
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5352 $as_echo_n "checking for egrep... " >&6; }
5353 if ${ac_cv_path_EGREP+:} false
; then :
5354 $as_echo_n "(cached) " >&6
5356 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5357 then ac_cv_path_EGREP
="$GREP -E"
5359 if test -z "$EGREP"; then
5360 ac_path_EGREP_found
=false
5361 # Loop through the user's path and test for each of PROGNAME-LIST
5362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5363 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5366 test -z "$as_dir" && as_dir
=.
5367 for ac_prog
in egrep; do
5368 for ac_exec_ext
in '' $ac_executable_extensions; do
5369 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5370 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5371 # Check for GNU ac_path_EGREP and select it if it is found.
5372 # Check for GNU $ac_path_EGREP
5373 case `"$ac_path_EGREP" --version 2>&1` in
5375 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5378 $as_echo_n 0123456789 >"conftest.in"
5381 cat "conftest.in" "conftest.in" >"conftest.tmp"
5382 mv "conftest.tmp" "conftest.in"
5383 cp "conftest.in" "conftest.nl"
5384 $as_echo 'EGREP' >> "conftest.nl"
5385 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5386 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5387 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5388 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5389 # Best one so far, save it but keep looking for a better one
5390 ac_cv_path_EGREP
="$ac_path_EGREP"
5391 ac_path_EGREP_max
=$ac_count
5393 # 10*(2^10) chars as input seems more than enough
5394 test $ac_count -gt 10 && break
5396 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5399 $ac_path_EGREP_found && break 3
5404 if test -z "$ac_cv_path_EGREP"; then
5405 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5408 ac_cv_path_EGREP
=$EGREP
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5414 $as_echo "$ac_cv_path_EGREP" >&6; }
5415 EGREP
="$ac_cv_path_EGREP"
5418 # Extract the first word of "ldconfig", so it can be a program name with args.
5419 set dummy ldconfig
; ac_word
=$2
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5421 $as_echo_n "checking for $ac_word... " >&6; }
5422 if ${ac_cv_path_LDCONFIG+:} false
; then :
5423 $as_echo_n "(cached) " >&6
5427 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5430 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5431 for as_dir
in /sbin
/usr
/sbin
$PATH
5434 test -z "$as_dir" && as_dir
=.
5435 for ac_exec_ext
in '' $ac_executable_extensions; do
5436 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5437 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5445 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5449 LDCONFIG
=$ac_cv_path_LDCONFIG
5450 if test -n "$LDCONFIG"; then
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5452 $as_echo "$LDCONFIG" >&6; }
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5455 $as_echo "no" >&6; }
5459 for ac_prog
in msgfmt
5461 # Extract the first word of "$ac_prog", so it can be a program name with args.
5462 set dummy
$ac_prog; ac_word
=$2
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5464 $as_echo_n "checking for $ac_word... " >&6; }
5465 if ${ac_cv_prog_MSGFMT+:} false
; then :
5466 $as_echo_n "(cached) " >&6
5468 if test -n "$MSGFMT"; then
5469 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5471 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5475 test -z "$as_dir" && as_dir
=.
5476 for ac_exec_ext
in '' $ac_executable_extensions; do
5477 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5478 ac_cv_prog_MSGFMT
="$ac_prog"
5479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5488 MSGFMT
=$ac_cv_prog_MSGFMT
5489 if test -n "$MSGFMT"; then
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5491 $as_echo "$MSGFMT" >&6; }
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5494 $as_echo "no" >&6; }
5498 test -n "$MSGFMT" && break
5500 test -n "$MSGFMT" || MSGFMT
="false"
5502 if ${ac_tool_prefix+:} false
; then :
5503 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5504 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5506 $as_echo_n "checking for $ac_word... " >&6; }
5507 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5508 $as_echo_n "(cached) " >&6
5510 if test -n "$PKG_CONFIG"; then
5511 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5513 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5517 test -z "$as_dir" && as_dir
=.
5518 for ac_exec_ext
in '' $ac_executable_extensions; do
5519 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5520 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5530 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5531 if test -n "$PKG_CONFIG"; then
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5533 $as_echo "$PKG_CONFIG" >&6; }
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5536 $as_echo "no" >&6; }
5541 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5542 if test "x$cross_compiling" = xyes
; then :
5545 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5546 # Extract the first word of "pkg-config", so it can be a program name with args.
5547 set dummy pkg-config
; ac_word
=$2
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5549 $as_echo_n "checking for $ac_word... " >&6; }
5550 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5551 $as_echo_n "(cached) " >&6
5553 if test -n "$PKG_CONFIG"; then
5554 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5556 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5560 test -z "$as_dir" && as_dir
=.
5561 for ac_exec_ext
in '' $ac_executable_extensions; do
5562 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5563 ac_cv_prog_PKG_CONFIG
="pkg-config"
5564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5573 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5574 if test -n "$PKG_CONFIG"; then
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5576 $as_echo "$PKG_CONFIG" >&6; }
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5579 $as_echo "no" >&6; }
5585 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5588 if test "x$enable_maintainer_mode" != "xyes"
5595 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5596 for ac_prog
in fontforge
5598 # Extract the first word of "$ac_prog", so it can be a program name with args.
5599 set dummy
$ac_prog; ac_word
=$2
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5601 $as_echo_n "checking for $ac_word... " >&6; }
5602 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5603 $as_echo_n "(cached) " >&6
5605 if test -n "$FONTFORGE"; then
5606 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5612 test -z "$as_dir" && as_dir
=.
5613 for ac_exec_ext
in '' $ac_executable_extensions; do
5614 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5615 ac_cv_prog_FONTFORGE
="$ac_prog"
5616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5625 FONTFORGE
=$ac_cv_prog_FONTFORGE
5626 if test -n "$FONTFORGE"; then
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5628 $as_echo "$FONTFORGE" >&6; }
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5631 $as_echo "no" >&6; }
5635 test -n "$FONTFORGE" && break
5637 test -n "$FONTFORGE" || FONTFORGE
="false"
5641 # Extract the first word of "$ac_prog", so it can be a program name with args.
5642 set dummy
$ac_prog; ac_word
=$2
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5644 $as_echo_n "checking for $ac_word... " >&6; }
5645 if ${ac_cv_prog_RSVG+:} false
; then :
5646 $as_echo_n "(cached) " >&6
5648 if test -n "$RSVG"; then
5649 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5655 test -z "$as_dir" && as_dir
=.
5656 for ac_exec_ext
in '' $ac_executable_extensions; do
5657 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5658 ac_cv_prog_RSVG
="$ac_prog"
5659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5668 RSVG
=$ac_cv_prog_RSVG
5669 if test -n "$RSVG"; then
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5671 $as_echo "$RSVG" >&6; }
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5674 $as_echo "no" >&6; }
5678 test -n "$RSVG" && break
5680 test -n "$RSVG" || RSVG
="false"
5682 for ac_prog
in convert
5684 # Extract the first word of "$ac_prog", so it can be a program name with args.
5685 set dummy
$ac_prog; ac_word
=$2
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5687 $as_echo_n "checking for $ac_word... " >&6; }
5688 if ${ac_cv_prog_CONVERT+:} false
; then :
5689 $as_echo_n "(cached) " >&6
5691 if test -n "$CONVERT"; then
5692 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5694 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5698 test -z "$as_dir" && as_dir
=.
5699 for ac_exec_ext
in '' $ac_executable_extensions; do
5700 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5701 ac_cv_prog_CONVERT
="$ac_prog"
5702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5711 CONVERT
=$ac_cv_prog_CONVERT
5712 if test -n "$CONVERT"; then
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5714 $as_echo "$CONVERT" >&6; }
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5717 $as_echo "no" >&6; }
5721 test -n "$CONVERT" && break
5723 test -n "$CONVERT" || CONVERT
="false"
5725 for ac_prog
in icotool
5727 # Extract the first word of "$ac_prog", so it can be a program name with args.
5728 set dummy
$ac_prog; ac_word
=$2
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5730 $as_echo_n "checking for $ac_word... " >&6; }
5731 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5732 $as_echo_n "(cached) " >&6
5734 if test -n "$ICOTOOL"; then
5735 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5737 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5741 test -z "$as_dir" && as_dir
=.
5742 for ac_exec_ext
in '' $ac_executable_extensions; do
5743 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5744 ac_cv_prog_ICOTOOL
="$ac_prog"
5745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5754 ICOTOOL
=$ac_cv_prog_ICOTOOL
5755 if test -n "$ICOTOOL"; then
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5757 $as_echo "$ICOTOOL" >&6; }
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5760 $as_echo "no" >&6; }
5764 test -n "$ICOTOOL" && break
5766 test -n "$ICOTOOL" || ICOTOOL
="false"
5768 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5769 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5771 if test "$CONVERT" = false
5773 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5776 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5777 convert_version
=`convert --version | head -n1`
5778 if test "x$convert_version" != "x"
5780 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5781 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5782 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5787 if test "$CONVERT" = false
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5790 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5791 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5794 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5798 if test "$ICOTOOL" = false
5800 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5803 $as_echo_n "checking for recent enough icotool... " >&6; }
5804 icotool_version
=`icotool --version | head -n1`
5805 if test "x$icotool_version" != "x"
5807 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5808 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5809 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5812 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5815 if test "$ICOTOOL" = false
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5818 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5819 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5822 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5828 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5831 test "x$with_gettext" != xno || MSGFMT
=false
5832 if test "$MSGFMT" != "false"
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5835 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5836 cat >conftest.po
<<EOF
5842 if $MSGFMT -o /dev
/null conftest.po
2>&5
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5845 $as_echo "yes" >&6; }
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5848 $as_echo "no" >&6; }
5852 if test "$MSGFMT" = false
; then :
5853 case "x$with_gettext" in
5854 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5856 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5857 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5863 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5864 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5865 $as_echo_n "(cached) " >&6
5867 ac_check_lib_save_LIBS
=$LIBS
5869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5870 /* end confdefs.h. */
5872 /* Override any GCC internal prototype to avoid an error.
5873 Use char because int might match the return type of a GCC
5874 builtin and then its argument prototype would still apply. */
5878 char i386_set_ldt ();
5882 return i386_set_ldt ();
5887 if ac_fn_c_try_link
"$LINENO"; then :
5888 ac_cv_lib_i386_i386_set_ldt
=yes
5890 ac_cv_lib_i386_i386_set_ldt
=no
5892 rm -f core conftest.err conftest.
$ac_objext \
5893 conftest
$ac_exeext conftest.
$ac_ext
5894 LIBS
=$ac_check_lib_save_LIBS
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5897 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5898 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5899 cat >>confdefs.h
<<_ACEOF
5900 #define HAVE_LIBI386 1
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5908 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5909 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5910 $as_echo_n "(cached) " >&6
5912 ac_check_lib_save_LIBS
=$LIBS
5913 LIBS
="-lossaudio $LIBS"
5914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5915 /* end confdefs.h. */
5917 /* Override any GCC internal prototype to avoid an error.
5918 Use char because int might match the return type of a GCC
5919 builtin and then its argument prototype would still apply. */
5927 return _oss_ioctl ();
5932 if ac_fn_c_try_link
"$LINENO"; then :
5933 ac_cv_lib_ossaudio__oss_ioctl
=yes
5935 ac_cv_lib_ossaudio__oss_ioctl
=no
5937 rm -f core conftest.err conftest.
$ac_objext \
5938 conftest
$ac_exeext conftest.
$ac_ext
5939 LIBS
=$ac_check_lib_save_LIBS
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5942 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5943 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
5944 cat >>confdefs.h
<<_ACEOF
5945 #define HAVE_LIBOSSAUDIO 1
5948 LIBS
="-lossaudio $LIBS"
5957 # Check whether --enable-largefile was given.
5958 if test "${enable_largefile+set}" = set; then :
5959 enableval
=$enable_largefile;
5962 if test "$enable_largefile" != no
; then
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5965 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5966 if ${ac_cv_sys_largefile_CC+:} false
; then :
5967 $as_echo_n "(cached) " >&6
5969 ac_cv_sys_largefile_CC
=no
5970 if test "$GCC" != yes; then
5973 # IRIX 6.2 and later do not support large files by default,
5974 # so use the C compiler's -n32 option if that helps.
5975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5976 /* end confdefs.h. */
5977 #include <sys/types.h>
5978 /* Check that off_t can represent 2**63 - 1 correctly.
5979 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5980 since some C++ compilers masquerading as C compilers
5981 incorrectly reject 9223372036854775807. */
5982 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5983 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5984 && LARGE_OFF_T % 2147483647 == 1)
5994 if ac_fn_c_try_compile
"$LINENO"; then :
5997 rm -f core conftest.err conftest.
$ac_objext
5999 if ac_fn_c_try_compile
"$LINENO"; then :
6000 ac_cv_sys_largefile_CC
=' -n32'; break
6002 rm -f core conftest.err conftest.
$ac_objext
6006 rm -f conftest.
$ac_ext
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6010 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6011 if test "$ac_cv_sys_largefile_CC" != no
; then
6012 CC
=$CC$ac_cv_sys_largefile_CC
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6016 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6017 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6018 $as_echo_n "(cached) " >&6
6021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6022 /* end confdefs.h. */
6023 #include <sys/types.h>
6024 /* Check that off_t can represent 2**63 - 1 correctly.
6025 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6026 since some C++ compilers masquerading as C compilers
6027 incorrectly reject 9223372036854775807. */
6028 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6029 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6030 && LARGE_OFF_T % 2147483647 == 1)
6040 if ac_fn_c_try_compile
"$LINENO"; then :
6041 ac_cv_sys_file_offset_bits
=no
; break
6043 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6045 /* end confdefs.h. */
6046 #define _FILE_OFFSET_BITS 64
6047 #include <sys/types.h>
6048 /* Check that off_t can represent 2**63 - 1 correctly.
6049 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6050 since some C++ compilers masquerading as C compilers
6051 incorrectly reject 9223372036854775807. */
6052 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6053 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6054 && LARGE_OFF_T % 2147483647 == 1)
6064 if ac_fn_c_try_compile
"$LINENO"; then :
6065 ac_cv_sys_file_offset_bits
=64; break
6067 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6068 ac_cv_sys_file_offset_bits
=unknown
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6073 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6074 case $ac_cv_sys_file_offset_bits in #(
6077 cat >>confdefs.h
<<_ACEOF
6078 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6083 if test $ac_cv_sys_file_offset_bits = unknown
; then
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6085 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6086 if ${ac_cv_sys_large_files+:} false
; then :
6087 $as_echo_n "(cached) " >&6
6090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6091 /* end confdefs.h. */
6092 #include <sys/types.h>
6093 /* Check that off_t can represent 2**63 - 1 correctly.
6094 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6095 since some C++ compilers masquerading as C compilers
6096 incorrectly reject 9223372036854775807. */
6097 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6098 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6099 && LARGE_OFF_T % 2147483647 == 1)
6109 if ac_fn_c_try_compile
"$LINENO"; then :
6110 ac_cv_sys_large_files
=no
; break
6112 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6113 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6114 /* end confdefs.h. */
6115 #define _LARGE_FILES 1
6116 #include <sys/types.h>
6117 /* Check that off_t can represent 2**63 - 1 correctly.
6118 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6119 since some C++ compilers masquerading as C compilers
6120 incorrectly reject 9223372036854775807. */
6121 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6122 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6123 && LARGE_OFF_T % 2147483647 == 1)
6133 if ac_fn_c_try_compile
"$LINENO"; then :
6134 ac_cv_sys_large_files
=1; break
6136 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6137 ac_cv_sys_large_files
=unknown
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6142 $as_echo "$ac_cv_sys_large_files" >&6; }
6143 case $ac_cv_sys_large_files in #(
6146 cat >>confdefs.h
<<_ACEOF
6147 #define _LARGE_FILES $ac_cv_sys_large_files
6159 ac_cpp
='$CPP $CPPFLAGS'
6160 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6161 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6162 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6164 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6165 # On Suns, sometimes $CPP names a directory.
6166 if test -n "$CPP" && test -d "$CPP"; then
6169 if test -z "$CPP"; then
6170 if ${ac_cv_prog_CPP+:} false
; then :
6171 $as_echo_n "(cached) " >&6
6173 # Double quotes because CPP needs to be expanded
6174 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6177 for ac_c_preproc_warn_flag
in '' yes
6179 # Use a header file that comes with gcc, so configuring glibc
6180 # with a fresh cross-compiler works.
6181 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6182 # <limits.h> exists even on freestanding compilers.
6183 # On the NeXT, cc -E runs the code through the compiler's parser,
6184 # not just through cpp. "Syntax error" is here to catch this case.
6185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6186 /* end confdefs.h. */
6188 # include <limits.h>
6190 # include <assert.h>
6194 if ac_fn_c_try_cpp
"$LINENO"; then :
6197 # Broken: fails on valid input.
6200 rm -f conftest.err conftest.i conftest.
$ac_ext
6202 # OK, works on sane cases. Now check whether nonexistent headers
6203 # can be detected and how.
6204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6205 /* end confdefs.h. */
6206 #include <ac_nonexistent.h>
6208 if ac_fn_c_try_cpp
"$LINENO"; then :
6209 # Broken: success on invalid input.
6212 # Passes both tests.
6216 rm -f conftest.err conftest.i conftest.
$ac_ext
6219 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6220 rm -f conftest.i conftest.err conftest.
$ac_ext
6221 if $ac_preproc_ok; then :
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6234 $as_echo "$CPP" >&6; }
6236 for ac_c_preproc_warn_flag
in '' yes
6238 # Use a header file that comes with gcc, so configuring glibc
6239 # with a fresh cross-compiler works.
6240 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6241 # <limits.h> exists even on freestanding compilers.
6242 # On the NeXT, cc -E runs the code through the compiler's parser,
6243 # not just through cpp. "Syntax error" is here to catch this case.
6244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6245 /* end confdefs.h. */
6247 # include <limits.h>
6249 # include <assert.h>
6253 if ac_fn_c_try_cpp
"$LINENO"; then :
6256 # Broken: fails on valid input.
6259 rm -f conftest.err conftest.i conftest.
$ac_ext
6261 # OK, works on sane cases. Now check whether nonexistent headers
6262 # can be detected and how.
6263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6264 /* end confdefs.h. */
6265 #include <ac_nonexistent.h>
6267 if ac_fn_c_try_cpp
"$LINENO"; then :
6268 # Broken: success on invalid input.
6271 # Passes both tests.
6275 rm -f conftest.err conftest.i conftest.
$ac_ext
6278 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6279 rm -f conftest.i conftest.err conftest.
$ac_ext
6280 if $ac_preproc_ok; then :
6283 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6284 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6285 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6286 See \`config.log' for more details" "$LINENO" 5; }
6290 ac_cpp
='$CPP $CPPFLAGS'
6291 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6292 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6293 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6297 $as_echo_n "checking for ANSI C header files... " >&6; }
6298 if ${ac_cv_header_stdc+:} false
; then :
6299 $as_echo_n "(cached) " >&6
6301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6302 /* end confdefs.h. */
6316 if ac_fn_c_try_compile
"$LINENO"; then :
6317 ac_cv_header_stdc
=yes
6319 ac_cv_header_stdc
=no
6321 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6323 if test $ac_cv_header_stdc = yes; then
6324 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6326 /* end confdefs.h. */
6330 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6331 $EGREP "memchr" >/dev
/null
2>&1; then :
6334 ac_cv_header_stdc
=no
6340 if test $ac_cv_header_stdc = yes; then
6341 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6343 /* end confdefs.h. */
6347 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6348 $EGREP "free" >/dev
/null
2>&1; then :
6351 ac_cv_header_stdc
=no
6357 if test $ac_cv_header_stdc = yes; then
6358 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6359 if test "$cross_compiling" = yes; then :
6362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6363 /* end confdefs.h. */
6366 #if ((' ' & 0x0FF) == 0x020)
6367 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6368 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6370 # define ISLOWER(c) \
6371 (('a' <= (c) && (c) <= 'i') \
6372 || ('j' <= (c) && (c) <= 'r') \
6373 || ('s' <= (c) && (c) <= 'z'))
6374 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6377 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6382 for (i = 0; i < 256; i++)
6383 if (XOR (islower (i), ISLOWER (i))
6384 || toupper (i) != TOUPPER (i))
6389 if ac_fn_c_try_run
"$LINENO"; then :
6392 ac_cv_header_stdc
=no
6394 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6395 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6401 $as_echo "$ac_cv_header_stdc" >&6; }
6402 if test $ac_cv_header_stdc = yes; then
6404 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6408 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6409 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6410 inttypes.h stdint.h unistd.h
6412 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6413 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6415 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6416 cat >>confdefs.h
<<_ACEOF
6417 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6427 ApplicationServices
/ApplicationServices.h \
6428 AudioToolbox
/AudioConverter.h \
6429 AudioUnit
/AudioUnit.h \
6430 AudioUnit
/AudioComponent.h \
6433 CoreAudio
/CoreAudio.h \
6434 CoreServices
/CoreServices.h \
6435 DiskArbitration
/DiskArbitration.h \
6437 IOKit
/hid
/IOHIDLib.h \
6440 QuickTime
/ImageCompression.h \
6441 Security
/Security.h \
6492 netinet
/in_systm.h \
6553 valgrind
/memcheck.h \
6554 valgrind
/valgrind.h \
6558 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6559 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6560 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6561 cat >>confdefs.h
<<_ACEOF
6562 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6570 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6571 if ${ac_cv_header_stat_broken+:} false
; then :
6572 $as_echo_n "(cached) " >&6
6574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6575 /* end confdefs.h. */
6576 #include <sys/types.h>
6577 #include <sys/stat.h>
6579 #if defined S_ISBLK && defined S_IFDIR
6580 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6583 #if defined S_ISBLK && defined S_IFCHR
6584 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6587 #if defined S_ISLNK && defined S_IFREG
6588 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6591 #if defined S_ISSOCK && defined S_IFREG
6592 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6596 if ac_fn_c_try_compile
"$LINENO"; then :
6597 ac_cv_header_stat_broken
=no
6599 ac_cv_header_stat_broken
=yes
6601 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6604 $as_echo "$ac_cv_header_stat_broken" >&6; }
6605 if test $ac_cv_header_stat_broken = yes; then
6607 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6613 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6615 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6616 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6617 #ifdef HAVE_SYS_PARAM_H
6618 # include <sys/param.h>
6621 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6622 cat >>confdefs.h
<<_ACEOF
6623 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6638 netinet
/if_ether.h \
6639 netinet
/if_inarp.h \
6648 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6649 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6650 #ifdef HAVE_SYS_SOCKET_H
6651 # include <sys/socket.h>
6653 #ifdef HAVE_SYS_SOCKETVAR_H
6654 # include <sys/socketvar.h>
6656 #ifdef HAVE_NET_ROUTE_H
6657 # include <net/route.h>
6659 #ifdef HAVE_NETINET_IN_H
6660 # include <netinet/in.h>
6662 #ifdef HAVE_NETINET_IN_SYSTM_H
6663 # include <netinet/in_systm.h>
6665 #ifdef HAVE_NET_IF_H
6666 # include <net/if.h>
6668 #ifdef HAVE_NETINET_IP_H
6669 # include <netinet/ip.h>
6672 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6673 cat >>confdefs.h
<<_ACEOF
6674 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6682 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6684 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6685 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6689 #ifdef HAVE_SYS_SOCKET_H
6690 # include <sys/socket.h>
6692 #ifdef HAVE_SYS_SOCKETVAR_H
6693 # include <sys/socketvar.h>
6695 #ifdef HAVE_SYS_TIMEOUT_H
6696 # include <sys/timeout.h>
6698 #ifdef HAVE_NETINET_IN_H
6699 # include <netinet/in.h>
6701 #ifdef HAVE_NETINET_IN_SYSTM_H
6702 # include <netinet/in_systm.h>
6704 #ifdef HAVE_NETINET_IP_H
6705 # include <netinet/ip.h>
6707 #ifdef HAVE_NETINET_IP_VAR_H
6708 # include <netinet/ip_var.h>
6710 #ifdef HAVE_NETINET_IP_ICMP_H
6711 # include <netinet/ip_icmp.h>
6713 #ifdef HAVE_NETINET_UDP_H
6714 # include <netinet/udp.h>
6716 #ifdef HAVE_NETINET_TCP_H
6717 # include <netinet/tcp.h>
6719 #ifdef HAVE_NETINET_TCP_TIMER_H
6720 #include <netinet/tcp_timer.h>
6723 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6724 cat >>confdefs.h
<<_ACEOF
6725 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6733 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6735 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6736 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6737 #ifdef HAVE_ASM_TYPES_H
6738 # include <asm/types.h>
6740 #ifdef HAVE_SYS_SOCKET_H
6741 # include <sys/socket.h>
6743 #ifdef HAVE_LINUX_TYPES_H
6744 # include <linux/types.h>
6747 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6748 cat >>confdefs.h
<<_ACEOF
6749 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6757 for ac_header
in mach-o
/dyld_images.h
6759 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6760 # include <stdbool.h>
6762 #ifdef HAVE_STDINT_H
6763 # include <stdint.h>
6766 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6767 cat >>confdefs.h
<<_ACEOF
6768 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6776 for ac_header
in resolv.h
6778 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6779 #ifdef HAVE_SYS_SOCKET_H
6780 # include <sys/socket.h>
6782 #ifdef HAVE_NETINET_IN_H
6783 # include <netinet/in.h>
6785 #ifdef HAVE_ARPA_NAMESER_H
6786 # include <arpa/nameser.h>
6789 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6790 cat >>confdefs.h
<<_ACEOF
6791 #define HAVE_RESOLV_H 1
6799 for ac_header
in ifaddrs.h
6801 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6803 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6804 cat >>confdefs.h
<<_ACEOF
6805 #define HAVE_IFADDRS_H 1
6813 for ac_header
in ucontext.h
6815 ac_fn_c_check_header_compile
"$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6817 if test "x$ac_cv_header_ucontext_h" = xyes
; then :
6818 cat >>confdefs.h
<<_ACEOF
6819 #define HAVE_UCONTEXT_H 1
6827 for ac_header
in sys
/thr.h
6829 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6830 #ifdef HAVE_UCONTEXT_H
6831 #include <ucontext.h>
6834 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6835 cat >>confdefs.h
<<_ACEOF
6836 #define HAVE_SYS_THR_H 1
6844 for ac_header
in pthread_np.h
6846 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6847 #include <pthread.h>
6850 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6851 cat >>confdefs.h
<<_ACEOF
6852 #define HAVE_PTHREAD_NP_H 1
6860 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
6862 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6863 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6864 #include <sys/time.h>
6866 #include <sys/types.h>
6867 #ifdef HAVE_ASM_TYPES_H
6868 #include <asm/types.h>
6871 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6872 cat >>confdefs.h
<<_ACEOF
6873 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6881 for ac_header
in libprocstat.h
6883 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6884 #include <sys/param.h>
6886 #ifdef HAVE_SYS_QUEUE_H
6887 #include <sys/queue.h>
6889 #ifdef HAVE_SYS_SOCKET_H
6890 #include <sys/socket.h>
6893 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
6894 cat >>confdefs.h
<<_ACEOF
6895 #define HAVE_LIBPROCSTAT_H 1
6904 dlldir
="\${libdir}/wine"
6908 DLLFLAGS
="-D_REENTRANT"
6917 STATIC_IMPLIBEXT
="def.a"
6918 # Extract the first word of "ldd", so it can be a program name with args.
6919 set dummy ldd
; ac_word
=$2
6920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6921 $as_echo_n "checking for $ac_word... " >&6; }
6922 if ${ac_cv_path_LDD+:} false
; then :
6923 $as_echo_n "(cached) " >&6
6927 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6930 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6931 as_dummy
="/sbin:/usr/sbin:$PATH"
6932 for as_dir
in $as_dummy
6935 test -z "$as_dir" && as_dir
=.
6936 for ac_exec_ext
in '' $ac_executable_extensions; do
6937 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6938 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6946 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6951 if test -n "$LDD"; then
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6953 $as_echo "$LDD" >&6; }
6955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6956 $as_echo "no" >&6; }
6960 if test -n "$ac_tool_prefix"; then
6961 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6962 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6964 $as_echo_n "checking for $ac_word... " >&6; }
6965 if ${ac_cv_prog_READELF+:} false
; then :
6966 $as_echo_n "(cached) " >&6
6968 if test -n "$READELF"; then
6969 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
6971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6975 test -z "$as_dir" && as_dir
=.
6976 for ac_exec_ext
in '' $ac_executable_extensions; do
6977 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6978 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
6979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6988 READELF
=$ac_cv_prog_READELF
6989 if test -n "$READELF"; then
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
6991 $as_echo "$READELF" >&6; }
6993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6994 $as_echo "no" >&6; }
6999 if test -z "$ac_cv_prog_READELF"; then
7000 ac_ct_READELF
=$READELF
7001 # Extract the first word of "readelf", so it can be a program name with args.
7002 set dummy readelf
; ac_word
=$2
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7004 $as_echo_n "checking for $ac_word... " >&6; }
7005 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7006 $as_echo_n "(cached) " >&6
7008 if test -n "$ac_ct_READELF"; then
7009 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7011 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7015 test -z "$as_dir" && as_dir
=.
7016 for ac_exec_ext
in '' $ac_executable_extensions; do
7017 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7018 ac_cv_prog_ac_ct_READELF
="readelf"
7019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7028 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7029 if test -n "$ac_ct_READELF"; then
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7031 $as_echo "$ac_ct_READELF" >&6; }
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7034 $as_echo "no" >&6; }
7037 if test "x$ac_ct_READELF" = x
; then
7040 case $cross_compiling:$ac_tool_warned in
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7043 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7044 ac_tool_warned
=yes ;;
7046 READELF
=$ac_ct_READELF
7049 READELF
="$ac_cv_prog_READELF"
7052 wine_rules_file
=conf$
$rules.
make
7053 rm -f $wine_rules_file
7055 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7056 ALL_TEST_RESOURCES
=""
7059 wine_fn_append_file
()
7061 as_fn_append
$1 " \\$as_nl $2"
7064 wine_fn_ignore_file
()
7067 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7068 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7069 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7073 wine_fn_append_rule
()
7075 $as_echo "$1" >>$wine_rules_file
7080 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7083 wine_fn_depend_rules
()
7085 wine_fn_append_rule \
7086 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7087 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7088 depend: $ac_dir/depend
7089 .PHONY: $ac_dir/depend
7090 $ac_dir/depend: \$(MAKEDEP) dummy
7091 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7094 wine_fn_pot_rules
()
7096 test "x$with_gettextpo" = xyes ||
return
7098 if wine_fn_has_flag mc
7100 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7101 wine_fn_append_rule \
7102 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7103 @cd $ac_dir && \$(MAKE) msg.pot
7104 $ac_dir/msg.pot: tools/wmc include"
7106 if wine_fn_has_flag po
7108 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7109 wine_fn_append_rule \
7110 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7111 @cd $ac_dir && \$(MAKE) rsrc.pot
7112 $ac_dir/rsrc.pot: tools/wrc include"
7116 wine_fn_all_rules
()
7118 wine_fn_depend_rules
7119 wine_fn_append_rule \
7122 $ac_dir: $ac_dir/Makefile dummy
7123 @cd $ac_dir && \$(MAKE)"
7126 wine_fn_install_rules
()
7128 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7130 wine_fn_append_rule \
7131 ".PHONY: $ac_dir/install $ac_dir/uninstall
7132 $ac_dir/install:: $ac_dir
7133 @cd $ac_dir && \$(MAKE) install
7134 $ac_dir/uninstall:: $ac_dir/Makefile
7135 @cd $ac_dir && \$(MAKE) uninstall
7136 install:: $ac_dir/install
7137 __uninstall__: $ac_dir/uninstall"
7139 if wine_fn_has_flag install-lib
7141 wine_fn_append_rule \
7142 ".PHONY: $ac_dir/install-lib
7143 $ac_dir/install-lib:: $ac_dir
7144 @cd $ac_dir && \$(MAKE) install-lib
7145 install-lib:: $ac_dir/install-lib"
7148 if wine_fn_has_flag install-dev
7150 wine_fn_append_rule \
7151 ".PHONY: $ac_dir/install-dev
7152 $ac_dir/install-dev:: $ac_dir
7153 @cd $ac_dir && \$(MAKE) install-dev
7154 install-dev:: $ac_dir/install-dev"
7158 wine_fn_clean_rules
()
7161 ac_extraclean
="$ac_dir/Makefile"
7162 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7164 */tests
) ac_extraclean
="$ac_extraclean $ac_dir/testlist.c" ;;
7167 if wine_fn_has_flag clean
7169 wine_fn_append_rule \
7170 "__clean__: $ac_dir/clean
7171 .PHONY: $ac_dir/clean
7172 $ac_dir/clean: $ac_dir/Makefile
7173 @cd $ac_dir && \$(MAKE) clean
7174 \$(RM) $ac_extraclean"
7176 wine_fn_append_rule \
7177 "__clean__: $ac_dir/clean
7178 .PHONY: $ac_dir/clean
7179 $ac_dir/clean: dummy
7180 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7184 wine_fn_disabled_rules
()
7187 ac_extraclean
="$ac_dir/Makefile"
7188 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7190 wine_fn_append_rule \
7191 "__clean__: $ac_dir/clean
7192 .PHONY: $ac_dir/clean
7193 $ac_dir/clean: dummy
7194 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7197 wine_fn_config_makefile
()
7203 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7204 wine_fn_disabled_rules
; return
7207 wine_fn_install_rules
7211 wine_fn_config_lib
()
7215 ac_dir
=dlls
/$ac_name
7218 if test "x$enable_tools" = xno
; then :
7221 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7226 wine_fn_append_rule \
7227 ".PHONY: $ac_dir/install $ac_dir/uninstall
7228 $ac_dir/install:: $ac_dir
7229 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7231 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7232 install install-dev:: $ac_dir/install
7233 __uninstall__: $ac_dir/uninstall
7234 __builddeps__: $ac_dir
7238 wine_fn_config_dll
()
7241 ac_dir
=dlls
/$ac_name
7244 ac_implib
=${4:-$ac_name}
7245 ac_file
=$ac_dir/lib
$ac_implib
7250 if test "x$enable_tools" = xno
; then :
7253 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7256 *16) ac_implibflags
=" -m16" ;;
7258 *) ac_dll
=$ac_dll.dll
;;
7262 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7263 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7264 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7265 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7267 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7268 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
7270 wine_fn_depend_rules
7271 wine_fn_clean_rules
$ac_clean
7273 wine_fn_disabled_rules
$ac_clean
7278 wine_fn_clean_rules
$ac_clean
7279 wine_fn_append_rule \
7280 "$ac_dir: __builddeps__
7281 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7282 @cd $ac_dir && \$(MAKE) \$@
7283 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7284 install install-lib:: $ac_dir/install-lib
7285 __uninstall__: $ac_dir/uninstall"
7286 if test -n "$DLLEXT"
7288 wine_fn_append_rule \
7289 "$ac_dir/install-lib:: $ac_dir
7290 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7291 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7293 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7295 wine_fn_append_rule \
7296 "$ac_dir/install-lib:: $ac_dir
7297 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7299 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7305 if wine_fn_has_flag staticimplib
7307 wine_fn_append_rule \
7308 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7309 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7310 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7311 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7312 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7313 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7314 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7315 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7316 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7318 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7319 install install-dev:: $ac_dir/install-dev
7320 __uninstall__: $ac_dir/uninstall"
7322 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7324 wine_fn_append_rule \
7325 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7326 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7328 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7331 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7333 wine_fn_append_rule \
7334 "__builddeps__: $ac_file.cross.a
7335 $ac_file.cross.a: $ac_dir/Makefile dummy
7336 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7339 elif wine_fn_has_flag implib
7341 wine_fn_append_rule \
7342 "__builddeps__: $ac_file.$IMPLIBEXT
7343 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7344 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7345 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7346 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7347 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7348 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7349 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7351 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7352 install install-dev:: $ac_dir/install-dev
7353 __uninstall__: $ac_dir/uninstall"
7354 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7356 wine_fn_append_rule \
7357 "__builddeps__: $ac_file.cross.a
7358 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7359 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7362 if test "$ac_name" != "$ac_implib"
7364 wine_fn_append_rule \
7365 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7366 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7367 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7369 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7370 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7371 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7373 wine_fn_append_rule \
7374 "__builddeps__: dlls/lib$ac_implib.cross.a
7375 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7376 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7378 \$(RM) dlls/lib$ac_implib.cross.a"
7379 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7385 wine_fn_config_program
()
7388 ac_dir
=programs
/$ac_name
7395 *) ac_program
=$ac_program.exe
;;
7399 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7400 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7401 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7402 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7404 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7405 wine_fn_disabled_rules
$ac_clean; return
7409 wine_fn_clean_rules
$ac_clean
7410 wine_fn_append_rule
"$ac_dir: __builddeps__"
7413 wine_fn_has_flag
install ||
return
7414 wine_fn_append_rule \
7415 ".PHONY: $ac_dir/install $ac_dir/uninstall
7416 install install-lib:: $ac_dir/install
7417 __uninstall__: $ac_dir/uninstall"
7419 if test -n "$DLLEXT"
7421 wine_fn_append_rule \
7422 "$ac_dir/install:: $ac_dir
7423 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7424 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7426 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7428 if test -z "$with_wine64" && wine_fn_has_flag installbin
7430 wine_fn_append_rule \
7431 "$ac_dir/install:: __tooldeps__
7432 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7434 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7437 wine_fn_append_rule \
7438 "$ac_dir/install:: $ac_dir
7439 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7441 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7444 if test -z "$with_wine64" && wine_fn_has_flag manpage
7446 wine_fn_append_rule \
7447 "$ac_dir/install:: $ac_dir
7448 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7450 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7454 wine_fn_config_test
()
7461 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7462 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7464 if test "x$enable_tests" = xno
; then :
7465 wine_fn_disabled_rules
$ac_clean; return
7468 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7470 wine_fn_clean_rules
$ac_clean
7472 wine_fn_append_rule \
7473 "$ac_dir: programs/winetest/Makefile __builddeps__
7474 programs/winetest: $ac_dir
7475 check test: $ac_dir/test
7476 .PHONY: $ac_dir/test
7478 @cd $ac_dir && \$(MAKE) test
7480 \$(RM) $ac_dir/*.ok"
7482 if test -n "$CROSSTARGET"
7484 wine_fn_append_rule \
7485 "crosstest: $ac_dir/crosstest
7486 .PHONY: $ac_dir/crosstest
7487 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7488 @cd $ac_dir && \$(MAKE) crosstest"
7492 wine_fn_config_tool
()
7496 if test "x$enable_tools" = xno
; then :
7501 wine_fn_install_rules
7504 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7505 wine_fn_append_rule
"$ac_dir: libs/port"
7507 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7511 wine_fn_config_symlink
()
7514 if test "x$1" = "x-d"
7520 wine_fn_append_rule \
7522 @./config.status \$@
7525 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7526 test -n "$ac_linkdir" ||
return
7527 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7531 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7532 loader_programs
="$wine_binary wine-installed"
7533 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7536 install install-lib:: wine-installed
7537 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7540 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7546 if test -n "$ac_tool_prefix"; then
7547 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7548 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7550 $as_echo_n "checking for $ac_word... " >&6; }
7551 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7552 $as_echo_n "(cached) " >&6
7554 if test -n "$DLLTOOL"; then
7555 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7557 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7561 test -z "$as_dir" && as_dir
=.
7562 for ac_exec_ext
in '' $ac_executable_extensions; do
7563 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7564 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7574 DLLTOOL
=$ac_cv_prog_DLLTOOL
7575 if test -n "$DLLTOOL"; then
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7577 $as_echo "$DLLTOOL" >&6; }
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7580 $as_echo "no" >&6; }
7585 if test -z "$ac_cv_prog_DLLTOOL"; then
7586 ac_ct_DLLTOOL
=$DLLTOOL
7587 # Extract the first word of "dlltool", so it can be a program name with args.
7588 set dummy dlltool
; ac_word
=$2
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7590 $as_echo_n "checking for $ac_word... " >&6; }
7591 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7592 $as_echo_n "(cached) " >&6
7594 if test -n "$ac_ct_DLLTOOL"; then
7595 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7597 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7601 test -z "$as_dir" && as_dir
=.
7602 for ac_exec_ext
in '' $ac_executable_extensions; do
7603 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7604 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7614 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7615 if test -n "$ac_ct_DLLTOOL"; then
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7617 $as_echo "$ac_ct_DLLTOOL" >&6; }
7619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7620 $as_echo "no" >&6; }
7623 if test "x$ac_ct_DLLTOOL" = x
; then
7626 case $cross_compiling:$ac_tool_warned in
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7629 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7630 ac_tool_warned
=yes ;;
7632 DLLTOOL
=$ac_ct_DLLTOOL
7635 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7641 STATIC_IMPLIBEXT
="a"
7642 enable_iphlpapi
=${enable_iphlpapi:-no}
7643 enable_kernel32
=${enable_kernel32:-no}
7644 enable_msvcrt
=${enable_msvcrt:-no}
7645 enable_ntdll
=${enable_ntdll:-no}
7646 enable_ws2_32
=${enable_ws2_32:-no}
7647 enable_loader
=${enable_loader:-no}
7648 enable_server
=${enable_server:-no}
7649 with_x
=${with_x:-no}
7650 with_pthread
=${with_pthread:-no}
7656 SOCKET_LIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7660 libwine_targets
="libwine.dll libwine.a"
7662 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7664 all: libwine.dll libwine.a
7666 libwine.a: \$(srcdir)/wine.def
7667 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7669 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7670 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7672 install install-lib:: libwine.dll
7673 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7675 install install-dev:: libwine.a
7676 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7679 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7686 DLLFLAGS
="$DLLFLAGS -fPIC"
7687 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7688 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7689 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7690 COREFOUNDATION_LIBS
="-framework CoreFoundation"
7692 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
7694 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
7696 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
7698 CORESERVICES_LIBS
="-framework CoreServices"
7700 APPKIT_LIBS
="-framework AppKit"
7702 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7704 darwin11
*) LDEXECFLAGS
="-Wl,-macosx_version_min,10.6 $LDEXECFLAGS" ;;
7706 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7708 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
7711 if test "$ac_cv_header_Security_Security_h" = "yes"
7713 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
7715 ac_save_LIBS
="$LIBS"
7716 LIBS
="$LIBS $SECURITY_LIBS"
7717 for ac_func
in SSLCopyPeerCertificates
7719 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7720 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7721 cat >>confdefs.h
<<_ACEOF
7722 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7728 LIBS
="$ac_save_LIBS"
7729 with_gnutls
=${with_gnutls:-no}
7731 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7733 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7735 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7738 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7741 ac_save_LIBS
="$LIBS"
7742 LIBS
="$LIBS $COREAUDIO_LIBS"
7743 for ac_func
in AUGraphAddNode
7745 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7746 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7747 cat >>confdefs.h
<<_ACEOF
7748 #define HAVE_AUGRAPHADDNODE 1
7754 LIBS
="$ac_save_LIBS"
7756 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7758 OPENAL_LIBS
="-framework OpenAL"
7761 cat >>confdefs.h
<<_ACEOF
7762 #define HAVE_OPENAL 1
7765 ac_cv_lib_openal
=yes
7767 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7769 OPENCL_LIBS
="-framework OpenCL"
7771 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7773 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7775 ac_save_LIBS
="$LIBS"
7776 LIBS
="$LIBS $IOKIT_LIBS"
7777 for ac_func
in IOHIDManagerCreate
7779 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7780 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7781 cat >>confdefs.h
<<_ACEOF
7782 #define HAVE_IOHIDMANAGERCREATE 1
7788 LIBS
="$ac_save_LIBS"
7790 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7792 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7794 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
7796 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7798 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7800 CARBON_LIBS
="-framework Carbon"
7804 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7806 ac_save_LIBS
="$LIBS"
7807 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
7808 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7809 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
7810 enable_winemac_drv
=${enable_winemac_drv:-yes}
7813 LIBS
="$ac_save_LIBS"
7816 if test "x$enable_win16" = "xyes"
7818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7819 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7820 if test "$cross_compiling" = yes; then :
7821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7822 $as_echo "cross-compiling, assuming yes" >&6; }
7824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7825 /* end confdefs.h. */
7828 "good:\tnop;nop\n\t"
7829 ".globl _testfunc\n"
7830 "_testfunc:\tcallw good");
7831 extern void testfunc();
7835 unsigned short *p = (unsigned short *)testfunc;
7836 return p[0] != 0xe866 || p[1] != 0xfffa
7841 if ac_fn_c_try_run
"$LINENO"; then :
7842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7843 $as_echo "yes" >&6; }
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7846 $as_echo "no" >&6; }
7847 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
7849 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7850 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7855 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7857 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7861 libwine.$libwine_version.dylib: \$(OBJS)
7862 \$(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 \$@
7864 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7865 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7867 libwine.dylib: libwine.$libwine_soversion.dylib
7868 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7870 install install-lib:: libwine.$libwine_version.dylib
7871 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7872 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7874 install install-dev::
7875 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7878 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7882 as_fn_append LOADER_RULES
"
7883 $wine_binary: main.o wine_info.plist
7884 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7886 wine-installed: main.o wine_info.plist
7887 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7892 DLLFLAGS
="$DLLFLAGS -fPIC"
7896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7897 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7898 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7899 $as_echo_n "(cached) " >&6
7901 ac_wine_try_cflags_saved
=$CFLAGS
7902 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7903 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7904 /* end confdefs.h. */
7905 int main(int argc, char **argv) { return 0; }
7907 if ac_fn_c_try_link
"$LINENO"; then :
7908 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7910 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7912 rm -f core conftest.err conftest.
$ac_objext \
7913 conftest
$ac_exeext conftest.
$ac_ext
7914 CFLAGS
=$ac_wine_try_cflags_saved
7916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7917 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7918 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
7919 LDEXECFLAGS
="-Wl,--export-dynamic"
7921 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7923 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7924 if eval \
${$as_ac_var+:} false
; then :
7925 $as_echo_n "(cached) " >&6
7927 ac_wine_try_cflags_saved
=$CFLAGS
7928 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7930 /* end confdefs.h. */
7931 int main(int argc, char **argv) { return 0; }
7933 if ac_fn_c_try_link
"$LINENO"; then :
7934 eval "$as_ac_var=yes"
7936 eval "$as_ac_var=no"
7938 rm -f core conftest.err conftest.
$ac_objext \
7939 conftest
$ac_exeext conftest.
$ac_ext
7940 CFLAGS
=$ac_wine_try_cflags_saved
7942 eval ac_res
=\$
$as_ac_var
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7944 $as_echo "$ac_res" >&6; }
7945 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7946 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7947 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7949 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7951 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7952 if eval \
${$as_ac_var+:} false
; then :
7953 $as_echo_n "(cached) " >&6
7955 ac_wine_try_cflags_saved
=$CFLAGS
7956 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7958 /* end confdefs.h. */
7959 int main(int argc, char **argv) { return 0; }
7961 if ac_fn_c_try_link
"$LINENO"; then :
7962 eval "$as_ac_var=yes"
7964 eval "$as_ac_var=no"
7966 rm -f core conftest.err conftest.
$ac_objext \
7967 conftest
$ac_exeext conftest.
$ac_ext
7968 CFLAGS
=$ac_wine_try_cflags_saved
7970 eval ac_res
=\$
$as_ac_var
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7972 $as_echo "$ac_res" >&6; }
7973 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7974 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7975 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7980 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7981 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
7982 $as_echo_n "(cached) " >&6
7984 ac_wine_try_cflags_saved
=$CFLAGS
7985 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
7986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7987 /* end confdefs.h. */
7988 int main(int argc, char **argv) { return 0; }
7990 if ac_fn_c_try_link
"$LINENO"; then :
7991 ac_cv_cflags__Wl___enable_new_dtags
=yes
7993 ac_cv_cflags__Wl___enable_new_dtags
=no
7995 rm -f core conftest.err conftest.
$ac_objext \
7996 conftest
$ac_exeext conftest.
$ac_ext
7997 CFLAGS
=$ac_wine_try_cflags_saved
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8000 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8001 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8002 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8006 *i
[3456789]86* | x86_64
)
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8008 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8009 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8010 $as_echo_n "(cached) " >&6
8012 ac_wine_try_cflags_saved
=$CFLAGS
8013 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8015 /* end confdefs.h. */
8016 int main(int argc, char **argv) { return 0; }
8018 if ac_fn_c_try_link
"$LINENO"; then :
8019 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8021 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8023 rm -f core conftest.err conftest.
$ac_objext \
8024 conftest
$ac_exeext conftest.
$ac_ext
8025 CFLAGS
=$ac_wine_try_cflags_saved
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8028 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8029 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8030 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8035 libwine_targets
="libwine.so"
8037 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8041 libwine.so: \$(OBJS)
8042 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8044 install install-lib:: libwine.so
8045 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8048 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8052 as_fn_append LOADER_RULES
"
8053 $wine_binary: main.o
8054 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8056 wine-installed: main.o
8057 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8062 DLLFLAGS
="$DLLFLAGS -fPIC"
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8065 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8066 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8067 $as_echo_n "(cached) " >&6
8069 ac_wine_try_cflags_saved
=$CFLAGS
8070 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8072 /* end confdefs.h. */
8075 if ac_fn_c_try_link
"$LINENO"; then :
8076 ac_cv_c_dll_gnuelf
="yes"
8078 ac_cv_c_dll_gnuelf
="no"
8080 rm -f core conftest.err conftest.
$ac_objext \
8081 conftest
$ac_exeext conftest.
$ac_ext
8082 CFLAGS
=$ac_wine_try_cflags_saved
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8085 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8086 if test "$ac_cv_c_dll_gnuelf" = "yes"
8088 LDSHARED
="\$(CC) -shared"
8089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8090 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8091 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8092 $as_echo_n "(cached) " >&6
8094 ac_wine_try_cflags_saved
=$CFLAGS
8095 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8097 /* end confdefs.h. */
8098 int main(int argc, char **argv) { return 0; }
8100 if ac_fn_c_try_link
"$LINENO"; then :
8101 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8103 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8105 rm -f core conftest.err conftest.
$ac_objext \
8106 conftest
$ac_exeext conftest.
$ac_ext
8107 CFLAGS
=$ac_wine_try_cflags_saved
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8110 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8111 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8112 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8115 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8116 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8117 $as_echo_n "(cached) " >&6
8119 ac_wine_try_cflags_saved
=$CFLAGS
8120 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8122 /* end confdefs.h. */
8123 int main(int argc, char **argv) { return 0; }
8125 if ac_fn_c_try_link
"$LINENO"; then :
8126 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8128 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8130 rm -f core conftest.err conftest.
$ac_objext \
8131 conftest
$ac_exeext conftest.
$ac_ext
8132 CFLAGS
=$ac_wine_try_cflags_saved
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8135 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8136 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8137 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8141 echo '{ global: *; };' >conftest.map
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8143 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8144 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8145 $as_echo_n "(cached) " >&6
8147 ac_wine_try_cflags_saved
=$CFLAGS
8148 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8150 /* end confdefs.h. */
8151 int main(int argc, char **argv) { return 0; }
8153 if ac_fn_c_try_link
"$LINENO"; then :
8154 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8156 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8158 rm -f core conftest.err conftest.
$ac_objext \
8159 conftest
$ac_exeext conftest.
$ac_ext
8160 CFLAGS
=$ac_wine_try_cflags_saved
8162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8163 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8164 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8165 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8170 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8171 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8172 $as_echo_n "(cached) " >&6
8174 ac_wine_try_cflags_saved
=$CFLAGS
8175 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8176 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8177 /* end confdefs.h. */
8178 int main(int argc, char **argv) { return 0; }
8180 if ac_fn_c_try_link
"$LINENO"; then :
8181 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8183 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8185 rm -f core conftest.err conftest.
$ac_objext \
8186 conftest
$ac_exeext conftest.
$ac_ext
8187 CFLAGS
=$ac_wine_try_cflags_saved
8189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8190 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8191 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8192 LDEXECFLAGS
="-Wl,--export-dynamic"
8195 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8197 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8198 if eval \
${$as_ac_var+:} false
; then :
8199 $as_echo_n "(cached) " >&6
8201 ac_wine_try_cflags_saved
=$CFLAGS
8202 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8204 /* end confdefs.h. */
8205 int main(int argc, char **argv) { return 0; }
8207 if ac_fn_c_try_link
"$LINENO"; then :
8208 eval "$as_ac_var=yes"
8210 eval "$as_ac_var=no"
8212 rm -f core conftest.err conftest.
$ac_objext \
8213 conftest
$ac_exeext conftest.
$ac_ext
8214 CFLAGS
=$ac_wine_try_cflags_saved
8216 eval ac_res
=\$
$as_ac_var
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8218 $as_echo "$ac_res" >&6; }
8219 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8220 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8221 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8223 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8225 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8226 if eval \
${$as_ac_var+:} false
; then :
8227 $as_echo_n "(cached) " >&6
8229 ac_wine_try_cflags_saved
=$CFLAGS
8230 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8232 /* end confdefs.h. */
8233 int main(int argc, char **argv) { return 0; }
8235 if ac_fn_c_try_link
"$LINENO"; then :
8236 eval "$as_ac_var=yes"
8238 eval "$as_ac_var=no"
8240 rm -f core conftest.err conftest.
$ac_objext \
8241 conftest
$ac_exeext conftest.
$ac_ext
8242 CFLAGS
=$ac_wine_try_cflags_saved
8244 eval ac_res
=\$
$as_ac_var
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8246 $as_echo "$ac_res" >&6; }
8247 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8248 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8249 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8254 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8255 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8256 $as_echo_n "(cached) " >&6
8258 ac_wine_try_cflags_saved
=$CFLAGS
8259 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8261 /* end confdefs.h. */
8262 int main(int argc, char **argv) { return 0; }
8264 if ac_fn_c_try_link
"$LINENO"; then :
8265 ac_cv_cflags__Wl___enable_new_dtags
=yes
8267 ac_cv_cflags__Wl___enable_new_dtags
=no
8269 rm -f core conftest.err conftest.
$ac_objext \
8270 conftest
$ac_exeext conftest.
$ac_ext
8271 CFLAGS
=$ac_wine_try_cflags_saved
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8274 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8275 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8276 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8280 *i
[3456789]86* | x86_64
)
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8282 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8283 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8284 $as_echo_n "(cached) " >&6
8286 ac_wine_try_cflags_saved
=$CFLAGS
8287 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8289 /* end confdefs.h. */
8290 int main(int argc, char **argv) { return 0; }
8292 if ac_fn_c_try_link
"$LINENO"; then :
8293 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8295 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8297 rm -f core conftest.err conftest.
$ac_objext \
8298 conftest
$ac_exeext conftest.
$ac_ext
8299 CFLAGS
=$ac_wine_try_cflags_saved
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8302 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8303 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8305 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8306 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8310 # Extract the first word of "prelink", so it can be a program name with args.
8311 set dummy prelink
; ac_word
=$2
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8313 $as_echo_n "checking for $ac_word... " >&6; }
8314 if ${ac_cv_path_PRELINK+:} false
; then :
8315 $as_echo_n "(cached) " >&6
8319 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8323 for as_dir
in /sbin
/usr
/sbin
$PATH
8326 test -z "$as_dir" && as_dir
=.
8327 for ac_exec_ext
in '' $ac_executable_extensions; do
8328 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8329 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8330 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8337 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8341 PRELINK
=$ac_cv_path_PRELINK
8342 if test -n "$PRELINK"; then
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8344 $as_echo "$PRELINK" >&6; }
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8347 $as_echo "no" >&6; }
8351 if test "x$PRELINK" = xfalse
8353 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8360 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8361 if ${ac_cv_c_dll_unixware+:} false
; then :
8362 $as_echo_n "(cached) " >&6
8364 ac_wine_try_cflags_saved
=$CFLAGS
8365 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8367 /* end confdefs.h. */
8370 if ac_fn_c_try_link
"$LINENO"; then :
8371 ac_cv_c_dll_unixware
="yes"
8373 ac_cv_c_dll_unixware
="no"
8375 rm -f core conftest.err conftest.
$ac_objext \
8376 conftest
$ac_exeext conftest.
$ac_ext
8377 CFLAGS
=$ac_wine_try_cflags_saved
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8380 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8381 if test "$ac_cv_c_dll_unixware" = "yes"
8383 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8386 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8388 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8392 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8393 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8395 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8396 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8398 libwine.so: libwine.so.$libwine_soversion
8399 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8401 install install-lib:: libwine.so.$libwine_version
8402 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8403 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8405 install install-dev::
8406 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8409 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8413 as_fn_append LOADER_RULES
"
8414 $wine_binary: main.o
8415 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8417 wine-installed: main.o
8418 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8423 as_fn_append LIBWINE_RULES
"
8424 EXTRA_TARGETS = $libwine_targets
8427 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8428 enable_winemac_drv
=${enable_winemac_drv:-no}
8432 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8436 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
8439 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 " ;;
8441 ac_prefix_list
="" ;;
8443 for ac_prog
in $ac_prefix_list
8445 # Extract the first word of "$ac_prog", so it can be a program name with args.
8446 set dummy
$ac_prog; ac_word
=$2
8447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8448 $as_echo_n "checking for $ac_word... " >&6; }
8449 if ${ac_cv_prog_CROSSCC+:} false
; then :
8450 $as_echo_n "(cached) " >&6
8452 if test -n "$CROSSCC"; then
8453 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8455 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8459 test -z "$as_dir" && as_dir
=.
8460 for ac_exec_ext
in '' $ac_executable_extensions; do
8461 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8462 ac_cv_prog_CROSSCC
="$ac_prog"
8463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8472 CROSSCC
=$ac_cv_prog_CROSSCC
8473 if test -n "$CROSSCC"; then
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8475 $as_echo "$CROSSCC" >&6; }
8477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8478 $as_echo "no" >&6; }
8482 test -n "$CROSSCC" && break
8484 test -n "$CROSSCC" || CROSSCC
="false"
8486 if test "$CROSSCC" != "false"
8490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8491 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8493 /* end confdefs.h. */
8503 if ac_fn_c_try_compile
"$LINENO"; then :
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8505 $as_echo "yes" >&6; }
8511 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8517 $as_echo "no" >&6; }
8519 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8525 if test "$ac_cv_header_pthread_h" = "yes"
8527 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8528 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8532 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8533 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8534 $as_echo_n "(cached) " >&6
8536 ac_check_lib_save_LIBS
=$LIBS
8537 LIBS
="-lpthread $LIBS"
8538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8539 /* end confdefs.h. */
8541 /* Override any GCC internal prototype to avoid an error.
8542 Use char because int might match the return type of a GCC
8543 builtin and then its argument prototype would still apply. */
8547 char pthread_create ();
8551 return pthread_create ();
8556 if ac_fn_c_try_link
"$LINENO"; then :
8557 ac_cv_lib_pthread_pthread_create
=yes
8559 ac_cv_lib_pthread_pthread_create
=no
8561 rm -f core conftest.err conftest.
$ac_objext \
8562 conftest
$ac_exeext conftest.
$ac_ext
8563 LIBS
=$ac_check_lib_save_LIBS
8565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8566 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8567 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8568 PTHREAD_LIBS
="-lpthread"
8575 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8576 case "x$with_pthread" in
8578 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8579 Wine cannot support threads without libpthread.
8580 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8586 $as_echo_n "checking for X... " >&6; }
8589 # Check whether --with-x was given.
8590 if test "${with_x+set}" = set; then :
8594 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8595 if test "x$with_x" = xno
; then
8596 # The user explicitly disabled X.
8599 case $x_includes,$x_libraries in #(
8600 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8601 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8602 $as_echo_n "(cached) " >&6
8604 # One or both of the vars are not set, and there is no cached value.
8605 ac_x_includes
=no ac_x_libraries
=no
8606 rm -f -r conftest.dir
8607 if mkdir conftest.dir
; then
8609 cat >Imakefile
<<'_ACEOF'
8611 @echo incroot='${INCROOT}'
8613 @echo usrlibdir='${USRLIBDIR}'
8615 @echo libdir='${LIBDIR}'
8617 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8618 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8619 for ac_var
in incroot usrlibdir libdir
; do
8620 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8622 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8623 for ac_extension
in a so sl dylib la dll
; do
8624 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8625 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8626 ac_im_usrlibdir
=$ac_im_libdir; break
8629 # Screen out bogus values from the imake configuration. They are
8630 # bogus both because they are the default anyway, and because
8631 # using them would break gcc on systems where it needs fixed includes.
8632 case $ac_im_incroot in
8633 /usr
/include
) ac_x_includes
= ;;
8634 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8636 case $ac_im_usrlibdir in
8637 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8638 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8642 rm -f -r conftest.dir
8645 # Standard set of common directories for X headers.
8646 # Check X11 before X11Rn because it is often a symlink to the current release.
8660 /usr/local/X11/include
8661 /usr/local/X11R7/include
8662 /usr/local/X11R6/include
8663 /usr/local/X11R5/include
8664 /usr/local/X11R4/include
8666 /usr/local/include/X11
8667 /usr/local/include/X11R7
8668 /usr/local/include/X11R6
8669 /usr/local/include/X11R5
8670 /usr/local/include/X11R4
8674 /usr/XFree86/include/X11
8678 /usr/unsupported/include
8680 /usr/local/x11r5/include
8681 /usr/lpp/Xamples/include
8683 /usr/openwin/include
8684 /usr/openwin/share/include'
8686 if test "$ac_x_includes" = no
; then
8687 # Guess where to find include files, by looking for Xlib.h.
8688 # First, try using that file with no special directory specified.
8689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8690 /* end confdefs.h. */
8691 #include <X11/Xlib.h>
8693 if ac_fn_c_try_cpp
"$LINENO"; then :
8694 # We can compile using X headers with no special include directory.
8697 for ac_dir
in $ac_x_header_dirs; do
8698 if test -r "$ac_dir/X11/Xlib.h"; then
8699 ac_x_includes
=$ac_dir
8704 rm -f conftest.err conftest.i conftest.
$ac_ext
8705 fi # $ac_x_includes = no
8707 if test "$ac_x_libraries" = no
; then
8708 # Check for the libraries.
8709 # See if we find them without any special options.
8710 # Don't add to $LIBS permanently.
8713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8714 /* end confdefs.h. */
8715 #include <X11/Xlib.h>
8724 if ac_fn_c_try_link
"$LINENO"; then :
8726 # We can link X programs with no special library path.
8730 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8732 # Don't even attempt the hair of trying to link an X program!
8733 for ac_extension
in a so sl dylib la dll
; do
8734 if test -r "$ac_dir/libX11.$ac_extension"; then
8735 ac_x_libraries
=$ac_dir
8741 rm -f core conftest.err conftest.
$ac_objext \
8742 conftest
$ac_exeext conftest.
$ac_ext
8743 fi # $ac_x_libraries = no
8745 case $ac_x_includes,$ac_x_libraries in #(
8747 # Didn't find X, or a directory has "'" in its name.
8748 ac_cv_have_x
="have_x=no";; #(
8750 # Record where we found X for the cache.
8751 ac_cv_have_x
="have_x=yes\
8752 ac_x_includes='$ac_x_includes'\
8753 ac_x_libraries='$ac_x_libraries'"
8759 eval "$ac_cv_have_x"
8762 if test "$have_x" != yes; then
8763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8764 $as_echo "$have_x" >&6; }
8767 # If each of the values was on the command line, it overrides each guess.
8768 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8769 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8770 # Update the cache value to reflect the command line values.
8771 ac_cv_have_x
="have_x=yes\
8772 ac_x_includes='$x_includes'\
8773 ac_x_libraries='$x_libraries'"
8774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8775 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8778 if test "$no_x" = yes; then
8779 # Not all programs may use this symbol, but it does not hurt to define it.
8781 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8783 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8785 if test -n "$x_includes"; then
8786 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8789 # It would also be nice to do this for all -L options, not just this one.
8790 if test -n "$x_libraries"; then
8791 X_LIBS
="$X_LIBS -L$x_libraries"
8792 # For Solaris; some versions of Sun CC require a space after -R and
8793 # others require no space. Words are not sufficient . . . .
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8795 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8796 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
8797 ac_xsave_c_werror_flag
=$ac_c_werror_flag
8798 ac_c_werror_flag
=yes
8799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8800 /* end confdefs.h. */
8810 if ac_fn_c_try_link
"$LINENO"; then :
8811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8812 $as_echo "no" >&6; }
8813 X_LIBS
="$X_LIBS -R$x_libraries"
8815 LIBS
="$ac_xsave_LIBS -R $x_libraries"
8816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8817 /* end confdefs.h. */
8827 if ac_fn_c_try_link
"$LINENO"; then :
8828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8829 $as_echo "yes" >&6; }
8830 X_LIBS
="$X_LIBS -R $x_libraries"
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8833 $as_echo "neither works" >&6; }
8835 rm -f core conftest.err conftest.
$ac_objext \
8836 conftest
$ac_exeext conftest.
$ac_ext
8838 rm -f core conftest.err conftest.
$ac_objext \
8839 conftest
$ac_exeext conftest.
$ac_ext
8840 ac_c_werror_flag
=$ac_xsave_c_werror_flag
8844 # Check for system-dependent libraries X programs must link with.
8845 # Do this before checking for the system-independent R6 libraries
8846 # (-lICE), since we may need -lsocket or whatever for X linking.
8848 if test "$ISC" = yes; then
8849 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
8851 # Martyn Johnson says this is needed for Ultrix, if the X
8852 # libraries were built with DECnet support. And Karl Berry says
8853 # the Alpha needs dnet_stub (dnet does not exist).
8854 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
8855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8856 /* end confdefs.h. */
8858 /* Override any GCC internal prototype to avoid an error.
8859 Use char because int might match the return type of a GCC
8860 builtin and then its argument prototype would still apply. */
8864 char XOpenDisplay ();
8868 return XOpenDisplay ();
8873 if ac_fn_c_try_link
"$LINENO"; then :
8876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8877 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8878 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
8879 $as_echo_n "(cached) " >&6
8881 ac_check_lib_save_LIBS
=$LIBS
8883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8884 /* end confdefs.h. */
8886 /* Override any GCC internal prototype to avoid an error.
8887 Use char because int might match the return type of a GCC
8888 builtin and then its argument prototype would still apply. */
8896 return dnet_ntoa ();
8901 if ac_fn_c_try_link
"$LINENO"; then :
8902 ac_cv_lib_dnet_dnet_ntoa
=yes
8904 ac_cv_lib_dnet_dnet_ntoa
=no
8906 rm -f core conftest.err conftest.
$ac_objext \
8907 conftest
$ac_exeext conftest.
$ac_ext
8908 LIBS
=$ac_check_lib_save_LIBS
8910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8911 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8912 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
8913 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8916 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8918 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8919 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
8920 $as_echo_n "(cached) " >&6
8922 ac_check_lib_save_LIBS
=$LIBS
8923 LIBS
="-ldnet_stub $LIBS"
8924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8925 /* end confdefs.h. */
8927 /* Override any GCC internal prototype to avoid an error.
8928 Use char because int might match the return type of a GCC
8929 builtin and then its argument prototype would still apply. */
8937 return dnet_ntoa ();
8942 if ac_fn_c_try_link
"$LINENO"; then :
8943 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
8945 ac_cv_lib_dnet_stub_dnet_ntoa
=no
8947 rm -f core conftest.err conftest.
$ac_objext \
8948 conftest
$ac_exeext conftest.
$ac_ext
8949 LIBS
=$ac_check_lib_save_LIBS
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8952 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8953 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
8954 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
8959 rm -f core conftest.err conftest.
$ac_objext \
8960 conftest
$ac_exeext conftest.
$ac_ext
8961 LIBS
="$ac_xsave_LIBS"
8963 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8964 # to get the SysV transport functions.
8965 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8967 # The nsl library prevents programs from opening the X display
8968 # on Irix 5.2, according to T.E. Dickey.
8969 # The functions gethostbyname, getservbyname, and inet_addr are
8970 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8971 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8972 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
8976 if test $ac_cv_func_gethostbyname = no
; then
8977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8978 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8979 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
8980 $as_echo_n "(cached) " >&6
8982 ac_check_lib_save_LIBS
=$LIBS
8984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8985 /* end confdefs.h. */
8987 /* Override any GCC internal prototype to avoid an error.
8988 Use char because int might match the return type of a GCC
8989 builtin and then its argument prototype would still apply. */
8993 char gethostbyname ();
8997 return gethostbyname ();
9002 if ac_fn_c_try_link
"$LINENO"; then :
9003 ac_cv_lib_nsl_gethostbyname
=yes
9005 ac_cv_lib_nsl_gethostbyname
=no
9007 rm -f core conftest.err conftest.
$ac_objext \
9008 conftest
$ac_exeext conftest.
$ac_ext
9009 LIBS
=$ac_check_lib_save_LIBS
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9012 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9013 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9014 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9017 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9019 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9020 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9021 $as_echo_n "(cached) " >&6
9023 ac_check_lib_save_LIBS
=$LIBS
9025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9026 /* end confdefs.h. */
9028 /* Override any GCC internal prototype to avoid an error.
9029 Use char because int might match the return type of a GCC
9030 builtin and then its argument prototype would still apply. */
9034 char gethostbyname ();
9038 return gethostbyname ();
9043 if ac_fn_c_try_link
"$LINENO"; then :
9044 ac_cv_lib_bsd_gethostbyname
=yes
9046 ac_cv_lib_bsd_gethostbyname
=no
9048 rm -f core conftest.err conftest.
$ac_objext \
9049 conftest
$ac_exeext conftest.
$ac_ext
9050 LIBS
=$ac_check_lib_save_LIBS
9052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9053 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9054 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9055 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9061 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9062 # socket/setsockopt and other routines are undefined under SCO ODT
9063 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9064 # on later versions), says Simon Leinen: it contains gethostby*
9065 # variants that don't use the name server (or something). -lsocket
9066 # must be given before -lnsl if both are needed. We assume that
9067 # if connect needs -lnsl, so does gethostbyname.
9068 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9069 if test "x$ac_cv_func_connect" = xyes
; then :
9073 if test $ac_cv_func_connect = no
; then
9074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9075 $as_echo_n "checking for connect in -lsocket... " >&6; }
9076 if ${ac_cv_lib_socket_connect+:} false
; then :
9077 $as_echo_n "(cached) " >&6
9079 ac_check_lib_save_LIBS
=$LIBS
9080 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9082 /* end confdefs.h. */
9084 /* Override any GCC internal prototype to avoid an error.
9085 Use char because int might match the return type of a GCC
9086 builtin and then its argument prototype would still apply. */
9099 if ac_fn_c_try_link
"$LINENO"; then :
9100 ac_cv_lib_socket_connect
=yes
9102 ac_cv_lib_socket_connect
=no
9104 rm -f core conftest.err conftest.
$ac_objext \
9105 conftest
$ac_exeext conftest.
$ac_ext
9106 LIBS
=$ac_check_lib_save_LIBS
9108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9109 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9110 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9111 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9116 # Guillermo Gomez says -lposix is necessary on A/UX.
9117 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9118 if test "x$ac_cv_func_remove" = xyes
; then :
9122 if test $ac_cv_func_remove = no
; then
9123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9124 $as_echo_n "checking for remove in -lposix... " >&6; }
9125 if ${ac_cv_lib_posix_remove+:} false
; then :
9126 $as_echo_n "(cached) " >&6
9128 ac_check_lib_save_LIBS
=$LIBS
9129 LIBS
="-lposix $LIBS"
9130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9131 /* end confdefs.h. */
9133 /* Override any GCC internal prototype to avoid an error.
9134 Use char because int might match the return type of a GCC
9135 builtin and then its argument prototype would still apply. */
9148 if ac_fn_c_try_link
"$LINENO"; then :
9149 ac_cv_lib_posix_remove
=yes
9151 ac_cv_lib_posix_remove
=no
9153 rm -f core conftest.err conftest.
$ac_objext \
9154 conftest
$ac_exeext conftest.
$ac_ext
9155 LIBS
=$ac_check_lib_save_LIBS
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9158 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9159 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9160 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9165 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9166 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9167 if test "x$ac_cv_func_shmat" = xyes
; then :
9171 if test $ac_cv_func_shmat = no
; then
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9173 $as_echo_n "checking for shmat in -lipc... " >&6; }
9174 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9175 $as_echo_n "(cached) " >&6
9177 ac_check_lib_save_LIBS
=$LIBS
9179 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9180 /* end confdefs.h. */
9182 /* Override any GCC internal prototype to avoid an error.
9183 Use char because int might match the return type of a GCC
9184 builtin and then its argument prototype would still apply. */
9197 if ac_fn_c_try_link
"$LINENO"; then :
9198 ac_cv_lib_ipc_shmat
=yes
9200 ac_cv_lib_ipc_shmat
=no
9202 rm -f core conftest.err conftest.
$ac_objext \
9203 conftest
$ac_exeext conftest.
$ac_ext
9204 LIBS
=$ac_check_lib_save_LIBS
9206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9207 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9208 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9209 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9215 # Check for libraries that X11R6 Xt/Xaw programs need.
9216 ac_save_LDFLAGS
=$LDFLAGS
9217 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9218 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9219 # check for ICE first), but we must link in the order -lSM -lICE or
9220 # we get undefined symbols. So assume we have SM if we have ICE.
9221 # These have to be linked with before -lX11, unlike the other
9222 # libraries we check for below, so use a different variable.
9223 # John Interrante, Karl Berry
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9225 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9226 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9227 $as_echo_n "(cached) " >&6
9229 ac_check_lib_save_LIBS
=$LIBS
9230 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9232 /* end confdefs.h. */
9234 /* Override any GCC internal prototype to avoid an error.
9235 Use char because int might match the return type of a GCC
9236 builtin and then its argument prototype would still apply. */
9240 char IceConnectionNumber ();
9244 return IceConnectionNumber ();
9249 if ac_fn_c_try_link
"$LINENO"; then :
9250 ac_cv_lib_ICE_IceConnectionNumber
=yes
9252 ac_cv_lib_ICE_IceConnectionNumber
=no
9254 rm -f core conftest.err conftest.
$ac_objext \
9255 conftest
$ac_exeext conftest.
$ac_ext
9256 LIBS
=$ac_check_lib_save_LIBS
9258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9259 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9260 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9261 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9264 LDFLAGS
=$ac_save_LDFLAGS
9269 if test "$have_x" = "yes"
9271 ac_save_CPPFLAGS
="$CPPFLAGS"
9272 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9275 $as_echo_n "checking for -lX11... " >&6; }
9276 if ${ac_cv_lib_soname_X11+:} false
; then :
9277 $as_echo_n "(cached) " >&6
9279 ac_check_soname_save_LIBS
=$LIBS
9280 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9282 /* end confdefs.h. */
9284 /* Override any GCC internal prototype to avoid an error.
9285 Use char because int might match the return type of a GCC
9286 builtin and then its argument prototype would still apply. */
9290 char XCreateWindow ();
9294 return XCreateWindow ();
9299 if ac_fn_c_try_link
"$LINENO"; then :
9301 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9302 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'` ;;
9303 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9304 if ${ac_cv_lib_soname_X11:+false} :; then :
9305 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9309 rm -f core conftest.err conftest.
$ac_objext \
9310 conftest
$ac_exeext conftest.
$ac_ext
9311 LIBS
=$ac_check_soname_save_LIBS
9313 if ${ac_cv_lib_soname_X11:+false} :; then :
9314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9315 $as_echo "not found" >&6; }
9318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9319 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9321 cat >>confdefs.h
<<_ACEOF
9322 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9328 $as_echo_n "checking for -lXext... " >&6; }
9329 if ${ac_cv_lib_soname_Xext+:} false
; then :
9330 $as_echo_n "(cached) " >&6
9332 ac_check_soname_save_LIBS
=$LIBS
9333 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9335 /* end confdefs.h. */
9337 /* Override any GCC internal prototype to avoid an error.
9338 Use char because int might match the return type of a GCC
9339 builtin and then its argument prototype would still apply. */
9343 char XextCreateExtension ();
9347 return XextCreateExtension ();
9352 if ac_fn_c_try_link
"$LINENO"; then :
9354 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9355 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'` ;;
9356 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9357 if ${ac_cv_lib_soname_Xext:+false} :; then :
9358 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9362 rm -f core conftest.err conftest.
$ac_objext \
9363 conftest
$ac_exeext conftest.
$ac_ext
9364 LIBS
=$ac_check_soname_save_LIBS
9366 if ${ac_cv_lib_soname_Xext:+false} :; then :
9367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9368 $as_echo "not found" >&6; }
9371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9372 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9374 cat >>confdefs.h
<<_ACEOF
9375 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9378 X_LIBS
="$X_LIBS -lXext"
9380 X_LIBS
="$X_LIBS -lX11"
9382 for ac_header
in X11
/Xlib.h \
9385 X11
/Xcursor
/Xcursor.h \
9386 X11
/extensions
/shape.h \
9387 X11
/extensions
/XInput.h \
9388 X11
/extensions
/XInput2.h \
9389 X11
/extensions
/XShm.h \
9390 X11
/extensions
/Xcomposite.h \
9391 X11
/extensions
/Xinerama.h \
9392 X11
/extensions
/Xrandr.h \
9393 X11
/extensions
/Xrender.h \
9394 X11
/extensions
/xf86vmode.h \
9395 X11
/extensions
/xf86vmproto.h
9397 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9398 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9399 # include <X11/Xlib.h>
9401 #ifdef HAVE_X11_XUTIL_H
9402 # include <X11/Xutil.h>
9405 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9406 cat >>confdefs.h
<<_ACEOF
9407 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9415 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9418 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9419 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9420 $as_echo_n "(cached) " >&6
9422 ac_check_lib_save_LIBS
=$LIBS
9423 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9424 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9425 /* end confdefs.h. */
9427 /* Override any GCC internal prototype to avoid an error.
9428 Use char because int might match the return type of a GCC
9429 builtin and then its argument prototype would still apply. */
9433 char XkbQueryExtension ();
9437 return XkbQueryExtension ();
9442 if ac_fn_c_try_link
"$LINENO"; then :
9443 ac_cv_lib_X11_XkbQueryExtension
=yes
9445 ac_cv_lib_X11_XkbQueryExtension
=no
9447 rm -f core conftest.err conftest.
$ac_objext \
9448 conftest
$ac_exeext conftest.
$ac_ext
9449 LIBS
=$ac_check_lib_save_LIBS
9451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9452 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9453 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9455 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9461 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9464 $as_echo_n "checking for -lXcursor... " >&6; }
9465 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9466 $as_echo_n "(cached) " >&6
9468 ac_check_soname_save_LIBS
=$LIBS
9469 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9471 /* end confdefs.h. */
9473 /* Override any GCC internal prototype to avoid an error.
9474 Use char because int might match the return type of a GCC
9475 builtin and then its argument prototype would still apply. */
9479 char XcursorImageLoadCursor ();
9483 return XcursorImageLoadCursor ();
9488 if ac_fn_c_try_link
"$LINENO"; then :
9490 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9491 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'` ;;
9492 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9493 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9494 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9498 rm -f core conftest.err conftest.
$ac_objext \
9499 conftest
$ac_exeext conftest.
$ac_ext
9500 LIBS
=$ac_check_soname_save_LIBS
9502 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9504 $as_echo "not found" >&6; }
9507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9508 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9510 cat >>confdefs.h
<<_ACEOF
9511 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9517 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9518 case "x$with_xcursor" in
9519 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9521 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9522 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9526 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9529 $as_echo_n "checking for -lXi... " >&6; }
9530 if ${ac_cv_lib_soname_Xi+:} false
; then :
9531 $as_echo_n "(cached) " >&6
9533 ac_check_soname_save_LIBS
=$LIBS
9534 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9536 /* end confdefs.h. */
9538 /* Override any GCC internal prototype to avoid an error.
9539 Use char because int might match the return type of a GCC
9540 builtin and then its argument prototype would still apply. */
9544 char XOpenDevice ();
9548 return XOpenDevice ();
9553 if ac_fn_c_try_link
"$LINENO"; then :
9555 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9556 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'` ;;
9557 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9558 if ${ac_cv_lib_soname_Xi:+false} :; then :
9559 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9563 rm -f core conftest.err conftest.
$ac_objext \
9564 conftest
$ac_exeext conftest.
$ac_ext
9565 LIBS
=$ac_check_soname_save_LIBS
9567 if ${ac_cv_lib_soname_Xi:+false} :; then :
9568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9569 $as_echo "not found" >&6; }
9572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9573 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9575 cat >>confdefs.h
<<_ACEOF
9576 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9582 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9583 case "x$with_xinput" in
9584 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9586 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9587 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9591 if test "x$ac_cv_lib_soname_Xi" != x
9593 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9594 case "x$with_xinput2" in
9595 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9597 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9598 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9603 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9606 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9607 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9608 $as_echo_n "(cached) " >&6
9610 ac_check_lib_save_LIBS
=$LIBS
9611 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9613 /* end confdefs.h. */
9615 /* Override any GCC internal prototype to avoid an error.
9616 Use char because int might match the return type of a GCC
9617 builtin and then its argument prototype would still apply. */
9621 char XShmQueryExtension ();
9625 return XShmQueryExtension ();
9630 if ac_fn_c_try_link
"$LINENO"; then :
9631 ac_cv_lib_Xext_XShmQueryExtension
=yes
9633 ac_cv_lib_Xext_XShmQueryExtension
=no
9635 rm -f core conftest.err conftest.
$ac_objext \
9636 conftest
$ac_exeext conftest.
$ac_ext
9637 LIBS
=$ac_check_lib_save_LIBS
9639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9640 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9641 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9643 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9648 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9649 case "x$with_xshm" in
9650 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9652 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9653 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9657 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9660 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9661 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9662 $as_echo_n "(cached) " >&6
9664 ac_check_lib_save_LIBS
=$LIBS
9665 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9667 /* end confdefs.h. */
9669 /* Override any GCC internal prototype to avoid an error.
9670 Use char because int might match the return type of a GCC
9671 builtin and then its argument prototype would still apply. */
9675 char XShapeQueryExtension ();
9679 return XShapeQueryExtension ();
9684 if ac_fn_c_try_link
"$LINENO"; then :
9685 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9687 ac_cv_lib_Xext_XShapeQueryExtension
=no
9689 rm -f core conftest.err conftest.
$ac_objext \
9690 conftest
$ac_exeext conftest.
$ac_ext
9691 LIBS
=$ac_check_lib_save_LIBS
9693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9694 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9695 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9697 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9702 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9703 case "x$with_xshape" in
9704 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9706 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9707 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9711 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9714 $as_echo_n "checking for -lXxf86vm... " >&6; }
9715 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9716 $as_echo_n "(cached) " >&6
9718 ac_check_soname_save_LIBS
=$LIBS
9719 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9721 /* end confdefs.h. */
9723 /* Override any GCC internal prototype to avoid an error.
9724 Use char because int might match the return type of a GCC
9725 builtin and then its argument prototype would still apply. */
9729 char XF86VidModeQueryExtension ();
9733 return XF86VidModeQueryExtension ();
9738 if ac_fn_c_try_link
"$LINENO"; then :
9740 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9741 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'` ;;
9742 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9743 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9744 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9748 rm -f core conftest.err conftest.
$ac_objext \
9749 conftest
$ac_exeext conftest.
$ac_ext
9750 LIBS
=$ac_check_soname_save_LIBS
9752 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9754 $as_echo "not found" >&6; }
9757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9758 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9760 cat >>confdefs.h
<<_ACEOF
9761 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9767 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9768 case "x$with_xxf86vm" in
9769 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9771 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9772 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9776 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"
9778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9779 $as_echo_n "checking for -lXrender... " >&6; }
9780 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9781 $as_echo_n "(cached) " >&6
9783 ac_check_soname_save_LIBS
=$LIBS
9784 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9785 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9786 /* end confdefs.h. */
9788 /* Override any GCC internal prototype to avoid an error.
9789 Use char because int might match the return type of a GCC
9790 builtin and then its argument prototype would still apply. */
9794 char XRenderQueryExtension ();
9798 return XRenderQueryExtension ();
9803 if ac_fn_c_try_link
"$LINENO"; then :
9805 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9806 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'` ;;
9807 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9808 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9809 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9813 rm -f core conftest.err conftest.
$ac_objext \
9814 conftest
$ac_exeext conftest.
$ac_ext
9815 LIBS
=$ac_check_soname_save_LIBS
9817 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9819 $as_echo "not found" >&6; }
9822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9823 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9825 cat >>confdefs.h
<<_ACEOF
9826 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9830 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9831 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
9832 $as_echo_n "(cached) " >&6
9834 ac_check_lib_save_LIBS
=$LIBS
9835 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9837 /* end confdefs.h. */
9839 /* Override any GCC internal prototype to avoid an error.
9840 Use char because int might match the return type of a GCC
9841 builtin and then its argument prototype would still apply. */
9845 char XRenderSetPictureTransform ();
9849 return XRenderSetPictureTransform ();
9854 if ac_fn_c_try_link
"$LINENO"; then :
9855 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9857 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9859 rm -f core conftest.err conftest.
$ac_objext \
9860 conftest
$ac_exeext conftest.
$ac_ext
9861 LIBS
=$ac_check_lib_save_LIBS
9863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9864 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9865 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
9867 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9872 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9873 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
9874 $as_echo_n "(cached) " >&6
9876 ac_check_lib_save_LIBS
=$LIBS
9877 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9879 /* end confdefs.h. */
9881 /* Override any GCC internal prototype to avoid an error.
9882 Use char because int might match the return type of a GCC
9883 builtin and then its argument prototype would still apply. */
9887 char XRenderCreateLinearGradient ();
9891 return XRenderCreateLinearGradient ();
9896 if ac_fn_c_try_link
"$LINENO"; then :
9897 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
9899 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
9901 rm -f core conftest.err conftest.
$ac_objext \
9902 conftest
$ac_exeext conftest.
$ac_ext
9903 LIBS
=$ac_check_lib_save_LIBS
9905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9906 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9907 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
9909 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9916 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9917 case "x$with_xrender" in
9918 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9920 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
9921 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9925 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9928 /* end confdefs.h. */
9929 #include <X11/Xlib.h>
9930 #include <X11/extensions/Xrandr.h>
9934 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9939 if ac_fn_c_try_compile
"$LINENO"; then :
9940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9941 $as_echo_n "checking for -lXrandr... " >&6; }
9942 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
9943 $as_echo_n "(cached) " >&6
9945 ac_check_soname_save_LIBS
=$LIBS
9946 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
9947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9948 /* end confdefs.h. */
9950 /* Override any GCC internal prototype to avoid an error.
9951 Use char because int might match the return type of a GCC
9952 builtin and then its argument prototype would still apply. */
9956 char XRRQueryExtension ();
9960 return XRRQueryExtension ();
9965 if ac_fn_c_try_link
"$LINENO"; then :
9967 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9968 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'` ;;
9969 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9970 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9971 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9975 rm -f core conftest.err conftest.
$ac_objext \
9976 conftest
$ac_exeext conftest.
$ac_ext
9977 LIBS
=$ac_check_soname_save_LIBS
9979 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9981 $as_echo "not found" >&6; }
9984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
9985 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
9987 cat >>confdefs.h
<<_ACEOF
9988 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
9991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9992 /* end confdefs.h. */
9993 #include <X11/Xlib.h>
9994 #include <X11/extensions/Xrandr.h>
9998 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10003 if ac_fn_c_try_compile
"$LINENO"; then :
10005 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10008 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10011 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10013 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10014 case "x$with_xrandr" in
10015 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10017 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10018 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10022 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10025 /* end confdefs.h. */
10026 #include <X11/Xlib.h>
10027 #include <X11/extensions/Xinerama.h>
10031 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10036 if ac_fn_c_try_compile
"$LINENO"; then :
10037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10038 $as_echo_n "checking for -lXinerama... " >&6; }
10039 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10040 $as_echo_n "(cached) " >&6
10042 ac_check_soname_save_LIBS
=$LIBS
10043 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10045 /* end confdefs.h. */
10047 /* Override any GCC internal prototype to avoid an error.
10048 Use char because int might match the return type of a GCC
10049 builtin and then its argument prototype would still apply. */
10053 char XineramaQueryScreens ();
10057 return XineramaQueryScreens ();
10062 if ac_fn_c_try_link
"$LINENO"; then :
10064 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10065 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'` ;;
10066 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10067 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10068 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10072 rm -f core conftest.err conftest.
$ac_objext \
10073 conftest
$ac_exeext conftest.
$ac_ext
10074 LIBS
=$ac_check_soname_save_LIBS
10076 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10078 $as_echo "not found" >&6; }
10081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10082 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10084 cat >>confdefs.h
<<_ACEOF
10085 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10091 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10093 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10094 case "x$with_xinerama" in
10095 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10097 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10098 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10102 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10105 $as_echo_n "checking for -lXcomposite... " >&6; }
10106 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10107 $as_echo_n "(cached) " >&6
10109 ac_check_soname_save_LIBS
=$LIBS
10110 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10112 /* end confdefs.h. */
10114 /* Override any GCC internal prototype to avoid an error.
10115 Use char because int might match the return type of a GCC
10116 builtin and then its argument prototype would still apply. */
10120 char XCompositeRedirectWindow ();
10124 return XCompositeRedirectWindow ();
10129 if ac_fn_c_try_link
"$LINENO"; then :
10131 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10132 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'` ;;
10133 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10134 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10135 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10139 rm -f core conftest.err conftest.
$ac_objext \
10140 conftest
$ac_exeext conftest.
$ac_ext
10141 LIBS
=$ac_check_soname_save_LIBS
10143 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10145 $as_echo "not found" >&6; }
10148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10149 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10151 cat >>confdefs.h
<<_ACEOF
10152 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10158 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10159 case "x$with_xcomposite" in
10160 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10162 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10163 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10167 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10168 #include <X11/Xlib.h>
10171 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10173 cat >>confdefs.h
<<_ACEOF
10174 #define HAVE_XICCALLBACK_CALLBACK 1
10179 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10180 #include <X11/Xlib.h>
10183 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10185 cat >>confdefs.h
<<_ACEOF
10186 #define HAVE_XEVENT_XCOOKIE 1
10195 if test "x$with_opengl" != "xno"
10197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10198 $as_echo_n "checking for -lGL... " >&6; }
10199 if ${ac_cv_lib_soname_GL+:} false
; then :
10200 $as_echo_n "(cached) " >&6
10202 ac_check_soname_save_LIBS
=$LIBS
10203 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10205 /* end confdefs.h. */
10207 /* Override any GCC internal prototype to avoid an error.
10208 Use char because int might match the return type of a GCC
10209 builtin and then its argument prototype would still apply. */
10213 char glXCreateContext ();
10217 return glXCreateContext ();
10222 if ac_fn_c_try_link
"$LINENO"; then :
10224 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10225 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'` ;;
10226 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10227 if ${ac_cv_lib_soname_GL:+false} :; then :
10228 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10232 rm -f core conftest.err conftest.
$ac_objext \
10233 conftest
$ac_exeext conftest.
$ac_ext
10234 LIBS
=$ac_check_soname_save_LIBS
10236 if ${ac_cv_lib_soname_GL:+false} :; then :
10237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10238 $as_echo "not found" >&6; }
10239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10240 $as_echo_n "checking for -lGL... " >&6; }
10241 if ${ac_cv_lib_soname_GL+:} false
; then :
10242 $as_echo_n "(cached) " >&6
10244 ac_check_soname_save_LIBS
=$LIBS
10245 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"
10246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10247 /* end confdefs.h. */
10249 /* Override any GCC internal prototype to avoid an error.
10250 Use char because int might match the return type of a GCC
10251 builtin and then its argument prototype would still apply. */
10255 char glXCreateContext ();
10259 return glXCreateContext ();
10264 if ac_fn_c_try_link
"$LINENO"; then :
10266 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10267 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'` ;;
10268 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10269 if ${ac_cv_lib_soname_GL:+false} :; then :
10270 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10274 rm -f core conftest.err conftest.
$ac_objext \
10275 conftest
$ac_exeext conftest.
$ac_ext
10276 LIBS
=$ac_check_soname_save_LIBS
10278 if ${ac_cv_lib_soname_GL:+false} :; then :
10279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10280 $as_echo "not found" >&6; }
10281 if test -f /usr
/X11R
6/lib
/libGL.a
10283 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10284 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10286 opengl_msg
="No OpenGL library found on this system."
10289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10290 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10292 cat >>confdefs.h
<<_ACEOF
10293 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10296 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"
10299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10300 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10302 cat >>confdefs.h
<<_ACEOF
10303 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10308 if test "x$with_glu" != "xno"
10310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10311 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10312 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10313 $as_echo_n "(cached) " >&6
10315 ac_check_lib_save_LIBS
=$LIBS
10316 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10318 /* end confdefs.h. */
10320 /* Override any GCC internal prototype to avoid an error.
10321 Use char because int might match the return type of a GCC
10322 builtin and then its argument prototype would still apply. */
10330 return gluLookAt ();
10335 if ac_fn_c_try_link
"$LINENO"; then :
10336 ac_cv_lib_GLU_gluLookAt
=yes
10338 ac_cv_lib_GLU_gluLookAt
=no
10340 rm -f core conftest.err conftest.
$ac_objext \
10341 conftest
$ac_exeext conftest.
$ac_ext
10342 LIBS
=$ac_check_lib_save_LIBS
10344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10345 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10346 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10350 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10351 case "x$with_glu" in
10352 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10354 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10355 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10360 if test "x$with_osmesa" != "xno"
10362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10363 $as_echo_n "checking for -lOSMesa... " >&6; }
10364 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10365 $as_echo_n "(cached) " >&6
10367 ac_check_soname_save_LIBS
=$LIBS
10368 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10369 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10370 /* end confdefs.h. */
10372 /* Override any GCC internal prototype to avoid an error.
10373 Use char because int might match the return type of a GCC
10374 builtin and then its argument prototype would still apply. */
10387 if ac_fn_c_try_link
"$LINENO"; then :
10389 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10390 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'` ;;
10391 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10392 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10393 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10397 rm -f core conftest.err conftest.
$ac_objext \
10398 conftest
$ac_exeext conftest.
$ac_ext
10399 LIBS
=$ac_check_soname_save_LIBS
10401 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10403 $as_echo "not found" >&6; }
10406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10407 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10409 cat >>confdefs.h
<<_ACEOF
10410 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10415 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10416 case "x$with_osmesa" in
10417 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10419 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10420 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10425 if test -n "$opengl_msg"; then :
10426 case "x$with_opengl" in
10427 x
) as_fn_append wine_warnings
"|$opengl_msg
10428 OpenGL and Direct3D won't be supported." ;;
10430 *) as_fn_error $?
"$opengl_msg
10431 OpenGL and Direct3D won't be supported.
10432 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10436 CPPFLAGS
="$ac_save_CPPFLAGS"
10440 enable_winex11_drv
=${enable_winex11_drv:-no}
10442 if test "x$X_LIBS" = "x"; then :
10445 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10446 without X support, which probably isn't what you want. You will need
10447 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10448 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10452 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10454 if test "$ac_cv_header_CL_cl_h" = "yes"
10456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10457 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10458 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10459 $as_echo_n "(cached) " >&6
10461 ac_check_lib_save_LIBS
=$LIBS
10462 LIBS
="-lOpenCL $LIBS"
10463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10464 /* end confdefs.h. */
10466 /* Override any GCC internal prototype to avoid an error.
10467 Use char because int might match the return type of a GCC
10468 builtin and then its argument prototype would still apply. */
10472 char clGetPlatformInfo ();
10476 return clGetPlatformInfo ();
10481 if ac_fn_c_try_link
"$LINENO"; then :
10482 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10484 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10486 rm -f core conftest.err conftest.
$ac_objext \
10487 conftest
$ac_exeext conftest.
$ac_ext
10488 LIBS
=$ac_check_lib_save_LIBS
10490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10491 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10492 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10493 OPENCL_LIBS
="-lOpenCL"
10498 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10499 case "x$with_opencl" in
10500 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10502 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10503 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10506 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10509 if test "x$with_xml" != "xno"
10511 if ${XML2_CFLAGS:+false} :; then :
10512 if ${PKG_CONFIG+:} false
; then :
10513 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10516 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10517 if ${XML2_LIBS:+false} :; then :
10518 if ${PKG_CONFIG+:} false
; then :
10519 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10522 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10523 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10524 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10525 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10526 ac_save_CPPFLAGS
=$CPPFLAGS
10527 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10528 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10530 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10531 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10532 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10533 cat >>confdefs.h
<<_ACEOF
10534 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10541 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"
10543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10544 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10545 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10546 $as_echo_n "(cached) " >&6
10548 ac_check_lib_save_LIBS
=$LIBS
10549 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10551 /* end confdefs.h. */
10553 /* Override any GCC internal prototype to avoid an error.
10554 Use char because int might match the return type of a GCC
10555 builtin and then its argument prototype would still apply. */
10559 char xmlParseMemory ();
10563 return xmlParseMemory ();
10568 if ac_fn_c_try_link
"$LINENO"; then :
10569 ac_cv_lib_xml2_xmlParseMemory
=yes
10571 ac_cv_lib_xml2_xmlParseMemory
=no
10573 rm -f core conftest.err conftest.
$ac_objext \
10574 conftest
$ac_exeext conftest.
$ac_ext
10575 LIBS
=$ac_check_lib_save_LIBS
10577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10578 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10579 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10581 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10588 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10589 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10590 $as_echo_n "(cached) " >&6
10592 ac_check_lib_save_LIBS
=$LIBS
10593 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10595 /* end confdefs.h. */
10597 /* Override any GCC internal prototype to avoid an error.
10598 Use char because int might match the return type of a GCC
10599 builtin and then its argument prototype would still apply. */
10603 char xmlReadMemory ();
10607 return xmlReadMemory ();
10612 if ac_fn_c_try_link
"$LINENO"; then :
10613 ac_cv_lib_xml2_xmlReadMemory
=yes
10615 ac_cv_lib_xml2_xmlReadMemory
=no
10617 rm -f core conftest.err conftest.
$ac_objext \
10618 conftest
$ac_exeext conftest.
$ac_ext
10619 LIBS
=$ac_check_lib_save_LIBS
10621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10622 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10623 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10625 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10630 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10631 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10632 $as_echo_n "(cached) " >&6
10634 ac_check_lib_save_LIBS
=$LIBS
10635 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10636 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10637 /* end confdefs.h. */
10639 /* Override any GCC internal prototype to avoid an error.
10640 Use char because int might match the return type of a GCC
10641 builtin and then its argument prototype would still apply. */
10645 char xmlNewDocPI ();
10649 return xmlNewDocPI ();
10654 if ac_fn_c_try_link
"$LINENO"; then :
10655 ac_cv_lib_xml2_xmlNewDocPI
=yes
10657 ac_cv_lib_xml2_xmlNewDocPI
=no
10659 rm -f core conftest.err conftest.
$ac_objext \
10660 conftest
$ac_exeext conftest.
$ac_ext
10661 LIBS
=$ac_check_lib_save_LIBS
10663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10664 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10665 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10667 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10672 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10673 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10674 $as_echo_n "(cached) " >&6
10676 ac_check_lib_save_LIBS
=$LIBS
10677 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10679 /* end confdefs.h. */
10681 /* Override any GCC internal prototype to avoid an error.
10682 Use char because int might match the return type of a GCC
10683 builtin and then its argument prototype would still apply. */
10687 char xmlSchemaSetParserStructuredErrors ();
10691 return xmlSchemaSetParserStructuredErrors ();
10696 if ac_fn_c_try_link
"$LINENO"; then :
10697 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10699 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10701 rm -f core conftest.err conftest.
$ac_objext \
10702 conftest
$ac_exeext conftest.
$ac_ext
10703 LIBS
=$ac_check_lib_save_LIBS
10705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10706 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10707 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10709 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10714 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10715 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10716 $as_echo_n "(cached) " >&6
10718 ac_check_lib_save_LIBS
=$LIBS
10719 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10721 /* end confdefs.h. */
10723 /* Override any GCC internal prototype to avoid an error.
10724 Use char because int might match the return type of a GCC
10725 builtin and then its argument prototype would still apply. */
10729 char xmlSchemaSetValidStructuredErrors ();
10733 return xmlSchemaSetValidStructuredErrors ();
10738 if ac_fn_c_try_link
"$LINENO"; then :
10739 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
10741 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
10743 rm -f core conftest.err conftest.
$ac_objext \
10744 conftest
$ac_exeext conftest.
$ac_ext
10745 LIBS
=$ac_check_lib_save_LIBS
10747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10748 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10749 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
10751 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10756 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10757 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
10758 $as_echo_n "(cached) " >&6
10760 ac_check_lib_save_LIBS
=$LIBS
10761 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10762 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10763 /* end confdefs.h. */
10765 /* Override any GCC internal prototype to avoid an error.
10766 Use char because int might match the return type of a GCC
10767 builtin and then its argument prototype would still apply. */
10771 char xmlFirstElementChild ();
10775 return xmlFirstElementChild ();
10780 if ac_fn_c_try_link
"$LINENO"; then :
10781 ac_cv_lib_xml2_xmlFirstElementChild
=yes
10783 ac_cv_lib_xml2_xmlFirstElementChild
=no
10785 rm -f core conftest.err conftest.
$ac_objext \
10786 conftest
$ac_exeext conftest.
$ac_ext
10787 LIBS
=$ac_check_lib_save_LIBS
10789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10790 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10791 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
10793 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10797 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10799 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
10801 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10809 CPPFLAGS
=$ac_save_CPPFLAGS
10810 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10811 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10814 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10815 case "x$with_xml" in
10816 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10818 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10819 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10823 if test "x$with_xslt" != "xno"
10825 if ${XSLT_CFLAGS:+false} :; then :
10826 if ${PKG_CONFIG+:} false
; then :
10827 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10830 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10831 if ${XSLT_LIBS:+false} :; then :
10832 if ${PKG_CONFIG+:} false
; then :
10833 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10836 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10837 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
10838 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10839 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10840 ac_save_CPPFLAGS
=$CPPFLAGS
10841 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
10842 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
10844 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10845 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10846 # include <libxslt/pattern.h>
10849 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10850 cat >>confdefs.h
<<_ACEOF
10851 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10858 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10861 $as_echo_n "checking for -lxslt... " >&6; }
10862 if ${ac_cv_lib_soname_xslt+:} false
; then :
10863 $as_echo_n "(cached) " >&6
10865 ac_check_soname_save_LIBS
=$LIBS
10866 LIBS
="-lxslt $XSLT_LIBS $LIBS"
10867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10868 /* end confdefs.h. */
10870 /* Override any GCC internal prototype to avoid an error.
10871 Use char because int might match the return type of a GCC
10872 builtin and then its argument prototype would still apply. */
10876 char xsltCompilePattern ();
10880 return xsltCompilePattern ();
10885 if ac_fn_c_try_link
"$LINENO"; then :
10887 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10888 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'` ;;
10889 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10890 if ${ac_cv_lib_soname_xslt:+false} :; then :
10891 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10895 rm -f core conftest.err conftest.
$ac_objext \
10896 conftest
$ac_exeext conftest.
$ac_ext
10897 LIBS
=$ac_check_soname_save_LIBS
10899 if ${ac_cv_lib_soname_xslt:+false} :; then :
10900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10901 $as_echo "not found" >&6; }
10904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10905 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10907 cat >>confdefs.h
<<_ACEOF
10908 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10916 CPPFLAGS
=$ac_save_CPPFLAGS
10917 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10918 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10921 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10922 case "x$with_xslt" in
10923 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10925 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
10926 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10930 if test "x$with_dbus" != "xno"
10932 if ${DBUS_CFLAGS:+false} :; then :
10933 if ${PKG_CONFIG+:} false
; then :
10934 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10938 if ${DBUS_LIBS:+false} :; then :
10939 if ${PKG_CONFIG+:} false
; then :
10940 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10945 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
10946 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
10947 ac_save_CPPFLAGS
=$CPPFLAGS
10948 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
10949 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10950 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
10951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10952 $as_echo_n "checking for -ldbus-1... " >&6; }
10953 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
10954 $as_echo_n "(cached) " >&6
10956 ac_check_soname_save_LIBS
=$LIBS
10957 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
10958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10959 /* end confdefs.h. */
10961 /* Override any GCC internal prototype to avoid an error.
10962 Use char because int might match the return type of a GCC
10963 builtin and then its argument prototype would still apply. */
10967 char dbus_connection_close ();
10971 return dbus_connection_close ();
10976 if ac_fn_c_try_link
"$LINENO"; then :
10978 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10979 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'` ;;
10980 *) 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'`
10981 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
10982 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10986 rm -f core conftest.err conftest.
$ac_objext \
10987 conftest
$ac_exeext conftest.
$ac_ext
10988 LIBS
=$ac_check_soname_save_LIBS
10990 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
10991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10992 $as_echo "not found" >&6; }
10995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
10996 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
10998 cat >>confdefs.h
<<_ACEOF
10999 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11009 CPPFLAGS
=$ac_save_CPPFLAGS
11010 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11011 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11014 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11015 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11016 case "x$with_dbus" in
11017 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11019 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11020 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11024 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11026 if ${HAL_CFLAGS:+false} :; then :
11027 if ${PKG_CONFIG+:} false
; then :
11028 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11032 if ${HAL_LIBS:+false} :; then :
11033 if ${PKG_CONFIG+:} false
; then :
11034 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11038 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11039 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11040 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11041 ac_save_CPPFLAGS
=$CPPFLAGS
11042 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11043 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11044 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11046 $as_echo_n "checking for -lhal... " >&6; }
11047 if ${ac_cv_lib_soname_hal+:} false
; then :
11048 $as_echo_n "(cached) " >&6
11050 ac_check_soname_save_LIBS
=$LIBS
11051 LIBS
="-lhal $HAL_LIBS $LIBS"
11052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11053 /* end confdefs.h. */
11055 /* Override any GCC internal prototype to avoid an error.
11056 Use char because int might match the return type of a GCC
11057 builtin and then its argument prototype would still apply. */
11061 char libhal_ctx_new ();
11065 return libhal_ctx_new ();
11070 if ac_fn_c_try_link
"$LINENO"; then :
11072 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11073 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'` ;;
11074 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11075 if ${ac_cv_lib_soname_hal:+false} :; then :
11076 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11080 rm -f core conftest.err conftest.
$ac_objext \
11081 conftest
$ac_exeext conftest.
$ac_ext
11082 LIBS
=$ac_check_soname_save_LIBS
11084 if ${ac_cv_lib_soname_hal:+false} :; then :
11085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11086 $as_echo "not found" >&6; }
11089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11090 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11092 cat >>confdefs.h
<<_ACEOF
11093 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11103 CPPFLAGS
=$ac_save_CPPFLAGS
11104 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11105 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11107 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11108 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11109 case "x$with_hal" in
11110 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11112 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11113 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11118 if test "x$with_gnutls" != "xno"
11120 if ${GNUTLS_CFLAGS:+false} :; then :
11121 if ${PKG_CONFIG+:} false
; then :
11122 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11126 if ${GNUTLS_LIBS:+false} :; then :
11127 if ${PKG_CONFIG+:} false
; then :
11128 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11133 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11134 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11135 ac_save_CPPFLAGS
=$CPPFLAGS
11136 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11137 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11138 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11140 /* end confdefs.h. */
11141 #include <gnutls/gnutls.h>
11142 #include <gnutls/crypto.h>
11146 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11151 if ac_fn_c_try_compile
"$LINENO"; then :
11152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11153 $as_echo_n "checking for -lgnutls... " >&6; }
11154 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11155 $as_echo_n "(cached) " >&6
11157 ac_check_soname_save_LIBS
=$LIBS
11158 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11160 /* end confdefs.h. */
11162 /* Override any GCC internal prototype to avoid an error.
11163 Use char because int might match the return type of a GCC
11164 builtin and then its argument prototype would still apply. */
11168 char gnutls_global_init ();
11172 return gnutls_global_init ();
11177 if ac_fn_c_try_link
"$LINENO"; then :
11179 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11180 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'` ;;
11181 *) ac_cv_lib_soname_gnutls
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11182 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11183 ac_cv_lib_soname_gnutls
=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11187 rm -f core conftest.err conftest.
$ac_objext \
11188 conftest
$ac_exeext conftest.
$ac_ext
11189 LIBS
=$ac_check_soname_save_LIBS
11191 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11193 $as_echo "not found" >&6; }
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11197 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11199 cat >>confdefs.h
<<_ACEOF
11200 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11206 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11212 CPPFLAGS
=$ac_save_CPPFLAGS
11213 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11214 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11217 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11218 case "x$with_gnutls" in
11219 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11221 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11222 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11227 if test "$ac_cv_header_ncurses_h" = "yes"
11229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11230 $as_echo_n "checking for -lncurses... " >&6; }
11231 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11232 $as_echo_n "(cached) " >&6
11234 ac_check_soname_save_LIBS
=$LIBS
11235 LIBS
="-lncurses $LIBS"
11236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11237 /* end confdefs.h. */
11239 /* Override any GCC internal prototype to avoid an error.
11240 Use char because int might match the return type of a GCC
11241 builtin and then its argument prototype would still apply. */
11254 if ac_fn_c_try_link
"$LINENO"; then :
11256 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11257 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'` ;;
11258 *) ac_cv_lib_soname_ncurses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11259 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11260 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11264 rm -f core conftest.err conftest.
$ac_objext \
11265 conftest
$ac_exeext conftest.
$ac_ext
11266 LIBS
=$ac_check_soname_save_LIBS
11268 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11270 $as_echo "not found" >&6; }
11273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11274 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11276 cat >>confdefs.h
<<_ACEOF
11277 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11280 CURSES_LIBS
="-lncurses"
11282 elif test "$ac_cv_header_curses_h" = "yes"
11284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11285 $as_echo_n "checking for -lcurses... " >&6; }
11286 if ${ac_cv_lib_soname_curses+:} false
; then :
11287 $as_echo_n "(cached) " >&6
11289 ac_check_soname_save_LIBS
=$LIBS
11290 LIBS
="-lcurses $LIBS"
11291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11292 /* end confdefs.h. */
11294 /* Override any GCC internal prototype to avoid an error.
11295 Use char because int might match the return type of a GCC
11296 builtin and then its argument prototype would still apply. */
11309 if ac_fn_c_try_link
"$LINENO"; then :
11311 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11312 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'` ;;
11313 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11314 if ${ac_cv_lib_soname_curses:+false} :; then :
11315 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11319 rm -f core conftest.err conftest.
$ac_objext \
11320 conftest
$ac_exeext conftest.
$ac_ext
11321 LIBS
=$ac_check_soname_save_LIBS
11323 if ${ac_cv_lib_soname_curses:+false} :; then :
11324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11325 $as_echo "not found" >&6; }
11328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11329 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11331 cat >>confdefs.h
<<_ACEOF
11332 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11335 CURSES_LIBS
="-lcurses"
11338 ac_save_LIBS
="$LIBS"
11339 LIBS
="$LIBS $CURSES_LIBS"
11340 for ac_func
in mousemask
11342 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11343 if test "x$ac_cv_func_mousemask" = xyes
; then :
11344 cat >>confdefs.h
<<_ACEOF
11345 #define HAVE_MOUSEMASK 1
11351 LIBS
="$ac_save_LIBS"
11352 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11353 case "x$with_curses" in
11354 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11356 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11357 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11361 if test "x$with_sane" != "xno"
11363 if ${SANE_CFLAGS:+false} :; then :
11364 if ${PKG_CONFIG+:} false
; then :
11365 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11368 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11369 if ${SANE_LIBS:+false} :; then :
11370 if ${PKG_CONFIG+:} false
; then :
11371 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11374 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11376 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11377 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11378 ac_save_CPPFLAGS
=$CPPFLAGS
11379 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11380 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11381 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11383 $as_echo_n "checking for -lsane... " >&6; }
11384 if ${ac_cv_lib_soname_sane+:} false
; then :
11385 $as_echo_n "(cached) " >&6
11387 ac_check_soname_save_LIBS
=$LIBS
11388 LIBS
="-lsane $SANE_LIBS $LIBS"
11389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11390 /* end confdefs.h. */
11392 /* Override any GCC internal prototype to avoid an error.
11393 Use char because int might match the return type of a GCC
11394 builtin and then its argument prototype would still apply. */
11402 return sane_init ();
11407 if ac_fn_c_try_link
"$LINENO"; then :
11409 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11410 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'` ;;
11411 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11412 if ${ac_cv_lib_soname_sane:+false} :; then :
11413 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11417 rm -f core conftest.err conftest.
$ac_objext \
11418 conftest
$ac_exeext conftest.
$ac_ext
11419 LIBS
=$ac_check_soname_save_LIBS
11421 if ${ac_cv_lib_soname_sane:+false} :; then :
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11423 $as_echo "not found" >&6; }
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11427 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11429 cat >>confdefs.h
<<_ACEOF
11430 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11440 CPPFLAGS
=$ac_save_CPPFLAGS
11441 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11442 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11445 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11446 case "x$with_sane" in
11447 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11449 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11450 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11454 if test "x$with_v4l" != "xno"
11456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11457 $as_echo_n "checking for -lv4l1... " >&6; }
11458 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11459 $as_echo_n "(cached) " >&6
11461 ac_check_soname_save_LIBS
=$LIBS
11462 LIBS
="-lv4l1 $LIBS"
11463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11464 /* end confdefs.h. */
11466 /* Override any GCC internal prototype to avoid an error.
11467 Use char because int might match the return type of a GCC
11468 builtin and then its argument prototype would still apply. */
11476 return v4l1_open ();
11481 if ac_fn_c_try_link
"$LINENO"; then :
11483 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11484 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'` ;;
11485 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11486 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11487 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11491 rm -f core conftest.err conftest.
$ac_objext \
11492 conftest
$ac_exeext conftest.
$ac_ext
11493 LIBS
=$ac_check_soname_save_LIBS
11495 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11497 $as_echo "not found" >&6; }
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11501 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11503 cat >>confdefs.h
<<_ACEOF
11504 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11510 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11511 case "x$with_v4l" in
11512 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11514 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11515 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11519 if test "x$with_gphoto" != "xno"
11521 if ${GPHOTO2_CFLAGS:+false} :; then :
11522 if ${PKG_CONFIG+:} false
; then :
11523 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11526 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11527 if ${GPHOTO2_LIBS:+false} :; then :
11528 if ${PKG_CONFIG+:} false
; then :
11529 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11532 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11533 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11534 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11535 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11536 ac_save_CPPFLAGS
=$CPPFLAGS
11537 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11538 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11539 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11541 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11542 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11543 $as_echo_n "(cached) " >&6
11545 ac_check_lib_save_LIBS
=$LIBS
11546 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11548 /* end confdefs.h. */
11550 /* Override any GCC internal prototype to avoid an error.
11551 Use char because int might match the return type of a GCC
11552 builtin and then its argument prototype would still apply. */
11556 char gp_camera_new ();
11560 return gp_camera_new ();
11565 if ac_fn_c_try_link
"$LINENO"; then :
11566 ac_cv_lib_gphoto2_gp_camera_new
=yes
11568 ac_cv_lib_gphoto2_gp_camera_new
=no
11570 rm -f core conftest.err conftest.
$ac_objext \
11571 conftest
$ac_exeext conftest.
$ac_ext
11572 LIBS
=$ac_check_lib_save_LIBS
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11575 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11576 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11578 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11581 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11585 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11589 CPPFLAGS
=$ac_save_CPPFLAGS
11590 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11591 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11593 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11594 if ${PKG_CONFIG+:} false
; then :
11595 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11598 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11599 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11600 if ${PKG_CONFIG+:} false
; then :
11601 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11604 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11605 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11606 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11607 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11608 ac_save_CPPFLAGS
=$CPPFLAGS
11609 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11610 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11611 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11613 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11614 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11615 $as_echo_n "(cached) " >&6
11617 ac_check_lib_save_LIBS
=$LIBS
11618 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11620 /* end confdefs.h. */
11622 /* Override any GCC internal prototype to avoid an error.
11623 Use char because int might match the return type of a GCC
11624 builtin and then its argument prototype would still apply. */
11628 char gp_port_info_list_new ();
11632 return gp_port_info_list_new ();
11637 if ac_fn_c_try_link
"$LINENO"; then :
11638 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11640 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11642 rm -f core conftest.err conftest.
$ac_objext \
11643 conftest
$ac_exeext conftest.
$ac_ext
11644 LIBS
=$ac_check_lib_save_LIBS
11646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11647 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11648 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11650 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11653 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11657 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11661 CPPFLAGS
=$ac_save_CPPFLAGS
11662 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11663 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11666 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11667 case "x$with_gphoto" in
11668 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11670 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11671 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11674 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11675 case "x$with_gphoto" in
11676 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11678 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11679 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11684 if test "$ac_cv_header_resolv_h" = "yes"
11686 ac_save_LIBS
="$LIBS"
11687 for lib
in '' -lresolv
11689 LIBS
="$lib $ac_save_LIBS"
11690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11691 /* end confdefs.h. */
11692 #ifdef HAVE_NETINET_IN_H
11693 #include <netinet/in.h>
11695 #include <resolv.h>
11699 res_query("foo",ns_c_in,0,0,0);
11704 if ac_fn_c_try_link
"$LINENO"; then :
11706 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11711 rm -f core conftest.err conftest.
$ac_objext \
11712 conftest
$ac_exeext conftest.
$ac_ext
11713 if test "${RESOLV_LIBS+set}" = set; then
11717 LIBS
="$ac_save_LIBS"
11720 if test "x$with_lcms2" != "xno"
11722 if ${LCMS2_CFLAGS:+false} :; then :
11723 if ${PKG_CONFIG+:} false
; then :
11724 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11728 if ${LCMS2_LIBS:+false} :; then :
11729 if ${PKG_CONFIG+:} false
; then :
11730 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11734 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
11735 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11736 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11737 ac_save_CPPFLAGS
=$CPPFLAGS
11738 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
11739 for ac_header
in lcms2.h
11741 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11742 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
11743 cat >>confdefs.h
<<_ACEOF
11744 #define HAVE_LCMS2_H 1
11751 if test "$ac_cv_header_lcms2_h" = "yes"
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11754 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11755 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
11756 $as_echo_n "(cached) " >&6
11758 ac_check_lib_save_LIBS
=$LIBS
11759 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
11760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11761 /* end confdefs.h. */
11763 /* Override any GCC internal prototype to avoid an error.
11764 Use char because int might match the return type of a GCC
11765 builtin and then its argument prototype would still apply. */
11769 char cmsOpenProfileFromFile ();
11773 return cmsOpenProfileFromFile ();
11778 if ac_fn_c_try_link
"$LINENO"; then :
11779 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
11781 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
11783 rm -f core conftest.err conftest.
$ac_objext \
11784 conftest
$ac_exeext conftest.
$ac_ext
11785 LIBS
=$ac_check_lib_save_LIBS
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11788 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11789 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
11791 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11801 CPPFLAGS
=$ac_save_CPPFLAGS
11802 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11803 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11806 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11807 case "x$with_cms" in
11808 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11810 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11811 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11815 if test "x$with_freetype" != "xno"
11817 if ${FREETYPE_CFLAGS:+false} :; then :
11818 if ${PKG_CONFIG+:} false
; then :
11819 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11822 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11823 if ${FREETYPE_LIBS:+false} :; then :
11824 if ${PKG_CONFIG+:} false
; then :
11825 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11828 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11829 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
11830 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11831 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11832 ac_save_CPPFLAGS
=$CPPFLAGS
11833 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
11834 for ac_header
in ft2build.h
11836 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11837 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
11838 cat >>confdefs.h
<<_ACEOF
11839 #define HAVE_FT2BUILD_H 1
11846 if test "$ac_cv_header_ft2build_h" = "yes"
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11849 $as_echo_n "checking for -lfreetype... " >&6; }
11850 if ${ac_cv_lib_soname_freetype+:} false
; then :
11851 $as_echo_n "(cached) " >&6
11853 ac_check_soname_save_LIBS
=$LIBS
11854 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
11855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11856 /* end confdefs.h. */
11858 /* Override any GCC internal prototype to avoid an error.
11859 Use char because int might match the return type of a GCC
11860 builtin and then its argument prototype would still apply. */
11864 char FT_Init_FreeType ();
11868 return FT_Init_FreeType ();
11873 if ac_fn_c_try_link
"$LINENO"; then :
11875 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11876 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'` ;;
11877 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11878 if ${ac_cv_lib_soname_freetype:+false} :; then :
11879 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11883 rm -f core conftest.err conftest.
$ac_objext \
11884 conftest
$ac_exeext conftest.
$ac_ext
11885 LIBS
=$ac_check_soname_save_LIBS
11887 if ${ac_cv_lib_soname_freetype:+false} :; then :
11888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11889 $as_echo "not found" >&6; }
11892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11893 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11895 cat >>confdefs.h
<<_ACEOF
11896 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11900 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11902 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
11903 #include FT_MODULE_H
11905 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
11907 cat >>confdefs.h
<<_ACEOF
11908 #define HAVE_FT_TRUETYPEENGINETYPE 1
11919 CPPFLAGS
=$ac_save_CPPFLAGS
11920 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11921 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11924 if test "x$ac_cv_lib_soname_freetype" = x
; then :
11925 case "x$with_freetype" in
11927 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
11928 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
11931 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
11934 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
11935 if ${ac_cv_c_ppdev+:} false
; then :
11936 $as_echo_n "(cached) " >&6
11938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11939 /* end confdefs.h. */
11940 #ifdef HAVE_SYS_IOCTL_H
11941 # include <sys/ioctl.h>
11943 #include <linux/ppdev.h>
11947 ioctl (1,PPCLAIM,0)
11952 if ac_fn_c_try_compile
"$LINENO"; then :
11953 ac_cv_c_ppdev
="yes"
11957 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11960 $as_echo "$ac_cv_c_ppdev" >&6; }
11961 if test "$ac_cv_c_ppdev" = "yes"
11964 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11968 ac_wine_check_funcs_save_LIBS
="$LIBS"
11969 LIBS
="$LIBS $PTHREAD_LIBS"
11971 pthread_attr_get_np \
11972 pthread_getattr_np \
11973 pthread_getthreadid_np \
11974 pthread_get_stackaddr_np \
11975 pthread_get_stacksize_np
11977 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11978 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11979 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11980 cat >>confdefs.h
<<_ACEOF
11981 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11987 LIBS
="$ac_wine_check_funcs_save_LIBS"
11989 if test "$ac_cv_header_zlib_h" = "yes"
11991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11992 $as_echo_n "checking for inflate in -lz... " >&6; }
11993 if ${ac_cv_lib_z_inflate+:} false
; then :
11994 $as_echo_n "(cached) " >&6
11996 ac_check_lib_save_LIBS
=$LIBS
11998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11999 /* end confdefs.h. */
12001 /* Override any GCC internal prototype to avoid an error.
12002 Use char because int might match the return type of a GCC
12003 builtin and then its argument prototype would still apply. */
12016 if ac_fn_c_try_link
"$LINENO"; then :
12017 ac_cv_lib_z_inflate
=yes
12019 ac_cv_lib_z_inflate
=no
12021 rm -f core conftest.err conftest.
$ac_objext \
12022 conftest
$ac_exeext conftest.
$ac_ext
12023 LIBS
=$ac_check_lib_save_LIBS
12025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12026 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12027 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12029 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12036 if test "x$Z_LIBS" = "x"; then :
12037 case "x$with_zlib" in
12038 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12040 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12041 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12045 if test "x$enable_tools" != xno
12047 if test "$ac_cv_header_gettext_po_h" = "yes"
12049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12050 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12051 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12052 $as_echo_n "(cached) " >&6
12054 ac_check_lib_save_LIBS
=$LIBS
12055 LIBS
="-lgettextpo $LIBS"
12056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12057 /* end confdefs.h. */
12059 /* Override any GCC internal prototype to avoid an error.
12060 Use char because int might match the return type of a GCC
12061 builtin and then its argument prototype would still apply. */
12065 char po_message_msgctxt ();
12069 return po_message_msgctxt ();
12074 if ac_fn_c_try_link
"$LINENO"; then :
12075 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12077 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12079 rm -f core conftest.err conftest.
$ac_objext \
12080 conftest
$ac_exeext conftest.
$ac_ext
12081 LIBS
=$ac_check_lib_save_LIBS
12083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12084 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12085 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12087 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12089 GETTEXTPO_LIBS
="-lgettextpo"
12094 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12095 case "x$with_gettextpo" in
12096 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12098 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12099 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12104 if test "x$with_gstreamer" != "xno"
12106 if ${GSTREAMER_CFLAGS:+false} :; then :
12107 if ${PKG_CONFIG+:} false
; then :
12108 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12112 if ${GSTREAMER_LIBS:+false} :; then :
12113 if ${PKG_CONFIG+:} false
; then :
12114 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12119 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12120 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12121 ac_save_CPPFLAGS
=$CPPFLAGS
12122 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12124 for i
in $GSTREAMER_CFLAGS
12127 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12130 GSTREAMER_CFLAGS
=$ac_gst_incl
12131 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12132 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12133 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12134 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12135 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12137 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12139 /* end confdefs.h. */
12140 #include <gst/app/gstappsink.h>
12144 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12149 if ac_fn_c_try_compile
"$LINENO"; then :
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12151 $as_echo "yes" >&6; }
12152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12153 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12154 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12155 $as_echo_n "(cached) " >&6
12157 ac_check_lib_save_LIBS
=$LIBS
12158 LIBS
="-lgstreamer-0.10 $LIBS"
12159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12160 /* end confdefs.h. */
12162 /* Override any GCC internal prototype to avoid an error.
12163 Use char because int might match the return type of a GCC
12164 builtin and then its argument prototype would still apply. */
12168 char gst_pad_get_caps_reffed ();
12172 return gst_pad_get_caps_reffed ();
12177 if ac_fn_c_try_link
"$LINENO"; then :
12178 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12180 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12182 rm -f core conftest.err conftest.
$ac_objext \
12183 conftest
$ac_exeext conftest.
$ac_ext
12184 LIBS
=$ac_check_lib_save_LIBS
12186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12187 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12188 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12190 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12191 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12192 $as_echo_n "(cached) " >&6
12194 ac_check_lib_save_LIBS
=$LIBS
12195 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12197 /* end confdefs.h. */
12199 /* Override any GCC internal prototype to avoid an error.
12200 Use char because int might match the return type of a GCC
12201 builtin and then its argument prototype would still apply. */
12205 char gst_app_buffer_new ();
12209 return gst_app_buffer_new ();
12214 if ac_fn_c_try_link
"$LINENO"; then :
12215 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12217 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12219 rm -f core conftest.err conftest.
$ac_objext \
12220 conftest
$ac_exeext conftest.
$ac_ext
12221 LIBS
=$ac_check_lib_save_LIBS
12223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12224 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12225 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12233 $as_echo "no" >&6; }
12235 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12240 GSTREAMER_CFLAGS
=""
12244 CPPFLAGS
=$ac_save_CPPFLAGS
12245 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12246 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12249 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12250 case "x$with_gstreamer" in
12251 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12253 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12254 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12257 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12261 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12264 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12265 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12266 $as_echo_n "(cached) " >&6
12268 ac_check_lib_save_LIBS
=$LIBS
12269 LIBS
="-lasound $LIBS"
12270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12271 /* end confdefs.h. */
12273 /* Override any GCC internal prototype to avoid an error.
12274 Use char because int might match the return type of a GCC
12275 builtin and then its argument prototype would still apply. */
12279 char snd_pcm_hw_params_get_access_mask ();
12283 return snd_pcm_hw_params_get_access_mask ();
12288 if ac_fn_c_try_link
"$LINENO"; then :
12289 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12291 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12293 rm -f core conftest.err conftest.
$ac_objext \
12294 conftest
$ac_exeext conftest.
$ac_ext
12295 LIBS
=$ac_check_lib_save_LIBS
12297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12298 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12299 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12301 /* end confdefs.h. */
12302 #ifdef HAVE_ALSA_ASOUNDLIB_H
12303 #include <alsa/asoundlib.h>
12304 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12305 #include <sys/asoundlib.h>
12310 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12315 if ac_fn_c_try_compile
"$LINENO"; then :
12316 ALSA_LIBS
="-lasound"
12318 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12323 if test "x$with_oss" != xno
12325 ac_save_CPPFLAGS
="$CPPFLAGS"
12326 if test -f /etc
/oss.conf
12330 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12331 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12332 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12333 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12334 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12336 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12338 cat >>confdefs.h
<<_ACEOF
12339 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12342 OSS4_CFLAGS
="$ac_oss_incl"
12349 CPPFLAGS
="$ac_save_CPPFLAGS"
12350 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12352 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12356 if test "x$with_capi" != "xno"
12358 if ${CAPI20_CFLAGS:+false} :; then :
12359 if ${PKG_CONFIG+:} false
; then :
12360 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12364 if ${CAPI20_LIBS:+false} :; then :
12365 if ${PKG_CONFIG+:} false
; then :
12366 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12371 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12372 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12373 ac_save_CPPFLAGS
=$CPPFLAGS
12374 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12375 for ac_header
in capi20.h linux
/capi.h
12377 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12378 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12380 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12381 cat >>confdefs.h
<<_ACEOF
12382 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12389 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12392 $as_echo_n "checking for -lcapi20... " >&6; }
12393 if ${ac_cv_lib_soname_capi20+:} false
; then :
12394 $as_echo_n "(cached) " >&6
12396 ac_check_soname_save_LIBS
=$LIBS
12397 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12399 /* end confdefs.h. */
12401 /* Override any GCC internal prototype to avoid an error.
12402 Use char because int might match the return type of a GCC
12403 builtin and then its argument prototype would still apply. */
12407 char capi20_register ();
12411 return capi20_register ();
12416 if ac_fn_c_try_link
"$LINENO"; then :
12418 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12419 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'` ;;
12420 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12421 if ${ac_cv_lib_soname_capi20:+false} :; then :
12422 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12426 rm -f core conftest.err conftest.
$ac_objext \
12427 conftest
$ac_exeext conftest.
$ac_ext
12428 LIBS
=$ac_check_soname_save_LIBS
12430 if ${ac_cv_lib_soname_capi20:+false} :; then :
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12432 $as_echo "not found" >&6; }
12435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12436 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12438 cat >>confdefs.h
<<_ACEOF
12439 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12445 CPPFLAGS
=$ac_save_CPPFLAGS
12446 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12447 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12450 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12451 case "x$with_capi" in
12452 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12454 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12455 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12461 if test "x$with_cups" != "xno"
12463 ac_save_CPPFLAGS
="$CPPFLAGS"
12464 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12465 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12466 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12467 for ac_header
in cups
/cups.h
12469 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12470 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12471 cat >>confdefs.h
<<_ACEOF
12472 #define HAVE_CUPS_CUPS_H 1
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12475 $as_echo_n "checking for -lcups... " >&6; }
12476 if ${ac_cv_lib_soname_cups+:} false
; then :
12477 $as_echo_n "(cached) " >&6
12479 ac_check_soname_save_LIBS
=$LIBS
12480 LIBS
="-lcups $ac_cups_libs $LIBS"
12481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12482 /* end confdefs.h. */
12484 /* Override any GCC internal prototype to avoid an error.
12485 Use char because int might match the return type of a GCC
12486 builtin and then its argument prototype would still apply. */
12490 char cupsGetDefault ();
12494 return cupsGetDefault ();
12499 if ac_fn_c_try_link
"$LINENO"; then :
12501 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12502 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'` ;;
12503 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12504 if ${ac_cv_lib_soname_cups:+false} :; then :
12505 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12509 rm -f core conftest.err conftest.
$ac_objext \
12510 conftest
$ac_exeext conftest.
$ac_ext
12511 LIBS
=$ac_check_soname_save_LIBS
12513 if ${ac_cv_lib_soname_cups:+false} :; then :
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12515 $as_echo "not found" >&6; }
12518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12519 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12521 cat >>confdefs.h
<<_ACEOF
12522 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12525 CUPS_CFLAGS
="$ac_cups_cflags"
12531 CPPFLAGS
="$ac_save_CPPFLAGS"
12533 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12534 case "x$with_cups" in
12535 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12537 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12538 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12542 if test "x$with_fontconfig" != "xno"
12544 if ${FONTCONFIG_CFLAGS:+false} :; then :
12545 if ${PKG_CONFIG+:} false
; then :
12546 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12549 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12550 if ${FONTCONFIG_LIBS:+false} :; then :
12551 if ${PKG_CONFIG+:} false
; then :
12552 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12555 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
12557 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12558 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12559 ac_save_CPPFLAGS
=$CPPFLAGS
12560 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
12561 for ac_header
in fontconfig
/fontconfig.h
12563 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12564 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12565 cat >>confdefs.h
<<_ACEOF
12566 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12573 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12576 $as_echo_n "checking for -lfontconfig... " >&6; }
12577 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12578 $as_echo_n "(cached) " >&6
12580 ac_check_soname_save_LIBS
=$LIBS
12581 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12582 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12583 /* end confdefs.h. */
12585 /* Override any GCC internal prototype to avoid an error.
12586 Use char because int might match the return type of a GCC
12587 builtin and then its argument prototype would still apply. */
12600 if ac_fn_c_try_link
"$LINENO"; then :
12602 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12603 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'` ;;
12604 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12605 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12606 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12610 rm -f core conftest.err conftest.
$ac_objext \
12611 conftest
$ac_exeext conftest.
$ac_ext
12612 LIBS
=$ac_check_soname_save_LIBS
12614 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12616 $as_echo "not found" >&6; }
12617 FONTCONFIG_CFLAGS
=""
12619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12620 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12622 cat >>confdefs.h
<<_ACEOF
12623 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12629 FONTCONFIG_CFLAGS
=""
12631 CPPFLAGS
=$ac_save_CPPFLAGS
12632 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12633 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12636 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12637 case "x$with_fontconfig" in
12638 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12640 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12641 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12645 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12648 $as_echo_n "checking for -lgsm... " >&6; }
12649 if ${ac_cv_lib_soname_gsm+:} false
; then :
12650 $as_echo_n "(cached) " >&6
12652 ac_check_soname_save_LIBS
=$LIBS
12654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12655 /* end confdefs.h. */
12657 /* Override any GCC internal prototype to avoid an error.
12658 Use char because int might match the return type of a GCC
12659 builtin and then its argument prototype would still apply. */
12663 char gsm_create ();
12667 return gsm_create ();
12672 if ac_fn_c_try_link
"$LINENO"; then :
12674 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12675 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'` ;;
12676 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12677 if ${ac_cv_lib_soname_gsm:+false} :; then :
12678 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12682 rm -f core conftest.err conftest.
$ac_objext \
12683 conftest
$ac_exeext conftest.
$ac_ext
12684 LIBS
=$ac_check_soname_save_LIBS
12686 if ${ac_cv_lib_soname_gsm:+false} :; then :
12687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12688 $as_echo "not found" >&6; }
12691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12692 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12694 cat >>confdefs.h
<<_ACEOF
12695 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12701 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12702 case "x$with_gsm" in
12703 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12705 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12706 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12710 if test "x$with_jpeg" != "xno"
12712 if ${JPEG_CFLAGS:+false} :; then :
12713 if ${PKG_CONFIG+:} false
; then :
12714 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12718 if ${JPEG_LIBS:+false} :; then :
12719 if ${PKG_CONFIG+:} false
; then :
12720 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12725 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12726 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12727 ac_save_CPPFLAGS
=$CPPFLAGS
12728 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
12729 for ac_header
in jpeglib.h
12731 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12732 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
12733 cat >>confdefs.h
<<_ACEOF
12734 #define HAVE_JPEGLIB_H 1
12741 if test "$ac_cv_header_jpeglib_h" = "yes"
12743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12744 $as_echo_n "checking for -ljpeg... " >&6; }
12745 if ${ac_cv_lib_soname_jpeg+:} false
; then :
12746 $as_echo_n "(cached) " >&6
12748 ac_check_soname_save_LIBS
=$LIBS
12749 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
12750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12751 /* end confdefs.h. */
12753 /* Override any GCC internal prototype to avoid an error.
12754 Use char because int might match the return type of a GCC
12755 builtin and then its argument prototype would still apply. */
12759 char jpeg_start_decompress ();
12763 return jpeg_start_decompress ();
12768 if ac_fn_c_try_link
"$LINENO"; then :
12770 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12771 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'` ;;
12772 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12773 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12774 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12778 rm -f core conftest.err conftest.
$ac_objext \
12779 conftest
$ac_exeext conftest.
$ac_ext
12780 LIBS
=$ac_check_soname_save_LIBS
12782 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12784 $as_echo "not found" >&6; }
12787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12788 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12790 cat >>confdefs.h
<<_ACEOF
12791 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12799 CPPFLAGS
=$ac_save_CPPFLAGS
12800 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12801 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12804 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12805 case "x$with_jpeg" in
12806 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12808 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12809 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12813 if test "x$with_png" != "xno"
12815 if ${PNG_CFLAGS:+false} :; then :
12816 if ${PKG_CONFIG+:} false
; then :
12817 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12820 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
12821 if ${PNG_LIBS:+false} :; then :
12822 if ${PKG_CONFIG+:} false
; then :
12823 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
12826 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
12828 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12829 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12830 ac_save_CPPFLAGS
=$CPPFLAGS
12831 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
12832 for ac_header
in png.h
12834 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12835 if test "x$ac_cv_header_png_h" = xyes
; then :
12836 cat >>confdefs.h
<<_ACEOF
12837 #define HAVE_PNG_H 1
12844 if test "$ac_cv_header_png_h" = "yes"
12846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12847 $as_echo_n "checking for -lpng... " >&6; }
12848 if ${ac_cv_lib_soname_png+:} false
; then :
12849 $as_echo_n "(cached) " >&6
12851 ac_check_soname_save_LIBS
=$LIBS
12852 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
12853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12854 /* end confdefs.h. */
12856 /* Override any GCC internal prototype to avoid an error.
12857 Use char because int might match the return type of a GCC
12858 builtin and then its argument prototype would still apply. */
12862 char png_create_read_struct ();
12866 return png_create_read_struct ();
12871 if ac_fn_c_try_link
"$LINENO"; then :
12873 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12874 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'` ;;
12875 *) 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'`
12876 if ${ac_cv_lib_soname_png:+false} :; then :
12877 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12881 rm -f core conftest.err conftest.
$ac_objext \
12882 conftest
$ac_exeext conftest.
$ac_ext
12883 LIBS
=$ac_check_soname_save_LIBS
12885 if ${ac_cv_lib_soname_png:+false} :; then :
12886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12887 $as_echo "not found" >&6; }
12890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12891 $as_echo "$ac_cv_lib_soname_png" >&6; }
12893 cat >>confdefs.h
<<_ACEOF
12894 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12898 /* end confdefs.h. */
12903 typeof(png_set_expand_gray_1_2_4_to_8) *p
12908 if ac_fn_c_try_compile
"$LINENO"; then :
12910 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12913 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12918 CPPFLAGS
=$ac_save_CPPFLAGS
12919 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12920 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12923 if test "x$ac_cv_lib_soname_png" = "x"; then :
12924 case "x$with_png" in
12925 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
12927 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
12928 This is an error since --with-png was requested." "$LINENO" 5 ;;
12932 if test "x$with_tiff" != "xno"
12934 if ${TIFF_CFLAGS:+false} :; then :
12935 if ${PKG_CONFIG+:} false
; then :
12936 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
12940 if ${TIFF_LIBS:+false} :; then :
12941 if ${PKG_CONFIG+:} false
; then :
12942 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
12947 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
12948 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
12949 ac_save_CPPFLAGS
=$CPPFLAGS
12950 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
12951 for ac_header
in tiffio.h
12953 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
12954 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
12955 cat >>confdefs.h
<<_ACEOF
12956 #define HAVE_TIFFIO_H 1
12963 if test "$ac_cv_header_tiffio_h" = "yes"
12965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
12966 $as_echo_n "checking for -ltiff... " >&6; }
12967 if ${ac_cv_lib_soname_tiff+:} false
; then :
12968 $as_echo_n "(cached) " >&6
12970 ac_check_soname_save_LIBS
=$LIBS
12971 LIBS
="-ltiff $TIFF_LIBS $LIBS"
12972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12973 /* end confdefs.h. */
12975 /* Override any GCC internal prototype to avoid an error.
12976 Use char because int might match the return type of a GCC
12977 builtin and then its argument prototype would still apply. */
12981 char TIFFClientOpen ();
12985 return TIFFClientOpen ();
12990 if ac_fn_c_try_link
"$LINENO"; then :
12992 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12993 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'` ;;
12994 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12995 if ${ac_cv_lib_soname_tiff:+false} :; then :
12996 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13000 rm -f core conftest.err conftest.
$ac_objext \
13001 conftest
$ac_exeext conftest.
$ac_ext
13002 LIBS
=$ac_check_soname_save_LIBS
13004 if ${ac_cv_lib_soname_tiff:+false} :; then :
13005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13006 $as_echo "not found" >&6; }
13009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13010 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13012 cat >>confdefs.h
<<_ACEOF
13013 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13019 CPPFLAGS
=$ac_save_CPPFLAGS
13020 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13021 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13024 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13025 case "x$with_tiff" in
13026 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13028 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13029 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13033 if test "x$with_mpg123" != "xno"
13035 if ${MPG123_CFLAGS:+false} :; then :
13036 if ${PKG_CONFIG+:} false
; then :
13037 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13041 if ${MPG123_LIBS:+false} :; then :
13042 if ${PKG_CONFIG+:} false
; then :
13043 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13047 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13048 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13049 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13050 ac_save_CPPFLAGS
=$CPPFLAGS
13051 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13052 for ac_header
in mpg123.h
13054 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13055 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13056 cat >>confdefs.h
<<_ACEOF
13057 #define HAVE_MPG123_H 1
13064 if test "$ac_cv_header_mpg123_h" = "yes"
13066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13067 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13068 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13069 $as_echo_n "(cached) " >&6
13071 ac_check_lib_save_LIBS
=$LIBS
13072 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13074 /* end confdefs.h. */
13076 /* Override any GCC internal prototype to avoid an error.
13077 Use char because int might match the return type of a GCC
13078 builtin and then its argument prototype would still apply. */
13082 char mpg123_feed ();
13086 return mpg123_feed ();
13091 if ac_fn_c_try_link
"$LINENO"; then :
13092 ac_cv_lib_mpg123_mpg123_feed
=yes
13094 ac_cv_lib_mpg123_mpg123_feed
=no
13096 rm -f core conftest.err conftest.
$ac_objext \
13097 conftest
$ac_exeext conftest.
$ac_ext
13098 LIBS
=$ac_check_lib_save_LIBS
13100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13101 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13102 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13112 CPPFLAGS
=$ac_save_CPPFLAGS
13113 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13114 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13117 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13118 case "x$with_mpg123" in
13119 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13121 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13122 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13125 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}
13127 if test "$ac_cv_header_AL_al_h" = "yes"
13129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13130 $as_echo_n "checking for -lopenal... " >&6; }
13131 if ${ac_cv_lib_soname_openal+:} false
; then :
13132 $as_echo_n "(cached) " >&6
13134 ac_check_soname_save_LIBS
=$LIBS
13135 LIBS
="-lopenal $LIBS"
13136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13137 /* end confdefs.h. */
13139 /* Override any GCC internal prototype to avoid an error.
13140 Use char because int might match the return type of a GCC
13141 builtin and then its argument prototype would still apply. */
13145 char alGetSource3i ();
13149 return alGetSource3i ();
13154 if ac_fn_c_try_link
"$LINENO"; then :
13156 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13157 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'` ;;
13158 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13159 if ${ac_cv_lib_soname_openal:+false} :; then :
13160 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13164 rm -f core conftest.err conftest.
$ac_objext \
13165 conftest
$ac_exeext conftest.
$ac_ext
13166 LIBS
=$ac_check_soname_save_LIBS
13168 if ${ac_cv_lib_soname_openal:+false} :; then :
13169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13170 $as_echo "not found" >&6; }
13173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13174 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13176 cat >>confdefs.h
<<_ACEOF
13177 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13180 OPENAL_LIBS
="-lopenal"
13182 ac_cv_lib_openal
=yes
13184 cat >>confdefs.h
<<_ACEOF
13185 #define HAVE_OPENAL 1
13190 if test "x$ac_cv_lib_openal" != xyes
; then :
13191 case "x$with_openal" in
13192 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13194 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13195 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13198 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13200 if test "$ac_cv_header_kstat_h" = "yes"
13202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13203 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13204 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13205 $as_echo_n "(cached) " >&6
13207 ac_check_lib_save_LIBS
=$LIBS
13208 LIBS
="-lkstat $LIBS"
13209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13210 /* end confdefs.h. */
13212 /* Override any GCC internal prototype to avoid an error.
13213 Use char because int might match the return type of a GCC
13214 builtin and then its argument prototype would still apply. */
13218 char kstat_open ();
13222 return kstat_open ();
13227 if ac_fn_c_try_link
"$LINENO"; then :
13228 ac_cv_lib_kstat_kstat_open
=yes
13230 ac_cv_lib_kstat_kstat_open
=no
13232 rm -f core conftest.err conftest.
$ac_objext \
13233 conftest
$ac_exeext conftest.
$ac_ext
13234 LIBS
=$ac_check_lib_save_LIBS
13236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13237 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13238 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13240 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13242 KSTAT_LIBS
="-lkstat"
13248 if test "$ac_cv_header_libprocstat_h" = "yes"
13250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13251 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13252 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13253 $as_echo_n "(cached) " >&6
13255 ac_check_lib_save_LIBS
=$LIBS
13256 LIBS
="-lprocstat $LIBS"
13257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13258 /* end confdefs.h. */
13260 /* Override any GCC internal prototype to avoid an error.
13261 Use char because int might match the return type of a GCC
13262 builtin and then its argument prototype would still apply. */
13266 char procstat_open_sysctl ();
13270 return procstat_open_sysctl ();
13275 if ac_fn_c_try_link
"$LINENO"; then :
13276 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13278 ac_cv_lib_procstat_procstat_open_sysctl
=no
13280 rm -f core conftest.err conftest.
$ac_objext \
13281 conftest
$ac_exeext conftest.
$ac_ext
13282 LIBS
=$ac_check_lib_save_LIBS
13284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13285 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13286 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13288 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13290 PROCSTAT_LIBS
="-lprocstat"
13296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13297 $as_echo_n "checking for -lodbc... " >&6; }
13298 if ${ac_cv_lib_soname_odbc+:} false
; then :
13299 $as_echo_n "(cached) " >&6
13301 ac_check_soname_save_LIBS
=$LIBS
13302 LIBS
="-lodbc $LIBS"
13303 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13304 /* end confdefs.h. */
13306 /* Override any GCC internal prototype to avoid an error.
13307 Use char because int might match the return type of a GCC
13308 builtin and then its argument prototype would still apply. */
13312 char SQLConnect ();
13316 return SQLConnect ();
13321 if ac_fn_c_try_link
"$LINENO"; then :
13323 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13324 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'` ;;
13325 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13326 if ${ac_cv_lib_soname_odbc:+false} :; then :
13327 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13331 rm -f core conftest.err conftest.
$ac_objext \
13332 conftest
$ac_exeext conftest.
$ac_ext
13333 LIBS
=$ac_check_soname_save_LIBS
13335 if ${ac_cv_lib_soname_odbc:+false} :; then :
13336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13337 $as_echo "not found" >&6; }
13338 cat >>confdefs.h
<<_ACEOF
13339 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13344 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13346 cat >>confdefs.h
<<_ACEOF
13347 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13353 if test "x$with_netapi" != "xno"
13355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13356 $as_echo_n "checking for -lnetapi... " >&6; }
13357 if ${ac_cv_lib_soname_netapi+:} false
; then :
13358 $as_echo_n "(cached) " >&6
13360 ac_check_soname_save_LIBS
=$LIBS
13361 LIBS
="-lnetapi $LIBS"
13362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13363 /* end confdefs.h. */
13365 /* Override any GCC internal prototype to avoid an error.
13366 Use char because int might match the return type of a GCC
13367 builtin and then its argument prototype would still apply. */
13371 char libnetapi_init ();
13375 return libnetapi_init ();
13380 if ac_fn_c_try_link
"$LINENO"; then :
13382 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13383 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'` ;;
13384 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13385 if ${ac_cv_lib_soname_netapi:+false} :; then :
13386 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13390 rm -f core conftest.err conftest.
$ac_objext \
13391 conftest
$ac_exeext conftest.
$ac_ext
13392 LIBS
=$ac_check_soname_save_LIBS
13394 if ${ac_cv_lib_soname_netapi:+false} :; then :
13395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13396 $as_echo "not found" >&6; }
13397 cat >>confdefs.h
<<_ACEOF
13398 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13403 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13405 cat >>confdefs.h
<<_ACEOF
13406 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13413 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13414 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13415 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13416 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13418 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13419 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13420 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13422 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13428 if test "x${GCC}" = "xyes"
13430 EXTRACFLAGS
="-Wall -pipe"
13432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13433 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13434 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13435 $as_echo_n "(cached) " >&6
13437 if test "$cross_compiling" = yes; then :
13438 ac_cv_c_gcc_strength_bug
="yes"
13440 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13441 /* end confdefs.h. */
13442 int L[4] = {0,1,2,3};
13446 static int Array[3];
13447 unsigned int B = 3;
13449 for(i=0; i<B; i++) Array[i] = i - 3;
13450 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13452 return (Array[1] != -2 || L[2] != 3)
13457 if ac_fn_c_try_run
"$LINENO"; then :
13458 ac_cv_c_gcc_strength_bug
="no"
13460 ac_cv_c_gcc_strength_bug
="yes"
13462 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13463 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13468 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13469 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13471 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13475 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13476 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13477 $as_echo_n "(cached) " >&6
13479 ac_wine_try_cflags_saved
=$CFLAGS
13480 CFLAGS
="$CFLAGS -fno-builtin"
13481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13482 /* end confdefs.h. */
13483 int main(int argc, char **argv) { return 0; }
13485 if ac_fn_c_try_link
"$LINENO"; then :
13486 ac_cv_cflags__fno_builtin
=yes
13488 ac_cv_cflags__fno_builtin
=no
13490 rm -f core conftest.err conftest.
$ac_objext \
13491 conftest
$ac_exeext conftest.
$ac_ext
13492 CFLAGS
=$ac_wine_try_cflags_saved
13494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13495 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13496 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
13497 BUILTINFLAG
="-fno-builtin"
13500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13501 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13502 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13503 $as_echo_n "(cached) " >&6
13505 ac_wine_try_cflags_saved
=$CFLAGS
13506 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13508 /* end confdefs.h. */
13509 int main(int argc, char **argv) { return 0; }
13511 if ac_fn_c_try_link
"$LINENO"; then :
13512 ac_cv_cflags__fno_strict_aliasing
=yes
13514 ac_cv_cflags__fno_strict_aliasing
=no
13516 rm -f core conftest.err conftest.
$ac_objext \
13517 conftest
$ac_exeext conftest.
$ac_ext
13518 CFLAGS
=$ac_wine_try_cflags_saved
13520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13521 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13522 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
13523 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13525 saved_CFLAGS
=$CFLAGS
13526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13527 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13528 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13529 $as_echo_n "(cached) " >&6
13531 ac_wine_try_cflags_saved
=$CFLAGS
13532 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13534 /* end confdefs.h. */
13535 int main(int argc, char **argv) { return 0; }
13537 if ac_fn_c_try_link
"$LINENO"; then :
13538 ac_cv_cflags__Werror_unknown_warning_option
=yes
13540 ac_cv_cflags__Werror_unknown_warning_option
=no
13542 rm -f core conftest.err conftest.
$ac_objext \
13543 conftest
$ac_exeext conftest.
$ac_ext
13544 CFLAGS
=$ac_wine_try_cflags_saved
13546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13547 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13548 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
13549 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13552 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13553 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13554 $as_echo_n "(cached) " >&6
13556 ac_wine_try_cflags_saved
=$CFLAGS
13557 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13559 /* end confdefs.h. */
13560 int main(int argc, char **argv) { return 0; }
13562 if ac_fn_c_try_link
"$LINENO"; then :
13563 ac_cv_cflags__Wdeclaration_after_statement
=yes
13565 ac_cv_cflags__Wdeclaration_after_statement
=no
13567 rm -f core conftest.err conftest.
$ac_objext \
13568 conftest
$ac_exeext conftest.
$ac_ext
13569 CFLAGS
=$ac_wine_try_cflags_saved
13571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13572 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13573 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
13574 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13577 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13578 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13579 $as_echo_n "(cached) " >&6
13581 ac_wine_try_cflags_saved
=$CFLAGS
13582 CFLAGS
="$CFLAGS -Wempty-body"
13583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13584 /* end confdefs.h. */
13585 int main(int argc, char **argv) { return 0; }
13587 if ac_fn_c_try_link
"$LINENO"; then :
13588 ac_cv_cflags__Wempty_body
=yes
13590 ac_cv_cflags__Wempty_body
=no
13592 rm -f core conftest.err conftest.
$ac_objext \
13593 conftest
$ac_exeext conftest.
$ac_ext
13594 CFLAGS
=$ac_wine_try_cflags_saved
13596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13597 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13598 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
13599 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13602 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13603 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13604 $as_echo_n "(cached) " >&6
13606 ac_wine_try_cflags_saved
=$CFLAGS
13607 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13609 /* end confdefs.h. */
13610 int main(int argc, char **argv) { return 0; }
13612 if ac_fn_c_try_link
"$LINENO"; then :
13613 ac_cv_cflags__Wignored_qualifiers
=yes
13615 ac_cv_cflags__Wignored_qualifiers
=no
13617 rm -f core conftest.err conftest.
$ac_objext \
13618 conftest
$ac_exeext conftest.
$ac_ext
13619 CFLAGS
=$ac_wine_try_cflags_saved
13621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13622 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13623 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
13624 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13627 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13628 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13629 $as_echo_n "(cached) " >&6
13631 ac_wine_try_cflags_saved
=$CFLAGS
13632 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13634 /* end confdefs.h. */
13635 int main(int argc, char **argv) { return 0; }
13637 if ac_fn_c_try_link
"$LINENO"; then :
13638 ac_cv_cflags__Wstrict_prototypes
=yes
13640 ac_cv_cflags__Wstrict_prototypes
=no
13642 rm -f core conftest.err conftest.
$ac_objext \
13643 conftest
$ac_exeext conftest.
$ac_ext
13644 CFLAGS
=$ac_wine_try_cflags_saved
13646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13647 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13648 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
13649 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13652 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13653 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13654 $as_echo_n "(cached) " >&6
13656 ac_wine_try_cflags_saved
=$CFLAGS
13657 CFLAGS
="$CFLAGS -Wtype-limits"
13658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13659 /* end confdefs.h. */
13660 int main(int argc, char **argv) { return 0; }
13662 if ac_fn_c_try_link
"$LINENO"; then :
13663 ac_cv_cflags__Wtype_limits
=yes
13665 ac_cv_cflags__Wtype_limits
=no
13667 rm -f core conftest.err conftest.
$ac_objext \
13668 conftest
$ac_exeext conftest.
$ac_ext
13669 CFLAGS
=$ac_wine_try_cflags_saved
13671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13672 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13673 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
13674 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13677 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13678 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13679 $as_echo_n "(cached) " >&6
13681 ac_wine_try_cflags_saved
=$CFLAGS
13682 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13684 /* end confdefs.h. */
13685 int main(int argc, char **argv) { return 0; }
13687 if ac_fn_c_try_link
"$LINENO"; then :
13688 ac_cv_cflags__Wunused_but_set_parameter
=yes
13690 ac_cv_cflags__Wunused_but_set_parameter
=no
13692 rm -f core conftest.err conftest.
$ac_objext \
13693 conftest
$ac_exeext conftest.
$ac_ext
13694 CFLAGS
=$ac_wine_try_cflags_saved
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13697 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13698 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
13699 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13702 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13703 if ${ac_cv_cflags__Wvla+:} false
; then :
13704 $as_echo_n "(cached) " >&6
13706 ac_wine_try_cflags_saved
=$CFLAGS
13707 CFLAGS
="$CFLAGS -Wvla"
13708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13709 /* end confdefs.h. */
13710 int main(int argc, char **argv) { return 0; }
13712 if ac_fn_c_try_link
"$LINENO"; then :
13713 ac_cv_cflags__Wvla
=yes
13715 ac_cv_cflags__Wvla
=no
13717 rm -f core conftest.err conftest.
$ac_objext \
13718 conftest
$ac_exeext conftest.
$ac_ext
13719 CFLAGS
=$ac_wine_try_cflags_saved
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13722 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13723 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
13724 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
13726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13727 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13728 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
13729 $as_echo_n "(cached) " >&6
13731 ac_wine_try_cflags_saved
=$CFLAGS
13732 CFLAGS
="$CFLAGS -Wwrite-strings"
13733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13734 /* end confdefs.h. */
13735 int main(int argc, char **argv) { return 0; }
13737 if ac_fn_c_try_link
"$LINENO"; then :
13738 ac_cv_cflags__Wwrite_strings
=yes
13740 ac_cv_cflags__Wwrite_strings
=no
13742 rm -f core conftest.err conftest.
$ac_objext \
13743 conftest
$ac_exeext conftest.
$ac_ext
13744 CFLAGS
=$ac_wine_try_cflags_saved
13746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13747 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13748 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
13749 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13753 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13754 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
13755 $as_echo_n "(cached) " >&6
13757 ac_wine_try_cflags_saved
=$CFLAGS
13758 CFLAGS
="$CFLAGS -Wpointer-arith"
13759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13760 /* end confdefs.h. */
13761 int main(int argc, char **argv) { return 0; }
13763 if ac_fn_c_try_link
"$LINENO"; then :
13764 ac_cv_cflags__Wpointer_arith
=yes
13766 ac_cv_cflags__Wpointer_arith
=no
13768 rm -f core conftest.err conftest.
$ac_objext \
13769 conftest
$ac_exeext conftest.
$ac_ext
13770 CFLAGS
=$ac_wine_try_cflags_saved
13772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13773 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13774 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
13775 saved_string_h_CFLAGS
=$CFLAGS
13776 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
13777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13778 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13779 if ${ac_cv_c_string_h_warnings+:} false
; then :
13780 $as_echo_n "(cached) " >&6
13782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13783 /* end confdefs.h. */
13784 #include <string.h>
13793 if ac_fn_c_try_compile
"$LINENO"; then :
13794 ac_cv_c_string_h_warnings
=no
13796 ac_cv_c_string_h_warnings
=yes
13798 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13801 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13802 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
13803 CFLAGS
=$saved_string_h_CFLAGS
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13807 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13808 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
13809 $as_echo_n "(cached) " >&6
13811 ac_wine_try_cflags_saved
=$CFLAGS
13812 CFLAGS
="$CFLAGS -Wlogical-op"
13813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13814 /* end confdefs.h. */
13815 int main(int argc, char **argv) { return 0; }
13817 if ac_fn_c_try_link
"$LINENO"; then :
13818 ac_cv_cflags__Wlogical_op
=yes
13820 ac_cv_cflags__Wlogical_op
=no
13822 rm -f core conftest.err conftest.
$ac_objext \
13823 conftest
$ac_exeext conftest.
$ac_ext
13824 CFLAGS
=$ac_wine_try_cflags_saved
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13827 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13828 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
13829 saved_string_h_CFLAGS
=$CFLAGS
13830 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
13831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13832 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13833 if ${ac_cv_c_logicalop_noisy+:} false
; then :
13834 $as_echo_n "(cached) " >&6
13836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13837 /* end confdefs.h. */
13838 #include <string.h>
13839 char*f(const char *h,char n) {return strchr(h,n);}
13848 if ac_fn_c_try_compile
"$LINENO"; then :
13849 ac_cv_c_logicalop_noisy
=no
13851 ac_cv_c_logicalop_noisy
=yes
13853 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13856 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13857 CFLAGS
=$saved_string_h_CFLAGS
13858 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
13861 CFLAGS
=$saved_CFLAGS
13863 for ac_flag
in $CFLAGS; do
13865 -g) case $host_os in
13866 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13867 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13868 if ${ac_cv_cflags__gstabsp+:} false
; then :
13869 $as_echo_n "(cached) " >&6
13871 ac_wine_try_cflags_saved
=$CFLAGS
13872 CFLAGS
="$CFLAGS -gstabs+"
13873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13874 /* end confdefs.h. */
13875 int main(int argc, char **argv) { return 0; }
13877 if ac_fn_c_try_link
"$LINENO"; then :
13878 ac_cv_cflags__gstabsp
=yes
13880 ac_cv_cflags__gstabsp
=no
13882 rm -f core conftest.err conftest.
$ac_objext \
13883 conftest
$ac_exeext conftest.
$ac_ext
13884 CFLAGS
=$ac_wine_try_cflags_saved
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13887 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
13888 if test "x$ac_cv_cflags__gstabsp" = xyes
; then :
13889 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
13891 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
13892 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
13893 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
13894 $as_echo_n "(cached) " >&6
13896 ac_wine_try_cflags_saved
=$CFLAGS
13897 CFLAGS
="$CFLAGS -gdwarf-2"
13898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13899 /* end confdefs.h. */
13900 int main(int argc, char **argv) { return 0; }
13902 if ac_fn_c_try_link
"$LINENO"; then :
13903 ac_cv_cflags__gdwarf_2
=yes
13905 ac_cv_cflags__gdwarf_2
=no
13907 rm -f core conftest.err conftest.
$ac_objext \
13908 conftest
$ac_exeext conftest.
$ac_ext
13909 CFLAGS
=$ac_wine_try_cflags_saved
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
13912 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
13913 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
13914 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
13917 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
13918 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
13919 $as_echo_n "(cached) " >&6
13921 ac_wine_try_cflags_saved
=$CFLAGS
13922 CFLAGS
="$CFLAGS -gstrict-dwarf"
13923 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13924 /* end confdefs.h. */
13925 int main(int argc, char **argv) { return 0; }
13927 if ac_fn_c_try_link
"$LINENO"; then :
13928 ac_cv_cflags__gstrict_dwarf
=yes
13930 ac_cv_cflags__gstrict_dwarf
=no
13932 rm -f core conftest.err conftest.
$ac_objext \
13933 conftest
$ac_exeext conftest.
$ac_ext
13934 CFLAGS
=$ac_wine_try_cflags_saved
13936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
13937 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
13938 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
13939 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
13946 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
13947 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
13948 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
13949 $as_echo_n "(cached) " >&6
13951 ac_wine_try_cflags_saved
=$CFLAGS
13952 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
13953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13954 /* end confdefs.h. */
13955 int main(int argc, char **argv) { return 0; }
13957 if ac_fn_c_try_link
"$LINENO"; then :
13958 ac_cv_cflags__fno_omit_frame_pointer
=yes
13960 ac_cv_cflags__fno_omit_frame_pointer
=no
13962 rm -f core conftest.err conftest.
$ac_objext \
13963 conftest
$ac_exeext conftest.
$ac_ext
13964 CFLAGS
=$ac_wine_try_cflags_saved
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
13967 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
13968 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
13969 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
13974 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
13975 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
13976 if ${ac_cv_cflags__Wno_format+:} false
; then :
13977 $as_echo_n "(cached) " >&6
13979 ac_wine_try_cflags_saved
=$CFLAGS
13980 CFLAGS
="$CFLAGS -Wno-format"
13981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13982 /* end confdefs.h. */
13983 int main(int argc, char **argv) { return 0; }
13985 if ac_fn_c_try_link
"$LINENO"; then :
13986 ac_cv_cflags__Wno_format
=yes
13988 ac_cv_cflags__Wno_format
=no
13990 rm -f core conftest.err conftest.
$ac_objext \
13991 conftest
$ac_exeext conftest.
$ac_ext
13992 CFLAGS
=$ac_wine_try_cflags_saved
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
13995 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
13996 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
13997 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14001 if test "x$enable_maintainer_mode" = "xyes"
14003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14004 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14005 if ${ac_cv_cflags__Werror+:} false
; then :
14006 $as_echo_n "(cached) " >&6
14008 ac_wine_try_cflags_saved
=$CFLAGS
14009 CFLAGS
="$CFLAGS -Werror"
14010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14011 /* end confdefs.h. */
14012 int main(int argc, char **argv) { return 0; }
14014 if ac_fn_c_try_link
"$LINENO"; then :
14015 ac_cv_cflags__Werror
=yes
14017 ac_cv_cflags__Werror
=no
14019 rm -f core conftest.err conftest.
$ac_objext \
14020 conftest
$ac_exeext conftest.
$ac_ext
14021 CFLAGS
=$ac_wine_try_cflags_saved
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14024 $as_echo "$ac_cv_cflags__Werror" >&6; }
14025 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14026 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14030 saved_CFLAGS
="$CFLAGS"
14031 CFLAGS
="$CFLAGS -Werror"
14032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14033 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14034 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14035 $as_echo_n "(cached) " >&6
14037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14038 /* end confdefs.h. */
14039 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14048 if ac_fn_c_try_compile
"$LINENO"; then :
14049 ac_cv_have_ms_hook_prologue
="yes"
14051 ac_cv_have_ms_hook_prologue
="no"
14053 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14056 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14057 CFLAGS
="$saved_CFLAGS"
14058 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14061 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14064 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14071 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14072 if ${ac_cv_c_fortify_enabled+:} false
; then :
14073 $as_echo_n "(cached) " >&6
14075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14076 /* end confdefs.h. */
14077 #include <string.h>
14081 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14082 #error Fortify enabled
14088 if ac_fn_c_try_compile
"$LINENO"; then :
14089 ac_cv_c_fortify_enabled
=no
14091 ac_cv_c_fortify_enabled
=yes
14093 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14096 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14097 if test "$ac_cv_c_fortify_enabled" = yes
14099 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14104 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14105 if ${ac_cv_c_extern_prefix+:} false
; then :
14106 $as_echo_n "(cached) " >&6
14108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14109 /* end confdefs.h. */
14110 extern int ac_test;
14114 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14119 if ac_fn_c_try_link
"$LINENO"; then :
14120 ac_cv_c_extern_prefix
="yes"
14122 ac_cv_c_extern_prefix
="no"
14124 rm -f core conftest.err conftest.
$ac_objext \
14125 conftest
$ac_exeext conftest.
$ac_ext
14127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14128 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14133 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14134 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14135 $as_echo_n "(cached) " >&6
14137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14138 /* end confdefs.h. */
14140 #define __stdcall __attribute__((__stdcall__))
14142 int __stdcall ac_test(int i) { return i; }
14146 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14151 if ac_fn_c_try_link
"$LINENO"; then :
14152 ac_cv_c_stdcall_suffix
="yes"
14154 ac_cv_c_stdcall_suffix
="no"
14156 rm -f core conftest.err conftest.
$ac_objext \
14157 conftest
$ac_exeext conftest.
$ac_ext
14159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14160 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14161 *) ac_cv_c_stdcall_suffix
="no" ;;
14165 if test "$ac_cv_c_extern_prefix" = "yes"
14167 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14169 asm_name_prefix
="_"
14171 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14177 if test "$ac_cv_c_stdcall_suffix" = "yes"
14179 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14182 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14188 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14189 if ${ac_cv_asm_func_def+:} false
; then :
14190 $as_echo_n "(cached) " >&6
14192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14193 /* end confdefs.h. */
14198 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14203 if ac_fn_c_try_link
"$LINENO"; then :
14204 ac_cv_asm_func_def
=".def"
14206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14207 /* end confdefs.h. */
14212 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14217 if ac_fn_c_try_link
"$LINENO"; then :
14218 ac_cv_asm_func_def
=".type @function"
14220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14221 /* end confdefs.h. */
14226 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14231 if ac_fn_c_try_link
"$LINENO"; then :
14232 ac_cv_asm_func_def
=".type 2"
14234 ac_cv_asm_func_def
="unknown"
14236 rm -f core conftest.err conftest.
$ac_objext \
14237 conftest
$ac_exeext conftest.
$ac_ext
14239 rm -f core conftest.err conftest.
$ac_objext \
14240 conftest
$ac_exeext conftest.
$ac_ext
14242 rm -f core conftest.err conftest.
$ac_objext \
14243 conftest
$ac_exeext conftest.
$ac_ext
14245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14246 $as_echo "$ac_cv_asm_func_def" >&6; }
14249 case "$ac_cv_asm_func_def" in
14251 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14253 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14255 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14257 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14259 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14261 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14263 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14265 asm_func_header
="" ;;
14268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14269 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14270 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14271 $as_echo_n "(cached) " >&6
14273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14274 /* end confdefs.h. */
14275 asm(".text\n\t.long 0");
14284 if ac_fn_c_try_compile
"$LINENO"; then :
14285 ac_cv_c_asm_outside_funcs
="yes"
14287 ac_cv_c_asm_outside_funcs
="no"
14289 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14292 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14295 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14296 if ${ac_cv_c_dot_previous+:} false
; then :
14297 $as_echo_n "(cached) " >&6
14299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14300 /* end confdefs.h. */
14305 asm(".text\nac_test:\t.long 0\n\t.previous");
14310 if ac_fn_c_try_link
"$LINENO"; then :
14311 ac_cv_c_dot_previous
="yes"
14313 ac_cv_c_dot_previous
="no"
14315 rm -f core conftest.err conftest.
$ac_objext \
14316 conftest
$ac_exeext conftest.
$ac_ext
14318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14319 $as_echo "$ac_cv_c_dot_previous" >&6; }
14321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14322 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14323 if ${ac_cv_c_cfi_support+:} false
; then :
14324 $as_echo_n "(cached) " >&6
14326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14327 /* end confdefs.h. */
14328 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14337 if ac_fn_c_try_compile
"$LINENO"; then :
14338 ac_cv_c_cfi_support
="yes"
14340 ac_cv_c_cfi_support
="no"
14342 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14345 $as_echo "$ac_cv_c_cfi_support" >&6; }
14347 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14348 asm_func_trailer
=""
14349 if test "$ac_cv_c_dot_previous" = "yes"
14351 asm_func_trailer
="\\n\\t.previous"
14353 if test "$ac_cv_c_cfi_support" = "yes"
14355 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14356 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14358 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14360 UNWINDFLAGS
=-fasynchronous-unwind-tables
14363 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14367 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14370 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14372 cat >>confdefs.h
<<_ACEOF
14373 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14377 cat >>confdefs.h
<<_ACEOF
14378 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14383 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14386 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14391 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14398 *i
[3456789]86*|x86_64
*)
14399 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14400 loader_programs
="$loader_programs $wine_binary-preloader"
14401 as_fn_append LOADER_RULES
"
14402 $wine_binary-preloader: preloader.o
14403 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14405 install install-lib:: $wine_binary-preloader
14406 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14409 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14411 preloader_EXTRADEFS = $BUILTINFLAG
14416 as_fn_append LOADER_RULES
"
14417 PROGRAMS = $loader_programs
14421 ac_save_CFLAGS
="$CFLAGS"
14422 CFLAGS
="$CFLAGS $BUILTINFLAG"
14499 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14500 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14501 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14502 cat >>confdefs.h
<<_ACEOF
14503 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14509 CFLAGS
="$ac_save_CFLAGS"
14511 if test "$ac_cv_func_dlopen" = no
14513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14514 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14515 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14516 $as_echo_n "(cached) " >&6
14518 ac_check_lib_save_LIBS
=$LIBS
14520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14521 /* end confdefs.h. */
14523 /* Override any GCC internal prototype to avoid an error.
14524 Use char because int might match the return type of a GCC
14525 builtin and then its argument prototype would still apply. */
14538 if ac_fn_c_try_link
"$LINENO"; then :
14539 ac_cv_lib_dl_dlopen
=yes
14541 ac_cv_lib_dl_dlopen
=no
14543 rm -f core conftest.err conftest.
$ac_objext \
14544 conftest
$ac_exeext conftest.
$ac_ext
14545 LIBS
=$ac_check_lib_save_LIBS
14547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14548 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14549 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14550 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14556 ac_wine_check_funcs_save_LIBS
="$LIBS"
14557 LIBS
="$LIBS $DL_LIBS"
14558 for ac_func
in dladdr
14560 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14561 if test "x$ac_cv_func_dladdr" = xyes
; then :
14562 cat >>confdefs.h
<<_ACEOF
14563 #define HAVE_DLADDR 1
14569 LIBS
="$ac_wine_check_funcs_save_LIBS"
14571 if test "$ac_cv_func_poll" = no
14573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14574 $as_echo_n "checking for poll in -lpoll... " >&6; }
14575 if ${ac_cv_lib_poll_poll+:} false
; then :
14576 $as_echo_n "(cached) " >&6
14578 ac_check_lib_save_LIBS
=$LIBS
14579 LIBS
="-lpoll $LIBS"
14580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14581 /* end confdefs.h. */
14583 /* Override any GCC internal prototype to avoid an error.
14584 Use char because int might match the return type of a GCC
14585 builtin and then its argument prototype would still apply. */
14598 if ac_fn_c_try_link
"$LINENO"; then :
14599 ac_cv_lib_poll_poll
=yes
14601 ac_cv_lib_poll_poll
=no
14603 rm -f core conftest.err conftest.
$ac_objext \
14604 conftest
$ac_exeext conftest.
$ac_ext
14605 LIBS
=$ac_check_lib_save_LIBS
14607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14608 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14609 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14610 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14618 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14619 if ${ac_cv_search_gethostbyname+:} false
; then :
14620 $as_echo_n "(cached) " >&6
14622 ac_func_search_save_LIBS
=$LIBS
14623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14624 /* end confdefs.h. */
14626 /* Override any GCC internal prototype to avoid an error.
14627 Use char because int might match the return type of a GCC
14628 builtin and then its argument prototype would still apply. */
14632 char gethostbyname ();
14636 return gethostbyname ();
14641 for ac_lib
in '' nsl
; do
14642 if test -z "$ac_lib"; then
14643 ac_res
="none required"
14646 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14648 if ac_fn_c_try_link
"$LINENO"; then :
14649 ac_cv_search_gethostbyname
=$ac_res
14651 rm -f core conftest.err conftest.
$ac_objext \
14653 if ${ac_cv_search_gethostbyname+:} false
; then :
14657 if ${ac_cv_search_gethostbyname+:} false
; then :
14660 ac_cv_search_gethostbyname
=no
14662 rm conftest.
$ac_ext
14663 LIBS
=$ac_func_search_save_LIBS
14665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14666 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14667 ac_res
=$ac_cv_search_gethostbyname
14668 if test "$ac_res" != no
; then :
14669 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14675 $as_echo_n "checking for library containing connect... " >&6; }
14676 if ${ac_cv_search_connect+:} false
; then :
14677 $as_echo_n "(cached) " >&6
14679 ac_func_search_save_LIBS
=$LIBS
14680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14681 /* end confdefs.h. */
14683 /* Override any GCC internal prototype to avoid an error.
14684 Use char because int might match the return type of a GCC
14685 builtin and then its argument prototype would still apply. */
14698 for ac_lib
in '' socket
; do
14699 if test -z "$ac_lib"; then
14700 ac_res
="none required"
14703 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14705 if ac_fn_c_try_link
"$LINENO"; then :
14706 ac_cv_search_connect
=$ac_res
14708 rm -f core conftest.err conftest.
$ac_objext \
14710 if ${ac_cv_search_connect+:} false
; then :
14714 if ${ac_cv_search_connect+:} false
; then :
14717 ac_cv_search_connect
=no
14719 rm conftest.
$ac_ext
14720 LIBS
=$ac_func_search_save_LIBS
14722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14723 $as_echo "$ac_cv_search_connect" >&6; }
14724 ac_res
=$ac_cv_search_connect
14725 if test "$ac_res" != no
; then :
14726 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14732 $as_echo_n "checking for library containing inet_aton... " >&6; }
14733 if ${ac_cv_search_inet_aton+:} false
; then :
14734 $as_echo_n "(cached) " >&6
14736 ac_func_search_save_LIBS
=$LIBS
14737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14738 /* end confdefs.h. */
14740 /* Override any GCC internal prototype to avoid an error.
14741 Use char because int might match the return type of a GCC
14742 builtin and then its argument prototype would still apply. */
14750 return inet_aton ();
14755 for ac_lib
in '' resolv
; do
14756 if test -z "$ac_lib"; then
14757 ac_res
="none required"
14760 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14762 if ac_fn_c_try_link
"$LINENO"; then :
14763 ac_cv_search_inet_aton
=$ac_res
14765 rm -f core conftest.err conftest.
$ac_objext \
14767 if ${ac_cv_search_inet_aton+:} false
; then :
14771 if ${ac_cv_search_inet_aton+:} false
; then :
14774 ac_cv_search_inet_aton
=no
14776 rm conftest.
$ac_ext
14777 LIBS
=$ac_func_search_save_LIBS
14779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14780 $as_echo "$ac_cv_search_inet_aton" >&6; }
14781 ac_res
=$ac_cv_search_inet_aton
14782 if test "$ac_res" != no
; then :
14783 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14803 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14804 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14805 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14806 cat >>confdefs.h
<<_ACEOF
14807 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14816 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14817 if ${ac_cv_search_clock_gettime+:} false
; then :
14818 $as_echo_n "(cached) " >&6
14820 ac_func_search_save_LIBS
=$LIBS
14821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14822 /* end confdefs.h. */
14824 /* Override any GCC internal prototype to avoid an error.
14825 Use char because int might match the return type of a GCC
14826 builtin and then its argument prototype would still apply. */
14830 char clock_gettime ();
14834 return clock_gettime ();
14839 for ac_lib
in '' rt
; do
14840 if test -z "$ac_lib"; then
14841 ac_res
="none required"
14844 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14846 if ac_fn_c_try_link
"$LINENO"; then :
14847 ac_cv_search_clock_gettime
=$ac_res
14849 rm -f core conftest.err conftest.
$ac_objext \
14851 if ${ac_cv_search_clock_gettime+:} false
; then :
14855 if ${ac_cv_search_clock_gettime+:} false
; then :
14858 ac_cv_search_clock_gettime
=no
14860 rm conftest.
$ac_ext
14861 LIBS
=$ac_func_search_save_LIBS
14863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14864 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14865 ac_res
=$ac_cv_search_clock_gettime
14866 if test "$ac_res" != no
; then :
14867 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14869 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14871 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
14879 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14881 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14883 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
14884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14885 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14886 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
14887 $as_echo_n "(cached) " >&6
14889 ac_check_lib_save_LIBS
=$LIBS
14890 LIBS
="-lldap_r $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. */
14900 char ldap_initialize ();
14904 return ldap_initialize ();
14909 if ac_fn_c_try_link
"$LINENO"; then :
14910 ac_cv_lib_ldap_r_ldap_initialize
=yes
14912 ac_cv_lib_ldap_r_ldap_initialize
=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_ldap_r_ldap_initialize" >&5
14919 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
14920 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
14921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
14922 $as_echo_n "checking for ber_init in -llber... " >&6; }
14923 if ${ac_cv_lib_lber_ber_init+:} false
; then :
14924 $as_echo_n "(cached) " >&6
14926 ac_check_lib_save_LIBS
=$LIBS
14927 LIBS
="-llber $PTHREAD_LIBS $LIBS"
14928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14929 /* end confdefs.h. */
14931 /* Override any GCC internal prototype to avoid an error.
14932 Use char because int might match the return type of a GCC
14933 builtin and then its argument prototype would still apply. */
14941 return ber_init ();
14946 if ac_fn_c_try_link
"$LINENO"; then :
14947 ac_cv_lib_lber_ber_init
=yes
14949 ac_cv_lib_lber_ber_init
=no
14951 rm -f core conftest.err conftest.
$ac_objext \
14952 conftest
$ac_exeext conftest.
$ac_ext
14953 LIBS
=$ac_check_lib_save_LIBS
14955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
14956 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
14957 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
14959 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
14961 LDAP_LIBS
="-lldap_r -llber"
14968 ac_wine_check_funcs_save_LIBS
="$LIBS"
14969 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
14971 ldap_count_references \
14972 ldap_first_reference \
14973 ldap_next_reference \
14974 ldap_parse_reference \
14975 ldap_parse_sort_control \
14976 ldap_parse_sortresponse_control \
14977 ldap_parse_vlv_control \
14978 ldap_parse_vlvresponse_control
14980 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14981 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14982 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14983 cat >>confdefs.h
<<_ACEOF
14984 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14990 LIBS
="$ac_wine_check_funcs_save_LIBS"
14992 if test "x$LDAP_LIBS" = "x"; then :
14993 case "x$with_ldap" in
14994 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
14996 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
14997 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15002 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15003 if ${wine_cv_one_arg_mkdir+:} false
; then :
15004 $as_echo_n "(cached) " >&6
15006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15007 /* end confdefs.h. */
15008 #include <sys/stat.h>
15017 if ac_fn_c_try_compile
"$LINENO"; then :
15018 wine_cv_one_arg_mkdir
=yes
15020 wine_cv_one_arg_mkdir
=no
15022 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15025 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15026 if test "$wine_cv_one_arg_mkdir" = "yes"
15029 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15034 $as_echo_n "checking for sched_setaffinity... " >&6; }
15035 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15036 $as_echo_n "(cached) " >&6
15038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15039 /* end confdefs.h. */
15040 #define _GNU_SOURCE
15045 sched_setaffinity(0, 0, 0);
15050 if ac_fn_c_try_link
"$LINENO"; then :
15051 wine_cv_have_sched_setaffinity
=yes
15053 wine_cv_have_sched_setaffinity
=no
15055 rm -f core conftest.err conftest.
$ac_objext \
15056 conftest
$ac_exeext conftest.
$ac_ext
15058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15059 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15060 if test "$wine_cv_have_sched_setaffinity" = "yes"
15063 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15068 $as_echo_n "checking for fallocate... " >&6; }
15069 if ${wine_cv_have_fallocate+:} false
; then :
15070 $as_echo_n "(cached) " >&6
15072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15073 /* end confdefs.h. */
15074 #define _GNU_SOURCE
15079 fallocate(-1, 0, 0, 0);
15084 if ac_fn_c_try_link
"$LINENO"; then :
15085 wine_cv_have_fallocate
=yes
15087 wine_cv_have_fallocate
=no
15089 rm -f core conftest.err conftest.
$ac_objext \
15090 conftest
$ac_exeext conftest.
$ac_ext
15092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15093 $as_echo "$wine_cv_have_fallocate" >&6; }
15094 if test "$wine_cv_have_fallocate" = "yes"
15097 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15103 $as_echo_n "checking for inline... " >&6; }
15104 if ${ac_cv_c_inline+:} false
; then :
15105 $as_echo_n "(cached) " >&6
15108 for ac_kw
in inline __inline__ __inline
; do
15109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15110 /* end confdefs.h. */
15111 #ifndef __cplusplus
15113 static $ac_kw foo_t static_foo () {return 0; }
15114 $ac_kw foo_t foo () {return 0; }
15118 if ac_fn_c_try_compile
"$LINENO"; then :
15119 ac_cv_c_inline
=$ac_kw
15121 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15122 test "$ac_cv_c_inline" != no
&& break
15126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15127 $as_echo "$ac_cv_c_inline" >&6; }
15129 case $ac_cv_c_inline in
15132 case $ac_cv_c_inline in
15134 *) ac_val
=$ac_cv_c_inline;;
15136 cat >>confdefs.h
<<_ACEOF
15137 #ifndef __cplusplus
15138 #define inline $ac_val
15144 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15145 if test "x$ac_cv_type_mode_t" = xyes
; then :
15147 cat >>confdefs.h
<<_ACEOF
15148 #define HAVE_MODE_T 1
15153 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15154 if test "x$ac_cv_type_off_t" = xyes
; then :
15156 cat >>confdefs.h
<<_ACEOF
15157 #define HAVE_OFF_T 1
15162 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15163 if test "x$ac_cv_type_pid_t" = xyes
; then :
15165 cat >>confdefs.h
<<_ACEOF
15166 #define HAVE_PID_T 1
15171 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15172 if test "x$ac_cv_type_size_t" = xyes
; then :
15174 cat >>confdefs.h
<<_ACEOF
15175 #define HAVE_SIZE_T 1
15180 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15181 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15183 cat >>confdefs.h
<<_ACEOF
15184 #define HAVE_SSIZE_T 1
15189 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15190 if test "x$ac_cv_type_long_long" = xyes
; then :
15192 cat >>confdefs.h
<<_ACEOF
15193 #define HAVE_LONG_LONG 1
15198 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15199 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15201 cat >>confdefs.h
<<_ACEOF
15202 #define HAVE_FSBLKCNT_T 1
15207 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15208 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15210 cat >>confdefs.h
<<_ACEOF
15211 #define HAVE_FSFILCNT_T 1
15217 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15218 #include <signal.h>
15220 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15222 cat >>confdefs.h
<<_ACEOF
15223 #define HAVE_SIGSET_T 1
15229 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15231 if test "x$ac_cv_type_request_sense" = xyes
; then :
15233 cat >>confdefs.h
<<_ACEOF
15234 #define HAVE_REQUEST_SENSE 1
15241 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15242 #ifdef HAVE_SYS_SOCKET_H
15243 #include <sys/socket.h>
15245 #ifdef HAVE_SYS_SOCKETVAR_H
15246 #include <sys/socketvar.h>
15248 #ifdef HAVE_NET_ROUTE_H
15249 #include <net/route.h>
15251 #ifdef HAVE_NETINET_IN_H
15252 #include <netinet/in.h>
15254 #ifdef HAVE_NETINET_IN_SYSTM_H
15255 #include <netinet/in_systm.h>
15257 #ifdef HAVE_NETINET_IP_H
15258 #include <netinet/ip.h>
15260 #ifdef HAVE_NETINET_IN_PCB_H
15261 #include <netinet/in_pcb.h>
15264 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15266 cat >>confdefs.h
<<_ACEOF
15267 #define HAVE_STRUCT_XINPGEN 1
15274 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15277 #ifdef HAVE_SYS_LINK_H
15278 #include <sys/link.h>
15281 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15283 cat >>confdefs.h
<<_ACEOF
15284 #define HAVE_STRUCT_R_DEBUG 1
15289 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15292 #ifdef HAVE_SYS_LINK_H
15293 #include <sys/link.h>
15296 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15298 cat >>confdefs.h
<<_ACEOF
15299 #define HAVE_STRUCT_LINK_MAP 1
15306 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15307 #include <linux/input.h>
15310 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15312 cat >>confdefs.h
<<_ACEOF
15313 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15321 $as_echo_n "checking for sigaddset... " >&6; }
15322 if ${wine_cv_have_sigaddset+:} false
; then :
15323 $as_echo_n "(cached) " >&6
15325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15326 /* end confdefs.h. */
15327 #include <signal.h>
15331 sigset_t set; sigaddset(&set,SIGTERM);
15336 if ac_fn_c_try_link
"$LINENO"; then :
15337 wine_cv_have_sigaddset
=yes
15339 wine_cv_have_sigaddset
=no
15341 rm -f core conftest.err conftest.
$ac_objext \
15342 conftest
$ac_exeext conftest.
$ac_ext
15344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15345 $as_echo "$wine_cv_have_sigaddset" >&6; }
15346 if test "$wine_cv_have_sigaddset" = "yes"
15349 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15355 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15356 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15357 $as_echo_n "(cached) " >&6
15359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15360 /* end confdefs.h. */
15368 struct hostent *result;
15375 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15376 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15382 if ac_fn_c_try_link
"$LINENO"; then :
15383 wine_cv_linux_gethostbyname_r_6
=yes
15385 wine_cv_linux_gethostbyname_r_6
=no
15388 rm -f core conftest.err conftest.
$ac_objext \
15389 conftest
$ac_exeext conftest.
$ac_ext
15392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15393 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15394 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15397 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15401 if test "$ac_cv_header_linux_joystick_h" = "yes"
15403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15404 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15405 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15406 $as_echo_n "(cached) " >&6
15408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15409 /* end confdefs.h. */
15411 #include <sys/ioctl.h>
15412 #include <sys/types.h>
15413 #include <linux/joystick.h>
15415 struct js_event blub;
15416 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15417 #error "no 2.2 header"
15428 if ac_fn_c_try_compile
"$LINENO"; then :
15429 wine_cv_linux_joystick_22_api
=yes
15431 wine_cv_linux_joystick_22_api
=no
15433 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15437 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15438 if test "$wine_cv_linux_joystick_22_api" = "yes"
15441 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15447 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15448 #ifdef HAVE_SYS_PARAM_H
15449 # include <sys/param.h>
15451 #ifdef HAVE_SYS_MOUNT_H
15452 # include <sys/mount.h>
15454 #ifdef HAVE_SYS_VFS_H
15455 # include <sys/vfs.h>
15457 #ifdef HAVE_SYS_STATFS_H
15458 # include <sys/statfs.h>
15461 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15463 cat >>confdefs.h
<<_ACEOF
15464 #define HAVE_STRUCT_STATFS_F_BFREE 1
15469 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15470 #ifdef HAVE_SYS_PARAM_H
15471 # include <sys/param.h>
15473 #ifdef HAVE_SYS_MOUNT_H
15474 # include <sys/mount.h>
15476 #ifdef HAVE_SYS_VFS_H
15477 # include <sys/vfs.h>
15479 #ifdef HAVE_SYS_STATFS_H
15480 # include <sys/statfs.h>
15483 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15485 cat >>confdefs.h
<<_ACEOF
15486 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15491 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15492 #ifdef HAVE_SYS_PARAM_H
15493 # include <sys/param.h>
15495 #ifdef HAVE_SYS_MOUNT_H
15496 # include <sys/mount.h>
15498 #ifdef HAVE_SYS_VFS_H
15499 # include <sys/vfs.h>
15501 #ifdef HAVE_SYS_STATFS_H
15502 # include <sys/statfs.h>
15505 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15507 cat >>confdefs.h
<<_ACEOF
15508 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15513 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15514 #ifdef HAVE_SYS_PARAM_H
15515 # include <sys/param.h>
15517 #ifdef HAVE_SYS_MOUNT_H
15518 # include <sys/mount.h>
15520 #ifdef HAVE_SYS_VFS_H
15521 # include <sys/vfs.h>
15523 #ifdef HAVE_SYS_STATFS_H
15524 # include <sys/statfs.h>
15527 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15529 cat >>confdefs.h
<<_ACEOF
15530 #define HAVE_STRUCT_STATFS_F_FFREE 1
15535 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15536 #ifdef HAVE_SYS_PARAM_H
15537 # include <sys/param.h>
15539 #ifdef HAVE_SYS_MOUNT_H
15540 # include <sys/mount.h>
15542 #ifdef HAVE_SYS_VFS_H
15543 # include <sys/vfs.h>
15545 #ifdef HAVE_SYS_STATFS_H
15546 # include <sys/statfs.h>
15549 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15551 cat >>confdefs.h
<<_ACEOF
15552 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15557 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15558 #ifdef HAVE_SYS_PARAM_H
15559 # include <sys/param.h>
15561 #ifdef HAVE_SYS_MOUNT_H
15562 # include <sys/mount.h>
15564 #ifdef HAVE_SYS_VFS_H
15565 # include <sys/vfs.h>
15567 #ifdef HAVE_SYS_STATFS_H
15568 # include <sys/statfs.h>
15571 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15573 cat >>confdefs.h
<<_ACEOF
15574 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15581 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15582 #include <sys/statvfs.h>
15585 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15587 cat >>confdefs.h
<<_ACEOF
15588 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15595 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15596 #include <dirent.h>
15599 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15601 cat >>confdefs.h
<<_ACEOF
15602 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15609 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15610 #ifdef HAVE_SYS_SOCKET_H
15611 # include <sys/socket.h>
15613 #ifdef HAVE_SYS_UN_H
15614 # include <sys/un.h>
15617 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15619 cat >>confdefs.h
<<_ACEOF
15620 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15625 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15626 #ifdef HAVE_SYS_SOCKET_H
15627 # include <sys/socket.h>
15629 #ifdef HAVE_SYS_UN_H
15630 # include <sys/un.h>
15633 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15635 cat >>confdefs.h
<<_ACEOF
15636 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15641 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15642 #ifdef HAVE_SYS_SOCKET_H
15643 # include <sys/socket.h>
15645 #ifdef HAVE_SYS_UN_H
15646 # include <sys/un.h>
15649 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15651 cat >>confdefs.h
<<_ACEOF
15652 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15659 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15660 #ifdef HAVE_SCSI_SG_H
15661 #include <scsi/sg.h>
15664 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15666 cat >>confdefs.h
<<_ACEOF
15667 #define HAVE_SCSIREQ_T_CMD 1
15672 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>
15673 #ifdef HAVE_SCSI_SG_H
15674 #include <scsi/sg.h>
15677 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15679 cat >>confdefs.h
<<_ACEOF
15680 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15687 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15689 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15691 cat >>confdefs.h
<<_ACEOF
15692 #define HAVE_SIGINFO_T_SI_FD 1
15699 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15700 #ifdef HAVE_SYS_MTIO_H
15701 #include <sys/mtio.h>
15704 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15706 cat >>confdefs.h
<<_ACEOF
15707 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15712 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15713 #ifdef HAVE_SYS_MTIO_H
15714 #include <sys/mtio.h>
15717 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
15719 cat >>confdefs.h
<<_ACEOF
15720 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15725 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15726 #ifdef HAVE_SYS_MTIO_H
15727 #include <sys/mtio.h>
15730 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
15732 cat >>confdefs.h
<<_ACEOF
15733 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15740 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15741 #include <getopt.h>
15744 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
15746 cat >>confdefs.h
<<_ACEOF
15747 #define HAVE_STRUCT_OPTION_NAME 1
15754 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15755 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
15757 cat >>confdefs.h
<<_ACEOF
15758 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15763 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15764 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
15766 cat >>confdefs.h
<<_ACEOF
15767 #define HAVE_STRUCT_STAT_ST_MTIM 1
15772 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15773 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
15775 cat >>confdefs.h
<<_ACEOF
15776 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15781 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15782 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
15784 cat >>confdefs.h
<<_ACEOF
15785 #define HAVE_STRUCT_STAT_ST_CTIM 1
15790 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15791 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
15793 cat >>confdefs.h
<<_ACEOF
15794 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15799 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15800 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
15802 cat >>confdefs.h
<<_ACEOF
15803 #define HAVE_STRUCT_STAT_ST_ATIM 1
15808 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15809 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
15811 cat >>confdefs.h
<<_ACEOF
15812 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15817 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15818 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
15820 cat >>confdefs.h
<<_ACEOF
15821 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15826 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15827 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
15829 cat >>confdefs.h
<<_ACEOF
15830 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15835 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15836 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
15838 cat >>confdefs.h
<<_ACEOF
15839 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15844 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15845 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
15847 cat >>confdefs.h
<<_ACEOF
15848 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15853 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15854 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
15856 cat >>confdefs.h
<<_ACEOF
15857 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15864 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
15865 #include <sys/types.h>
15867 #ifdef HAVE_NETINET_IN_H
15868 #include <netinet/in.h>
15871 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
15873 cat >>confdefs.h
<<_ACEOF
15874 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15881 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15882 #include <resolv.h>
15885 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
15887 cat >>confdefs.h
<<_ACEOF
15888 #define HAVE_STRUCT___RES_STATE 1
15895 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
15896 #include <resolv.h>
15899 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
15901 cat >>confdefs.h
<<_ACEOF
15902 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
15909 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
15910 #include <sys/types.h>
15912 #ifdef HAVE_NETINET_IN_H
15913 # include <netinet/in.h>
15915 #ifdef HAVE_ARPA_NAMESER_H
15916 # include <arpa/nameser.h>
15919 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
15921 cat >>confdefs.h
<<_ACEOF
15922 #define HAVE_NS_MSG__MSG_PTR 1
15929 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
15930 #include <sys/types.h>
15932 #ifdef HAVE_NETINET_IP_H
15933 #include <netinet/ip.h>
15935 #ifdef HAVE_NETINET_IP_ICMP_H
15936 #include <netinet/ip_icmp.h>
15938 #ifdef HAVE_NETINET_ICMP_VAR_H
15939 #include <netinet/icmp_var.h>
15942 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
15944 cat >>confdefs.h
<<_ACEOF
15945 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
15952 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
15953 #include <sys/types.h>
15955 #ifdef HAVE_ALIAS_H
15958 #ifdef HAVE_SYS_SOCKET_H
15959 #include <sys/socket.h>
15961 #ifdef HAVE_SYS_SOCKETVAR_H
15962 #include <sys/socketvar.h>
15964 #ifdef HAVE_SYS_TIMEOUT_H
15965 #include <sys/timeout.h>
15967 #ifdef HAVE_NETINET_IN_H
15968 #include <netinet/in.h>
15970 #ifdef HAVE_NETINET_IN_SYSTM_H
15971 #include <netinet/in_systm.h>
15973 #ifdef HAVE_NETINET_IP_H
15974 #include <netinet/ip.h>
15976 #ifdef HAVE_NETINET_IP_VAR_H
15977 #include <netinet/ip_var.h>
15979 #ifdef HAVE_NETINET_IP_ICMP_H
15980 #include <netinet/ip_icmp.h>
15982 #ifdef HAVE_NETINET_ICMP_VAR_H
15983 #include <netinet/icmp_var.h>
15986 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
15988 cat >>confdefs.h
<<_ACEOF
15989 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
15996 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#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_IP_VAR_H
16006 #include <netinet/ip_var.h>
16009 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16011 cat >>confdefs.h
<<_ACEOF
16012 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16019 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
16020 #include <netinet/ip_var.h>
16023 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16025 cat >>confdefs.h
<<_ACEOF
16026 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16033 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16034 #include <sys/types.h>
16036 #ifdef HAVE_SYS_SOCKETVAR_H
16037 #include <sys/socketvar.h>
16039 #ifdef HAVE_NETINET_IN_H
16040 #include <netinet/in.h>
16042 #ifdef HAVE_NETINET_TCP_H
16043 #include <netinet/tcp.h>
16045 #ifdef HAVE_NETINET_TCP_VAR_H
16046 #include <netinet/tcp_var.h>
16049 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16051 cat >>confdefs.h
<<_ACEOF
16052 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16059 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
16060 #include <netinet/tcp_var.h>
16063 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16065 cat >>confdefs.h
<<_ACEOF
16066 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16073 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16074 #include <sys/types.h>
16076 #ifdef HAVE_NETINET_IN_H
16077 #include <netinet/in.h>
16079 #ifdef HAVE_NETINET_IP_VAR_H
16080 #include <netinet/ip_var.h>
16082 #ifdef HAVE_NETINET_UDP_H
16083 #include <netinet/udp.h>
16085 #ifdef HAVE_NETINET_UDP_VAR_H
16086 #include <netinet/udp_var.h>
16089 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16091 cat >>confdefs.h
<<_ACEOF
16092 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16099 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16100 #include <sys/types.h>
16102 #ifdef HAVE_NET_IF_H
16103 # include <net/if.h>
16106 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16108 cat >>confdefs.h
<<_ACEOF
16109 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16117 $as_echo_n "checking for timezone variable... " >&6; }
16118 if ${ac_cv_have_timezone+:} false
; then :
16119 $as_echo_n "(cached) " >&6
16121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16122 /* end confdefs.h. */
16132 if ac_fn_c_try_link
"$LINENO"; then :
16133 ac_cv_have_timezone
="yes"
16135 ac_cv_have_timezone
="no"
16137 rm -f core conftest.err conftest.
$ac_objext \
16138 conftest
$ac_exeext conftest.
$ac_ext
16140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16141 $as_echo "$ac_cv_have_timezone" >&6; }
16142 if test "$ac_cv_have_timezone" = "yes"
16145 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16149 $as_echo_n "checking for daylight variable... " >&6; }
16150 if ${ac_cv_have_daylight+:} false
; then :
16151 $as_echo_n "(cached) " >&6
16153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16154 /* end confdefs.h. */
16164 if ac_fn_c_try_link
"$LINENO"; then :
16165 ac_cv_have_daylight
="yes"
16167 ac_cv_have_daylight
="no"
16169 rm -f core conftest.err conftest.
$ac_objext \
16170 conftest
$ac_exeext conftest.
$ac_ext
16172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16173 $as_echo "$ac_cv_have_daylight" >&6; }
16174 if test "$ac_cv_have_daylight" = "yes"
16177 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16181 ac_save_LIBS
="$LIBS"
16183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16184 $as_echo_n "checking for isfinite... " >&6; }
16185 if ${ac_cv_have_isfinite+:} false
; then :
16186 $as_echo_n "(cached) " >&6
16188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16189 /* end confdefs.h. */
16190 #define _GNU_SOURCE
16195 float f = 0.0; return isfinite(f)
16200 if ac_fn_c_try_link
"$LINENO"; then :
16201 ac_cv_have_isfinite
="yes"
16203 ac_cv_have_isfinite
="no"
16205 rm -f core conftest.err conftest.
$ac_objext \
16206 conftest
$ac_exeext conftest.
$ac_ext
16208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16209 $as_echo "$ac_cv_have_isfinite" >&6; }
16210 if test "$ac_cv_have_isfinite" = "yes"
16213 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16217 ac_save_LIBS
="$LIBS"
16219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16220 $as_echo_n "checking for isinf... " >&6; }
16221 if ${ac_cv_have_isinf+:} false
; then :
16222 $as_echo_n "(cached) " >&6
16224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16225 /* end confdefs.h. */
16230 float f = 0.0; return isinf(f)
16235 if ac_fn_c_try_link
"$LINENO"; then :
16236 ac_cv_have_isinf
="yes"
16238 ac_cv_have_isinf
="no"
16240 rm -f core conftest.err conftest.
$ac_objext \
16241 conftest
$ac_exeext conftest.
$ac_ext
16243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16244 $as_echo "$ac_cv_have_isinf" >&6; }
16245 if test "$ac_cv_have_isinf" = "yes"
16248 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16253 $as_echo_n "checking for isnan... " >&6; }
16254 if ${ac_cv_have_isnan+:} false
; then :
16255 $as_echo_n "(cached) " >&6
16257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16258 /* end confdefs.h. */
16263 float f = 0.0; return isnan(f)
16268 if ac_fn_c_try_link
"$LINENO"; then :
16269 ac_cv_have_isnan
="yes"
16271 ac_cv_have_isnan
="no"
16273 rm -f core conftest.err conftest.
$ac_objext \
16274 conftest
$ac_exeext conftest.
$ac_ext
16276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16277 $as_echo "$ac_cv_have_isnan" >&6; }
16278 if test "$ac_cv_have_isnan" = "yes"
16281 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16284 LIBS
="$ac_save_LIBS"
16288 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16289 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16290 if ${ac_cv_cpp_def___i386__+:} false
; then :
16291 $as_echo_n "(cached) " >&6
16293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16294 /* end confdefs.h. */
16299 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16300 $EGREP "yes" >/dev
/null
2>&1; then :
16301 ac_cv_cpp_def___i386__
=yes
16303 ac_cv_cpp_def___i386__
=no
16308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16309 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16310 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16311 CFLAGS
="$CFLAGS -D__i386__"
16312 LINTFLAGS
="$LINTFLAGS -D__i386__"
16314 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16315 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16316 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16317 $as_echo_n "(cached) " >&6
16319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16320 /* end confdefs.h. */
16325 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16326 $EGREP "yes" >/dev
/null
2>&1; then :
16327 ac_cv_cpp_def___x86_64__
=yes
16329 ac_cv_cpp_def___x86_64__
=no
16334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16335 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16336 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16337 CFLAGS
="$CFLAGS -D__x86_64__"
16338 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16340 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16341 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16342 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16343 $as_echo_n "(cached) " >&6
16345 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16346 /* end confdefs.h. */
16347 #ifndef __sparc64__
16351 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16352 $EGREP "yes" >/dev
/null
2>&1; then :
16353 ac_cv_cpp_def___sparc64__
=yes
16355 ac_cv_cpp_def___sparc64__
=no
16360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16361 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16362 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16363 CFLAGS
="$CFLAGS -D__sparc64__"
16364 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16366 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16367 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16368 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16369 $as_echo_n "(cached) " >&6
16371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16372 /* end confdefs.h. */
16377 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16378 $EGREP "yes" >/dev
/null
2>&1; then :
16379 ac_cv_cpp_def___sparc__
=yes
16381 ac_cv_cpp_def___sparc__
=no
16386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16387 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16388 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16389 CFLAGS
="$CFLAGS -D__sparc__"
16390 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16392 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16393 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16394 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16395 $as_echo_n "(cached) " >&6
16397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16398 /* end confdefs.h. */
16399 #ifndef __powerpc64__
16403 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16404 $EGREP "yes" >/dev
/null
2>&1; then :
16405 ac_cv_cpp_def___powerpc64__
=yes
16407 ac_cv_cpp_def___powerpc64__
=no
16412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16413 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16414 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
16415 CFLAGS
="$CFLAGS -D__powerpc64__"
16416 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16418 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16419 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16420 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16421 $as_echo_n "(cached) " >&6
16423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16424 /* end confdefs.h. */
16425 #ifndef __powerpc__
16429 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16430 $EGREP "yes" >/dev
/null
2>&1; then :
16431 ac_cv_cpp_def___powerpc__
=yes
16433 ac_cv_cpp_def___powerpc__
=no
16438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16439 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16440 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
16441 CFLAGS
="$CFLAGS -D__powerpc__"
16442 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16444 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16445 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16446 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16447 $as_echo_n "(cached) " >&6
16449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16450 /* end confdefs.h. */
16451 #ifndef __aarch64__
16455 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16456 $EGREP "yes" >/dev
/null
2>&1; then :
16457 ac_cv_cpp_def___aarch64__
=yes
16459 ac_cv_cpp_def___aarch64__
=no
16464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16465 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16466 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
16467 CFLAGS
="$CFLAGS -D__aarch64__"
16468 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16470 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16471 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16472 if ${ac_cv_cpp_def___arm__+:} false
; then :
16473 $as_echo_n "(cached) " >&6
16475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16476 /* end confdefs.h. */
16481 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16482 $EGREP "yes" >/dev
/null
2>&1; then :
16483 ac_cv_cpp_def___arm__
=yes
16485 ac_cv_cpp_def___arm__
=no
16490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16491 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16492 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
16493 CFLAGS
="$CFLAGS -D__arm__"
16494 LINTFLAGS
="$LINTFLAGS -D__arm__"
16498 case $host_vendor in
16499 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16500 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16501 if ${ac_cv_cpp_def___sun__+:} false
; then :
16502 $as_echo_n "(cached) " >&6
16504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16505 /* end confdefs.h. */
16510 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16511 $EGREP "yes" >/dev
/null
2>&1; then :
16512 ac_cv_cpp_def___sun__
=yes
16514 ac_cv_cpp_def___sun__
=no
16519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16520 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16521 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
16522 CFLAGS
="$CFLAGS -D__sun__"
16523 LINTFLAGS
="$LINTFLAGS -D__sun__"
16531 ac_config_commands
="$ac_config_commands include/stamp-h"
16533 $as_echo_n "creating Makefile rules..." >&6
16535 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
16536 SOCKET_LIBS = $SOCKET_LIBS
16537 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16538 IOKIT_LIBS = $IOKIT_LIBS
16539 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16540 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16541 CORESERVICES_LIBS = $CORESERVICES_LIBS
16542 APPKIT_LIBS = $APPKIT_LIBS
16543 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16544 SECURITY_LIBS = $SECURITY_LIBS
16545 COREAUDIO_LIBS = $COREAUDIO_LIBS
16546 OPENAL_LIBS = $OPENAL_LIBS
16547 OPENCL_LIBS = $OPENCL_LIBS
16548 QUICKTIME_LIBS = $QUICKTIME_LIBS
16549 CARBON_LIBS = $CARBON_LIBS
16550 PTHREAD_LIBS = $PTHREAD_LIBS
16551 X_CFLAGS = $X_CFLAGS
16552 X_PRE_LIBS = $X_PRE_LIBS
16554 X_EXTRA_LIBS = $X_EXTRA_LIBS
16555 XML2_CFLAGS = $XML2_CFLAGS
16556 XML2_LIBS = $XML2_LIBS
16557 XSLT_CFLAGS = $XSLT_CFLAGS
16558 XSLT_LIBS = $XSLT_LIBS
16559 DBUS_CFLAGS = $DBUS_CFLAGS
16560 DBUS_LIBS = $DBUS_LIBS
16561 HAL_CFLAGS = $HAL_CFLAGS
16562 HAL_LIBS = $HAL_LIBS
16563 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16564 GNUTLS_LIBS = $GNUTLS_LIBS
16565 SANE_CFLAGS = $SANE_CFLAGS
16566 SANE_LIBS = $SANE_LIBS
16567 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16568 GPHOTO2_LIBS = $GPHOTO2_LIBS
16569 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16570 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16571 RESOLV_LIBS = $RESOLV_LIBS
16572 LCMS2_CFLAGS = $LCMS2_CFLAGS
16573 LCMS2_LIBS = $LCMS2_LIBS
16574 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16575 FREETYPE_LIBS = $FREETYPE_LIBS
16577 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16578 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16579 GSTREAMER_LIBS = $GSTREAMER_LIBS
16580 ALSA_LIBS = $ALSA_LIBS
16581 OSS4_CFLAGS = $OSS4_CFLAGS
16582 CAPI20_CFLAGS = $CAPI20_CFLAGS
16583 CAPI20_LIBS = $CAPI20_LIBS
16584 CUPS_CFLAGS = $CUPS_CFLAGS
16585 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16586 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16587 JPEG_CFLAGS = $JPEG_CFLAGS
16588 JPEG_LIBS = $JPEG_LIBS
16589 PNG_CFLAGS = $PNG_CFLAGS
16590 PNG_LIBS = $PNG_LIBS
16591 TIFF_CFLAGS = $TIFF_CFLAGS
16592 TIFF_LIBS = $TIFF_LIBS
16593 MPG123_CFLAGS = $MPG123_CFLAGS
16594 MPG123_LIBS = $MPG123_LIBS
16595 KSTAT_LIBS = $KSTAT_LIBS
16596 PROCSTAT_LIBS = $PROCSTAT_LIBS
16598 POLL_LIBS = $POLL_LIBS
16600 LDAP_LIBS = $LDAP_LIBS
16605 wine_fn_append_rule
"
16606 # Rules automatically generated by configure
16608 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16613 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16614 @./config.status Make.tmp Makefile"
16616 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
16617 .gitignore: config.status
16618 @./config.status .gitignore"
16620 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
16621 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16623 if test "x$enable_fonts" != xno
; then
16624 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16625 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16626 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16627 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16628 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16630 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16631 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
16632 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16633 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16634 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16635 wine_fn_config_symlink wine
16636 if test "x$enable_win64" != xno
; then
16637 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16638 wine_fn_config_symlink wine64
16641 wine_fn_config_dll acledit enable_acledit
16642 wine_fn_config_dll aclui enable_aclui implib
16643 wine_fn_config_dll activeds enable_activeds implib
16644 wine_fn_config_dll actxprxy enable_actxprxy clean
16645 wine_fn_config_lib adsiid
16646 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
16647 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
16648 wine_fn_config_dll advpack enable_advpack implib
16649 wine_fn_config_test dlls
/advpack
/tests advpack_test
16650 wine_fn_config_dll amstream enable_amstream clean
16651 wine_fn_config_test dlls
/amstream
/tests amstream_test
16652 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16653 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16654 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16655 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16656 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16657 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16658 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16659 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16660 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16661 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16662 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16663 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16664 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16665 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16666 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16667 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16668 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16669 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16670 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16671 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16672 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16673 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16674 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16675 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16676 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16677 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16678 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16679 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16680 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16681 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16682 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16683 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16684 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16685 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16686 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16687 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16688 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16689 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16690 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16691 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16692 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16693 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16694 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16695 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16696 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16697 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16698 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16699 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16700 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16701 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16702 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16703 wine_fn_config_dll apphelp enable_apphelp
16704 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
16705 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16706 wine_fn_config_dll atl enable_atl clean
,implib
16707 wine_fn_config_test dlls
/atl
/tests atl_test
16708 wine_fn_config_dll atl100 enable_atl100 implib
16709 wine_fn_config_test dlls
/atl100
/tests atl100_test
16710 wine_fn_config_dll atl110 enable_atl110
16711 wine_fn_config_dll atl80 enable_atl80 implib
16712 wine_fn_config_test dlls
/atl80
/tests atl80_test
16713 wine_fn_config_dll atl90 enable_atl90
16714 wine_fn_config_dll authz enable_authz
16715 wine_fn_config_dll avicap32 enable_avicap32 implib
16716 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
16717 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
16718 wine_fn_config_dll avifile.dll16 enable_win16
16719 wine_fn_config_dll avrt enable_avrt implib
16720 wine_fn_config_dll bcrypt enable_bcrypt
16721 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
16722 wine_fn_config_dll browseui enable_browseui clean
,po
16723 wine_fn_config_test dlls
/browseui
/tests browseui_test
16724 wine_fn_config_dll cabinet enable_cabinet implib
16725 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
16726 wine_fn_config_dll capi2032 enable_capi2032 implib
16727 wine_fn_config_dll cards enable_cards implib
16728 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16729 wine_fn_config_dll clusapi enable_clusapi implib
16730 wine_fn_config_dll comcat enable_comcat
16731 wine_fn_config_test dlls
/comcat
/tests comcat_test
16732 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
16733 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
16734 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
16735 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
16736 wine_fn_config_dll
comm.drv16 enable_win16
16737 wine_fn_config_dll commdlg.dll16 enable_win16
16738 wine_fn_config_dll compobj.dll16 enable_win16
16739 wine_fn_config_dll compstui enable_compstui implib
16740 wine_fn_config_dll comsvcs enable_comsvcs implib
16741 wine_fn_config_dll credui enable_credui implib
,po
16742 wine_fn_config_test dlls
/credui
/tests credui_test
16743 wine_fn_config_dll crtdll enable_crtdll implib
16744 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
16745 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
16746 wine_fn_config_dll cryptdlg enable_cryptdlg po
16747 wine_fn_config_dll cryptdll enable_cryptdll implib
16748 wine_fn_config_dll cryptnet enable_cryptnet implib
16749 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
16750 wine_fn_config_dll cryptui enable_cryptui implib
,po
16751 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
16752 wine_fn_config_dll ctapi32 enable_ctapi32
16753 wine_fn_config_dll ctl3d.dll16 enable_win16
16754 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16755 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16756 wine_fn_config_dll d2d1 enable_d2d1 implib
16757 wine_fn_config_dll d3d10 enable_d3d10 implib
16758 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
16759 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16760 wine_fn_config_dll d3d10core enable_d3d10core implib
16761 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
16762 wine_fn_config_dll d3d11 enable_d3d11
16763 wine_fn_config_dll d3d8 enable_d3d8 implib
16764 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
16765 wine_fn_config_dll d3d9 enable_d3d9 implib
16766 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
16767 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16768 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16769 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16770 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16771 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16772 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16773 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16774 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16775 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16776 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16777 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16778 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
16779 wine_fn_config_dll d3dim enable_d3dim implib
16780 wine_fn_config_dll d3drm enable_d3drm implib
16781 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
16782 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16783 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16784 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16785 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16786 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16787 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16788 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16789 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16790 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16791 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16792 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16793 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16794 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16795 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16796 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16797 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16798 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16799 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16800 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16801 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16802 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16803 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16804 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16805 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16806 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16807 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16808 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
16809 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16810 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16811 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16812 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16813 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16814 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16815 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16816 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
16817 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
16818 wine_fn_config_dll dbgeng enable_dbgeng implib
16819 wine_fn_config_dll dbghelp enable_dbghelp implib
16820 wine_fn_config_dll dciman32 enable_dciman32 implib
16821 wine_fn_config_dll ddeml.dll16 enable_win16
16822 wine_fn_config_dll ddraw enable_ddraw clean
,implib
16823 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
16824 wine_fn_config_dll ddrawex enable_ddrawex clean
16825 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
16826 wine_fn_config_dll devenum enable_devenum clean
,po
16827 wine_fn_config_test dlls
/devenum
/tests devenum_test
16828 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16829 wine_fn_config_dll difxapi enable_difxapi
16830 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
16831 wine_fn_config_test dlls
/dinput
/tests dinput_test
16832 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
16833 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
16834 wine_fn_config_dll dispdib.dll16 enable_win16
16835 wine_fn_config_dll dispex enable_dispex clean
16836 wine_fn_config_test dlls
/dispex
/tests dispex_test
16837 wine_fn_config_dll display.drv16 enable_win16
16838 wine_fn_config_dll dmband enable_dmband clean
16839 wine_fn_config_test dlls
/dmband
/tests dmband_test
16840 wine_fn_config_dll dmcompos enable_dmcompos clean
16841 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
16842 wine_fn_config_dll dmime enable_dmime clean
16843 wine_fn_config_test dlls
/dmime
/tests dmime_test
16844 wine_fn_config_dll dmloader enable_dmloader clean
16845 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
16846 wine_fn_config_dll dmscript enable_dmscript clean
16847 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
16848 wine_fn_config_dll dmstyle enable_dmstyle clean
16849 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
16850 wine_fn_config_dll dmsynth enable_dmsynth clean
16851 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
16852 wine_fn_config_dll dmusic enable_dmusic clean
16853 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
16854 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16855 wine_fn_config_dll dnsapi enable_dnsapi implib
16856 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
16857 wine_fn_config_dll dplay enable_dplay implib
16858 wine_fn_config_dll dplayx enable_dplayx clean
,implib
16859 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
16860 wine_fn_config_dll dpnaddr enable_dpnaddr
16861 wine_fn_config_dll dpnet enable_dpnet clean
,implib
16862 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
16863 wine_fn_config_dll dpnhpast enable_dpnhpast
16864 wine_fn_config_dll dpnlobby enable_dpnlobby
16865 wine_fn_config_dll dpwsockx enable_dpwsockx
16866 wine_fn_config_dll drmclien enable_drmclien
16867 wine_fn_config_dll dsound enable_dsound clean
,implib
16868 wine_fn_config_test dlls
/dsound
/tests dsound_test
16869 wine_fn_config_dll dssenh enable_dssenh
16870 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
16871 wine_fn_config_dll dswave enable_dswave clean
16872 wine_fn_config_test dlls
/dswave
/tests dswave_test
16873 wine_fn_config_dll dwmapi enable_dwmapi implib
16874 wine_fn_config_dll dwrite enable_dwrite implib
16875 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
16876 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
16877 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
16878 wine_fn_config_lib dxerr8
16879 wine_fn_config_lib dxerr9
16880 wine_fn_config_dll dxgi enable_dxgi implib
16881 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
16882 wine_fn_config_lib dxguid
16883 wine_fn_config_dll dxva2 enable_dxva2
16884 wine_fn_config_dll explorerframe enable_explorerframe clean
16885 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
16886 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
16887 wine_fn_config_dll faultrep enable_faultrep implib
16888 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
16889 wine_fn_config_dll fltlib enable_fltlib
16890 wine_fn_config_dll fntcache enable_fntcache
16891 wine_fn_config_dll fontsub enable_fontsub
16892 wine_fn_config_dll fusion enable_fusion
16893 wine_fn_config_test dlls
/fusion
/tests fusion_test
16894 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16895 wine_fn_config_dll gameux enable_gameux clean
16896 wine_fn_config_test dlls
/gameux
/tests gameux_test
16897 wine_fn_config_dll gdi.exe16 enable_win16
16898 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
16899 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
16900 wine_fn_config_dll gdiplus enable_gdiplus implib
16901 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
16902 wine_fn_config_dll glu32 enable_glu32 implib
16903 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16904 wine_fn_config_dll gpkcsp enable_gpkcsp
16905 wine_fn_config_dll hal enable_hal
16906 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
16907 wine_fn_config_dll hid enable_hid implib
16908 wine_fn_config_dll hlink enable_hlink clean
,implib
16909 wine_fn_config_test dlls
/hlink
/tests hlink_test
16910 wine_fn_config_dll hnetcfg enable_hnetcfg clean
16911 wine_fn_config_dll httpapi enable_httpapi
16912 wine_fn_config_dll iccvid enable_iccvid po
16913 wine_fn_config_dll icmp enable_icmp
16914 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
16915 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
16916 wine_fn_config_dll ifsmgr.vxd enable_win16
16917 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
16918 wine_fn_config_dll imagehlp enable_imagehlp implib
16919 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
16920 wine_fn_config_dll imm.dll16 enable_win16
16921 wine_fn_config_dll imm32 enable_imm32 implib
16922 wine_fn_config_test dlls
/imm32
/tests imm32_test
16923 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
16924 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
16925 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
16926 wine_fn_config_dll inetmib1 enable_inetmib1
16927 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
16928 wine_fn_config_dll infosoft enable_infosoft clean
16929 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
16930 wine_fn_config_dll initpki enable_initpki
16931 wine_fn_config_dll inkobj enable_inkobj
16932 wine_fn_config_dll inseng enable_inseng clean
16933 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16934 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
16935 wine_fn_config_dll itircl enable_itircl
16936 wine_fn_config_dll itss enable_itss clean
16937 wine_fn_config_test dlls
/itss
/tests itss_test
16938 wine_fn_config_dll joy.cpl enable_joy_cpl po
16939 wine_fn_config_dll jscript enable_jscript clean
,po
16940 wine_fn_config_test dlls
/jscript
/tests jscript_test
16941 wine_fn_config_dll jsproxy enable_jsproxy implib
16942 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
16943 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
16944 wine_fn_config_dll keyboard.drv16 enable_win16
16945 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16946 wine_fn_config_dll ktmw32 enable_ktmw32
16947 wine_fn_config_dll loadperf enable_loadperf implib
16948 wine_fn_config_dll localspl enable_localspl po
16949 wine_fn_config_test dlls
/localspl
/tests localspl_test
16950 wine_fn_config_dll localui enable_localui po
16951 wine_fn_config_test dlls
/localui
/tests localui_test
16952 wine_fn_config_dll lz32 enable_lz32 implib
16953 wine_fn_config_test dlls
/lz32
/tests lz32_test
16954 wine_fn_config_dll lzexpand.dll16 enable_win16
16955 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
16956 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
16957 wine_fn_config_dll mapistub enable_mapistub
16958 wine_fn_config_dll mciavi32 enable_mciavi32
16959 wine_fn_config_dll mcicda enable_mcicda
16960 wine_fn_config_dll mciqtz32 enable_mciqtz32
16961 wine_fn_config_dll mciseq enable_mciseq
16962 wine_fn_config_dll mciwave enable_mciwave
16963 wine_fn_config_dll mgmtapi enable_mgmtapi
16964 wine_fn_config_dll midimap enable_midimap
16965 wine_fn_config_dll mlang enable_mlang clean
,implib
16966 wine_fn_config_test dlls
/mlang
/tests mlang_test
16967 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
16968 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
16969 wine_fn_config_dll mmdevapi enable_mmdevapi clean
16970 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
16971 wine_fn_config_dll mmdevldr.vxd enable_win16
16972 wine_fn_config_dll mmsystem.dll16 enable_win16
16973 wine_fn_config_dll monodebg.vxd enable_win16
16974 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16975 wine_fn_config_dll mouse.drv16 enable_win16
16976 wine_fn_config_dll mpr enable_mpr implib
,po
16977 wine_fn_config_test dlls
/mpr
/tests mpr_test
16978 wine_fn_config_dll mprapi enable_mprapi implib
16979 wine_fn_config_dll msacm.dll16 enable_win16
16980 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16981 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
16982 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
16983 wine_fn_config_dll msadp32.acm enable_msadp32_acm
16984 wine_fn_config_dll mscat32 enable_mscat32
16985 wine_fn_config_dll mscms enable_mscms implib
16986 wine_fn_config_test dlls
/mscms
/tests mscms_test
16987 wine_fn_config_dll mscoree enable_mscoree clean
16988 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
16989 wine_fn_config_dll msctf enable_msctf clean
16990 wine_fn_config_test dlls
/msctf
/tests msctf_test
16991 wine_fn_config_dll msdaps enable_msdaps clean
16992 wine_fn_config_dll msdmo enable_msdmo implib
16993 wine_fn_config_dll msftedit enable_msftedit
16994 wine_fn_config_dll msg711.acm enable_msg711_acm
16995 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
16996 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
16997 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
16998 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
16999 wine_fn_config_dll msi enable_msi clean
,implib
,po
17000 wine_fn_config_test dlls
/msi
/tests msi_test
17001 wine_fn_config_dll msident enable_msident clean
17002 wine_fn_config_dll msimg32 enable_msimg32 implib
17003 wine_fn_config_dll msimsg enable_msimsg
17004 wine_fn_config_dll msimtf enable_msimtf clean
17005 wine_fn_config_dll msisip enable_msisip
17006 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17007 wine_fn_config_dll msls31 enable_msls31
17008 wine_fn_config_dll msnet32 enable_msnet32
17009 wine_fn_config_dll mspatcha enable_mspatcha
17010 wine_fn_config_dll msrle32 enable_msrle32 po
17011 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
17012 wine_fn_config_dll mssign32 enable_mssign32
17013 wine_fn_config_dll mssip32 enable_mssip32
17014 wine_fn_config_dll mstask enable_mstask clean
17015 wine_fn_config_test dlls
/mstask
/tests mstask_test
17016 wine_fn_config_dll msvcirt enable_msvcirt
17017 wine_fn_config_dll msvcm80 enable_msvcm80
17018 wine_fn_config_dll msvcm90 enable_msvcm90
17019 wine_fn_config_dll msvcp100 enable_msvcp100
17020 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
17021 wine_fn_config_dll msvcp110 enable_msvcp110
17022 wine_fn_config_dll msvcp60 enable_msvcp60
17023 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
17024 wine_fn_config_dll msvcp70 enable_msvcp70
17025 wine_fn_config_dll msvcp71 enable_msvcp71
17026 wine_fn_config_dll msvcp80 enable_msvcp80
17027 wine_fn_config_dll msvcp90 enable_msvcp90
17028 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
17029 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17030 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
17031 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17032 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17033 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17034 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17035 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17036 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17037 wine_fn_config_dll msvcrt enable_msvcrt implib
17038 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17039 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17040 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17041 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17042 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17043 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17044 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17045 wine_fn_config_dll msvidc32 enable_msvidc32 po
17046 wine_fn_config_dll msvideo.dll16 enable_win16
17047 wine_fn_config_dll mswsock enable_mswsock implib
17048 wine_fn_config_dll msxml enable_msxml clean
17049 wine_fn_config_dll msxml2 enable_msxml2 clean
17050 wine_fn_config_dll msxml3 enable_msxml3 clean
17051 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17052 wine_fn_config_dll msxml4 enable_msxml4 clean
17053 wine_fn_config_dll msxml6 enable_msxml6 clean
17054 wine_fn_config_dll nddeapi enable_nddeapi implib
17055 wine_fn_config_dll netapi32 enable_netapi32 implib
17056 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17057 wine_fn_config_dll netcfgx enable_netcfgx clean
17058 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
17059 wine_fn_config_dll netprofm enable_netprofm clean
17060 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
17061 wine_fn_config_dll newdev enable_newdev implib
17062 wine_fn_config_dll normaliz enable_normaliz implib
17063 wine_fn_config_dll npmshtml enable_npmshtml
17064 wine_fn_config_dll ntdll enable_ntdll implib
17065 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17066 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17067 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17068 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17069 wine_fn_config_dll ntprint enable_ntprint
17070 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17071 wine_fn_config_dll objsel enable_objsel clean
17072 wine_fn_config_dll odbc32 enable_odbc32 implib
17073 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17074 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17075 wine_fn_config_dll odbccu32 enable_odbccu32
17076 wine_fn_config_dll ole2.dll16 enable_win16
17077 wine_fn_config_dll ole2conv.dll16 enable_win16
17078 wine_fn_config_dll ole2disp.dll16 enable_win16
17079 wine_fn_config_dll ole2nls.dll16 enable_win16
17080 wine_fn_config_dll ole2prox.dll16 enable_win16
17081 wine_fn_config_dll ole2thk.dll16 enable_win16
17082 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17083 wine_fn_config_test dlls
/ole32
/tests ole32_test
17084 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17085 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17086 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17087 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17088 wine_fn_config_dll olecli.dll16 enable_win16
17089 wine_fn_config_dll olecli32 enable_olecli32 implib
17090 wine_fn_config_dll oledb32 enable_oledb32 clean
17091 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17092 wine_fn_config_dll oledlg enable_oledlg implib
,po
17093 wine_fn_config_dll olepro32 enable_olepro32 implib
17094 wine_fn_config_dll olesvr.dll16 enable_win16
17095 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17096 wine_fn_config_dll olethk32 enable_olethk32
17097 wine_fn_config_dll openal32 enable_openal32
17098 wine_fn_config_dll opencl enable_opencl
17099 wine_fn_config_dll opengl32 enable_opengl32 implib
17100 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17101 wine_fn_config_dll pdh enable_pdh implib
17102 wine_fn_config_test dlls
/pdh
/tests pdh_test
17103 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17104 wine_fn_config_dll pidgen enable_pidgen
17105 wine_fn_config_dll powrprof enable_powrprof implib
17106 wine_fn_config_dll printui enable_printui
17107 wine_fn_config_dll propsys enable_propsys clean
,implib
17108 wine_fn_config_test dlls
/propsys
/tests propsys_test
17109 wine_fn_config_dll psapi enable_psapi implib
17110 wine_fn_config_test dlls
/psapi
/tests psapi_test
17111 wine_fn_config_dll pstorec enable_pstorec clean
17112 wine_fn_config_dll qcap enable_qcap
17113 wine_fn_config_test dlls
/qcap
/tests qcap_test
17114 wine_fn_config_dll qedit enable_qedit clean
17115 wine_fn_config_test dlls
/qedit
/tests qedit_test
17116 wine_fn_config_dll qmgr enable_qmgr clean
17117 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17118 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17119 wine_fn_config_dll quartz enable_quartz clean
,implib
17120 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17121 wine_fn_config_dll query enable_query
17122 wine_fn_config_dll rasapi16.dll16 enable_win16
17123 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17124 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17125 wine_fn_config_dll rasdlg enable_rasdlg implib
17126 wine_fn_config_dll regapi enable_regapi
17127 wine_fn_config_dll resutils enable_resutils implib
17128 wine_fn_config_dll riched20 enable_riched20 implib
17129 wine_fn_config_test dlls
/riched20
/tests riched20_test
17130 wine_fn_config_dll riched32 enable_riched32
17131 wine_fn_config_test dlls
/riched32
/tests riched32_test
17132 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17133 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17134 wine_fn_config_dll rsabase enable_rsabase
17135 wine_fn_config_dll rsaenh enable_rsaenh implib
17136 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17137 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17138 wine_fn_config_dll rtutils enable_rtutils implib
17139 wine_fn_config_dll samlib enable_samlib
17140 wine_fn_config_dll sane.ds enable_sane_ds po
17141 wine_fn_config_dll scarddlg enable_scarddlg
17142 wine_fn_config_dll sccbase enable_sccbase
17143 wine_fn_config_dll schannel enable_schannel
17144 wine_fn_config_test dlls
/schannel
/tests schannel_test
17145 wine_fn_config_dll schedsvc enable_schedsvc clean
17146 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
17147 wine_fn_config_dll scrrun enable_scrrun clean
17148 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17149 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17150 wine_fn_config_dll secur32 enable_secur32 implib
17151 wine_fn_config_test dlls
/secur32
/tests secur32_test
17152 wine_fn_config_dll security enable_security
17153 wine_fn_config_dll sensapi enable_sensapi implib
17154 wine_fn_config_dll serialui enable_serialui implib
,po
17155 wine_fn_config_test dlls
/serialui
/tests serialui_test
17156 wine_fn_config_dll setupapi enable_setupapi implib
,po
17157 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17158 wine_fn_config_dll setupx.dll16 enable_win16
17159 wine_fn_config_dll sfc enable_sfc implib
17160 wine_fn_config_dll sfc_os enable_sfc_os implib
17161 wine_fn_config_dll shdoclc enable_shdoclc po
17162 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17163 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17164 wine_fn_config_dll shell.dll16 enable_win16
17165 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17166 wine_fn_config_test dlls
/shell32
/tests shell32_test
17167 wine_fn_config_dll shfolder enable_shfolder implib
17168 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17169 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17170 wine_fn_config_dll slbcsp enable_slbcsp
17171 wine_fn_config_dll slc enable_slc implib
17172 wine_fn_config_dll snmpapi enable_snmpapi implib
17173 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17174 wine_fn_config_dll softpub enable_softpub
17175 wine_fn_config_dll sound.drv16 enable_win16
17176 wine_fn_config_dll spoolss enable_spoolss implib
17177 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17178 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17179 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17180 wine_fn_config_dll sti enable_sti clean
,implib
17181 wine_fn_config_test dlls
/sti
/tests sti_test
17182 wine_fn_config_dll storage.dll16 enable_win16
17183 wine_fn_config_dll stress.dll16 enable_win16
17184 wine_fn_config_lib strmbase
17185 wine_fn_config_lib strmiids
17186 wine_fn_config_dll svrapi enable_svrapi
17187 wine_fn_config_dll sxs enable_sxs implib
17188 wine_fn_config_test dlls
/sxs
/tests sxs_test
17189 wine_fn_config_dll system.drv16 enable_win16
17190 wine_fn_config_dll t2embed enable_t2embed
17191 wine_fn_config_dll tapi32 enable_tapi32 implib
17192 wine_fn_config_dll taskschd enable_taskschd clean
17193 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17194 wine_fn_config_dll toolhelp.dll16 enable_win16
17195 wine_fn_config_dll traffic enable_traffic
17196 wine_fn_config_dll twain.dll16 enable_win16
17197 wine_fn_config_dll twain_32 enable_twain_32
17198 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17199 wine_fn_config_dll typelib.dll16 enable_win16
17200 wine_fn_config_dll unicows enable_unicows implib
17201 wine_fn_config_dll updspapi enable_updspapi
17202 wine_fn_config_dll url enable_url implib
17203 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17204 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17205 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17206 wine_fn_config_dll user.exe16 enable_win16
17207 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17208 wine_fn_config_test dlls
/user32
/tests user32_test
17209 wine_fn_config_dll userenv enable_userenv implib
17210 wine_fn_config_test dlls
/userenv
/tests userenv_test
17211 wine_fn_config_dll usp10 enable_usp10 implib
17212 wine_fn_config_test dlls
/usp10
/tests usp10_test
17213 wine_fn_config_lib uuid
17214 wine_fn_config_dll uxtheme enable_uxtheme implib
17215 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17216 wine_fn_config_dll vbscript enable_vbscript clean
17217 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17218 wine_fn_config_dll vcomp enable_vcomp
17219 wine_fn_config_dll vcomp100 enable_vcomp100
17220 wine_fn_config_dll vcomp90 enable_vcomp90
17221 wine_fn_config_dll vdhcp.vxd enable_win16
17222 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17223 wine_fn_config_dll ver.dll16 enable_win16
17224 wine_fn_config_dll version enable_version implib
17225 wine_fn_config_test dlls
/version
/tests version_test
17226 wine_fn_config_dll vmm.vxd enable_win16
17227 wine_fn_config_dll vnbt.vxd enable_win16
17228 wine_fn_config_dll vnetbios.vxd enable_win16
17229 wine_fn_config_dll vtdapi.vxd enable_win16
17230 wine_fn_config_dll vwin32.vxd enable_win16
17231 wine_fn_config_dll w32skrnl enable_win16
17232 wine_fn_config_dll w32sys.dll16 enable_win16
17233 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17234 wine_fn_config_dll wbemprox enable_wbemprox clean
17235 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17236 wine_fn_config_dll webservices enable_webservices implib
17237 wine_fn_config_dll wer enable_wer implib
17238 wine_fn_config_test dlls
/wer
/tests wer_test
17239 wine_fn_config_dll wevtapi enable_wevtapi
17240 wine_fn_config_dll wiaservc enable_wiaservc clean
17241 wine_fn_config_dll win32s16.dll16 enable_win16
17242 wine_fn_config_dll win87em.dll16 enable_win16
17243 wine_fn_config_dll winaspi.dll16 enable_win16
17244 wine_fn_config_dll windebug.dll16 enable_win16
17245 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17246 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17247 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17248 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17249 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17250 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17251 wine_fn_config_lib winecrt0
17252 wine_fn_config_dll wined3d enable_wined3d implib
17253 wine_fn_config_dll winegstreamer enable_winegstreamer
17254 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17255 wine_fn_config_dll winemac.drv enable_winemac_drv
17256 wine_fn_config_dll winemapi enable_winemapi
17257 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17258 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17259 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17260 wine_fn_config_dll wineps16.drv16 enable_win16
17261 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17262 wine_fn_config_dll winex11.drv enable_winex11_drv
17263 wine_fn_config_dll wing.dll16 enable_win16
17264 wine_fn_config_dll wing32 enable_wing32
17265 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17266 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17267 wine_fn_config_dll wininet enable_wininet implib
,po
17268 wine_fn_config_test dlls
/wininet
/tests wininet_test
17269 wine_fn_config_dll winmm enable_winmm implib
,po
17270 wine_fn_config_test dlls
/winmm
/tests winmm_test
17271 wine_fn_config_dll winnls.dll16 enable_win16
17272 wine_fn_config_dll winnls32 enable_winnls32 implib
17273 wine_fn_config_dll winscard enable_winscard implib
17274 wine_fn_config_dll winsock.dll16 enable_win16
17275 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17276 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17277 wine_fn_config_dll winsta enable_winsta
17278 wine_fn_config_dll wintab.dll16 enable_win16
17279 wine_fn_config_dll wintab32 enable_wintab32 implib
17280 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17281 wine_fn_config_dll wintrust enable_wintrust implib
17282 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17283 wine_fn_config_dll wlanapi enable_wlanapi
17284 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17285 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17286 wine_fn_config_dll wmi enable_wmi
17287 wine_fn_config_dll wmiutils enable_wmiutils clean
17288 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17289 wine_fn_config_dll wmp enable_wmp clean
17290 wine_fn_config_test dlls
/wmp
/tests wmp_test
17291 wine_fn_config_dll wmvcore enable_wmvcore
17292 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17293 wine_fn_config_dll wow32 enable_win16 implib
17294 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17295 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17296 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17297 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17298 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17299 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17300 wine_fn_config_dll wsock32 enable_wsock32 implib
17301 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17302 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
17303 wine_fn_config_dll wuapi enable_wuapi clean
17304 wine_fn_config_dll wuaueng enable_wuaueng
17305 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17306 wine_fn_config_dll xinput1_1 enable_xinput1_1
17307 wine_fn_config_dll xinput1_2 enable_xinput1_2
17308 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17309 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17310 wine_fn_config_dll xinput1_4 enable_xinput1_4
17311 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17312 wine_fn_config_dll xmllite enable_xmllite implib
17313 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17314 wine_fn_config_dll xolehlp enable_xolehlp
17315 wine_fn_config_dll xpsprint enable_xpsprint
17316 wine_fn_config_dll xpssvcs enable_xpssvcs
17317 wine_fn_config_makefile documentation enable_documentation clean
17318 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17319 wine_fn_config_makefile include enable_include clean
,install-dev
17320 wine_fn_config_makefile libs
/port enable_libs_port
17321 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17322 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17323 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17324 wine_fn_config_program arp enable_arp
install
17325 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17326 wine_fn_config_program attrib enable_attrib
install,po
17327 wine_fn_config_program cabarc enable_cabarc
install
17328 wine_fn_config_program cacls enable_cacls
install
17329 wine_fn_config_program
clock enable_clock
install,po
17330 wine_fn_config_program cmd enable_cmd
install,po
17331 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17332 wine_fn_config_program conhost enable_conhost
install
17333 wine_fn_config_program control enable_control
install
17334 wine_fn_config_program cscript enable_cscript
install
17335 wine_fn_config_program dpnsvr enable_dpnsvr
install
17336 wine_fn_config_program dxdiag enable_dxdiag
install,po
17337 wine_fn_config_program eject enable_eject
install
17338 wine_fn_config_program
expand enable_expand
install
17339 wine_fn_config_program explorer enable_explorer
install,po
17340 wine_fn_config_program extrac32 enable_extrac32
install
17341 wine_fn_config_program findstr enable_findstr
install
17342 wine_fn_config_program hh enable_hh
install
17343 wine_fn_config_program hostname enable_hostname
install,po
17344 wine_fn_config_program icinfo enable_icinfo
install
17345 wine_fn_config_program iexplore enable_iexplore
install
17346 wine_fn_config_program ipconfig enable_ipconfig
install,po
17347 wine_fn_config_program lodctr enable_lodctr
install
17348 wine_fn_config_program mofcomp enable_mofcomp
install
17349 wine_fn_config_program mshta enable_mshta
install
17350 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17351 wine_fn_config_program net enable_net
install,po
17352 wine_fn_config_program netsh enable_netsh
install
17353 wine_fn_config_program netstat enable_netstat
install,po
17354 wine_fn_config_program ngen enable_ngen
install
17355 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17356 wine_fn_config_program oleview enable_oleview
install,po
17357 wine_fn_config_program
ping enable_ping
install
17358 wine_fn_config_program plugplay enable_plugplay
install
17359 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17360 wine_fn_config_program progman enable_progman
install,po
17361 wine_fn_config_program reg enable_reg
install,po
17362 wine_fn_config_program regasm enable_regasm
install
17363 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17364 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17365 wine_fn_config_program regsvcs enable_regsvcs
install
17366 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
,po
17367 wine_fn_config_program rpcss enable_rpcss clean
,install
17368 wine_fn_config_program rundll.exe16 enable_win16
install
17369 wine_fn_config_program rundll32 enable_rundll32
install
17370 wine_fn_config_program sc enable_sc
install
17371 wine_fn_config_program schtasks enable_schtasks
install
17372 wine_fn_config_program sdbinst enable_sdbinst
install
17373 wine_fn_config_program secedit enable_secedit
install
17374 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17375 wine_fn_config_program services enable_services clean
,install
17376 wine_fn_config_test programs
/services
/tests services.exe_test
17377 wine_fn_config_program spoolsv enable_spoolsv
install
17378 wine_fn_config_program start enable_start
install,po
17379 wine_fn_config_program svchost enable_svchost
install
17380 wine_fn_config_program taskkill enable_taskkill
install,po
17381 wine_fn_config_program tasklist enable_tasklist
install
17382 wine_fn_config_program taskmgr enable_taskmgr
install,po
17383 wine_fn_config_program termsv enable_termsv
install
17384 wine_fn_config_program uninstaller enable_uninstaller
install,po
17385 wine_fn_config_program unlodctr enable_unlodctr
install
17386 wine_fn_config_program view enable_view
install,po
17387 wine_fn_config_program wevtutil enable_wevtutil
install
17388 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17389 wine_fn_config_program winebrowser enable_winebrowser
install
17390 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17391 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17392 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17393 wine_fn_config_program winedevice enable_winedevice
install
17394 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17395 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17396 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17397 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17398 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17399 wine_fn_config_program winetest enable_winetest clean
17400 wine_fn_config_program winevdm enable_win16
install
17401 wine_fn_config_program winhelp.exe16 enable_win16
install
17402 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17403 wine_fn_config_program winoldap.mod16 enable_win16
install
17404 wine_fn_config_program winver enable_winver
install
17405 wine_fn_config_program wmic enable_wmic
install,po
17406 wine_fn_config_program wordpad enable_wordpad
install,po
17407 wine_fn_config_program
write enable_write
install,po
17408 wine_fn_config_program wscript enable_wscript clean
,install
17409 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17410 wine_fn_config_program wusa enable_wusa
install
17411 wine_fn_config_program xcopy enable_xcopy
install,po
17412 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
17413 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17414 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17415 wine_fn_config_tool tools
/sfnt2fon clean
17416 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17417 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17418 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17419 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17420 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17421 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17473 wine_fn_ignore_file
".gitignore"
17474 wine_fn_ignore_file
"Makefile"
17475 wine_fn_ignore_file
"TAGS"
17476 wine_fn_ignore_file
"tags"
17477 wine_fn_ignore_file
"autom4te.cache"
17478 wine_fn_ignore_file
"config.cache"
17479 wine_fn_ignore_file
"config.log"
17480 wine_fn_ignore_file
"config.status"
17481 wine_fn_ignore_file
"configure.lineno"
17482 wine_fn_ignore_file
"include/config.h"
17483 wine_fn_ignore_file
"include/stamp-h"
17484 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
17486 if test "x$enable_tools" != xno
17488 wine_fn_ignore_file
"tools/makedep$ac_exeext"
17489 ac_config_commands
="$ac_config_commands tools/makedep"
17493 ac_config_commands
="$ac_config_commands Makefile"
17496 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17500 if test "x$enable_maintainer_mode" = xyes
17502 wine_fn_append_rule
"configure: configure.ac aclocal.m4
17503 autoconf --warnings=all
17504 include/config.h.in: include/stamp-h.in
17505 include/stamp-h.in: configure.ac aclocal.m4
17506 autoheader --warnings=all
17507 @echo timestamp > \$@"
17510 if test "x$with_gettextpo" = xyes
17512 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17513 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17514 \$(LINGUAS:%=po/%.po): po/wine.pot
17515 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17516 po/wine.pot: \$(ALL_POT_FILES)
17517 msgcat -o \$@ \$(ALL_POT_FILES)"
17520 if test "$MSGFMT" != false
17522 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
17524 \$(RM) \$(LINGUAS:%=po/%.mo)"
17527 test "$srcdir" = . || posrc
="$srcdir/po"
17530 wine_fn_ignore_file
"po/$i.mo"
17531 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
17532 \$(MSGFMT) -o \$@ $posrc/$i.po"
17538 if test "x$enable_tools" != xno
17540 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17541 @./config.status tools/makedep
17542 Makefile: tools/makedep$ac_exeext
17544 \$(RM) tools/makedep$ac_exeext"
17546 wine_fn_append_rule
"\$(MAKEDEP):
17547 @echo \"You need to run make in $TOOLSDIR first\" && false"
17550 if test -n "$with_wine64"
17552 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17553 fonts server tools:
17554 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17555 $with_wine64/loader/wine:
17556 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17557 $with_wine64/loader/wine-preloader:
17558 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17560 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17562 as_fn_append LOADER_RULES
"
17565 install install-lib:: wine.inf install-man-pages
17566 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17567 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17570 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17574 if test "$srcdir" = .
17576 ac_config_commands
="$ac_config_commands .gitignore"
17580 $as_echo " done" >&6
17581 cat >confcache
<<\_ACEOF
17582 # This file is a shell script that caches the results of configure
17583 # tests run on this system so they can be shared between configure
17584 # scripts and configure runs, see configure's option --config-cache.
17585 # It is not useful on other systems. If it contains results you don't
17586 # want to keep, you may remove or edit it.
17588 # config.status only pays attention to the cache file if you give it
17589 # the --recheck option to rerun configure.
17591 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17592 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17593 # following values.
17597 # The following way of writing the cache mishandles newlines in values,
17598 # but we know of no workaround that is simple, portable, and efficient.
17599 # So, we kill variables containing newlines.
17600 # Ultrix sh set writes to stderr and can't be redirected directly,
17601 # and sets the high bit in the cache file unless we assign to the vars.
17603 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17604 eval ac_val
=\$
$ac_var
17608 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17609 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17612 _ | IFS | as_nl
) ;; #(
17613 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17614 *) { eval $ac_var=; unset $ac_var;} ;;
17620 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17621 *${as_nl}ac_space
=\
*)
17622 # `set' does not quote correctly, so add quotes: double-quote
17623 # substitution turns \\\\ into \\, and sed turns \\ into \.
17626 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17629 # `set' quotes correctly as required by POSIX, so do not add quotes.
17630 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17639 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17641 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17643 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17644 if test -w "$cache_file"; then
17645 if test "x$cache_file" != "x/dev/null"; then
17646 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17647 $as_echo "$as_me: updating cache $cache_file" >&6;}
17648 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17649 cat confcache
>"$cache_file"
17651 case $cache_file in #(
17653 mv -f confcache
"$cache_file"$$
&&
17654 mv -f "$cache_file"$$
"$cache_file" ;; #(
17656 mv -f confcache
"$cache_file" ;;
17661 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17662 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17667 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17668 # Let make expand exec_prefix.
17669 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17671 DEFS
=-DHAVE_CONFIG_H
17676 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17677 # 1. Remove the extension, and $U if already installed.
17678 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17679 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17680 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17681 # will be set to the directory where LIBOBJS objects are built.
17682 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17683 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17685 LIBOBJS
=$ac_libobjs
17687 LTLIBOBJS
=$ac_ltlibobjs
17691 : "${CONFIG_STATUS=./config.status}"
17693 ac_clean_files_save
=$ac_clean_files
17694 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17695 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17696 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17698 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17700 # Generated by $as_me.
17701 # Run this file to recreate the current configuration.
17702 # Compiler output produced by configure, useful for debugging
17703 # configure, is in config.log if it exists.
17706 ac_cs_recheck=false
17709 SHELL=\${CONFIG_SHELL-$SHELL}
17712 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17713 ## -------------------- ##
17714 ## M4sh Initialization. ##
17715 ## -------------------- ##
17717 # Be more Bourne compatible
17718 DUALCASE
=1; export DUALCASE
# for MKS sh
17719 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17722 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17723 # is contrary to our usage. Disable this feature.
17724 alias -g '${1+"$@"}'='"$@"'
17725 setopt NO_GLOB_SUBST
17727 case `(set -o) 2>/dev/null` in #(
17739 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17740 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17741 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17742 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17743 # Prefer a ksh shell builtin over an external printf program on Solaris,
17744 # but without wasting forks for bash or zsh.
17745 if test -z "$BASH_VERSION$ZSH_VERSION" \
17746 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17747 as_echo='print
-r --'
17748 as_echo_n='print
-rn --'
17749 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17750 as_echo='printf %s
\n'
17751 as_echo_n='printf %s
'
17753 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17754 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17755 as_echo_n='/usr
/ucb
/echo -n'
17757 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17758 as_echo_n_body='eval
17762 expr "X$arg" : "X\\(.*\\)$as_nl";
17763 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17765 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17767 export as_echo_n_body
17768 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17770 export as_echo_body
17771 as_echo='sh
-c $as_echo_body as_echo
'
17774 # The user is always right.
17775 if test "${PATH_SEPARATOR+set}" != set; then
17777 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17778 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17785 # We need space, tab and new line, in precisely that order. Quoting is
17786 # there to prevent editors from complaining about space-tab.
17787 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17788 # splitting by setting IFS to empty value.)
17791 # Find who we are. Look in the path if we contain no directory separator.
17794 *[\\/]* ) as_myself=$0 ;;
17795 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17796 for as_dir in $PATH
17799 test -z "$as_dir" && as_dir=.
17800 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17806 # We did not find ourselves, most probably we were run as `sh COMMAND'
17807 # in which case we are not to be found in the path.
17808 if test "x$as_myself" = x
; then
17811 if test ! -f "$as_myself"; then
17812 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17816 # Unset variables that we do not need and which cause bugs (e.g. in
17817 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17818 # suppresses any "Segmentation fault" message there. '((' could
17819 # trigger a bug in pdksh 5.2.14.
17820 for as_var
in BASH_ENV ENV MAIL MAILPATH
17821 do eval test x\
${$as_var+set} = xset \
17822 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17835 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17838 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17839 # ----------------------------------------
17840 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17841 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17842 # script with STATUS, using 1 if that was 0.
17845 as_status
=$1; test $as_status -eq 0 && as_status
=1
17847 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17848 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17850 $as_echo "$as_me: error: $2" >&2
17851 as_fn_exit
$as_status
17855 # as_fn_set_status STATUS
17856 # -----------------------
17857 # Set $? to STATUS, without forking.
17858 as_fn_set_status
()
17861 } # as_fn_set_status
17863 # as_fn_exit STATUS
17864 # -----------------
17865 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17869 as_fn_set_status
$1
17875 # Portably unset VAR.
17878 { eval $1=; unset $1;}
17880 as_unset
=as_fn_unset
17881 # as_fn_append VAR VALUE
17882 # ----------------------
17883 # Append the text in VALUE to the end of the definition contained in VAR. Take
17884 # advantage of any shell optimizations that allow amortized linear growth over
17885 # repeated appends, instead of the typical quadratic growth present in naive
17887 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
17888 eval 'as_fn_append ()
17899 # as_fn_arith ARG...
17900 # ------------------
17901 # Perform arithmetic evaluation on the ARGs, and store the result in the
17902 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17903 # must be portable across $(()) and expr.
17904 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
17905 eval 'as_fn_arith ()
17912 as_val
=`expr "$@" || test $? -eq 1`
17917 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
17918 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17924 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17925 as_basename
=basename
17930 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
17936 as_me
=`$as_basename -- "$0" ||
17937 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17938 X"$0" : 'X\(//\)$' \| \
17939 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17941 sed '/^.*\/\([^/][^/]*\)\/*$/{
17955 # Avoid depending upon Character Ranges.
17956 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17957 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17958 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17959 as_cr_digits
='0123456789'
17960 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17962 ECHO_C
= ECHO_N
= ECHO_T
=
17963 case `echo -n x` in #(((((
17965 case `echo 'xy\c'` in
17966 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
17968 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
17975 rm -f conf$$ conf$$.exe conf$$.
file
17976 if test -d conf$$.dir
; then
17977 rm -f conf$$.dir
/conf$$.
file
17980 mkdir conf$$.dir
2>/dev
/null
17982 if (echo >conf$$.
file) 2>/dev
/null
; then
17983 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17985 # ... but there are two gotchas:
17986 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17987 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17988 # In both cases, we have to default to `cp -pR'.
17989 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
17991 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17999 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18000 rmdir conf$$.dir
2>/dev
/null
18005 # Create "$as_dir" as a directory, including parents if necessary.
18010 -*) as_dir
=.
/$as_dir;;
18012 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18016 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18017 *) as_qdir
=$as_dir;;
18019 as_dirs
="'$as_qdir' $as_dirs"
18020 as_dir
=`$as_dirname -- "$as_dir" ||
18021 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18022 X"$as_dir" : 'X\(//\)[^/]' \| \
18023 X"$as_dir" : 'X\(//\)$' \| \
18024 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18025 $as_echo X"$as_dir" |
18026 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18030 /^X\(\/\/\)[^/].*/{
18043 test -d "$as_dir" && break
18045 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18046 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18050 if mkdir
-p .
2>/dev
/null
; then
18051 as_mkdir_p
='mkdir -p "$as_dir"'
18053 test -d .
/-p && rmdir .
/-p
18058 # as_fn_executable_p FILE
18059 # -----------------------
18060 # Test if FILE is an executable regular file.
18061 as_fn_executable_p
()
18063 test -f "$1" && test -x "$1"
18064 } # as_fn_executable_p
18065 as_test_x
='test -x'
18066 as_executable_p
=as_fn_executable_p
18068 # Sed expression to map a string onto a valid CPP name.
18069 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18071 # Sed expression to map a string onto a valid variable name.
18072 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18076 ## ----------------------------------- ##
18077 ## Main body of $CONFIG_STATUS script. ##
18078 ## ----------------------------------- ##
18080 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18082 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18083 # Save the log message, to keep $0 and so on meaningful, and to
18084 # report actual input values of CONFIG_FILES etc. instead of their
18085 # values after options handling.
18087 This file was extended by Wine $as_me 1.7.19, which was
18088 generated by GNU Autoconf 2.69. Invocation command line was
18090 CONFIG_FILES = $CONFIG_FILES
18091 CONFIG_HEADERS = $CONFIG_HEADERS
18092 CONFIG_LINKS = $CONFIG_LINKS
18093 CONFIG_COMMANDS = $CONFIG_COMMANDS
18096 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18101 case $ac_config_files in *"
18102 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18105 case $ac_config_headers in *"
18106 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18110 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18111 # Files that config.status was made for.
18112 config_files="$ac_config_files"
18113 config_headers="$ac_config_headers"
18114 config_links="$ac_config_links"
18115 config_commands="$ac_config_commands"
18119 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18121 \`$as_me' instantiates files and other configuration actions
18122 from templates according to the current configuration. Unless the files
18123 and actions are specified as TAGs, all are instantiated by default.
18125 Usage: $0 [OPTION]... [TAG]...
18127 -h, --help print this help, then exit
18128 -V, --version print version number and configuration settings, then exit
18129 --config print configuration, then exit
18130 -q, --quiet, --silent
18131 do not print progress messages
18132 -d, --debug don't remove temporary files
18133 --recheck update $as_me by reconfiguring in the same conditions
18134 --file=FILE[:TEMPLATE]
18135 instantiate the configuration file FILE
18136 --header=FILE[:TEMPLATE]
18137 instantiate the configuration header FILE
18139 Configuration files:
18142 Configuration headers:
18145 Configuration links:
18148 Configuration commands:
18151 Report bugs to <wine-devel@winehq.org>.
18152 Wine home page: <http://www.winehq.org>."
18155 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18156 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18158 Wine config.status 1.7.19
18159 configured by $0, generated by GNU Autoconf 2.69,
18160 with options \\"\$ac_cs_config\\"
18162 Copyright (C) 2012 Free Software Foundation, Inc.
18163 This config.status script is free software; the Free Software Foundation
18164 gives unlimited permission to copy, distribute and modify it."
18168 test -n "\$AWK" || AWK=awk
18171 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18172 # The default lists apply if the user does not specify any file.
18178 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18179 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18183 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18195 # Handling of the options.
18196 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18198 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18199 $as_echo "$ac_cs_version"; exit ;;
18200 --config |
--confi |
--conf |
--con |
--co |
--c )
18201 $as_echo "$ac_cs_config"; exit ;;
18202 --debug |
--debu |
--deb |
--de |
--d |
-d )
18204 --file |
--fil |
--fi |
--f )
18207 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18208 '') as_fn_error $?
"missing file argument" ;;
18210 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18211 ac_need_defaults
=false
;;
18212 --header |
--heade |
--head |
--hea )
18215 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18217 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18218 ac_need_defaults
=false
;;
18220 # Conflict between --help and --header
18221 as_fn_error $?
"ambiguous option: \`$1'
18222 Try \`$0 --help' for more information.";;
18223 --help |
--hel |
-h )
18224 $as_echo "$ac_cs_usage"; exit ;;
18225 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18226 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18229 # This is an error.
18230 -*) as_fn_error $?
"unrecognized option: \`$1'
18231 Try \`$0 --help' for more information." ;;
18233 *) as_fn_append ac_config_targets
" $1"
18234 ac_need_defaults
=false
;;
18240 ac_configure_extra_args
=
18242 if $ac_cs_silent; then
18244 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18248 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18249 if \$ac_cs_recheck; then
18250 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18252 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18253 CONFIG_SHELL='$SHELL'
18254 export CONFIG_SHELL
18259 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18263 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18264 ## Running $as_me. ##
18270 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18274 wine_fn_output_makedep ()
18276 as_dir=tools; as_fn_mkdir_p
18277 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18279 wine_fn_output_makefile ()
18281 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18282 `cat $wine_rules_file`
18284 as_fn_error $? "could not create Makefile" "$LINENO" 5
18286 wine_fn_output_gitignore ()
18288 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18291 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18296 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18298 # Handling of arguments.
18299 for ac_config_target
in $ac_config_targets
18301 case $ac_config_target in
18302 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18303 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18304 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18305 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18306 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18307 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18308 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18309 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18310 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18311 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18312 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
18313 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18314 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18315 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18317 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18322 # If the user did not use the arguments to specify the items to instantiate,
18323 # then the envvar interface is used. Set only those that are not.
18324 # We use the long form for the default assignment because of an extremely
18325 # bizarre bug on SunOS 4.1.3.
18326 if $ac_need_defaults; then
18327 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18328 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18329 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18330 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18333 # Have a temporary directory for convenience. Make it in the build tree
18334 # simply because there is no reason against having it here, and in addition,
18335 # creating and moving files from /tmp can sometimes cause problems.
18336 # Hook for its removal unless debugging.
18337 # Note that there is a small window in which the directory will not be cleaned:
18338 # after its creation but before its name has been assigned to `$tmp'.
18342 trap 'exit_status=$?
18343 : "${ac_tmp:=$tmp}"
18344 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18346 trap 'as_fn_exit 1' 1 2 13 15
18348 # Create a (secure) tmp directory for tmp files.
18351 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18355 tmp
=.
/conf$$
-$RANDOM
18356 (umask 077 && mkdir
"$tmp")
18357 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18360 # Set up the scripts for CONFIG_FILES section.
18361 # No need to generate them if there are no CONFIG_FILES.
18362 # This happens for instance with `./config.status config.h'.
18363 if test -n "$CONFIG_FILES"; then
18366 ac_cr
=`echo X | tr X '\015'`
18367 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18368 # But we know of no other shell where ac_cr would be empty at this
18369 # point, so we can use a bashism as a fallback.
18370 if test "x$ac_cr" = x
; then
18371 eval ac_cr
=\$
\'\\r
\'
18373 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18374 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18377 ac_cs_awk_cr
=$ac_cr
18380 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18385 echo "cat >conf$$subs.awk <<_ACEOF" &&
18386 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18388 } >conf$$subs.sh ||
18389 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18390 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18392 for ac_last_try in false false false false false :; do
18393 . ./conf$$subs.sh ||
18394 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18396 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18397 if test $ac_delim_n = $ac_delim_num; then
18399 elif $ac_last_try; then
18400 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18402 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18405 rm -f conf$$subs.sh
18407 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18408 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18412 s/^/S["/; s
/!.
*/"]=/
18422 s/\(.\{148\}\)..*/\1/
18424 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18429 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18436 s/\(.\{148\}\)..*/\1/
18438 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18442 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18447 ' <conf$$subs.awk | sed '
18452 ' >>$CONFIG_STATUS || ac_write_fail=1
18453 rm -f conf$$subs.awk
18454 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18456 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18457 for (key in S) S_is_set[key] = 1
18463 nfields = split(line, field, "@
")
18465 len = length(field[1])
18466 for (i = 2; i < nfields; i++) {
18468 keylen = length(key)
18469 if (S_is_set[key]) {
18471 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18472 len += length(value) + length(field[++i])
18483 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18484 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18485 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18488 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18489 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18492 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18493 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18494 # trailing colons and then remove the whole line if VPATH becomes empty
18495 # (actually we leave an empty line to preserve line numbers).
18496 if test "x
$srcdir" = x.; then
18497 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18515 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18516 fi # test -n "$CONFIG_FILES"
18518 # Set up the scripts for CONFIG_HEADERS section.
18519 # No need to generate them if there are no CONFIG_HEADERS.
18520 # This happens for instance with `./config.status Makefile'.
18521 if test -n "$CONFIG_HEADERS"; then
18522 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18526 # Transform confdefs.h into an awk script `defines.awk', embedded as
18527 # here-document in config.status, that substitutes the proper values into
18528 # config.h.in to produce config.h.
18530 # Create a delimiter string that does not exist in confdefs.h, to ease
18531 # handling of long lines.
18533 for ac_last_try in false false :; do
18534 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18535 if test -z "$ac_tt"; then
18537 elif $ac_last_try; then
18538 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18540 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18544 # For the awk script, D is an array of macro values keyed by name,
18545 # likewise P contains macro parameters if any. Preserve backslash
18546 # newline sequences.
18548 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18550 s/.\{148\}/&'"$ac_delim"'/g
18553 s/^[ ]*#[ ]*define[ ][ ]*/ /
18560 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18562 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18566 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18567 D["\
1"]=" \
3\\\\\\n
"\\/p
18569 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18574 s/.\{148\}/&'"$ac_delim"'/g
18579 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18582 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18584 ' <confdefs.h | sed '
18585 s/'"$ac_delim"'/"\\\
18586 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18588 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18589 for (key in D) D_is_set[key] = 1
18592 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18594 split(line, arg, " ")
18595 if (arg[1] == "#") {
18599 defundef
= substr
(arg
[1], 2)
18602 split(mac1
, mac2
, "(") #)
18604 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18605 if (D_is_set
[macro
]) {
18606 # Preserve the white space surrounding the "#".
18607 print prefix
"define", macro P
[macro
] D
[macro
]
18610 # Replace #undef with comments. This is necessary, for example,
18611 # in the case of _POSIX_SOURCE, which is predefined and required
18612 # on some systems where configure will not decide to define it.
18613 if (defundef
== "undef") {
18614 print
"/*", prefix defundef
, macro
, "*/"
18622 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18623 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18624 fi # test -n "$CONFIG_HEADERS"
18627 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18632 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18634 case $ac_mode$ac_tag in
18636 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18637 :[FH
]-) ac_tag
=-:-;;
18638 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18655 -) ac_f
="$ac_tmp/stdin";;
18656 *) # Look for the file first in the build tree, then in the source tree
18657 # (if the path is not absolute). The absolute path cannot be DOS-style,
18658 # because $ac_f cannot contain `:'.
18662 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18664 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18666 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18667 as_fn_append ac_file_inputs
" '$ac_f'"
18670 # Let's still pretend it is `configure' which instantiates (i.e., don't
18671 # use $as_me), people would be surprised to read:
18672 # /* config.h. Generated by config.status. */
18673 configure_input
='Generated from '`
18674 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18676 if test x
"$ac_file" != x-
; then
18677 configure_input
="$ac_file. $configure_input"
18678 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18679 $as_echo "$as_me: creating $ac_file" >&6;}
18681 # Neutralize special characters interpreted by sed in replacement strings.
18682 case $configure_input in #(
18683 *\
&* |
*\|
* |
*\\* )
18684 ac_sed_conf_input
=`$as_echo "$configure_input" |
18685 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18686 *) ac_sed_conf_input
=$configure_input;;
18690 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
18691 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
18696 ac_dir
=`$as_dirname -- "$ac_file" ||
18697 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18698 X"$ac_file" : 'X\(//\)[^/]' \| \
18699 X"$ac_file" : 'X\(//\)$' \| \
18700 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18701 $as_echo X"$ac_file" |
18702 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18706 /^X\(\/\/\)[^/].*/{
18719 as_dir
="$ac_dir"; as_fn_mkdir_p
18723 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18725 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18726 # A ".." for each directory in $ac_dir_suffix.
18727 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18728 case $ac_top_builddir_sub in
18729 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18730 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18733 ac_abs_top_builddir
=$ac_pwd
18734 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18735 # for backward compatibility:
18736 ac_top_builddir
=$ac_top_build_prefix
18739 .
) # We are building in place.
18741 ac_top_srcdir
=$ac_top_builddir_sub
18742 ac_abs_top_srcdir
=$ac_pwd ;;
18743 [\\/]* | ?
:[\\/]* ) # Absolute name.
18744 ac_srcdir
=$srcdir$ac_dir_suffix;
18745 ac_top_srcdir
=$srcdir
18746 ac_abs_top_srcdir
=$srcdir ;;
18747 *) # Relative name.
18748 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18749 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18750 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18752 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18763 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18764 # If the template does not know about datarootdir, expand it.
18765 # FIXME: This hack should be removed a few years after 2.60.
18766 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18777 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18778 *datarootdir
*) ac_datarootdir_seen
=yes;;
18779 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18781 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18783 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18784 ac_datarootdir_hack='
18785 s&@datadir@&$datadir&g
18786 s&@docdir@&$docdir&g
18787 s&@infodir@&$infodir&g
18788 s&@localedir@&$localedir&g
18789 s&@mandir@&$mandir&g
18790 s&\\\${datarootdir}&$datarootdir&g' ;;
18794 # Neutralize VPATH when `$srcdir' = `.'.
18795 # Shell code in configure.ac might set extrasub.
18796 # FIXME: do we really want to maintain this feature?
18797 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18798 ac_sed_extra="$ac_vpsub
18801 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18803 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18804 s|@configure_input@|
$ac_sed_conf_input|
;t t
18805 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18806 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18807 s
&@srcdir@
&$ac_srcdir&;t t
18808 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18809 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18810 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18811 s
&@builddir@
&$ac_builddir&;t t
18812 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18813 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18814 $ac_datarootdir_hack
18816 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
18817 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18819 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18820 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
18821 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18822 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
18823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18824 which seems to be undefined. Please make sure it is defined" >&5
18825 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18826 which seems to be undefined. Please make sure it is defined" >&2;}
18828 rm -f "$ac_tmp/stdin"
18830 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18831 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18833 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18839 if test x"$ac_file" != x-; then
18841 $as_echo "/* $configure_input */" \
18842 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18843 } >"$ac_tmp/config.h" \
18844 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18845 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18846 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18847 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18850 mv "$ac_tmp/config.h" "$ac_file" \
18851 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18854 $as_echo "/* $configure_input */" \
18855 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18856 || as_fn_error $? "could not create -" "$LINENO" 5
18864 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
18867 # Prefer the file from the source tree if names are identical.
18868 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18869 ac_source=$srcdir/$ac_source
18872 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18873 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18875 if test ! -r "$ac_source"; then
18876 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18880 # Try a relative symlink, then a hard link, then a copy.
18882 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18883 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18885 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18886 ln "$ac_source" "$ac_file" 2>/dev/null ||
18887 cp -p "$ac_source" "$ac_file" ||
18888 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18891 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18892 $as_echo "$as_me: executing $ac_file commands" >&6;}
18897 case $ac_file$ac_mode in
18898 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18899 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
18900 "Makefile":C) wine_fn_output_makefile Makefile ;;
18901 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
18909 ac_clean_files=$ac_clean_files_save
18911 test $ac_write_fail = 0 ||
18912 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18915 # configure is writing to config.log, and then calls config.status.
18916 # config.status does its own redirection, appending to config.log.
18917 # Unfortunately, on DOS this fails, as config.log is still kept open
18918 # by configure, so config.status won't be able to
write to it
; its
18919 # output is simply discarded. So we exec the FD to /dev/null,
18920 # effectively closing config.log, so it can be properly (re)opened and
18921 # appended to by config.status. When coming back to configure, we
18922 # need to make the FD available again.
18923 if test "$no_create" != yes; then
18925 ac_config_status_args
=
18926 test "$silent" = yes &&
18927 ac_config_status_args
="$ac_config_status_args --quiet"
18929 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18931 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18932 # would make configure fail if this is the last instruction.
18933 $ac_cs_success || as_fn_exit
1
18935 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18937 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18941 if test "$no_create" = "yes"
18947 if test "x$wine_notices != "x
; then
18950 for msg
in $wine_notices; do
18952 if ${msg:+false} :; then :
18955 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
18956 $as_echo "$as_me: $msg" >&6;}
18961 for msg
in $wine_warnings; do
18963 if ${msg:+false} :; then :
18967 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
18968 $as_echo "$as_me: WARNING: $msg" >&2;}
18974 $as_me: Finished. Do '${ac_make}' to compile Wine.