2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.31.
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.31'
584 PACKAGE_STRING
='Wine 1.7.31'
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
698 APPLICATIONSERVICES_LIBS
782 program_transform_name
795 enable_option_checking
799 enable_maintainer_mode
856 enable_api_ms_win_core_com_l1_1_0
857 enable_api_ms_win_core_console_l1_1_0
858 enable_api_ms_win_core_debug_l1_1_1
859 enable_api_ms_win_core_errorhandling_l1_1_1
860 enable_api_ms_win_core_file_l1_2_0
861 enable_api_ms_win_core_handle_l1_1_0
862 enable_api_ms_win_core_heap_l1_2_0
863 enable_api_ms_win_core_heap_obsolete_l1_1_0
864 enable_api_ms_win_core_interlocked_l1_2_0
865 enable_api_ms_win_core_io_l1_1_1
866 enable_api_ms_win_core_kernel32_legacy_l1_1_0
867 enable_api_ms_win_core_libraryloader_l1_1_1
868 enable_api_ms_win_core_localization_l1_2_0
869 enable_api_ms_win_core_localization_obsolete_l1_1_0
870 enable_api_ms_win_core_localregistry_l1_1_0
871 enable_api_ms_win_core_memory_l1_1_1
872 enable_api_ms_win_core_namedpipe_l1_2_0
873 enable_api_ms_win_core_processenvironment_l1_2_0
874 enable_api_ms_win_core_processthreads_l1_1_0
875 enable_api_ms_win_core_processthreads_l1_1_1
876 enable_api_ms_win_core_profile_l1_1_0
877 enable_api_ms_win_core_psapi_l1_1_0
878 enable_api_ms_win_core_registry_l1_1_0
879 enable_api_ms_win_core_rtlsupport_l1_2_0
880 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
881 enable_api_ms_win_core_string_l1_1_0
882 enable_api_ms_win_core_synch_l1_2_0
883 enable_api_ms_win_core_sysinfo_l1_2_0
884 enable_api_ms_win_core_threadpool_legacy_l1_1_0
885 enable_api_ms_win_core_timezone_l1_1_0
886 enable_api_ms_win_core_url_l1_1_0
887 enable_api_ms_win_core_util_l1_1_0
888 enable_api_ms_win_core_winrt_error_l1_1_0
889 enable_api_ms_win_core_winrt_string_l1_1_0
890 enable_api_ms_win_downlevel_advapi32_l1_1_0
891 enable_api_ms_win_downlevel_advapi32_l2_1_0
892 enable_api_ms_win_downlevel_normaliz_l1_1_0
893 enable_api_ms_win_downlevel_ole32_l1_1_0
894 enable_api_ms_win_downlevel_shell32_l1_1_0
895 enable_api_ms_win_downlevel_shlwapi_l1_1_0
896 enable_api_ms_win_downlevel_shlwapi_l2_1_0
897 enable_api_ms_win_downlevel_user32_l1_1_0
898 enable_api_ms_win_downlevel_version_l1_1_0
899 enable_api_ms_win_eventing_provider_l1_1_0
900 enable_api_ms_win_ntuser_dc_access_l1_1_0
901 enable_api_ms_win_security_base_l1_1_0
902 enable_api_ms_win_security_base_l1_2_0
903 enable_api_ms_win_security_sddl_l1_1_0
904 enable_api_ms_win_service_core_l1_1_1
905 enable_api_ms_win_service_management_l1_1_0
906 enable_api_ms_win_service_winsvc_l1_2_0
947 enable_d3dcompiler_33
948 enable_d3dcompiler_34
949 enable_d3dcompiler_35
950 enable_d3dcompiler_36
951 enable_d3dcompiler_37
952 enable_d3dcompiler_38
953 enable_d3dcompiler_39
954 enable_d3dcompiler_40
955 enable_d3dcompiler_41
956 enable_d3dcompiler_42
957 enable_d3dcompiler_43
1032 enable_explorerframe
1033 enable_ext_ms_win_gdi_devcaps_l1_1_0
1183 enable_photometadatahandler
1265 enable_windowscodecs
1266 enable_windowscodecsext
1268 enable_winecoreaudio_drv
1270 enable_winegstreamer
1271 enable_winejoystick_drv
1277 enable_wineqtdecoder
1314 enable_documentation
1322 enable_aspnet_regiis
1355 enable_presentationfontcache
1368 enable_servicemodelreg
1389 enable_winemenubuilder
1391 enable_winemsibuilder
1405 ac_precious_vars
='build_alias
1454 # Initialize some variables set by options.
1456 ac_init_version
=false
1457 ac_unrecognized_opts
=
1458 ac_unrecognized_sep
=
1459 # The variables have the same names as the options, with
1460 # dashes changed to underlines.
1461 cache_file
=/dev
/null
1468 program_transform_name
=s
,x
,x
,
1476 # Installation directory options.
1477 # These are left unexpanded so users can "make install exec_prefix=/foo"
1478 # and all the variables that are supposed to be based on exec_prefix
1479 # by default will actually change.
1480 # Use braces instead of parens because sh, perl, etc. also accept them.
1481 # (The list follows the same order as the GNU Coding Standards.)
1482 bindir
='${exec_prefix}/bin'
1483 sbindir
='${exec_prefix}/sbin'
1484 libexecdir
='${exec_prefix}/libexec'
1485 datarootdir
='${prefix}/share'
1486 datadir
='${datarootdir}'
1487 sysconfdir
='${prefix}/etc'
1488 sharedstatedir
='${prefix}/com'
1489 localstatedir
='${prefix}/var'
1490 includedir
='${prefix}/include'
1491 oldincludedir
='/usr/include'
1492 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1493 infodir
='${datarootdir}/info'
1498 libdir
='${exec_prefix}/lib'
1499 localedir
='${datarootdir}/locale'
1500 mandir
='${datarootdir}/man'
1506 # If the previous option needs an argument, assign it.
1507 if test -n "$ac_prev"; then
1508 eval $ac_prev=\
$ac_option
1514 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1519 # Accept the important Cygnus configure options, so we can diagnose typos.
1521 case $ac_dashdash$ac_option in
1525 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1527 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1528 bindir
=$ac_optarg ;;
1530 -build |
--build |
--buil |
--bui |
--bu)
1531 ac_prev
=build_alias
;;
1532 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1533 build_alias
=$ac_optarg ;;
1535 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1536 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1537 ac_prev
=cache_file
;;
1538 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1539 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1540 cache_file
=$ac_optarg ;;
1542 --config-cache |
-C)
1543 cache_file
=config.cache
;;
1545 -datadir |
--datadir |
--datadi |
--datad)
1547 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1548 datadir
=$ac_optarg ;;
1550 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1551 |
--dataroo |
--dataro |
--datar)
1552 ac_prev
=datarootdir
;;
1553 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1554 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1555 datarootdir
=$ac_optarg ;;
1557 -disable-* |
--disable-*)
1558 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1559 # Reject names that are not valid shell variable names.
1560 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1561 as_fn_error $?
"invalid feature name: $ac_useropt"
1562 ac_useropt_orig
=$ac_useropt
1563 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1564 case $ac_user_opts in
1566 "enable_
$ac_useropt"
1568 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1569 ac_unrecognized_sep
=', ';;
1571 eval enable_
$ac_useropt=no
;;
1573 -docdir |
--docdir |
--docdi |
--doc |
--do)
1575 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1576 docdir
=$ac_optarg ;;
1578 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1580 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1581 dvidir
=$ac_optarg ;;
1583 -enable-* |
--enable-*)
1584 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1585 # Reject names that are not valid shell variable names.
1586 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1587 as_fn_error $?
"invalid feature name: $ac_useropt"
1588 ac_useropt_orig
=$ac_useropt
1589 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1590 case $ac_user_opts in
1592 "enable_
$ac_useropt"
1594 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1595 ac_unrecognized_sep
=', ';;
1597 eval enable_
$ac_useropt=\
$ac_optarg ;;
1599 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1600 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1601 |
--exec |
--exe |
--ex)
1602 ac_prev
=exec_prefix
;;
1603 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1604 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1605 |
--exec=* |
--exe=* |
--ex=*)
1606 exec_prefix
=$ac_optarg ;;
1608 -gas |
--gas |
--ga |
--g)
1609 # Obsolete; use --with-gas.
1612 -help |
--help |
--hel |
--he |
-h)
1613 ac_init_help
=long
;;
1614 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1615 ac_init_help
=recursive
;;
1616 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1617 ac_init_help
=short
;;
1619 -host |
--host |
--hos |
--ho)
1620 ac_prev
=host_alias
;;
1621 -host=* |
--host=* |
--hos=* |
--ho=*)
1622 host_alias
=$ac_optarg ;;
1624 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1626 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1628 htmldir
=$ac_optarg ;;
1630 -includedir |
--includedir |
--includedi |
--included |
--include \
1631 |
--includ |
--inclu |
--incl |
--inc)
1632 ac_prev
=includedir
;;
1633 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1634 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1635 includedir
=$ac_optarg ;;
1637 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1639 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1640 infodir
=$ac_optarg ;;
1642 -libdir |
--libdir |
--libdi |
--libd)
1644 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1645 libdir
=$ac_optarg ;;
1647 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1648 |
--libexe |
--libex |
--libe)
1649 ac_prev
=libexecdir
;;
1650 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1651 |
--libexe=* |
--libex=* |
--libe=*)
1652 libexecdir
=$ac_optarg ;;
1654 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1655 ac_prev
=localedir
;;
1656 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1657 localedir
=$ac_optarg ;;
1659 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1660 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1661 ac_prev
=localstatedir
;;
1662 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1663 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1664 localstatedir
=$ac_optarg ;;
1666 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1668 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1669 mandir
=$ac_optarg ;;
1671 -nfp |
--nfp |
--nf)
1672 # Obsolete; use --without-fp.
1675 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1676 |
--no-cr |
--no-c |
-n)
1679 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1680 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1683 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1684 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1685 |
--oldin |
--oldi |
--old |
--ol |
--o)
1686 ac_prev
=oldincludedir
;;
1687 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1688 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1689 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1690 oldincludedir
=$ac_optarg ;;
1692 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1694 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1695 prefix
=$ac_optarg ;;
1697 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1698 |
--program-pre |
--program-pr |
--program-p)
1699 ac_prev
=program_prefix
;;
1700 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1701 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1702 program_prefix
=$ac_optarg ;;
1704 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1705 |
--program-suf |
--program-su |
--program-s)
1706 ac_prev
=program_suffix
;;
1707 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1708 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1709 program_suffix
=$ac_optarg ;;
1711 -program-transform-name |
--program-transform-name \
1712 |
--program-transform-nam |
--program-transform-na \
1713 |
--program-transform-n |
--program-transform- \
1714 |
--program-transform |
--program-transfor \
1715 |
--program-transfo |
--program-transf \
1716 |
--program-trans |
--program-tran \
1717 |
--progr-tra |
--program-tr |
--program-t)
1718 ac_prev
=program_transform_name
;;
1719 -program-transform-name=* |
--program-transform-name=* \
1720 |
--program-transform-nam=* |
--program-transform-na=* \
1721 |
--program-transform-n=* |
--program-transform-=* \
1722 |
--program-transform=* |
--program-transfor=* \
1723 |
--program-transfo=* |
--program-transf=* \
1724 |
--program-trans=* |
--program-tran=* \
1725 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1726 program_transform_name
=$ac_optarg ;;
1728 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1730 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1731 pdfdir
=$ac_optarg ;;
1733 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1735 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1738 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1739 |
-silent |
--silent |
--silen |
--sile |
--sil)
1742 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1744 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1746 sbindir
=$ac_optarg ;;
1748 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1749 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1750 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1752 ac_prev
=sharedstatedir
;;
1753 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1754 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1755 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1757 sharedstatedir
=$ac_optarg ;;
1759 -site |
--site |
--sit)
1761 -site=* |
--site=* |
--sit=*)
1764 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1766 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1767 srcdir
=$ac_optarg ;;
1769 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1770 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1771 ac_prev
=sysconfdir
;;
1772 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1773 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1774 sysconfdir
=$ac_optarg ;;
1776 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1777 ac_prev
=target_alias
;;
1778 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1779 target_alias
=$ac_optarg ;;
1781 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1784 -version |
--version |
--versio |
--versi |
--vers |
-V)
1785 ac_init_version
=: ;;
1788 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1789 # Reject names that are not valid shell variable names.
1790 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1791 as_fn_error $?
"invalid package name: $ac_useropt"
1792 ac_useropt_orig
=$ac_useropt
1793 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1794 case $ac_user_opts in
1798 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1799 ac_unrecognized_sep
=', ';;
1801 eval with_
$ac_useropt=\
$ac_optarg ;;
1803 -without-* |
--without-*)
1804 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1805 # Reject names that are not valid shell variable names.
1806 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1807 as_fn_error $?
"invalid package name: $ac_useropt"
1808 ac_useropt_orig
=$ac_useropt
1809 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1810 case $ac_user_opts in
1814 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1815 ac_unrecognized_sep
=', ';;
1817 eval with_
$ac_useropt=no
;;
1820 # Obsolete; use --with-x.
1823 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1824 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1825 ac_prev
=x_includes
;;
1826 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1827 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1828 x_includes
=$ac_optarg ;;
1830 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1831 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1832 ac_prev
=x_libraries
;;
1833 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1834 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1835 x_libraries
=$ac_optarg ;;
1837 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1838 Try \`$0 --help' for more information"
1842 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1843 # Reject names that are not valid shell variable names.
1844 case $ac_envvar in #(
1845 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1846 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1848 eval $ac_envvar=\
$ac_optarg
1849 export $ac_envvar ;;
1852 # FIXME: should be removed in autoconf 3.0.
1853 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1854 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1855 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1856 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1862 if test -n "$ac_prev"; then
1863 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1864 as_fn_error $?
"missing argument to $ac_option"
1867 if test -n "$ac_unrecognized_opts"; then
1868 case $enable_option_checking in
1870 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1871 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1875 # Check all directory arguments for consistency.
1876 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1877 datadir sysconfdir sharedstatedir localstatedir includedir \
1878 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1879 libdir localedir mandir
1881 eval ac_val
=\$
$ac_var
1882 # Remove trailing slashes.
1885 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1886 eval $ac_var=\
$ac_val;;
1888 # Be sure to have absolute directory names.
1890 [\\/$
]* | ?
:[\\/]* ) continue;;
1891 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1893 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1896 # There might be people who depend on the old broken behavior: `$host'
1897 # used to hold the argument of --host etc.
1898 # FIXME: To remove some day.
1901 target
=$target_alias
1903 # FIXME: To remove some day.
1904 if test "x$host_alias" != x
; then
1905 if test "x$build_alias" = x
; then
1906 cross_compiling
=maybe
1907 elif test "x$build_alias" != "x$host_alias"; then
1913 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1915 test "$silent" = yes && exec 6>/dev
/null
1918 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1919 ac_ls_di
=`ls -di .` &&
1920 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1921 as_fn_error $?
"working directory cannot be determined"
1922 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1923 as_fn_error $?
"pwd does not report name of working directory"
1926 # Find the source files, if location was not specified.
1927 if test -z "$srcdir"; then
1928 ac_srcdir_defaulted
=yes
1929 # Try the directory containing this script, then the parent directory.
1930 ac_confdir
=`$as_dirname -- "$as_myself" ||
1931 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1932 X"$as_myself" : 'X\(//\)[^/]' \| \
1933 X"$as_myself" : 'X\(//\)$' \| \
1934 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1935 $as_echo X"$as_myself" |
1936 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1954 if test ! -r "$srcdir/$ac_unique_file"; then
1958 ac_srcdir_defaulted
=no
1960 if test ! -r "$srcdir/$ac_unique_file"; then
1961 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1962 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1964 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1966 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1968 # When building in place, set srcdir=.
1969 if test "$ac_abs_confdir" = "$ac_pwd"; then
1972 # Remove unnecessary trailing slashes from srcdir.
1973 # Double slashes in file names in object file debugging info
1974 # mess up M-x gdb in Emacs.
1976 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1978 for ac_var
in $ac_precious_vars; do
1979 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1980 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1981 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1982 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1986 # Report the --help message.
1988 if test "$ac_init_help" = "long"; then
1989 # Omit some internal or obsolete options to make the list less imposing.
1990 # This message is too long to be a string in the A/UX 3.1 sh.
1992 \`configure' configures Wine 1.7.31 to adapt to many kinds of systems.
1994 Usage: $0 [OPTION]... [VAR=VALUE]...
1996 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1997 VAR=VALUE. See below for descriptions of some of the useful variables.
1999 Defaults for the options are specified in brackets.
2002 -h, --help display this help and exit
2003 --help=short display options specific to this package
2004 --help=recursive display the short help of all the included packages
2005 -V, --version display version information and exit
2006 -q, --quiet, --silent do not print \`checking ...' messages
2007 --cache-file=FILE cache test results in FILE [disabled]
2008 -C, --config-cache alias for \`--cache-file=config.cache'
2009 -n, --no-create do not create output files
2010 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2012 Installation directories:
2013 --prefix=PREFIX install architecture-independent files in PREFIX
2014 [$ac_default_prefix]
2015 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2018 By default, \`make install' will install all the files in
2019 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2020 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2021 for instance \`--prefix=\$HOME'.
2023 For better control, use the options below.
2025 Fine tuning of the installation directories:
2026 --bindir=DIR user executables [EPREFIX/bin]
2027 --sbindir=DIR system admin executables [EPREFIX/sbin]
2028 --libexecdir=DIR program executables [EPREFIX/libexec]
2029 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2030 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2031 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2032 --libdir=DIR object code libraries [EPREFIX/lib]
2033 --includedir=DIR C header files [PREFIX/include]
2034 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2035 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2036 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2037 --infodir=DIR info documentation [DATAROOTDIR/info]
2038 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2039 --mandir=DIR man documentation [DATAROOTDIR/man]
2040 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2041 --htmldir=DIR html documentation [DOCDIR]
2042 --dvidir=DIR dvi documentation [DOCDIR]
2043 --pdfdir=DIR pdf documentation [DOCDIR]
2044 --psdir=DIR ps documentation [DOCDIR]
2050 --x-includes=DIR X include files are
in DIR
2051 --x-libraries=DIR X library files are
in DIR
2054 --build=BUILD configure
for building on BUILD
[guessed
]
2055 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2059 if test -n "$ac_init_help"; then
2060 case $ac_init_help in
2061 short | recursive
) echo "Configuration of Wine 1.7.31:";;
2066 --disable-option-checking ignore unrecognized
--enable/--with options
2067 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2068 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2069 --disable-win16 do not include Win16 support
2070 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2072 --disable-tests do not build the regression tests
2073 --enable-maintainer-mode
2074 enable maintainer-specific build rules
2075 --disable-largefile omit support for large files
2078 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2079 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2080 --without-alsa do not use the Alsa sound support
2081 --without-capi do not use CAPI (ISDN support)
2082 --without-cms do not use CMS (color management support)
2083 --without-coreaudio do not use the CoreAudio sound support
2084 --without-cups do not use CUPS
2085 --without-curses do not use (n)curses
2086 --without-dbus do not use DBus (dynamic device support)
2087 --without-fontconfig do not use fontconfig
2088 --without-freetype do not use the FreeType library
2089 --without-gettext do not use gettext
2090 --with-gettextpo use the GetTextPO library to rebuild po files
2091 --without-gphoto do not use gphoto (Digital Camera support)
2092 --without-glu do not use the GLU library
2093 --without-gnutls do not use GnuTLS (schannel support)
2094 --without-gsm do not use libgsm (GSM 06.10 codec support)
2095 --without-gstreamer do not use GStreamer (codecs support)
2096 --without-hal do not use HAL (dynamic device support)
2097 --without-jpeg do not use JPEG
2098 --without-ldap do not use LDAP
2099 --without-mpg123 do not use the mpg123 library
2100 --without-netapi do not use the Samba NetAPI library
2101 --without-openal do not use OpenAL
2102 --without-opencl do not use OpenCL
2103 --without-opengl do not use OpenGL
2104 --without-osmesa do not use the OSMesa library
2105 --without-oss do not use the OSS sound support
2106 --without-pcap do not use the Packet Capture library
2107 --without-png do not use PNG
2108 --without-pthread do not use the pthread library
2109 --without-sane do not use SANE (scanner support)
2110 --without-tiff do not use TIFF
2111 --without-v4l do not use v4l1 (v4l support)
2112 --without-xcomposite do not use the Xcomposite extension
2113 --without-xcursor do not use the Xcursor extension
2114 --without-xinerama do not use Xinerama (multi-monitor support)
2115 --without-xinput do not use the Xinput extension
2116 --without-xinput2 do not use the Xinput 2 extension
2117 --without-xml do not use XML
2118 --without-xrandr do not use Xrandr (resolution changes)
2119 --without-xrender do not use the Xrender extension
2120 --without-xshape do not use the Xshape extension
2121 --without-xshm do not use XShm (shared memory extension)
2122 --without-xslt do not use XSLT
2123 --without-xxf86vm do not use XFree video mode extension
2124 --without-zlib do not use Zlib (data compression)
2125 --with-wine-tools=DIR use Wine tools from directory DIR
2126 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2127 --with-x use the X Window System
2129 Some influential environment variables:
2130 CC C compiler command
2131 CFLAGS C compiler flags
2132 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2133 nonstandard directory <lib dir>
2134 LIBS libraries to pass to the linker, e.g. -l<library>
2135 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2136 you have headers in a nonstandard directory <include dir>
2137 CXX C++ compiler command
2138 CXXFLAGS C++ compiler flags
2140 XMKMF Path to xmkmf, Makefile generator for X Window System
2141 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2142 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2143 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2144 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2145 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2146 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2147 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2148 HAL_LIBS Linker flags for hal, overriding pkg-config
2150 C compiler flags for gnutls, overriding pkg-config
2151 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2152 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2153 SANE_LIBS Linker flags for libsane, overriding pkg-config
2155 C compiler flags for libgphoto2, overriding pkg-config
2157 Linker flags for libgphoto2, overriding pkg-config
2159 C compiler flags for libgphoto2_port, overriding pkg-config
2161 Linker flags for libgphoto2_port, overriding pkg-config
2163 C compiler flags for lcms2, overriding pkg-config
2164 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2166 C compiler flags for freetype2, overriding pkg-config
2168 Linker flags for freetype2, overriding pkg-config
2170 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2172 Linker flags for gstreamer-app-0.10, overriding pkg-config
2174 C compiler flags for capi20, overriding pkg-config
2175 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2177 C compiler flags for fontconfig, overriding pkg-config
2179 Linker flags for fontconfig, overriding pkg-config
2180 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2181 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2182 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2183 PNG_LIBS Linker flags for libpng, overriding pkg-config
2184 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2185 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2187 C compiler flags for libmpg123, overriding pkg-config
2188 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2190 Use these variables to override the choices made by `configure' or to
help
2191 it to
find libraries and programs with nonstandard names
/locations.
2193 Report bugs to
<wine-devel@winehq.org
>.
2194 Wine home page
: <http
://www.winehq.org
>.
2199 if test "$ac_init_help" = "recursive"; then
2200 # If there are subdirs, report their specific --help.
2201 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2202 test -d "$ac_dir" ||
2203 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2208 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2210 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2211 # A ".." for each directory in $ac_dir_suffix.
2212 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2213 case $ac_top_builddir_sub in
2214 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2215 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2218 ac_abs_top_builddir
=$ac_pwd
2219 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2220 # for backward compatibility:
2221 ac_top_builddir
=$ac_top_build_prefix
2224 .
) # We are building in place.
2226 ac_top_srcdir
=$ac_top_builddir_sub
2227 ac_abs_top_srcdir
=$ac_pwd ;;
2228 [\\/]* | ?
:[\\/]* ) # Absolute name.
2229 ac_srcdir
=$srcdir$ac_dir_suffix;
2230 ac_top_srcdir
=$srcdir
2231 ac_abs_top_srcdir
=$srcdir ;;
2233 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2234 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2235 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2237 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2239 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2240 # Check for guested configure.
2241 if test -f "$ac_srcdir/configure.gnu"; then
2243 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2244 elif test -f "$ac_srcdir/configure"; then
2246 $SHELL "$ac_srcdir/configure" --help=recursive
2248 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2250 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2254 test -n "$ac_init_help" && exit $ac_status
2255 if $ac_init_version; then
2257 Wine configure
1.7.31
2258 generated by GNU Autoconf
2.69
2260 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2261 This configure
script is free software
; the Free Software Foundation
2262 gives unlimited permission to copy
, distribute and modify it.
2267 ## ------------------------ ##
2268 ## Autoconf initialization. ##
2269 ## ------------------------ ##
2271 # ac_fn_c_try_compile LINENO
2272 # --------------------------
2273 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2274 ac_fn_c_try_compile
()
2276 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2277 rm -f conftest.
$ac_objext
2278 if { { ac_try
="$ac_compile"
2280 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2281 *) ac_try_echo=$ac_try;;
2283 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2284 $as_echo "$ac_try_echo"; } >&5
2285 (eval "$ac_compile") 2>conftest.err
2287 if test -s conftest.err; then
2288 grep -v '^ *+' conftest.err >conftest.er1
2289 cat conftest.er1 >&5
2290 mv -f conftest.er1 conftest.err
2292 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2293 test $ac_status = 0; } && {
2294 test -z "$ac_c_werror_flag" ||
2295 test ! -s conftest.err
2296 } && test -s conftest.$ac_objext; then :
2299 $as_echo "$as_me: failed program was:" >&5
2300 sed 's/^/| /' conftest.$ac_ext >&5
2304 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2305 as_fn_set_status $ac_retval
2307 } # ac_fn_c_try_compile
2309 # ac_fn_cxx_try_compile LINENO
2310 # ----------------------------
2311 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2312 ac_fn_cxx_try_compile ()
2314 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2315 rm -f conftest.$ac_objext
2316 if { { ac_try="$ac_compile"
2318 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2319 *) ac_try_echo
=$ac_try;;
2321 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2322 $as_echo "$ac_try_echo"; } >&5
2323 (eval "$ac_compile") 2>conftest.err
2325 if test -s conftest.err
; then
2326 grep -v '^ *+' conftest.err
>conftest.er1
2327 cat conftest.er1
>&5
2328 mv -f conftest.er1 conftest.err
2330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2331 test $ac_status = 0; } && {
2332 test -z "$ac_cxx_werror_flag" ||
2333 test ! -s conftest.err
2334 } && test -s conftest.
$ac_objext; then :
2337 $as_echo "$as_me: failed program was:" >&5
2338 sed 's/^/| /' conftest.
$ac_ext >&5
2342 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2343 as_fn_set_status
$ac_retval
2345 } # ac_fn_cxx_try_compile
2347 # ac_fn_c_try_link LINENO
2348 # -----------------------
2349 # Try to link conftest.$ac_ext, and return whether this succeeded.
2352 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2353 rm -f conftest.
$ac_objext conftest
$ac_exeext
2354 if { { ac_try
="$ac_link"
2356 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2357 *) ac_try_echo=$ac_try;;
2359 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2360 $as_echo "$ac_try_echo"; } >&5
2361 (eval "$ac_link") 2>conftest.err
2363 if test -s conftest.err; then
2364 grep -v '^ *+' conftest.err >conftest.er1
2365 cat conftest.er1 >&5
2366 mv -f conftest.er1 conftest.err
2368 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2369 test $ac_status = 0; } && {
2370 test -z "$ac_c_werror_flag" ||
2371 test ! -s conftest.err
2372 } && test -s conftest$ac_exeext && {
2373 test "$cross_compiling" = yes ||
2374 test -x conftest$ac_exeext
2378 $as_echo "$as_me: failed program was:" >&5
2379 sed 's/^/| /' conftest.$ac_ext >&5
2383 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2384 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2385 # interfere with the next link command; also delete a directory that is
2386 # left behind by Apple's compiler. We do this before executing the actions.
2387 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2388 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2389 as_fn_set_status $ac_retval
2391 } # ac_fn_c_try_link
2393 # ac_fn_c_try_cpp LINENO
2394 # ----------------------
2395 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2398 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2399 if { { ac_try="$ac_cpp conftest.$ac_ext"
2401 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2402 *) ac_try_echo
=$ac_try;;
2404 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2405 $as_echo "$ac_try_echo"; } >&5
2406 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2408 if test -s conftest.err
; then
2409 grep -v '^ *+' conftest.err
>conftest.er1
2410 cat conftest.er1
>&5
2411 mv -f conftest.er1 conftest.err
2413 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2414 test $ac_status = 0; } > conftest.i
&& {
2415 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2416 test ! -s conftest.err
2420 $as_echo "$as_me: failed program was:" >&5
2421 sed 's/^/| /' conftest.
$ac_ext >&5
2425 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2426 as_fn_set_status
$ac_retval
2430 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2431 # -------------------------------------------------------
2432 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2433 # the include files in INCLUDES and setting the cache variable VAR
2435 ac_fn_c_check_header_mongrel
()
2437 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2438 if eval \
${$3+:} false
; then :
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2440 $as_echo_n "checking for $2... " >&6; }
2441 if eval \
${$3+:} false
; then :
2442 $as_echo_n "(cached) " >&6
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2446 $as_echo "$ac_res" >&6; }
2448 # Is the header compilable?
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2450 $as_echo_n "checking $2 usability... " >&6; }
2451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2452 /* end confdefs.h. */
2456 if ac_fn_c_try_compile
"$LINENO"; then :
2457 ac_header_compiler
=yes
2459 ac_header_compiler
=no
2461 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2463 $as_echo "$ac_header_compiler" >&6; }
2465 # Is the header present?
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2467 $as_echo_n "checking $2 presence... " >&6; }
2468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2469 /* end confdefs.h. */
2472 if ac_fn_c_try_cpp
"$LINENO"; then :
2473 ac_header_preproc
=yes
2475 ac_header_preproc
=no
2477 rm -f conftest.err conftest.i conftest.
$ac_ext
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2479 $as_echo "$ac_header_preproc" >&6; }
2481 # So? What about this header?
2482 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2485 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2487 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2491 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2493 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2495 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2497 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2499 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2500 ( $as_echo "## ------------------------------------ ##
2501 ## Report this to wine-devel@winehq.org ##
2502 ## ------------------------------------ ##"
2503 ) |
sed "s/^/$as_me: WARNING: /" >&2
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2507 $as_echo_n "checking for $2... " >&6; }
2508 if eval \
${$3+:} false
; then :
2509 $as_echo_n "(cached) " >&6
2511 eval "$3=\$ac_header_compiler"
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2515 $as_echo "$ac_res" >&6; }
2517 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2519 } # ac_fn_c_check_header_mongrel
2521 # ac_fn_c_try_run LINENO
2522 # ----------------------
2523 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2524 # that executables *can* be run.
2527 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2528 if { { ac_try
="$ac_link"
2530 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2531 *) ac_try_echo=$ac_try;;
2533 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2534 $as_echo "$ac_try_echo"; } >&5
2535 (eval "$ac_link") 2>&5
2537 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2538 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2539 { { case "(($ac_try" in
2540 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2541 *) ac_try_echo
=$ac_try;;
2543 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2544 $as_echo "$ac_try_echo"; } >&5
2545 (eval "$ac_try") 2>&5
2547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2548 test $ac_status = 0; }; }; then :
2551 $as_echo "$as_me: program exited with status $ac_status" >&5
2552 $as_echo "$as_me: failed program was:" >&5
2553 sed 's/^/| /' conftest.
$ac_ext >&5
2555 ac_retval
=$ac_status
2557 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2558 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2559 as_fn_set_status
$ac_retval
2563 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2564 # -------------------------------------------------------
2565 # Tests whether HEADER exists and can be compiled using the include files in
2566 # INCLUDES, setting the cache variable VAR accordingly.
2567 ac_fn_c_check_header_compile
()
2569 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2571 $as_echo_n "checking for $2... " >&6; }
2572 if eval \
${$3+:} false
; then :
2573 $as_echo_n "(cached) " >&6
2575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2576 /* end confdefs.h. */
2580 if ac_fn_c_try_compile
"$LINENO"; then :
2585 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2589 $as_echo "$ac_res" >&6; }
2590 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2592 } # ac_fn_c_check_header_compile
2594 # ac_fn_c_check_func LINENO FUNC VAR
2595 # ----------------------------------
2596 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2597 ac_fn_c_check_func
()
2599 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2601 $as_echo_n "checking for $2... " >&6; }
2602 if eval \
${$3+:} false
; then :
2603 $as_echo_n "(cached) " >&6
2605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2606 /* end confdefs.h. */
2607 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2609 #define $2 innocuous_$2
2611 /* System header to define __stub macros and hopefully few prototypes,
2612 which can conflict with char $2 (); below.
2613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2614 <limits.h> exists even on freestanding compilers. */
2617 # include <limits.h>
2619 # include <assert.h>
2624 /* Override any GCC internal prototype to avoid an error.
2625 Use char because int might match the return type of a GCC
2626 builtin and then its argument prototype would still apply. */
2631 /* The GNU C library defines this for functions which it implements
2632 to always fail with ENOSYS. Some functions are actually named
2633 something starting with __ and the normal name is an alias. */
2634 #if defined __stub_$2 || defined __stub___$2
2646 if ac_fn_c_try_link
"$LINENO"; then :
2651 rm -f core conftest.err conftest.
$ac_objext \
2652 conftest
$ac_exeext conftest.
$ac_ext
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2656 $as_echo "$ac_res" >&6; }
2657 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2659 } # ac_fn_c_check_func
2661 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2662 # ----------------------------------------------------
2663 # Tries to find if the field MEMBER exists in type AGGR, after including
2664 # INCLUDES, setting cache variable VAR accordingly.
2665 ac_fn_c_check_member
()
2667 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2669 $as_echo_n "checking for $2.$3... " >&6; }
2670 if eval \
${$4+:} false
; then :
2671 $as_echo_n "(cached) " >&6
2673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2674 /* end confdefs.h. */
2686 if ac_fn_c_try_compile
"$LINENO"; then :
2689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2690 /* end confdefs.h. */
2696 if (sizeof ac_aggr.$3)
2702 if ac_fn_c_try_compile
"$LINENO"; then :
2707 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2709 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2713 $as_echo "$ac_res" >&6; }
2714 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2716 } # ac_fn_c_check_member
2718 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2719 # -------------------------------------------
2720 # Tests whether TYPE exists after having included INCLUDES, setting cache
2721 # variable VAR accordingly.
2722 ac_fn_c_check_type
()
2724 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2726 $as_echo_n "checking for $2... " >&6; }
2727 if eval \
${$3+:} false
; then :
2728 $as_echo_n "(cached) " >&6
2731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2732 /* end confdefs.h. */
2743 if ac_fn_c_try_compile
"$LINENO"; then :
2744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2745 /* end confdefs.h. */
2756 if ac_fn_c_try_compile
"$LINENO"; then :
2761 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2763 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2767 $as_echo "$ac_res" >&6; }
2768 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2770 } # ac_fn_c_check_type
2771 cat >config.log
<<_ACEOF
2772 This file contains any messages produced by compilers while
2773 running configure, to aid debugging if configure makes a mistake.
2775 It was created by Wine $as_me 1.7.31, which was
2776 generated by GNU Autoconf 2.69. Invocation command line was
2788 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2789 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2790 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2791 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2792 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2794 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2795 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2797 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2798 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2799 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2800 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2801 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2802 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2803 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2811 test -z "$as_dir" && as_dir
=.
2812 $as_echo "PATH: $as_dir"
2828 # Keep a trace of the command line.
2829 # Strip out --no-create and --no-recursion so they do not pile up.
2830 # Strip out --silent because we don't want to record it for future runs.
2831 # Also quote any args containing shell meta-characters.
2832 # Make two passes to allow for proper duplicate-argument suppression.
2836 ac_must_keep_next
=false
2842 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2843 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2844 |
-silent |
--silent |
--silen |
--sile |
--sil)
2847 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2850 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2852 as_fn_append ac_configure_args1
" '$ac_arg'"
2853 if test $ac_must_keep_next = true
; then
2854 ac_must_keep_next
=false
# Got value, back to normal.
2857 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2858 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2859 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2860 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2861 case "$ac_configure_args0 " in
2862 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2865 -* ) ac_must_keep_next
=true
;;
2868 as_fn_append ac_configure_args
" '$ac_arg'"
2873 { ac_configure_args0
=; unset ac_configure_args0
;}
2874 { ac_configure_args1
=; unset ac_configure_args1
;}
2876 # When interrupted or exit'd, cleanup temporary files, and complete
2877 # config.log. We remove comments because anyway the quotes in there
2878 # would cause problems or look ugly.
2879 # WARNING: Use '\'' to represent an apostrophe within the trap.
2880 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2881 trap 'exit_status=$?
2882 # Save into config.log some information that might help in debugging.
2886 $as_echo "## ---------------- ##
2887 ## Cache variables. ##
2888 ## ---------------- ##"
2890 # The following way of writing the cache mishandles newlines in values,
2892 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2893 eval ac_val=\$$ac_var
2897 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2898 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2901 _ | IFS | as_nl) ;; #(
2902 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2903 *) { eval $ac_var=; unset $ac_var;} ;;
2908 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2909 *${as_nl}ac_space=\ *)
2911 "s/'\''/'\''\\\\'\'''\''/g;
2912 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2915 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2922 $as_echo "## ----------------- ##
2923 ## Output variables. ##
2924 ## ----------------- ##"
2926 for ac_var in $ac_subst_vars
2928 eval ac_val=\$$ac_var
2930 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2932 $as_echo "$ac_var='\''$ac_val'\''"
2936 if test -n "$ac_subst_files"; then
2937 $as_echo "## ------------------- ##
2938 ## File substitutions. ##
2939 ## ------------------- ##"
2941 for ac_var
in $ac_subst_files
2943 eval ac_val
=\$
$ac_var
2945 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2947 $as_echo "$ac_var='\''$ac_val'\''"
2952 if test -s confdefs.h; then
2953 $as_echo "## ----------- ##
2960 test "$ac_signal" != 0 &&
2961 $as_echo "$as_me: caught signal $ac_signal"
2962 $as_echo "$as_me: exit $exit_status"
2964 rm -f core *.core core.conftest.* &&
2965 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2968 for ac_signal
in 1 2 13 15; do
2969 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2973 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2974 rm -f -r conftest
* confdefs.h
2976 $as_echo "/* confdefs.h */" > confdefs.h
2978 # Predefined preprocessor variables.
2980 cat >>confdefs.h
<<_ACEOF
2981 #define PACKAGE_NAME "$PACKAGE_NAME"
2984 cat >>confdefs.h
<<_ACEOF
2985 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2988 cat >>confdefs.h
<<_ACEOF
2989 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2992 cat >>confdefs.h
<<_ACEOF
2993 #define PACKAGE_STRING "$PACKAGE_STRING"
2996 cat >>confdefs.h
<<_ACEOF
2997 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3000 cat >>confdefs.h
<<_ACEOF
3001 #define PACKAGE_URL "$PACKAGE_URL"
3005 # Let the site file select an alternate cache file if it wants to.
3006 # Prefer an explicitly selected file to automatically selected ones.
3009 if test -n "$CONFIG_SITE"; then
3010 # We do not want a PATH search for config.site.
3011 case $CONFIG_SITE in #((
3012 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3013 */*) ac_site_file1
=$CONFIG_SITE;;
3014 *) ac_site_file1
=.
/$CONFIG_SITE;;
3016 elif test "x$prefix" != xNONE
; then
3017 ac_site_file1
=$prefix/share
/config.site
3018 ac_site_file2
=$prefix/etc
/config.site
3020 ac_site_file1
=$ac_default_prefix/share
/config.site
3021 ac_site_file2
=$ac_default_prefix/etc
/config.site
3023 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3025 test "x$ac_site_file" = xNONE
&& continue
3026 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3028 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3029 sed 's/^/| /' "$ac_site_file" >&5
3031 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3032 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3033 as_fn_error $?
"failed to load site script $ac_site_file
3034 See \`config.log' for more details" "$LINENO" 5; }
3038 if test -r "$cache_file"; then
3039 # Some versions of bash will fail to source /dev/null (special files
3040 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3041 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3043 $as_echo "$as_me: loading cache $cache_file" >&6;}
3045 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3046 *) .
"./$cache_file";;
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3051 $as_echo "$as_me: creating cache $cache_file" >&6;}
3055 # Check that the precious variables saved in the cache have kept the same
3057 ac_cache_corrupted
=false
3058 for ac_var
in $ac_precious_vars; do
3059 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3060 eval ac_new_set
=\
$ac_env_${ac_var}_set
3061 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3062 eval ac_new_val
=\
$ac_env_${ac_var}_value
3063 case $ac_old_set,$ac_new_set in
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3066 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3067 ac_cache_corrupted
=: ;;
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3070 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3071 ac_cache_corrupted
=: ;;
3074 if test "x$ac_old_val" != "x$ac_new_val"; then
3075 # differences in whitespace do not lead to failure.
3076 ac_old_val_w
=`echo x $ac_old_val`
3077 ac_new_val_w
=`echo x $ac_new_val`
3078 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3080 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3081 ac_cache_corrupted
=:
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3084 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3085 eval $ac_var=\
$ac_old_val
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3088 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3090 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3093 # Pass precious variables to config.status.
3094 if test "$ac_new_set" = set; then
3096 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3097 *) ac_arg
=$ac_var=$ac_new_val ;;
3099 case " $ac_configure_args " in
3100 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3101 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3105 if $ac_cache_corrupted; then
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3107 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3109 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3110 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3112 ## -------------------- ##
3113 ## Main body of script. ##
3114 ## -------------------- ##
3117 ac_cpp
='$CPP $CPPFLAGS'
3118 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3119 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3120 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3124 ac_config_headers
="$ac_config_headers include/config.h"
3127 for ac_dir
in tools
"$srcdir"/tools
; do
3128 if test -f "$ac_dir/install-sh"; then
3130 ac_install_sh
="$ac_aux_dir/install-sh -c"
3132 elif test -f "$ac_dir/install.sh"; then
3134 ac_install_sh
="$ac_aux_dir/install.sh -c"
3136 elif test -f "$ac_dir/shtool"; then
3138 ac_install_sh
="$ac_aux_dir/shtool install -c"
3142 if test -z "$ac_aux_dir"; then
3143 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3146 # These three variables are undocumented and unsupported,
3147 # and are intended to be withdrawn in a future Autoconf release.
3148 # They can cause serious problems if a builder's source tree is in a directory
3149 # whose full name contains unusual characters.
3150 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3151 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3152 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3156 libwine_version
="1.0"
3160 # Check whether --enable-win16 was given.
3161 if test "${enable_win16+set}" = set; then :
3162 enableval
=$enable_win16;
3165 # Check whether --enable-win64 was given.
3166 if test "${enable_win64+set}" = set; then :
3167 enableval
=$enable_win64;
3170 # Check whether --enable-tests was given.
3171 if test "${enable_tests+set}" = set; then :
3172 enableval
=$enable_tests;
3175 # Check whether --enable-maintainer-mode was given.
3176 if test "${enable_maintainer_mode+set}" = set; then :
3177 enableval
=$enable_maintainer_mode;
3182 # Check whether --with-alsa was given.
3183 if test "${with_alsa+set}" = set; then :
3184 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3188 # Check whether --with-capi was given.
3189 if test "${with_capi+set}" = set; then :
3194 # Check whether --with-cms was given.
3195 if test "${with_cms+set}" = set; then :
3200 # Check whether --with-coreaudio was given.
3201 if test "${with_coreaudio+set}" = set; then :
3202 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3206 # Check whether --with-cups was given.
3207 if test "${with_cups+set}" = set; then :
3212 # Check whether --with-curses was given.
3213 if test "${with_curses+set}" = set; then :
3214 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3218 # Check whether --with-dbus was given.
3219 if test "${with_dbus+set}" = set; then :
3224 # Check whether --with-fontconfig was given.
3225 if test "${with_fontconfig+set}" = set; then :
3226 withval
=$with_fontconfig;
3230 # Check whether --with-freetype was given.
3231 if test "${with_freetype+set}" = set; then :
3232 withval
=$with_freetype;
3236 # Check whether --with-gettext was given.
3237 if test "${with_gettext+set}" = set; then :
3238 withval
=$with_gettext;
3242 # Check whether --with-gettextpo was given.
3243 if test "${with_gettextpo+set}" = set; then :
3244 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3248 # Check whether --with-gphoto was given.
3249 if test "${with_gphoto+set}" = set; then :
3250 withval
=$with_gphoto;
3254 # Check whether --with-glu was given.
3255 if test "${with_glu+set}" = set; then :
3260 # Check whether --with-gnutls was given.
3261 if test "${with_gnutls+set}" = set; then :
3262 withval
=$with_gnutls;
3266 # Check whether --with-gsm was given.
3267 if test "${with_gsm+set}" = set; then :
3268 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3272 # Check whether --with-gstreamer was given.
3273 if test "${with_gstreamer+set}" = set; then :
3274 withval
=$with_gstreamer;
3278 # Check whether --with-hal was given.
3279 if test "${with_hal+set}" = set; then :
3284 # Check whether --with-jpeg was given.
3285 if test "${with_jpeg+set}" = set; then :
3290 # Check whether --with-ldap was given.
3291 if test "${with_ldap+set}" = set; then :
3292 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3296 # Check whether --with-mpg123 was given.
3297 if test "${with_mpg123+set}" = set; then :
3298 withval
=$with_mpg123;
3302 # Check whether --with-netapi was given.
3303 if test "${with_netapi+set}" = set; then :
3304 withval
=$with_netapi;
3308 # Check whether --with-openal was given.
3309 if test "${with_openal+set}" = set; then :
3310 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3314 # Check whether --with-opencl was given.
3315 if test "${with_opencl+set}" = set; then :
3316 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3320 # Check whether --with-opengl was given.
3321 if test "${with_opengl+set}" = set; then :
3322 withval
=$with_opengl;
3326 # Check whether --with-osmesa was given.
3327 if test "${with_osmesa+set}" = set; then :
3328 withval
=$with_osmesa;
3332 # Check whether --with-oss was given.
3333 if test "${with_oss+set}" = set; then :
3338 # Check whether --with-pcap was given.
3339 if test "${with_pcap+set}" = set; then :
3340 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3344 # Check whether --with-png was given.
3345 if test "${with_png+set}" = set; then :
3350 # Check whether --with-pthread was given.
3351 if test "${with_pthread+set}" = set; then :
3352 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3356 # Check whether --with-sane was given.
3357 if test "${with_sane+set}" = set; then :
3362 # Check whether --with-tiff was given.
3363 if test "${with_tiff+set}" = set; then :
3368 # Check whether --with-v4l was given.
3369 if test "${with_v4l+set}" = set; then :
3374 # Check whether --with-xcomposite was given.
3375 if test "${with_xcomposite+set}" = set; then :
3376 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3380 # Check whether --with-xcursor was given.
3381 if test "${with_xcursor+set}" = set; then :
3382 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3386 # Check whether --with-xinerama was given.
3387 if test "${with_xinerama+set}" = set; then :
3388 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3392 # Check whether --with-xinput was given.
3393 if test "${with_xinput+set}" = set; then :
3394 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3398 # Check whether --with-xinput2 was given.
3399 if test "${with_xinput2+set}" = set; then :
3400 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3404 # Check whether --with-xml was given.
3405 if test "${with_xml+set}" = set; then :
3410 # Check whether --with-xrandr was given.
3411 if test "${with_xrandr+set}" = set; then :
3412 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3416 # Check whether --with-xrender was given.
3417 if test "${with_xrender+set}" = set; then :
3418 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3422 # Check whether --with-xshape was given.
3423 if test "${with_xshape+set}" = set; then :
3424 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3428 # Check whether --with-xshm was given.
3429 if test "${with_xshm+set}" = set; then :
3430 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3434 # Check whether --with-xslt was given.
3435 if test "${with_xslt+set}" = set; then :
3440 # Check whether --with-xxf86vm was given.
3441 if test "${with_xxf86vm+set}" = set; then :
3442 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
3446 # Check whether --with-zlib was given.
3447 if test "${with_zlib+set}" = set; then :
3448 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3453 # Check whether --with-wine-tools was given.
3454 if test "${with_wine_tools+set}" = set; then :
3455 withval
=$with_wine_tools;
3459 # Check whether --with-wine64 was given.
3460 if test "${with_wine64+set}" = set; then :
3461 withval
=$with_wine64;
3465 # Make sure we can run config.sub.
3466 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3467 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3470 $as_echo_n "checking build system type... " >&6; }
3471 if ${ac_cv_build+:} false
; then :
3472 $as_echo_n "(cached) " >&6
3474 ac_build_alias
=$build_alias
3475 test "x$ac_build_alias" = x
&&
3476 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3477 test "x$ac_build_alias" = x
&&
3478 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3479 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3480 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3484 $as_echo "$ac_cv_build" >&6; }
3485 case $ac_cv_build in
3487 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3490 ac_save_IFS
=$IFS; IFS
='-'
3496 # Remember, the first character of IFS is used to create $*,
3497 # except with old shells:
3500 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3504 $as_echo_n "checking host system type... " >&6; }
3505 if ${ac_cv_host+:} false
; then :
3506 $as_echo_n "(cached) " >&6
3508 if test "x$host_alias" = x
; then
3509 ac_cv_host
=$ac_cv_build
3511 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3512 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3517 $as_echo "$ac_cv_host" >&6; }
3520 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3523 ac_save_IFS
=$IFS; IFS
='-'
3529 # Remember, the first character of IFS is used to create $*,
3530 # except with old shells:
3533 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3539 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3540 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3541 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3547 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3549 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3550 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3551 $as_echo_n "(cached) " >&6
3553 cat >conftest.
make <<\_ACEOF
3556 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3558 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3559 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3561 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3563 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3567 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3569 $as_echo "yes" >&6; }
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3573 $as_echo "no" >&6; }
3574 SET_MAKE
="MAKE=${MAKE-make}"
3578 ac_cpp
='$CPP $CPPFLAGS'
3579 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3580 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3581 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3582 if test -n "$ac_tool_prefix"; then
3583 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3584 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3586 $as_echo_n "checking for $ac_word... " >&6; }
3587 if ${ac_cv_prog_CC+:} false
; then :
3588 $as_echo_n "(cached) " >&6
3590 if test -n "$CC"; then
3591 ac_cv_prog_CC
="$CC" # Let the user override the test.
3593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3597 test -z "$as_dir" && as_dir
=.
3598 for ac_exec_ext
in '' $ac_executable_extensions; do
3599 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3600 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3611 if test -n "$CC"; then
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3613 $as_echo "$CC" >&6; }
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3616 $as_echo "no" >&6; }
3621 if test -z "$ac_cv_prog_CC"; then
3623 # Extract the first word of "gcc", so it can be a program name with args.
3624 set dummy gcc
; ac_word
=$2
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3626 $as_echo_n "checking for $ac_word... " >&6; }
3627 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3628 $as_echo_n "(cached) " >&6
3630 if test -n "$ac_ct_CC"; then
3631 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3637 test -z "$as_dir" && as_dir
=.
3638 for ac_exec_ext
in '' $ac_executable_extensions; do
3639 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3640 ac_cv_prog_ac_ct_CC
="gcc"
3641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3650 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3651 if test -n "$ac_ct_CC"; then
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3653 $as_echo "$ac_ct_CC" >&6; }
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3656 $as_echo "no" >&6; }
3659 if test "x$ac_ct_CC" = x
; then
3662 case $cross_compiling:$ac_tool_warned in
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3665 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3666 ac_tool_warned
=yes ;;
3674 if test -z "$CC"; then
3675 if test -n "$ac_tool_prefix"; then
3676 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3677 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3679 $as_echo_n "checking for $ac_word... " >&6; }
3680 if ${ac_cv_prog_CC+:} false
; then :
3681 $as_echo_n "(cached) " >&6
3683 if test -n "$CC"; then
3684 ac_cv_prog_CC
="$CC" # Let the user override the test.
3686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3690 test -z "$as_dir" && as_dir
=.
3691 for ac_exec_ext
in '' $ac_executable_extensions; do
3692 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3693 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3704 if test -n "$CC"; then
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3706 $as_echo "$CC" >&6; }
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3709 $as_echo "no" >&6; }
3715 if test -z "$CC"; then
3716 # Extract the first word of "cc", so it can be a program name with args.
3717 set dummy cc
; ac_word
=$2
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3719 $as_echo_n "checking for $ac_word... " >&6; }
3720 if ${ac_cv_prog_CC+:} false
; then :
3721 $as_echo_n "(cached) " >&6
3723 if test -n "$CC"; then
3724 ac_cv_prog_CC
="$CC" # Let the user override the test.
3727 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3731 test -z "$as_dir" && as_dir
=.
3732 for ac_exec_ext
in '' $ac_executable_extensions; do
3733 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3734 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3735 ac_prog_rejected
=yes
3739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3746 if test $ac_prog_rejected = yes; then
3747 # We found a bogon in the path, so make sure we never use it.
3748 set dummy
$ac_cv_prog_CC
3750 if test $# != 0; then
3751 # We chose a different compiler from the bogus one.
3752 # However, it has the same basename, so the bogon will be chosen
3753 # first if we set CC to just the basename; use the full file name.
3755 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3761 if test -n "$CC"; then
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3763 $as_echo "$CC" >&6; }
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3766 $as_echo "no" >&6; }
3771 if test -z "$CC"; then
3772 if test -n "$ac_tool_prefix"; then
3773 for ac_prog
in cl.exe
3775 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3776 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3778 $as_echo_n "checking for $ac_word... " >&6; }
3779 if ${ac_cv_prog_CC+:} false
; then :
3780 $as_echo_n "(cached) " >&6
3782 if test -n "$CC"; then
3783 ac_cv_prog_CC
="$CC" # Let the user override the test.
3785 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3789 test -z "$as_dir" && as_dir
=.
3790 for ac_exec_ext
in '' $ac_executable_extensions; do
3791 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3792 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3803 if test -n "$CC"; then
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3805 $as_echo "$CC" >&6; }
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3808 $as_echo "no" >&6; }
3812 test -n "$CC" && break
3815 if test -z "$CC"; then
3817 for ac_prog
in cl.exe
3819 # Extract the first word of "$ac_prog", so it can be a program name with args.
3820 set dummy
$ac_prog; ac_word
=$2
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3822 $as_echo_n "checking for $ac_word... " >&6; }
3823 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3824 $as_echo_n "(cached) " >&6
3826 if test -n "$ac_ct_CC"; then
3827 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3829 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3833 test -z "$as_dir" && as_dir
=.
3834 for ac_exec_ext
in '' $ac_executable_extensions; do
3835 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3836 ac_cv_prog_ac_ct_CC
="$ac_prog"
3837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3846 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3847 if test -n "$ac_ct_CC"; then
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3849 $as_echo "$ac_ct_CC" >&6; }
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3852 $as_echo "no" >&6; }
3856 test -n "$ac_ct_CC" && break
3859 if test "x$ac_ct_CC" = x
; then
3862 case $cross_compiling:$ac_tool_warned in
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3865 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3866 ac_tool_warned
=yes ;;
3875 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3876 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3877 as_fn_error $?
"no acceptable C compiler found in \$PATH
3878 See \`config.log' for more details" "$LINENO" 5; }
3880 # Provide some information about the compiler.
3881 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3884 for ac_option
in --version -v -V -qversion; do
3885 { { ac_try
="$ac_compiler $ac_option >&5"
3887 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3888 *) ac_try_echo=$ac_try;;
3890 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3891 $as_echo "$ac_try_echo"; } >&5
3892 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3894 if test -s conftest.err; then
3896 ... rest of stderr output deleted ...
3897 10q' conftest.err >conftest.er1
3898 cat conftest.er1 >&5
3900 rm -f conftest.er1 conftest.err
3901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3902 test $ac_status = 0; }
3905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3906 /* end confdefs.h. */
3916 ac_clean_files_save=$ac_clean_files
3917 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3918 # Try to create an executable without -o first, disregard a.out.
3919 # It will help us diagnose broken compilers, and finding out an intuition
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3922 $as_echo_n "checking whether the C compiler works... " >&6; }
3923 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3925 # The possible output files:
3926 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3929 for ac_file in $ac_files
3932 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3933 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3938 if { { ac_try="$ac_link_default"
3940 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3941 *) ac_try_echo
=$ac_try;;
3943 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3944 $as_echo "$ac_try_echo"; } >&5
3945 (eval "$ac_link_default") 2>&5
3947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3948 test $ac_status = 0; }; then :
3949 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3950 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3951 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3952 # so that the user can short-circuit this test for compilers unknown to
3954 for ac_file
in $ac_files ''
3956 test -f "$ac_file" ||
continue
3958 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3961 # We found the default executable, but exeext='' is most
3965 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3967 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3969 # We set ac_cv_exeext here because the later test for it is not
3970 # safe: cross compilers may not add the suffix if given an `-o'
3971 # argument, so we may need to know it at that point already.
3972 # Even if this section looks crufty: it has the advantage of
3979 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3984 if test -z "$ac_file"; then :
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3986 $as_echo "no" >&6; }
3987 $as_echo "$as_me: failed program was:" >&5
3988 sed 's/^/| /' conftest.
$ac_ext >&5
3990 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3991 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3992 as_fn_error
77 "C compiler cannot create executables
3993 See \`config.log' for more details" "$LINENO" 5; }
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3996 $as_echo "yes" >&6; }
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3999 $as_echo_n "checking for C compiler default output file name... " >&6; }
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4001 $as_echo "$ac_file" >&6; }
4002 ac_exeext
=$ac_cv_exeext
4004 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4005 ac_clean_files
=$ac_clean_files_save
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4007 $as_echo_n "checking for suffix of executables... " >&6; }
4008 if { { ac_try
="$ac_link"
4010 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4011 *) ac_try_echo=$ac_try;;
4013 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4014 $as_echo "$ac_try_echo"; } >&5
4015 (eval "$ac_link") 2>&5
4017 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4018 test $ac_status = 0; }; then :
4019 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4020 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4021 # work properly (i.e., refer to `conftest.exe'), while it won't with
4023 for ac_file
in conftest.exe conftest conftest.
*; do
4024 test -f "$ac_file" ||
continue
4026 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4027 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4033 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4034 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4035 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4036 See \`config.log' for more details" "$LINENO" 5; }
4038 rm -f conftest conftest
$ac_cv_exeext
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4040 $as_echo "$ac_cv_exeext" >&6; }
4042 rm -f conftest.
$ac_ext
4043 EXEEXT
=$ac_cv_exeext
4045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4046 /* end confdefs.h. */
4051 FILE *f = fopen ("conftest.out", "w");
4052 return ferror (f) || fclose (f) != 0;
4058 ac_clean_files
="$ac_clean_files conftest.out"
4059 # Check that the compiler produces executables we can run. If not, either
4060 # the compiler is broken, or we cross compile.
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4062 $as_echo_n "checking whether we are cross compiling... " >&6; }
4063 if test "$cross_compiling" != yes; then
4064 { { ac_try
="$ac_link"
4066 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4067 *) ac_try_echo=$ac_try;;
4069 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4070 $as_echo "$ac_try_echo"; } >&5
4071 (eval "$ac_link") 2>&5
4073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4074 test $ac_status = 0; }
4075 if { ac_try='./conftest$ac_cv_exeext'
4076 { { case "(($ac_try" in
4077 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4078 *) ac_try_echo
=$ac_try;;
4080 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4081 $as_echo "$ac_try_echo"; } >&5
4082 (eval "$ac_try") 2>&5
4084 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4085 test $ac_status = 0; }; }; then
4088 if test "$cross_compiling" = maybe
; then
4091 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4092 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4093 as_fn_error $?
"cannot run C compiled programs.
4094 If you meant to cross compile, use \`--host'.
4095 See \`config.log' for more details" "$LINENO" 5; }
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4100 $as_echo "$cross_compiling" >&6; }
4102 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4103 ac_clean_files
=$ac_clean_files_save
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4105 $as_echo_n "checking for suffix of object files... " >&6; }
4106 if ${ac_cv_objext+:} false
; then :
4107 $as_echo_n "(cached) " >&6
4109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4110 /* end confdefs.h. */
4120 rm -f conftest.o conftest.obj
4121 if { { ac_try
="$ac_compile"
4123 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4124 *) ac_try_echo=$ac_try;;
4126 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4127 $as_echo "$ac_try_echo"; } >&5
4128 (eval "$ac_compile") 2>&5
4130 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4131 test $ac_status = 0; }; then :
4132 for ac_file in conftest.o conftest.obj conftest.*; do
4133 test -f "$ac_file" || continue;
4135 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4136 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4141 $as_echo "$as_me: failed program was:" >&5
4142 sed 's/^/| /' conftest.$ac_ext >&5
4144 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4145 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4146 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4147 See \
`config.log' for more details" "$LINENO" 5; }
4149 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4152 $as_echo "$ac_cv_objext" >&6; }
4153 OBJEXT=$ac_cv_objext
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4156 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4157 if ${ac_cv_c_compiler_gnu+:} false; then :
4158 $as_echo_n "(cached) " >&6
4160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4161 /* end confdefs.h. */
4174 if ac_fn_c_try_compile "$LINENO"; then :
4179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4180 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4184 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4185 if test $ac_compiler_gnu = yes; then
4190 ac_test_CFLAGS=${CFLAGS+set}
4191 ac_save_CFLAGS=$CFLAGS
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4193 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4194 if ${ac_cv_prog_cc_g+:} false; then :
4195 $as_echo_n "(cached) " >&6
4197 ac_save_c_werror_flag=$ac_c_werror_flag
4198 ac_c_werror_flag=yes
4201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4202 /* end confdefs.h. */
4212 if ac_fn_c_try_compile "$LINENO"; then :
4216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4217 /* end confdefs.h. */
4227 if ac_fn_c_try_compile "$LINENO"; then :
4230 ac_c_werror_flag=$ac_save_c_werror_flag
4232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4233 /* end confdefs.h. */
4243 if ac_fn_c_try_compile "$LINENO"; then :
4246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4251 ac_c_werror_flag=$ac_save_c_werror_flag
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4254 $as_echo "$ac_cv_prog_cc_g" >&6; }
4255 if test "$ac_test_CFLAGS" = set; then
4256 CFLAGS=$ac_save_CFLAGS
4257 elif test $ac_cv_prog_cc_g = yes; then
4258 if test "$GCC" = yes; then
4264 if test "$GCC" = yes; then
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4271 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4272 if ${ac_cv_prog_cc_c89+:} false; then :
4273 $as_echo_n "(cached) " >&6
4275 ac_cv_prog_cc_c89=no
4277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4278 /* end confdefs.h. */
4282 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4283 struct buf { int x; };
4284 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4285 static char *e (p, i)
4291 static char *f (char * (*g) (char **, int), char **p, ...)
4296 s = g (p, va_arg (v,int));
4301 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4302 function prototypes and stuff, but not '\xHH' hex character constants.
4303 These don't provoke an error unfortunately, instead are silently treated
4304 as 'x'. The following induces an error, until -std is added to get
4305 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4306 array size at least. It's necessary to write '\x00'==0 to get something
4307 that's true only with -std. */
4308 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4310 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4311 inside strings and character constants. */
4313 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4315 int test (int i, double x);
4316 struct s1 {int (*f) (int a);};
4317 struct s2 {int (*f) (double a);};
4318 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4324 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4329 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4330 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4332 CC="$ac_save_CC $ac_arg"
4333 if ac_fn_c_try_compile "$LINENO"; then :
4334 ac_cv_prog_cc_c89=$ac_arg
4336 rm -f core conftest.err conftest.$ac_objext
4337 test "x$ac_cv_prog_cc_c89" != "xno" && break
4339 rm -f conftest.$ac_ext
4344 case "x$ac_cv_prog_cc_c89" in
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4347 $as_echo "none needed" >&6; } ;;
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4350 $as_echo "unsupported" >&6; } ;;
4352 CC="$CC $ac_cv_prog_cc_c89"
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4354 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4356 if test "x$ac_cv_prog_cc_c89" != xno; then :
4361 ac_cpp='$CPP $CPPFLAGS'
4362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4367 ac_cpp='$CXXCPP $CPPFLAGS'
4368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4371 if test -z "$CXX"; then
4372 if test -n "$CCC"; then
4375 if test -n "$ac_tool_prefix"; then
4376 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4378 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4379 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4381 $as_echo_n "checking for $ac_word... " >&6; }
4382 if ${ac_cv_prog_CXX+:} false; then :
4383 $as_echo_n "(cached) " >&6
4385 if test -n "$CXX"; then
4386 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4392 test -z "$as_dir" && as_dir=.
4393 for ac_exec_ext in '' $ac_executable_extensions; do
4394 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4395 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4406 if test -n "$CXX"; then
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4408 $as_echo "$CXX" >&6; }
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4411 $as_echo "no" >&6; }
4415 test -n "$CXX" && break
4418 if test -z "$CXX"; then
4420 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4422 # Extract the first word of "$ac_prog", so it can be a program name with args.
4423 set dummy $ac_prog; ac_word=$2
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4425 $as_echo_n "checking for $ac_word... " >&6; }
4426 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4427 $as_echo_n "(cached) " >&6
4429 if test -n "$ac_ct_CXX"; then
4430 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4436 test -z "$as_dir" && as_dir=.
4437 for ac_exec_ext in '' $ac_executable_extensions; do
4438 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4439 ac_cv_prog_ac_ct_CXX="$ac_prog"
4440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4449 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4450 if test -n "$ac_ct_CXX"; then
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4452 $as_echo "$ac_ct_CXX" >&6; }
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4455 $as_echo "no" >&6; }
4459 test -n "$ac_ct_CXX" && break
4462 if test "x$ac_ct_CXX" = x; then
4465 case $cross_compiling:$ac_tool_warned in
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4468 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4469 ac_tool_warned=yes ;;
4477 # Provide some information about the compiler.
4478 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4481 for ac_option in --version -v -V -qversion; do
4482 { { ac_try="$ac_compiler $ac_option >&5"
4484 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4485 *) ac_try_echo
=$ac_try;;
4487 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4488 $as_echo "$ac_try_echo"; } >&5
4489 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4491 if test -s conftest.err
; then
4493 ... rest of stderr output deleted ...
4494 10q' conftest.err
>conftest.er1
4495 cat conftest.er1
>&5
4497 rm -f conftest.er1 conftest.err
4498 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4499 test $ac_status = 0; }
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4503 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4504 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4505 $as_echo_n "(cached) " >&6
4507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4508 /* end confdefs.h. */
4521 if ac_fn_cxx_try_compile
"$LINENO"; then :
4526 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4527 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4531 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4532 if test $ac_compiler_gnu = yes; then
4537 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4538 ac_save_CXXFLAGS
=$CXXFLAGS
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4540 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4541 if ${ac_cv_prog_cxx_g+:} false
; then :
4542 $as_echo_n "(cached) " >&6
4544 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4545 ac_cxx_werror_flag
=yes
4548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4549 /* end confdefs.h. */
4559 if ac_fn_cxx_try_compile
"$LINENO"; then :
4560 ac_cv_prog_cxx_g
=yes
4563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4564 /* end confdefs.h. */
4574 if ac_fn_cxx_try_compile
"$LINENO"; then :
4577 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4580 /* end confdefs.h. */
4590 if ac_fn_cxx_try_compile
"$LINENO"; then :
4591 ac_cv_prog_cxx_g
=yes
4593 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4595 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4597 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4598 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4601 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4602 if test "$ac_test_CXXFLAGS" = set; then
4603 CXXFLAGS
=$ac_save_CXXFLAGS
4604 elif test $ac_cv_prog_cxx_g = yes; then
4605 if test "$GXX" = yes; then
4611 if test "$GXX" = yes; then
4618 ac_cpp
='$CPP $CPPFLAGS'
4619 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4620 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4621 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4623 if test -n "$ac_tool_prefix"; then
4624 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4625 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4627 $as_echo_n "checking for $ac_word... " >&6; }
4628 if ${ac_cv_prog_CPPBIN+:} false
; then :
4629 $as_echo_n "(cached) " >&6
4631 if test -n "$CPPBIN"; then
4632 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4634 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4638 test -z "$as_dir" && as_dir
=.
4639 for ac_exec_ext
in '' $ac_executable_extensions; do
4640 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4641 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4651 CPPBIN
=$ac_cv_prog_CPPBIN
4652 if test -n "$CPPBIN"; then
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4654 $as_echo "$CPPBIN" >&6; }
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4657 $as_echo "no" >&6; }
4662 if test -z "$ac_cv_prog_CPPBIN"; then
4663 ac_ct_CPPBIN
=$CPPBIN
4664 # Extract the first word of "cpp", so it can be a program name with args.
4665 set dummy cpp
; ac_word
=$2
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4667 $as_echo_n "checking for $ac_word... " >&6; }
4668 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4669 $as_echo_n "(cached) " >&6
4671 if test -n "$ac_ct_CPPBIN"; then
4672 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4674 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4678 test -z "$as_dir" && as_dir
=.
4679 for ac_exec_ext
in '' $ac_executable_extensions; do
4680 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4681 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4691 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4692 if test -n "$ac_ct_CPPBIN"; then
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4694 $as_echo "$ac_ct_CPPBIN" >&6; }
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4697 $as_echo "no" >&6; }
4700 if test "x$ac_ct_CPPBIN" = x
; then
4703 case $cross_compiling:$ac_tool_warned in
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4706 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4707 ac_tool_warned
=yes ;;
4709 CPPBIN
=$ac_ct_CPPBIN
4712 CPPBIN
="$ac_cv_prog_CPPBIN"
4716 cat >>confdefs.h
<<_ACEOF
4717 #define EXEEXT "$ac_exeext"
4723 if test "x$enable_win64" = "xyes"
4728 notice_platform
="64-bit "
4735 notice_platform
="32-bit "
4738 enable_win16
=${enable_win16:-yes}
4740 with_fontconfig
=${with_fontconfig:-no}
4743 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4748 $as_echo_n "checking whether $CC works... " >&6; }
4750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4751 /* end confdefs.h. */
4761 if ac_fn_c_try_link
"$LINENO"; then :
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4763 $as_echo "yes" >&6; }
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4766 $as_echo "no" >&6; }
4767 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4769 rm -f core conftest.err conftest.
$ac_objext \
4770 conftest
$ac_exeext conftest.
$ac_ext
4772 notice_platform
="32-bit "
4775 enable_win16
=${enable_win16:-yes}
4777 if test "x${GCC}" = "xyes"
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4780 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4782 /* end confdefs.h. */
4787 void func(__builtin_ms_va_list *args);
4792 if ac_fn_c_try_compile
"$LINENO"; then :
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4794 $as_echo "yes" >&6; }
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4797 $as_echo "no" >&6; }
4798 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4800 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4808 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4810 /* end confdefs.h. */
4811 int ac_test(int i) { return i; }
4815 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4820 if ac_fn_c_try_link
"$LINENO"; then :
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4822 $as_echo "yes" >&6; }
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4825 $as_echo "no" >&6; }
4826 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4828 rm -f core conftest.err conftest.
$ac_objext \
4829 conftest
$ac_exeext conftest.
$ac_ext
4830 CFLAGS
="$CFLAGS -marm"
4834 *-mingw32*|
*-cygwin*)
4835 enable_win16
=${enable_win16:-no}
4836 CFLAGS
="$CFLAGS -D_WIN32"
4839 enable_win16
=${enable_win16:-yes}
4843 enable_win16
=${enable_win16:-no}
4844 enable_win64
=${enable_win64:-no}
4846 enable_winetest
=${enable_winetest:-$enable_tests}
4848 if test -n "$with_wine64"
4850 if test "x$enable_win64" = "xyes"
4852 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4853 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4855 enable_fonts
=${enable_fonts:-no}
4856 enable_server
=${enable_server:-no}
4857 elif test "x$enable_win64" = "xyes"
4859 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4863 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4864 if ${wine_cv_toolsdir+:} false
; then :
4865 $as_echo_n "(cached) " >&6
4867 wine_cv_toolsdir
="$with_wine_tools"
4868 if test -z "$with_wine_tools"; then
4869 if test "$cross_compiling" = "yes"; then
4870 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4871 elif test -n "$with_wine64"; then
4872 wine_cv_toolsdir
="$with_wine64"
4875 if test -z "$wine_cv_toolsdir"; then
4876 wine_makedep
=tools
/makedep
4877 wine_cv_toolsdir
="\$(top_builddir)"
4878 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4879 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
4880 case "$wine_cv_toolsdir" in
4882 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4884 enable_tools
=${enable_tools:-no}
4885 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4887 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4891 $as_echo "$wine_cv_toolsdir" >&6; }
4892 TOOLSDIR
=$wine_cv_toolsdir
4894 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4896 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4902 # Extract the first word of "$ac_prog", so it can be a program name with args.
4903 set dummy
$ac_prog; ac_word
=$2
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4905 $as_echo_n "checking for $ac_word... " >&6; }
4906 if ${ac_cv_prog_FLEX+:} false
; then :
4907 $as_echo_n "(cached) " >&6
4909 if test -n "$FLEX"; then
4910 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4912 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4916 test -z "$as_dir" && as_dir
=.
4917 for ac_exec_ext
in '' $ac_executable_extensions; do
4918 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4919 ac_cv_prog_FLEX
="$ac_prog"
4920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4929 FLEX
=$ac_cv_prog_FLEX
4930 if test -n "$FLEX"; then
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4932 $as_echo "$FLEX" >&6; }
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4935 $as_echo "no" >&6; }
4939 test -n "$FLEX" && break
4941 test -n "$FLEX" || FLEX
="none"
4943 if test "$FLEX" = "none"
4945 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4948 $as_echo_n "checking whether flex is recent enough... " >&6; }
4949 cat >conftest.l
<<EOF
4951 #include "prediluvian.h"
4955 if $FLEX -t conftest.l
>/dev
/null
2>&5
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4958 $as_echo "yes" >&6; }
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4961 $as_echo "no" >&6; }
4962 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4965 for ac_prog
in bison
4967 # Extract the first word of "$ac_prog", so it can be a program name with args.
4968 set dummy
$ac_prog; ac_word
=$2
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4970 $as_echo_n "checking for $ac_word... " >&6; }
4971 if ${ac_cv_prog_BISON+:} false
; then :
4972 $as_echo_n "(cached) " >&6
4974 if test -n "$BISON"; then
4975 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4977 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4981 test -z "$as_dir" && as_dir
=.
4982 for ac_exec_ext
in '' $ac_executable_extensions; do
4983 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4984 ac_cv_prog_BISON
="$ac_prog"
4985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4994 BISON
=$ac_cv_prog_BISON
4995 if test -n "$BISON"; then
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4997 $as_echo "$BISON" >&6; }
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5000 $as_echo "no" >&6; }
5004 test -n "$BISON" && break
5006 test -n "$BISON" || BISON
="none"
5008 if test "$BISON" = "none"
5010 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5013 if test -n "$ac_tool_prefix"; then
5014 for ac_prog
in ar gar
5016 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5017 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5019 $as_echo_n "checking for $ac_word... " >&6; }
5020 if ${ac_cv_prog_AR+:} false
; then :
5021 $as_echo_n "(cached) " >&6
5023 if test -n "$AR"; then
5024 ac_cv_prog_AR
="$AR" # Let the user override the test.
5026 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5030 test -z "$as_dir" && as_dir
=.
5031 for ac_exec_ext
in '' $ac_executable_extensions; do
5032 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5033 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5044 if test -n "$AR"; then
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5046 $as_echo "$AR" >&6; }
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5049 $as_echo "no" >&6; }
5053 test -n "$AR" && break
5056 if test -z "$AR"; then
5058 for ac_prog
in ar gar
5060 # Extract the first word of "$ac_prog", so it can be a program name with args.
5061 set dummy
$ac_prog; ac_word
=$2
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5063 $as_echo_n "checking for $ac_word... " >&6; }
5064 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5065 $as_echo_n "(cached) " >&6
5067 if test -n "$ac_ct_AR"; then
5068 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5074 test -z "$as_dir" && as_dir
=.
5075 for ac_exec_ext
in '' $ac_executable_extensions; do
5076 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5077 ac_cv_prog_ac_ct_AR
="$ac_prog"
5078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5087 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5088 if test -n "$ac_ct_AR"; then
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5090 $as_echo "$ac_ct_AR" >&6; }
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5093 $as_echo "no" >&6; }
5097 test -n "$ac_ct_AR" && break
5100 if test "x$ac_ct_AR" = x
; then
5103 case $cross_compiling:$ac_tool_warned in
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5106 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5107 ac_tool_warned
=yes ;;
5113 if test -n "$ac_tool_prefix"; then
5114 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5115 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5117 $as_echo_n "checking for $ac_word... " >&6; }
5118 if ${ac_cv_prog_STRIP+:} false
; then :
5119 $as_echo_n "(cached) " >&6
5121 if test -n "$STRIP"; then
5122 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5124 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5128 test -z "$as_dir" && as_dir
=.
5129 for ac_exec_ext
in '' $ac_executable_extensions; do
5130 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5131 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5141 STRIP
=$ac_cv_prog_STRIP
5142 if test -n "$STRIP"; then
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5144 $as_echo "$STRIP" >&6; }
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5147 $as_echo "no" >&6; }
5152 if test -z "$ac_cv_prog_STRIP"; then
5154 # Extract the first word of "strip", so it can be a program name with args.
5155 set dummy strip
; ac_word
=$2
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5157 $as_echo_n "checking for $ac_word... " >&6; }
5158 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5159 $as_echo_n "(cached) " >&6
5161 if test -n "$ac_ct_STRIP"; then
5162 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5168 test -z "$as_dir" && as_dir
=.
5169 for ac_exec_ext
in '' $ac_executable_extensions; do
5170 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5171 ac_cv_prog_ac_ct_STRIP
="strip"
5172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5181 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5182 if test -n "$ac_ct_STRIP"; then
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5184 $as_echo "$ac_ct_STRIP" >&6; }
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5187 $as_echo "no" >&6; }
5190 if test "x$ac_ct_STRIP" = x
; then
5193 case $cross_compiling:$ac_tool_warned in
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5196 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5197 ac_tool_warned
=yes ;;
5202 STRIP
="$ac_cv_prog_STRIP"
5207 if test -n "$ac_tool_prefix"; then
5208 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5209 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5211 $as_echo_n "checking for $ac_word... " >&6; }
5212 if ${ac_cv_prog_RANLIB+:} false
; then :
5213 $as_echo_n "(cached) " >&6
5215 if test -n "$RANLIB"; then
5216 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5222 test -z "$as_dir" && as_dir
=.
5223 for ac_exec_ext
in '' $ac_executable_extensions; do
5224 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5225 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5235 RANLIB
=$ac_cv_prog_RANLIB
5236 if test -n "$RANLIB"; then
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5238 $as_echo "$RANLIB" >&6; }
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5241 $as_echo "no" >&6; }
5246 if test -z "$ac_cv_prog_RANLIB"; then
5247 ac_ct_RANLIB
=$RANLIB
5248 # Extract the first word of "ranlib", so it can be a program name with args.
5249 set dummy ranlib
; ac_word
=$2
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5251 $as_echo_n "checking for $ac_word... " >&6; }
5252 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5253 $as_echo_n "(cached) " >&6
5255 if test -n "$ac_ct_RANLIB"; then
5256 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5258 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5262 test -z "$as_dir" && as_dir
=.
5263 for ac_exec_ext
in '' $ac_executable_extensions; do
5264 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5265 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5275 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5276 if test -n "$ac_ct_RANLIB"; then
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5278 $as_echo "$ac_ct_RANLIB" >&6; }
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5281 $as_echo "no" >&6; }
5284 if test "x$ac_ct_RANLIB" = x
; then
5287 case $cross_compiling:$ac_tool_warned in
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5290 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5291 ac_tool_warned
=yes ;;
5293 RANLIB
=$ac_ct_RANLIB
5296 RANLIB
="$ac_cv_prog_RANLIB"
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5300 $as_echo_n "checking whether ln -s works... " >&6; }
5302 if test "$LN_S" = "ln -s"; then
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5304 $as_echo "yes" >&6; }
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5307 $as_echo "no, using $LN_S" >&6; }
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5311 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5312 if ${ac_cv_path_GREP+:} false
; then :
5313 $as_echo_n "(cached) " >&6
5315 if test -z "$GREP"; then
5316 ac_path_GREP_found
=false
5317 # Loop through the user's path and test for each of PROGNAME-LIST
5318 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5319 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5322 test -z "$as_dir" && as_dir
=.
5323 for ac_prog
in grep ggrep
; do
5324 for ac_exec_ext
in '' $ac_executable_extensions; do
5325 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5326 as_fn_executable_p
"$ac_path_GREP" ||
continue
5327 # Check for GNU ac_path_GREP and select it if it is found.
5328 # Check for GNU $ac_path_GREP
5329 case `"$ac_path_GREP" --version 2>&1` in
5331 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5334 $as_echo_n 0123456789 >"conftest.in"
5337 cat "conftest.in" "conftest.in" >"conftest.tmp"
5338 mv "conftest.tmp" "conftest.in"
5339 cp "conftest.in" "conftest.nl"
5340 $as_echo 'GREP' >> "conftest.nl"
5341 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5342 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5343 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5344 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5345 # Best one so far, save it but keep looking for a better one
5346 ac_cv_path_GREP
="$ac_path_GREP"
5347 ac_path_GREP_max
=$ac_count
5349 # 10*(2^10) chars as input seems more than enough
5350 test $ac_count -gt 10 && break
5352 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5355 $ac_path_GREP_found && break 3
5360 if test -z "$ac_cv_path_GREP"; then
5361 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5364 ac_cv_path_GREP
=$GREP
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5369 $as_echo "$ac_cv_path_GREP" >&6; }
5370 GREP
="$ac_cv_path_GREP"
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5374 $as_echo_n "checking for egrep... " >&6; }
5375 if ${ac_cv_path_EGREP+:} false
; then :
5376 $as_echo_n "(cached) " >&6
5378 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5379 then ac_cv_path_EGREP
="$GREP -E"
5381 if test -z "$EGREP"; then
5382 ac_path_EGREP_found
=false
5383 # Loop through the user's path and test for each of PROGNAME-LIST
5384 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5385 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5388 test -z "$as_dir" && as_dir
=.
5389 for ac_prog
in egrep; do
5390 for ac_exec_ext
in '' $ac_executable_extensions; do
5391 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5392 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5393 # Check for GNU ac_path_EGREP and select it if it is found.
5394 # Check for GNU $ac_path_EGREP
5395 case `"$ac_path_EGREP" --version 2>&1` in
5397 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5400 $as_echo_n 0123456789 >"conftest.in"
5403 cat "conftest.in" "conftest.in" >"conftest.tmp"
5404 mv "conftest.tmp" "conftest.in"
5405 cp "conftest.in" "conftest.nl"
5406 $as_echo 'EGREP' >> "conftest.nl"
5407 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5408 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5409 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5410 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5411 # Best one so far, save it but keep looking for a better one
5412 ac_cv_path_EGREP
="$ac_path_EGREP"
5413 ac_path_EGREP_max
=$ac_count
5415 # 10*(2^10) chars as input seems more than enough
5416 test $ac_count -gt 10 && break
5418 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5421 $ac_path_EGREP_found && break 3
5426 if test -z "$ac_cv_path_EGREP"; then
5427 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5430 ac_cv_path_EGREP
=$EGREP
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5436 $as_echo "$ac_cv_path_EGREP" >&6; }
5437 EGREP
="$ac_cv_path_EGREP"
5440 # Extract the first word of "ldconfig", so it can be a program name with args.
5441 set dummy ldconfig
; ac_word
=$2
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5443 $as_echo_n "checking for $ac_word... " >&6; }
5444 if ${ac_cv_path_LDCONFIG+:} false
; then :
5445 $as_echo_n "(cached) " >&6
5449 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5453 for as_dir
in /sbin
/usr
/sbin
$PATH
5456 test -z "$as_dir" && as_dir
=.
5457 for ac_exec_ext
in '' $ac_executable_extensions; do
5458 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5459 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5467 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5471 LDCONFIG
=$ac_cv_path_LDCONFIG
5472 if test -n "$LDCONFIG"; then
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5474 $as_echo "$LDCONFIG" >&6; }
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5477 $as_echo "no" >&6; }
5481 for ac_prog
in msgfmt
5483 # Extract the first word of "$ac_prog", so it can be a program name with args.
5484 set dummy
$ac_prog; ac_word
=$2
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5486 $as_echo_n "checking for $ac_word... " >&6; }
5487 if ${ac_cv_prog_MSGFMT+:} false
; then :
5488 $as_echo_n "(cached) " >&6
5490 if test -n "$MSGFMT"; then
5491 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5493 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5497 test -z "$as_dir" && as_dir
=.
5498 for ac_exec_ext
in '' $ac_executable_extensions; do
5499 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5500 ac_cv_prog_MSGFMT
="$ac_prog"
5501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5510 MSGFMT
=$ac_cv_prog_MSGFMT
5511 if test -n "$MSGFMT"; then
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5513 $as_echo "$MSGFMT" >&6; }
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5516 $as_echo "no" >&6; }
5520 test -n "$MSGFMT" && break
5522 test -n "$MSGFMT" || MSGFMT
="false"
5524 if ${ac_tool_prefix+:} false
; then :
5525 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5526 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5528 $as_echo_n "checking for $ac_word... " >&6; }
5529 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5530 $as_echo_n "(cached) " >&6
5532 if test -n "$PKG_CONFIG"; then
5533 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5535 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5539 test -z "$as_dir" && as_dir
=.
5540 for ac_exec_ext
in '' $ac_executable_extensions; do
5541 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5542 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5552 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5553 if test -n "$PKG_CONFIG"; then
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5555 $as_echo "$PKG_CONFIG" >&6; }
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5558 $as_echo "no" >&6; }
5563 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5564 if test "x$cross_compiling" = xyes
; then :
5567 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5568 # Extract the first word of "pkg-config", so it can be a program name with args.
5569 set dummy pkg-config
; ac_word
=$2
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5571 $as_echo_n "checking for $ac_word... " >&6; }
5572 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5573 $as_echo_n "(cached) " >&6
5575 if test -n "$PKG_CONFIG"; then
5576 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5578 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5582 test -z "$as_dir" && as_dir
=.
5583 for ac_exec_ext
in '' $ac_executable_extensions; do
5584 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5585 ac_cv_prog_PKG_CONFIG
="pkg-config"
5586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5595 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5596 if test -n "$PKG_CONFIG"; then
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5598 $as_echo "$PKG_CONFIG" >&6; }
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5601 $as_echo "no" >&6; }
5607 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5610 if test "x$enable_maintainer_mode" != "xyes"
5617 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5618 for ac_prog
in fontforge
5620 # Extract the first word of "$ac_prog", so it can be a program name with args.
5621 set dummy
$ac_prog; ac_word
=$2
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5623 $as_echo_n "checking for $ac_word... " >&6; }
5624 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5625 $as_echo_n "(cached) " >&6
5627 if test -n "$FONTFORGE"; then
5628 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5630 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5634 test -z "$as_dir" && as_dir
=.
5635 for ac_exec_ext
in '' $ac_executable_extensions; do
5636 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5637 ac_cv_prog_FONTFORGE
="$ac_prog"
5638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5647 FONTFORGE
=$ac_cv_prog_FONTFORGE
5648 if test -n "$FONTFORGE"; then
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5650 $as_echo "$FONTFORGE" >&6; }
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5653 $as_echo "no" >&6; }
5657 test -n "$FONTFORGE" && break
5659 test -n "$FONTFORGE" || FONTFORGE
="false"
5663 # Extract the first word of "$ac_prog", so it can be a program name with args.
5664 set dummy
$ac_prog; ac_word
=$2
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5666 $as_echo_n "checking for $ac_word... " >&6; }
5667 if ${ac_cv_prog_RSVG+:} false
; then :
5668 $as_echo_n "(cached) " >&6
5670 if test -n "$RSVG"; then
5671 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5677 test -z "$as_dir" && as_dir
=.
5678 for ac_exec_ext
in '' $ac_executable_extensions; do
5679 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5680 ac_cv_prog_RSVG
="$ac_prog"
5681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5690 RSVG
=$ac_cv_prog_RSVG
5691 if test -n "$RSVG"; then
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5693 $as_echo "$RSVG" >&6; }
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5696 $as_echo "no" >&6; }
5700 test -n "$RSVG" && break
5702 test -n "$RSVG" || RSVG
="false"
5704 for ac_prog
in convert
5706 # Extract the first word of "$ac_prog", so it can be a program name with args.
5707 set dummy
$ac_prog; ac_word
=$2
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5709 $as_echo_n "checking for $ac_word... " >&6; }
5710 if ${ac_cv_prog_CONVERT+:} false
; then :
5711 $as_echo_n "(cached) " >&6
5713 if test -n "$CONVERT"; then
5714 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5716 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5720 test -z "$as_dir" && as_dir
=.
5721 for ac_exec_ext
in '' $ac_executable_extensions; do
5722 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5723 ac_cv_prog_CONVERT
="$ac_prog"
5724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5733 CONVERT
=$ac_cv_prog_CONVERT
5734 if test -n "$CONVERT"; then
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5736 $as_echo "$CONVERT" >&6; }
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5739 $as_echo "no" >&6; }
5743 test -n "$CONVERT" && break
5745 test -n "$CONVERT" || CONVERT
="false"
5747 for ac_prog
in icotool
5749 # Extract the first word of "$ac_prog", so it can be a program name with args.
5750 set dummy
$ac_prog; ac_word
=$2
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5752 $as_echo_n "checking for $ac_word... " >&6; }
5753 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5754 $as_echo_n "(cached) " >&6
5756 if test -n "$ICOTOOL"; then
5757 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5763 test -z "$as_dir" && as_dir
=.
5764 for ac_exec_ext
in '' $ac_executable_extensions; do
5765 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5766 ac_cv_prog_ICOTOOL
="$ac_prog"
5767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5776 ICOTOOL
=$ac_cv_prog_ICOTOOL
5777 if test -n "$ICOTOOL"; then
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5779 $as_echo "$ICOTOOL" >&6; }
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5782 $as_echo "no" >&6; }
5786 test -n "$ICOTOOL" && break
5788 test -n "$ICOTOOL" || ICOTOOL
="false"
5790 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5791 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5793 if test "$CONVERT" = false
5795 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5798 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5799 convert_version
=`convert --version | head -n1`
5800 if test "x$convert_version" != "x"
5802 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5803 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5804 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5809 if test "$CONVERT" = false
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5812 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5813 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5816 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5820 if test "$ICOTOOL" = false
5822 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5825 $as_echo_n "checking for recent enough icotool... " >&6; }
5826 icotool_version
=`icotool --version | head -n1`
5827 if test "x$icotool_version" != "x"
5829 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5830 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5831 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5834 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5837 if test "$ICOTOOL" = false
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5840 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5841 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5844 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5850 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5853 test "x$with_gettext" != xno || MSGFMT
=false
5854 if test "$MSGFMT" != "false"
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5857 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5858 cat >conftest.po
<<EOF
5864 if $MSGFMT -o /dev
/null conftest.po
2>&5
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5867 $as_echo "yes" >&6; }
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5870 $as_echo "no" >&6; }
5874 if test "$MSGFMT" = false
; then :
5875 case "x$with_gettext" in
5876 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5878 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5879 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5885 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5886 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5887 $as_echo_n "(cached) " >&6
5889 ac_check_lib_save_LIBS
=$LIBS
5891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5892 /* end confdefs.h. */
5894 /* Override any GCC internal prototype to avoid an error.
5895 Use char because int might match the return type of a GCC
5896 builtin and then its argument prototype would still apply. */
5900 char i386_set_ldt ();
5904 return i386_set_ldt ();
5909 if ac_fn_c_try_link
"$LINENO"; then :
5910 ac_cv_lib_i386_i386_set_ldt
=yes
5912 ac_cv_lib_i386_i386_set_ldt
=no
5914 rm -f core conftest.err conftest.
$ac_objext \
5915 conftest
$ac_exeext conftest.
$ac_ext
5916 LIBS
=$ac_check_lib_save_LIBS
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5919 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5920 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5921 cat >>confdefs.h
<<_ACEOF
5922 #define HAVE_LIBI386 1
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5930 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5931 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5932 $as_echo_n "(cached) " >&6
5934 ac_check_lib_save_LIBS
=$LIBS
5935 LIBS
="-lossaudio $LIBS"
5936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5937 /* end confdefs.h. */
5939 /* Override any GCC internal prototype to avoid an error.
5940 Use char because int might match the return type of a GCC
5941 builtin and then its argument prototype would still apply. */
5949 return _oss_ioctl ();
5954 if ac_fn_c_try_link
"$LINENO"; then :
5955 ac_cv_lib_ossaudio__oss_ioctl
=yes
5957 ac_cv_lib_ossaudio__oss_ioctl
=no
5959 rm -f core conftest.err conftest.
$ac_objext \
5960 conftest
$ac_exeext conftest.
$ac_ext
5961 LIBS
=$ac_check_lib_save_LIBS
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5964 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5965 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
5966 cat >>confdefs.h
<<_ACEOF
5967 #define HAVE_LIBOSSAUDIO 1
5970 LIBS
="-lossaudio $LIBS"
5979 # Check whether --enable-largefile was given.
5980 if test "${enable_largefile+set}" = set; then :
5981 enableval
=$enable_largefile;
5984 if test "$enable_largefile" != no
; then
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5987 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5988 if ${ac_cv_sys_largefile_CC+:} false
; then :
5989 $as_echo_n "(cached) " >&6
5991 ac_cv_sys_largefile_CC
=no
5992 if test "$GCC" != yes; then
5995 # IRIX 6.2 and later do not support large files by default,
5996 # so use the C compiler's -n32 option if that helps.
5997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5998 /* end confdefs.h. */
5999 #include <sys/types.h>
6000 /* Check that off_t can represent 2**63 - 1 correctly.
6001 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6002 since some C++ compilers masquerading as C compilers
6003 incorrectly reject 9223372036854775807. */
6004 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6005 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6006 && LARGE_OFF_T % 2147483647 == 1)
6016 if ac_fn_c_try_compile
"$LINENO"; then :
6019 rm -f core conftest.err conftest.
$ac_objext
6021 if ac_fn_c_try_compile
"$LINENO"; then :
6022 ac_cv_sys_largefile_CC
=' -n32'; break
6024 rm -f core conftest.err conftest.
$ac_objext
6028 rm -f conftest.
$ac_ext
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6032 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6033 if test "$ac_cv_sys_largefile_CC" != no
; then
6034 CC
=$CC$ac_cv_sys_largefile_CC
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6038 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6039 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6040 $as_echo_n "(cached) " >&6
6043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6044 /* end confdefs.h. */
6045 #include <sys/types.h>
6046 /* Check that off_t can represent 2**63 - 1 correctly.
6047 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6048 since some C++ compilers masquerading as C compilers
6049 incorrectly reject 9223372036854775807. */
6050 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6051 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6052 && LARGE_OFF_T % 2147483647 == 1)
6062 if ac_fn_c_try_compile
"$LINENO"; then :
6063 ac_cv_sys_file_offset_bits
=no
; break
6065 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6067 /* end confdefs.h. */
6068 #define _FILE_OFFSET_BITS 64
6069 #include <sys/types.h>
6070 /* Check that off_t can represent 2**63 - 1 correctly.
6071 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6072 since some C++ compilers masquerading as C compilers
6073 incorrectly reject 9223372036854775807. */
6074 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6075 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6076 && LARGE_OFF_T % 2147483647 == 1)
6086 if ac_fn_c_try_compile
"$LINENO"; then :
6087 ac_cv_sys_file_offset_bits
=64; break
6089 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6090 ac_cv_sys_file_offset_bits
=unknown
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6095 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6096 case $ac_cv_sys_file_offset_bits in #(
6099 cat >>confdefs.h
<<_ACEOF
6100 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6105 if test $ac_cv_sys_file_offset_bits = unknown
; then
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6107 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6108 if ${ac_cv_sys_large_files+:} false
; then :
6109 $as_echo_n "(cached) " >&6
6112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6113 /* end confdefs.h. */
6114 #include <sys/types.h>
6115 /* Check that off_t can represent 2**63 - 1 correctly.
6116 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6117 since some C++ compilers masquerading as C compilers
6118 incorrectly reject 9223372036854775807. */
6119 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6120 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6121 && LARGE_OFF_T % 2147483647 == 1)
6131 if ac_fn_c_try_compile
"$LINENO"; then :
6132 ac_cv_sys_large_files
=no
; break
6134 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6136 /* end confdefs.h. */
6137 #define _LARGE_FILES 1
6138 #include <sys/types.h>
6139 /* Check that off_t can represent 2**63 - 1 correctly.
6140 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6141 since some C++ compilers masquerading as C compilers
6142 incorrectly reject 9223372036854775807. */
6143 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6144 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6145 && LARGE_OFF_T % 2147483647 == 1)
6155 if ac_fn_c_try_compile
"$LINENO"; then :
6156 ac_cv_sys_large_files
=1; break
6158 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6159 ac_cv_sys_large_files
=unknown
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6164 $as_echo "$ac_cv_sys_large_files" >&6; }
6165 case $ac_cv_sys_large_files in #(
6168 cat >>confdefs.h
<<_ACEOF
6169 #define _LARGE_FILES $ac_cv_sys_large_files
6181 ac_cpp
='$CPP $CPPFLAGS'
6182 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6183 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6184 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6186 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6187 # On Suns, sometimes $CPP names a directory.
6188 if test -n "$CPP" && test -d "$CPP"; then
6191 if test -z "$CPP"; then
6192 if ${ac_cv_prog_CPP+:} false
; then :
6193 $as_echo_n "(cached) " >&6
6195 # Double quotes because CPP needs to be expanded
6196 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6199 for ac_c_preproc_warn_flag
in '' yes
6201 # Use a header file that comes with gcc, so configuring glibc
6202 # with a fresh cross-compiler works.
6203 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6204 # <limits.h> exists even on freestanding compilers.
6205 # On the NeXT, cc -E runs the code through the compiler's parser,
6206 # not just through cpp. "Syntax error" is here to catch this case.
6207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6208 /* end confdefs.h. */
6210 # include <limits.h>
6212 # include <assert.h>
6216 if ac_fn_c_try_cpp
"$LINENO"; then :
6219 # Broken: fails on valid input.
6222 rm -f conftest.err conftest.i conftest.
$ac_ext
6224 # OK, works on sane cases. Now check whether nonexistent headers
6225 # can be detected and how.
6226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6227 /* end confdefs.h. */
6228 #include <ac_nonexistent.h>
6230 if ac_fn_c_try_cpp
"$LINENO"; then :
6231 # Broken: success on invalid input.
6234 # Passes both tests.
6238 rm -f conftest.err conftest.i conftest.
$ac_ext
6241 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6242 rm -f conftest.i conftest.err conftest.
$ac_ext
6243 if $ac_preproc_ok; then :
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6256 $as_echo "$CPP" >&6; }
6258 for ac_c_preproc_warn_flag
in '' yes
6260 # Use a header file that comes with gcc, so configuring glibc
6261 # with a fresh cross-compiler works.
6262 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6263 # <limits.h> exists even on freestanding compilers.
6264 # On the NeXT, cc -E runs the code through the compiler's parser,
6265 # not just through cpp. "Syntax error" is here to catch this case.
6266 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6267 /* end confdefs.h. */
6269 # include <limits.h>
6271 # include <assert.h>
6275 if ac_fn_c_try_cpp
"$LINENO"; then :
6278 # Broken: fails on valid input.
6281 rm -f conftest.err conftest.i conftest.
$ac_ext
6283 # OK, works on sane cases. Now check whether nonexistent headers
6284 # can be detected and how.
6285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6286 /* end confdefs.h. */
6287 #include <ac_nonexistent.h>
6289 if ac_fn_c_try_cpp
"$LINENO"; then :
6290 # Broken: success on invalid input.
6293 # Passes both tests.
6297 rm -f conftest.err conftest.i conftest.
$ac_ext
6300 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6301 rm -f conftest.i conftest.err conftest.
$ac_ext
6302 if $ac_preproc_ok; then :
6305 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6306 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6307 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6308 See \`config.log' for more details" "$LINENO" 5; }
6312 ac_cpp
='$CPP $CPPFLAGS'
6313 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6314 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6315 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6319 $as_echo_n "checking for ANSI C header files... " >&6; }
6320 if ${ac_cv_header_stdc+:} false
; then :
6321 $as_echo_n "(cached) " >&6
6323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6324 /* end confdefs.h. */
6338 if ac_fn_c_try_compile
"$LINENO"; then :
6339 ac_cv_header_stdc
=yes
6341 ac_cv_header_stdc
=no
6343 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6345 if test $ac_cv_header_stdc = yes; then
6346 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6348 /* end confdefs.h. */
6352 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6353 $EGREP "memchr" >/dev
/null
2>&1; then :
6356 ac_cv_header_stdc
=no
6362 if test $ac_cv_header_stdc = yes; then
6363 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6365 /* end confdefs.h. */
6369 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6370 $EGREP "free" >/dev
/null
2>&1; then :
6373 ac_cv_header_stdc
=no
6379 if test $ac_cv_header_stdc = yes; then
6380 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6381 if test "$cross_compiling" = yes; then :
6384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6385 /* end confdefs.h. */
6388 #if ((' ' & 0x0FF) == 0x020)
6389 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6390 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6392 # define ISLOWER(c) \
6393 (('a' <= (c) && (c) <= 'i') \
6394 || ('j' <= (c) && (c) <= 'r') \
6395 || ('s' <= (c) && (c) <= 'z'))
6396 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6399 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6404 for (i = 0; i < 256; i++)
6405 if (XOR (islower (i), ISLOWER (i))
6406 || toupper (i) != TOUPPER (i))
6411 if ac_fn_c_try_run
"$LINENO"; then :
6414 ac_cv_header_stdc
=no
6416 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6417 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6423 $as_echo "$ac_cv_header_stdc" >&6; }
6424 if test $ac_cv_header_stdc = yes; then
6426 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6430 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6431 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6432 inttypes.h stdint.h unistd.h
6434 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6435 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6437 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6438 cat >>confdefs.h
<<_ACEOF
6439 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6449 ApplicationServices
/ApplicationServices.h \
6450 AudioToolbox
/AudioConverter.h \
6451 AudioUnit
/AudioUnit.h \
6452 AudioUnit
/AudioComponent.h \
6455 CoreAudio
/CoreAudio.h \
6456 CoreServices
/CoreServices.h \
6457 DiskArbitration
/DiskArbitration.h \
6459 IOKit
/hid
/IOHIDLib.h \
6462 QuickTime
/ImageCompression.h \
6463 Security
/Security.h \
6514 netinet
/in_systm.h \
6576 valgrind
/memcheck.h \
6577 valgrind
/valgrind.h \
6581 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6582 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6583 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6584 cat >>confdefs.h
<<_ACEOF
6585 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6593 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6594 if ${ac_cv_header_stat_broken+:} false
; then :
6595 $as_echo_n "(cached) " >&6
6597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6598 /* end confdefs.h. */
6599 #include <sys/types.h>
6600 #include <sys/stat.h>
6602 #if defined S_ISBLK && defined S_IFDIR
6603 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6606 #if defined S_ISBLK && defined S_IFCHR
6607 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6610 #if defined S_ISLNK && defined S_IFREG
6611 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6614 #if defined S_ISSOCK && defined S_IFREG
6615 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6619 if ac_fn_c_try_compile
"$LINENO"; then :
6620 ac_cv_header_stat_broken
=no
6622 ac_cv_header_stat_broken
=yes
6624 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6627 $as_echo "$ac_cv_header_stat_broken" >&6; }
6628 if test $ac_cv_header_stat_broken = yes; then
6630 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6636 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6638 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6639 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6640 #ifdef HAVE_SYS_PARAM_H
6641 # include <sys/param.h>
6644 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6645 cat >>confdefs.h
<<_ACEOF
6646 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6661 netinet
/if_ether.h \
6662 netinet
/if_inarp.h \
6671 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6672 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6673 #ifdef HAVE_SYS_SOCKET_H
6674 # include <sys/socket.h>
6676 #ifdef HAVE_SYS_SOCKETVAR_H
6677 # include <sys/socketvar.h>
6679 #ifdef HAVE_NET_ROUTE_H
6680 # include <net/route.h>
6682 #ifdef HAVE_NETINET_IN_H
6683 # include <netinet/in.h>
6685 #ifdef HAVE_NETINET_IN_SYSTM_H
6686 # include <netinet/in_systm.h>
6688 #ifdef HAVE_NET_IF_H
6689 # include <net/if.h>
6691 #ifdef HAVE_NETINET_IP_H
6692 # include <netinet/ip.h>
6695 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6696 cat >>confdefs.h
<<_ACEOF
6697 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6705 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6707 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6708 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6712 #ifdef HAVE_SYS_SOCKET_H
6713 # include <sys/socket.h>
6715 #ifdef HAVE_SYS_SOCKETVAR_H
6716 # include <sys/socketvar.h>
6718 #ifdef HAVE_SYS_TIMEOUT_H
6719 # include <sys/timeout.h>
6721 #ifdef HAVE_NETINET_IN_H
6722 # include <netinet/in.h>
6724 #ifdef HAVE_NETINET_IN_SYSTM_H
6725 # include <netinet/in_systm.h>
6727 #ifdef HAVE_NETINET_IP_H
6728 # include <netinet/ip.h>
6730 #ifdef HAVE_NETINET_IP_VAR_H
6731 # include <netinet/ip_var.h>
6733 #ifdef HAVE_NETINET_IP_ICMP_H
6734 # include <netinet/ip_icmp.h>
6736 #ifdef HAVE_NETINET_UDP_H
6737 # include <netinet/udp.h>
6739 #ifdef HAVE_NETINET_TCP_H
6740 # include <netinet/tcp.h>
6742 #ifdef HAVE_NETINET_TCP_TIMER_H
6743 #include <netinet/tcp_timer.h>
6746 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6747 cat >>confdefs.h
<<_ACEOF
6748 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6756 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6758 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6759 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6760 #ifdef HAVE_ASM_TYPES_H
6761 # include <asm/types.h>
6763 #ifdef HAVE_SYS_SOCKET_H
6764 # include <sys/socket.h>
6766 #ifdef HAVE_LINUX_TYPES_H
6767 # include <linux/types.h>
6770 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6771 cat >>confdefs.h
<<_ACEOF
6772 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6780 for ac_header
in mach-o
/dyld_images.h
6782 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6783 # include <stdbool.h>
6785 #ifdef HAVE_STDINT_H
6786 # include <stdint.h>
6789 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6790 cat >>confdefs.h
<<_ACEOF
6791 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6799 for ac_header
in resolv.h
6801 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6802 #ifdef HAVE_SYS_SOCKET_H
6803 # include <sys/socket.h>
6805 #ifdef HAVE_NETINET_IN_H
6806 # include <netinet/in.h>
6808 #ifdef HAVE_ARPA_NAMESER_H
6809 # include <arpa/nameser.h>
6812 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6813 cat >>confdefs.h
<<_ACEOF
6814 #define HAVE_RESOLV_H 1
6822 for ac_header
in ifaddrs.h
6824 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6826 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6827 cat >>confdefs.h
<<_ACEOF
6828 #define HAVE_IFADDRS_H 1
6836 for ac_header
in sys
/ucontext.h
6838 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6840 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
6841 cat >>confdefs.h
<<_ACEOF
6842 #define HAVE_SYS_UCONTEXT_H 1
6850 for ac_header
in sys
/thr.h
6852 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6853 #ifdef HAVE_SYS_UCONTEXT_H
6854 #include <sys/ucontext.h>
6857 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6858 cat >>confdefs.h
<<_ACEOF
6859 #define HAVE_SYS_THR_H 1
6867 for ac_header
in pthread_np.h
6869 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6870 #include <pthread.h>
6873 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6874 cat >>confdefs.h
<<_ACEOF
6875 #define HAVE_PTHREAD_NP_H 1
6883 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
6885 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6886 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6887 #include <sys/time.h>
6889 #include <sys/types.h>
6890 #ifdef HAVE_ASM_TYPES_H
6891 #include <asm/types.h>
6894 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6895 cat >>confdefs.h
<<_ACEOF
6896 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6904 for ac_header
in libprocstat.h
6906 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6907 #include <sys/param.h>
6909 #ifdef HAVE_SYS_QUEUE_H
6910 #include <sys/queue.h>
6912 #ifdef HAVE_SYS_SOCKET_H
6913 #include <sys/socket.h>
6916 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
6917 cat >>confdefs.h
<<_ACEOF
6918 #define HAVE_LIBPROCSTAT_H 1
6927 dlldir
="\${libdir}/wine"
6931 DLLFLAGS
="-D_REENTRANT"
6940 STATIC_IMPLIBEXT
="def.a"
6941 # Extract the first word of "ldd", so it can be a program name with args.
6942 set dummy ldd
; ac_word
=$2
6943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6944 $as_echo_n "checking for $ac_word... " >&6; }
6945 if ${ac_cv_path_LDD+:} false
; then :
6946 $as_echo_n "(cached) " >&6
6950 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6953 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6954 as_dummy
="/sbin:/usr/sbin:$PATH"
6955 for as_dir
in $as_dummy
6958 test -z "$as_dir" && as_dir
=.
6959 for ac_exec_ext
in '' $ac_executable_extensions; do
6960 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6961 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6969 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6974 if test -n "$LDD"; then
6975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6976 $as_echo "$LDD" >&6; }
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6979 $as_echo "no" >&6; }
6983 if test -n "$ac_tool_prefix"; then
6984 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6985 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6987 $as_echo_n "checking for $ac_word... " >&6; }
6988 if ${ac_cv_prog_READELF+:} false
; then :
6989 $as_echo_n "(cached) " >&6
6991 if test -n "$READELF"; then
6992 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
6994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6998 test -z "$as_dir" && as_dir
=.
6999 for ac_exec_ext
in '' $ac_executable_extensions; do
7000 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7001 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7011 READELF
=$ac_cv_prog_READELF
7012 if test -n "$READELF"; then
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7014 $as_echo "$READELF" >&6; }
7016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7017 $as_echo "no" >&6; }
7022 if test -z "$ac_cv_prog_READELF"; then
7023 ac_ct_READELF
=$READELF
7024 # Extract the first word of "readelf", so it can be a program name with args.
7025 set dummy readelf
; ac_word
=$2
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7027 $as_echo_n "checking for $ac_word... " >&6; }
7028 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7029 $as_echo_n "(cached) " >&6
7031 if test -n "$ac_ct_READELF"; then
7032 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7034 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7038 test -z "$as_dir" && as_dir
=.
7039 for ac_exec_ext
in '' $ac_executable_extensions; do
7040 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7041 ac_cv_prog_ac_ct_READELF
="readelf"
7042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7051 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7052 if test -n "$ac_ct_READELF"; then
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7054 $as_echo "$ac_ct_READELF" >&6; }
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7057 $as_echo "no" >&6; }
7060 if test "x$ac_ct_READELF" = x
; then
7063 case $cross_compiling:$ac_tool_warned in
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7066 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7067 ac_tool_warned
=yes ;;
7069 READELF
=$ac_ct_READELF
7072 READELF
="$ac_cv_prog_READELF"
7075 wine_rules_file
=conf$
$rules.
make
7076 rm -f $wine_rules_file
7078 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7079 ALL_TEST_RESOURCES
=""
7082 wine_fn_append_file
()
7084 as_fn_append
$1 " \\$as_nl $2"
7087 wine_fn_ignore_file
()
7090 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7091 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7092 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7096 wine_fn_append_rule
()
7098 $as_echo "$1" >>$wine_rules_file
7103 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7106 wine_fn_depend_rules
()
7108 wine_fn_append_rule \
7109 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7110 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7111 depend: $ac_dir/depend
7112 .PHONY: $ac_dir/depend
7113 $ac_dir/depend: \$(MAKEDEP) dummy
7114 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7117 wine_fn_pot_rules
()
7119 test "x$with_gettextpo" = xyes ||
return
7121 if wine_fn_has_flag mc
7123 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7124 wine_fn_append_rule \
7125 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7126 @cd $ac_dir && \$(MAKE) msg.pot
7127 $ac_dir/msg.pot: tools/wmc include"
7129 if wine_fn_has_flag po
7131 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7132 wine_fn_append_rule \
7133 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7134 @cd $ac_dir && \$(MAKE) rsrc.pot
7135 $ac_dir/rsrc.pot: tools/wrc include"
7139 wine_fn_all_rules
()
7141 wine_fn_depend_rules
7142 wine_fn_append_rule \
7145 $ac_dir: $ac_dir/Makefile dummy
7146 @cd $ac_dir && \$(MAKE)"
7149 wine_fn_install_rules
()
7151 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7153 wine_fn_append_rule \
7154 ".PHONY: $ac_dir/install $ac_dir/uninstall
7155 $ac_dir/install:: $ac_dir
7156 @cd $ac_dir && \$(MAKE) install
7157 $ac_dir/uninstall:: $ac_dir/Makefile
7158 @cd $ac_dir && \$(MAKE) uninstall
7159 install:: $ac_dir/install
7160 __uninstall__: $ac_dir/uninstall"
7162 if wine_fn_has_flag install-lib
7164 wine_fn_append_rule \
7165 ".PHONY: $ac_dir/install-lib
7166 $ac_dir/install-lib:: $ac_dir
7167 @cd $ac_dir && \$(MAKE) install-lib
7168 install-lib:: $ac_dir/install-lib"
7171 if wine_fn_has_flag install-dev
7173 wine_fn_append_rule \
7174 ".PHONY: $ac_dir/install-dev
7175 $ac_dir/install-dev:: $ac_dir
7176 @cd $ac_dir && \$(MAKE) install-dev
7177 install-dev:: $ac_dir/install-dev"
7181 wine_fn_clean_rules
()
7184 ac_extraclean
="$ac_dir/Makefile"
7185 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7187 */tests
) ac_extraclean
="$ac_extraclean $ac_dir/testlist.c" ;;
7190 if wine_fn_has_flag clean
7192 wine_fn_append_rule \
7193 "__clean__: $ac_dir/clean
7194 .PHONY: $ac_dir/clean
7195 $ac_dir/clean: $ac_dir/Makefile
7196 @cd $ac_dir && \$(MAKE) clean
7197 \$(RM) $ac_extraclean"
7199 wine_fn_append_rule \
7200 "__clean__: $ac_dir/clean
7201 .PHONY: $ac_dir/clean
7202 $ac_dir/clean: dummy
7203 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7207 wine_fn_disabled_rules
()
7210 ac_extraclean
="$ac_dir/Makefile"
7211 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7213 wine_fn_append_rule \
7214 "__clean__: $ac_dir/clean
7215 .PHONY: $ac_dir/clean
7216 $ac_dir/clean: dummy
7217 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7220 wine_fn_config_makefile
()
7226 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7227 wine_fn_disabled_rules
; return
7230 wine_fn_install_rules
7234 wine_fn_config_lib
()
7238 ac_dir
=dlls
/$ac_name
7241 if test "x$enable_tools" = xno
; then :
7244 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7249 wine_fn_append_rule \
7250 ".PHONY: $ac_dir/install $ac_dir/uninstall
7251 $ac_dir/install:: $ac_dir
7252 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7254 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7255 install install-dev:: $ac_dir/install
7256 __uninstall__: $ac_dir/uninstall
7257 __builddeps__: $ac_dir
7261 wine_fn_config_dll
()
7264 ac_dir
=dlls
/$ac_name
7267 ac_implib
=${4:-$ac_name}
7268 ac_file
=$ac_dir/lib
$ac_implib
7273 if test "x$enable_tools" = xno
; then :
7276 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7279 *16) ac_implibflags
=" -m16" ;;
7281 *) ac_dll
=$ac_dll.dll
;;
7285 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7286 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7287 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7288 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7290 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7291 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
7293 wine_fn_depend_rules
7294 wine_fn_clean_rules
$ac_clean
7296 wine_fn_disabled_rules
$ac_clean
7301 wine_fn_clean_rules
$ac_clean
7302 wine_fn_append_rule \
7303 "$ac_dir: __builddeps__
7304 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7305 @cd $ac_dir && \$(MAKE) \$@
7306 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7307 install install-lib:: $ac_dir/install-lib
7308 __uninstall__: $ac_dir/uninstall"
7309 if test -n "$DLLEXT"
7311 wine_fn_append_rule \
7312 "$ac_dir/install-lib:: $ac_dir
7313 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7314 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7316 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7318 wine_fn_append_rule \
7319 "$ac_dir/install-lib:: $ac_dir
7320 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7322 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7328 if wine_fn_has_flag staticimplib
7330 wine_fn_append_rule \
7331 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7332 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7333 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7334 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7335 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7336 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7337 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7338 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7339 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7341 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7342 install install-dev:: $ac_dir/install-dev
7343 __uninstall__: $ac_dir/uninstall"
7345 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7347 wine_fn_append_rule \
7348 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7349 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7351 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
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: $ac_dir/Makefile dummy
7359 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7362 elif wine_fn_has_flag implib
7364 wine_fn_append_rule \
7365 "__builddeps__: $ac_file.$IMPLIBEXT
7366 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7367 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7368 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7369 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7370 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7371 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7372 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7374 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7375 install install-dev:: $ac_dir/install-dev
7376 __uninstall__: $ac_dir/uninstall"
7377 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7379 wine_fn_append_rule \
7380 "__builddeps__: $ac_file.cross.a
7381 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7382 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7385 if test "$ac_name" != "$ac_implib"
7387 wine_fn_append_rule \
7388 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7389 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7390 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7392 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7393 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7394 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7396 wine_fn_append_rule \
7397 "__builddeps__: dlls/lib$ac_implib.cross.a
7398 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7399 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7401 \$(RM) dlls/lib$ac_implib.cross.a"
7402 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7408 wine_fn_config_program
()
7411 ac_dir
=programs
/$ac_name
7418 *) ac_program
=$ac_program.exe
;;
7422 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7423 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7424 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7425 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7427 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7428 wine_fn_disabled_rules
$ac_clean; return
7432 wine_fn_clean_rules
$ac_clean
7433 wine_fn_append_rule
"$ac_dir: __builddeps__"
7436 wine_fn_has_flag
install ||
return
7437 wine_fn_append_rule \
7438 ".PHONY: $ac_dir/install $ac_dir/uninstall
7439 install install-lib:: $ac_dir/install
7440 __uninstall__: $ac_dir/uninstall"
7442 if test -n "$DLLEXT"
7444 wine_fn_append_rule \
7445 "$ac_dir/install:: $ac_dir
7446 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7447 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7449 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7451 if test -z "$with_wine64" && wine_fn_has_flag installbin
7453 wine_fn_append_rule \
7454 "$ac_dir/install:: __tooldeps__
7455 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7457 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7460 wine_fn_append_rule \
7461 "$ac_dir/install:: $ac_dir
7462 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7464 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7467 if test -z "$with_wine64" && wine_fn_has_flag manpage
7469 wine_fn_append_rule \
7470 "$ac_dir/install:: $ac_dir
7471 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7473 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7477 wine_fn_config_test
()
7484 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7485 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7487 if test "x$enable_tests" = xno
; then :
7488 wine_fn_disabled_rules
$ac_clean; return
7491 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7493 wine_fn_clean_rules
$ac_clean
7495 wine_fn_append_rule \
7496 "$ac_dir: programs/winetest/Makefile __builddeps__
7497 programs/winetest: $ac_dir
7498 check test: $ac_dir/test
7499 .PHONY: $ac_dir/test
7501 @cd $ac_dir && \$(MAKE) test
7503 \$(RM) $ac_dir/*.ok"
7505 if test -n "$CROSSTARGET"
7507 wine_fn_append_rule \
7508 "crosstest: $ac_dir/crosstest
7509 .PHONY: $ac_dir/crosstest
7510 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7511 @cd $ac_dir && \$(MAKE) crosstest"
7515 wine_fn_config_tool
()
7519 if test "x$enable_tools" = xno
; then :
7524 wine_fn_install_rules
7527 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7528 wine_fn_append_rule
"$ac_dir: libs/port"
7530 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7534 wine_fn_config_symlink
()
7537 if test "x$1" = "x-d"
7543 wine_fn_append_rule \
7545 @./config.status \$@
7548 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7549 test -n "$ac_linkdir" ||
return
7550 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7554 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7555 loader_programs
="$wine_binary wine-installed"
7556 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7561 install install-lib:: wine-installed
7562 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7565 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7571 if test -n "$ac_tool_prefix"; then
7572 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7573 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7575 $as_echo_n "checking for $ac_word... " >&6; }
7576 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7577 $as_echo_n "(cached) " >&6
7579 if test -n "$DLLTOOL"; then
7580 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7582 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7586 test -z "$as_dir" && as_dir
=.
7587 for ac_exec_ext
in '' $ac_executable_extensions; do
7588 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7589 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7599 DLLTOOL
=$ac_cv_prog_DLLTOOL
7600 if test -n "$DLLTOOL"; then
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7602 $as_echo "$DLLTOOL" >&6; }
7604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7605 $as_echo "no" >&6; }
7610 if test -z "$ac_cv_prog_DLLTOOL"; then
7611 ac_ct_DLLTOOL
=$DLLTOOL
7612 # Extract the first word of "dlltool", so it can be a program name with args.
7613 set dummy dlltool
; ac_word
=$2
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7615 $as_echo_n "checking for $ac_word... " >&6; }
7616 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7617 $as_echo_n "(cached) " >&6
7619 if test -n "$ac_ct_DLLTOOL"; then
7620 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7622 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7626 test -z "$as_dir" && as_dir
=.
7627 for ac_exec_ext
in '' $ac_executable_extensions; do
7628 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7629 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7639 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7640 if test -n "$ac_ct_DLLTOOL"; then
7641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7642 $as_echo "$ac_ct_DLLTOOL" >&6; }
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7645 $as_echo "no" >&6; }
7648 if test "x$ac_ct_DLLTOOL" = x
; then
7651 case $cross_compiling:$ac_tool_warned in
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7654 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7655 ac_tool_warned
=yes ;;
7657 DLLTOOL
=$ac_ct_DLLTOOL
7660 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7666 STATIC_IMPLIBEXT
="a"
7667 enable_iphlpapi
=${enable_iphlpapi:-no}
7668 enable_kernel32
=${enable_kernel32:-no}
7669 enable_msvcrt
=${enable_msvcrt:-no}
7670 enable_ntdll
=${enable_ntdll:-no}
7671 enable_ws2_32
=${enable_ws2_32:-no}
7672 enable_loader
=${enable_loader:-no}
7673 enable_server
=${enable_server:-no}
7674 with_x
=${with_x:-no}
7675 with_pthread
=${with_pthread:-no}
7681 SOCKET_LIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7685 libwine_targets
="libwine.dll libwine.a"
7687 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7689 all: libwine.dll libwine.a
7691 libwine.a: \$(srcdir)/wine.def
7692 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7694 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7695 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7697 install install-lib:: libwine.dll
7698 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7700 install install-dev:: libwine.a
7701 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7704 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7711 DLLFLAGS
="$DLLFLAGS -fPIC"
7712 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7713 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7714 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7715 COREFOUNDATION_LIBS
="-framework CoreFoundation"
7717 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
7719 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
7721 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
7723 CORESERVICES_LIBS
="-framework CoreServices"
7725 APPKIT_LIBS
="-framework AppKit"
7727 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7729 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7730 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
7731 $as_echo_n "(cached) " >&6
7733 ac_wine_try_cflags_saved
=$CFLAGS
7734 CFLAGS
="$CFLAGS -Wl,-no_pie"
7735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7736 /* end confdefs.h. */
7737 int main(int argc, char **argv) { return 0; }
7739 if ac_fn_c_try_link
"$LINENO"; then :
7740 ac_cv_cflags__Wl__no_pie
=yes
7742 ac_cv_cflags__Wl__no_pie
=no
7744 rm -f core conftest.err conftest.
$ac_objext \
7745 conftest
$ac_exeext conftest.
$ac_ext
7746 CFLAGS
=$ac_wine_try_cflags_saved
7748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7749 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7750 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
7751 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
7753 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7755 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
7758 if test "$ac_cv_header_Security_Security_h" = "yes"
7760 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
7762 ac_save_LIBS
="$LIBS"
7763 LIBS
="$LIBS $SECURITY_LIBS"
7764 for ac_func
in SSLCopyPeerCertificates
7766 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7767 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7768 cat >>confdefs.h
<<_ACEOF
7769 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7775 LIBS
="$ac_save_LIBS"
7776 with_gnutls
=${with_gnutls:-no}
7778 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7780 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7782 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7785 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7788 ac_save_LIBS
="$LIBS"
7789 LIBS
="$LIBS $COREAUDIO_LIBS"
7790 for ac_func
in AUGraphAddNode
7792 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7793 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7794 cat >>confdefs.h
<<_ACEOF
7795 #define HAVE_AUGRAPHADDNODE 1
7801 LIBS
="$ac_save_LIBS"
7803 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7805 OPENAL_LIBS
="-framework OpenAL"
7808 cat >>confdefs.h
<<_ACEOF
7809 #define HAVE_OPENAL 1
7812 ac_cv_lib_openal
=yes
7814 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7816 OPENCL_LIBS
="-framework OpenCL"
7818 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7820 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7822 ac_save_LIBS
="$LIBS"
7823 LIBS
="$LIBS $IOKIT_LIBS"
7824 for ac_func
in IOHIDManagerCreate
7826 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7827 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7828 cat >>confdefs.h
<<_ACEOF
7829 #define HAVE_IOHIDMANAGERCREATE 1
7835 LIBS
="$ac_save_LIBS"
7837 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7839 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7841 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
7843 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7845 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7847 CARBON_LIBS
="-framework Carbon"
7851 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7853 ac_save_LIBS
="$LIBS"
7854 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
7855 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7856 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
7857 enable_winemac_drv
=${enable_winemac_drv:-yes}
7860 LIBS
="$ac_save_LIBS"
7863 if test "x$enable_win16" = "xyes"
7865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7866 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7867 if test "$cross_compiling" = yes; then :
7868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7869 $as_echo "cross-compiling, assuming yes" >&6; }
7871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7872 /* end confdefs.h. */
7875 "good:\tnop;nop\n\t"
7876 ".globl _testfunc\n"
7877 "_testfunc:\tcallw good");
7878 extern void testfunc();
7882 unsigned short *p = (unsigned short *)testfunc;
7883 return p[0] != 0xe866 || p[1] != 0xfffa
7888 if ac_fn_c_try_run
"$LINENO"; then :
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7890 $as_echo "yes" >&6; }
7892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7893 $as_echo "no" >&6; }
7894 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
7896 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7897 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7902 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7904 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7908 libwine.$libwine_version.dylib: \$(OBJS)
7909 \$(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 \$@
7911 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7912 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7914 libwine.dylib: libwine.$libwine_soversion.dylib
7915 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7917 install install-lib:: libwine.$libwine_version.dylib
7918 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7919 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7921 install install-dev::
7922 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7925 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7929 as_fn_append LOADER_RULES
"
7930 $wine_binary: main.o wine_info.plist
7931 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7933 wine-installed: main.o wine_info.plist
7934 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7939 DLLFLAGS
="$DLLFLAGS -fPIC"
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7944 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7945 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7946 $as_echo_n "(cached) " >&6
7948 ac_wine_try_cflags_saved
=$CFLAGS
7949 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7951 /* end confdefs.h. */
7952 int main(int argc, char **argv) { return 0; }
7954 if ac_fn_c_try_link
"$LINENO"; then :
7955 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7957 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7959 rm -f core conftest.err conftest.
$ac_objext \
7960 conftest
$ac_exeext conftest.
$ac_ext
7961 CFLAGS
=$ac_wine_try_cflags_saved
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7964 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7965 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
7966 LDEXECFLAGS
="-Wl,--export-dynamic"
7968 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7970 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7971 if eval \
${$as_ac_var+:} false
; then :
7972 $as_echo_n "(cached) " >&6
7974 ac_wine_try_cflags_saved
=$CFLAGS
7975 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7977 /* end confdefs.h. */
7978 int main(int argc, char **argv) { return 0; }
7980 if ac_fn_c_try_link
"$LINENO"; then :
7981 eval "$as_ac_var=yes"
7983 eval "$as_ac_var=no"
7985 rm -f core conftest.err conftest.
$ac_objext \
7986 conftest
$ac_exeext conftest.
$ac_ext
7987 CFLAGS
=$ac_wine_try_cflags_saved
7989 eval ac_res
=\$
$as_ac_var
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7991 $as_echo "$ac_res" >&6; }
7992 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7993 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7994 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7996 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7998 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7999 if eval \
${$as_ac_var+:} false
; then :
8000 $as_echo_n "(cached) " >&6
8002 ac_wine_try_cflags_saved
=$CFLAGS
8003 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8005 /* end confdefs.h. */
8006 int main(int argc, char **argv) { return 0; }
8008 if ac_fn_c_try_link
"$LINENO"; then :
8009 eval "$as_ac_var=yes"
8011 eval "$as_ac_var=no"
8013 rm -f core conftest.err conftest.
$ac_objext \
8014 conftest
$ac_exeext conftest.
$ac_ext
8015 CFLAGS
=$ac_wine_try_cflags_saved
8017 eval ac_res
=\$
$as_ac_var
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8019 $as_echo "$ac_res" >&6; }
8020 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8021 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8022 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8027 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8028 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8029 $as_echo_n "(cached) " >&6
8031 ac_wine_try_cflags_saved
=$CFLAGS
8032 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8034 /* end confdefs.h. */
8035 int main(int argc, char **argv) { return 0; }
8037 if ac_fn_c_try_link
"$LINENO"; then :
8038 ac_cv_cflags__Wl___enable_new_dtags
=yes
8040 ac_cv_cflags__Wl___enable_new_dtags
=no
8042 rm -f core conftest.err conftest.
$ac_objext \
8043 conftest
$ac_exeext conftest.
$ac_ext
8044 CFLAGS
=$ac_wine_try_cflags_saved
8046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8047 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8048 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8049 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8053 *i
[3456789]86* | x86_64
)
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8055 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8056 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8057 $as_echo_n "(cached) " >&6
8059 ac_wine_try_cflags_saved
=$CFLAGS
8060 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8062 /* end confdefs.h. */
8063 int main(int argc, char **argv) { return 0; }
8065 if ac_fn_c_try_link
"$LINENO"; then :
8066 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8068 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8070 rm -f core conftest.err conftest.
$ac_objext \
8071 conftest
$ac_exeext conftest.
$ac_ext
8072 CFLAGS
=$ac_wine_try_cflags_saved
8074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8075 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8076 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8077 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8082 libwine_targets
="libwine.so"
8084 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8088 libwine.so: \$(OBJS)
8089 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8091 install install-lib:: libwine.so
8092 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8095 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8099 as_fn_append LOADER_RULES
"
8100 $wine_binary: main.o
8101 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8103 wine-installed: main.o
8104 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8109 DLLFLAGS
="$DLLFLAGS -fPIC"
8111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8112 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8113 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8114 $as_echo_n "(cached) " >&6
8116 ac_wine_try_cflags_saved
=$CFLAGS
8117 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8119 /* end confdefs.h. */
8122 if ac_fn_c_try_link
"$LINENO"; then :
8123 ac_cv_c_dll_gnuelf
="yes"
8125 ac_cv_c_dll_gnuelf
="no"
8127 rm -f core conftest.err conftest.
$ac_objext \
8128 conftest
$ac_exeext conftest.
$ac_ext
8129 CFLAGS
=$ac_wine_try_cflags_saved
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8132 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8133 if test "$ac_cv_c_dll_gnuelf" = "yes"
8135 LDSHARED
="\$(CC) -shared"
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8137 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8138 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8139 $as_echo_n "(cached) " >&6
8141 ac_wine_try_cflags_saved
=$CFLAGS
8142 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8144 /* end confdefs.h. */
8145 int main(int argc, char **argv) { return 0; }
8147 if ac_fn_c_try_link
"$LINENO"; then :
8148 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8150 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8152 rm -f core conftest.err conftest.
$ac_objext \
8153 conftest
$ac_exeext conftest.
$ac_ext
8154 CFLAGS
=$ac_wine_try_cflags_saved
8156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8157 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8158 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8159 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8162 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8163 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8164 $as_echo_n "(cached) " >&6
8166 ac_wine_try_cflags_saved
=$CFLAGS
8167 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8169 /* end confdefs.h. */
8170 int main(int argc, char **argv) { return 0; }
8172 if ac_fn_c_try_link
"$LINENO"; then :
8173 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8175 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8177 rm -f core conftest.err conftest.
$ac_objext \
8178 conftest
$ac_exeext conftest.
$ac_ext
8179 CFLAGS
=$ac_wine_try_cflags_saved
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8182 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8183 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8184 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8188 echo '{ global: *; };' >conftest.map
8189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8190 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8191 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8192 $as_echo_n "(cached) " >&6
8194 ac_wine_try_cflags_saved
=$CFLAGS
8195 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8197 /* end confdefs.h. */
8198 int main(int argc, char **argv) { return 0; }
8200 if ac_fn_c_try_link
"$LINENO"; then :
8201 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8203 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8205 rm -f core conftest.err conftest.
$ac_objext \
8206 conftest
$ac_exeext conftest.
$ac_ext
8207 CFLAGS
=$ac_wine_try_cflags_saved
8209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8210 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8211 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8212 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8217 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8218 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8219 $as_echo_n "(cached) " >&6
8221 ac_wine_try_cflags_saved
=$CFLAGS
8222 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8224 /* end confdefs.h. */
8225 int main(int argc, char **argv) { return 0; }
8227 if ac_fn_c_try_link
"$LINENO"; then :
8228 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8230 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8232 rm -f core conftest.err conftest.
$ac_objext \
8233 conftest
$ac_exeext conftest.
$ac_ext
8234 CFLAGS
=$ac_wine_try_cflags_saved
8236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8237 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8238 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8239 LDEXECFLAGS
="-Wl,--export-dynamic"
8242 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8244 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8245 if eval \
${$as_ac_var+:} false
; then :
8246 $as_echo_n "(cached) " >&6
8248 ac_wine_try_cflags_saved
=$CFLAGS
8249 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8251 /* end confdefs.h. */
8252 int main(int argc, char **argv) { return 0; }
8254 if ac_fn_c_try_link
"$LINENO"; then :
8255 eval "$as_ac_var=yes"
8257 eval "$as_ac_var=no"
8259 rm -f core conftest.err conftest.
$ac_objext \
8260 conftest
$ac_exeext conftest.
$ac_ext
8261 CFLAGS
=$ac_wine_try_cflags_saved
8263 eval ac_res
=\$
$as_ac_var
8264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8265 $as_echo "$ac_res" >&6; }
8266 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8267 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8268 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8270 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8272 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8273 if eval \
${$as_ac_var+:} false
; then :
8274 $as_echo_n "(cached) " >&6
8276 ac_wine_try_cflags_saved
=$CFLAGS
8277 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8279 /* end confdefs.h. */
8280 int main(int argc, char **argv) { return 0; }
8282 if ac_fn_c_try_link
"$LINENO"; then :
8283 eval "$as_ac_var=yes"
8285 eval "$as_ac_var=no"
8287 rm -f core conftest.err conftest.
$ac_objext \
8288 conftest
$ac_exeext conftest.
$ac_ext
8289 CFLAGS
=$ac_wine_try_cflags_saved
8291 eval ac_res
=\$
$as_ac_var
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8293 $as_echo "$ac_res" >&6; }
8294 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8295 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8296 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8301 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8302 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8303 $as_echo_n "(cached) " >&6
8305 ac_wine_try_cflags_saved
=$CFLAGS
8306 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8308 /* end confdefs.h. */
8309 int main(int argc, char **argv) { return 0; }
8311 if ac_fn_c_try_link
"$LINENO"; then :
8312 ac_cv_cflags__Wl___enable_new_dtags
=yes
8314 ac_cv_cflags__Wl___enable_new_dtags
=no
8316 rm -f core conftest.err conftest.
$ac_objext \
8317 conftest
$ac_exeext conftest.
$ac_ext
8318 CFLAGS
=$ac_wine_try_cflags_saved
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8321 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8322 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8323 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8327 *i
[3456789]86* | x86_64
)
8328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8329 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8330 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8331 $as_echo_n "(cached) " >&6
8333 ac_wine_try_cflags_saved
=$CFLAGS
8334 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8335 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8336 /* end confdefs.h. */
8337 int main(int argc, char **argv) { return 0; }
8339 if ac_fn_c_try_link
"$LINENO"; then :
8340 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8342 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8344 rm -f core conftest.err conftest.
$ac_objext \
8345 conftest
$ac_exeext conftest.
$ac_ext
8346 CFLAGS
=$ac_wine_try_cflags_saved
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8349 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8350 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8352 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8353 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8357 # Extract the first word of "prelink", so it can be a program name with args.
8358 set dummy prelink
; ac_word
=$2
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8360 $as_echo_n "checking for $ac_word... " >&6; }
8361 if ${ac_cv_path_PRELINK+:} false
; then :
8362 $as_echo_n "(cached) " >&6
8366 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8369 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8370 for as_dir
in /sbin
/usr
/sbin
$PATH
8373 test -z "$as_dir" && as_dir
=.
8374 for ac_exec_ext
in '' $ac_executable_extensions; do
8375 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8376 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8384 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8388 PRELINK
=$ac_cv_path_PRELINK
8389 if test -n "$PRELINK"; then
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8391 $as_echo "$PRELINK" >&6; }
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8394 $as_echo "no" >&6; }
8398 if test "x$PRELINK" = xfalse
8400 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8407 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8408 if ${ac_cv_c_dll_unixware+:} false
; then :
8409 $as_echo_n "(cached) " >&6
8411 ac_wine_try_cflags_saved
=$CFLAGS
8412 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8414 /* end confdefs.h. */
8417 if ac_fn_c_try_link
"$LINENO"; then :
8418 ac_cv_c_dll_unixware
="yes"
8420 ac_cv_c_dll_unixware
="no"
8422 rm -f core conftest.err conftest.
$ac_objext \
8423 conftest
$ac_exeext conftest.
$ac_ext
8424 CFLAGS
=$ac_wine_try_cflags_saved
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8427 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8428 if test "$ac_cv_c_dll_unixware" = "yes"
8430 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8433 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8435 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8439 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8440 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8442 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8443 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8445 libwine.so: libwine.so.$libwine_soversion
8446 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8448 install install-lib:: libwine.so.$libwine_version
8449 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8450 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8452 install install-dev::
8453 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8456 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8460 as_fn_append LOADER_RULES
"
8461 $wine_binary: main.o
8462 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8464 wine-installed: main.o
8465 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8470 as_fn_append LIBWINE_RULES
"
8471 EXTRA_TARGETS = $libwine_targets
8474 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8475 enable_winemac_drv
=${enable_winemac_drv:-no}
8479 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8483 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
8486 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 " ;;
8488 ac_prefix_list
="" ;;
8490 for ac_prog
in $ac_prefix_list
8492 # Extract the first word of "$ac_prog", so it can be a program name with args.
8493 set dummy
$ac_prog; ac_word
=$2
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8495 $as_echo_n "checking for $ac_word... " >&6; }
8496 if ${ac_cv_prog_CROSSCC+:} false
; then :
8497 $as_echo_n "(cached) " >&6
8499 if test -n "$CROSSCC"; then
8500 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8502 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8506 test -z "$as_dir" && as_dir
=.
8507 for ac_exec_ext
in '' $ac_executable_extensions; do
8508 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8509 ac_cv_prog_CROSSCC
="$ac_prog"
8510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8519 CROSSCC
=$ac_cv_prog_CROSSCC
8520 if test -n "$CROSSCC"; then
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8522 $as_echo "$CROSSCC" >&6; }
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8525 $as_echo "no" >&6; }
8529 test -n "$CROSSCC" && break
8531 test -n "$CROSSCC" || CROSSCC
="false"
8533 if test "$CROSSCC" != "false"
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8538 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8540 /* end confdefs.h. */
8550 if ac_fn_c_try_compile
"$LINENO"; then :
8551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8552 $as_echo "yes" >&6; }
8558 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8564 $as_echo "no" >&6; }
8566 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8572 if test "$ac_cv_header_pthread_h" = "yes"
8574 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8575 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8579 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8580 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8581 $as_echo_n "(cached) " >&6
8583 ac_check_lib_save_LIBS
=$LIBS
8584 LIBS
="-lpthread $LIBS"
8585 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8586 /* end confdefs.h. */
8588 /* Override any GCC internal prototype to avoid an error.
8589 Use char because int might match the return type of a GCC
8590 builtin and then its argument prototype would still apply. */
8594 char pthread_create ();
8598 return pthread_create ();
8603 if ac_fn_c_try_link
"$LINENO"; then :
8604 ac_cv_lib_pthread_pthread_create
=yes
8606 ac_cv_lib_pthread_pthread_create
=no
8608 rm -f core conftest.err conftest.
$ac_objext \
8609 conftest
$ac_exeext conftest.
$ac_ext
8610 LIBS
=$ac_check_lib_save_LIBS
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8613 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8614 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8615 PTHREAD_LIBS
="-lpthread"
8622 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8623 case "x$with_pthread" in
8625 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8626 Wine cannot support threads without libpthread.
8627 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8633 $as_echo_n "checking for X... " >&6; }
8636 # Check whether --with-x was given.
8637 if test "${with_x+set}" = set; then :
8641 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8642 if test "x$with_x" = xno
; then
8643 # The user explicitly disabled X.
8646 case $x_includes,$x_libraries in #(
8647 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8648 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8649 $as_echo_n "(cached) " >&6
8651 # One or both of the vars are not set, and there is no cached value.
8652 ac_x_includes
=no ac_x_libraries
=no
8653 rm -f -r conftest.dir
8654 if mkdir conftest.dir
; then
8656 cat >Imakefile
<<'_ACEOF'
8658 @echo incroot='${INCROOT}'
8660 @echo usrlibdir='${USRLIBDIR}'
8662 @echo libdir='${LIBDIR}'
8664 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8665 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8666 for ac_var
in incroot usrlibdir libdir
; do
8667 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8669 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8670 for ac_extension
in a so sl dylib la dll
; do
8671 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8672 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8673 ac_im_usrlibdir
=$ac_im_libdir; break
8676 # Screen out bogus values from the imake configuration. They are
8677 # bogus both because they are the default anyway, and because
8678 # using them would break gcc on systems where it needs fixed includes.
8679 case $ac_im_incroot in
8680 /usr
/include
) ac_x_includes
= ;;
8681 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8683 case $ac_im_usrlibdir in
8684 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8685 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8689 rm -f -r conftest.dir
8692 # Standard set of common directories for X headers.
8693 # Check X11 before X11Rn because it is often a symlink to the current release.
8707 /usr/local/X11/include
8708 /usr/local/X11R7/include
8709 /usr/local/X11R6/include
8710 /usr/local/X11R5/include
8711 /usr/local/X11R4/include
8713 /usr/local/include/X11
8714 /usr/local/include/X11R7
8715 /usr/local/include/X11R6
8716 /usr/local/include/X11R5
8717 /usr/local/include/X11R4
8721 /usr/XFree86/include/X11
8725 /usr/unsupported/include
8727 /usr/local/x11r5/include
8728 /usr/lpp/Xamples/include
8730 /usr/openwin/include
8731 /usr/openwin/share/include'
8733 if test "$ac_x_includes" = no
; then
8734 # Guess where to find include files, by looking for Xlib.h.
8735 # First, try using that file with no special directory specified.
8736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8737 /* end confdefs.h. */
8738 #include <X11/Xlib.h>
8740 if ac_fn_c_try_cpp
"$LINENO"; then :
8741 # We can compile using X headers with no special include directory.
8744 for ac_dir
in $ac_x_header_dirs; do
8745 if test -r "$ac_dir/X11/Xlib.h"; then
8746 ac_x_includes
=$ac_dir
8751 rm -f conftest.err conftest.i conftest.
$ac_ext
8752 fi # $ac_x_includes = no
8754 if test "$ac_x_libraries" = no
; then
8755 # Check for the libraries.
8756 # See if we find them without any special options.
8757 # Don't add to $LIBS permanently.
8760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8761 /* end confdefs.h. */
8762 #include <X11/Xlib.h>
8771 if ac_fn_c_try_link
"$LINENO"; then :
8773 # We can link X programs with no special library path.
8777 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8779 # Don't even attempt the hair of trying to link an X program!
8780 for ac_extension
in a so sl dylib la dll
; do
8781 if test -r "$ac_dir/libX11.$ac_extension"; then
8782 ac_x_libraries
=$ac_dir
8788 rm -f core conftest.err conftest.
$ac_objext \
8789 conftest
$ac_exeext conftest.
$ac_ext
8790 fi # $ac_x_libraries = no
8792 case $ac_x_includes,$ac_x_libraries in #(
8794 # Didn't find X, or a directory has "'" in its name.
8795 ac_cv_have_x
="have_x=no";; #(
8797 # Record where we found X for the cache.
8798 ac_cv_have_x
="have_x=yes\
8799 ac_x_includes='$ac_x_includes'\
8800 ac_x_libraries='$ac_x_libraries'"
8806 eval "$ac_cv_have_x"
8809 if test "$have_x" != yes; then
8810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8811 $as_echo "$have_x" >&6; }
8814 # If each of the values was on the command line, it overrides each guess.
8815 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8816 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8817 # Update the cache value to reflect the command line values.
8818 ac_cv_have_x
="have_x=yes\
8819 ac_x_includes='$x_includes'\
8820 ac_x_libraries='$x_libraries'"
8821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8822 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8825 if test "$no_x" = yes; then
8826 # Not all programs may use this symbol, but it does not hurt to define it.
8828 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8830 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8832 if test -n "$x_includes"; then
8833 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8836 # It would also be nice to do this for all -L options, not just this one.
8837 if test -n "$x_libraries"; then
8838 X_LIBS
="$X_LIBS -L$x_libraries"
8839 # For Solaris; some versions of Sun CC require a space after -R and
8840 # others require no space. Words are not sufficient . . . .
8841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8842 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8843 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
8844 ac_xsave_c_werror_flag
=$ac_c_werror_flag
8845 ac_c_werror_flag
=yes
8846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8847 /* end confdefs.h. */
8857 if ac_fn_c_try_link
"$LINENO"; then :
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8859 $as_echo "no" >&6; }
8860 X_LIBS
="$X_LIBS -R$x_libraries"
8862 LIBS
="$ac_xsave_LIBS -R $x_libraries"
8863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8864 /* end confdefs.h. */
8874 if ac_fn_c_try_link
"$LINENO"; then :
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8876 $as_echo "yes" >&6; }
8877 X_LIBS
="$X_LIBS -R $x_libraries"
8879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8880 $as_echo "neither works" >&6; }
8882 rm -f core conftest.err conftest.
$ac_objext \
8883 conftest
$ac_exeext conftest.
$ac_ext
8885 rm -f core conftest.err conftest.
$ac_objext \
8886 conftest
$ac_exeext conftest.
$ac_ext
8887 ac_c_werror_flag
=$ac_xsave_c_werror_flag
8891 # Check for system-dependent libraries X programs must link with.
8892 # Do this before checking for the system-independent R6 libraries
8893 # (-lICE), since we may need -lsocket or whatever for X linking.
8895 if test "$ISC" = yes; then
8896 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
8898 # Martyn Johnson says this is needed for Ultrix, if the X
8899 # libraries were built with DECnet support. And Karl Berry says
8900 # the Alpha needs dnet_stub (dnet does not exist).
8901 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
8902 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8903 /* end confdefs.h. */
8905 /* Override any GCC internal prototype to avoid an error.
8906 Use char because int might match the return type of a GCC
8907 builtin and then its argument prototype would still apply. */
8911 char XOpenDisplay ();
8915 return XOpenDisplay ();
8920 if ac_fn_c_try_link
"$LINENO"; then :
8923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8924 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8925 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
8926 $as_echo_n "(cached) " >&6
8928 ac_check_lib_save_LIBS
=$LIBS
8930 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8931 /* end confdefs.h. */
8933 /* Override any GCC internal prototype to avoid an error.
8934 Use char because int might match the return type of a GCC
8935 builtin and then its argument prototype would still apply. */
8943 return dnet_ntoa ();
8948 if ac_fn_c_try_link
"$LINENO"; then :
8949 ac_cv_lib_dnet_dnet_ntoa
=yes
8951 ac_cv_lib_dnet_dnet_ntoa
=no
8953 rm -f core conftest.err conftest.
$ac_objext \
8954 conftest
$ac_exeext conftest.
$ac_ext
8955 LIBS
=$ac_check_lib_save_LIBS
8957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8958 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8959 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
8960 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8963 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8965 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8966 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
8967 $as_echo_n "(cached) " >&6
8969 ac_check_lib_save_LIBS
=$LIBS
8970 LIBS
="-ldnet_stub $LIBS"
8971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8972 /* end confdefs.h. */
8974 /* Override any GCC internal prototype to avoid an error.
8975 Use char because int might match the return type of a GCC
8976 builtin and then its argument prototype would still apply. */
8984 return dnet_ntoa ();
8989 if ac_fn_c_try_link
"$LINENO"; then :
8990 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
8992 ac_cv_lib_dnet_stub_dnet_ntoa
=no
8994 rm -f core conftest.err conftest.
$ac_objext \
8995 conftest
$ac_exeext conftest.
$ac_ext
8996 LIBS
=$ac_check_lib_save_LIBS
8998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8999 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9000 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9001 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9006 rm -f core conftest.err conftest.
$ac_objext \
9007 conftest
$ac_exeext conftest.
$ac_ext
9008 LIBS
="$ac_xsave_LIBS"
9010 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9011 # to get the SysV transport functions.
9012 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9014 # The nsl library prevents programs from opening the X display
9015 # on Irix 5.2, according to T.E. Dickey.
9016 # The functions gethostbyname, getservbyname, and inet_addr are
9017 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9018 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9019 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9023 if test $ac_cv_func_gethostbyname = no
; then
9024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9025 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9026 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9027 $as_echo_n "(cached) " >&6
9029 ac_check_lib_save_LIBS
=$LIBS
9031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9032 /* end confdefs.h. */
9034 /* Override any GCC internal prototype to avoid an error.
9035 Use char because int might match the return type of a GCC
9036 builtin and then its argument prototype would still apply. */
9040 char gethostbyname ();
9044 return gethostbyname ();
9049 if ac_fn_c_try_link
"$LINENO"; then :
9050 ac_cv_lib_nsl_gethostbyname
=yes
9052 ac_cv_lib_nsl_gethostbyname
=no
9054 rm -f core conftest.err conftest.
$ac_objext \
9055 conftest
$ac_exeext conftest.
$ac_ext
9056 LIBS
=$ac_check_lib_save_LIBS
9058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9059 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9060 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9061 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9064 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9066 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9067 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9068 $as_echo_n "(cached) " >&6
9070 ac_check_lib_save_LIBS
=$LIBS
9072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9073 /* end confdefs.h. */
9075 /* Override any GCC internal prototype to avoid an error.
9076 Use char because int might match the return type of a GCC
9077 builtin and then its argument prototype would still apply. */
9081 char gethostbyname ();
9085 return gethostbyname ();
9090 if ac_fn_c_try_link
"$LINENO"; then :
9091 ac_cv_lib_bsd_gethostbyname
=yes
9093 ac_cv_lib_bsd_gethostbyname
=no
9095 rm -f core conftest.err conftest.
$ac_objext \
9096 conftest
$ac_exeext conftest.
$ac_ext
9097 LIBS
=$ac_check_lib_save_LIBS
9099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9100 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9101 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9102 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9108 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9109 # socket/setsockopt and other routines are undefined under SCO ODT
9110 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9111 # on later versions), says Simon Leinen: it contains gethostby*
9112 # variants that don't use the name server (or something). -lsocket
9113 # must be given before -lnsl if both are needed. We assume that
9114 # if connect needs -lnsl, so does gethostbyname.
9115 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9116 if test "x$ac_cv_func_connect" = xyes
; then :
9120 if test $ac_cv_func_connect = no
; then
9121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9122 $as_echo_n "checking for connect in -lsocket... " >&6; }
9123 if ${ac_cv_lib_socket_connect+:} false
; then :
9124 $as_echo_n "(cached) " >&6
9126 ac_check_lib_save_LIBS
=$LIBS
9127 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9129 /* end confdefs.h. */
9131 /* Override any GCC internal prototype to avoid an error.
9132 Use char because int might match the return type of a GCC
9133 builtin and then its argument prototype would still apply. */
9146 if ac_fn_c_try_link
"$LINENO"; then :
9147 ac_cv_lib_socket_connect
=yes
9149 ac_cv_lib_socket_connect
=no
9151 rm -f core conftest.err conftest.
$ac_objext \
9152 conftest
$ac_exeext conftest.
$ac_ext
9153 LIBS
=$ac_check_lib_save_LIBS
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9156 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9157 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9158 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9163 # Guillermo Gomez says -lposix is necessary on A/UX.
9164 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9165 if test "x$ac_cv_func_remove" = xyes
; then :
9169 if test $ac_cv_func_remove = no
; then
9170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9171 $as_echo_n "checking for remove in -lposix... " >&6; }
9172 if ${ac_cv_lib_posix_remove+:} false
; then :
9173 $as_echo_n "(cached) " >&6
9175 ac_check_lib_save_LIBS
=$LIBS
9176 LIBS
="-lposix $LIBS"
9177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9178 /* end confdefs.h. */
9180 /* Override any GCC internal prototype to avoid an error.
9181 Use char because int might match the return type of a GCC
9182 builtin and then its argument prototype would still apply. */
9195 if ac_fn_c_try_link
"$LINENO"; then :
9196 ac_cv_lib_posix_remove
=yes
9198 ac_cv_lib_posix_remove
=no
9200 rm -f core conftest.err conftest.
$ac_objext \
9201 conftest
$ac_exeext conftest.
$ac_ext
9202 LIBS
=$ac_check_lib_save_LIBS
9204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9205 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9206 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9207 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9212 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9213 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9214 if test "x$ac_cv_func_shmat" = xyes
; then :
9218 if test $ac_cv_func_shmat = no
; then
9219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9220 $as_echo_n "checking for shmat in -lipc... " >&6; }
9221 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9222 $as_echo_n "(cached) " >&6
9224 ac_check_lib_save_LIBS
=$LIBS
9226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9227 /* end confdefs.h. */
9229 /* Override any GCC internal prototype to avoid an error.
9230 Use char because int might match the return type of a GCC
9231 builtin and then its argument prototype would still apply. */
9244 if ac_fn_c_try_link
"$LINENO"; then :
9245 ac_cv_lib_ipc_shmat
=yes
9247 ac_cv_lib_ipc_shmat
=no
9249 rm -f core conftest.err conftest.
$ac_objext \
9250 conftest
$ac_exeext conftest.
$ac_ext
9251 LIBS
=$ac_check_lib_save_LIBS
9253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9254 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9255 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9256 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9262 # Check for libraries that X11R6 Xt/Xaw programs need.
9263 ac_save_LDFLAGS
=$LDFLAGS
9264 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9265 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9266 # check for ICE first), but we must link in the order -lSM -lICE or
9267 # we get undefined symbols. So assume we have SM if we have ICE.
9268 # These have to be linked with before -lX11, unlike the other
9269 # libraries we check for below, so use a different variable.
9270 # John Interrante, Karl Berry
9271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9272 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9273 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9274 $as_echo_n "(cached) " >&6
9276 ac_check_lib_save_LIBS
=$LIBS
9277 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9279 /* end confdefs.h. */
9281 /* Override any GCC internal prototype to avoid an error.
9282 Use char because int might match the return type of a GCC
9283 builtin and then its argument prototype would still apply. */
9287 char IceConnectionNumber ();
9291 return IceConnectionNumber ();
9296 if ac_fn_c_try_link
"$LINENO"; then :
9297 ac_cv_lib_ICE_IceConnectionNumber
=yes
9299 ac_cv_lib_ICE_IceConnectionNumber
=no
9301 rm -f core conftest.err conftest.
$ac_objext \
9302 conftest
$ac_exeext conftest.
$ac_ext
9303 LIBS
=$ac_check_lib_save_LIBS
9305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9306 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9307 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9308 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9311 LDFLAGS
=$ac_save_LDFLAGS
9316 if test "$have_x" = "yes"
9318 ac_save_CPPFLAGS
="$CPPFLAGS"
9319 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9322 $as_echo_n "checking for -lX11... " >&6; }
9323 if ${ac_cv_lib_soname_X11+:} false
; then :
9324 $as_echo_n "(cached) " >&6
9326 ac_check_soname_save_LIBS
=$LIBS
9327 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9328 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9329 /* end confdefs.h. */
9331 /* Override any GCC internal prototype to avoid an error.
9332 Use char because int might match the return type of a GCC
9333 builtin and then its argument prototype would still apply. */
9337 char XCreateWindow ();
9341 return XCreateWindow ();
9346 if ac_fn_c_try_link
"$LINENO"; then :
9348 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9349 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'` ;;
9350 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9351 if ${ac_cv_lib_soname_X11:+false} :; then :
9352 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9356 rm -f core conftest.err conftest.
$ac_objext \
9357 conftest
$ac_exeext conftest.
$ac_ext
9358 LIBS
=$ac_check_soname_save_LIBS
9360 if ${ac_cv_lib_soname_X11:+false} :; then :
9361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9362 $as_echo "not found" >&6; }
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9366 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9368 cat >>confdefs.h
<<_ACEOF
9369 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9375 $as_echo_n "checking for -lXext... " >&6; }
9376 if ${ac_cv_lib_soname_Xext+:} false
; then :
9377 $as_echo_n "(cached) " >&6
9379 ac_check_soname_save_LIBS
=$LIBS
9380 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9381 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9382 /* end confdefs.h. */
9384 /* Override any GCC internal prototype to avoid an error.
9385 Use char because int might match the return type of a GCC
9386 builtin and then its argument prototype would still apply. */
9390 char XextCreateExtension ();
9394 return XextCreateExtension ();
9399 if ac_fn_c_try_link
"$LINENO"; then :
9401 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9402 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'` ;;
9403 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9404 if ${ac_cv_lib_soname_Xext:+false} :; then :
9405 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9409 rm -f core conftest.err conftest.
$ac_objext \
9410 conftest
$ac_exeext conftest.
$ac_ext
9411 LIBS
=$ac_check_soname_save_LIBS
9413 if ${ac_cv_lib_soname_Xext:+false} :; then :
9414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9415 $as_echo "not found" >&6; }
9418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9419 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9421 cat >>confdefs.h
<<_ACEOF
9422 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9425 X_LIBS
="$X_LIBS -lXext"
9427 X_LIBS
="$X_LIBS -lX11"
9429 for ac_header
in X11
/Xlib.h \
9432 X11
/Xcursor
/Xcursor.h \
9433 X11
/extensions
/shape.h \
9434 X11
/extensions
/XInput.h \
9435 X11
/extensions
/XInput2.h \
9436 X11
/extensions
/XShm.h \
9437 X11
/extensions
/Xcomposite.h \
9438 X11
/extensions
/Xinerama.h \
9439 X11
/extensions
/Xrandr.h \
9440 X11
/extensions
/Xrender.h \
9441 X11
/extensions
/xf86vmode.h \
9442 X11
/extensions
/xf86vmproto.h
9444 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9445 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9446 # include <X11/Xlib.h>
9448 #ifdef HAVE_X11_XUTIL_H
9449 # include <X11/Xutil.h>
9452 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9453 cat >>confdefs.h
<<_ACEOF
9454 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9462 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9465 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9466 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9467 $as_echo_n "(cached) " >&6
9469 ac_check_lib_save_LIBS
=$LIBS
9470 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9472 /* end confdefs.h. */
9474 /* Override any GCC internal prototype to avoid an error.
9475 Use char because int might match the return type of a GCC
9476 builtin and then its argument prototype would still apply. */
9480 char XkbQueryExtension ();
9484 return XkbQueryExtension ();
9489 if ac_fn_c_try_link
"$LINENO"; then :
9490 ac_cv_lib_X11_XkbQueryExtension
=yes
9492 ac_cv_lib_X11_XkbQueryExtension
=no
9494 rm -f core conftest.err conftest.
$ac_objext \
9495 conftest
$ac_exeext conftest.
$ac_ext
9496 LIBS
=$ac_check_lib_save_LIBS
9498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9499 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9500 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9502 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9508 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9511 $as_echo_n "checking for -lXcursor... " >&6; }
9512 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9513 $as_echo_n "(cached) " >&6
9515 ac_check_soname_save_LIBS
=$LIBS
9516 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9518 /* end confdefs.h. */
9520 /* Override any GCC internal prototype to avoid an error.
9521 Use char because int might match the return type of a GCC
9522 builtin and then its argument prototype would still apply. */
9526 char XcursorImageLoadCursor ();
9530 return XcursorImageLoadCursor ();
9535 if ac_fn_c_try_link
"$LINENO"; then :
9537 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9538 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'` ;;
9539 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9540 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9541 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9545 rm -f core conftest.err conftest.
$ac_objext \
9546 conftest
$ac_exeext conftest.
$ac_ext
9547 LIBS
=$ac_check_soname_save_LIBS
9549 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9551 $as_echo "not found" >&6; }
9554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9555 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9557 cat >>confdefs.h
<<_ACEOF
9558 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9564 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9565 case "x$with_xcursor" in
9566 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9568 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9569 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9573 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9576 $as_echo_n "checking for -lXi... " >&6; }
9577 if ${ac_cv_lib_soname_Xi+:} false
; then :
9578 $as_echo_n "(cached) " >&6
9580 ac_check_soname_save_LIBS
=$LIBS
9581 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9582 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9583 /* end confdefs.h. */
9585 /* Override any GCC internal prototype to avoid an error.
9586 Use char because int might match the return type of a GCC
9587 builtin and then its argument prototype would still apply. */
9591 char XOpenDevice ();
9595 return XOpenDevice ();
9600 if ac_fn_c_try_link
"$LINENO"; then :
9602 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9603 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'` ;;
9604 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9605 if ${ac_cv_lib_soname_Xi:+false} :; then :
9606 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9610 rm -f core conftest.err conftest.
$ac_objext \
9611 conftest
$ac_exeext conftest.
$ac_ext
9612 LIBS
=$ac_check_soname_save_LIBS
9614 if ${ac_cv_lib_soname_Xi:+false} :; then :
9615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9616 $as_echo "not found" >&6; }
9619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9620 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9622 cat >>confdefs.h
<<_ACEOF
9623 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9629 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9630 case "x$with_xinput" in
9631 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9633 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9634 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9638 if test "x$ac_cv_lib_soname_Xi" != x
9640 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9641 case "x$with_xinput2" in
9642 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9644 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9645 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9650 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9653 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9654 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9655 $as_echo_n "(cached) " >&6
9657 ac_check_lib_save_LIBS
=$LIBS
9658 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9660 /* end confdefs.h. */
9662 /* Override any GCC internal prototype to avoid an error.
9663 Use char because int might match the return type of a GCC
9664 builtin and then its argument prototype would still apply. */
9668 char XShmQueryExtension ();
9672 return XShmQueryExtension ();
9677 if ac_fn_c_try_link
"$LINENO"; then :
9678 ac_cv_lib_Xext_XShmQueryExtension
=yes
9680 ac_cv_lib_Xext_XShmQueryExtension
=no
9682 rm -f core conftest.err conftest.
$ac_objext \
9683 conftest
$ac_exeext conftest.
$ac_ext
9684 LIBS
=$ac_check_lib_save_LIBS
9686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9687 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9688 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9690 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9695 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9696 case "x$with_xshm" in
9697 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9699 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9700 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9704 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9707 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9708 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9709 $as_echo_n "(cached) " >&6
9711 ac_check_lib_save_LIBS
=$LIBS
9712 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9714 /* end confdefs.h. */
9716 /* Override any GCC internal prototype to avoid an error.
9717 Use char because int might match the return type of a GCC
9718 builtin and then its argument prototype would still apply. */
9722 char XShapeQueryExtension ();
9726 return XShapeQueryExtension ();
9731 if ac_fn_c_try_link
"$LINENO"; then :
9732 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9734 ac_cv_lib_Xext_XShapeQueryExtension
=no
9736 rm -f core conftest.err conftest.
$ac_objext \
9737 conftest
$ac_exeext conftest.
$ac_ext
9738 LIBS
=$ac_check_lib_save_LIBS
9740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9741 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9742 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9744 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9749 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9750 case "x$with_xshape" in
9751 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9753 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9754 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9758 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9761 $as_echo_n "checking for -lXxf86vm... " >&6; }
9762 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9763 $as_echo_n "(cached) " >&6
9765 ac_check_soname_save_LIBS
=$LIBS
9766 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9768 /* end confdefs.h. */
9770 /* Override any GCC internal prototype to avoid an error.
9771 Use char because int might match the return type of a GCC
9772 builtin and then its argument prototype would still apply. */
9776 char XF86VidModeQueryExtension ();
9780 return XF86VidModeQueryExtension ();
9785 if ac_fn_c_try_link
"$LINENO"; then :
9787 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9788 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'` ;;
9789 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9790 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9791 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9795 rm -f core conftest.err conftest.
$ac_objext \
9796 conftest
$ac_exeext conftest.
$ac_ext
9797 LIBS
=$ac_check_soname_save_LIBS
9799 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9801 $as_echo "not found" >&6; }
9804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9805 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9807 cat >>confdefs.h
<<_ACEOF
9808 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9814 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9815 case "x$with_xxf86vm" in
9816 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9818 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9819 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9823 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
9825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9826 $as_echo_n "checking for -lXrender... " >&6; }
9827 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9828 $as_echo_n "(cached) " >&6
9830 ac_check_soname_save_LIBS
=$LIBS
9831 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9833 /* end confdefs.h. */
9835 /* Override any GCC internal prototype to avoid an error.
9836 Use char because int might match the return type of a GCC
9837 builtin and then its argument prototype would still apply. */
9841 char XRenderQueryExtension ();
9845 return XRenderQueryExtension ();
9850 if ac_fn_c_try_link
"$LINENO"; then :
9852 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9853 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'` ;;
9854 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9855 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9856 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9860 rm -f core conftest.err conftest.
$ac_objext \
9861 conftest
$ac_exeext conftest.
$ac_ext
9862 LIBS
=$ac_check_soname_save_LIBS
9864 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9866 $as_echo "not found" >&6; }
9869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9870 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9872 cat >>confdefs.h
<<_ACEOF
9873 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9877 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9878 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
9879 $as_echo_n "(cached) " >&6
9881 ac_check_lib_save_LIBS
=$LIBS
9882 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9884 /* end confdefs.h. */
9886 /* Override any GCC internal prototype to avoid an error.
9887 Use char because int might match the return type of a GCC
9888 builtin and then its argument prototype would still apply. */
9892 char XRenderSetPictureTransform ();
9896 return XRenderSetPictureTransform ();
9901 if ac_fn_c_try_link
"$LINENO"; then :
9902 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9904 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9906 rm -f core conftest.err conftest.
$ac_objext \
9907 conftest
$ac_exeext conftest.
$ac_ext
9908 LIBS
=$ac_check_lib_save_LIBS
9910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9911 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9912 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
9914 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9919 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9920 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
9921 $as_echo_n "(cached) " >&6
9923 ac_check_lib_save_LIBS
=$LIBS
9924 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9926 /* end confdefs.h. */
9928 /* Override any GCC internal prototype to avoid an error.
9929 Use char because int might match the return type of a GCC
9930 builtin and then its argument prototype would still apply. */
9934 char XRenderCreateLinearGradient ();
9938 return XRenderCreateLinearGradient ();
9943 if ac_fn_c_try_link
"$LINENO"; then :
9944 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
9946 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
9948 rm -f core conftest.err conftest.
$ac_objext \
9949 conftest
$ac_exeext conftest.
$ac_ext
9950 LIBS
=$ac_check_lib_save_LIBS
9952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9953 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9954 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
9956 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9963 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9964 case "x$with_xrender" in
9965 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9967 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
9968 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9972 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9975 /* end confdefs.h. */
9976 #include <X11/Xlib.h>
9977 #include <X11/extensions/Xrandr.h>
9981 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9986 if ac_fn_c_try_compile
"$LINENO"; then :
9987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9988 $as_echo_n "checking for -lXrandr... " >&6; }
9989 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
9990 $as_echo_n "(cached) " >&6
9992 ac_check_soname_save_LIBS
=$LIBS
9993 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
9994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9995 /* end confdefs.h. */
9997 /* Override any GCC internal prototype to avoid an error.
9998 Use char because int might match the return type of a GCC
9999 builtin and then its argument prototype would still apply. */
10003 char XRRQueryExtension ();
10007 return XRRQueryExtension ();
10012 if ac_fn_c_try_link
"$LINENO"; then :
10014 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10015 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'` ;;
10016 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10017 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10018 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10022 rm -f core conftest.err conftest.
$ac_objext \
10023 conftest
$ac_exeext conftest.
$ac_ext
10024 LIBS
=$ac_check_soname_save_LIBS
10026 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10028 $as_echo "not found" >&6; }
10031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10032 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10034 cat >>confdefs.h
<<_ACEOF
10035 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10039 /* end confdefs.h. */
10040 #include <X11/Xlib.h>
10041 #include <X11/extensions/Xrandr.h>
10045 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10050 if ac_fn_c_try_compile
"$LINENO"; then :
10052 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10055 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10058 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10060 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10061 case "x$with_xrandr" in
10062 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10064 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10065 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10069 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10072 /* end confdefs.h. */
10073 #include <X11/Xlib.h>
10074 #include <X11/extensions/Xinerama.h>
10078 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10083 if ac_fn_c_try_compile
"$LINENO"; then :
10084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10085 $as_echo_n "checking for -lXinerama... " >&6; }
10086 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10087 $as_echo_n "(cached) " >&6
10089 ac_check_soname_save_LIBS
=$LIBS
10090 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10092 /* end confdefs.h. */
10094 /* Override any GCC internal prototype to avoid an error.
10095 Use char because int might match the return type of a GCC
10096 builtin and then its argument prototype would still apply. */
10100 char XineramaQueryScreens ();
10104 return XineramaQueryScreens ();
10109 if ac_fn_c_try_link
"$LINENO"; then :
10111 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10112 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'` ;;
10113 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10114 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10115 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10119 rm -f core conftest.err conftest.
$ac_objext \
10120 conftest
$ac_exeext conftest.
$ac_ext
10121 LIBS
=$ac_check_soname_save_LIBS
10123 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10125 $as_echo "not found" >&6; }
10128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10129 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10131 cat >>confdefs.h
<<_ACEOF
10132 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10138 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10140 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10141 case "x$with_xinerama" in
10142 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10144 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10145 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10149 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10152 $as_echo_n "checking for -lXcomposite... " >&6; }
10153 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10154 $as_echo_n "(cached) " >&6
10156 ac_check_soname_save_LIBS
=$LIBS
10157 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10159 /* end confdefs.h. */
10161 /* Override any GCC internal prototype to avoid an error.
10162 Use char because int might match the return type of a GCC
10163 builtin and then its argument prototype would still apply. */
10167 char XCompositeRedirectWindow ();
10171 return XCompositeRedirectWindow ();
10176 if ac_fn_c_try_link
"$LINENO"; then :
10178 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10179 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'` ;;
10180 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10181 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10182 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10186 rm -f core conftest.err conftest.
$ac_objext \
10187 conftest
$ac_exeext conftest.
$ac_ext
10188 LIBS
=$ac_check_soname_save_LIBS
10190 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10192 $as_echo "not found" >&6; }
10195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10196 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10198 cat >>confdefs.h
<<_ACEOF
10199 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10205 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10206 case "x$with_xcomposite" in
10207 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10209 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10210 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10214 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10215 #include <X11/Xlib.h>
10218 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10220 cat >>confdefs.h
<<_ACEOF
10221 #define HAVE_XICCALLBACK_CALLBACK 1
10226 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10227 #include <X11/Xlib.h>
10230 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10232 cat >>confdefs.h
<<_ACEOF
10233 #define HAVE_XEVENT_XCOOKIE 1
10242 if test "x$with_opengl" != "xno"
10244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10245 $as_echo_n "checking for -lGL... " >&6; }
10246 if ${ac_cv_lib_soname_GL+:} false
; then :
10247 $as_echo_n "(cached) " >&6
10249 ac_check_soname_save_LIBS
=$LIBS
10250 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10252 /* end confdefs.h. */
10254 /* Override any GCC internal prototype to avoid an error.
10255 Use char because int might match the return type of a GCC
10256 builtin and then its argument prototype would still apply. */
10260 char glXCreateContext ();
10264 return glXCreateContext ();
10269 if ac_fn_c_try_link
"$LINENO"; then :
10271 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10272 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'` ;;
10273 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10274 if ${ac_cv_lib_soname_GL:+false} :; then :
10275 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10279 rm -f core conftest.err conftest.
$ac_objext \
10280 conftest
$ac_exeext conftest.
$ac_ext
10281 LIBS
=$ac_check_soname_save_LIBS
10283 if ${ac_cv_lib_soname_GL:+false} :; then :
10284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10285 $as_echo "not found" >&6; }
10286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10287 $as_echo_n "checking for -lGL... " >&6; }
10288 if ${ac_cv_lib_soname_GL+:} false
; then :
10289 $as_echo_n "(cached) " >&6
10291 ac_check_soname_save_LIBS
=$LIBS
10292 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"
10293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10294 /* end confdefs.h. */
10296 /* Override any GCC internal prototype to avoid an error.
10297 Use char because int might match the return type of a GCC
10298 builtin and then its argument prototype would still apply. */
10302 char glXCreateContext ();
10306 return glXCreateContext ();
10311 if ac_fn_c_try_link
"$LINENO"; then :
10313 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10314 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'` ;;
10315 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10316 if ${ac_cv_lib_soname_GL:+false} :; then :
10317 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10321 rm -f core conftest.err conftest.
$ac_objext \
10322 conftest
$ac_exeext conftest.
$ac_ext
10323 LIBS
=$ac_check_soname_save_LIBS
10325 if ${ac_cv_lib_soname_GL:+false} :; then :
10326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10327 $as_echo "not found" >&6; }
10328 if test -f /usr
/X11R
6/lib
/libGL.a
10330 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10331 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10333 opengl_msg
="No OpenGL library found on this system."
10336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10337 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10339 cat >>confdefs.h
<<_ACEOF
10340 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10343 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"
10346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10347 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10349 cat >>confdefs.h
<<_ACEOF
10350 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10355 if test "x$with_glu" != "xno"
10357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10358 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10359 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10360 $as_echo_n "(cached) " >&6
10362 ac_check_lib_save_LIBS
=$LIBS
10363 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10365 /* end confdefs.h. */
10367 /* Override any GCC internal prototype to avoid an error.
10368 Use char because int might match the return type of a GCC
10369 builtin and then its argument prototype would still apply. */
10377 return gluLookAt ();
10382 if ac_fn_c_try_link
"$LINENO"; then :
10383 ac_cv_lib_GLU_gluLookAt
=yes
10385 ac_cv_lib_GLU_gluLookAt
=no
10387 rm -f core conftest.err conftest.
$ac_objext \
10388 conftest
$ac_exeext conftest.
$ac_ext
10389 LIBS
=$ac_check_lib_save_LIBS
10391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10392 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10393 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10397 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10398 case "x$with_glu" in
10399 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10401 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10402 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10407 if test "x$with_osmesa" != "xno"
10409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10410 $as_echo_n "checking for -lOSMesa... " >&6; }
10411 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10412 $as_echo_n "(cached) " >&6
10414 ac_check_soname_save_LIBS
=$LIBS
10415 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10416 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10417 /* end confdefs.h. */
10419 /* Override any GCC internal prototype to avoid an error.
10420 Use char because int might match the return type of a GCC
10421 builtin and then its argument prototype would still apply. */
10434 if ac_fn_c_try_link
"$LINENO"; then :
10436 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10437 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'` ;;
10438 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10439 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10440 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10444 rm -f core conftest.err conftest.
$ac_objext \
10445 conftest
$ac_exeext conftest.
$ac_ext
10446 LIBS
=$ac_check_soname_save_LIBS
10448 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10450 $as_echo "not found" >&6; }
10453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10454 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10456 cat >>confdefs.h
<<_ACEOF
10457 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10462 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10463 case "x$with_osmesa" in
10464 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10466 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10467 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10472 if test -n "$opengl_msg"; then :
10473 case "x$with_opengl" in
10474 x
) as_fn_append wine_warnings
"|$opengl_msg
10475 OpenGL and Direct3D won't be supported." ;;
10477 *) as_fn_error $?
"$opengl_msg
10478 OpenGL and Direct3D won't be supported.
10479 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10483 CPPFLAGS
="$ac_save_CPPFLAGS"
10487 enable_winex11_drv
=${enable_winex11_drv:-no}
10489 if test "x$X_LIBS" = "x"; then :
10492 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10493 without X support, which probably isn't what you want. You will need
10494 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10495 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10499 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10501 if test "$ac_cv_header_CL_cl_h" = "yes"
10503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10504 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10505 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10506 $as_echo_n "(cached) " >&6
10508 ac_check_lib_save_LIBS
=$LIBS
10509 LIBS
="-lOpenCL $LIBS"
10510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10511 /* end confdefs.h. */
10513 /* Override any GCC internal prototype to avoid an error.
10514 Use char because int might match the return type of a GCC
10515 builtin and then its argument prototype would still apply. */
10519 char clGetPlatformInfo ();
10523 return clGetPlatformInfo ();
10528 if ac_fn_c_try_link
"$LINENO"; then :
10529 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10531 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10533 rm -f core conftest.err conftest.
$ac_objext \
10534 conftest
$ac_exeext conftest.
$ac_ext
10535 LIBS
=$ac_check_lib_save_LIBS
10537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10538 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10539 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10540 OPENCL_LIBS
="-lOpenCL"
10545 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10546 case "x$with_opencl" in
10547 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10549 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10550 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10553 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10555 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10558 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10559 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10560 $as_echo_n "(cached) " >&6
10562 ac_check_lib_save_LIBS
=$LIBS
10563 LIBS
="-lpcap $LIBS"
10564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10565 /* end confdefs.h. */
10567 /* Override any GCC internal prototype to avoid an error.
10568 Use char because int might match the return type of a GCC
10569 builtin and then its argument prototype would still apply. */
10573 char pcap_create ();
10577 return pcap_create ();
10582 if ac_fn_c_try_link
"$LINENO"; then :
10583 ac_cv_lib_pcap_pcap_create
=yes
10585 ac_cv_lib_pcap_pcap_create
=no
10587 rm -f core conftest.err conftest.
$ac_objext \
10588 conftest
$ac_exeext conftest.
$ac_ext
10589 LIBS
=$ac_check_lib_save_LIBS
10591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10592 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10593 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10599 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10600 case "x$with_pcap" in
10601 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10603 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10604 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10607 test "x$ac_cv_lib_pcap_pcap_create" != xyes
&& enable_wpcap
=${enable_wpcap:-no}
10610 if test "x$with_xml" != "xno"
10612 if ${XML2_CFLAGS:+false} :; then :
10613 if ${PKG_CONFIG+:} false
; then :
10614 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10617 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10618 if ${XML2_LIBS:+false} :; then :
10619 if ${PKG_CONFIG+:} false
; then :
10620 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10623 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10624 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10625 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10626 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10627 ac_save_CPPFLAGS
=$CPPFLAGS
10628 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10629 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10631 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10632 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10633 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10634 cat >>confdefs.h
<<_ACEOF
10635 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10642 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"
10644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10645 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10646 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10647 $as_echo_n "(cached) " >&6
10649 ac_check_lib_save_LIBS
=$LIBS
10650 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10652 /* end confdefs.h. */
10654 /* Override any GCC internal prototype to avoid an error.
10655 Use char because int might match the return type of a GCC
10656 builtin and then its argument prototype would still apply. */
10660 char xmlParseMemory ();
10664 return xmlParseMemory ();
10669 if ac_fn_c_try_link
"$LINENO"; then :
10670 ac_cv_lib_xml2_xmlParseMemory
=yes
10672 ac_cv_lib_xml2_xmlParseMemory
=no
10674 rm -f core conftest.err conftest.
$ac_objext \
10675 conftest
$ac_exeext conftest.
$ac_ext
10676 LIBS
=$ac_check_lib_save_LIBS
10678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10679 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10680 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10682 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10689 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10690 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10691 $as_echo_n "(cached) " >&6
10693 ac_check_lib_save_LIBS
=$LIBS
10694 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10696 /* end confdefs.h. */
10698 /* Override any GCC internal prototype to avoid an error.
10699 Use char because int might match the return type of a GCC
10700 builtin and then its argument prototype would still apply. */
10704 char xmlReadMemory ();
10708 return xmlReadMemory ();
10713 if ac_fn_c_try_link
"$LINENO"; then :
10714 ac_cv_lib_xml2_xmlReadMemory
=yes
10716 ac_cv_lib_xml2_xmlReadMemory
=no
10718 rm -f core conftest.err conftest.
$ac_objext \
10719 conftest
$ac_exeext conftest.
$ac_ext
10720 LIBS
=$ac_check_lib_save_LIBS
10722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10723 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10724 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10726 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10731 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10732 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10733 $as_echo_n "(cached) " >&6
10735 ac_check_lib_save_LIBS
=$LIBS
10736 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10738 /* end confdefs.h. */
10740 /* Override any GCC internal prototype to avoid an error.
10741 Use char because int might match the return type of a GCC
10742 builtin and then its argument prototype would still apply. */
10746 char xmlNewDocPI ();
10750 return xmlNewDocPI ();
10755 if ac_fn_c_try_link
"$LINENO"; then :
10756 ac_cv_lib_xml2_xmlNewDocPI
=yes
10758 ac_cv_lib_xml2_xmlNewDocPI
=no
10760 rm -f core conftest.err conftest.
$ac_objext \
10761 conftest
$ac_exeext conftest.
$ac_ext
10762 LIBS
=$ac_check_lib_save_LIBS
10764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10765 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10766 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10768 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10773 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10774 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10775 $as_echo_n "(cached) " >&6
10777 ac_check_lib_save_LIBS
=$LIBS
10778 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10780 /* end confdefs.h. */
10782 /* Override any GCC internal prototype to avoid an error.
10783 Use char because int might match the return type of a GCC
10784 builtin and then its argument prototype would still apply. */
10788 char xmlSchemaSetParserStructuredErrors ();
10792 return xmlSchemaSetParserStructuredErrors ();
10797 if ac_fn_c_try_link
"$LINENO"; then :
10798 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10800 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10802 rm -f core conftest.err conftest.
$ac_objext \
10803 conftest
$ac_exeext conftest.
$ac_ext
10804 LIBS
=$ac_check_lib_save_LIBS
10806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10807 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10808 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10810 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10815 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10816 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10817 $as_echo_n "(cached) " >&6
10819 ac_check_lib_save_LIBS
=$LIBS
10820 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10822 /* end confdefs.h. */
10824 /* Override any GCC internal prototype to avoid an error.
10825 Use char because int might match the return type of a GCC
10826 builtin and then its argument prototype would still apply. */
10830 char xmlSchemaSetValidStructuredErrors ();
10834 return xmlSchemaSetValidStructuredErrors ();
10839 if ac_fn_c_try_link
"$LINENO"; then :
10840 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
10842 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
10844 rm -f core conftest.err conftest.
$ac_objext \
10845 conftest
$ac_exeext conftest.
$ac_ext
10846 LIBS
=$ac_check_lib_save_LIBS
10848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10849 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10850 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
10852 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10857 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10858 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
10859 $as_echo_n "(cached) " >&6
10861 ac_check_lib_save_LIBS
=$LIBS
10862 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10864 /* end confdefs.h. */
10866 /* Override any GCC internal prototype to avoid an error.
10867 Use char because int might match the return type of a GCC
10868 builtin and then its argument prototype would still apply. */
10872 char xmlFirstElementChild ();
10876 return xmlFirstElementChild ();
10881 if ac_fn_c_try_link
"$LINENO"; then :
10882 ac_cv_lib_xml2_xmlFirstElementChild
=yes
10884 ac_cv_lib_xml2_xmlFirstElementChild
=no
10886 rm -f core conftest.err conftest.
$ac_objext \
10887 conftest
$ac_exeext conftest.
$ac_ext
10888 LIBS
=$ac_check_lib_save_LIBS
10890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10891 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10892 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
10894 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10898 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10900 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
10902 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10910 CPPFLAGS
=$ac_save_CPPFLAGS
10911 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10912 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10915 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10916 case "x$with_xml" in
10917 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10919 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10920 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10924 if test "x$with_xslt" != "xno"
10926 if ${XSLT_CFLAGS:+false} :; then :
10927 if ${PKG_CONFIG+:} false
; then :
10928 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10931 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10932 if ${XSLT_LIBS:+false} :; then :
10933 if ${PKG_CONFIG+:} false
; then :
10934 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10937 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10938 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
10939 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10940 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10941 ac_save_CPPFLAGS
=$CPPFLAGS
10942 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
10943 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
10945 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10946 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10947 # include <libxslt/pattern.h>
10950 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10951 cat >>confdefs.h
<<_ACEOF
10952 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10959 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10962 $as_echo_n "checking for -lxslt... " >&6; }
10963 if ${ac_cv_lib_soname_xslt+:} false
; then :
10964 $as_echo_n "(cached) " >&6
10966 ac_check_soname_save_LIBS
=$LIBS
10967 LIBS
="-lxslt $XSLT_LIBS $LIBS"
10968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10969 /* end confdefs.h. */
10971 /* Override any GCC internal prototype to avoid an error.
10972 Use char because int might match the return type of a GCC
10973 builtin and then its argument prototype would still apply. */
10977 char xsltCompilePattern ();
10981 return xsltCompilePattern ();
10986 if ac_fn_c_try_link
"$LINENO"; then :
10988 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10989 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'` ;;
10990 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10991 if ${ac_cv_lib_soname_xslt:+false} :; then :
10992 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10996 rm -f core conftest.err conftest.
$ac_objext \
10997 conftest
$ac_exeext conftest.
$ac_ext
10998 LIBS
=$ac_check_soname_save_LIBS
11000 if ${ac_cv_lib_soname_xslt:+false} :; then :
11001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11002 $as_echo "not found" >&6; }
11005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11006 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11008 cat >>confdefs.h
<<_ACEOF
11009 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11017 CPPFLAGS
=$ac_save_CPPFLAGS
11018 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11019 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11022 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11023 case "x$with_xslt" in
11024 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11026 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11027 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11031 if test "x$with_dbus" != "xno"
11033 if ${DBUS_CFLAGS:+false} :; then :
11034 if ${PKG_CONFIG+:} false
; then :
11035 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11039 if ${DBUS_LIBS:+false} :; then :
11040 if ${PKG_CONFIG+:} false
; then :
11041 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11046 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11047 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11048 ac_save_CPPFLAGS
=$CPPFLAGS
11049 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11050 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11051 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11053 $as_echo_n "checking for -ldbus-1... " >&6; }
11054 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11055 $as_echo_n "(cached) " >&6
11057 ac_check_soname_save_LIBS
=$LIBS
11058 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11060 /* end confdefs.h. */
11062 /* Override any GCC internal prototype to avoid an error.
11063 Use char because int might match the return type of a GCC
11064 builtin and then its argument prototype would still apply. */
11068 char dbus_connection_close ();
11072 return dbus_connection_close ();
11077 if ac_fn_c_try_link
"$LINENO"; then :
11079 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11080 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'` ;;
11081 *) 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'`
11082 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11083 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11087 rm -f core conftest.err conftest.
$ac_objext \
11088 conftest
$ac_exeext conftest.
$ac_ext
11089 LIBS
=$ac_check_soname_save_LIBS
11091 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11093 $as_echo "not found" >&6; }
11096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11097 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11099 cat >>confdefs.h
<<_ACEOF
11100 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11110 CPPFLAGS
=$ac_save_CPPFLAGS
11111 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11112 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11115 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11116 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11117 case "x$with_dbus" in
11118 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11120 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11121 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11125 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11127 if ${HAL_CFLAGS:+false} :; then :
11128 if ${PKG_CONFIG+:} false
; then :
11129 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11133 if ${HAL_LIBS:+false} :; then :
11134 if ${PKG_CONFIG+:} false
; then :
11135 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11139 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11140 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11141 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11142 ac_save_CPPFLAGS
=$CPPFLAGS
11143 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11144 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11145 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11147 $as_echo_n "checking for -lhal... " >&6; }
11148 if ${ac_cv_lib_soname_hal+:} false
; then :
11149 $as_echo_n "(cached) " >&6
11151 ac_check_soname_save_LIBS
=$LIBS
11152 LIBS
="-lhal $HAL_LIBS $LIBS"
11153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11154 /* end confdefs.h. */
11156 /* Override any GCC internal prototype to avoid an error.
11157 Use char because int might match the return type of a GCC
11158 builtin and then its argument prototype would still apply. */
11162 char libhal_ctx_new ();
11166 return libhal_ctx_new ();
11171 if ac_fn_c_try_link
"$LINENO"; then :
11173 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11174 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'` ;;
11175 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11176 if ${ac_cv_lib_soname_hal:+false} :; then :
11177 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11181 rm -f core conftest.err conftest.
$ac_objext \
11182 conftest
$ac_exeext conftest.
$ac_ext
11183 LIBS
=$ac_check_soname_save_LIBS
11185 if ${ac_cv_lib_soname_hal:+false} :; then :
11186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11187 $as_echo "not found" >&6; }
11190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11191 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11193 cat >>confdefs.h
<<_ACEOF
11194 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11204 CPPFLAGS
=$ac_save_CPPFLAGS
11205 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11206 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11208 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11209 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11210 case "x$with_hal" in
11211 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11213 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11214 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11219 if test "x$with_gnutls" != "xno"
11221 if ${GNUTLS_CFLAGS:+false} :; then :
11222 if ${PKG_CONFIG+:} false
; then :
11223 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11227 if ${GNUTLS_LIBS:+false} :; then :
11228 if ${PKG_CONFIG+:} false
; then :
11229 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11234 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11235 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11236 ac_save_CPPFLAGS
=$CPPFLAGS
11237 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11238 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11239 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11241 /* end confdefs.h. */
11242 #include <gnutls/gnutls.h>
11243 #include <gnutls/crypto.h>
11247 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11252 if ac_fn_c_try_compile
"$LINENO"; then :
11253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11254 $as_echo_n "checking for -lgnutls... " >&6; }
11255 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11256 $as_echo_n "(cached) " >&6
11258 ac_check_soname_save_LIBS
=$LIBS
11259 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11261 /* end confdefs.h. */
11263 /* Override any GCC internal prototype to avoid an error.
11264 Use char because int might match the return type of a GCC
11265 builtin and then its argument prototype would still apply. */
11269 char gnutls_global_init ();
11273 return gnutls_global_init ();
11278 if ac_fn_c_try_link
"$LINENO"; then :
11280 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11281 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'` ;;
11282 *) ac_cv_lib_soname_gnutls
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11283 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11284 ac_cv_lib_soname_gnutls
=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11288 rm -f core conftest.err conftest.
$ac_objext \
11289 conftest
$ac_exeext conftest.
$ac_ext
11290 LIBS
=$ac_check_soname_save_LIBS
11292 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11294 $as_echo "not found" >&6; }
11297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11298 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11300 cat >>confdefs.h
<<_ACEOF
11301 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11307 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11313 CPPFLAGS
=$ac_save_CPPFLAGS
11314 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11315 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11318 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11319 case "x$with_gnutls" in
11320 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11322 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11323 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11328 if test "$ac_cv_header_ncurses_h" = "yes"
11330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11331 $as_echo_n "checking for -lncurses... " >&6; }
11332 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11333 $as_echo_n "(cached) " >&6
11335 ac_check_soname_save_LIBS
=$LIBS
11336 LIBS
="-lncurses $LIBS"
11337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11338 /* end confdefs.h. */
11340 /* Override any GCC internal prototype to avoid an error.
11341 Use char because int might match the return type of a GCC
11342 builtin and then its argument prototype would still apply. */
11355 if ac_fn_c_try_link
"$LINENO"; then :
11357 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11358 dylib
) ac_cv_lib_soname_ncurses
=`otool -L conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libncursesw\\{0,1\\}\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11359 *) ac_cv_lib_soname_ncurses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncursesw\\{0,1\\}\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11360 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11361 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11365 rm -f core conftest.err conftest.
$ac_objext \
11366 conftest
$ac_exeext conftest.
$ac_ext
11367 LIBS
=$ac_check_soname_save_LIBS
11369 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11371 $as_echo "not found" >&6; }
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11375 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11377 cat >>confdefs.h
<<_ACEOF
11378 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11381 CURSES_LIBS
="-lncurses"
11383 elif test "$ac_cv_header_curses_h" = "yes"
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11386 $as_echo_n "checking for -lcurses... " >&6; }
11387 if ${ac_cv_lib_soname_curses+:} false
; then :
11388 $as_echo_n "(cached) " >&6
11390 ac_check_soname_save_LIBS
=$LIBS
11391 LIBS
="-lcurses $LIBS"
11392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11393 /* end confdefs.h. */
11395 /* Override any GCC internal prototype to avoid an error.
11396 Use char because int might match the return type of a GCC
11397 builtin and then its argument prototype would still apply. */
11410 if ac_fn_c_try_link
"$LINENO"; then :
11412 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11413 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'` ;;
11414 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11415 if ${ac_cv_lib_soname_curses:+false} :; then :
11416 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11420 rm -f core conftest.err conftest.
$ac_objext \
11421 conftest
$ac_exeext conftest.
$ac_ext
11422 LIBS
=$ac_check_soname_save_LIBS
11424 if ${ac_cv_lib_soname_curses:+false} :; then :
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11426 $as_echo "not found" >&6; }
11429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11430 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11432 cat >>confdefs.h
<<_ACEOF
11433 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11436 CURSES_LIBS
="-lcurses"
11439 ac_save_LIBS
="$LIBS"
11440 LIBS
="$LIBS $CURSES_LIBS"
11441 for ac_func
in mousemask
11443 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11444 if test "x$ac_cv_func_mousemask" = xyes
; then :
11445 cat >>confdefs.h
<<_ACEOF
11446 #define HAVE_MOUSEMASK 1
11452 LIBS
="$ac_save_LIBS"
11453 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11454 case "x$with_curses" in
11455 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11457 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11458 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11462 if test "x$with_sane" != "xno"
11464 if ${SANE_CFLAGS:+false} :; then :
11465 if ${PKG_CONFIG+:} false
; then :
11466 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11469 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11470 if ${SANE_LIBS:+false} :; then :
11471 if ${PKG_CONFIG+:} false
; then :
11472 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11475 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11477 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11478 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11479 ac_save_CPPFLAGS
=$CPPFLAGS
11480 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11481 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11482 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11484 $as_echo_n "checking for -lsane... " >&6; }
11485 if ${ac_cv_lib_soname_sane+:} false
; then :
11486 $as_echo_n "(cached) " >&6
11488 ac_check_soname_save_LIBS
=$LIBS
11489 LIBS
="-lsane $SANE_LIBS $LIBS"
11490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11491 /* end confdefs.h. */
11493 /* Override any GCC internal prototype to avoid an error.
11494 Use char because int might match the return type of a GCC
11495 builtin and then its argument prototype would still apply. */
11503 return sane_init ();
11508 if ac_fn_c_try_link
"$LINENO"; then :
11510 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11511 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'` ;;
11512 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11513 if ${ac_cv_lib_soname_sane:+false} :; then :
11514 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11518 rm -f core conftest.err conftest.
$ac_objext \
11519 conftest
$ac_exeext conftest.
$ac_ext
11520 LIBS
=$ac_check_soname_save_LIBS
11522 if ${ac_cv_lib_soname_sane:+false} :; then :
11523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11524 $as_echo "not found" >&6; }
11527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11528 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11530 cat >>confdefs.h
<<_ACEOF
11531 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11541 CPPFLAGS
=$ac_save_CPPFLAGS
11542 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11543 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11546 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11547 case "x$with_sane" in
11548 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11550 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11551 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11555 if test "x$with_v4l" != "xno"
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11558 $as_echo_n "checking for -lv4l1... " >&6; }
11559 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11560 $as_echo_n "(cached) " >&6
11562 ac_check_soname_save_LIBS
=$LIBS
11563 LIBS
="-lv4l1 $LIBS"
11564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11565 /* end confdefs.h. */
11567 /* Override any GCC internal prototype to avoid an error.
11568 Use char because int might match the return type of a GCC
11569 builtin and then its argument prototype would still apply. */
11577 return v4l1_open ();
11582 if ac_fn_c_try_link
"$LINENO"; then :
11584 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11585 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'` ;;
11586 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11587 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11588 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11592 rm -f core conftest.err conftest.
$ac_objext \
11593 conftest
$ac_exeext conftest.
$ac_ext
11594 LIBS
=$ac_check_soname_save_LIBS
11596 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11598 $as_echo "not found" >&6; }
11601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11602 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11604 cat >>confdefs.h
<<_ACEOF
11605 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11611 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11612 case "x$with_v4l" in
11613 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11615 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11616 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11620 if test "x$with_gphoto" != "xno"
11622 if ${GPHOTO2_CFLAGS:+false} :; then :
11623 if ${PKG_CONFIG+:} false
; then :
11624 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11627 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11628 if ${GPHOTO2_LIBS:+false} :; then :
11629 if ${PKG_CONFIG+:} false
; then :
11630 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11633 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11634 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11635 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11636 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11637 ac_save_CPPFLAGS
=$CPPFLAGS
11638 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11639 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11640 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11642 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11643 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11644 $as_echo_n "(cached) " >&6
11646 ac_check_lib_save_LIBS
=$LIBS
11647 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11649 /* end confdefs.h. */
11651 /* Override any GCC internal prototype to avoid an error.
11652 Use char because int might match the return type of a GCC
11653 builtin and then its argument prototype would still apply. */
11657 char gp_camera_new ();
11661 return gp_camera_new ();
11666 if ac_fn_c_try_link
"$LINENO"; then :
11667 ac_cv_lib_gphoto2_gp_camera_new
=yes
11669 ac_cv_lib_gphoto2_gp_camera_new
=no
11671 rm -f core conftest.err conftest.
$ac_objext \
11672 conftest
$ac_exeext conftest.
$ac_ext
11673 LIBS
=$ac_check_lib_save_LIBS
11675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11676 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11677 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11679 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11682 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11686 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11690 CPPFLAGS
=$ac_save_CPPFLAGS
11691 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11692 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11694 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11695 if ${PKG_CONFIG+:} false
; then :
11696 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11699 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11700 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11701 if ${PKG_CONFIG+:} false
; then :
11702 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11705 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11706 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11707 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11708 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11709 ac_save_CPPFLAGS
=$CPPFLAGS
11710 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11711 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11712 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11714 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11715 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11716 $as_echo_n "(cached) " >&6
11718 ac_check_lib_save_LIBS
=$LIBS
11719 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11721 /* end confdefs.h. */
11723 /* Override any GCC internal prototype to avoid an error.
11724 Use char because int might match the return type of a GCC
11725 builtin and then its argument prototype would still apply. */
11729 char gp_port_info_list_new ();
11733 return gp_port_info_list_new ();
11738 if ac_fn_c_try_link
"$LINENO"; then :
11739 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11741 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11743 rm -f core conftest.err conftest.
$ac_objext \
11744 conftest
$ac_exeext conftest.
$ac_ext
11745 LIBS
=$ac_check_lib_save_LIBS
11747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11748 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11749 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11751 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11754 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11758 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11762 CPPFLAGS
=$ac_save_CPPFLAGS
11763 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11764 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11767 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11768 case "x$with_gphoto" in
11769 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11771 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11772 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11775 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11776 case "x$with_gphoto" in
11777 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11779 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11780 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11785 if test "$ac_cv_header_resolv_h" = "yes"
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11788 $as_echo_n "checking for resolver library... " >&6; }
11789 if ${ac_cv_have_resolv+:} false
; then :
11790 $as_echo_n "(cached) " >&6
11792 ac_save_LIBS
="$LIBS"
11793 for lib
in '' -lresolv
11795 LIBS
="$lib $ac_save_LIBS"
11796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11797 /* end confdefs.h. */
11798 #ifdef HAVE_NETINET_IN_H
11799 #include <netinet/in.h>
11801 #include <resolv.h>
11805 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11810 if ac_fn_c_try_link
"$LINENO"; then :
11811 ac_cv_have_resolv
=${lib:-"none required"}
11813 ac_cv_have_resolv
="not found"
11815 rm -f core conftest.err conftest.
$ac_objext \
11816 conftest
$ac_exeext conftest.
$ac_ext
11817 test "x$ac_cv_have_resolv" = "xnot found" ||
break
11819 LIBS
="$ac_save_LIBS"
11821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11822 $as_echo "$ac_cv_have_resolv" >&6; }
11824 case "$ac_cv_have_resolv" in
11828 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11831 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11833 RESOLV_LIBS
=$ac_cv_have_resolv
11838 if test "x$with_lcms2" != "xno"
11840 if ${LCMS2_CFLAGS:+false} :; then :
11841 if ${PKG_CONFIG+:} false
; then :
11842 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11846 if ${LCMS2_LIBS:+false} :; then :
11847 if ${PKG_CONFIG+:} false
; then :
11848 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11852 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
11853 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11854 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11855 ac_save_CPPFLAGS
=$CPPFLAGS
11856 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
11857 for ac_header
in lcms2.h
11859 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11860 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
11861 cat >>confdefs.h
<<_ACEOF
11862 #define HAVE_LCMS2_H 1
11869 if test "$ac_cv_header_lcms2_h" = "yes"
11871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11872 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11873 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
11874 $as_echo_n "(cached) " >&6
11876 ac_check_lib_save_LIBS
=$LIBS
11877 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
11878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11879 /* end confdefs.h. */
11881 /* Override any GCC internal prototype to avoid an error.
11882 Use char because int might match the return type of a GCC
11883 builtin and then its argument prototype would still apply. */
11887 char cmsOpenProfileFromFile ();
11891 return cmsOpenProfileFromFile ();
11896 if ac_fn_c_try_link
"$LINENO"; then :
11897 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
11899 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
11901 rm -f core conftest.err conftest.
$ac_objext \
11902 conftest
$ac_exeext conftest.
$ac_ext
11903 LIBS
=$ac_check_lib_save_LIBS
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11906 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11907 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
11909 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11919 CPPFLAGS
=$ac_save_CPPFLAGS
11920 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11921 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11924 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11925 case "x$with_cms" in
11926 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11928 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11929 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11933 if test "x$with_freetype" != "xno"
11935 if ${FREETYPE_CFLAGS:+false} :; then :
11936 if ${PKG_CONFIG+:} false
; then :
11937 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11940 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11941 if ${FREETYPE_LIBS:+false} :; then :
11942 if ${PKG_CONFIG+:} false
; then :
11943 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11946 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11947 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
11948 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11949 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11950 ac_save_CPPFLAGS
=$CPPFLAGS
11951 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
11952 for ac_header
in ft2build.h
11954 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11955 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
11956 cat >>confdefs.h
<<_ACEOF
11957 #define HAVE_FT2BUILD_H 1
11964 if test "$ac_cv_header_ft2build_h" = "yes"
11966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11967 $as_echo_n "checking for -lfreetype... " >&6; }
11968 if ${ac_cv_lib_soname_freetype+:} false
; then :
11969 $as_echo_n "(cached) " >&6
11971 ac_check_soname_save_LIBS
=$LIBS
11972 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
11973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11974 /* end confdefs.h. */
11976 /* Override any GCC internal prototype to avoid an error.
11977 Use char because int might match the return type of a GCC
11978 builtin and then its argument prototype would still apply. */
11982 char FT_Init_FreeType ();
11986 return FT_Init_FreeType ();
11991 if ac_fn_c_try_link
"$LINENO"; then :
11993 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11994 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'` ;;
11995 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11996 if ${ac_cv_lib_soname_freetype:+false} :; then :
11997 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12001 rm -f core conftest.err conftest.
$ac_objext \
12002 conftest
$ac_exeext conftest.
$ac_ext
12003 LIBS
=$ac_check_soname_save_LIBS
12005 if ${ac_cv_lib_soname_freetype:+false} :; then :
12006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12007 $as_echo "not found" >&6; }
12010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12011 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12013 cat >>confdefs.h
<<_ACEOF
12014 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12018 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12020 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12021 #include FT_MODULE_H
12023 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12025 cat >>confdefs.h
<<_ACEOF
12026 #define HAVE_FT_TRUETYPEENGINETYPE 1
12037 CPPFLAGS
=$ac_save_CPPFLAGS
12038 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12039 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12042 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12043 case "x$with_freetype" in
12045 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12046 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12049 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
12051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12052 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12053 if ${ac_cv_c_ppdev+:} false
; then :
12054 $as_echo_n "(cached) " >&6
12056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12057 /* end confdefs.h. */
12058 #ifdef HAVE_SYS_IOCTL_H
12059 # include <sys/ioctl.h>
12061 #include <linux/ppdev.h>
12065 ioctl (1,PPCLAIM,0)
12070 if ac_fn_c_try_compile
"$LINENO"; then :
12071 ac_cv_c_ppdev
="yes"
12075 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12078 $as_echo "$ac_cv_c_ppdev" >&6; }
12079 if test "$ac_cv_c_ppdev" = "yes"
12082 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12086 ac_wine_check_funcs_save_LIBS
="$LIBS"
12087 LIBS
="$LIBS $PTHREAD_LIBS"
12089 pthread_attr_get_np \
12090 pthread_getattr_np \
12091 pthread_getthreadid_np \
12092 pthread_get_stackaddr_np \
12093 pthread_get_stacksize_np
12095 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12096 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12097 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12098 cat >>confdefs.h
<<_ACEOF
12099 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12105 LIBS
="$ac_wine_check_funcs_save_LIBS"
12107 if test "$ac_cv_header_zlib_h" = "yes"
12109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12110 $as_echo_n "checking for inflate in -lz... " >&6; }
12111 if ${ac_cv_lib_z_inflate+:} false
; then :
12112 $as_echo_n "(cached) " >&6
12114 ac_check_lib_save_LIBS
=$LIBS
12116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12117 /* end confdefs.h. */
12119 /* Override any GCC internal prototype to avoid an error.
12120 Use char because int might match the return type of a GCC
12121 builtin and then its argument prototype would still apply. */
12134 if ac_fn_c_try_link
"$LINENO"; then :
12135 ac_cv_lib_z_inflate
=yes
12137 ac_cv_lib_z_inflate
=no
12139 rm -f core conftest.err conftest.
$ac_objext \
12140 conftest
$ac_exeext conftest.
$ac_ext
12141 LIBS
=$ac_check_lib_save_LIBS
12143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12144 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12145 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12147 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12154 if test "x$Z_LIBS" = "x"; then :
12155 case "x$with_zlib" in
12156 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12158 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12159 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12163 if test "x$enable_tools" != xno
12165 if test "$ac_cv_header_gettext_po_h" = "yes"
12167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12168 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12169 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12170 $as_echo_n "(cached) " >&6
12172 ac_check_lib_save_LIBS
=$LIBS
12173 LIBS
="-lgettextpo $LIBS"
12174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12175 /* end confdefs.h. */
12177 /* Override any GCC internal prototype to avoid an error.
12178 Use char because int might match the return type of a GCC
12179 builtin and then its argument prototype would still apply. */
12183 char po_message_msgctxt ();
12187 return po_message_msgctxt ();
12192 if ac_fn_c_try_link
"$LINENO"; then :
12193 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12195 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12197 rm -f core conftest.err conftest.
$ac_objext \
12198 conftest
$ac_exeext conftest.
$ac_ext
12199 LIBS
=$ac_check_lib_save_LIBS
12201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12202 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12203 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12205 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12207 GETTEXTPO_LIBS
="-lgettextpo"
12212 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12213 case "x$with_gettextpo" in
12214 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12216 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12217 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12222 if test "x$with_gstreamer" != "xno"
12224 if ${GSTREAMER_CFLAGS:+false} :; then :
12225 if ${PKG_CONFIG+:} false
; then :
12226 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12230 if ${GSTREAMER_LIBS:+false} :; then :
12231 if ${PKG_CONFIG+:} false
; then :
12232 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12237 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12238 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12239 ac_save_CPPFLAGS
=$CPPFLAGS
12240 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12242 for i
in $GSTREAMER_CFLAGS
12245 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12248 GSTREAMER_CFLAGS
=$ac_gst_incl
12249 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12250 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12251 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12252 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12253 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12255 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12257 /* end confdefs.h. */
12258 #include <gst/app/gstappsink.h>
12262 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12267 if ac_fn_c_try_compile
"$LINENO"; then :
12268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12269 $as_echo "yes" >&6; }
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12271 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12272 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12273 $as_echo_n "(cached) " >&6
12275 ac_check_lib_save_LIBS
=$LIBS
12276 LIBS
="-lgstreamer-0.10 $LIBS"
12277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12278 /* end confdefs.h. */
12280 /* Override any GCC internal prototype to avoid an error.
12281 Use char because int might match the return type of a GCC
12282 builtin and then its argument prototype would still apply. */
12286 char gst_pad_get_caps_reffed ();
12290 return gst_pad_get_caps_reffed ();
12295 if ac_fn_c_try_link
"$LINENO"; then :
12296 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12298 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12300 rm -f core conftest.err conftest.
$ac_objext \
12301 conftest
$ac_exeext conftest.
$ac_ext
12302 LIBS
=$ac_check_lib_save_LIBS
12304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12305 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12306 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12308 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12309 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12310 $as_echo_n "(cached) " >&6
12312 ac_check_lib_save_LIBS
=$LIBS
12313 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12315 /* end confdefs.h. */
12317 /* Override any GCC internal prototype to avoid an error.
12318 Use char because int might match the return type of a GCC
12319 builtin and then its argument prototype would still apply. */
12323 char gst_app_buffer_new ();
12327 return gst_app_buffer_new ();
12332 if ac_fn_c_try_link
"$LINENO"; then :
12333 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12335 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12337 rm -f core conftest.err conftest.
$ac_objext \
12338 conftest
$ac_exeext conftest.
$ac_ext
12339 LIBS
=$ac_check_lib_save_LIBS
12341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12342 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12343 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12351 $as_echo "no" >&6; }
12353 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12358 GSTREAMER_CFLAGS
=""
12362 CPPFLAGS
=$ac_save_CPPFLAGS
12363 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12364 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12367 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12368 case "x$with_gstreamer" in
12369 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12371 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12372 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12375 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12379 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12382 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12383 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12384 $as_echo_n "(cached) " >&6
12386 ac_check_lib_save_LIBS
=$LIBS
12387 LIBS
="-lasound $LIBS"
12388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12389 /* end confdefs.h. */
12391 /* Override any GCC internal prototype to avoid an error.
12392 Use char because int might match the return type of a GCC
12393 builtin and then its argument prototype would still apply. */
12397 char snd_pcm_hw_params_get_access_mask ();
12401 return snd_pcm_hw_params_get_access_mask ();
12406 if ac_fn_c_try_link
"$LINENO"; then :
12407 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12409 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12411 rm -f core conftest.err conftest.
$ac_objext \
12412 conftest
$ac_exeext conftest.
$ac_ext
12413 LIBS
=$ac_check_lib_save_LIBS
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12416 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12417 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12419 /* end confdefs.h. */
12420 #ifdef HAVE_ALSA_ASOUNDLIB_H
12421 #include <alsa/asoundlib.h>
12422 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12423 #include <sys/asoundlib.h>
12428 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12433 if ac_fn_c_try_compile
"$LINENO"; then :
12434 ALSA_LIBS
="-lasound"
12436 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12441 if test "x$with_oss" != xno
12443 ac_save_CPPFLAGS
="$CPPFLAGS"
12444 if test -f /etc
/oss.conf
12448 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12449 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12450 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12451 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12452 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12454 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12456 cat >>confdefs.h
<<_ACEOF
12457 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12460 OSS4_CFLAGS
="$ac_oss_incl"
12467 CPPFLAGS
="$ac_save_CPPFLAGS"
12468 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12470 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12474 if test "x$with_capi" != "xno"
12476 if ${CAPI20_CFLAGS:+false} :; then :
12477 if ${PKG_CONFIG+:} false
; then :
12478 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12482 if ${CAPI20_LIBS:+false} :; then :
12483 if ${PKG_CONFIG+:} false
; then :
12484 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12489 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12490 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12491 ac_save_CPPFLAGS
=$CPPFLAGS
12492 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12493 for ac_header
in capi20.h linux
/capi.h
12495 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12496 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12498 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12499 cat >>confdefs.h
<<_ACEOF
12500 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12507 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12510 $as_echo_n "checking for -lcapi20... " >&6; }
12511 if ${ac_cv_lib_soname_capi20+:} false
; then :
12512 $as_echo_n "(cached) " >&6
12514 ac_check_soname_save_LIBS
=$LIBS
12515 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12516 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12517 /* end confdefs.h. */
12519 /* Override any GCC internal prototype to avoid an error.
12520 Use char because int might match the return type of a GCC
12521 builtin and then its argument prototype would still apply. */
12525 char capi20_register ();
12529 return capi20_register ();
12534 if ac_fn_c_try_link
"$LINENO"; then :
12536 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12537 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'` ;;
12538 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12539 if ${ac_cv_lib_soname_capi20:+false} :; then :
12540 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12544 rm -f core conftest.err conftest.
$ac_objext \
12545 conftest
$ac_exeext conftest.
$ac_ext
12546 LIBS
=$ac_check_soname_save_LIBS
12548 if ${ac_cv_lib_soname_capi20:+false} :; then :
12549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12550 $as_echo "not found" >&6; }
12553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12554 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12556 cat >>confdefs.h
<<_ACEOF
12557 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12563 CPPFLAGS
=$ac_save_CPPFLAGS
12564 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12565 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12568 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12569 case "x$with_capi" in
12570 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12572 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12573 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12579 if test "x$with_cups" != "xno"
12581 ac_save_CPPFLAGS
="$CPPFLAGS"
12582 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12583 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12584 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12585 for ac_header
in cups
/cups.h
12587 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12588 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12589 cat >>confdefs.h
<<_ACEOF
12590 #define HAVE_CUPS_CUPS_H 1
12592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12593 $as_echo_n "checking for -lcups... " >&6; }
12594 if ${ac_cv_lib_soname_cups+:} false
; then :
12595 $as_echo_n "(cached) " >&6
12597 ac_check_soname_save_LIBS
=$LIBS
12598 LIBS
="-lcups $ac_cups_libs $LIBS"
12599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12600 /* end confdefs.h. */
12602 /* Override any GCC internal prototype to avoid an error.
12603 Use char because int might match the return type of a GCC
12604 builtin and then its argument prototype would still apply. */
12608 char cupsGetDefault ();
12612 return cupsGetDefault ();
12617 if ac_fn_c_try_link
"$LINENO"; then :
12619 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12620 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'` ;;
12621 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12622 if ${ac_cv_lib_soname_cups:+false} :; then :
12623 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12627 rm -f core conftest.err conftest.
$ac_objext \
12628 conftest
$ac_exeext conftest.
$ac_ext
12629 LIBS
=$ac_check_soname_save_LIBS
12631 if ${ac_cv_lib_soname_cups:+false} :; then :
12632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12633 $as_echo "not found" >&6; }
12636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12637 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12639 cat >>confdefs.h
<<_ACEOF
12640 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12643 CUPS_CFLAGS
="$ac_cups_cflags"
12649 CPPFLAGS
="$ac_save_CPPFLAGS"
12651 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12652 case "x$with_cups" in
12653 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12655 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12656 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12660 if test "x$with_fontconfig" != "xno"
12662 if ${FONTCONFIG_CFLAGS:+false} :; then :
12663 if ${PKG_CONFIG+:} false
; then :
12664 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12667 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12668 if ${FONTCONFIG_LIBS:+false} :; then :
12669 if ${PKG_CONFIG+:} false
; then :
12670 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12673 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
12675 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12676 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12677 ac_save_CPPFLAGS
=$CPPFLAGS
12678 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
12679 for ac_header
in fontconfig
/fontconfig.h
12681 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12682 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12683 cat >>confdefs.h
<<_ACEOF
12684 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12691 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12694 $as_echo_n "checking for -lfontconfig... " >&6; }
12695 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12696 $as_echo_n "(cached) " >&6
12698 ac_check_soname_save_LIBS
=$LIBS
12699 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12701 /* end confdefs.h. */
12703 /* Override any GCC internal prototype to avoid an error.
12704 Use char because int might match the return type of a GCC
12705 builtin and then its argument prototype would still apply. */
12718 if ac_fn_c_try_link
"$LINENO"; then :
12720 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12721 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'` ;;
12722 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12723 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12724 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12728 rm -f core conftest.err conftest.
$ac_objext \
12729 conftest
$ac_exeext conftest.
$ac_ext
12730 LIBS
=$ac_check_soname_save_LIBS
12732 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12734 $as_echo "not found" >&6; }
12735 FONTCONFIG_CFLAGS
=""
12737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12738 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12740 cat >>confdefs.h
<<_ACEOF
12741 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12747 FONTCONFIG_CFLAGS
=""
12749 CPPFLAGS
=$ac_save_CPPFLAGS
12750 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12751 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12754 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12755 case "x$with_fontconfig" in
12756 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12758 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12759 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12763 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12766 $as_echo_n "checking for -lgsm... " >&6; }
12767 if ${ac_cv_lib_soname_gsm+:} false
; then :
12768 $as_echo_n "(cached) " >&6
12770 ac_check_soname_save_LIBS
=$LIBS
12772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12773 /* end confdefs.h. */
12775 /* Override any GCC internal prototype to avoid an error.
12776 Use char because int might match the return type of a GCC
12777 builtin and then its argument prototype would still apply. */
12781 char gsm_create ();
12785 return gsm_create ();
12790 if ac_fn_c_try_link
"$LINENO"; then :
12792 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12793 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'` ;;
12794 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12795 if ${ac_cv_lib_soname_gsm:+false} :; then :
12796 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12800 rm -f core conftest.err conftest.
$ac_objext \
12801 conftest
$ac_exeext conftest.
$ac_ext
12802 LIBS
=$ac_check_soname_save_LIBS
12804 if ${ac_cv_lib_soname_gsm:+false} :; then :
12805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12806 $as_echo "not found" >&6; }
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12810 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12812 cat >>confdefs.h
<<_ACEOF
12813 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12819 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12820 case "x$with_gsm" in
12821 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12823 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12824 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12828 if test "x$with_jpeg" != "xno"
12830 if ${JPEG_CFLAGS:+false} :; then :
12831 if ${PKG_CONFIG+:} false
; then :
12832 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12836 if ${JPEG_LIBS:+false} :; then :
12837 if ${PKG_CONFIG+:} false
; then :
12838 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12843 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12844 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12845 ac_save_CPPFLAGS
=$CPPFLAGS
12846 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
12847 for ac_header
in jpeglib.h
12849 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12850 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
12851 cat >>confdefs.h
<<_ACEOF
12852 #define HAVE_JPEGLIB_H 1
12859 if test "$ac_cv_header_jpeglib_h" = "yes"
12861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12862 $as_echo_n "checking for -ljpeg... " >&6; }
12863 if ${ac_cv_lib_soname_jpeg+:} false
; then :
12864 $as_echo_n "(cached) " >&6
12866 ac_check_soname_save_LIBS
=$LIBS
12867 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
12868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12869 /* end confdefs.h. */
12871 /* Override any GCC internal prototype to avoid an error.
12872 Use char because int might match the return type of a GCC
12873 builtin and then its argument prototype would still apply. */
12877 char jpeg_start_decompress ();
12881 return jpeg_start_decompress ();
12886 if ac_fn_c_try_link
"$LINENO"; then :
12888 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12889 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'` ;;
12890 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12891 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12892 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12896 rm -f core conftest.err conftest.
$ac_objext \
12897 conftest
$ac_exeext conftest.
$ac_ext
12898 LIBS
=$ac_check_soname_save_LIBS
12900 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12902 $as_echo "not found" >&6; }
12905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12906 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12908 cat >>confdefs.h
<<_ACEOF
12909 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12917 CPPFLAGS
=$ac_save_CPPFLAGS
12918 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12919 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12922 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12923 case "x$with_jpeg" in
12924 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12926 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12927 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12931 if test "x$with_png" != "xno"
12933 if ${PNG_CFLAGS:+false} :; then :
12934 if ${PKG_CONFIG+:} false
; then :
12935 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12938 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
12939 if ${PNG_LIBS:+false} :; then :
12940 if ${PKG_CONFIG+:} false
; then :
12941 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
12944 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
12946 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12947 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12948 ac_save_CPPFLAGS
=$CPPFLAGS
12949 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
12950 for ac_header
in png.h
12952 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12953 if test "x$ac_cv_header_png_h" = xyes
; then :
12954 cat >>confdefs.h
<<_ACEOF
12955 #define HAVE_PNG_H 1
12962 if test "$ac_cv_header_png_h" = "yes"
12964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12965 $as_echo_n "checking for -lpng... " >&6; }
12966 if ${ac_cv_lib_soname_png+:} false
; then :
12967 $as_echo_n "(cached) " >&6
12969 ac_check_soname_save_LIBS
=$LIBS
12970 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
12971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12972 /* end confdefs.h. */
12974 /* Override any GCC internal prototype to avoid an error.
12975 Use char because int might match the return type of a GCC
12976 builtin and then its argument prototype would still apply. */
12980 char png_create_read_struct ();
12984 return png_create_read_struct ();
12989 if ac_fn_c_try_link
"$LINENO"; then :
12991 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12992 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'` ;;
12993 *) 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'`
12994 if ${ac_cv_lib_soname_png:+false} :; then :
12995 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12999 rm -f core conftest.err conftest.
$ac_objext \
13000 conftest
$ac_exeext conftest.
$ac_ext
13001 LIBS
=$ac_check_soname_save_LIBS
13003 if ${ac_cv_lib_soname_png:+false} :; then :
13004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13005 $as_echo "not found" >&6; }
13008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13009 $as_echo "$ac_cv_lib_soname_png" >&6; }
13011 cat >>confdefs.h
<<_ACEOF
13012 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13016 /* end confdefs.h. */
13021 typeof(png_set_expand_gray_1_2_4_to_8) *p
13026 if ac_fn_c_try_compile
"$LINENO"; then :
13028 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13031 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13036 CPPFLAGS
=$ac_save_CPPFLAGS
13037 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13038 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13041 if test "x$ac_cv_lib_soname_png" = "x"; then :
13042 case "x$with_png" in
13043 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13045 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13046 This is an error since --with-png was requested." "$LINENO" 5 ;;
13050 if test "x$with_tiff" != "xno"
13052 if ${TIFF_CFLAGS:+false} :; then :
13053 if ${PKG_CONFIG+:} false
; then :
13054 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13058 if ${TIFF_LIBS:+false} :; then :
13059 if ${PKG_CONFIG+:} false
; then :
13060 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13065 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13066 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13067 ac_save_CPPFLAGS
=$CPPFLAGS
13068 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13069 for ac_header
in tiffio.h
13071 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13072 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13073 cat >>confdefs.h
<<_ACEOF
13074 #define HAVE_TIFFIO_H 1
13081 if test "$ac_cv_header_tiffio_h" = "yes"
13083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13084 $as_echo_n "checking for -ltiff... " >&6; }
13085 if ${ac_cv_lib_soname_tiff+:} false
; then :
13086 $as_echo_n "(cached) " >&6
13088 ac_check_soname_save_LIBS
=$LIBS
13089 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13091 /* end confdefs.h. */
13093 /* Override any GCC internal prototype to avoid an error.
13094 Use char because int might match the return type of a GCC
13095 builtin and then its argument prototype would still apply. */
13099 char TIFFClientOpen ();
13103 return TIFFClientOpen ();
13108 if ac_fn_c_try_link
"$LINENO"; then :
13110 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13111 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'` ;;
13112 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13113 if ${ac_cv_lib_soname_tiff:+false} :; then :
13114 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13118 rm -f core conftest.err conftest.
$ac_objext \
13119 conftest
$ac_exeext conftest.
$ac_ext
13120 LIBS
=$ac_check_soname_save_LIBS
13122 if ${ac_cv_lib_soname_tiff:+false} :; then :
13123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13124 $as_echo "not found" >&6; }
13127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13128 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13130 cat >>confdefs.h
<<_ACEOF
13131 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13137 CPPFLAGS
=$ac_save_CPPFLAGS
13138 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13139 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13142 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13143 case "x$with_tiff" in
13144 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13146 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13147 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13151 if test "x$with_mpg123" != "xno"
13153 if ${MPG123_CFLAGS:+false} :; then :
13154 if ${PKG_CONFIG+:} false
; then :
13155 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13159 if ${MPG123_LIBS:+false} :; then :
13160 if ${PKG_CONFIG+:} false
; then :
13161 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13165 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13166 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13167 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13168 ac_save_CPPFLAGS
=$CPPFLAGS
13169 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13170 for ac_header
in mpg123.h
13172 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13173 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13174 cat >>confdefs.h
<<_ACEOF
13175 #define HAVE_MPG123_H 1
13182 if test "$ac_cv_header_mpg123_h" = "yes"
13184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13185 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13186 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13187 $as_echo_n "(cached) " >&6
13189 ac_check_lib_save_LIBS
=$LIBS
13190 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13192 /* end confdefs.h. */
13194 /* Override any GCC internal prototype to avoid an error.
13195 Use char because int might match the return type of a GCC
13196 builtin and then its argument prototype would still apply. */
13200 char mpg123_feed ();
13204 return mpg123_feed ();
13209 if ac_fn_c_try_link
"$LINENO"; then :
13210 ac_cv_lib_mpg123_mpg123_feed
=yes
13212 ac_cv_lib_mpg123_mpg123_feed
=no
13214 rm -f core conftest.err conftest.
$ac_objext \
13215 conftest
$ac_exeext conftest.
$ac_ext
13216 LIBS
=$ac_check_lib_save_LIBS
13218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13219 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13220 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13230 CPPFLAGS
=$ac_save_CPPFLAGS
13231 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13232 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13235 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13236 case "x$with_mpg123" in
13237 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13239 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13240 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13243 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}
13245 if test "$ac_cv_header_AL_al_h" = "yes"
13247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13248 $as_echo_n "checking for -lopenal... " >&6; }
13249 if ${ac_cv_lib_soname_openal+:} false
; then :
13250 $as_echo_n "(cached) " >&6
13252 ac_check_soname_save_LIBS
=$LIBS
13253 LIBS
="-lopenal $LIBS"
13254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13255 /* end confdefs.h. */
13257 /* Override any GCC internal prototype to avoid an error.
13258 Use char because int might match the return type of a GCC
13259 builtin and then its argument prototype would still apply. */
13263 char alGetSource3i ();
13267 return alGetSource3i ();
13272 if ac_fn_c_try_link
"$LINENO"; then :
13274 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13275 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'` ;;
13276 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13277 if ${ac_cv_lib_soname_openal:+false} :; then :
13278 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13282 rm -f core conftest.err conftest.
$ac_objext \
13283 conftest
$ac_exeext conftest.
$ac_ext
13284 LIBS
=$ac_check_soname_save_LIBS
13286 if ${ac_cv_lib_soname_openal:+false} :; then :
13287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13288 $as_echo "not found" >&6; }
13291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13292 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13294 cat >>confdefs.h
<<_ACEOF
13295 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13298 OPENAL_LIBS
="-lopenal"
13300 ac_cv_lib_openal
=yes
13302 cat >>confdefs.h
<<_ACEOF
13303 #define HAVE_OPENAL 1
13308 if test "x$ac_cv_lib_openal" != xyes
; then :
13309 case "x$with_openal" in
13310 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13312 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13313 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13316 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13318 if test "$ac_cv_header_kstat_h" = "yes"
13320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13321 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13322 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13323 $as_echo_n "(cached) " >&6
13325 ac_check_lib_save_LIBS
=$LIBS
13326 LIBS
="-lkstat $LIBS"
13327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13328 /* end confdefs.h. */
13330 /* Override any GCC internal prototype to avoid an error.
13331 Use char because int might match the return type of a GCC
13332 builtin and then its argument prototype would still apply. */
13336 char kstat_open ();
13340 return kstat_open ();
13345 if ac_fn_c_try_link
"$LINENO"; then :
13346 ac_cv_lib_kstat_kstat_open
=yes
13348 ac_cv_lib_kstat_kstat_open
=no
13350 rm -f core conftest.err conftest.
$ac_objext \
13351 conftest
$ac_exeext conftest.
$ac_ext
13352 LIBS
=$ac_check_lib_save_LIBS
13354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13355 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13356 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13358 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13360 KSTAT_LIBS
="-lkstat"
13366 if test "$ac_cv_header_libprocstat_h" = "yes"
13368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13369 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13370 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13371 $as_echo_n "(cached) " >&6
13373 ac_check_lib_save_LIBS
=$LIBS
13374 LIBS
="-lprocstat $LIBS"
13375 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13376 /* end confdefs.h. */
13378 /* Override any GCC internal prototype to avoid an error.
13379 Use char because int might match the return type of a GCC
13380 builtin and then its argument prototype would still apply. */
13384 char procstat_open_sysctl ();
13388 return procstat_open_sysctl ();
13393 if ac_fn_c_try_link
"$LINENO"; then :
13394 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13396 ac_cv_lib_procstat_procstat_open_sysctl
=no
13398 rm -f core conftest.err conftest.
$ac_objext \
13399 conftest
$ac_exeext conftest.
$ac_ext
13400 LIBS
=$ac_check_lib_save_LIBS
13402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13403 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13404 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13406 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13408 PROCSTAT_LIBS
="-lprocstat"
13414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13415 $as_echo_n "checking for -lodbc... " >&6; }
13416 if ${ac_cv_lib_soname_odbc+:} false
; then :
13417 $as_echo_n "(cached) " >&6
13419 ac_check_soname_save_LIBS
=$LIBS
13420 LIBS
="-lodbc $LIBS"
13421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13422 /* end confdefs.h. */
13424 /* Override any GCC internal prototype to avoid an error.
13425 Use char because int might match the return type of a GCC
13426 builtin and then its argument prototype would still apply. */
13430 char SQLConnect ();
13434 return SQLConnect ();
13439 if ac_fn_c_try_link
"$LINENO"; then :
13441 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13442 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'` ;;
13443 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13444 if ${ac_cv_lib_soname_odbc:+false} :; then :
13445 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13449 rm -f core conftest.err conftest.
$ac_objext \
13450 conftest
$ac_exeext conftest.
$ac_ext
13451 LIBS
=$ac_check_soname_save_LIBS
13453 if ${ac_cv_lib_soname_odbc:+false} :; then :
13454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13455 $as_echo "not found" >&6; }
13456 cat >>confdefs.h
<<_ACEOF
13457 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13462 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13464 cat >>confdefs.h
<<_ACEOF
13465 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13471 if test "x$with_netapi" != "xno"
13473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13474 $as_echo_n "checking for -lnetapi... " >&6; }
13475 if ${ac_cv_lib_soname_netapi+:} false
; then :
13476 $as_echo_n "(cached) " >&6
13478 ac_check_soname_save_LIBS
=$LIBS
13479 LIBS
="-lnetapi $LIBS"
13480 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13481 /* end confdefs.h. */
13483 /* Override any GCC internal prototype to avoid an error.
13484 Use char because int might match the return type of a GCC
13485 builtin and then its argument prototype would still apply. */
13489 char libnetapi_init ();
13493 return libnetapi_init ();
13498 if ac_fn_c_try_link
"$LINENO"; then :
13500 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13501 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'` ;;
13502 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13503 if ${ac_cv_lib_soname_netapi:+false} :; then :
13504 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13508 rm -f core conftest.err conftest.
$ac_objext \
13509 conftest
$ac_exeext conftest.
$ac_ext
13510 LIBS
=$ac_check_soname_save_LIBS
13512 if ${ac_cv_lib_soname_netapi:+false} :; then :
13513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13514 $as_echo "not found" >&6; }
13515 cat >>confdefs.h
<<_ACEOF
13516 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13521 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13523 cat >>confdefs.h
<<_ACEOF
13524 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13531 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13532 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13533 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13534 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13536 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13537 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13538 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13540 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13546 if test "x${GCC}" = "xyes"
13548 EXTRACFLAGS
="-Wall -pipe"
13550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13551 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13552 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13553 $as_echo_n "(cached) " >&6
13555 if test "$cross_compiling" = yes; then :
13556 ac_cv_c_gcc_strength_bug
="yes"
13558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13559 /* end confdefs.h. */
13560 int L[4] = {0,1,2,3};
13564 static int Array[3];
13565 unsigned int B = 3;
13567 for(i=0; i<B; i++) Array[i] = i - 3;
13568 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13570 return (Array[1] != -2 || L[2] != 3)
13575 if ac_fn_c_try_run
"$LINENO"; then :
13576 ac_cv_c_gcc_strength_bug
="no"
13578 ac_cv_c_gcc_strength_bug
="yes"
13580 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13581 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13586 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13587 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13589 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13593 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13594 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13595 $as_echo_n "(cached) " >&6
13597 ac_wine_try_cflags_saved
=$CFLAGS
13598 CFLAGS
="$CFLAGS -fno-builtin"
13599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13600 /* end confdefs.h. */
13601 int main(int argc, char **argv) { return 0; }
13603 if ac_fn_c_try_link
"$LINENO"; then :
13604 ac_cv_cflags__fno_builtin
=yes
13606 ac_cv_cflags__fno_builtin
=no
13608 rm -f core conftest.err conftest.
$ac_objext \
13609 conftest
$ac_exeext conftest.
$ac_ext
13610 CFLAGS
=$ac_wine_try_cflags_saved
13612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13613 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13614 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
13615 BUILTINFLAG
="-fno-builtin"
13618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13619 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13620 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13621 $as_echo_n "(cached) " >&6
13623 ac_wine_try_cflags_saved
=$CFLAGS
13624 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13625 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13626 /* end confdefs.h. */
13627 int main(int argc, char **argv) { return 0; }
13629 if ac_fn_c_try_link
"$LINENO"; then :
13630 ac_cv_cflags__fno_strict_aliasing
=yes
13632 ac_cv_cflags__fno_strict_aliasing
=no
13634 rm -f core conftest.err conftest.
$ac_objext \
13635 conftest
$ac_exeext conftest.
$ac_ext
13636 CFLAGS
=$ac_wine_try_cflags_saved
13638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13639 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13640 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
13641 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13643 saved_CFLAGS
=$CFLAGS
13644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13645 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13646 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13647 $as_echo_n "(cached) " >&6
13649 ac_wine_try_cflags_saved
=$CFLAGS
13650 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13652 /* end confdefs.h. */
13653 int main(int argc, char **argv) { return 0; }
13655 if ac_fn_c_try_link
"$LINENO"; then :
13656 ac_cv_cflags__Werror_unknown_warning_option
=yes
13658 ac_cv_cflags__Werror_unknown_warning_option
=no
13660 rm -f core conftest.err conftest.
$ac_objext \
13661 conftest
$ac_exeext conftest.
$ac_ext
13662 CFLAGS
=$ac_wine_try_cflags_saved
13664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13665 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13666 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
13667 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13670 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13671 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13672 $as_echo_n "(cached) " >&6
13674 ac_wine_try_cflags_saved
=$CFLAGS
13675 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13677 /* end confdefs.h. */
13678 int main(int argc, char **argv) { return 0; }
13680 if ac_fn_c_try_link
"$LINENO"; then :
13681 ac_cv_cflags__Wdeclaration_after_statement
=yes
13683 ac_cv_cflags__Wdeclaration_after_statement
=no
13685 rm -f core conftest.err conftest.
$ac_objext \
13686 conftest
$ac_exeext conftest.
$ac_ext
13687 CFLAGS
=$ac_wine_try_cflags_saved
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13690 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13691 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
13692 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13695 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13696 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13697 $as_echo_n "(cached) " >&6
13699 ac_wine_try_cflags_saved
=$CFLAGS
13700 CFLAGS
="$CFLAGS -Wempty-body"
13701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13702 /* end confdefs.h. */
13703 int main(int argc, char **argv) { return 0; }
13705 if ac_fn_c_try_link
"$LINENO"; then :
13706 ac_cv_cflags__Wempty_body
=yes
13708 ac_cv_cflags__Wempty_body
=no
13710 rm -f core conftest.err conftest.
$ac_objext \
13711 conftest
$ac_exeext conftest.
$ac_ext
13712 CFLAGS
=$ac_wine_try_cflags_saved
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13715 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13716 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
13717 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13720 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13721 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13722 $as_echo_n "(cached) " >&6
13724 ac_wine_try_cflags_saved
=$CFLAGS
13725 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13727 /* end confdefs.h. */
13728 int main(int argc, char **argv) { return 0; }
13730 if ac_fn_c_try_link
"$LINENO"; then :
13731 ac_cv_cflags__Wignored_qualifiers
=yes
13733 ac_cv_cflags__Wignored_qualifiers
=no
13735 rm -f core conftest.err conftest.
$ac_objext \
13736 conftest
$ac_exeext conftest.
$ac_ext
13737 CFLAGS
=$ac_wine_try_cflags_saved
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13740 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13741 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
13742 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13745 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13746 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13747 $as_echo_n "(cached) " >&6
13749 ac_wine_try_cflags_saved
=$CFLAGS
13750 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13752 /* end confdefs.h. */
13753 int main(int argc, char **argv) { return 0; }
13755 if ac_fn_c_try_link
"$LINENO"; then :
13756 ac_cv_cflags__Wstrict_prototypes
=yes
13758 ac_cv_cflags__Wstrict_prototypes
=no
13760 rm -f core conftest.err conftest.
$ac_objext \
13761 conftest
$ac_exeext conftest.
$ac_ext
13762 CFLAGS
=$ac_wine_try_cflags_saved
13764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13765 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13766 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
13767 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13770 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13771 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13772 $as_echo_n "(cached) " >&6
13774 ac_wine_try_cflags_saved
=$CFLAGS
13775 CFLAGS
="$CFLAGS -Wtype-limits"
13776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13777 /* end confdefs.h. */
13778 int main(int argc, char **argv) { return 0; }
13780 if ac_fn_c_try_link
"$LINENO"; then :
13781 ac_cv_cflags__Wtype_limits
=yes
13783 ac_cv_cflags__Wtype_limits
=no
13785 rm -f core conftest.err conftest.
$ac_objext \
13786 conftest
$ac_exeext conftest.
$ac_ext
13787 CFLAGS
=$ac_wine_try_cflags_saved
13789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13790 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13791 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
13792 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13795 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13796 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13797 $as_echo_n "(cached) " >&6
13799 ac_wine_try_cflags_saved
=$CFLAGS
13800 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13802 /* end confdefs.h. */
13803 int main(int argc, char **argv) { return 0; }
13805 if ac_fn_c_try_link
"$LINENO"; then :
13806 ac_cv_cflags__Wunused_but_set_parameter
=yes
13808 ac_cv_cflags__Wunused_but_set_parameter
=no
13810 rm -f core conftest.err conftest.
$ac_objext \
13811 conftest
$ac_exeext conftest.
$ac_ext
13812 CFLAGS
=$ac_wine_try_cflags_saved
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13815 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13816 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
13817 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13820 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13821 if ${ac_cv_cflags__Wvla+:} false
; then :
13822 $as_echo_n "(cached) " >&6
13824 ac_wine_try_cflags_saved
=$CFLAGS
13825 CFLAGS
="$CFLAGS -Wvla"
13826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13827 /* end confdefs.h. */
13828 int main(int argc, char **argv) { return 0; }
13830 if ac_fn_c_try_link
"$LINENO"; then :
13831 ac_cv_cflags__Wvla
=yes
13833 ac_cv_cflags__Wvla
=no
13835 rm -f core conftest.err conftest.
$ac_objext \
13836 conftest
$ac_exeext conftest.
$ac_ext
13837 CFLAGS
=$ac_wine_try_cflags_saved
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13840 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13841 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
13842 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
13844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13845 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13846 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
13847 $as_echo_n "(cached) " >&6
13849 ac_wine_try_cflags_saved
=$CFLAGS
13850 CFLAGS
="$CFLAGS -Wwrite-strings"
13851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13852 /* end confdefs.h. */
13853 int main(int argc, char **argv) { return 0; }
13855 if ac_fn_c_try_link
"$LINENO"; then :
13856 ac_cv_cflags__Wwrite_strings
=yes
13858 ac_cv_cflags__Wwrite_strings
=no
13860 rm -f core conftest.err conftest.
$ac_objext \
13861 conftest
$ac_exeext conftest.
$ac_ext
13862 CFLAGS
=$ac_wine_try_cflags_saved
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13865 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13866 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
13867 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
13870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13871 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13872 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
13873 $as_echo_n "(cached) " >&6
13875 ac_wine_try_cflags_saved
=$CFLAGS
13876 CFLAGS
="$CFLAGS -Wpointer-arith"
13877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13878 /* end confdefs.h. */
13879 int main(int argc, char **argv) { return 0; }
13881 if ac_fn_c_try_link
"$LINENO"; then :
13882 ac_cv_cflags__Wpointer_arith
=yes
13884 ac_cv_cflags__Wpointer_arith
=no
13886 rm -f core conftest.err conftest.
$ac_objext \
13887 conftest
$ac_exeext conftest.
$ac_ext
13888 CFLAGS
=$ac_wine_try_cflags_saved
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13891 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13892 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
13893 saved_string_h_CFLAGS
=$CFLAGS
13894 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
13895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13896 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13897 if ${ac_cv_c_string_h_warnings+:} false
; then :
13898 $as_echo_n "(cached) " >&6
13900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13901 /* end confdefs.h. */
13902 #include <string.h>
13911 if ac_fn_c_try_compile
"$LINENO"; then :
13912 ac_cv_c_string_h_warnings
=no
13914 ac_cv_c_string_h_warnings
=yes
13916 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13919 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13920 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
13921 CFLAGS
=$saved_string_h_CFLAGS
13924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13925 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13926 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
13927 $as_echo_n "(cached) " >&6
13929 ac_wine_try_cflags_saved
=$CFLAGS
13930 CFLAGS
="$CFLAGS -Wlogical-op"
13931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13932 /* end confdefs.h. */
13933 int main(int argc, char **argv) { return 0; }
13935 if ac_fn_c_try_link
"$LINENO"; then :
13936 ac_cv_cflags__Wlogical_op
=yes
13938 ac_cv_cflags__Wlogical_op
=no
13940 rm -f core conftest.err conftest.
$ac_objext \
13941 conftest
$ac_exeext conftest.
$ac_ext
13942 CFLAGS
=$ac_wine_try_cflags_saved
13944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13945 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13946 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
13947 saved_string_h_CFLAGS
=$CFLAGS
13948 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
13949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13950 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13951 if ${ac_cv_c_logicalop_noisy+:} false
; then :
13952 $as_echo_n "(cached) " >&6
13954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13955 /* end confdefs.h. */
13956 #include <string.h>
13957 char*f(const char *h,char n) {return strchr(h,n);}
13966 if ac_fn_c_try_compile
"$LINENO"; then :
13967 ac_cv_c_logicalop_noisy
=no
13969 ac_cv_c_logicalop_noisy
=yes
13971 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13974 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13975 CFLAGS
=$saved_string_h_CFLAGS
13976 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
13979 CFLAGS
=$saved_CFLAGS
13981 for ac_flag
in $CFLAGS; do
13983 -g) case $host_os in
13984 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13985 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13986 if ${ac_cv_cflags__gstabsp+:} false
; then :
13987 $as_echo_n "(cached) " >&6
13989 ac_wine_try_cflags_saved
=$CFLAGS
13990 CFLAGS
="$CFLAGS -gstabs+"
13991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13992 /* end confdefs.h. */
13993 int main(int argc, char **argv) { return 0; }
13995 if ac_fn_c_try_link
"$LINENO"; then :
13996 ac_cv_cflags__gstabsp
=yes
13998 ac_cv_cflags__gstabsp
=no
14000 rm -f core conftest.err conftest.
$ac_objext \
14001 conftest
$ac_exeext conftest.
$ac_ext
14002 CFLAGS
=$ac_wine_try_cflags_saved
14004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14005 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14006 if test "x$ac_cv_cflags__gstabsp" = xyes
; then :
14007 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
14009 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14010 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14011 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14012 $as_echo_n "(cached) " >&6
14014 ac_wine_try_cflags_saved
=$CFLAGS
14015 CFLAGS
="$CFLAGS -gdwarf-2"
14016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14017 /* end confdefs.h. */
14018 int main(int argc, char **argv) { return 0; }
14020 if ac_fn_c_try_link
"$LINENO"; then :
14021 ac_cv_cflags__gdwarf_2
=yes
14023 ac_cv_cflags__gdwarf_2
=no
14025 rm -f core conftest.err conftest.
$ac_objext \
14026 conftest
$ac_exeext conftest.
$ac_ext
14027 CFLAGS
=$ac_wine_try_cflags_saved
14029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14030 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14031 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14032 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14035 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14036 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14037 $as_echo_n "(cached) " >&6
14039 ac_wine_try_cflags_saved
=$CFLAGS
14040 CFLAGS
="$CFLAGS -gstrict-dwarf"
14041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14042 /* end confdefs.h. */
14043 int main(int argc, char **argv) { return 0; }
14045 if ac_fn_c_try_link
"$LINENO"; then :
14046 ac_cv_cflags__gstrict_dwarf
=yes
14048 ac_cv_cflags__gstrict_dwarf
=no
14050 rm -f core conftest.err conftest.
$ac_objext \
14051 conftest
$ac_exeext conftest.
$ac_ext
14052 CFLAGS
=$ac_wine_try_cflags_saved
14054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14055 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14056 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14057 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14064 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14065 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14066 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14067 $as_echo_n "(cached) " >&6
14069 ac_wine_try_cflags_saved
=$CFLAGS
14070 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14072 /* end confdefs.h. */
14073 int main(int argc, char **argv) { return 0; }
14075 if ac_fn_c_try_link
"$LINENO"; then :
14076 ac_cv_cflags__fno_omit_frame_pointer
=yes
14078 ac_cv_cflags__fno_omit_frame_pointer
=no
14080 rm -f core conftest.err conftest.
$ac_objext \
14081 conftest
$ac_exeext conftest.
$ac_ext
14082 CFLAGS
=$ac_wine_try_cflags_saved
14084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14085 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14086 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14087 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14092 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14093 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14094 if ${ac_cv_cflags__Wno_format+:} false
; then :
14095 $as_echo_n "(cached) " >&6
14097 ac_wine_try_cflags_saved
=$CFLAGS
14098 CFLAGS
="$CFLAGS -Wno-format"
14099 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14100 /* end confdefs.h. */
14101 int main(int argc, char **argv) { return 0; }
14103 if ac_fn_c_try_link
"$LINENO"; then :
14104 ac_cv_cflags__Wno_format
=yes
14106 ac_cv_cflags__Wno_format
=no
14108 rm -f core conftest.err conftest.
$ac_objext \
14109 conftest
$ac_exeext conftest.
$ac_ext
14110 CFLAGS
=$ac_wine_try_cflags_saved
14112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14113 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14114 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14115 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14119 if test "x$enable_maintainer_mode" = "xyes"
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14122 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14123 if ${ac_cv_cflags__Werror+:} false
; then :
14124 $as_echo_n "(cached) " >&6
14126 ac_wine_try_cflags_saved
=$CFLAGS
14127 CFLAGS
="$CFLAGS -Werror"
14128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14129 /* end confdefs.h. */
14130 int main(int argc, char **argv) { return 0; }
14132 if ac_fn_c_try_link
"$LINENO"; then :
14133 ac_cv_cflags__Werror
=yes
14135 ac_cv_cflags__Werror
=no
14137 rm -f core conftest.err conftest.
$ac_objext \
14138 conftest
$ac_exeext conftest.
$ac_ext
14139 CFLAGS
=$ac_wine_try_cflags_saved
14141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14142 $as_echo "$ac_cv_cflags__Werror" >&6; }
14143 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14144 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14148 saved_CFLAGS
="$CFLAGS"
14149 CFLAGS
="$CFLAGS -Werror"
14150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14151 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14152 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14153 $as_echo_n "(cached) " >&6
14155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14156 /* end confdefs.h. */
14157 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14166 if ac_fn_c_try_compile
"$LINENO"; then :
14167 ac_cv_have_ms_hook_prologue
="yes"
14169 ac_cv_have_ms_hook_prologue
="no"
14171 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14174 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14175 CFLAGS
="$saved_CFLAGS"
14176 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14179 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14182 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14189 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14190 if ${ac_cv_c_fortify_enabled+:} false
; then :
14191 $as_echo_n "(cached) " >&6
14193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14194 /* end confdefs.h. */
14195 #include <string.h>
14199 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14200 #error Fortify enabled
14206 if ac_fn_c_try_compile
"$LINENO"; then :
14207 ac_cv_c_fortify_enabled
=no
14209 ac_cv_c_fortify_enabled
=yes
14211 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14214 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14215 if test "$ac_cv_c_fortify_enabled" = yes
14217 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14222 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14223 if ${ac_cv_c_extern_prefix+:} false
; then :
14224 $as_echo_n "(cached) " >&6
14226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14227 /* end confdefs.h. */
14228 extern int ac_test;
14232 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14237 if ac_fn_c_try_link
"$LINENO"; then :
14238 ac_cv_c_extern_prefix
="yes"
14240 ac_cv_c_extern_prefix
="no"
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_c_extern_prefix" >&5
14246 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14251 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14252 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14253 $as_echo_n "(cached) " >&6
14255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14256 /* end confdefs.h. */
14258 #define __stdcall __attribute__((__stdcall__))
14260 int __stdcall ac_test(int i) { return i; }
14264 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14269 if ac_fn_c_try_link
"$LINENO"; then :
14270 ac_cv_c_stdcall_suffix
="yes"
14272 ac_cv_c_stdcall_suffix
="no"
14274 rm -f core conftest.err conftest.
$ac_objext \
14275 conftest
$ac_exeext conftest.
$ac_ext
14277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14278 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14279 *) ac_cv_c_stdcall_suffix
="no" ;;
14283 if test "$ac_cv_c_extern_prefix" = "yes"
14285 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14287 asm_name_prefix
="_"
14289 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14295 if test "$ac_cv_c_stdcall_suffix" = "yes"
14297 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14300 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14306 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14307 if ${ac_cv_asm_func_def+:} false
; then :
14308 $as_echo_n "(cached) " >&6
14310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14311 /* end confdefs.h. */
14316 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14321 if ac_fn_c_try_link
"$LINENO"; then :
14322 ac_cv_asm_func_def
=".def"
14324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14325 /* end confdefs.h. */
14330 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14335 if ac_fn_c_try_link
"$LINENO"; then :
14336 ac_cv_asm_func_def
=".type @function"
14338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14339 /* end confdefs.h. */
14344 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14349 if ac_fn_c_try_link
"$LINENO"; then :
14350 ac_cv_asm_func_def
=".type 2"
14352 ac_cv_asm_func_def
="unknown"
14354 rm -f core conftest.err conftest.
$ac_objext \
14355 conftest
$ac_exeext conftest.
$ac_ext
14357 rm -f core conftest.err conftest.
$ac_objext \
14358 conftest
$ac_exeext conftest.
$ac_ext
14360 rm -f core conftest.err conftest.
$ac_objext \
14361 conftest
$ac_exeext conftest.
$ac_ext
14363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14364 $as_echo "$ac_cv_asm_func_def" >&6; }
14367 case "$ac_cv_asm_func_def" in
14369 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14371 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14373 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14375 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14377 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14379 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14381 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14383 asm_func_header
="" ;;
14386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14387 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14388 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14389 $as_echo_n "(cached) " >&6
14391 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14392 /* end confdefs.h. */
14393 asm(".text\n\t.long 0");
14402 if ac_fn_c_try_compile
"$LINENO"; then :
14403 ac_cv_c_asm_outside_funcs
="yes"
14405 ac_cv_c_asm_outside_funcs
="no"
14407 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14410 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14413 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14414 if ${ac_cv_c_dot_previous+:} false
; then :
14415 $as_echo_n "(cached) " >&6
14417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14418 /* end confdefs.h. */
14423 asm(".text\nac_test:\t.long 0\n\t.previous");
14428 if ac_fn_c_try_link
"$LINENO"; then :
14429 ac_cv_c_dot_previous
="yes"
14431 ac_cv_c_dot_previous
="no"
14433 rm -f core conftest.err conftest.
$ac_objext \
14434 conftest
$ac_exeext conftest.
$ac_ext
14436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14437 $as_echo "$ac_cv_c_dot_previous" >&6; }
14439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14440 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14441 if ${ac_cv_c_cfi_support+:} false
; then :
14442 $as_echo_n "(cached) " >&6
14444 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14445 /* end confdefs.h. */
14446 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14455 if ac_fn_c_try_compile
"$LINENO"; then :
14456 ac_cv_c_cfi_support
="yes"
14458 ac_cv_c_cfi_support
="no"
14460 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14463 $as_echo "$ac_cv_c_cfi_support" >&6; }
14465 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14466 asm_func_trailer
=""
14467 if test "$ac_cv_c_dot_previous" = "yes"
14469 asm_func_trailer
="\\n\\t.previous"
14471 if test "$ac_cv_c_cfi_support" = "yes"
14473 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14474 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14476 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14478 UNWINDFLAGS
=-fasynchronous-unwind-tables
14481 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14485 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14488 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14490 cat >>confdefs.h
<<_ACEOF
14491 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14495 cat >>confdefs.h
<<_ACEOF
14496 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14501 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14504 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14509 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14516 *i
[3456789]86*|x86_64
*)
14517 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14518 loader_programs
="$loader_programs $wine_binary-preloader"
14519 as_fn_append LOADER_RULES
"
14520 $wine_binary-preloader: preloader.o
14521 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14523 install install-lib:: $wine_binary-preloader
14524 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14527 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14529 preloader_EXTRADEFS = $BUILTINFLAG
14534 as_fn_append LOADER_RULES
"
14535 PROGRAMS = $loader_programs
14539 ac_save_CFLAGS
="$CFLAGS"
14540 CFLAGS
="$CFLAGS $BUILTINFLAG"
14617 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14618 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14619 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14620 cat >>confdefs.h
<<_ACEOF
14621 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14627 CFLAGS
="$ac_save_CFLAGS"
14629 if test "$ac_cv_func_dlopen" = no
14631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14632 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14633 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14634 $as_echo_n "(cached) " >&6
14636 ac_check_lib_save_LIBS
=$LIBS
14638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14639 /* end confdefs.h. */
14641 /* Override any GCC internal prototype to avoid an error.
14642 Use char because int might match the return type of a GCC
14643 builtin and then its argument prototype would still apply. */
14656 if ac_fn_c_try_link
"$LINENO"; then :
14657 ac_cv_lib_dl_dlopen
=yes
14659 ac_cv_lib_dl_dlopen
=no
14661 rm -f core conftest.err conftest.
$ac_objext \
14662 conftest
$ac_exeext conftest.
$ac_ext
14663 LIBS
=$ac_check_lib_save_LIBS
14665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14666 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14667 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14668 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14674 ac_wine_check_funcs_save_LIBS
="$LIBS"
14675 LIBS
="$LIBS $DL_LIBS"
14676 for ac_func
in dladdr
14678 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14679 if test "x$ac_cv_func_dladdr" = xyes
; then :
14680 cat >>confdefs.h
<<_ACEOF
14681 #define HAVE_DLADDR 1
14687 LIBS
="$ac_wine_check_funcs_save_LIBS"
14689 if test "$ac_cv_func_poll" = no
14691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14692 $as_echo_n "checking for poll in -lpoll... " >&6; }
14693 if ${ac_cv_lib_poll_poll+:} false
; then :
14694 $as_echo_n "(cached) " >&6
14696 ac_check_lib_save_LIBS
=$LIBS
14697 LIBS
="-lpoll $LIBS"
14698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14699 /* end confdefs.h. */
14701 /* Override any GCC internal prototype to avoid an error.
14702 Use char because int might match the return type of a GCC
14703 builtin and then its argument prototype would still apply. */
14716 if ac_fn_c_try_link
"$LINENO"; then :
14717 ac_cv_lib_poll_poll
=yes
14719 ac_cv_lib_poll_poll
=no
14721 rm -f core conftest.err conftest.
$ac_objext \
14722 conftest
$ac_exeext conftest.
$ac_ext
14723 LIBS
=$ac_check_lib_save_LIBS
14725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14726 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14727 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14728 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14736 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14737 if ${ac_cv_search_gethostbyname+:} false
; then :
14738 $as_echo_n "(cached) " >&6
14740 ac_func_search_save_LIBS
=$LIBS
14741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14742 /* end confdefs.h. */
14744 /* Override any GCC internal prototype to avoid an error.
14745 Use char because int might match the return type of a GCC
14746 builtin and then its argument prototype would still apply. */
14750 char gethostbyname ();
14754 return gethostbyname ();
14759 for ac_lib
in '' nsl
; do
14760 if test -z "$ac_lib"; then
14761 ac_res
="none required"
14764 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14766 if ac_fn_c_try_link
"$LINENO"; then :
14767 ac_cv_search_gethostbyname
=$ac_res
14769 rm -f core conftest.err conftest.
$ac_objext \
14771 if ${ac_cv_search_gethostbyname+:} false
; then :
14775 if ${ac_cv_search_gethostbyname+:} false
; then :
14778 ac_cv_search_gethostbyname
=no
14780 rm conftest.
$ac_ext
14781 LIBS
=$ac_func_search_save_LIBS
14783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14784 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14785 ac_res
=$ac_cv_search_gethostbyname
14786 if test "$ac_res" != no
; then :
14787 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14793 $as_echo_n "checking for library containing connect... " >&6; }
14794 if ${ac_cv_search_connect+:} false
; then :
14795 $as_echo_n "(cached) " >&6
14797 ac_func_search_save_LIBS
=$LIBS
14798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14799 /* end confdefs.h. */
14801 /* Override any GCC internal prototype to avoid an error.
14802 Use char because int might match the return type of a GCC
14803 builtin and then its argument prototype would still apply. */
14816 for ac_lib
in '' socket
; do
14817 if test -z "$ac_lib"; then
14818 ac_res
="none required"
14821 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14823 if ac_fn_c_try_link
"$LINENO"; then :
14824 ac_cv_search_connect
=$ac_res
14826 rm -f core conftest.err conftest.
$ac_objext \
14828 if ${ac_cv_search_connect+:} false
; then :
14832 if ${ac_cv_search_connect+:} false
; then :
14835 ac_cv_search_connect
=no
14837 rm conftest.
$ac_ext
14838 LIBS
=$ac_func_search_save_LIBS
14840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14841 $as_echo "$ac_cv_search_connect" >&6; }
14842 ac_res
=$ac_cv_search_connect
14843 if test "$ac_res" != no
; then :
14844 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14850 $as_echo_n "checking for library containing inet_aton... " >&6; }
14851 if ${ac_cv_search_inet_aton+:} false
; then :
14852 $as_echo_n "(cached) " >&6
14854 ac_func_search_save_LIBS
=$LIBS
14855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14856 /* end confdefs.h. */
14858 /* Override any GCC internal prototype to avoid an error.
14859 Use char because int might match the return type of a GCC
14860 builtin and then its argument prototype would still apply. */
14868 return inet_aton ();
14873 for ac_lib
in '' resolv
; do
14874 if test -z "$ac_lib"; then
14875 ac_res
="none required"
14878 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14880 if ac_fn_c_try_link
"$LINENO"; then :
14881 ac_cv_search_inet_aton
=$ac_res
14883 rm -f core conftest.err conftest.
$ac_objext \
14885 if ${ac_cv_search_inet_aton+:} false
; then :
14889 if ${ac_cv_search_inet_aton+:} false
; then :
14892 ac_cv_search_inet_aton
=no
14894 rm conftest.
$ac_ext
14895 LIBS
=$ac_func_search_save_LIBS
14897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14898 $as_echo "$ac_cv_search_inet_aton" >&6; }
14899 ac_res
=$ac_cv_search_inet_aton
14900 if test "$ac_res" != no
; then :
14901 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14921 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14922 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14923 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14924 cat >>confdefs.h
<<_ACEOF
14925 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14934 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14935 if ${ac_cv_search_clock_gettime+:} false
; then :
14936 $as_echo_n "(cached) " >&6
14938 ac_func_search_save_LIBS
=$LIBS
14939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14940 /* end confdefs.h. */
14942 /* Override any GCC internal prototype to avoid an error.
14943 Use char because int might match the return type of a GCC
14944 builtin and then its argument prototype would still apply. */
14948 char clock_gettime ();
14952 return clock_gettime ();
14957 for ac_lib
in '' rt
; do
14958 if test -z "$ac_lib"; then
14959 ac_res
="none required"
14962 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14964 if ac_fn_c_try_link
"$LINENO"; then :
14965 ac_cv_search_clock_gettime
=$ac_res
14967 rm -f core conftest.err conftest.
$ac_objext \
14969 if ${ac_cv_search_clock_gettime+:} false
; then :
14973 if ${ac_cv_search_clock_gettime+:} false
; then :
14976 ac_cv_search_clock_gettime
=no
14978 rm conftest.
$ac_ext
14979 LIBS
=$ac_func_search_save_LIBS
14981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14982 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14983 ac_res
=$ac_cv_search_clock_gettime
14984 if test "$ac_res" != no
; then :
14985 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14987 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14989 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
14997 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14999 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15001 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15003 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15004 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15005 $as_echo_n "(cached) " >&6
15007 ac_check_lib_save_LIBS
=$LIBS
15008 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15010 /* end confdefs.h. */
15012 /* Override any GCC internal prototype to avoid an error.
15013 Use char because int might match the return type of a GCC
15014 builtin and then its argument prototype would still apply. */
15018 char ldap_initialize ();
15022 return ldap_initialize ();
15027 if ac_fn_c_try_link
"$LINENO"; then :
15028 ac_cv_lib_ldap_r_ldap_initialize
=yes
15030 ac_cv_lib_ldap_r_ldap_initialize
=no
15032 rm -f core conftest.err conftest.
$ac_objext \
15033 conftest
$ac_exeext conftest.
$ac_ext
15034 LIBS
=$ac_check_lib_save_LIBS
15036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15037 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15038 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15040 $as_echo_n "checking for ber_init in -llber... " >&6; }
15041 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15042 $as_echo_n "(cached) " >&6
15044 ac_check_lib_save_LIBS
=$LIBS
15045 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15047 /* end confdefs.h. */
15049 /* Override any GCC internal prototype to avoid an error.
15050 Use char because int might match the return type of a GCC
15051 builtin and then its argument prototype would still apply. */
15059 return ber_init ();
15064 if ac_fn_c_try_link
"$LINENO"; then :
15065 ac_cv_lib_lber_ber_init
=yes
15067 ac_cv_lib_lber_ber_init
=no
15069 rm -f core conftest.err conftest.
$ac_objext \
15070 conftest
$ac_exeext conftest.
$ac_ext
15071 LIBS
=$ac_check_lib_save_LIBS
15073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15074 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15075 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15077 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15079 LDAP_LIBS
="-lldap_r -llber"
15086 ac_wine_check_funcs_save_LIBS
="$LIBS"
15087 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15089 ldap_count_references \
15090 ldap_first_reference \
15091 ldap_next_reference \
15092 ldap_parse_reference \
15093 ldap_parse_sort_control \
15094 ldap_parse_sortresponse_control \
15095 ldap_parse_vlv_control \
15096 ldap_parse_vlvresponse_control
15098 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15099 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15100 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15101 cat >>confdefs.h
<<_ACEOF
15102 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15108 LIBS
="$ac_wine_check_funcs_save_LIBS"
15110 if test "x$LDAP_LIBS" = "x"; then :
15111 case "x$with_ldap" in
15112 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15114 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15115 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15120 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15121 if ${wine_cv_one_arg_mkdir+:} false
; then :
15122 $as_echo_n "(cached) " >&6
15124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15125 /* end confdefs.h. */
15126 #include <sys/stat.h>
15135 if ac_fn_c_try_compile
"$LINENO"; then :
15136 wine_cv_one_arg_mkdir
=yes
15138 wine_cv_one_arg_mkdir
=no
15140 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15143 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15144 if test "$wine_cv_one_arg_mkdir" = "yes"
15147 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15152 $as_echo_n "checking for sched_setaffinity... " >&6; }
15153 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15154 $as_echo_n "(cached) " >&6
15156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15157 /* end confdefs.h. */
15158 #define _GNU_SOURCE
15163 sched_setaffinity(0, 0, 0);
15168 if ac_fn_c_try_link
"$LINENO"; then :
15169 wine_cv_have_sched_setaffinity
=yes
15171 wine_cv_have_sched_setaffinity
=no
15173 rm -f core conftest.err conftest.
$ac_objext \
15174 conftest
$ac_exeext conftest.
$ac_ext
15176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15177 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15178 if test "$wine_cv_have_sched_setaffinity" = "yes"
15181 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15186 $as_echo_n "checking for fallocate... " >&6; }
15187 if ${wine_cv_have_fallocate+:} false
; then :
15188 $as_echo_n "(cached) " >&6
15190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15191 /* end confdefs.h. */
15192 #define _GNU_SOURCE
15197 fallocate(-1, 0, 0, 0);
15202 if ac_fn_c_try_link
"$LINENO"; then :
15203 wine_cv_have_fallocate
=yes
15205 wine_cv_have_fallocate
=no
15207 rm -f core conftest.err conftest.
$ac_objext \
15208 conftest
$ac_exeext conftest.
$ac_ext
15210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15211 $as_echo "$wine_cv_have_fallocate" >&6; }
15212 if test "$wine_cv_have_fallocate" = "yes"
15215 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15221 $as_echo_n "checking for inline... " >&6; }
15222 if ${ac_cv_c_inline+:} false
; then :
15223 $as_echo_n "(cached) " >&6
15226 for ac_kw
in inline __inline__ __inline
; do
15227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15228 /* end confdefs.h. */
15229 #ifndef __cplusplus
15231 static $ac_kw foo_t static_foo () {return 0; }
15232 $ac_kw foo_t foo () {return 0; }
15236 if ac_fn_c_try_compile
"$LINENO"; then :
15237 ac_cv_c_inline
=$ac_kw
15239 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15240 test "$ac_cv_c_inline" != no
&& break
15244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15245 $as_echo "$ac_cv_c_inline" >&6; }
15247 case $ac_cv_c_inline in
15250 case $ac_cv_c_inline in
15252 *) ac_val
=$ac_cv_c_inline;;
15254 cat >>confdefs.h
<<_ACEOF
15255 #ifndef __cplusplus
15256 #define inline $ac_val
15262 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15263 if test "x$ac_cv_type_mode_t" = xyes
; then :
15265 cat >>confdefs.h
<<_ACEOF
15266 #define HAVE_MODE_T 1
15271 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15272 if test "x$ac_cv_type_off_t" = xyes
; then :
15274 cat >>confdefs.h
<<_ACEOF
15275 #define HAVE_OFF_T 1
15280 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15281 if test "x$ac_cv_type_pid_t" = xyes
; then :
15283 cat >>confdefs.h
<<_ACEOF
15284 #define HAVE_PID_T 1
15289 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15290 if test "x$ac_cv_type_size_t" = xyes
; then :
15292 cat >>confdefs.h
<<_ACEOF
15293 #define HAVE_SIZE_T 1
15298 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15299 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15301 cat >>confdefs.h
<<_ACEOF
15302 #define HAVE_SSIZE_T 1
15307 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15308 if test "x$ac_cv_type_long_long" = xyes
; then :
15310 cat >>confdefs.h
<<_ACEOF
15311 #define HAVE_LONG_LONG 1
15316 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15317 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15319 cat >>confdefs.h
<<_ACEOF
15320 #define HAVE_FSBLKCNT_T 1
15325 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15326 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15328 cat >>confdefs.h
<<_ACEOF
15329 #define HAVE_FSFILCNT_T 1
15335 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15336 #include <signal.h>
15338 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15340 cat >>confdefs.h
<<_ACEOF
15341 #define HAVE_SIGSET_T 1
15347 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15349 if test "x$ac_cv_type_request_sense" = xyes
; then :
15351 cat >>confdefs.h
<<_ACEOF
15352 #define HAVE_REQUEST_SENSE 1
15359 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15360 #ifdef HAVE_SYS_SOCKET_H
15361 #include <sys/socket.h>
15363 #ifdef HAVE_SYS_SOCKETVAR_H
15364 #include <sys/socketvar.h>
15366 #ifdef HAVE_NET_ROUTE_H
15367 #include <net/route.h>
15369 #ifdef HAVE_NETINET_IN_H
15370 #include <netinet/in.h>
15372 #ifdef HAVE_NETINET_IN_SYSTM_H
15373 #include <netinet/in_systm.h>
15375 #ifdef HAVE_NETINET_IP_H
15376 #include <netinet/ip.h>
15378 #ifdef HAVE_NETINET_IN_PCB_H
15379 #include <netinet/in_pcb.h>
15382 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15384 cat >>confdefs.h
<<_ACEOF
15385 #define HAVE_STRUCT_XINPGEN 1
15392 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15395 #ifdef HAVE_SYS_LINK_H
15396 #include <sys/link.h>
15399 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15401 cat >>confdefs.h
<<_ACEOF
15402 #define HAVE_STRUCT_R_DEBUG 1
15407 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15410 #ifdef HAVE_SYS_LINK_H
15411 #include <sys/link.h>
15414 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15416 cat >>confdefs.h
<<_ACEOF
15417 #define HAVE_STRUCT_LINK_MAP 1
15424 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15425 #include <linux/input.h>
15428 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15430 cat >>confdefs.h
<<_ACEOF
15431 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15439 $as_echo_n "checking for sigaddset... " >&6; }
15440 if ${wine_cv_have_sigaddset+:} false
; then :
15441 $as_echo_n "(cached) " >&6
15443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15444 /* end confdefs.h. */
15445 #include <signal.h>
15449 sigset_t set; sigaddset(&set,SIGTERM);
15454 if ac_fn_c_try_link
"$LINENO"; then :
15455 wine_cv_have_sigaddset
=yes
15457 wine_cv_have_sigaddset
=no
15459 rm -f core conftest.err conftest.
$ac_objext \
15460 conftest
$ac_exeext conftest.
$ac_ext
15462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15463 $as_echo "$wine_cv_have_sigaddset" >&6; }
15464 if test "$wine_cv_have_sigaddset" = "yes"
15467 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15473 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15474 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15475 $as_echo_n "(cached) " >&6
15477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15478 /* end confdefs.h. */
15486 struct hostent *result;
15493 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15494 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15500 if ac_fn_c_try_link
"$LINENO"; then :
15501 wine_cv_linux_gethostbyname_r_6
=yes
15503 wine_cv_linux_gethostbyname_r_6
=no
15506 rm -f core conftest.err conftest.
$ac_objext \
15507 conftest
$ac_exeext conftest.
$ac_ext
15510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15511 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15512 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15515 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15519 if test "$ac_cv_header_linux_joystick_h" = "yes"
15521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15522 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15523 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15524 $as_echo_n "(cached) " >&6
15526 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15527 /* end confdefs.h. */
15529 #include <sys/ioctl.h>
15530 #include <sys/types.h>
15531 #include <linux/joystick.h>
15533 struct js_event blub;
15534 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15535 #error "no 2.2 header"
15546 if ac_fn_c_try_compile
"$LINENO"; then :
15547 wine_cv_linux_joystick_22_api
=yes
15549 wine_cv_linux_joystick_22_api
=no
15551 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15555 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15556 if test "$wine_cv_linux_joystick_22_api" = "yes"
15559 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15565 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15566 #ifdef HAVE_SYS_PARAM_H
15567 # include <sys/param.h>
15569 #ifdef HAVE_SYS_MOUNT_H
15570 # include <sys/mount.h>
15572 #ifdef HAVE_SYS_VFS_H
15573 # include <sys/vfs.h>
15575 #ifdef HAVE_SYS_STATFS_H
15576 # include <sys/statfs.h>
15579 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15581 cat >>confdefs.h
<<_ACEOF
15582 #define HAVE_STRUCT_STATFS_F_BFREE 1
15587 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15588 #ifdef HAVE_SYS_PARAM_H
15589 # include <sys/param.h>
15591 #ifdef HAVE_SYS_MOUNT_H
15592 # include <sys/mount.h>
15594 #ifdef HAVE_SYS_VFS_H
15595 # include <sys/vfs.h>
15597 #ifdef HAVE_SYS_STATFS_H
15598 # include <sys/statfs.h>
15601 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15603 cat >>confdefs.h
<<_ACEOF
15604 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15609 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15610 #ifdef HAVE_SYS_PARAM_H
15611 # include <sys/param.h>
15613 #ifdef HAVE_SYS_MOUNT_H
15614 # include <sys/mount.h>
15616 #ifdef HAVE_SYS_VFS_H
15617 # include <sys/vfs.h>
15619 #ifdef HAVE_SYS_STATFS_H
15620 # include <sys/statfs.h>
15623 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15625 cat >>confdefs.h
<<_ACEOF
15626 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15631 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15632 #ifdef HAVE_SYS_PARAM_H
15633 # include <sys/param.h>
15635 #ifdef HAVE_SYS_MOUNT_H
15636 # include <sys/mount.h>
15638 #ifdef HAVE_SYS_VFS_H
15639 # include <sys/vfs.h>
15641 #ifdef HAVE_SYS_STATFS_H
15642 # include <sys/statfs.h>
15645 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15647 cat >>confdefs.h
<<_ACEOF
15648 #define HAVE_STRUCT_STATFS_F_FFREE 1
15653 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15654 #ifdef HAVE_SYS_PARAM_H
15655 # include <sys/param.h>
15657 #ifdef HAVE_SYS_MOUNT_H
15658 # include <sys/mount.h>
15660 #ifdef HAVE_SYS_VFS_H
15661 # include <sys/vfs.h>
15663 #ifdef HAVE_SYS_STATFS_H
15664 # include <sys/statfs.h>
15667 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15669 cat >>confdefs.h
<<_ACEOF
15670 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15675 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15676 #ifdef HAVE_SYS_PARAM_H
15677 # include <sys/param.h>
15679 #ifdef HAVE_SYS_MOUNT_H
15680 # include <sys/mount.h>
15682 #ifdef HAVE_SYS_VFS_H
15683 # include <sys/vfs.h>
15685 #ifdef HAVE_SYS_STATFS_H
15686 # include <sys/statfs.h>
15689 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15691 cat >>confdefs.h
<<_ACEOF
15692 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15699 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15700 #include <sys/statvfs.h>
15703 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15705 cat >>confdefs.h
<<_ACEOF
15706 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15713 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15714 #include <dirent.h>
15717 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15719 cat >>confdefs.h
<<_ACEOF
15720 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15727 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15728 #ifdef HAVE_SYS_SOCKET_H
15729 # include <sys/socket.h>
15731 #ifdef HAVE_SYS_UN_H
15732 # include <sys/un.h>
15735 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15737 cat >>confdefs.h
<<_ACEOF
15738 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15743 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15744 #ifdef HAVE_SYS_SOCKET_H
15745 # include <sys/socket.h>
15747 #ifdef HAVE_SYS_UN_H
15748 # include <sys/un.h>
15751 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15753 cat >>confdefs.h
<<_ACEOF
15754 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15759 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15760 #ifdef HAVE_SYS_SOCKET_H
15761 # include <sys/socket.h>
15763 #ifdef HAVE_SYS_UN_H
15764 # include <sys/un.h>
15767 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15769 cat >>confdefs.h
<<_ACEOF
15770 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15777 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15778 #ifdef HAVE_SCSI_SG_H
15779 #include <scsi/sg.h>
15782 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15784 cat >>confdefs.h
<<_ACEOF
15785 #define HAVE_SCSIREQ_T_CMD 1
15790 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>
15791 #ifdef HAVE_SCSI_SG_H
15792 #include <scsi/sg.h>
15795 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15797 cat >>confdefs.h
<<_ACEOF
15798 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15805 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15807 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15809 cat >>confdefs.h
<<_ACEOF
15810 #define HAVE_SIGINFO_T_SI_FD 1
15817 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15818 #ifdef HAVE_SYS_MTIO_H
15819 #include <sys/mtio.h>
15822 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15824 cat >>confdefs.h
<<_ACEOF
15825 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15830 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15831 #ifdef HAVE_SYS_MTIO_H
15832 #include <sys/mtio.h>
15835 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
15837 cat >>confdefs.h
<<_ACEOF
15838 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15843 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15844 #ifdef HAVE_SYS_MTIO_H
15845 #include <sys/mtio.h>
15848 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
15850 cat >>confdefs.h
<<_ACEOF
15851 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15858 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15859 #include <getopt.h>
15862 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
15864 cat >>confdefs.h
<<_ACEOF
15865 #define HAVE_STRUCT_OPTION_NAME 1
15872 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15873 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
15875 cat >>confdefs.h
<<_ACEOF
15876 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15881 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15882 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
15884 cat >>confdefs.h
<<_ACEOF
15885 #define HAVE_STRUCT_STAT_ST_MTIM 1
15890 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15891 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
15893 cat >>confdefs.h
<<_ACEOF
15894 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15899 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15900 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
15902 cat >>confdefs.h
<<_ACEOF
15903 #define HAVE_STRUCT_STAT_ST_CTIM 1
15908 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15909 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
15911 cat >>confdefs.h
<<_ACEOF
15912 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15917 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15918 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
15920 cat >>confdefs.h
<<_ACEOF
15921 #define HAVE_STRUCT_STAT_ST_ATIM 1
15926 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15927 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
15929 cat >>confdefs.h
<<_ACEOF
15930 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15935 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15936 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
15938 cat >>confdefs.h
<<_ACEOF
15939 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15944 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15945 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
15947 cat >>confdefs.h
<<_ACEOF
15948 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15953 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15954 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
15956 cat >>confdefs.h
<<_ACEOF
15957 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15962 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15963 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
15965 cat >>confdefs.h
<<_ACEOF
15966 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15971 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15972 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
15974 cat >>confdefs.h
<<_ACEOF
15975 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15982 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
15983 #include <sys/types.h>
15985 #ifdef HAVE_NETINET_IN_H
15986 #include <netinet/in.h>
15989 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
15991 cat >>confdefs.h
<<_ACEOF
15992 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15999 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16000 #include <resolv.h>
16003 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
16005 cat >>confdefs.h
<<_ACEOF
16006 #define HAVE_STRUCT___RES_STATE 1
16013 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
16014 #include <resolv.h>
16017 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16019 cat >>confdefs.h
<<_ACEOF
16020 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16027 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16028 #include <sys/types.h>
16030 #ifdef HAVE_NETINET_IN_H
16031 # include <netinet/in.h>
16033 #ifdef HAVE_ARPA_NAMESER_H
16034 # include <arpa/nameser.h>
16037 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16039 cat >>confdefs.h
<<_ACEOF
16040 #define HAVE_NS_MSG__MSG_PTR 1
16047 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16048 #include <sys/types.h>
16050 #ifdef HAVE_NETINET_IP_H
16051 #include <netinet/ip.h>
16053 #ifdef HAVE_NETINET_IP_ICMP_H
16054 #include <netinet/ip_icmp.h>
16056 #ifdef HAVE_NETINET_ICMP_VAR_H
16057 #include <netinet/icmp_var.h>
16060 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16062 cat >>confdefs.h
<<_ACEOF
16063 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16070 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16071 #include <sys/types.h>
16073 #ifdef HAVE_ALIAS_H
16076 #ifdef HAVE_SYS_SOCKET_H
16077 #include <sys/socket.h>
16079 #ifdef HAVE_SYS_SOCKETVAR_H
16080 #include <sys/socketvar.h>
16082 #ifdef HAVE_SYS_TIMEOUT_H
16083 #include <sys/timeout.h>
16085 #ifdef HAVE_NETINET_IN_H
16086 #include <netinet/in.h>
16088 #ifdef HAVE_NETINET_IN_SYSTM_H
16089 #include <netinet/in_systm.h>
16091 #ifdef HAVE_NETINET_IP_H
16092 #include <netinet/ip.h>
16094 #ifdef HAVE_NETINET_IP_VAR_H
16095 #include <netinet/ip_var.h>
16097 #ifdef HAVE_NETINET_IP_ICMP_H
16098 #include <netinet/ip_icmp.h>
16100 #ifdef HAVE_NETINET_ICMP_VAR_H
16101 #include <netinet/icmp_var.h>
16104 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16106 cat >>confdefs.h
<<_ACEOF
16107 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16114 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16115 #include <sys/types.h>
16117 #ifdef HAVE_SYS_SOCKETVAR_H
16118 #include <sys/socketvar.h>
16120 #ifdef HAVE_NETINET_IN_H
16121 #include <netinet/in.h>
16123 #ifdef HAVE_NETINET_IP_VAR_H
16124 #include <netinet/ip_var.h>
16127 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16129 cat >>confdefs.h
<<_ACEOF
16130 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16137 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
16138 #include <netinet/ip_var.h>
16141 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16143 cat >>confdefs.h
<<_ACEOF
16144 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16151 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16152 #include <sys/types.h>
16154 #ifdef HAVE_SYS_SOCKETVAR_H
16155 #include <sys/socketvar.h>
16157 #ifdef HAVE_NETINET_IN_H
16158 #include <netinet/in.h>
16160 #ifdef HAVE_NETINET_TCP_H
16161 #include <netinet/tcp.h>
16163 #ifdef HAVE_NETINET_TCP_VAR_H
16164 #include <netinet/tcp_var.h>
16167 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16169 cat >>confdefs.h
<<_ACEOF
16170 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16177 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
16178 #include <netinet/tcp_var.h>
16181 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16183 cat >>confdefs.h
<<_ACEOF
16184 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16191 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16192 #include <sys/types.h>
16194 #ifdef HAVE_NETINET_IN_H
16195 #include <netinet/in.h>
16197 #ifdef HAVE_NETINET_IP_VAR_H
16198 #include <netinet/ip_var.h>
16200 #ifdef HAVE_NETINET_UDP_H
16201 #include <netinet/udp.h>
16203 #ifdef HAVE_NETINET_UDP_VAR_H
16204 #include <netinet/udp_var.h>
16207 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16209 cat >>confdefs.h
<<_ACEOF
16210 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16217 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16218 #include <sys/types.h>
16220 #ifdef HAVE_NET_IF_H
16221 # include <net/if.h>
16224 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16226 cat >>confdefs.h
<<_ACEOF
16227 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16235 $as_echo_n "checking for timezone variable... " >&6; }
16236 if ${ac_cv_have_timezone+:} false
; then :
16237 $as_echo_n "(cached) " >&6
16239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16240 /* end confdefs.h. */
16250 if ac_fn_c_try_link
"$LINENO"; then :
16251 ac_cv_have_timezone
="yes"
16253 ac_cv_have_timezone
="no"
16255 rm -f core conftest.err conftest.
$ac_objext \
16256 conftest
$ac_exeext conftest.
$ac_ext
16258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16259 $as_echo "$ac_cv_have_timezone" >&6; }
16260 if test "$ac_cv_have_timezone" = "yes"
16263 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16267 $as_echo_n "checking for daylight variable... " >&6; }
16268 if ${ac_cv_have_daylight+:} false
; then :
16269 $as_echo_n "(cached) " >&6
16271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16272 /* end confdefs.h. */
16282 if ac_fn_c_try_link
"$LINENO"; then :
16283 ac_cv_have_daylight
="yes"
16285 ac_cv_have_daylight
="no"
16287 rm -f core conftest.err conftest.
$ac_objext \
16288 conftest
$ac_exeext conftest.
$ac_ext
16290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16291 $as_echo "$ac_cv_have_daylight" >&6; }
16292 if test "$ac_cv_have_daylight" = "yes"
16295 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16299 ac_save_LIBS
="$LIBS"
16301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16302 $as_echo_n "checking for isfinite... " >&6; }
16303 if ${ac_cv_have_isfinite+:} false
; then :
16304 $as_echo_n "(cached) " >&6
16306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16307 /* end confdefs.h. */
16308 #define _GNU_SOURCE
16313 float f = 0.0; return isfinite(f)
16318 if ac_fn_c_try_link
"$LINENO"; then :
16319 ac_cv_have_isfinite
="yes"
16321 ac_cv_have_isfinite
="no"
16323 rm -f core conftest.err conftest.
$ac_objext \
16324 conftest
$ac_exeext conftest.
$ac_ext
16326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16327 $as_echo "$ac_cv_have_isfinite" >&6; }
16328 if test "$ac_cv_have_isfinite" = "yes"
16331 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16335 ac_save_LIBS
="$LIBS"
16337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16338 $as_echo_n "checking for isinf... " >&6; }
16339 if ${ac_cv_have_isinf+:} false
; then :
16340 $as_echo_n "(cached) " >&6
16342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16343 /* end confdefs.h. */
16348 float f = 0.0; return isinf(f)
16353 if ac_fn_c_try_link
"$LINENO"; then :
16354 ac_cv_have_isinf
="yes"
16356 ac_cv_have_isinf
="no"
16358 rm -f core conftest.err conftest.
$ac_objext \
16359 conftest
$ac_exeext conftest.
$ac_ext
16361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16362 $as_echo "$ac_cv_have_isinf" >&6; }
16363 if test "$ac_cv_have_isinf" = "yes"
16366 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16371 $as_echo_n "checking for isnan... " >&6; }
16372 if ${ac_cv_have_isnan+:} false
; then :
16373 $as_echo_n "(cached) " >&6
16375 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16376 /* end confdefs.h. */
16381 float f = 0.0; return isnan(f)
16386 if ac_fn_c_try_link
"$LINENO"; then :
16387 ac_cv_have_isnan
="yes"
16389 ac_cv_have_isnan
="no"
16391 rm -f core conftest.err conftest.
$ac_objext \
16392 conftest
$ac_exeext conftest.
$ac_ext
16394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16395 $as_echo "$ac_cv_have_isnan" >&6; }
16396 if test "$ac_cv_have_isnan" = "yes"
16399 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16402 LIBS
="$ac_save_LIBS"
16406 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16407 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16408 if ${ac_cv_cpp_def___i386__+:} false
; then :
16409 $as_echo_n "(cached) " >&6
16411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16412 /* end confdefs.h. */
16417 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16418 $EGREP "yes" >/dev
/null
2>&1; then :
16419 ac_cv_cpp_def___i386__
=yes
16421 ac_cv_cpp_def___i386__
=no
16426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16427 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16428 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16429 CFLAGS
="$CFLAGS -D__i386__"
16430 LINTFLAGS
="$LINTFLAGS -D__i386__"
16432 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16433 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16434 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16435 $as_echo_n "(cached) " >&6
16437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16438 /* end confdefs.h. */
16443 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16444 $EGREP "yes" >/dev
/null
2>&1; then :
16445 ac_cv_cpp_def___x86_64__
=yes
16447 ac_cv_cpp_def___x86_64__
=no
16452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16453 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16454 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16455 CFLAGS
="$CFLAGS -D__x86_64__"
16456 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16458 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16459 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16460 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16461 $as_echo_n "(cached) " >&6
16463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16464 /* end confdefs.h. */
16465 #ifndef __sparc64__
16469 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16470 $EGREP "yes" >/dev
/null
2>&1; then :
16471 ac_cv_cpp_def___sparc64__
=yes
16473 ac_cv_cpp_def___sparc64__
=no
16478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16479 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16480 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16481 CFLAGS
="$CFLAGS -D__sparc64__"
16482 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16484 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16485 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16486 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16487 $as_echo_n "(cached) " >&6
16489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16490 /* end confdefs.h. */
16495 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16496 $EGREP "yes" >/dev
/null
2>&1; then :
16497 ac_cv_cpp_def___sparc__
=yes
16499 ac_cv_cpp_def___sparc__
=no
16504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16505 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16506 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16507 CFLAGS
="$CFLAGS -D__sparc__"
16508 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16510 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16511 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16512 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16513 $as_echo_n "(cached) " >&6
16515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16516 /* end confdefs.h. */
16517 #ifndef __powerpc64__
16521 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16522 $EGREP "yes" >/dev
/null
2>&1; then :
16523 ac_cv_cpp_def___powerpc64__
=yes
16525 ac_cv_cpp_def___powerpc64__
=no
16530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16531 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16532 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
16533 CFLAGS
="$CFLAGS -D__powerpc64__"
16534 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16536 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16537 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16538 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16539 $as_echo_n "(cached) " >&6
16541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16542 /* end confdefs.h. */
16543 #ifndef __powerpc__
16547 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16548 $EGREP "yes" >/dev
/null
2>&1; then :
16549 ac_cv_cpp_def___powerpc__
=yes
16551 ac_cv_cpp_def___powerpc__
=no
16556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16557 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16558 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
16559 CFLAGS
="$CFLAGS -D__powerpc__"
16560 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16562 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16563 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16564 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16565 $as_echo_n "(cached) " >&6
16567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16568 /* end confdefs.h. */
16569 #ifndef __aarch64__
16573 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16574 $EGREP "yes" >/dev
/null
2>&1; then :
16575 ac_cv_cpp_def___aarch64__
=yes
16577 ac_cv_cpp_def___aarch64__
=no
16582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16583 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16584 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
16585 CFLAGS
="$CFLAGS -D__aarch64__"
16586 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16588 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16589 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16590 if ${ac_cv_cpp_def___arm__+:} false
; then :
16591 $as_echo_n "(cached) " >&6
16593 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16594 /* end confdefs.h. */
16599 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16600 $EGREP "yes" >/dev
/null
2>&1; then :
16601 ac_cv_cpp_def___arm__
=yes
16603 ac_cv_cpp_def___arm__
=no
16608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16609 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16610 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
16611 CFLAGS
="$CFLAGS -D__arm__"
16612 LINTFLAGS
="$LINTFLAGS -D__arm__"
16616 case $host_vendor in
16617 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16618 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16619 if ${ac_cv_cpp_def___sun__+:} false
; then :
16620 $as_echo_n "(cached) " >&6
16622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16623 /* end confdefs.h. */
16628 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16629 $EGREP "yes" >/dev
/null
2>&1; then :
16630 ac_cv_cpp_def___sun__
=yes
16632 ac_cv_cpp_def___sun__
=no
16637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16638 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16639 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
16640 CFLAGS
="$CFLAGS -D__sun__"
16641 LINTFLAGS
="$LINTFLAGS -D__sun__"
16649 ac_config_commands
="$ac_config_commands include/stamp-h"
16651 $as_echo_n "creating Makefile rules..." >&6
16653 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
16654 SOCKET_LIBS = $SOCKET_LIBS
16655 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16656 IOKIT_LIBS = $IOKIT_LIBS
16657 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16658 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16659 CORESERVICES_LIBS = $CORESERVICES_LIBS
16660 APPKIT_LIBS = $APPKIT_LIBS
16661 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16662 SECURITY_LIBS = $SECURITY_LIBS
16663 COREAUDIO_LIBS = $COREAUDIO_LIBS
16664 OPENAL_LIBS = $OPENAL_LIBS
16665 OPENCL_LIBS = $OPENCL_LIBS
16666 QUICKTIME_LIBS = $QUICKTIME_LIBS
16667 CARBON_LIBS = $CARBON_LIBS
16668 PTHREAD_LIBS = $PTHREAD_LIBS
16669 X_CFLAGS = $X_CFLAGS
16670 X_PRE_LIBS = $X_PRE_LIBS
16672 X_EXTRA_LIBS = $X_EXTRA_LIBS
16673 XML2_CFLAGS = $XML2_CFLAGS
16674 XML2_LIBS = $XML2_LIBS
16675 XSLT_CFLAGS = $XSLT_CFLAGS
16676 XSLT_LIBS = $XSLT_LIBS
16677 DBUS_CFLAGS = $DBUS_CFLAGS
16678 DBUS_LIBS = $DBUS_LIBS
16679 HAL_CFLAGS = $HAL_CFLAGS
16680 HAL_LIBS = $HAL_LIBS
16681 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16682 GNUTLS_LIBS = $GNUTLS_LIBS
16683 SANE_CFLAGS = $SANE_CFLAGS
16684 SANE_LIBS = $SANE_LIBS
16685 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16686 GPHOTO2_LIBS = $GPHOTO2_LIBS
16687 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16688 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16689 RESOLV_LIBS = $RESOLV_LIBS
16690 LCMS2_CFLAGS = $LCMS2_CFLAGS
16691 LCMS2_LIBS = $LCMS2_LIBS
16692 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16693 FREETYPE_LIBS = $FREETYPE_LIBS
16695 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16696 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16697 GSTREAMER_LIBS = $GSTREAMER_LIBS
16698 ALSA_LIBS = $ALSA_LIBS
16699 OSS4_CFLAGS = $OSS4_CFLAGS
16700 CAPI20_CFLAGS = $CAPI20_CFLAGS
16701 CAPI20_LIBS = $CAPI20_LIBS
16702 CUPS_CFLAGS = $CUPS_CFLAGS
16703 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16704 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16705 JPEG_CFLAGS = $JPEG_CFLAGS
16706 JPEG_LIBS = $JPEG_LIBS
16707 PNG_CFLAGS = $PNG_CFLAGS
16708 PNG_LIBS = $PNG_LIBS
16709 TIFF_CFLAGS = $TIFF_CFLAGS
16710 TIFF_LIBS = $TIFF_LIBS
16711 MPG123_CFLAGS = $MPG123_CFLAGS
16712 MPG123_LIBS = $MPG123_LIBS
16713 KSTAT_LIBS = $KSTAT_LIBS
16714 PROCSTAT_LIBS = $PROCSTAT_LIBS
16716 POLL_LIBS = $POLL_LIBS
16718 LDAP_LIBS = $LDAP_LIBS
16723 wine_fn_append_rule
"
16724 # Rules automatically generated by configure
16726 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16731 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16732 @./config.status Make.tmp Makefile"
16734 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
16735 .gitignore: config.status
16736 @./config.status .gitignore"
16738 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
16739 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16741 if test "x$enable_fonts" != xno
; then
16742 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16743 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16744 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16745 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16746 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16748 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16749 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
16750 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16751 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16752 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16753 wine_fn_config_symlink wine
16754 if test "x$enable_win64" != xno
; then
16755 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16756 wine_fn_config_symlink wine64
16759 wine_fn_config_dll acledit enable_acledit
16760 wine_fn_config_dll aclui enable_aclui implib
16761 wine_fn_config_dll activeds enable_activeds implib
16762 wine_fn_config_dll actxprxy enable_actxprxy clean
16763 wine_fn_config_lib adsiid
16764 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
16765 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
16766 wine_fn_config_dll advpack enable_advpack implib
16767 wine_fn_config_test dlls
/advpack
/tests advpack_test
16768 wine_fn_config_dll amstream enable_amstream clean
16769 wine_fn_config_test dlls
/amstream
/tests amstream_test
16770 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16771 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16772 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16773 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16774 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16775 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16776 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16777 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16778 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16779 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16780 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16781 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16782 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16783 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16784 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16785 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16786 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16787 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16788 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16789 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16790 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16791 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16792 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16793 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16794 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16795 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16796 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16797 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16798 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16799 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16800 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16801 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16802 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16803 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16804 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16805 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16806 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16807 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16808 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16809 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16810 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16811 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16812 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16813 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16814 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16815 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16816 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16817 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16818 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16819 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16820 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16821 wine_fn_config_dll apphelp enable_apphelp
16822 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
16823 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16824 wine_fn_config_dll atl enable_atl clean
,implib
16825 wine_fn_config_test dlls
/atl
/tests atl_test
16826 wine_fn_config_dll atl100 enable_atl100 clean
,implib
16827 wine_fn_config_test dlls
/atl100
/tests atl100_test
16828 wine_fn_config_dll atl110 enable_atl110 clean
16829 wine_fn_config_dll atl80 enable_atl80 clean
,implib
16830 wine_fn_config_test dlls
/atl80
/tests atl80_test
16831 wine_fn_config_dll atl90 enable_atl90 clean
16832 wine_fn_config_dll authz enable_authz
16833 wine_fn_config_dll avicap32 enable_avicap32 implib
16834 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
16835 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
16836 wine_fn_config_dll avifile.dll16 enable_win16
16837 wine_fn_config_dll avrt enable_avrt implib
16838 wine_fn_config_dll bcrypt enable_bcrypt
16839 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
16840 wine_fn_config_dll browseui enable_browseui clean
,po
16841 wine_fn_config_test dlls
/browseui
/tests browseui_test
16842 wine_fn_config_dll cabinet enable_cabinet implib
16843 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
16844 wine_fn_config_dll capi2032 enable_capi2032 implib
16845 wine_fn_config_dll cards enable_cards implib
16846 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16847 wine_fn_config_dll clusapi enable_clusapi implib
16848 wine_fn_config_dll comcat enable_comcat
16849 wine_fn_config_test dlls
/comcat
/tests comcat_test
16850 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
16851 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
16852 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
16853 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
16854 wine_fn_config_dll
comm.drv16 enable_win16
16855 wine_fn_config_dll commdlg.dll16 enable_win16
16856 wine_fn_config_dll compobj.dll16 enable_win16
16857 wine_fn_config_dll compstui enable_compstui implib
16858 wine_fn_config_dll comsvcs enable_comsvcs implib
16859 wine_fn_config_dll credui enable_credui implib
,po
16860 wine_fn_config_test dlls
/credui
/tests credui_test
16861 wine_fn_config_dll crtdll enable_crtdll implib
16862 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
16863 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
16864 wine_fn_config_dll cryptdlg enable_cryptdlg po
16865 wine_fn_config_dll cryptdll enable_cryptdll implib
16866 wine_fn_config_dll cryptext enable_cryptext
16867 wine_fn_config_dll cryptnet enable_cryptnet implib
16868 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
16869 wine_fn_config_dll cryptui enable_cryptui implib
,po
16870 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
16871 wine_fn_config_dll ctapi32 enable_ctapi32
16872 wine_fn_config_dll ctl3d.dll16 enable_win16
16873 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16874 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16875 wine_fn_config_dll d2d1 enable_d2d1 implib
16876 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
16877 wine_fn_config_dll d3d10 enable_d3d10 implib
16878 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
16879 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16880 wine_fn_config_dll d3d10core enable_d3d10core implib
16881 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
16882 wine_fn_config_dll d3d11 enable_d3d11
16883 wine_fn_config_dll d3d8 enable_d3d8 implib
16884 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
16885 wine_fn_config_dll d3d9 enable_d3d9 implib
16886 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
16887 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16888 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16889 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16890 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16891 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16892 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16893 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16894 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16895 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16896 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16897 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16898 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
16899 wine_fn_config_dll d3dim enable_d3dim implib
16900 wine_fn_config_dll d3drm enable_d3drm implib
16901 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
16902 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16903 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16904 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16905 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16906 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16907 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16908 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16909 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16910 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16911 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16912 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16913 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16914 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16915 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16916 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16917 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16918 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16919 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16920 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16921 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16922 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16923 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16924 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16925 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16926 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16927 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16928 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
16929 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16930 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16931 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16932 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16933 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16934 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16935 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16936 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
16937 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
16938 wine_fn_config_dll dbgeng enable_dbgeng implib
16939 wine_fn_config_dll dbghelp enable_dbghelp implib
16940 wine_fn_config_dll dciman32 enable_dciman32 implib
16941 wine_fn_config_dll ddeml.dll16 enable_win16
16942 wine_fn_config_dll ddraw enable_ddraw clean
,implib
16943 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
16944 wine_fn_config_dll ddrawex enable_ddrawex clean
16945 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
16946 wine_fn_config_dll devenum enable_devenum clean
,po
16947 wine_fn_config_test dlls
/devenum
/tests devenum_test
16948 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16949 wine_fn_config_dll difxapi enable_difxapi
16950 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
16951 wine_fn_config_test dlls
/dinput
/tests dinput_test
16952 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
16953 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
16954 wine_fn_config_dll dispdib.dll16 enable_win16
16955 wine_fn_config_dll dispex enable_dispex clean
16956 wine_fn_config_test dlls
/dispex
/tests dispex_test
16957 wine_fn_config_dll display.drv16 enable_win16
16958 wine_fn_config_dll dmband enable_dmband clean
16959 wine_fn_config_test dlls
/dmband
/tests dmband_test
16960 wine_fn_config_dll dmcompos enable_dmcompos clean
16961 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
16962 wine_fn_config_dll dmime enable_dmime clean
16963 wine_fn_config_test dlls
/dmime
/tests dmime_test
16964 wine_fn_config_dll dmloader enable_dmloader clean
16965 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
16966 wine_fn_config_dll dmscript enable_dmscript clean
16967 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
16968 wine_fn_config_dll dmstyle enable_dmstyle clean
16969 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
16970 wine_fn_config_dll dmsynth enable_dmsynth clean
16971 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
16972 wine_fn_config_dll dmusic enable_dmusic clean
16973 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
16974 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16975 wine_fn_config_dll dnsapi enable_dnsapi implib
16976 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
16977 wine_fn_config_dll dplay enable_dplay implib
16978 wine_fn_config_dll dplayx enable_dplayx clean
,implib
16979 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
16980 wine_fn_config_dll dpnaddr enable_dpnaddr
16981 wine_fn_config_dll dpnet enable_dpnet clean
,implib
16982 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
16983 wine_fn_config_dll dpnhpast enable_dpnhpast
16984 wine_fn_config_dll dpnlobby enable_dpnlobby
16985 wine_fn_config_dll dpvoice enable_dpvoice clean
16986 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
16987 wine_fn_config_dll dpwsockx enable_dpwsockx
16988 wine_fn_config_dll drmclien enable_drmclien
16989 wine_fn_config_dll dsound enable_dsound clean
,implib
16990 wine_fn_config_test dlls
/dsound
/tests dsound_test
16991 wine_fn_config_dll dssenh enable_dssenh
16992 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
16993 wine_fn_config_dll dswave enable_dswave clean
16994 wine_fn_config_test dlls
/dswave
/tests dswave_test
16995 wine_fn_config_dll dwmapi enable_dwmapi implib
16996 wine_fn_config_dll dwrite enable_dwrite implib
16997 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
16998 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
16999 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
17000 wine_fn_config_lib dxerr8
17001 wine_fn_config_lib dxerr9
17002 wine_fn_config_dll dxgi enable_dxgi implib
17003 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
17004 wine_fn_config_lib dxguid
17005 wine_fn_config_dll dxva2 enable_dxva2
17006 wine_fn_config_dll explorerframe enable_explorerframe clean
17007 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17008 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17009 wine_fn_config_dll faultrep enable_faultrep implib
17010 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17011 wine_fn_config_dll fltlib enable_fltlib
17012 wine_fn_config_dll fntcache enable_fntcache
17013 wine_fn_config_dll fontsub enable_fontsub
17014 wine_fn_config_dll fusion enable_fusion
17015 wine_fn_config_test dlls
/fusion
/tests fusion_test
17016 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17017 wine_fn_config_dll gameux enable_gameux clean
17018 wine_fn_config_test dlls
/gameux
/tests gameux_test
17019 wine_fn_config_dll gdi.exe16 enable_win16
17020 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
17021 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
17022 wine_fn_config_dll gdiplus enable_gdiplus implib
17023 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
17024 wine_fn_config_dll glu32 enable_glu32 implib
17025 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17026 wine_fn_config_dll gpkcsp enable_gpkcsp
17027 wine_fn_config_dll hal enable_hal
17028 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
17029 wine_fn_config_dll hid enable_hid implib
17030 wine_fn_config_dll hlink enable_hlink clean
,implib
17031 wine_fn_config_test dlls
/hlink
/tests hlink_test
17032 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17033 wine_fn_config_dll httpapi enable_httpapi
17034 wine_fn_config_dll iccvid enable_iccvid po
17035 wine_fn_config_dll icmp enable_icmp
17036 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
17037 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17038 wine_fn_config_dll ifsmgr.vxd enable_win16
17039 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17040 wine_fn_config_dll imagehlp enable_imagehlp implib
17041 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17042 wine_fn_config_dll imm.dll16 enable_win16
17043 wine_fn_config_dll imm32 enable_imm32 implib
17044 wine_fn_config_test dlls
/imm32
/tests imm32_test
17045 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17046 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17047 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17048 wine_fn_config_dll inetmib1 enable_inetmib1
17049 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17050 wine_fn_config_dll infosoft enable_infosoft clean
17051 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17052 wine_fn_config_dll initpki enable_initpki
17053 wine_fn_config_dll inkobj enable_inkobj
17054 wine_fn_config_dll inseng enable_inseng clean
17055 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17056 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17057 wine_fn_config_dll itircl enable_itircl
17058 wine_fn_config_dll itss enable_itss clean
17059 wine_fn_config_test dlls
/itss
/tests itss_test
17060 wine_fn_config_dll joy.cpl enable_joy_cpl po
17061 wine_fn_config_dll jscript enable_jscript clean
,po
17062 wine_fn_config_test dlls
/jscript
/tests jscript_test
17063 wine_fn_config_dll jsproxy enable_jsproxy implib
17064 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
17065 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17066 wine_fn_config_dll keyboard.drv16 enable_win16
17067 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17068 wine_fn_config_dll ksuser enable_ksuser
17069 wine_fn_config_dll ktmw32 enable_ktmw32
17070 wine_fn_config_dll loadperf enable_loadperf implib
17071 wine_fn_config_dll localspl enable_localspl po
17072 wine_fn_config_test dlls
/localspl
/tests localspl_test
17073 wine_fn_config_dll localui enable_localui po
17074 wine_fn_config_test dlls
/localui
/tests localui_test
17075 wine_fn_config_dll lz32 enable_lz32 implib
17076 wine_fn_config_test dlls
/lz32
/tests lz32_test
17077 wine_fn_config_dll lzexpand.dll16 enable_win16
17078 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
17079 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17080 wine_fn_config_dll mapistub enable_mapistub
17081 wine_fn_config_dll mciavi32 enable_mciavi32
17082 wine_fn_config_dll mcicda enable_mcicda
17083 wine_fn_config_dll mciqtz32 enable_mciqtz32
17084 wine_fn_config_dll mciseq enable_mciseq
17085 wine_fn_config_dll mciwave enable_mciwave
17086 wine_fn_config_dll mgmtapi enable_mgmtapi
17087 wine_fn_config_dll midimap enable_midimap
17088 wine_fn_config_dll mlang enable_mlang clean
,implib
17089 wine_fn_config_test dlls
/mlang
/tests mlang_test
17090 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17091 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
17092 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17093 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
17094 wine_fn_config_dll mmdevldr.vxd enable_win16
17095 wine_fn_config_dll mmsystem.dll16 enable_win16
17096 wine_fn_config_dll monodebg.vxd enable_win16
17097 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17098 wine_fn_config_dll mouse.drv16 enable_win16
17099 wine_fn_config_dll mpr enable_mpr implib
,po
17100 wine_fn_config_test dlls
/mpr
/tests mpr_test
17101 wine_fn_config_dll mprapi enable_mprapi implib
17102 wine_fn_config_dll msacm.dll16 enable_win16
17103 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17104 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
17105 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
17106 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17107 wine_fn_config_dll msasn1 enable_msasn1 implib
17108 wine_fn_config_dll mscat32 enable_mscat32
17109 wine_fn_config_dll mscms enable_mscms implib
17110 wine_fn_config_test dlls
/mscms
/tests mscms_test
17111 wine_fn_config_dll mscoree enable_mscoree clean
17112 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
17113 wine_fn_config_dll msctf enable_msctf clean
17114 wine_fn_config_test dlls
/msctf
/tests msctf_test
17115 wine_fn_config_dll msdaps enable_msdaps clean
17116 wine_fn_config_dll msdmo enable_msdmo implib
17117 wine_fn_config_dll msftedit enable_msftedit
17118 wine_fn_config_dll msg711.acm enable_msg711_acm
17119 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17120 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17121 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
17122 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
17123 wine_fn_config_dll msi enable_msi clean
,implib
,po
17124 wine_fn_config_test dlls
/msi
/tests msi_test
17125 wine_fn_config_dll msident enable_msident clean
17126 wine_fn_config_dll msimg32 enable_msimg32 implib
17127 wine_fn_config_dll msimsg enable_msimsg
17128 wine_fn_config_dll msimtf enable_msimtf clean
17129 wine_fn_config_dll msisip enable_msisip
17130 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17131 wine_fn_config_dll msls31 enable_msls31
17132 wine_fn_config_dll msnet32 enable_msnet32
17133 wine_fn_config_dll mspatcha enable_mspatcha
17134 wine_fn_config_dll msrle32 enable_msrle32 po
17135 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
17136 wine_fn_config_dll mssign32 enable_mssign32
17137 wine_fn_config_dll mssip32 enable_mssip32
17138 wine_fn_config_dll mstask enable_mstask clean
17139 wine_fn_config_test dlls
/mstask
/tests mstask_test
17140 wine_fn_config_dll msvcirt enable_msvcirt
17141 wine_fn_config_dll msvcm80 enable_msvcm80
17142 wine_fn_config_dll msvcm90 enable_msvcm90
17143 wine_fn_config_dll msvcp100 enable_msvcp100
17144 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
17145 wine_fn_config_dll msvcp110 enable_msvcp110
17146 wine_fn_config_dll msvcp120 enable_msvcp120
17147 wine_fn_config_dll msvcp60 enable_msvcp60
17148 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
17149 wine_fn_config_dll msvcp70 enable_msvcp70
17150 wine_fn_config_dll msvcp71 enable_msvcp71
17151 wine_fn_config_dll msvcp80 enable_msvcp80
17152 wine_fn_config_dll msvcp90 enable_msvcp90
17153 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
17154 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17155 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
17156 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17157 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17158 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17159 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17160 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17161 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17162 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17163 wine_fn_config_dll msvcrt enable_msvcrt implib
17164 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17165 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17166 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17167 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17168 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17169 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17170 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17171 wine_fn_config_dll msvidc32 enable_msvidc32 po
17172 wine_fn_config_dll msvideo.dll16 enable_win16
17173 wine_fn_config_dll mswsock enable_mswsock implib
17174 wine_fn_config_dll msxml enable_msxml clean
17175 wine_fn_config_dll msxml2 enable_msxml2 clean
17176 wine_fn_config_dll msxml3 enable_msxml3 clean
17177 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17178 wine_fn_config_dll msxml4 enable_msxml4 clean
17179 wine_fn_config_dll msxml6 enable_msxml6 clean
17180 wine_fn_config_dll nddeapi enable_nddeapi implib
17181 wine_fn_config_dll ndis.sys enable_ndis_sys
17182 wine_fn_config_dll netapi32 enable_netapi32 implib
17183 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17184 wine_fn_config_dll netcfgx enable_netcfgx clean
17185 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
17186 wine_fn_config_dll netprofm enable_netprofm clean
17187 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
17188 wine_fn_config_dll newdev enable_newdev implib
17189 wine_fn_config_dll normaliz enable_normaliz implib
17190 wine_fn_config_dll npmshtml enable_npmshtml
17191 wine_fn_config_dll npptools enable_npptools
17192 wine_fn_config_dll ntdll enable_ntdll implib
17193 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17194 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17195 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17196 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17197 wine_fn_config_dll ntprint enable_ntprint
17198 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17199 wine_fn_config_dll objsel enable_objsel clean
17200 wine_fn_config_dll odbc32 enable_odbc32 implib
17201 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17202 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17203 wine_fn_config_dll odbccu32 enable_odbccu32
17204 wine_fn_config_dll ole2.dll16 enable_win16
17205 wine_fn_config_dll ole2conv.dll16 enable_win16
17206 wine_fn_config_dll ole2disp.dll16 enable_win16
17207 wine_fn_config_dll ole2nls.dll16 enable_win16
17208 wine_fn_config_dll ole2prox.dll16 enable_win16
17209 wine_fn_config_dll ole2thk.dll16 enable_win16
17210 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17211 wine_fn_config_test dlls
/ole32
/tests ole32_test
17212 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17213 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17214 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17215 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17216 wine_fn_config_dll olecli.dll16 enable_win16
17217 wine_fn_config_dll olecli32 enable_olecli32 implib
17218 wine_fn_config_dll oledb32 enable_oledb32 clean
17219 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17220 wine_fn_config_dll oledlg enable_oledlg implib
,po
17221 wine_fn_config_dll olepro32 enable_olepro32 implib
17222 wine_fn_config_dll olesvr.dll16 enable_win16
17223 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17224 wine_fn_config_dll olethk32 enable_olethk32
17225 wine_fn_config_dll openal32 enable_openal32
17226 wine_fn_config_dll opencl enable_opencl
17227 wine_fn_config_dll opengl32 enable_opengl32 implib
17228 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17229 wine_fn_config_dll packager enable_packager clean
17230 wine_fn_config_test dlls
/packager
/tests packager_test
17231 wine_fn_config_dll pdh enable_pdh implib
17232 wine_fn_config_test dlls
/pdh
/tests pdh_test
17233 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17234 wine_fn_config_dll pidgen enable_pidgen
17235 wine_fn_config_dll powrprof enable_powrprof implib
17236 wine_fn_config_dll printui enable_printui
17237 wine_fn_config_dll prntvpt enable_prntvpt
17238 wine_fn_config_dll propsys enable_propsys clean
,implib
17239 wine_fn_config_test dlls
/propsys
/tests propsys_test
17240 wine_fn_config_dll psapi enable_psapi implib
17241 wine_fn_config_test dlls
/psapi
/tests psapi_test
17242 wine_fn_config_dll pstorec enable_pstorec clean
17243 wine_fn_config_dll qcap enable_qcap
17244 wine_fn_config_test dlls
/qcap
/tests qcap_test
17245 wine_fn_config_dll qedit enable_qedit clean
17246 wine_fn_config_test dlls
/qedit
/tests qedit_test
17247 wine_fn_config_dll qmgr enable_qmgr clean
17248 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17249 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17250 wine_fn_config_dll quartz enable_quartz clean
,implib
17251 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17252 wine_fn_config_dll query enable_query
17253 wine_fn_config_dll rasapi16.dll16 enable_win16
17254 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17255 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17256 wine_fn_config_dll rasdlg enable_rasdlg implib
17257 wine_fn_config_dll regapi enable_regapi
17258 wine_fn_config_dll resutils enable_resutils implib
17259 wine_fn_config_dll riched20 enable_riched20 implib
17260 wine_fn_config_test dlls
/riched20
/tests riched20_test
17261 wine_fn_config_dll riched32 enable_riched32
17262 wine_fn_config_test dlls
/riched32
/tests riched32_test
17263 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17264 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17265 wine_fn_config_dll rsabase enable_rsabase
17266 wine_fn_config_dll rsaenh enable_rsaenh implib
17267 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17268 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17269 wine_fn_config_dll rtutils enable_rtutils implib
17270 wine_fn_config_dll samlib enable_samlib
17271 wine_fn_config_dll sane.ds enable_sane_ds po
17272 wine_fn_config_dll scarddlg enable_scarddlg
17273 wine_fn_config_dll sccbase enable_sccbase
17274 wine_fn_config_dll schannel enable_schannel
17275 wine_fn_config_test dlls
/schannel
/tests schannel_test
17276 wine_fn_config_dll schedsvc enable_schedsvc clean
17277 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
17278 wine_fn_config_dll scrrun enable_scrrun clean
17279 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17280 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17281 wine_fn_config_dll secur32 enable_secur32 implib
17282 wine_fn_config_test dlls
/secur32
/tests secur32_test
17283 wine_fn_config_dll security enable_security
17284 wine_fn_config_dll sensapi enable_sensapi implib
17285 wine_fn_config_dll serialui enable_serialui implib
,po
17286 wine_fn_config_test dlls
/serialui
/tests serialui_test
17287 wine_fn_config_dll setupapi enable_setupapi implib
,po
17288 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17289 wine_fn_config_dll setupx.dll16 enable_win16
17290 wine_fn_config_dll sfc enable_sfc implib
17291 wine_fn_config_dll sfc_os enable_sfc_os implib
17292 wine_fn_config_dll shdoclc enable_shdoclc po
17293 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17294 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17295 wine_fn_config_dll shell.dll16 enable_win16
17296 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17297 wine_fn_config_test dlls
/shell32
/tests shell32_test
17298 wine_fn_config_dll shfolder enable_shfolder implib
17299 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17300 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17301 wine_fn_config_dll slbcsp enable_slbcsp
17302 wine_fn_config_dll slc enable_slc implib
17303 wine_fn_config_dll snmpapi enable_snmpapi implib
17304 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17305 wine_fn_config_dll softpub enable_softpub
17306 wine_fn_config_dll sound.drv16 enable_win16
17307 wine_fn_config_dll spoolss enable_spoolss implib
17308 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17309 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17310 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17311 wine_fn_config_dll sti enable_sti clean
,implib
17312 wine_fn_config_test dlls
/sti
/tests sti_test
17313 wine_fn_config_dll storage.dll16 enable_win16
17314 wine_fn_config_dll stress.dll16 enable_win16
17315 wine_fn_config_lib strmbase
17316 wine_fn_config_lib strmiids
17317 wine_fn_config_dll svrapi enable_svrapi
17318 wine_fn_config_dll sxs enable_sxs implib
17319 wine_fn_config_test dlls
/sxs
/tests sxs_test
17320 wine_fn_config_dll system.drv16 enable_win16
17321 wine_fn_config_dll t2embed enable_t2embed
17322 wine_fn_config_dll tapi32 enable_tapi32 implib
17323 wine_fn_config_dll taskschd enable_taskschd clean
17324 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17325 wine_fn_config_dll toolhelp.dll16 enable_win16
17326 wine_fn_config_dll traffic enable_traffic
17327 wine_fn_config_dll twain.dll16 enable_win16
17328 wine_fn_config_dll twain_32 enable_twain_32
17329 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17330 wine_fn_config_dll typelib.dll16 enable_win16
17331 wine_fn_config_dll unicows enable_unicows implib
17332 wine_fn_config_dll updspapi enable_updspapi
17333 wine_fn_config_dll url enable_url implib
17334 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17335 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17336 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17337 wine_fn_config_dll user.exe16 enable_win16
17338 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17339 wine_fn_config_test dlls
/user32
/tests user32_test
17340 wine_fn_config_dll userenv enable_userenv implib
17341 wine_fn_config_test dlls
/userenv
/tests userenv_test
17342 wine_fn_config_dll usp10 enable_usp10 implib
17343 wine_fn_config_test dlls
/usp10
/tests usp10_test
17344 wine_fn_config_lib uuid
17345 wine_fn_config_dll uxtheme enable_uxtheme implib
17346 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17347 wine_fn_config_dll vbscript enable_vbscript clean
17348 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17349 wine_fn_config_dll vcomp enable_vcomp
17350 wine_fn_config_dll vcomp100 enable_vcomp100
17351 wine_fn_config_dll vcomp90 enable_vcomp90
17352 wine_fn_config_dll vdhcp.vxd enable_win16
17353 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17354 wine_fn_config_dll ver.dll16 enable_win16
17355 wine_fn_config_dll version enable_version implib
17356 wine_fn_config_test dlls
/version
/tests version_test
17357 wine_fn_config_dll vmm.vxd enable_win16
17358 wine_fn_config_dll vnbt.vxd enable_win16
17359 wine_fn_config_dll vnetbios.vxd enable_win16
17360 wine_fn_config_dll vssapi enable_vssapi
17361 wine_fn_config_dll vtdapi.vxd enable_win16
17362 wine_fn_config_dll vwin32.vxd enable_win16
17363 wine_fn_config_dll w32skrnl enable_win16
17364 wine_fn_config_dll w32sys.dll16 enable_win16
17365 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17366 wine_fn_config_dll wbemprox enable_wbemprox clean
17367 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17368 wine_fn_config_dll webservices enable_webservices implib
17369 wine_fn_config_dll wer enable_wer implib
17370 wine_fn_config_test dlls
/wer
/tests wer_test
17371 wine_fn_config_dll wevtapi enable_wevtapi
17372 wine_fn_config_dll wiaservc enable_wiaservc clean
17373 wine_fn_config_dll win32s16.dll16 enable_win16
17374 wine_fn_config_dll win87em.dll16 enable_win16
17375 wine_fn_config_dll winaspi.dll16 enable_win16
17376 wine_fn_config_dll windebug.dll16 enable_win16
17377 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17378 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17379 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17380 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17381 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17382 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17383 wine_fn_config_lib winecrt0
17384 wine_fn_config_dll wined3d enable_wined3d implib
17385 wine_fn_config_dll winegstreamer enable_winegstreamer
17386 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17387 wine_fn_config_dll winemac.drv enable_winemac_drv
17388 wine_fn_config_dll winemapi enable_winemapi
17389 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17390 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17391 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17392 wine_fn_config_dll wineps16.drv16 enable_win16
17393 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17394 wine_fn_config_dll winex11.drv enable_winex11_drv
17395 wine_fn_config_dll wing.dll16 enable_win16
17396 wine_fn_config_dll wing32 enable_wing32
17397 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17398 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17399 wine_fn_config_dll wininet enable_wininet implib
,po
17400 wine_fn_config_test dlls
/wininet
/tests wininet_test
17401 wine_fn_config_dll winmm enable_winmm implib
,po
17402 wine_fn_config_test dlls
/winmm
/tests winmm_test
17403 wine_fn_config_dll winnls.dll16 enable_win16
17404 wine_fn_config_dll winnls32 enable_winnls32 implib
17405 wine_fn_config_dll winscard enable_winscard implib
17406 wine_fn_config_dll winsock.dll16 enable_win16
17407 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17408 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17409 wine_fn_config_dll winsta enable_winsta
17410 wine_fn_config_dll wintab.dll16 enable_win16
17411 wine_fn_config_dll wintab32 enable_wintab32 implib
17412 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17413 wine_fn_config_dll wintrust enable_wintrust implib
17414 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17415 wine_fn_config_dll wlanapi enable_wlanapi
17416 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17417 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17418 wine_fn_config_dll wmi enable_wmi
17419 wine_fn_config_dll wmiutils enable_wmiutils clean
17420 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17421 wine_fn_config_dll wmp enable_wmp clean
17422 wine_fn_config_test dlls
/wmp
/tests wmp_test
17423 wine_fn_config_dll wmvcore enable_wmvcore
17424 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17425 wine_fn_config_dll wow32 enable_win16 implib
17426 wine_fn_config_dll wpcap enable_wpcap
17427 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17428 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17429 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17430 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17431 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17432 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17433 wine_fn_config_dll wsock32 enable_wsock32 implib
17434 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17435 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
17436 wine_fn_config_dll wuapi enable_wuapi clean
17437 wine_fn_config_dll wuaueng enable_wuaueng
17438 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17439 wine_fn_config_dll xinput1_1 enable_xinput1_1
17440 wine_fn_config_dll xinput1_2 enable_xinput1_2
17441 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17442 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17443 wine_fn_config_dll xinput1_4 enable_xinput1_4
17444 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17445 wine_fn_config_dll xmllite enable_xmllite implib
17446 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17447 wine_fn_config_dll xolehlp enable_xolehlp
17448 wine_fn_config_dll xpsprint enable_xpsprint
17449 wine_fn_config_dll xpssvcs enable_xpssvcs
17450 wine_fn_config_makefile documentation enable_documentation clean
17451 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17452 wine_fn_config_makefile include enable_include clean
,install-dev
17453 wine_fn_config_makefile libs
/port enable_libs_port
17454 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17455 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17456 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17457 wine_fn_config_program arp enable_arp
install
17458 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17459 wine_fn_config_program attrib enable_attrib
install,po
17460 wine_fn_config_program cabarc enable_cabarc
install
17461 wine_fn_config_program cacls enable_cacls
install
17462 wine_fn_config_program
clock enable_clock
install,po
17463 wine_fn_config_program cmd enable_cmd
install,po
17464 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17465 wine_fn_config_program conhost enable_conhost
install
17466 wine_fn_config_program control enable_control
install
17467 wine_fn_config_program cscript enable_cscript clean
,install
17468 wine_fn_config_program dpnsvr enable_dpnsvr
install
17469 wine_fn_config_program dxdiag enable_dxdiag
install,po
17470 wine_fn_config_program eject enable_eject
install
17471 wine_fn_config_program
expand enable_expand
install
17472 wine_fn_config_program explorer enable_explorer
install,po
17473 wine_fn_config_program extrac32 enable_extrac32
install
17474 wine_fn_config_program findstr enable_findstr
install
17475 wine_fn_config_program hh enable_hh
install
17476 wine_fn_config_program hostname enable_hostname
install,po
17477 wine_fn_config_program icinfo enable_icinfo
install
17478 wine_fn_config_program iexplore enable_iexplore
install
17479 wine_fn_config_program ipconfig enable_ipconfig
install,po
17480 wine_fn_config_program lodctr enable_lodctr
install
17481 wine_fn_config_program mofcomp enable_mofcomp
install
17482 wine_fn_config_program mshta enable_mshta
install
17483 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17484 wine_fn_config_program net enable_net
install,po
17485 wine_fn_config_program netsh enable_netsh
install
17486 wine_fn_config_program netstat enable_netstat
install,po
17487 wine_fn_config_program ngen enable_ngen
install
17488 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17489 wine_fn_config_program oleview enable_oleview
install,po
17490 wine_fn_config_program
ping enable_ping
install
17491 wine_fn_config_program plugplay enable_plugplay
install
17492 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17493 wine_fn_config_program progman enable_progman
install,po
17494 wine_fn_config_program reg enable_reg
install,po
17495 wine_fn_config_test programs
/reg
/tests reg.exe_test
17496 wine_fn_config_program regasm enable_regasm
install
17497 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17498 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17499 wine_fn_config_program regsvcs enable_regsvcs
install
17500 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
,po
17501 wine_fn_config_program rpcss enable_rpcss clean
,install
17502 wine_fn_config_program rundll.exe16 enable_win16
install
17503 wine_fn_config_program rundll32 enable_rundll32
install
17504 wine_fn_config_program sc enable_sc
install
17505 wine_fn_config_program schtasks enable_schtasks
install
17506 wine_fn_config_program sdbinst enable_sdbinst
install
17507 wine_fn_config_program secedit enable_secedit
install
17508 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17509 wine_fn_config_program services enable_services clean
,install
17510 wine_fn_config_test programs
/services
/tests services.exe_test
17511 wine_fn_config_program spoolsv enable_spoolsv
install
17512 wine_fn_config_program start enable_start
install,po
17513 wine_fn_config_program svchost enable_svchost
install
17514 wine_fn_config_program systeminfo enable_systeminfo
install
17515 wine_fn_config_program taskkill enable_taskkill
install,po
17516 wine_fn_config_program tasklist enable_tasklist
install
17517 wine_fn_config_program taskmgr enable_taskmgr
install,po
17518 wine_fn_config_program termsv enable_termsv
install
17519 wine_fn_config_program uninstaller enable_uninstaller
install,po
17520 wine_fn_config_program unlodctr enable_unlodctr
install
17521 wine_fn_config_program view enable_view
install,po
17522 wine_fn_config_program wevtutil enable_wevtutil
install
17523 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17524 wine_fn_config_program winebrowser enable_winebrowser
install
17525 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17526 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17527 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17528 wine_fn_config_program winedevice enable_winedevice
install
17529 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17530 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17531 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17532 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17533 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17534 wine_fn_config_program winetest enable_winetest clean
17535 wine_fn_config_program winevdm enable_win16
install
17536 wine_fn_config_program winhelp.exe16 enable_win16
install
17537 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17538 wine_fn_config_program winoldap.mod16 enable_win16
install
17539 wine_fn_config_program winver enable_winver
install
17540 wine_fn_config_program wmic enable_wmic
install,po
17541 wine_fn_config_program wordpad enable_wordpad
install,po
17542 wine_fn_config_program
write enable_write
install,po
17543 wine_fn_config_program wscript enable_wscript clean
,install
17544 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17545 wine_fn_config_program wusa enable_wusa
install
17546 wine_fn_config_program xcopy enable_xcopy
install,po
17547 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
17548 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17549 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17550 wine_fn_config_tool tools
/sfnt2fon clean
17551 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17552 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17553 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17554 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17555 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17556 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17608 wine_fn_ignore_file
".gitignore"
17609 wine_fn_ignore_file
"Makefile"
17610 wine_fn_ignore_file
"TAGS"
17611 wine_fn_ignore_file
"tags"
17612 wine_fn_ignore_file
"autom4te.cache"
17613 wine_fn_ignore_file
"config.cache"
17614 wine_fn_ignore_file
"config.log"
17615 wine_fn_ignore_file
"config.status"
17616 wine_fn_ignore_file
"configure.lineno"
17617 wine_fn_ignore_file
"include/config.h"
17618 wine_fn_ignore_file
"include/stamp-h"
17619 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
17621 if test "x$enable_tools" != xno
17623 wine_fn_ignore_file
"tools/makedep$ac_exeext"
17624 ac_config_commands
="$ac_config_commands tools/makedep"
17628 ac_config_commands
="$ac_config_commands Makefile"
17631 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17635 if test "x$enable_maintainer_mode" = xyes
17637 wine_fn_append_rule
"configure: configure.ac aclocal.m4
17638 autoconf --warnings=all
17639 include/config.h.in: include/stamp-h.in
17640 include/stamp-h.in: configure.ac aclocal.m4
17641 autoheader --warnings=all
17642 @echo timestamp > \$@"
17645 if test "x$with_gettextpo" = xyes
17647 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17648 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17649 \$(LINGUAS:%=po/%.po): po/wine.pot
17650 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17651 po/wine.pot: \$(ALL_POT_FILES)
17652 msgcat -o \$@ \$(ALL_POT_FILES)"
17655 if test "$MSGFMT" != false
17657 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
17659 \$(RM) \$(LINGUAS:%=po/%.mo)"
17662 test "$srcdir" = . || posrc
="$srcdir/po"
17665 wine_fn_ignore_file
"po/$i.mo"
17666 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
17667 \$(MSGFMT) -o \$@ $posrc/$i.po"
17673 if test "x$enable_tools" != xno
17675 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17676 @./config.status tools/makedep
17677 Makefile: tools/makedep$ac_exeext
17679 \$(RM) tools/makedep$ac_exeext"
17681 wine_fn_append_rule
"\$(MAKEDEP):
17682 @echo \"You need to run make in $TOOLSDIR first\" && false"
17685 if test -n "$with_wine64"
17687 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17688 fonts server tools:
17689 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17690 $with_wine64/loader/wine:
17691 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17692 $with_wine64/loader/wine-preloader:
17693 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17695 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17697 as_fn_append LOADER_RULES
"
17698 install install-lib:: wine.inf install-man-pages
17699 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17700 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17703 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17707 if test "$srcdir" = .
17709 ac_config_commands
="$ac_config_commands .gitignore"
17713 $as_echo " done" >&6
17714 cat >confcache
<<\_ACEOF
17715 # This file is a shell script that caches the results of configure
17716 # tests run on this system so they can be shared between configure
17717 # scripts and configure runs, see configure's option --config-cache.
17718 # It is not useful on other systems. If it contains results you don't
17719 # want to keep, you may remove or edit it.
17721 # config.status only pays attention to the cache file if you give it
17722 # the --recheck option to rerun configure.
17724 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17725 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17726 # following values.
17730 # The following way of writing the cache mishandles newlines in values,
17731 # but we know of no workaround that is simple, portable, and efficient.
17732 # So, we kill variables containing newlines.
17733 # Ultrix sh set writes to stderr and can't be redirected directly,
17734 # and sets the high bit in the cache file unless we assign to the vars.
17736 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17737 eval ac_val
=\$
$ac_var
17741 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17742 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17745 _ | IFS | as_nl
) ;; #(
17746 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17747 *) { eval $ac_var=; unset $ac_var;} ;;
17753 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17754 *${as_nl}ac_space
=\
*)
17755 # `set' does not quote correctly, so add quotes: double-quote
17756 # substitution turns \\\\ into \\, and sed turns \\ into \.
17759 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17762 # `set' quotes correctly as required by POSIX, so do not add quotes.
17763 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17772 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17774 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17776 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17777 if test -w "$cache_file"; then
17778 if test "x$cache_file" != "x/dev/null"; then
17779 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17780 $as_echo "$as_me: updating cache $cache_file" >&6;}
17781 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17782 cat confcache
>"$cache_file"
17784 case $cache_file in #(
17786 mv -f confcache
"$cache_file"$$
&&
17787 mv -f "$cache_file"$$
"$cache_file" ;; #(
17789 mv -f confcache
"$cache_file" ;;
17794 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17795 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17800 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17801 # Let make expand exec_prefix.
17802 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17804 DEFS
=-DHAVE_CONFIG_H
17809 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17810 # 1. Remove the extension, and $U if already installed.
17811 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17812 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17813 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17814 # will be set to the directory where LIBOBJS objects are built.
17815 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17816 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17818 LIBOBJS
=$ac_libobjs
17820 LTLIBOBJS
=$ac_ltlibobjs
17824 : "${CONFIG_STATUS=./config.status}"
17826 ac_clean_files_save
=$ac_clean_files
17827 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17828 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17829 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17831 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17833 # Generated by $as_me.
17834 # Run this file to recreate the current configuration.
17835 # Compiler output produced by configure, useful for debugging
17836 # configure, is in config.log if it exists.
17839 ac_cs_recheck=false
17842 SHELL=\${CONFIG_SHELL-$SHELL}
17845 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17846 ## -------------------- ##
17847 ## M4sh Initialization. ##
17848 ## -------------------- ##
17850 # Be more Bourne compatible
17851 DUALCASE
=1; export DUALCASE
# for MKS sh
17852 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17855 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17856 # is contrary to our usage. Disable this feature.
17857 alias -g '${1+"$@"}'='"$@"'
17858 setopt NO_GLOB_SUBST
17860 case `(set -o) 2>/dev/null` in #(
17872 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17873 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17874 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17875 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17876 # Prefer a ksh shell builtin over an external printf program on Solaris,
17877 # but without wasting forks for bash or zsh.
17878 if test -z "$BASH_VERSION$ZSH_VERSION" \
17879 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17880 as_echo='print
-r --'
17881 as_echo_n='print
-rn --'
17882 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17883 as_echo='printf %s
\n'
17884 as_echo_n='printf %s
'
17886 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17887 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17888 as_echo_n='/usr
/ucb
/echo -n'
17890 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17891 as_echo_n_body='eval
17895 expr "X$arg" : "X\\(.*\\)$as_nl";
17896 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17898 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17900 export as_echo_n_body
17901 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17903 export as_echo_body
17904 as_echo='sh
-c $as_echo_body as_echo
'
17907 # The user is always right.
17908 if test "${PATH_SEPARATOR+set}" != set; then
17910 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17911 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17918 # We need space, tab and new line, in precisely that order. Quoting is
17919 # there to prevent editors from complaining about space-tab.
17920 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17921 # splitting by setting IFS to empty value.)
17924 # Find who we are. Look in the path if we contain no directory separator.
17927 *[\\/]* ) as_myself=$0 ;;
17928 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17929 for as_dir in $PATH
17932 test -z "$as_dir" && as_dir=.
17933 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17939 # We did not find ourselves, most probably we were run as `sh COMMAND'
17940 # in which case we are not to be found in the path.
17941 if test "x$as_myself" = x
; then
17944 if test ! -f "$as_myself"; then
17945 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17949 # Unset variables that we do not need and which cause bugs (e.g. in
17950 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17951 # suppresses any "Segmentation fault" message there. '((' could
17952 # trigger a bug in pdksh 5.2.14.
17953 for as_var
in BASH_ENV ENV MAIL MAILPATH
17954 do eval test x\
${$as_var+set} = xset \
17955 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17968 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17971 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17972 # ----------------------------------------
17973 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17974 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17975 # script with STATUS, using 1 if that was 0.
17978 as_status
=$1; test $as_status -eq 0 && as_status
=1
17980 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17981 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17983 $as_echo "$as_me: error: $2" >&2
17984 as_fn_exit
$as_status
17988 # as_fn_set_status STATUS
17989 # -----------------------
17990 # Set $? to STATUS, without forking.
17991 as_fn_set_status
()
17994 } # as_fn_set_status
17996 # as_fn_exit STATUS
17997 # -----------------
17998 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18002 as_fn_set_status
$1
18008 # Portably unset VAR.
18011 { eval $1=; unset $1;}
18013 as_unset
=as_fn_unset
18014 # as_fn_append VAR VALUE
18015 # ----------------------
18016 # Append the text in VALUE to the end of the definition contained in VAR. Take
18017 # advantage of any shell optimizations that allow amortized linear growth over
18018 # repeated appends, instead of the typical quadratic growth present in naive
18020 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18021 eval 'as_fn_append ()
18032 # as_fn_arith ARG...
18033 # ------------------
18034 # Perform arithmetic evaluation on the ARGs, and store the result in the
18035 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18036 # must be portable across $(()) and expr.
18037 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18038 eval 'as_fn_arith ()
18045 as_val
=`expr "$@" || test $? -eq 1`
18050 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18051 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18057 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18058 as_basename
=basename
18063 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18069 as_me
=`$as_basename -- "$0" ||
18070 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18071 X"$0" : 'X\(//\)$' \| \
18072 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18074 sed '/^.*\/\([^/][^/]*\)\/*$/{
18088 # Avoid depending upon Character Ranges.
18089 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18090 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18091 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18092 as_cr_digits
='0123456789'
18093 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18095 ECHO_C
= ECHO_N
= ECHO_T
=
18096 case `echo -n x` in #(((((
18098 case `echo 'xy\c'` in
18099 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18101 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18108 rm -f conf$$ conf$$.exe conf$$.
file
18109 if test -d conf$$.dir
; then
18110 rm -f conf$$.dir
/conf$$.
file
18113 mkdir conf$$.dir
2>/dev
/null
18115 if (echo >conf$$.
file) 2>/dev
/null
; then
18116 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18118 # ... but there are two gotchas:
18119 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18120 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18121 # In both cases, we have to default to `cp -pR'.
18122 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18124 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18132 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18133 rmdir conf$$.dir
2>/dev
/null
18138 # Create "$as_dir" as a directory, including parents if necessary.
18143 -*) as_dir
=.
/$as_dir;;
18145 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18149 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18150 *) as_qdir
=$as_dir;;
18152 as_dirs
="'$as_qdir' $as_dirs"
18153 as_dir
=`$as_dirname -- "$as_dir" ||
18154 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18155 X"$as_dir" : 'X\(//\)[^/]' \| \
18156 X"$as_dir" : 'X\(//\)$' \| \
18157 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18158 $as_echo X"$as_dir" |
18159 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18163 /^X\(\/\/\)[^/].*/{
18176 test -d "$as_dir" && break
18178 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18179 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18183 if mkdir
-p .
2>/dev
/null
; then
18184 as_mkdir_p
='mkdir -p "$as_dir"'
18186 test -d .
/-p && rmdir .
/-p
18191 # as_fn_executable_p FILE
18192 # -----------------------
18193 # Test if FILE is an executable regular file.
18194 as_fn_executable_p
()
18196 test -f "$1" && test -x "$1"
18197 } # as_fn_executable_p
18198 as_test_x
='test -x'
18199 as_executable_p
=as_fn_executable_p
18201 # Sed expression to map a string onto a valid CPP name.
18202 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18204 # Sed expression to map a string onto a valid variable name.
18205 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18209 ## ----------------------------------- ##
18210 ## Main body of $CONFIG_STATUS script. ##
18211 ## ----------------------------------- ##
18213 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18215 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18216 # Save the log message, to keep $0 and so on meaningful, and to
18217 # report actual input values of CONFIG_FILES etc. instead of their
18218 # values after options handling.
18220 This file was extended by Wine $as_me 1.7.31, which was
18221 generated by GNU Autoconf 2.69. Invocation command line was
18223 CONFIG_FILES = $CONFIG_FILES
18224 CONFIG_HEADERS = $CONFIG_HEADERS
18225 CONFIG_LINKS = $CONFIG_LINKS
18226 CONFIG_COMMANDS = $CONFIG_COMMANDS
18229 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18234 case $ac_config_files in *"
18235 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18238 case $ac_config_headers in *"
18239 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18243 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18244 # Files that config.status was made for.
18245 config_files="$ac_config_files"
18246 config_headers="$ac_config_headers"
18247 config_links="$ac_config_links"
18248 config_commands="$ac_config_commands"
18252 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18254 \`$as_me' instantiates files and other configuration actions
18255 from templates according to the current configuration. Unless the files
18256 and actions are specified as TAGs, all are instantiated by default.
18258 Usage: $0 [OPTION]... [TAG]...
18260 -h, --help print this help, then exit
18261 -V, --version print version number and configuration settings, then exit
18262 --config print configuration, then exit
18263 -q, --quiet, --silent
18264 do not print progress messages
18265 -d, --debug don't remove temporary files
18266 --recheck update $as_me by reconfiguring in the same conditions
18267 --file=FILE[:TEMPLATE]
18268 instantiate the configuration file FILE
18269 --header=FILE[:TEMPLATE]
18270 instantiate the configuration header FILE
18272 Configuration files:
18275 Configuration headers:
18278 Configuration links:
18281 Configuration commands:
18284 Report bugs to <wine-devel@winehq.org>.
18285 Wine home page: <http://www.winehq.org>."
18288 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18289 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18291 Wine config.status 1.7.31
18292 configured by $0, generated by GNU Autoconf 2.69,
18293 with options \\"\$ac_cs_config\\"
18295 Copyright (C) 2012 Free Software Foundation, Inc.
18296 This config.status script is free software; the Free Software Foundation
18297 gives unlimited permission to copy, distribute and modify it."
18301 test -n "\$AWK" || AWK=awk
18304 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18305 # The default lists apply if the user does not specify any file.
18311 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18312 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18316 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18328 # Handling of the options.
18329 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18331 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18332 $as_echo "$ac_cs_version"; exit ;;
18333 --config |
--confi |
--conf |
--con |
--co |
--c )
18334 $as_echo "$ac_cs_config"; exit ;;
18335 --debug |
--debu |
--deb |
--de |
--d |
-d )
18337 --file |
--fil |
--fi |
--f )
18340 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18341 '') as_fn_error $?
"missing file argument" ;;
18343 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18344 ac_need_defaults
=false
;;
18345 --header |
--heade |
--head |
--hea )
18348 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18350 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18351 ac_need_defaults
=false
;;
18353 # Conflict between --help and --header
18354 as_fn_error $?
"ambiguous option: \`$1'
18355 Try \`$0 --help' for more information.";;
18356 --help |
--hel |
-h )
18357 $as_echo "$ac_cs_usage"; exit ;;
18358 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18359 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18362 # This is an error.
18363 -*) as_fn_error $?
"unrecognized option: \`$1'
18364 Try \`$0 --help' for more information." ;;
18366 *) as_fn_append ac_config_targets
" $1"
18367 ac_need_defaults
=false
;;
18373 ac_configure_extra_args
=
18375 if $ac_cs_silent; then
18377 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18381 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18382 if \$ac_cs_recheck; then
18383 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18385 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18386 CONFIG_SHELL='$SHELL'
18387 export CONFIG_SHELL
18392 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18396 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18397 ## Running $as_me. ##
18403 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18407 wine_fn_output_makedep ()
18409 as_dir=tools; as_fn_mkdir_p
18410 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18412 wine_fn_output_makefile ()
18414 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18415 `cat $wine_rules_file`
18417 as_fn_error $? "could not create Makefile" "$LINENO" 5
18419 wine_fn_output_gitignore ()
18421 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18424 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18429 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18431 # Handling of arguments.
18432 for ac_config_target
in $ac_config_targets
18434 case $ac_config_target in
18435 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18436 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18437 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18438 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18439 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18440 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18441 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18442 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18443 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18444 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18445 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
18446 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18447 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18448 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18450 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18455 # If the user did not use the arguments to specify the items to instantiate,
18456 # then the envvar interface is used. Set only those that are not.
18457 # We use the long form for the default assignment because of an extremely
18458 # bizarre bug on SunOS 4.1.3.
18459 if $ac_need_defaults; then
18460 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18461 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18462 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18463 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18466 # Have a temporary directory for convenience. Make it in the build tree
18467 # simply because there is no reason against having it here, and in addition,
18468 # creating and moving files from /tmp can sometimes cause problems.
18469 # Hook for its removal unless debugging.
18470 # Note that there is a small window in which the directory will not be cleaned:
18471 # after its creation but before its name has been assigned to `$tmp'.
18475 trap 'exit_status=$?
18476 : "${ac_tmp:=$tmp}"
18477 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18479 trap 'as_fn_exit 1' 1 2 13 15
18481 # Create a (secure) tmp directory for tmp files.
18484 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18488 tmp
=.
/conf$$
-$RANDOM
18489 (umask 077 && mkdir
"$tmp")
18490 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18493 # Set up the scripts for CONFIG_FILES section.
18494 # No need to generate them if there are no CONFIG_FILES.
18495 # This happens for instance with `./config.status config.h'.
18496 if test -n "$CONFIG_FILES"; then
18499 ac_cr
=`echo X | tr X '\015'`
18500 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18501 # But we know of no other shell where ac_cr would be empty at this
18502 # point, so we can use a bashism as a fallback.
18503 if test "x$ac_cr" = x
; then
18504 eval ac_cr
=\$
\'\\r
\'
18506 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18507 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18510 ac_cs_awk_cr
=$ac_cr
18513 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18518 echo "cat >conf$$subs.awk <<_ACEOF" &&
18519 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18521 } >conf$$subs.sh ||
18522 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18523 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18525 for ac_last_try in false false false false false :; do
18526 . ./conf$$subs.sh ||
18527 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18529 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18530 if test $ac_delim_n = $ac_delim_num; then
18532 elif $ac_last_try; then
18533 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18535 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18538 rm -f conf$$subs.sh
18540 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18541 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18545 s/^/S["/; s
/!.
*/"]=/
18555 s/\(.\{148\}\)..*/\1/
18557 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18562 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18569 s/\(.\{148\}\)..*/\1/
18571 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18575 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18580 ' <conf$$subs.awk | sed '
18585 ' >>$CONFIG_STATUS || ac_write_fail=1
18586 rm -f conf$$subs.awk
18587 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18589 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18590 for (key in S) S_is_set[key] = 1
18596 nfields = split(line, field, "@
")
18598 len = length(field[1])
18599 for (i = 2; i < nfields; i++) {
18601 keylen = length(key)
18602 if (S_is_set[key]) {
18604 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18605 len += length(value) + length(field[++i])
18616 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18617 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18618 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18621 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18622 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18625 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18626 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18627 # trailing colons and then remove the whole line if VPATH becomes empty
18628 # (actually we leave an empty line to preserve line numbers).
18629 if test "x
$srcdir" = x.; then
18630 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18648 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18649 fi # test -n "$CONFIG_FILES"
18651 # Set up the scripts for CONFIG_HEADERS section.
18652 # No need to generate them if there are no CONFIG_HEADERS.
18653 # This happens for instance with `./config.status Makefile'.
18654 if test -n "$CONFIG_HEADERS"; then
18655 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18659 # Transform confdefs.h into an awk script `defines.awk', embedded as
18660 # here-document in config.status, that substitutes the proper values into
18661 # config.h.in to produce config.h.
18663 # Create a delimiter string that does not exist in confdefs.h, to ease
18664 # handling of long lines.
18666 for ac_last_try in false false :; do
18667 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18668 if test -z "$ac_tt"; then
18670 elif $ac_last_try; then
18671 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18673 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18677 # For the awk script, D is an array of macro values keyed by name,
18678 # likewise P contains macro parameters if any. Preserve backslash
18679 # newline sequences.
18681 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18683 s/.\{148\}/&'"$ac_delim"'/g
18686 s/^[ ]*#[ ]*define[ ][ ]*/ /
18693 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18695 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18699 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18700 D["\
1"]=" \
3\\\\\\n
"\\/p
18702 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18707 s/.\{148\}/&'"$ac_delim"'/g
18712 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18715 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18717 ' <confdefs.h | sed '
18718 s/'"$ac_delim"'/"\\\
18719 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18721 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18722 for (key in D) D_is_set[key] = 1
18725 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18727 split(line, arg, " ")
18728 if (arg[1] == "#") {
18732 defundef
= substr
(arg
[1], 2)
18735 split(mac1
, mac2
, "(") #)
18737 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18738 if (D_is_set
[macro
]) {
18739 # Preserve the white space surrounding the "#".
18740 print prefix
"define", macro P
[macro
] D
[macro
]
18743 # Replace #undef with comments. This is necessary, for example,
18744 # in the case of _POSIX_SOURCE, which is predefined and required
18745 # on some systems where configure will not decide to define it.
18746 if (defundef
== "undef") {
18747 print
"/*", prefix defundef
, macro
, "*/"
18755 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18756 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18757 fi # test -n "$CONFIG_HEADERS"
18760 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18765 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18767 case $ac_mode$ac_tag in
18769 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18770 :[FH
]-) ac_tag
=-:-;;
18771 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18788 -) ac_f
="$ac_tmp/stdin";;
18789 *) # Look for the file first in the build tree, then in the source tree
18790 # (if the path is not absolute). The absolute path cannot be DOS-style,
18791 # because $ac_f cannot contain `:'.
18795 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18797 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18799 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18800 as_fn_append ac_file_inputs
" '$ac_f'"
18803 # Let's still pretend it is `configure' which instantiates (i.e., don't
18804 # use $as_me), people would be surprised to read:
18805 # /* config.h. Generated by config.status. */
18806 configure_input
='Generated from '`
18807 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18809 if test x
"$ac_file" != x-
; then
18810 configure_input
="$ac_file. $configure_input"
18811 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18812 $as_echo "$as_me: creating $ac_file" >&6;}
18814 # Neutralize special characters interpreted by sed in replacement strings.
18815 case $configure_input in #(
18816 *\
&* |
*\|
* |
*\\* )
18817 ac_sed_conf_input
=`$as_echo "$configure_input" |
18818 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18819 *) ac_sed_conf_input
=$configure_input;;
18823 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
18824 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
18829 ac_dir
=`$as_dirname -- "$ac_file" ||
18830 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18831 X"$ac_file" : 'X\(//\)[^/]' \| \
18832 X"$ac_file" : 'X\(//\)$' \| \
18833 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18834 $as_echo X"$ac_file" |
18835 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18839 /^X\(\/\/\)[^/].*/{
18852 as_dir
="$ac_dir"; as_fn_mkdir_p
18856 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18858 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18859 # A ".." for each directory in $ac_dir_suffix.
18860 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18861 case $ac_top_builddir_sub in
18862 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18863 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18866 ac_abs_top_builddir
=$ac_pwd
18867 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18868 # for backward compatibility:
18869 ac_top_builddir
=$ac_top_build_prefix
18872 .
) # We are building in place.
18874 ac_top_srcdir
=$ac_top_builddir_sub
18875 ac_abs_top_srcdir
=$ac_pwd ;;
18876 [\\/]* | ?
:[\\/]* ) # Absolute name.
18877 ac_srcdir
=$srcdir$ac_dir_suffix;
18878 ac_top_srcdir
=$srcdir
18879 ac_abs_top_srcdir
=$srcdir ;;
18880 *) # Relative name.
18881 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18882 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18883 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18885 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18896 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18897 # If the template does not know about datarootdir, expand it.
18898 # FIXME: This hack should be removed a few years after 2.60.
18899 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18910 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18911 *datarootdir
*) ac_datarootdir_seen
=yes;;
18912 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18914 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18916 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18917 ac_datarootdir_hack='
18918 s&@datadir@&$datadir&g
18919 s&@docdir@&$docdir&g
18920 s&@infodir@&$infodir&g
18921 s&@localedir@&$localedir&g
18922 s&@mandir@&$mandir&g
18923 s&\\\${datarootdir}&$datarootdir&g' ;;
18927 # Neutralize VPATH when `$srcdir' = `.'.
18928 # Shell code in configure.ac might set extrasub.
18929 # FIXME: do we really want to maintain this feature?
18930 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18931 ac_sed_extra="$ac_vpsub
18934 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18936 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18937 s|@configure_input@|
$ac_sed_conf_input|
;t t
18938 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18939 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18940 s
&@srcdir@
&$ac_srcdir&;t t
18941 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18942 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18943 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18944 s
&@builddir@
&$ac_builddir&;t t
18945 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18946 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18947 $ac_datarootdir_hack
18949 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
18950 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18952 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18953 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
18954 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18955 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
18956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18957 which seems to be undefined. Please make sure it is defined" >&5
18958 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18959 which seems to be undefined. Please make sure it is defined" >&2;}
18961 rm -f "$ac_tmp/stdin"
18963 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18964 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18966 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18972 if test x"$ac_file" != x-; then
18974 $as_echo "/* $configure_input */" \
18975 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18976 } >"$ac_tmp/config.h" \
18977 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18978 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18979 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18980 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18983 mv "$ac_tmp/config.h" "$ac_file" \
18984 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18987 $as_echo "/* $configure_input */" \
18988 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18989 || as_fn_error $? "could not create -" "$LINENO" 5
18997 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
19000 # Prefer the file from the source tree if names are identical.
19001 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19002 ac_source=$srcdir/$ac_source
19005 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19006 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19008 if test ! -r "$ac_source"; then
19009 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19013 # Try a relative symlink, then a hard link, then a copy.
19015 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19016 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19018 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19019 ln "$ac_source" "$ac_file" 2>/dev/null ||
19020 cp -p "$ac_source" "$ac_file" ||
19021 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19024 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19025 $as_echo "$as_me: executing $ac_file commands" >&6;}
19030 case $ac_file$ac_mode in
19031 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19032 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19033 "Makefile":C) wine_fn_output_makefile Makefile ;;
19034 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19042 ac_clean_files=$ac_clean_files_save
19044 test $ac_write_fail = 0 ||
19045 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19048 # configure is writing to config.log, and then calls config.status.
19049 # config.status does its own redirection, appending to config.log.
19050 # Unfortunately, on DOS this fails, as config.log is still kept open
19051 # by configure, so config.status won't be able to
write to it
; its
19052 # output is simply discarded. So we exec the FD to /dev/null,
19053 # effectively closing config.log, so it can be properly (re)opened and
19054 # appended to by config.status. When coming back to configure, we
19055 # need to make the FD available again.
19056 if test "$no_create" != yes; then
19058 ac_config_status_args
=
19059 test "$silent" = yes &&
19060 ac_config_status_args
="$ac_config_status_args --quiet"
19062 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19064 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19065 # would make configure fail if this is the last instruction.
19066 $ac_cs_success || as_fn_exit
1
19068 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19070 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19074 if test "$no_create" = "yes"
19080 if test "x$wine_notices != "x
; then
19083 for msg
in $wine_notices; do
19085 if ${msg:+false} :; then :
19088 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19089 $as_echo "$as_me: $msg" >&6;}
19094 for msg
in $wine_warnings; do
19096 if ${msg:+false} :; then :
19100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19101 $as_echo "$as_me: WARNING: $msg" >&2;}
19107 $as_me: Finished. Do '${ac_make}' to compile Wine.